ERC-721
Overview
Max Total Supply
11 BRAINS
Holders
11
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract
Balance
1 BRAINSLoading...
Loading
Loading...
Loading
Loading...
Loading
Contract Name:
BRAIN
Compiler Version
v0.8.19+commit.7dd6d404
Contract Source Code (Solidity)
/** *Submitted for verification at SonicScan.org on 2025-01-14 */ // SPDX-License-Identifier: No license // File: @openzeppelin/contracts/security/ReentrancyGuard.sol // OpenZeppelin Contracts (last updated v4.9.0) (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { _nonReentrantBefore(); _; _nonReentrantAfter(); } function _nonReentrantBefore() private { // On the first call to nonReentrant, _status will be _NOT_ENTERED require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; } function _nonReentrantAfter() private { // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } /** * @dev Returns true if the reentrancy guard is currently set to "entered", which indicates there is a * `nonReentrant` function in the call stack. */ function _reentrancyGuardEntered() internal view returns (bool) { return _status == _ENTERED; } } // File: @openzeppelin/contracts/token/ERC20/extensions/IERC20Permit.sol // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/extensions/IERC20Permit.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612]. * * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't * need to send a transaction, and thus is not required to hold Ether at all. */ interface IERC20Permit { /** * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens, * given ``owner``'s signed approval. * * IMPORTANT: The same issues {IERC20-approve} has related to transaction * ordering also apply here. * * Emits an {Approval} event. * * Requirements: * * - `spender` cannot be the zero address. * - `deadline` must be a timestamp in the future. * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner` * over the EIP712-formatted function arguments. * - the signature must use ``owner``'s current nonce (see {nonces}). * * For more information on the signature format, see the * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP * section]. */ function permit( address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) external; /** * @dev Returns the current nonce for `owner`. This value must be * included whenever a signature is generated for {permit}. * * Every successful call to {permit} increases ``owner``'s nonce by one. This * prevents a signature from being used multiple times. */ function nonces(address owner) external view returns (uint256); /** * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}. */ // solhint-disable-next-line func-name-mixedcase function DOMAIN_SEPARATOR() external view returns (bytes32); } // File: @openzeppelin/contracts/token/ERC20/IERC20.sol // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address from, address to, uint256 amount) external returns (bool); } // File: abdk-libraries-solidity/ABDKMath64x64.sol /* * ABDK Math 64.64 Smart Contract Library. Copyright © 2019 by ABDK Consulting. * Author: Mikhail Vladimirov <[email protected]> */ pragma solidity ^0.8.0; /** * Smart contract library of mathematical functions operating with signed * 64.64-bit fixed point numbers. Signed 64.64-bit fixed point number is * basically a simple fraction whose numerator is signed 128-bit integer and * denominator is 2^64. As long as denominator is always the same, there is no * need to store it, thus in Solidity signed 64.64-bit fixed point numbers are * represented by int128 type holding only the numerator. */ library ABDKMath64x64 { /* * Minimum value signed 64.64-bit fixed point number may have. */ int128 private constant MIN_64x64 = -0x80000000000000000000000000000000; /* * Maximum value signed 64.64-bit fixed point number may have. */ int128 private constant MAX_64x64 = 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF; /** * Convert signed 256-bit integer number into signed 64.64-bit fixed point * number. Revert on overflow. * * @param x signed 256-bit integer number * @return signed 64.64-bit fixed point number */ function fromInt (int256 x) internal pure returns (int128) { unchecked { require (x >= -0x8000000000000000 && x <= 0x7FFFFFFFFFFFFFFF); return int128 (x << 64); } } /** * Convert signed 64.64 fixed point number into signed 64-bit integer number * rounding down. * * @param x signed 64.64-bit fixed point number * @return signed 64-bit integer number */ function toInt (int128 x) internal pure returns (int64) { unchecked { return int64 (x >> 64); } } /** * Convert unsigned 256-bit integer number into signed 64.64-bit fixed point * number. Revert on overflow. * * @param x unsigned 256-bit integer number * @return signed 64.64-bit fixed point number */ function fromUInt (uint256 x) internal pure returns (int128) { unchecked { require (x <= 0x7FFFFFFFFFFFFFFF); return int128 (int256 (x << 64)); } } /** * Convert signed 64.64 fixed point number into unsigned 64-bit integer * number rounding down. Revert on underflow. * * @param x signed 64.64-bit fixed point number * @return unsigned 64-bit integer number */ function toUInt (int128 x) internal pure returns (uint64) { unchecked { require (x >= 0); return uint64 (uint128 (x >> 64)); } } /** * Convert signed 128.128 fixed point number into signed 64.64-bit fixed point * number rounding down. Revert on overflow. * * @param x signed 128.128-bin fixed point number * @return signed 64.64-bit fixed point number */ function from128x128 (int256 x) internal pure returns (int128) { unchecked { int256 result = x >> 64; require (result >= MIN_64x64 && result <= MAX_64x64); return int128 (result); } } /** * Convert signed 64.64 fixed point number into signed 128.128 fixed point * number. * * @param x signed 64.64-bit fixed point number * @return signed 128.128 fixed point number */ function to128x128 (int128 x) internal pure returns (int256) { unchecked { return int256 (x) << 64; } } /** * Calculate x + y. Revert on overflow. * * @param x signed 64.64-bit fixed point number * @param y signed 64.64-bit fixed point number * @return signed 64.64-bit fixed point number */ function add (int128 x, int128 y) internal pure returns (int128) { unchecked { int256 result = int256(x) + y; require (result >= MIN_64x64 && result <= MAX_64x64); return int128 (result); } } /** * Calculate x - y. Revert on overflow. * * @param x signed 64.64-bit fixed point number * @param y signed 64.64-bit fixed point number * @return signed 64.64-bit fixed point number */ function sub (int128 x, int128 y) internal pure returns (int128) { unchecked { int256 result = int256(x) - y; require (result >= MIN_64x64 && result <= MAX_64x64); return int128 (result); } } /** * Calculate x * y rounding down. Revert on overflow. * * @param x signed 64.64-bit fixed point number * @param y signed 64.64-bit fixed point number * @return signed 64.64-bit fixed point number */ function mul (int128 x, int128 y) internal pure returns (int128) { unchecked { int256 result = int256(x) * y >> 64; require (result >= MIN_64x64 && result <= MAX_64x64); return int128 (result); } } /** * Calculate x * y rounding towards zero, where x is signed 64.64 fixed point * number and y is signed 256-bit integer number. Revert on overflow. * * @param x signed 64.64 fixed point number * @param y signed 256-bit integer number * @return signed 256-bit integer number */ function muli (int128 x, int256 y) internal pure returns (int256) { unchecked { if (x == MIN_64x64) { require (y >= -0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF && y <= 0x1000000000000000000000000000000000000000000000000); return -y << 63; } else { bool negativeResult = false; if (x < 0) { x = -x; negativeResult = true; } if (y < 0) { y = -y; // We rely on overflow behavior here negativeResult = !negativeResult; } uint256 absoluteResult = mulu (x, uint256 (y)); if (negativeResult) { require (absoluteResult <= 0x8000000000000000000000000000000000000000000000000000000000000000); return -int256 (absoluteResult); // We rely on overflow behavior here } else { require (absoluteResult <= 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF); return int256 (absoluteResult); } } } } /** * Calculate x * y rounding down, where x is signed 64.64 fixed point number * and y is unsigned 256-bit integer number. Revert on overflow. * * @param x signed 64.64 fixed point number * @param y unsigned 256-bit integer number * @return unsigned 256-bit integer number */ function mulu (int128 x, uint256 y) internal pure returns (uint256) { unchecked { if (y == 0) return 0; require (x >= 0); uint256 lo = (uint256 (int256 (x)) * (y & 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF)) >> 64; uint256 hi = uint256 (int256 (x)) * (y >> 128); require (hi <= 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF); hi <<= 64; require (hi <= 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF - lo); return hi + lo; } } /** * Calculate x / y rounding towards zero. Revert on overflow or when y is * zero. * * @param x signed 64.64-bit fixed point number * @param y signed 64.64-bit fixed point number * @return signed 64.64-bit fixed point number */ function div (int128 x, int128 y) internal pure returns (int128) { unchecked { require (y != 0); int256 result = (int256 (x) << 64) / y; require (result >= MIN_64x64 && result <= MAX_64x64); return int128 (result); } } /** * Calculate x / y rounding towards zero, where x and y are signed 256-bit * integer numbers. Revert on overflow or when y is zero. * * @param x signed 256-bit integer number * @param y signed 256-bit integer number * @return signed 64.64-bit fixed point number */ function divi (int256 x, int256 y) internal pure returns (int128) { unchecked { require (y != 0); bool negativeResult = false; if (x < 0) { x = -x; // We rely on overflow behavior here negativeResult = true; } if (y < 0) { y = -y; // We rely on overflow behavior here negativeResult = !negativeResult; } uint128 absoluteResult = divuu (uint256 (x), uint256 (y)); if (negativeResult) { require (absoluteResult <= 0x80000000000000000000000000000000); return -int128 (absoluteResult); // We rely on overflow behavior here } else { require (absoluteResult <= 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF); return int128 (absoluteResult); // We rely on overflow behavior here } } } /** * Calculate x / y rounding towards zero, where x and y are unsigned 256-bit * integer numbers. Revert on overflow or when y is zero. * * @param x unsigned 256-bit integer number * @param y unsigned 256-bit integer number * @return signed 64.64-bit fixed point number */ function divu (uint256 x, uint256 y) internal pure returns (int128) { unchecked { require (y != 0); uint128 result = divuu (x, y); require (result <= uint128 (MAX_64x64)); return int128 (result); } } /** * Calculate -x. Revert on overflow. * * @param x signed 64.64-bit fixed point number * @return signed 64.64-bit fixed point number */ function neg (int128 x) internal pure returns (int128) { unchecked { require (x != MIN_64x64); return -x; } } /** * Calculate |x|. Revert on overflow. * * @param x signed 64.64-bit fixed point number * @return signed 64.64-bit fixed point number */ function abs (int128 x) internal pure returns (int128) { unchecked { require (x != MIN_64x64); return x < 0 ? -x : x; } } /** * Calculate 1 / x rounding towards zero. Revert on overflow or when x is * zero. * * @param x signed 64.64-bit fixed point number * @return signed 64.64-bit fixed point number */ function inv (int128 x) internal pure returns (int128) { unchecked { require (x != 0); int256 result = int256 (0x100000000000000000000000000000000) / x; require (result >= MIN_64x64 && result <= MAX_64x64); return int128 (result); } } /** * Calculate arithmetics average of x and y, i.e. (x + y) / 2 rounding down. * * @param x signed 64.64-bit fixed point number * @param y signed 64.64-bit fixed point number * @return signed 64.64-bit fixed point number */ function avg (int128 x, int128 y) internal pure returns (int128) { unchecked { return int128 ((int256 (x) + int256 (y)) >> 1); } } /** * Calculate geometric average of x and y, i.e. sqrt (x * y) rounding down. * Revert on overflow or in case x * y is negative. * * @param x signed 64.64-bit fixed point number * @param y signed 64.64-bit fixed point number * @return signed 64.64-bit fixed point number */ function gavg (int128 x, int128 y) internal pure returns (int128) { unchecked { int256 m = int256 (x) * int256 (y); require (m >= 0); require (m < 0x4000000000000000000000000000000000000000000000000000000000000000); return int128 (sqrtu (uint256 (m))); } } /** * Calculate x^y assuming 0^0 is 1, where x is signed 64.64 fixed point number * and y is unsigned 256-bit integer number. Revert on overflow. * * @param x signed 64.64-bit fixed point number * @param y uint256 value * @return signed 64.64-bit fixed point number */ function pow (int128 x, uint256 y) internal pure returns (int128) { unchecked { bool negative = x < 0 && y & 1 == 1; uint256 absX = uint128 (x < 0 ? -x : x); uint256 absResult; absResult = 0x100000000000000000000000000000000; if (absX <= 0x10000000000000000) { absX <<= 63; while (y != 0) { if (y & 0x1 != 0) { absResult = absResult * absX >> 127; } absX = absX * absX >> 127; if (y & 0x2 != 0) { absResult = absResult * absX >> 127; } absX = absX * absX >> 127; if (y & 0x4 != 0) { absResult = absResult * absX >> 127; } absX = absX * absX >> 127; if (y & 0x8 != 0) { absResult = absResult * absX >> 127; } absX = absX * absX >> 127; y >>= 4; } absResult >>= 64; } else { uint256 absXShift = 63; if (absX < 0x1000000000000000000000000) { absX <<= 32; absXShift -= 32; } if (absX < 0x10000000000000000000000000000) { absX <<= 16; absXShift -= 16; } if (absX < 0x1000000000000000000000000000000) { absX <<= 8; absXShift -= 8; } if (absX < 0x10000000000000000000000000000000) { absX <<= 4; absXShift -= 4; } if (absX < 0x40000000000000000000000000000000) { absX <<= 2; absXShift -= 2; } if (absX < 0x80000000000000000000000000000000) { absX <<= 1; absXShift -= 1; } uint256 resultShift = 0; while (y != 0) { require (absXShift < 64); if (y & 0x1 != 0) { absResult = absResult * absX >> 127; resultShift += absXShift; if (absResult > 0x100000000000000000000000000000000) { absResult >>= 1; resultShift += 1; } } absX = absX * absX >> 127; absXShift <<= 1; if (absX >= 0x100000000000000000000000000000000) { absX >>= 1; absXShift += 1; } y >>= 1; } require (resultShift < 64); absResult >>= 64 - resultShift; } int256 result = negative ? -int256 (absResult) : int256 (absResult); require (result >= MIN_64x64 && result <= MAX_64x64); return int128 (result); } } /** * Calculate sqrt (x) rounding down. Revert if x < 0. * * @param x signed 64.64-bit fixed point number * @return signed 64.64-bit fixed point number */ function sqrt (int128 x) internal pure returns (int128) { unchecked { require (x >= 0); return int128 (sqrtu (uint256 (int256 (x)) << 64)); } } /** * Calculate binary logarithm of x. Revert if x <= 0. * * @param x signed 64.64-bit fixed point number * @return signed 64.64-bit fixed point number */ function log_2 (int128 x) internal pure returns (int128) { unchecked { require (x > 0); int256 msb = 0; int256 xc = x; if (xc >= 0x10000000000000000) { xc >>= 64; msb += 64; } if (xc >= 0x100000000) { xc >>= 32; msb += 32; } if (xc >= 0x10000) { xc >>= 16; msb += 16; } if (xc >= 0x100) { xc >>= 8; msb += 8; } if (xc >= 0x10) { xc >>= 4; msb += 4; } if (xc >= 0x4) { xc >>= 2; msb += 2; } if (xc >= 0x2) msb += 1; // No need to shift xc anymore int256 result = msb - 64 << 64; uint256 ux = uint256 (int256 (x)) << uint256 (127 - msb); for (int256 bit = 0x8000000000000000; bit > 0; bit >>= 1) { ux *= ux; uint256 b = ux >> 255; ux >>= 127 + b; result += bit * int256 (b); } return int128 (result); } } /** * Calculate natural logarithm of x. Revert if x <= 0. * * @param x signed 64.64-bit fixed point number * @return signed 64.64-bit fixed point number */ function ln (int128 x) internal pure returns (int128) { unchecked { require (x > 0); return int128 (int256 ( uint256 (int256 (log_2 (x))) * 0xB17217F7D1CF79ABC9E3B39803F2F6AF >> 128)); } } /** * Calculate binary exponent of x. Revert on overflow. * * @param x signed 64.64-bit fixed point number * @return signed 64.64-bit fixed point number */ function exp_2 (int128 x) internal pure returns (int128) { unchecked { require (x < 0x400000000000000000); // Overflow if (x < -0x400000000000000000) return 0; // Underflow uint256 result = 0x80000000000000000000000000000000; if (x & 0x8000000000000000 > 0) result = result * 0x16A09E667F3BCC908B2FB1366EA957D3E >> 128; if (x & 0x4000000000000000 > 0) result = result * 0x1306FE0A31B7152DE8D5A46305C85EDEC >> 128; if (x & 0x2000000000000000 > 0) result = result * 0x1172B83C7D517ADCDF7C8C50EB14A791F >> 128; if (x & 0x1000000000000000 > 0) result = result * 0x10B5586CF9890F6298B92B71842A98363 >> 128; if (x & 0x800000000000000 > 0) result = result * 0x1059B0D31585743AE7C548EB68CA417FD >> 128; if (x & 0x400000000000000 > 0) result = result * 0x102C9A3E778060EE6F7CACA4F7A29BDE8 >> 128; if (x & 0x200000000000000 > 0) result = result * 0x10163DA9FB33356D84A66AE336DCDFA3F >> 128; if (x & 0x100000000000000 > 0) result = result * 0x100B1AFA5ABCBED6129AB13EC11DC9543 >> 128; if (x & 0x80000000000000 > 0) result = result * 0x10058C86DA1C09EA1FF19D294CF2F679B >> 128; if (x & 0x40000000000000 > 0) result = result * 0x1002C605E2E8CEC506D21BFC89A23A00F >> 128; if (x & 0x20000000000000 > 0) result = result * 0x100162F3904051FA128BCA9C55C31E5DF >> 128; if (x & 0x10000000000000 > 0) result = result * 0x1000B175EFFDC76BA38E31671CA939725 >> 128; if (x & 0x8000000000000 > 0) result = result * 0x100058BA01FB9F96D6CACD4B180917C3D >> 128; if (x & 0x4000000000000 > 0) result = result * 0x10002C5CC37DA9491D0985C348C68E7B3 >> 128; if (x & 0x2000000000000 > 0) result = result * 0x1000162E525EE054754457D5995292026 >> 128; if (x & 0x1000000000000 > 0) result = result * 0x10000B17255775C040618BF4A4ADE83FC >> 128; if (x & 0x800000000000 > 0) result = result * 0x1000058B91B5BC9AE2EED81E9B7D4CFAB >> 128; if (x & 0x400000000000 > 0) result = result * 0x100002C5C89D5EC6CA4D7C8ACC017B7C9 >> 128; if (x & 0x200000000000 > 0) result = result * 0x10000162E43F4F831060E02D839A9D16D >> 128; if (x & 0x100000000000 > 0) result = result * 0x100000B1721BCFC99D9F890EA06911763 >> 128; if (x & 0x80000000000 > 0) result = result * 0x10000058B90CF1E6D97F9CA14DBCC1628 >> 128; if (x & 0x40000000000 > 0) result = result * 0x1000002C5C863B73F016468F6BAC5CA2B >> 128; if (x & 0x20000000000 > 0) result = result * 0x100000162E430E5A18F6119E3C02282A5 >> 128; if (x & 0x10000000000 > 0) result = result * 0x1000000B1721835514B86E6D96EFD1BFE >> 128; if (x & 0x8000000000 > 0) result = result * 0x100000058B90C0B48C6BE5DF846C5B2EF >> 128; if (x & 0x4000000000 > 0) result = result * 0x10000002C5C8601CC6B9E94213C72737A >> 128; if (x & 0x2000000000 > 0) result = result * 0x1000000162E42FFF037DF38AA2B219F06 >> 128; if (x & 0x1000000000 > 0) result = result * 0x10000000B17217FBA9C739AA5819F44F9 >> 128; if (x & 0x800000000 > 0) result = result * 0x1000000058B90BFCDEE5ACD3C1CEDC823 >> 128; if (x & 0x400000000 > 0) result = result * 0x100000002C5C85FE31F35A6A30DA1BE50 >> 128; if (x & 0x200000000 > 0) result = result * 0x10000000162E42FF0999CE3541B9FFFCF >> 128; if (x & 0x100000000 > 0) result = result * 0x100000000B17217F80F4EF5AADDA45554 >> 128; if (x & 0x80000000 > 0) result = result * 0x10000000058B90BFBF8479BD5A81B51AD >> 128; if (x & 0x40000000 > 0) result = result * 0x1000000002C5C85FDF84BD62AE30A74CC >> 128; if (x & 0x20000000 > 0) result = result * 0x100000000162E42FEFB2FED257559BDAA >> 128; if (x & 0x10000000 > 0) result = result * 0x1000000000B17217F7D5A7716BBA4A9AE >> 128; if (x & 0x8000000 > 0) result = result * 0x100000000058B90BFBE9DDBAC5E109CCE >> 128; if (x & 0x4000000 > 0) result = result * 0x10000000002C5C85FDF4B15DE6F17EB0D >> 128; if (x & 0x2000000 > 0) result = result * 0x1000000000162E42FEFA494F1478FDE05 >> 128; if (x & 0x1000000 > 0) result = result * 0x10000000000B17217F7D20CF927C8E94C >> 128; if (x & 0x800000 > 0) result = result * 0x1000000000058B90BFBE8F71CB4E4B33D >> 128; if (x & 0x400000 > 0) result = result * 0x100000000002C5C85FDF477B662B26945 >> 128; if (x & 0x200000 > 0) result = result * 0x10000000000162E42FEFA3AE53369388C >> 128; if (x & 0x100000 > 0) result = result * 0x100000000000B17217F7D1D351A389D40 >> 128; if (x & 0x80000 > 0) result = result * 0x10000000000058B90BFBE8E8B2D3D4EDE >> 128; if (x & 0x40000 > 0) result = result * 0x1000000000002C5C85FDF4741BEA6E77E >> 128; if (x & 0x20000 > 0) result = result * 0x100000000000162E42FEFA39FE95583C2 >> 128; if (x & 0x10000 > 0) result = result * 0x1000000000000B17217F7D1CFB72B45E1 >> 128; if (x & 0x8000 > 0) result = result * 0x100000000000058B90BFBE8E7CC35C3F0 >> 128; if (x & 0x4000 > 0) result = result * 0x10000000000002C5C85FDF473E242EA38 >> 128; if (x & 0x2000 > 0) result = result * 0x1000000000000162E42FEFA39F02B772C >> 128; if (x & 0x1000 > 0) result = result * 0x10000000000000B17217F7D1CF7D83C1A >> 128; if (x & 0x800 > 0) result = result * 0x1000000000000058B90BFBE8E7BDCBE2E >> 128; if (x & 0x400 > 0) result = result * 0x100000000000002C5C85FDF473DEA871F >> 128; if (x & 0x200 > 0) result = result * 0x10000000000000162E42FEFA39EF44D91 >> 128; if (x & 0x100 > 0) result = result * 0x100000000000000B17217F7D1CF79E949 >> 128; if (x & 0x80 > 0) result = result * 0x10000000000000058B90BFBE8E7BCE544 >> 128; if (x & 0x40 > 0) result = result * 0x1000000000000002C5C85FDF473DE6ECA >> 128; if (x & 0x20 > 0) result = result * 0x100000000000000162E42FEFA39EF366F >> 128; if (x & 0x10 > 0) result = result * 0x1000000000000000B17217F7D1CF79AFA >> 128; if (x & 0x8 > 0) result = result * 0x100000000000000058B90BFBE8E7BCD6D >> 128; if (x & 0x4 > 0) result = result * 0x10000000000000002C5C85FDF473DE6B2 >> 128; if (x & 0x2 > 0) result = result * 0x1000000000000000162E42FEFA39EF358 >> 128; if (x & 0x1 > 0) result = result * 0x10000000000000000B17217F7D1CF79AB >> 128; result >>= uint256 (int256 (63 - (x >> 64))); require (result <= uint256 (int256 (MAX_64x64))); return int128 (int256 (result)); } } /** * Calculate natural exponent of x. Revert on overflow. * * @param x signed 64.64-bit fixed point number * @return signed 64.64-bit fixed point number */ function exp (int128 x) internal pure returns (int128) { unchecked { require (x < 0x400000000000000000); // Overflow if (x < -0x400000000000000000) return 0; // Underflow return exp_2 ( int128 (int256 (x) * 0x171547652B82FE1777D0FFDA0D23A7D12 >> 128)); } } /** * Calculate x / y rounding towards zero, where x and y are unsigned 256-bit * integer numbers. Revert on overflow or when y is zero. * * @param x unsigned 256-bit integer number * @param y unsigned 256-bit integer number * @return unsigned 64.64-bit fixed point number */ function divuu (uint256 x, uint256 y) private pure returns (uint128) { unchecked { require (y != 0); uint256 result; if (x <= 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF) result = (x << 64) / y; else { uint256 msb = 192; uint256 xc = x >> 192; if (xc >= 0x100000000) { xc >>= 32; msb += 32; } if (xc >= 0x10000) { xc >>= 16; msb += 16; } if (xc >= 0x100) { xc >>= 8; msb += 8; } if (xc >= 0x10) { xc >>= 4; msb += 4; } if (xc >= 0x4) { xc >>= 2; msb += 2; } if (xc >= 0x2) msb += 1; // No need to shift xc anymore result = (x << 255 - msb) / ((y - 1 >> msb - 191) + 1); require (result <= 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF); uint256 hi = result * (y >> 128); uint256 lo = result * (y & 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF); uint256 xh = x >> 192; uint256 xl = x << 64; if (xl < lo) xh -= 1; xl -= lo; // We rely on overflow behavior here lo = hi << 128; if (xl < lo) xh -= 1; xl -= lo; // We rely on overflow behavior here result += xh == hi >> 128 ? xl / y : 1; } require (result <= 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF); return uint128 (result); } } /** * Calculate sqrt (x) rounding down, where x is unsigned 256-bit integer * number. * * @param x unsigned 256-bit integer number * @return unsigned 128-bit integer number */ function sqrtu (uint256 x) private pure returns (uint128) { unchecked { if (x == 0) return 0; else { uint256 xx = x; uint256 r = 1; if (xx >= 0x100000000000000000000000000000000) { xx >>= 128; r <<= 64; } if (xx >= 0x10000000000000000) { xx >>= 64; r <<= 32; } if (xx >= 0x100000000) { xx >>= 32; r <<= 16; } if (xx >= 0x10000) { xx >>= 16; r <<= 8; } if (xx >= 0x100) { xx >>= 8; r <<= 4; } if (xx >= 0x10) { xx >>= 4; r <<= 2; } if (xx >= 0x4) { r <<= 1; } r = (r + x / r) >> 1; r = (r + x / r) >> 1; r = (r + x / r) >> 1; r = (r + x / r) >> 1; r = (r + x / r) >> 1; r = (r + x / r) >> 1; r = (r + x / r) >> 1; // Seven iterations should be enough uint256 r1 = x / r; return uint128 (r < r1 ? r : r1); } } } } // File: @openzeppelin/contracts/utils/math/SafeMath.sol // OpenZeppelin Contracts (last updated v4.9.0) (utils/math/SafeMath.sol) pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the subtraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } } // File: @openzeppelin/contracts/utils/math/SignedMath.sol // OpenZeppelin Contracts (last updated v4.8.0) (utils/math/SignedMath.sol) pragma solidity ^0.8.0; /** * @dev Standard signed math utilities missing in the Solidity language. */ library SignedMath { /** * @dev Returns the largest of two signed numbers. */ function max(int256 a, int256 b) internal pure returns (int256) { return a > b ? a : b; } /** * @dev Returns the smallest of two signed numbers. */ function min(int256 a, int256 b) internal pure returns (int256) { return a < b ? a : b; } /** * @dev Returns the average of two signed numbers without overflow. * The result is rounded towards zero. */ function average(int256 a, int256 b) internal pure returns (int256) { // Formula from the book "Hacker's Delight" int256 x = (a & b) + ((a ^ b) >> 1); return x + (int256(uint256(x) >> 255) & (a ^ b)); } /** * @dev Returns the absolute unsigned value of a signed value. */ function abs(int256 n) internal pure returns (uint256) { unchecked { // must be unchecked in order to support `n = type(int256).min` return uint256(n >= 0 ? n : -n); } } } // File: @openzeppelin/contracts/utils/math/Math.sol // OpenZeppelin Contracts (last updated v4.9.0) (utils/math/Math.sol) pragma solidity ^0.8.0; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { enum Rounding { Down, // Toward negative infinity Up, // Toward infinity Zero // Toward zero } /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a > b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow. return (a & b) + (a ^ b) / 2; } /** * @dev Returns the ceiling of the division of two numbers. * * This differs from standard division with `/` in that it rounds up instead * of rounding down. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b - 1) / b can overflow on addition, so we distribute. return a == 0 ? 0 : (a - 1) / b + 1; } /** * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0 * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) * with further edits by Uniswap Labs also under MIT license. */ function mulDiv(uint256 x, uint256 y, uint256 denominator) internal pure returns (uint256 result) { unchecked { // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256 // variables such that product = prod1 * 2^256 + prod0. uint256 prod0; // Least significant 256 bits of the product uint256 prod1; // Most significant 256 bits of the product assembly { let mm := mulmod(x, y, not(0)) prod0 := mul(x, y) prod1 := sub(sub(mm, prod0), lt(mm, prod0)) } // Handle non-overflow cases, 256 by 256 division. if (prod1 == 0) { // Solidity will revert if denominator == 0, unlike the div opcode on its own. // The surrounding unchecked block does not change this fact. // See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic. return prod0 / denominator; } // Make sure the result is less than 2^256. Also prevents denominator == 0. require(denominator > prod1, "Math: mulDiv overflow"); /////////////////////////////////////////////// // 512 by 256 division. /////////////////////////////////////////////// // Make division exact by subtracting the remainder from [prod1 prod0]. uint256 remainder; assembly { // Compute remainder using mulmod. remainder := mulmod(x, y, denominator) // Subtract 256 bit number from 512 bit number. prod1 := sub(prod1, gt(remainder, prod0)) prod0 := sub(prod0, remainder) } // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1. // See https://cs.stackexchange.com/q/138556/92363. // Does not overflow because the denominator cannot be zero at this stage in the function. uint256 twos = denominator & (~denominator + 1); assembly { // Divide denominator by twos. denominator := div(denominator, twos) // Divide [prod1 prod0] by twos. prod0 := div(prod0, twos) // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one. twos := add(div(sub(0, twos), twos), 1) } // Shift in bits from prod1 into prod0. prod0 |= prod1 * twos; // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for // four bits. That is, denominator * inv = 1 mod 2^4. uint256 inverse = (3 * denominator) ^ 2; // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works // in modular arithmetic, doubling the correct bits in each step. inverse *= 2 - denominator * inverse; // inverse mod 2^8 inverse *= 2 - denominator * inverse; // inverse mod 2^16 inverse *= 2 - denominator * inverse; // inverse mod 2^32 inverse *= 2 - denominator * inverse; // inverse mod 2^64 inverse *= 2 - denominator * inverse; // inverse mod 2^128 inverse *= 2 - denominator * inverse; // inverse mod 2^256 // Because the division is now exact we can divide by multiplying with the modular inverse of denominator. // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1 // is no longer required. result = prod0 * inverse; return result; } } /** * @notice Calculates x * y / denominator with full precision, following the selected rounding direction. */ function mulDiv(uint256 x, uint256 y, uint256 denominator, Rounding rounding) internal pure returns (uint256) { uint256 result = mulDiv(x, y, denominator); if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) { result += 1; } return result; } /** * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down. * * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11). */ function sqrt(uint256 a) internal pure returns (uint256) { if (a == 0) { return 0; } // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target. // // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`. // // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)` // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))` // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)` // // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit. uint256 result = 1 << (log2(a) >> 1); // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128, // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision // into the expected uint128 result. unchecked { result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; return min(result, a / result); } } /** * @notice Calculates sqrt(a), following the selected rounding direction. */ function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = sqrt(a); return result + (rounding == Rounding.Up && result * result < a ? 1 : 0); } } /** * @dev Return the log in base 2, rounded down, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 128; } if (value >> 64 > 0) { value >>= 64; result += 64; } if (value >> 32 > 0) { value >>= 32; result += 32; } if (value >> 16 > 0) { value >>= 16; result += 16; } if (value >> 8 > 0) { value >>= 8; result += 8; } if (value >> 4 > 0) { value >>= 4; result += 4; } if (value >> 2 > 0) { value >>= 2; result += 2; } if (value >> 1 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 2, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log2(value); return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0); } } /** * @dev Return the log in base 10, rounded down, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >= 10 ** 64) { value /= 10 ** 64; result += 64; } if (value >= 10 ** 32) { value /= 10 ** 32; result += 32; } if (value >= 10 ** 16) { value /= 10 ** 16; result += 16; } if (value >= 10 ** 8) { value /= 10 ** 8; result += 8; } if (value >= 10 ** 4) { value /= 10 ** 4; result += 4; } if (value >= 10 ** 2) { value /= 10 ** 2; result += 2; } if (value >= 10 ** 1) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log10(value); return result + (rounding == Rounding.Up && 10 ** result < value ? 1 : 0); } } /** * @dev Return the log in base 256, rounded down, of a positive value. * Returns 0 if given 0. * * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string. */ function log256(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 16; } if (value >> 64 > 0) { value >>= 64; result += 8; } if (value >> 32 > 0) { value >>= 32; result += 4; } if (value >> 16 > 0) { value >>= 16; result += 2; } if (value >> 8 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 256, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log256(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log256(value); return result + (rounding == Rounding.Up && 1 << (result << 3) < value ? 1 : 0); } } } // File: @openzeppelin/contracts/utils/Strings.sol // OpenZeppelin Contracts (last updated v4.9.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { unchecked { uint256 length = Math.log10(value) + 1; string memory buffer = new string(length); uint256 ptr; /// @solidity memory-safe-assembly assembly { ptr := add(buffer, add(32, length)) } while (true) { ptr--; /// @solidity memory-safe-assembly assembly { mstore8(ptr, byte(mod(value, 10), _SYMBOLS)) } value /= 10; if (value == 0) break; } return buffer; } } /** * @dev Converts a `int256` to its ASCII `string` decimal representation. */ function toString(int256 value) internal pure returns (string memory) { return string(abi.encodePacked(value < 0 ? "-" : "", toString(SignedMath.abs(value)))); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { unchecked { return toHexString(value, Math.log256(value) + 1); } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } /** * @dev Returns true if the two strings are equal. */ function equal(string memory a, string memory b) internal pure returns (bool) { return keccak256(bytes(a)) == keccak256(bytes(b)); } } // File: @openzeppelin/contracts/utils/Context.sol // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File: @openzeppelin/contracts/access/Ownable.sol // OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol) pragma solidity ^0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // File: @openzeppelin/contracts/utils/Address.sol // OpenZeppelin Contracts (last updated v4.9.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * * Furthermore, `isContract` will also return true if the target contract within * the same transaction is already scheduled for destruction by `SELFDESTRUCT`, * which only has an effect at the end of a transaction. * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://consensys.net/diligence/blog/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.8.0/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract. * * _Available since v4.8._ */ function verifyCallResultFromTarget( address target, bool success, bytes memory returndata, string memory errorMessage ) internal view returns (bytes memory) { if (success) { if (returndata.length == 0) { // only check isContract if the call was successful and the return data is empty // otherwise we already know that it was a contract require(isContract(target), "Address: call to non-contract"); } return returndata; } else { _revert(returndata, errorMessage); } } /** * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason or using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { _revert(returndata, errorMessage); } } function _revert(bytes memory returndata, string memory errorMessage) private pure { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } // File: @openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol // OpenZeppelin Contracts (last updated v4.9.3) (token/ERC20/utils/SafeERC20.sol) pragma solidity ^0.8.0; /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20 { using Address for address; /** * @dev Transfer `value` amount of `token` from the calling contract to `to`. If `token` returns no value, * non-reverting calls are assumed to be successful. */ function safeTransfer(IERC20 token, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } /** * @dev Transfer `value` amount of `token` from `from` to `to`, spending the approval given by `from` to the * calling contract. If `token` returns no value, non-reverting calls are assumed to be successful. */ function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } /** * @dev Deprecated. This function has issues similar to the ones found in * {IERC20-approve}, and its usage is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ function safeApprove(IERC20 token, address spender, uint256 value) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' require( (value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } /** * @dev Increase the calling contract's allowance toward `spender` by `value`. If `token` returns no value, * non-reverting calls are assumed to be successful. */ function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal { uint256 oldAllowance = token.allowance(address(this), spender); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, oldAllowance + value)); } /** * @dev Decrease the calling contract's allowance toward `spender` by `value`. If `token` returns no value, * non-reverting calls are assumed to be successful. */ function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal { unchecked { uint256 oldAllowance = token.allowance(address(this), spender); require(oldAllowance >= value, "SafeERC20: decreased allowance below zero"); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, oldAllowance - value)); } } /** * @dev Set the calling contract's allowance toward `spender` to `value`. If `token` returns no value, * non-reverting calls are assumed to be successful. Meant to be used with tokens that require the approval * to be set to zero before setting it to a non-zero value, such as USDT. */ function forceApprove(IERC20 token, address spender, uint256 value) internal { bytes memory approvalCall = abi.encodeWithSelector(token.approve.selector, spender, value); if (!_callOptionalReturnBool(token, approvalCall)) { _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, 0)); _callOptionalReturn(token, approvalCall); } } /** * @dev Use a ERC-2612 signature to set the `owner` approval toward `spender` on `token`. * Revert on invalid signature. */ function safePermit( IERC20Permit token, address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) internal { uint256 nonceBefore = token.nonces(owner); token.permit(owner, spender, value, deadline, v, r, s); uint256 nonceAfter = token.nonces(owner); require(nonceAfter == nonceBefore + 1, "SafeERC20: permit did not succeed"); } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function _callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We use {Address-functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed"); require(returndata.length == 0 || abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). * * This is a variant of {_callOptionalReturn} that silents catches all reverts and returns a bool instead. */ function _callOptionalReturnBool(IERC20 token, bytes memory data) private returns (bool) { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We cannot use {Address-functionCall} here since this should return false // and not revert is the subcall reverts. (bool success, bytes memory returndata) = address(token).call(data); return success && (returndata.length == 0 || abi.decode(returndata, (bool))) && Address.isContract(address(token)); } } // File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } // File: @openzeppelin/contracts/utils/introspection/IERC165.sol // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); } // File: @openzeppelin/contracts/utils/introspection/ERC165.sol // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } } // File: @openzeppelin/contracts/token/ERC721/IERC721.sol // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom(address from, address to, uint256 tokenId) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721 * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must * understand this adds an external call which potentially creates a reentrancy vulnerability. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom(address from, address to, uint256 tokenId) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); } // File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); } // File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); } // File: @openzeppelin/contracts/token/ERC721/ERC721.sol // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: address zero is not a valid owner"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _ownerOf(tokenId); require(owner != address(0), "ERC721: invalid token ID"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { _requireMinted(tokenId); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not token owner or approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { _requireMinted(tokenId); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom(address from, address to, uint256 tokenId) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner or approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom(address from, address to, uint256 tokenId) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory data) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner or approved"); _safeTransfer(from, to, tokenId, data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer(address from, address to, uint256 tokenId, bytes memory data) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns the owner of the `tokenId`. Does NOT revert if token doesn't exist */ function _ownerOf(uint256 tokenId) internal view virtual returns (address) { return _owners[tokenId]; } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _ownerOf(tokenId) != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { address owner = ERC721.ownerOf(tokenId); return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint(address to, uint256 tokenId, bytes memory data) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId, 1); // Check that tokenId was not minted by `_beforeTokenTransfer` hook require(!_exists(tokenId), "ERC721: token already minted"); unchecked { // Will not overflow unless all 2**256 token ids are minted to the same owner. // Given that tokens are minted one by one, it is impossible in practice that // this ever happens. Might change if we allow batch minting. // The ERC fails to describe this case. _balances[to] += 1; } _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId, 1); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * This is an internal function that does not check if the sender is authorized to operate on the token. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId, 1); // Update ownership in case tokenId was transferred by `_beforeTokenTransfer` hook owner = ERC721.ownerOf(tokenId); // Clear approvals delete _tokenApprovals[tokenId]; unchecked { // Cannot overflow, as that would require more tokens to be burned/transferred // out than the owner initially received through minting and transferring in. _balances[owner] -= 1; } delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); _afterTokenTransfer(owner, address(0), tokenId, 1); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer(address from, address to, uint256 tokenId) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId, 1); // Check that tokenId was not transferred by `_beforeTokenTransfer` hook require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); // Clear approvals from the previous owner delete _tokenApprovals[tokenId]; unchecked { // `_balances[from]` cannot overflow for the same reason as described in `_burn`: // `from`'s balance is the number of token held, which is at least one before the current // transfer. // `_balances[to]` could overflow in the conditions described in `_mint`. That would require // all 2**256 token ids to be minted, which in practice is impossible. _balances[from] -= 1; _balances[to] += 1; } _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId, 1); } /** * @dev Approve `to` to operate on `tokenId` * * Emits an {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits an {ApprovalForAll} event. */ function _setApprovalForAll(address owner, address operator, bool approved) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Reverts if the `tokenId` has not been minted yet. */ function _requireMinted(uint256 tokenId) internal view virtual { require(_exists(tokenId), "ERC721: invalid token ID"); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { /// @solidity memory-safe-assembly assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting and burning. If {ERC721Consecutive} is * used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s tokens will be transferred to `to`. * - When `from` is zero, the tokens will be minted for `to`. * - When `to` is zero, ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * - `batchSize` is non-zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer(address from, address to, uint256 firstTokenId, uint256 batchSize) internal virtual {} /** * @dev Hook that is called after any token transfer. This includes minting and burning. If {ERC721Consecutive} is * used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s tokens were transferred to `to`. * - When `from` is zero, the tokens were minted for `to`. * - When `to` is zero, ``from``'s tokens were burned. * - `from` and `to` are never both zero. * - `batchSize` is non-zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer(address from, address to, uint256 firstTokenId, uint256 batchSize) internal virtual {} /** * @dev Unsafe write access to the balances, used by extensions that "mint" tokens using an {ownerOf} override. * * WARNING: Anyone calling this MUST ensure that the balances remain consistent with the ownership. The invariant * being that for any address `a` the value returned by `balanceOf(a)` must be equal to the number of tokens such * that `ownerOf(tokenId)` is `a`. */ // solhint-disable-next-line func-name-mixedcase function __unsafe_increaseBalance(address account, uint256 amount) internal { _balances[account] += amount; } } // File: @openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol // OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/extensions/ERC721Enumerable.sol) pragma solidity ^0.8.0; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @dev See {ERC721-_beforeTokenTransfer}. */ function _beforeTokenTransfer( address from, address to, uint256 firstTokenId, uint256 batchSize ) internal virtual override { super._beforeTokenTransfer(from, to, firstTokenId, batchSize); if (batchSize > 1) { // Will only trigger during construction. Batch transferring (minting) is not available afterwards. revert("ERC721Enumerable: consecutive transfers not supported"); } uint256 tokenId = firstTokenId; if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } } // File: contracts/BRAIN.sol // Custom contract // @title The B.R.A.I.N on Sonic Network // Big-data reasoning and autonomous intelligence neural node // website: https://brainonsonic.xyz | twitter: https://t.me/Oxsorcerer | telegram: https://x.com/brainonsonic pragma solidity ^0.8.18; contract BRAIN is ERC721Enumerable, Ownable, ReentrancyGuard { constructor(string memory _name, string memory _symbol, address _brainDAO, address _brainAddress) ERC721(_name, _symbol) { brainDAO = _brainDAO; brainAddress = _brainAddress; } using SafeERC20 for IERC20; using Strings for uint256; uint256 count = 0; uint256 conversations = 0; uint256 public fee = 0.00001 ether; uint256 public payId = 0; uint256 public brainFee = 1000 ether; uint256 public TotalBurns = 0; uint256 public deadtax = 0; uint256 public devtax = 0; uint256 public toll = 0; uint256 private limitCount = 1; address public brainDAO; address public brainAddress; address payable public developmentAddress; address public burnAddress; string public baseURI; string public Author = "undoxxed"; bool public baseURItype = false; bool public paused = false; modifier onlyBrainDAO() { require(msg.sender == brainDAO, "Not authorized."); _; } modifier onlyBurner() { require(msg.sender == brainAddress, "Not authorized."); _; } struct Brainer { string username; uint256 id; string bot; string build; string class; string topic; string tid; uint256 contributions; uint256 history; } struct TokenInfo { IERC20 paytoken; } struct WhiteList { bool whitelist; } struct BlackList { bool blacklist; } //Array TokenInfo[] public AllowedCrypto; //Maps mapping (uint256 => Brainer) public brainers; mapping (address => WhiteList) public whitelisted; mapping (uint256 => BlackList) public blacklisted; mapping (uint256 => string) private dialogue; event brainMint(string _name, uint256 indexed tokenId); function mint(string memory _name, string memory _robot, string memory _buildString) public payable nonReentrant { require(!paused, "Paused Contract"); require(bytes(_name).length > 0, "No Name"); if (!whitelisted[msg.sender].whitelist) { require(balanceOf(msg.sender) < limitCount, "Not Authorized"); require(msg.value == fee, "Insufficient fee"); // Transfer required brain tokens to mint a brain transferTokens(brainFee); // Initiate permaburn from the contract burn(brainFee, toll); } uint256 tokenId = count + 1; // Create and map new brainer brainers[tokenId] = Brainer({ username: _name, id: tokenId, bot: _robot, build: _buildString, class: '', topic: '', tid: '', contributions: 0, history: 0}); // Mint a new brain _mint(msg.sender, tokenId); //Create Blacklist and map it blacklisted[tokenId] = BlackList({ blacklist: false }); emit brainMint(_name, tokenId); count++; } event updatedBrain(string indexed _name, uint256 indexed tokenId); function updateBrainer(uint256 _tokenId, string memory _newName, string memory _robot, string memory _buildString, string memory _class, string memory _topicString, string memory _tidString, bytes32 providedHash) external nonReentrant { require(providedHash == secretHash, "Invalid hash provided"); require(msg.sender == ownerOf(_tokenId), "Not Your Brain."); require(bytes(_newName).length > 0, "No Name"); require(_tokenId >= 0 && _tokenId <= totalSupply(), "Not Found"); require(!blacklisted[_tokenId].blacklist, "Blacklisted"); // Update the data in brainer brainers[_tokenId].username = string(_newName); brainers[_tokenId].bot = string(_robot); brainers[_tokenId].build = string(_buildString); brainers[_tokenId].class = string(_class); brainers[_tokenId].topic = string(_topicString); brainers[_tokenId].tid = string(_tidString); brainers[_tokenId].history++; emit updatedBrain(_robot, _tokenId); } function fetchDialogue(uint256[] calldata _data, bytes32 providedHash) external nonReentrant returns (string[] memory) { require(providedHash == secretHash, "Invalid hash provided"); // Initialize our array string[] memory results = new string[](_data.length); for (uint256 i = 0; i < _data.length; i++) { results[i] = dialogue[_data[i]]; } return results; } function putDialogue(string memory _dialogue, bytes32 providedHash) external nonReentrant { require(providedHash == secretHash, "Invalid hash provided"); dialogue[conversations] = _dialogue; conversations++; } function setContributions(uint8 _type, uint256 _tokenId, uint256 _amount) external onlyBrainDAO() { require(_tokenId > 0 && _tokenId <= totalSupply(), "Not Found"); if (_type > 0) { brainers[_tokenId].contributions += _amount; } else { brainers[_tokenId].contributions = _amount; } } // Private variable to store the hashed secret bytes32 private secretHash; /** * @dev Function to set the secret value, callable only by authorized party. * @param _secret The secret string to hash and store */ function setSecret(string memory _secret) external onlyBrainDAO { secretHash = keccak256(abi.encodePacked(_secret)); } function setBrainAddress (address _brainAddress) external onlyBrainDAO { require(msg.sender == brainDAO, "Not Authorized."); brainAddress = _brainAddress; } function setValues (uint256 _fee, uint256 _brainFee, uint256 _deadtax, uint256 _toll, uint256 _devtax, uint256 _payId, uint256 _limitCount) external onlyBrainDAO() { fee = _fee; deadtax = _deadtax; devtax = _devtax; payId = _payId; toll = _toll; brainFee = _brainFee; limitCount = _limitCount; } function burn(uint256 _burnAmount, uint256 _num) internal { uint256 taxed = (_burnAmount * _num)/100 ; uint256 dead = (taxed * deadtax)/100; uint256 dev = (taxed * devtax)/100; TokenInfo storage tokens = AllowedCrypto[payId]; IERC20 paytoken; paytoken = tokens.paytoken; paytoken.transfer(burnAddress, dead); paytoken.transfer(developmentAddress, dev); TotalBurns += dead; } function transferTokens(uint256 _cost) internal { TokenInfo storage tokens = AllowedCrypto[payId]; IERC20 paytoken; paytoken = tokens.paytoken; paytoken.transferFrom(msg.sender,address(this), _cost); } function changeOwner(address newOwner) external onlyBrainDAO { // Update the owner to the new owner transferOwnership(newOwner); } function withdraw(uint256 _amount) external payable onlyBrainDAO nonReentrant { address payable _owner = payable(owner()); _owner.transfer(_amount); } function withdrawERC20(uint256 _payId, uint256 _amount) external payable onlyBrainDAO nonReentrant { TokenInfo storage tokens = AllowedCrypto[_payId]; IERC20 paytoken; paytoken = tokens.paytoken; paytoken.transfer(msg.sender, _amount); } function setAddresses(address _developmentAddress, address _burnAddress) public onlyBrainDAO { developmentAddress = payable (_developmentAddress); burnAddress = _burnAddress; } function addCurrency(IERC20 _paytoken) external onlyBrainDAO { AllowedCrypto.push( TokenInfo({ paytoken: _paytoken }) ); } function _baseURI() internal view virtual override returns (string memory) { return baseURI; } function updateBaseURI(string memory _newLink) external onlyBrainDAO() { baseURI = _newLink; } function setBaseURItype() external onlyBrainDAO() { if (!baseURItype) { baseURItype = true; } else { baseURItype = false; } } function tokenURI(uint256 _tokenId) public view override returns (string memory) { require(_tokenId <= totalSupply(), "Not Found"); string memory uriBase = baseURI; if (blacklisted[_tokenId].blacklist) { return bytes(uriBase).length > 0 ? string(abi.encodePacked(uriBase, "blacklisted", ".json")) : ""; } if (baseURItype) { return bytes(uriBase).length > 0 ? string(abi.encodePacked(uriBase, _tokenId.toString(), ".json")) : ""; } return bytes(uriBase).length > 0 ? string(abi.encodePacked(uriBase, "alpha", ".json")) : ""; } event Pause(); function pause() public onlyBrainDAO { require(!paused, "Already paused."); paused = true; emit Pause(); } event Unpause(); function unpause() public onlyBrainDAO { require(paused, "Not paused."); paused = false; emit Unpause(); } // Getters function getBrainer(uint256 _tokenId) public view returns (Brainer[] memory) { Brainer[] memory brainBoard = new Brainer[](1); brainBoard[0] = brainers[_tokenId]; return brainBoard; } function getBrains(address _player) public view returns (Brainer[] memory) { uint256 total = balanceOf(_player); Brainer[] memory result = new Brainer[](total); for (uint256 i = 0; i < total; i++) { uint256 tokenId = tokenOfOwnerByIndex(_player, i); result[i] = brainers[tokenId]; } return result; } function burnBrains(uint256 _amount, uint256 _toll, bytes32 providedHash) external { require(providedHash == secretHash, "Invalid hash provided"); burn(_amount, _toll); } function addToWhitelist(address[] calldata _address) external onlyBrainDAO { for (uint256 i = 0; i < _address.length; i++) { whitelisted[_address[i]].whitelist = true; } } function addToBlacklist(uint256[] calldata _nfts) external onlyBrainDAO { for (uint256 i = 0; i < _nfts.length; i++) { blacklisted[_nfts[i]].blacklist = true; } } function removeFromWhitelist(address[] calldata _address) external onlyBrainDAO { for (uint256 i = 0; i < _address.length; i++) { whitelisted[_address[i]].whitelist = false; } } function removeFromBlacklist(uint256[] calldata _nfts) external onlyBrainDAO { for (uint256 i = 0; i < _nfts.length; i++) { blacklisted[_nfts[i]].blacklist = false; } } function setDAO (address _brainDAO) external onlyBrainDAO { brainDAO = _brainDAO; } function setAuthor (string memory _reveal) external onlyBrainDAO { Author = _reveal; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"address","name":"_brainDAO","type":"address"},{"internalType":"address","name":"_brainAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[],"name":"Pause","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[],"name":"Unpause","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"_name","type":"string"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"brainMint","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"string","name":"_name","type":"string"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"updatedBrain","type":"event"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"AllowedCrypto","outputs":[{"internalType":"contract IERC20","name":"paytoken","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"Author","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TotalBurns","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"_paytoken","type":"address"}],"name":"addCurrency","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_nfts","type":"uint256[]"}],"name":"addToBlacklist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_address","type":"address[]"}],"name":"addToWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURItype","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"blacklisted","outputs":[{"internalType":"bool","name":"blacklist","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"brainAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"brainDAO","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"brainFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"brainers","outputs":[{"internalType":"string","name":"username","type":"string"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"string","name":"bot","type":"string"},{"internalType":"string","name":"build","type":"string"},{"internalType":"string","name":"class","type":"string"},{"internalType":"string","name":"topic","type":"string"},{"internalType":"string","name":"tid","type":"string"},{"internalType":"uint256","name":"contributions","type":"uint256"},{"internalType":"uint256","name":"history","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"burnAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"uint256","name":"_toll","type":"uint256"},{"internalType":"bytes32","name":"providedHash","type":"bytes32"}],"name":"burnBrains","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"changeOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"deadtax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"developmentAddress","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"devtax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"fee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_data","type":"uint256[]"},{"internalType":"bytes32","name":"providedHash","type":"bytes32"}],"name":"fetchDialogue","outputs":[{"internalType":"string[]","name":"","type":"string[]"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"getBrainer","outputs":[{"components":[{"internalType":"string","name":"username","type":"string"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"string","name":"bot","type":"string"},{"internalType":"string","name":"build","type":"string"},{"internalType":"string","name":"class","type":"string"},{"internalType":"string","name":"topic","type":"string"},{"internalType":"string","name":"tid","type":"string"},{"internalType":"uint256","name":"contributions","type":"uint256"},{"internalType":"uint256","name":"history","type":"uint256"}],"internalType":"struct BRAIN.Brainer[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_player","type":"address"}],"name":"getBrains","outputs":[{"components":[{"internalType":"string","name":"username","type":"string"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"string","name":"bot","type":"string"},{"internalType":"string","name":"build","type":"string"},{"internalType":"string","name":"class","type":"string"},{"internalType":"string","name":"topic","type":"string"},{"internalType":"string","name":"tid","type":"string"},{"internalType":"uint256","name":"contributions","type":"uint256"},{"internalType":"uint256","name":"history","type":"uint256"}],"internalType":"struct BRAIN.Brainer[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_robot","type":"string"},{"internalType":"string","name":"_buildString","type":"string"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"payId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"_dialogue","type":"string"},{"internalType":"bytes32","name":"providedHash","type":"bytes32"}],"name":"putDialogue","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_nfts","type":"uint256[]"}],"name":"removeFromBlacklist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_address","type":"address[]"}],"name":"removeFromWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_developmentAddress","type":"address"},{"internalType":"address","name":"_burnAddress","type":"address"}],"name":"setAddresses","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_reveal","type":"string"}],"name":"setAuthor","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setBaseURItype","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_brainAddress","type":"address"}],"name":"setBrainAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"_type","type":"uint8"},{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"setContributions","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_brainDAO","type":"address"}],"name":"setDAO","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_secret","type":"string"}],"name":"setSecret","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_fee","type":"uint256"},{"internalType":"uint256","name":"_brainFee","type":"uint256"},{"internalType":"uint256","name":"_deadtax","type":"uint256"},{"internalType":"uint256","name":"_toll","type":"uint256"},{"internalType":"uint256","name":"_devtax","type":"uint256"},{"internalType":"uint256","name":"_payId","type":"uint256"},{"internalType":"uint256","name":"_limitCount","type":"uint256"}],"name":"setValues","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"toll","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newLink","type":"string"}],"name":"updateBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"string","name":"_newName","type":"string"},{"internalType":"string","name":"_robot","type":"string"},{"internalType":"string","name":"_buildString","type":"string"},{"internalType":"string","name":"_class","type":"string"},{"internalType":"string","name":"_topicString","type":"string"},{"internalType":"string","name":"_tidString","type":"string"},{"internalType":"bytes32","name":"providedHash","type":"bytes32"}],"name":"updateBrainer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whitelisted","outputs":[{"internalType":"bool","name":"whitelist","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_payId","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdrawERC20","outputs":[],"stateMutability":"payable","type":"function"}]
Contract Creation Code
6000600c819055600d8190556509184e72a000600e55600f819055683635c9adc5dea00000601055601181905560128190556013819055601455600160155560c060405260086080908152671d5b991bde1e195960c21b60a052601b9062000068908262000215565b50601c805461ffff191690553480156200008157600080fd5b5060405162004f7638038062004f76833981016040819052620000a491620003ad565b83836000620000b4838262000215565b506001620000c3828262000215565b505050620000e0620000da6200011a60201b60201c565b6200011e565b6001600b55601680546001600160a01b039384166001600160a01b03199182161790915560178054929093169116179055506200043c9050565b3390565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200019b57607f821691505b602082108103620001bc57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200021057600081815260208120601f850160051c81016020861015620001eb5750805b601f850160051c820191505b818110156200020c57828155600101620001f7565b5050505b505050565b81516001600160401b0381111562000231576200023162000170565b620002498162000242845462000186565b84620001c2565b602080601f831160018114620002815760008415620002685750858301515b600019600386901b1c1916600185901b1785556200020c565b600085815260208120601f198616915b82811015620002b25788860151825594840194600190910190840162000291565b5085821015620002d15787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600082601f830112620002f357600080fd5b81516001600160401b038082111562000310576200031062000170565b604051601f8301601f19908116603f011681019082821181831017156200033b576200033b62000170565b816040528381526020925086838588010111156200035857600080fd5b600091505b838210156200037c57858201830151818301840152908201906200035d565b600093810190920192909252949350505050565b80516001600160a01b0381168114620003a857600080fd5b919050565b60008060008060808587031215620003c457600080fd5b84516001600160401b0380821115620003dc57600080fd5b620003ea88838901620002e1565b955060208701519150808211156200040157600080fd5b506200041087828801620002e1565b935050620004216040860162000390565b9150620004316060860162000390565b905092959194509250565b614b2a806200044c6000396000f3fe6080604052600436106103c35760003560e01c806370a08231116101f2578063b27073431161010d578063ddca3f43116100a0578063e985e9c51161006f578063e985e9c514610b0d578063ee11390114610b56578063f2fde38b14610b76578063f49ae8be14610b9657600080fd5b8063ddca3f4314610aa4578063e00e8bf314610aba578063e73a914c14610acd578063e756b34314610aed57600080fd5b8063ce13763e116100dc578063ce13763e14610a21578063d645ddf614610a41578063d6e182ff14610a54578063d936547e14610a7457600080fd5b8063b2707343146109a1578063b88d4fde146109c1578063c87b56dd146109e1578063cda7d32114610a0157600080fd5b80638c82ce3f11610185578063931688cb11610154578063931688cb1461092c57806395d89b411461094c578063a22cb46514610961578063a6f9dae11461098157600080fd5b80638c82ce3f146108b85780638da5cb5b146108ce57806390107afe146108ec57806392201a4a1461090c57600080fd5b80637f649783116101c15780637f649783146108435780638456cb5914610863578063849c2da9146108785780638ab234b61461089857600080fd5b806370a08231146107ce57806370d5ae05146107ee578063715018a61461080e5780637ed6c9261461082357600080fd5b80633f4ba83a116102e25780635f637025116102755780636c2c0d5c116102445780636c2c0d5c146107625780636e9e57a7146107825780636ec6bfe2146107985780637017b8ed146107b857600080fd5b80635f637025146106f75780636352211e1461070d578063638b1b141461072d5780636c0360eb1461074d57600080fd5b8063548db174116102b1578063548db1741461068357806355aeba64146106a35780635c975abb146106b85780635c983aec146106d757600080fd5b80633f4ba83a1461060e5780633fe14e031461062357806342842e0e146106435780634f6ccce71461066357600080fd5b806320b2af521161035a578063285aaa2011610329578063285aaa20146105985780632e1a7d4d146105ae5780632f745c59146105c157806335f04685146105e157600080fd5b806320b2af521461051457806323b872dd1461052957806323db4c911461054957806326c91cad1461057857600080fd5b8063146a775c11610396578063146a775c1461047957806316533ef51461049357806318160ddd146104c85780631b22402c146104e757600080fd5b806301ffc9a7146103c857806306fdde03146103fd578063081812fc1461041f578063095ea7b314610457575b600080fd5b3480156103d457600080fd5b506103e86103e3366004613db6565b610bac565b60405190151581526020015b60405180910390f35b34801561040957600080fd5b50610412610bd7565b6040516103f49190613e23565b34801561042b57600080fd5b5061043f61043a366004613e36565b610c69565b6040516001600160a01b0390911681526020016103f4565b34801561046357600080fd5b50610477610472366004613e64565b610c90565b005b34801561048557600080fd5b50601c546103e89060ff1681565b34801561049f57600080fd5b506104b36104ae366004613e36565b610daa565b6040516103f499989796959493929190613e90565b3480156104d457600080fd5b506008545b6040519081526020016103f4565b3480156104f357600080fd5b50610507610502366004613f28565b611120565b6040516103f49190613f45565b34801561052057600080fd5b50610412611580565b34801561053557600080fd5b50610477610544366004614058565b61160e565b34801561055557600080fd5b506103e8610564366004613e36565b602080526000908152604090205460ff1681565b34801561058457600080fd5b5061043f610593366004613e36565b61163f565b3480156105a457600080fd5b506104d960145481565b6104776105bc366004613e36565b611669565b3480156105cd57600080fd5b506104d96105dc366004613e64565b6116f7565b3480156105ed57600080fd5b506106016105fc3660046140e4565b61178d565b6040516103f4919061412f565b34801561061a57600080fd5b5061047761190b565b34801561062f57600080fd5b5061047761063e36600461423c565b6119b0565b34801561064f57600080fd5b5061047761065e366004614058565b6119ea565b34801561066f57600080fd5b506104d961067e366004613e36565b611a05565b34801561068f57600080fd5b5061047761069e366004614270565b611a98565b3480156106af57600080fd5b50610477611b34565b3480156106c457600080fd5b50601c546103e890610100900460ff1681565b3480156106e357600080fd5b506104776106f2366004614270565b611b84565b34801561070357600080fd5b506104d960125481565b34801561071957600080fd5b5061043f610728366004613e36565b611c0b565b34801561073957600080fd5b5060185461043f906001600160a01b031681565b34801561075957600080fd5b50610412611c6b565b34801561076e57600080fd5b5061047761077d3660046142b1565b611c78565b34801561078e57600080fd5b506104d960105481565b3480156107a457600080fd5b506104776107b3366004613f28565b611d1b565b3480156107c457600080fd5b506104d9600f5481565b3480156107da57600080fd5b506104d96107e9366004613f28565b611db3565b3480156107fa57600080fd5b5060195461043f906001600160a01b031681565b34801561081a57600080fd5b50610477611e39565b34801561082f57600080fd5b5061047761083e36600461423c565b611e4b565b34801561084f57600080fd5b5061047761085e366004614270565b611ea4565b34801561086f57600080fd5b50610477611f40565b34801561088457600080fd5b506104776108933660046142ec565b611fee565b3480156108a457600080fd5b506104776108b3366004613f28565b612235565b3480156108c457600080fd5b506104d960135481565b3480156108da57600080fd5b50600a546001600160a01b031661043f565b3480156108f857600080fd5b506104776109073660046143f5565b6122c2565b34801561091857600080fd5b50610477610927366004614270565b61231a565b34801561093857600080fd5b5061047761094736600461423c565b6123a1565b34801561095857600080fd5b506104126123d7565b34801561096d57600080fd5b5061047761097c36600461443c565b6123e6565b34801561098d57600080fd5b5061047761099c366004613f28565b6123f1565b3480156109ad57600080fd5b506105076109bc366004613e36565b612424565b3480156109cd57600080fd5b506104776109dc36600461446a565b612829565b3480156109ed57600080fd5b506104126109fc366004613e36565b612861565b348015610a0d57600080fd5b50610477610a1c3660046144e9565b6129e9565b348015610a2d57600080fd5b50610477610a3c366004614535565b612a33565b610477610a4f366004614561565b612a5e565b348015610a6057600080fd5b5060175461043f906001600160a01b031681565b348015610a8057600080fd5b506103e8610a8f366004613f28565b601f6020526000908152604090205460ff1681565b348015610ab057600080fd5b506104d9600e5481565b610477610ac83660046145e8565b612d51565b348015610ad957600080fd5b50610477610ae8366004613f28565b612e27565b348015610af957600080fd5b50610477610b0836600461460a565b612e73565b348015610b1957600080fd5b506103e8610b283660046143f5565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b348015610b6257600080fd5b5060165461043f906001600160a01b031681565b348015610b8257600080fd5b50610477610b91366004613f28565b612ed7565b348015610ba257600080fd5b506104d960115481565b60006001600160e01b0319821663780e9d6360e01b1480610bd15750610bd182612f4d565b92915050565b606060008054610be69061464e565b80601f0160208091040260200160405190810160405280929190818152602001828054610c129061464e565b8015610c5f5780601f10610c3457610100808354040283529160200191610c5f565b820191906000526020600020905b815481529060010190602001808311610c4257829003601f168201915b5050505050905090565b6000610c7482612f9d565b506000908152600460205260409020546001600160a01b031690565b6000610c9b82611c0b565b9050806001600160a01b0316836001600160a01b031603610d0d5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b0382161480610d295750610d298133610b28565b610d9b5760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c0000006064820152608401610d04565b610da58383612ffc565b505050565b601e60205260009081526040902080548190610dc59061464e565b80601f0160208091040260200160405190810160405280929190818152602001828054610df19061464e565b8015610e3e5780601f10610e1357610100808354040283529160200191610e3e565b820191906000526020600020905b815481529060010190602001808311610e2157829003601f168201915b505050505090806001015490806002018054610e599061464e565b80601f0160208091040260200160405190810160405280929190818152602001828054610e859061464e565b8015610ed25780601f10610ea757610100808354040283529160200191610ed2565b820191906000526020600020905b815481529060010190602001808311610eb557829003601f168201915b505050505090806003018054610ee79061464e565b80601f0160208091040260200160405190810160405280929190818152602001828054610f139061464e565b8015610f605780601f10610f3557610100808354040283529160200191610f60565b820191906000526020600020905b815481529060010190602001808311610f4357829003601f168201915b505050505090806004018054610f759061464e565b80601f0160208091040260200160405190810160405280929190818152602001828054610fa19061464e565b8015610fee5780601f10610fc357610100808354040283529160200191610fee565b820191906000526020600020905b815481529060010190602001808311610fd157829003601f168201915b5050505050908060050180546110039061464e565b80601f016020809104026020016040519081016040528092919081815260200182805461102f9061464e565b801561107c5780601f106110515761010080835404028352916020019161107c565b820191906000526020600020905b81548152906001019060200180831161105f57829003601f168201915b5050505050908060060180546110919061464e565b80601f01602080910402602001604051908101604052809291908181526020018280546110bd9061464e565b801561110a5780601f106110df5761010080835404028352916020019161110a565b820191906000526020600020905b8154815290600101906020018083116110ed57829003601f168201915b5050505050908060070154908060080154905089565b6060600061112d83611db3565b90506000816001600160401b0381111561114957611149614191565b60405190808252806020026020018201604052801561118257816020015b61116f613d54565b8152602001906001900390816111675790505b50905060005b8281101561157857600061119c86836116f7565b9050601e6000828152602001908152602001600020604051806101200160405290816000820180546111cd9061464e565b80601f01602080910402602001604051908101604052809291908181526020018280546111f99061464e565b80156112465780601f1061121b57610100808354040283529160200191611246565b820191906000526020600020905b81548152906001019060200180831161122957829003601f168201915b50505050508152602001600182015481526020016002820180546112699061464e565b80601f01602080910402602001604051908101604052809291908181526020018280546112959061464e565b80156112e25780601f106112b7576101008083540402835291602001916112e2565b820191906000526020600020905b8154815290600101906020018083116112c557829003601f168201915b505050505081526020016003820180546112fb9061464e565b80601f01602080910402602001604051908101604052809291908181526020018280546113279061464e565b80156113745780601f1061134957610100808354040283529160200191611374565b820191906000526020600020905b81548152906001019060200180831161135757829003601f168201915b5050505050815260200160048201805461138d9061464e565b80601f01602080910402602001604051908101604052809291908181526020018280546113b99061464e565b80156114065780601f106113db57610100808354040283529160200191611406565b820191906000526020600020905b8154815290600101906020018083116113e957829003601f168201915b5050505050815260200160058201805461141f9061464e565b80601f016020809104026020016040519081016040528092919081815260200182805461144b9061464e565b80156114985780601f1061146d57610100808354040283529160200191611498565b820191906000526020600020905b81548152906001019060200180831161147b57829003601f168201915b505050505081526020016006820180546114b19061464e565b80601f01602080910402602001604051908101604052809291908181526020018280546114dd9061464e565b801561152a5780601f106114ff5761010080835404028352916020019161152a565b820191906000526020600020905b81548152906001019060200180831161150d57829003601f168201915b505050505081526020016007820154815260200160088201548152505083838151811061155957611559614688565b6020026020010181905250508080611570906146b4565b915050611188565b509392505050565b601b805461158d9061464e565b80601f01602080910402602001604051908101604052809291908181526020018280546115b99061464e565b80156116065780601f106115db57610100808354040283529160200191611606565b820191906000526020600020905b8154815290600101906020018083116115e957829003601f168201915b505050505081565b611618338261306a565b6116345760405162461bcd60e51b8152600401610d04906146cd565b610da58383836130e9565b601d818154811061164f57600080fd5b6000918252602090912001546001600160a01b0316905081565b6016546001600160a01b031633146116935760405162461bcd60e51b8152600401610d049061471a565b61169b61325a565b60006116af600a546001600160a01b031690565b6040519091506001600160a01b0382169083156108fc029084906000818181858888f193505050501580156116e8573d6000803e3d6000fd5b50506116f46001600b55565b50565b600061170283611db3565b82106117645760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610d04565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b606061179761325a565b60225482146117b85760405162461bcd60e51b8152600401610d0490614743565b6000836001600160401b038111156117d2576117d2614191565b60405190808252806020026020018201604052801561180557816020015b60608152602001906001900390816117f05790505b50905060005b848110156118f7576021600087878481811061182957611829614688565b90506020020135815260200190815260200160002080546118499061464e565b80601f01602080910402602001604051908101604052809291908181526020018280546118759061464e565b80156118c25780601f10611897576101008083540402835291602001916118c2565b820191906000526020600020905b8154815290600101906020018083116118a557829003601f168201915b50505050508282815181106118d9576118d9614688565b602002602001018190525080806118ef906146b4565b91505061180b565b5090506119046001600b55565b9392505050565b6016546001600160a01b031633146119355760405162461bcd60e51b8152600401610d049061471a565b601c54610100900460ff1661197a5760405162461bcd60e51b815260206004820152600b60248201526a2737ba103830bab9b2b21760a91b6044820152606401610d04565b601c805461ff00191690556040517f7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b3390600090a1565b6016546001600160a01b031633146119da5760405162461bcd60e51b8152600401610d049061471a565b601b6119e682826147c0565b5050565b610da583838360405180602001604052806000815250612829565b6000611a1060085490565b8210611a735760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610d04565b60088281548110611a8657611a86614688565b90600052602060002001549050919050565b6016546001600160a01b03163314611ac25760405162461bcd60e51b8152600401610d049061471a565b60005b81811015610da5576000601f6000858585818110611ae557611ae5614688565b9050602002016020810190611afa9190613f28565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905580611b2c816146b4565b915050611ac5565b6016546001600160a01b03163314611b5e5760405162461bcd60e51b8152600401610d049061471a565b601c5460ff16611b7757601c805460ff19166001179055565b601c805460ff191690555b565b6016546001600160a01b03163314611bae5760405162461bcd60e51b8152600401610d049061471a565b60005b81811015610da557600160206000858585818110611bd157611bd1614688565b60209081029290920135835250810191909152604001600020805460ff191691151591909117905580611c03816146b4565b915050611bb1565b6000818152600260205260408120546001600160a01b031680610bd15760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610d04565b601a805461158d9061464e565b6016546001600160a01b03163314611ca25760405162461bcd60e51b8152600401610d049061471a565b600082118015611cb457506008548211155b611cd05760405162461bcd60e51b8152600401610d049061487f565b60ff831615611d05576000828152601e602052604081206007018054839290611cfa9084906148a2565b90915550610da59050565b6000918252601e60205260409091206007015550565b6016546001600160a01b03163314611d455760405162461bcd60e51b8152600401610d049061471a565b6016546001600160a01b03163314611d915760405162461bcd60e51b815260206004820152600f60248201526e2737ba1020baba3437b934bd32b21760891b6044820152606401610d04565b601780546001600160a01b0319166001600160a01b0392909216919091179055565b60006001600160a01b038216611e1d5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b6064820152608401610d04565b506001600160a01b031660009081526003602052604090205490565b611e416132b3565b611b82600061330d565b6016546001600160a01b03163314611e755760405162461bcd60e51b8152600401610d049061471a565b80604051602001611e8691906148b5565b60408051601f19818403018152919052805160209091012060225550565b6016546001600160a01b03163314611ece5760405162461bcd60e51b8152600401610d049061471a565b60005b81811015610da5576001601f6000858585818110611ef157611ef1614688565b9050602002016020810190611f069190613f28565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905580611f38816146b4565b915050611ed1565b6016546001600160a01b03163314611f6a5760405162461bcd60e51b8152600401610d049061471a565b601c54610100900460ff1615611fb45760405162461bcd60e51b815260206004820152600f60248201526e20b63932b0b23c903830bab9b2b21760891b6044820152606401610d04565b601c805461ff0019166101001790556040517f6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff62590600090a1565b611ff661325a565b60225481146120175760405162461bcd60e51b8152600401610d0490614743565b61202088611c0b565b6001600160a01b0316336001600160a01b0316146120725760405162461bcd60e51b815260206004820152600f60248201526e2737ba102cb7bab910213930b4b71760891b6044820152606401610d04565b60008751116120ad5760405162461bcd60e51b81526020600482015260076024820152664e6f204e616d6560c81b6044820152606401610d04565b6008548811156120cf5760405162461bcd60e51b8152600401610d049061487f565b600088815260208052604090205460ff161561211b5760405162461bcd60e51b815260206004820152600b60248201526a109b1858dadb1a5cdd195960aa1b6044820152606401610d04565b6000888152601e6020526040902061213388826147c0565b506000888152601e6020526040902060020161214f87826147c0565b506000888152601e6020526040902060030161216b86826147c0565b506000888152601e6020526040902060040161218785826147c0565b506000888152601e602052604090206005016121a384826147c0565b506000888152601e602052604090206006016121bf83826147c0565b506000888152601e602052604081206008018054916121dd836146b4565b919050555087866040516121f191906148b5565b604051908190038120907fe439f18246d9b2df23c39c22a64ca5b3e50c00ca696af39fe15cbf67294853ed90600090a361222b6001600b55565b5050505050505050565b6016546001600160a01b0316331461225f5760405162461bcd60e51b8152600401610d049061471a565b60408051602081019091526001600160a01b039182168152601d805460018101825560009190915290517f6d4407e7be21f808e6509aa9fa9143369579dd7d760fe20a2c09680fc146134f90910180546001600160a01b03191691909216179055565b6016546001600160a01b031633146122ec5760405162461bcd60e51b8152600401610d049061471a565b601880546001600160a01b039384166001600160a01b03199182161790915560198054929093169116179055565b6016546001600160a01b031633146123445760405162461bcd60e51b8152600401610d049061471a565b60005b81811015610da55760006020600085858581811061236757612367614688565b60209081029290920135835250810191909152604001600020805460ff191691151591909117905580612399816146b4565b915050612347565b6016546001600160a01b031633146123cb5760405162461bcd60e51b8152600401610d049061471a565b601a6119e682826147c0565b606060018054610be69061464e565b6119e633838361335f565b6016546001600160a01b0316331461241b5760405162461bcd60e51b8152600401610d049061471a565b6116f481612ed7565b60408051600180825281830190925260609160009190816020015b612447613d54565b81526020019060019003908161243f579050509050601e60008481526020019081526020016000206040518061012001604052908160008201805461248b9061464e565b80601f01602080910402602001604051908101604052809291908181526020018280546124b79061464e565b80156125045780601f106124d957610100808354040283529160200191612504565b820191906000526020600020905b8154815290600101906020018083116124e757829003601f168201915b50505050508152602001600182015481526020016002820180546125279061464e565b80601f01602080910402602001604051908101604052809291908181526020018280546125539061464e565b80156125a05780601f10612575576101008083540402835291602001916125a0565b820191906000526020600020905b81548152906001019060200180831161258357829003601f168201915b505050505081526020016003820180546125b99061464e565b80601f01602080910402602001604051908101604052809291908181526020018280546125e59061464e565b80156126325780601f1061260757610100808354040283529160200191612632565b820191906000526020600020905b81548152906001019060200180831161261557829003601f168201915b5050505050815260200160048201805461264b9061464e565b80601f01602080910402602001604051908101604052809291908181526020018280546126779061464e565b80156126c45780601f10612699576101008083540402835291602001916126c4565b820191906000526020600020905b8154815290600101906020018083116126a757829003601f168201915b505050505081526020016005820180546126dd9061464e565b80601f01602080910402602001604051908101604052809291908181526020018280546127099061464e565b80156127565780601f1061272b57610100808354040283529160200191612756565b820191906000526020600020905b81548152906001019060200180831161273957829003601f168201915b5050505050815260200160068201805461276f9061464e565b80601f016020809104026020016040519081016040528092919081815260200182805461279b9061464e565b80156127e85780601f106127bd576101008083540402835291602001916127e8565b820191906000526020600020905b8154815290600101906020018083116127cb57829003601f168201915b50505050508152602001600782015481526020016008820154815250508160008151811061281857612818614688565b602090810291909101015292915050565b612833338361306a565b61284f5760405162461bcd60e51b8152600401610d04906146cd565b61285b8484848461342d565b50505050565b606061286c60085490565b82111561288b5760405162461bcd60e51b8152600401610d049061487f565b6000601a805461289a9061464e565b80601f01602080910402602001604051908101604052809291908181526020018280546128c69061464e565b80156129135780601f106128e857610100808354040283529160200191612913565b820191906000526020600020905b8154815290600101906020018083116128f657829003601f168201915b5050506000868152602080526040902054929350505060ff161561297657600081511161294f5760405180602001604052806000815250611904565b8060405160200161296091906148d1565b6040516020818303038152906040529392505050565b601c5460ff16156129ba57600081511161299f5760405180602001604052806000815250611904565b806129a984613460565b60405160200161296092919061490e565b60008151116129d85760405180602001604052806000815250611904565b80604051602001612960919061494d565b6016546001600160a01b03163314612a135760405162461bcd60e51b8152600401610d049061471a565b600e96909655601293909355601355600f91909155601455601055601555565b6022548114612a545760405162461bcd60e51b8152600401610d0490614743565b610da583836134f2565b612a6661325a565b601c54610100900460ff1615612ab05760405162461bcd60e51b815260206004820152600f60248201526e14185d5cd9590810dbdb9d1c9858dd608a1b6044820152606401610d04565b6000835111612aeb5760405162461bcd60e51b81526020600482015260076024820152664e6f204e616d6560c81b6044820152606401610d04565b336000908152601f602052604090205460ff16612ba957601554612b0e33611db3565b10612b4c5760405162461bcd60e51b815260206004820152600e60248201526d139bdd08105d5d1a1bdc9a5e995960921b6044820152606401610d04565b600e543414612b905760405162461bcd60e51b815260206004820152601060248201526f496e73756666696369656e742066656560801b6044820152606401610d04565b612b9b60105461367f565b612ba96010546014546134f2565b6000600c546001612bba91906148a2565b604080516101208101825286815260208082018490528183018790526060820186905282518082018452600080825260808401919091528351808301855281815260a08401528351808301855281815260c084015260e083018190526101008301819052848152601e90915291909120815192935090918190612c3d90826147c0565b506020820151600182015560408201516002820190612c5c90826147c0565b5060608201516003820190612c7190826147c0565b5060808201516004820190612c8690826147c0565b5060a08201516005820190612c9b90826147c0565b5060c08201516006820190612cb090826147c0565b5060e0820151600782015561010090910151600890910155612cd2338261371e565b604080516020808201835260008083528481529080528290209051815460ff19169015151790555181907f13e9cae7f0f7900043c7e473651e8447f9cfa214e44fb5bbe14b0a2439b4d37f90612d29908790613e23565b60405180910390a2600c8054906000612d41836146b4565b919050555050610da56001600b55565b6016546001600160a01b03163314612d7b5760405162461bcd60e51b8152600401610d049061471a565b612d8361325a565b6000601d8381548110612d9857612d98614688565b6000918252602090912001805460405163a9059cbb60e01b8152336004820152602481018590529192506001600160a01b031690819063a9059cbb906044016020604051808303816000875af1158015612df6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e1a9190614984565b5050506119e66001600b55565b6016546001600160a01b03163314612e515760405162461bcd60e51b8152600401610d049061471a565b601680546001600160a01b0319166001600160a01b0392909216919091179055565b612e7b61325a565b6022548114612e9c5760405162461bcd60e51b8152600401610d0490614743565b600d546000908152602160205260409020612eb783826147c0565b50600d8054906000612ec8836146b4565b91905055506119e66001600b55565b612edf6132b3565b6001600160a01b038116612f445760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610d04565b6116f48161330d565b60006001600160e01b031982166380ac58cd60e01b1480612f7e57506001600160e01b03198216635b5e139f60e01b145b80610bd157506301ffc9a760e01b6001600160e01b0319831614610bd1565b6000818152600260205260409020546001600160a01b03166116f45760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610d04565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061303182611c0b565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008061307683611c0b565b9050806001600160a01b0316846001600160a01b031614806130bd57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b806130e15750836001600160a01b03166130d684610c69565b6001600160a01b0316145b949350505050565b826001600160a01b03166130fc82611c0b565b6001600160a01b0316146131225760405162461bcd60e51b8152600401610d04906149a1565b6001600160a01b0382166131845760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610d04565b61319183838360016138b7565b826001600160a01b03166131a482611c0b565b6001600160a01b0316146131ca5760405162461bcd60e51b8152600401610d04906149a1565b600081815260046020908152604080832080546001600160a01b03199081169091556001600160a01b0387811680865260038552838620805460001901905590871680865283862080546001019055868652600290945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6002600b54036132ac5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610d04565b6002600b55565b600a546001600160a01b03163314611b825760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610d04565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b0316036133c05760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610d04565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6134388484846130e9565b613444848484846139eb565b61285b5760405162461bcd60e51b8152600401610d04906149e6565b6060600061346d83613aec565b60010190506000816001600160401b0381111561348c5761348c614191565b6040519080825280601f01601f1916602001820160405280156134b6576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a85049450846134c057509392505050565b600060646135008385614a38565b61350a9190614a4f565b9050600060646012548361351e9190614a38565b6135289190614a4f565b9050600060646013548461353c9190614a38565b6135469190614a4f565b90506000601d600f548154811061355f5761355f614688565b6000918252602090912001805460195460405163a9059cbb60e01b81526001600160a01b039182166004820152602481018790529293501690819063a9059cbb906044016020604051808303816000875af11580156135c2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906135e69190614984565b5060185460405163a9059cbb60e01b81526001600160a01b039182166004820152602481018590529082169063a9059cbb906044016020604051808303816000875af115801561363a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061365e9190614984565b50836011600082825461367191906148a2565b909155505050505050505050565b6000601d600f548154811061369657613696614688565b600091825260209091200180546040516323b872dd60e01b8152336004820152306024820152604481018590529192506001600160a01b03169081906323b872dd906064016020604051808303816000875af11580156136fa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061285b9190614984565b6001600160a01b0382166137745760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610d04565b6000818152600260205260409020546001600160a01b0316156137d95760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610d04565b6137e76000838360016138b7565b6000818152600260205260409020546001600160a01b03161561384c5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610d04565b6001600160a01b038216600081815260036020908152604080832080546001019055848352600290915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60018111156139265760405162461bcd60e51b815260206004820152603560248201527f455243373231456e756d657261626c653a20636f6e7365637574697665207472604482015274185b9cd9995c9cc81b9bdd081cdd5c1c1bdc9d1959605a1b6064820152608401610d04565b816001600160a01b0385166139825761397d81600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b6139a5565b836001600160a01b0316856001600160a01b0316146139a5576139a58582613bc4565b6001600160a01b0384166139c1576139bc81613c61565b6139e4565b846001600160a01b0316846001600160a01b0316146139e4576139e48482613d10565b5050505050565b60006001600160a01b0384163b15613ae157604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290613a2f903390899088908890600401614a71565b6020604051808303816000875af1925050508015613a6a575060408051601f3d908101601f19168201909252613a6791810190614aae565b60015b613ac7573d808015613a98576040519150601f19603f3d011682016040523d82523d6000602084013e613a9d565b606091505b508051600003613abf5760405162461bcd60e51b8152600401610d04906149e6565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506130e1565b506001949350505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b8310613b2b5772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310613b57576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310613b7557662386f26fc10000830492506010015b6305f5e1008310613b8d576305f5e100830492506008015b6127108310613ba157612710830492506004015b60648310613bb3576064830492506002015b600a8310610bd15760010192915050565b60006001613bd184611db3565b613bdb9190614acb565b600083815260076020526040902054909150808214613c2e576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090613c7390600190614acb565b60008381526009602052604081205460088054939450909284908110613c9b57613c9b614688565b906000526020600020015490508060088381548110613cbc57613cbc614688565b6000918252602080832090910192909255828152600990915260408082208490558582528120556008805480613cf457613cf4614ade565b6001900381819060005260206000200160009055905550505050565b6000613d1b83611db3565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6040518061012001604052806060815260200160008152602001606081526020016060815260200160608152602001606081526020016060815260200160008152602001600081525090565b6001600160e01b0319811681146116f457600080fd5b600060208284031215613dc857600080fd5b813561190481613da0565b60005b83811015613dee578181015183820152602001613dd6565b50506000910152565b60008151808452613e0f816020860160208601613dd3565b601f01601f19169290920160200192915050565b6020815260006119046020830184613df7565b600060208284031215613e4857600080fd5b5035919050565b6001600160a01b03811681146116f457600080fd5b60008060408385031215613e7757600080fd5b8235613e8281613e4f565b946020939093013593505050565b6000610120808352613ea48184018d613df7565b90508a60208401528281036040840152613ebe818b613df7565b90508281036060840152613ed2818a613df7565b90508281036080840152613ee68189613df7565b905082810360a0840152613efa8188613df7565b905082810360c0840152613f0e8187613df7565b60e084019590955250506101000152979650505050505050565b600060208284031215613f3a57600080fd5b813561190481613e4f565b60006020808301818452808551808352604092508286019150828160051b87010184880160005b8381101561404a57603f1989840301855281516101208151818652613f9382870182613df7565b91505088820151898601528782015185820389870152613fb38282613df7565b91505060608083015186830382880152613fcd8382613df7565b9250505060808083015186830382880152613fe88382613df7565b9250505060a080830151868303828801526140038382613df7565b9250505060c0808301518683038288015261401e8382613df7565b60e085810151908901526101009485015194909701939093525050509386019390860190600101613f6c565b509098975050505050505050565b60008060006060848603121561406d57600080fd5b833561407881613e4f565b9250602084013561408881613e4f565b929592945050506040919091013590565b60008083601f8401126140ab57600080fd5b5081356001600160401b038111156140c257600080fd5b6020830191508360208260051b85010111156140dd57600080fd5b9250929050565b6000806000604084860312156140f957600080fd5b83356001600160401b0381111561410f57600080fd5b61411b86828701614099565b909790965060209590950135949350505050565b6000602080830181845280855180835260408601915060408160051b870101925083870160005b8281101561418457603f19888603018452614172858351613df7565b94509285019290850190600101614156565b5092979650505050505050565b634e487b7160e01b600052604160045260246000fd5b60006001600160401b03808411156141c1576141c1614191565b604051601f8501601f19908116603f011681019082821181831017156141e9576141e9614191565b8160405280935085815286868601111561420257600080fd5b858560208301376000602087830101525050509392505050565b600082601f83011261422d57600080fd5b611904838335602085016141a7565b60006020828403121561424e57600080fd5b81356001600160401b0381111561426457600080fd5b6130e18482850161421c565b6000806020838503121561428357600080fd5b82356001600160401b0381111561429957600080fd5b6142a585828601614099565b90969095509350505050565b6000806000606084860312156142c657600080fd5b833560ff811681146142d757600080fd5b95602085013595506040909401359392505050565b600080600080600080600080610100898b03121561430957600080fd5b8835975060208901356001600160401b038082111561432757600080fd5b6143338c838d0161421c565b985060408b013591508082111561434957600080fd5b6143558c838d0161421c565b975060608b013591508082111561436b57600080fd5b6143778c838d0161421c565b965060808b013591508082111561438d57600080fd5b6143998c838d0161421c565b955060a08b01359150808211156143af57600080fd5b6143bb8c838d0161421c565b945060c08b01359150808211156143d157600080fd5b506143de8b828c0161421c565b92505060e089013590509295985092959890939650565b6000806040838503121561440857600080fd5b823561441381613e4f565b9150602083013561442381613e4f565b809150509250929050565b80151581146116f457600080fd5b6000806040838503121561444f57600080fd5b823561445a81613e4f565b915060208301356144238161442e565b6000806000806080858703121561448057600080fd5b843561448b81613e4f565b9350602085013561449b81613e4f565b92506040850135915060608501356001600160401b038111156144bd57600080fd5b8501601f810187136144ce57600080fd5b6144dd878235602084016141a7565b91505092959194509250565b600080600080600080600060e0888a03121561450457600080fd5b505085359760208701359750604087013596606081013596506080810135955060a0810135945060c0013592509050565b60008060006060848603121561454a57600080fd5b505081359360208301359350604090920135919050565b60008060006060848603121561457657600080fd5b83356001600160401b038082111561458d57600080fd5b6145998783880161421c565b945060208601359150808211156145af57600080fd5b6145bb8783880161421c565b935060408601359150808211156145d157600080fd5b506145de8682870161421c565b9150509250925092565b600080604083850312156145fb57600080fd5b50508035926020909101359150565b6000806040838503121561461d57600080fd5b82356001600160401b0381111561463357600080fd5b61463f8582860161421c565b95602094909401359450505050565b600181811c9082168061466257607f821691505b60208210810361468257634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000600182016146c6576146c661469e565b5060010190565b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b6020808252600f908201526e2737ba1030baba3437b934bd32b21760891b604082015260600190565b602080825260159082015274125b9d985b1a59081a185cda081c1c9bdd9a591959605a1b604082015260600190565b601f821115610da557600081815260208120601f850160051c810160208610156147995750805b601f850160051c820191505b818110156147b8578281556001016147a5565b505050505050565b81516001600160401b038111156147d9576147d9614191565b6147ed816147e7845461464e565b84614772565b602080601f831160018114614822576000841561480a5750858301515b600019600386901b1c1916600185901b1785556147b8565b600085815260208120601f198616915b8281101561485157888601518255948401946001909101908401614832565b508582101561486f5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b602080825260099082015268139bdd08119bdd5b9960ba1b604082015260600190565b80820180821115610bd157610bd161469e565b600082516148c7818460208701613dd3565b9190910192915050565b600082516148e3818460208701613dd3565b6a189b1858dadb1a5cdd195960aa1b92019182525064173539b7b760d91b600b820152601001919050565b60008351614920818460208801613dd3565b835190830190614934818360208801613dd3565b64173539b7b760d91b9101908152600501949350505050565b6000825161495f818460208701613dd3565b64616c70686160d81b92019182525064173539b7b760d91b6005820152600a01919050565b60006020828403121561499657600080fd5b81516119048161442e565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b8082028115828204841417610bd157610bd161469e565b600082614a6c57634e487b7160e01b600052601260045260246000fd5b500490565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090614aa490830184613df7565b9695505050505050565b600060208284031215614ac057600080fd5b815161190481613da0565b81810381811115610bd157610bd161469e565b634e487b7160e01b600052603160045260246000fdfea264697066735822122052de929b834ca1595a4a53527a73a2c6e87bfceae664273b37a742848276a35c64736f6c63430008130033000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000f6d80d96077507f89781cfcfca46836b310d603b0000000000000000000000006f92182a22d76177c98589d65275bb104c81c4e50000000000000000000000000000000000000000000000000000000000000009422e522e412e492e4e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006425241494e530000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106103c35760003560e01c806370a08231116101f2578063b27073431161010d578063ddca3f43116100a0578063e985e9c51161006f578063e985e9c514610b0d578063ee11390114610b56578063f2fde38b14610b76578063f49ae8be14610b9657600080fd5b8063ddca3f4314610aa4578063e00e8bf314610aba578063e73a914c14610acd578063e756b34314610aed57600080fd5b8063ce13763e116100dc578063ce13763e14610a21578063d645ddf614610a41578063d6e182ff14610a54578063d936547e14610a7457600080fd5b8063b2707343146109a1578063b88d4fde146109c1578063c87b56dd146109e1578063cda7d32114610a0157600080fd5b80638c82ce3f11610185578063931688cb11610154578063931688cb1461092c57806395d89b411461094c578063a22cb46514610961578063a6f9dae11461098157600080fd5b80638c82ce3f146108b85780638da5cb5b146108ce57806390107afe146108ec57806392201a4a1461090c57600080fd5b80637f649783116101c15780637f649783146108435780638456cb5914610863578063849c2da9146108785780638ab234b61461089857600080fd5b806370a08231146107ce57806370d5ae05146107ee578063715018a61461080e5780637ed6c9261461082357600080fd5b80633f4ba83a116102e25780635f637025116102755780636c2c0d5c116102445780636c2c0d5c146107625780636e9e57a7146107825780636ec6bfe2146107985780637017b8ed146107b857600080fd5b80635f637025146106f75780636352211e1461070d578063638b1b141461072d5780636c0360eb1461074d57600080fd5b8063548db174116102b1578063548db1741461068357806355aeba64146106a35780635c975abb146106b85780635c983aec146106d757600080fd5b80633f4ba83a1461060e5780633fe14e031461062357806342842e0e146106435780634f6ccce71461066357600080fd5b806320b2af521161035a578063285aaa2011610329578063285aaa20146105985780632e1a7d4d146105ae5780632f745c59146105c157806335f04685146105e157600080fd5b806320b2af521461051457806323b872dd1461052957806323db4c911461054957806326c91cad1461057857600080fd5b8063146a775c11610396578063146a775c1461047957806316533ef51461049357806318160ddd146104c85780631b22402c146104e757600080fd5b806301ffc9a7146103c857806306fdde03146103fd578063081812fc1461041f578063095ea7b314610457575b600080fd5b3480156103d457600080fd5b506103e86103e3366004613db6565b610bac565b60405190151581526020015b60405180910390f35b34801561040957600080fd5b50610412610bd7565b6040516103f49190613e23565b34801561042b57600080fd5b5061043f61043a366004613e36565b610c69565b6040516001600160a01b0390911681526020016103f4565b34801561046357600080fd5b50610477610472366004613e64565b610c90565b005b34801561048557600080fd5b50601c546103e89060ff1681565b34801561049f57600080fd5b506104b36104ae366004613e36565b610daa565b6040516103f499989796959493929190613e90565b3480156104d457600080fd5b506008545b6040519081526020016103f4565b3480156104f357600080fd5b50610507610502366004613f28565b611120565b6040516103f49190613f45565b34801561052057600080fd5b50610412611580565b34801561053557600080fd5b50610477610544366004614058565b61160e565b34801561055557600080fd5b506103e8610564366004613e36565b602080526000908152604090205460ff1681565b34801561058457600080fd5b5061043f610593366004613e36565b61163f565b3480156105a457600080fd5b506104d960145481565b6104776105bc366004613e36565b611669565b3480156105cd57600080fd5b506104d96105dc366004613e64565b6116f7565b3480156105ed57600080fd5b506106016105fc3660046140e4565b61178d565b6040516103f4919061412f565b34801561061a57600080fd5b5061047761190b565b34801561062f57600080fd5b5061047761063e36600461423c565b6119b0565b34801561064f57600080fd5b5061047761065e366004614058565b6119ea565b34801561066f57600080fd5b506104d961067e366004613e36565b611a05565b34801561068f57600080fd5b5061047761069e366004614270565b611a98565b3480156106af57600080fd5b50610477611b34565b3480156106c457600080fd5b50601c546103e890610100900460ff1681565b3480156106e357600080fd5b506104776106f2366004614270565b611b84565b34801561070357600080fd5b506104d960125481565b34801561071957600080fd5b5061043f610728366004613e36565b611c0b565b34801561073957600080fd5b5060185461043f906001600160a01b031681565b34801561075957600080fd5b50610412611c6b565b34801561076e57600080fd5b5061047761077d3660046142b1565b611c78565b34801561078e57600080fd5b506104d960105481565b3480156107a457600080fd5b506104776107b3366004613f28565b611d1b565b3480156107c457600080fd5b506104d9600f5481565b3480156107da57600080fd5b506104d96107e9366004613f28565b611db3565b3480156107fa57600080fd5b5060195461043f906001600160a01b031681565b34801561081a57600080fd5b50610477611e39565b34801561082f57600080fd5b5061047761083e36600461423c565b611e4b565b34801561084f57600080fd5b5061047761085e366004614270565b611ea4565b34801561086f57600080fd5b50610477611f40565b34801561088457600080fd5b506104776108933660046142ec565b611fee565b3480156108a457600080fd5b506104776108b3366004613f28565b612235565b3480156108c457600080fd5b506104d960135481565b3480156108da57600080fd5b50600a546001600160a01b031661043f565b3480156108f857600080fd5b506104776109073660046143f5565b6122c2565b34801561091857600080fd5b50610477610927366004614270565b61231a565b34801561093857600080fd5b5061047761094736600461423c565b6123a1565b34801561095857600080fd5b506104126123d7565b34801561096d57600080fd5b5061047761097c36600461443c565b6123e6565b34801561098d57600080fd5b5061047761099c366004613f28565b6123f1565b3480156109ad57600080fd5b506105076109bc366004613e36565b612424565b3480156109cd57600080fd5b506104776109dc36600461446a565b612829565b3480156109ed57600080fd5b506104126109fc366004613e36565b612861565b348015610a0d57600080fd5b50610477610a1c3660046144e9565b6129e9565b348015610a2d57600080fd5b50610477610a3c366004614535565b612a33565b610477610a4f366004614561565b612a5e565b348015610a6057600080fd5b5060175461043f906001600160a01b031681565b348015610a8057600080fd5b506103e8610a8f366004613f28565b601f6020526000908152604090205460ff1681565b348015610ab057600080fd5b506104d9600e5481565b610477610ac83660046145e8565b612d51565b348015610ad957600080fd5b50610477610ae8366004613f28565b612e27565b348015610af957600080fd5b50610477610b0836600461460a565b612e73565b348015610b1957600080fd5b506103e8610b283660046143f5565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b348015610b6257600080fd5b5060165461043f906001600160a01b031681565b348015610b8257600080fd5b50610477610b91366004613f28565b612ed7565b348015610ba257600080fd5b506104d960115481565b60006001600160e01b0319821663780e9d6360e01b1480610bd15750610bd182612f4d565b92915050565b606060008054610be69061464e565b80601f0160208091040260200160405190810160405280929190818152602001828054610c129061464e565b8015610c5f5780601f10610c3457610100808354040283529160200191610c5f565b820191906000526020600020905b815481529060010190602001808311610c4257829003601f168201915b5050505050905090565b6000610c7482612f9d565b506000908152600460205260409020546001600160a01b031690565b6000610c9b82611c0b565b9050806001600160a01b0316836001600160a01b031603610d0d5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b0382161480610d295750610d298133610b28565b610d9b5760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c0000006064820152608401610d04565b610da58383612ffc565b505050565b601e60205260009081526040902080548190610dc59061464e565b80601f0160208091040260200160405190810160405280929190818152602001828054610df19061464e565b8015610e3e5780601f10610e1357610100808354040283529160200191610e3e565b820191906000526020600020905b815481529060010190602001808311610e2157829003601f168201915b505050505090806001015490806002018054610e599061464e565b80601f0160208091040260200160405190810160405280929190818152602001828054610e859061464e565b8015610ed25780601f10610ea757610100808354040283529160200191610ed2565b820191906000526020600020905b815481529060010190602001808311610eb557829003601f168201915b505050505090806003018054610ee79061464e565b80601f0160208091040260200160405190810160405280929190818152602001828054610f139061464e565b8015610f605780601f10610f3557610100808354040283529160200191610f60565b820191906000526020600020905b815481529060010190602001808311610f4357829003601f168201915b505050505090806004018054610f759061464e565b80601f0160208091040260200160405190810160405280929190818152602001828054610fa19061464e565b8015610fee5780601f10610fc357610100808354040283529160200191610fee565b820191906000526020600020905b815481529060010190602001808311610fd157829003601f168201915b5050505050908060050180546110039061464e565b80601f016020809104026020016040519081016040528092919081815260200182805461102f9061464e565b801561107c5780601f106110515761010080835404028352916020019161107c565b820191906000526020600020905b81548152906001019060200180831161105f57829003601f168201915b5050505050908060060180546110919061464e565b80601f01602080910402602001604051908101604052809291908181526020018280546110bd9061464e565b801561110a5780601f106110df5761010080835404028352916020019161110a565b820191906000526020600020905b8154815290600101906020018083116110ed57829003601f168201915b5050505050908060070154908060080154905089565b6060600061112d83611db3565b90506000816001600160401b0381111561114957611149614191565b60405190808252806020026020018201604052801561118257816020015b61116f613d54565b8152602001906001900390816111675790505b50905060005b8281101561157857600061119c86836116f7565b9050601e6000828152602001908152602001600020604051806101200160405290816000820180546111cd9061464e565b80601f01602080910402602001604051908101604052809291908181526020018280546111f99061464e565b80156112465780601f1061121b57610100808354040283529160200191611246565b820191906000526020600020905b81548152906001019060200180831161122957829003601f168201915b50505050508152602001600182015481526020016002820180546112699061464e565b80601f01602080910402602001604051908101604052809291908181526020018280546112959061464e565b80156112e25780601f106112b7576101008083540402835291602001916112e2565b820191906000526020600020905b8154815290600101906020018083116112c557829003601f168201915b505050505081526020016003820180546112fb9061464e565b80601f01602080910402602001604051908101604052809291908181526020018280546113279061464e565b80156113745780601f1061134957610100808354040283529160200191611374565b820191906000526020600020905b81548152906001019060200180831161135757829003601f168201915b5050505050815260200160048201805461138d9061464e565b80601f01602080910402602001604051908101604052809291908181526020018280546113b99061464e565b80156114065780601f106113db57610100808354040283529160200191611406565b820191906000526020600020905b8154815290600101906020018083116113e957829003601f168201915b5050505050815260200160058201805461141f9061464e565b80601f016020809104026020016040519081016040528092919081815260200182805461144b9061464e565b80156114985780601f1061146d57610100808354040283529160200191611498565b820191906000526020600020905b81548152906001019060200180831161147b57829003601f168201915b505050505081526020016006820180546114b19061464e565b80601f01602080910402602001604051908101604052809291908181526020018280546114dd9061464e565b801561152a5780601f106114ff5761010080835404028352916020019161152a565b820191906000526020600020905b81548152906001019060200180831161150d57829003601f168201915b505050505081526020016007820154815260200160088201548152505083838151811061155957611559614688565b6020026020010181905250508080611570906146b4565b915050611188565b509392505050565b601b805461158d9061464e565b80601f01602080910402602001604051908101604052809291908181526020018280546115b99061464e565b80156116065780601f106115db57610100808354040283529160200191611606565b820191906000526020600020905b8154815290600101906020018083116115e957829003601f168201915b505050505081565b611618338261306a565b6116345760405162461bcd60e51b8152600401610d04906146cd565b610da58383836130e9565b601d818154811061164f57600080fd5b6000918252602090912001546001600160a01b0316905081565b6016546001600160a01b031633146116935760405162461bcd60e51b8152600401610d049061471a565b61169b61325a565b60006116af600a546001600160a01b031690565b6040519091506001600160a01b0382169083156108fc029084906000818181858888f193505050501580156116e8573d6000803e3d6000fd5b50506116f46001600b55565b50565b600061170283611db3565b82106117645760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610d04565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b606061179761325a565b60225482146117b85760405162461bcd60e51b8152600401610d0490614743565b6000836001600160401b038111156117d2576117d2614191565b60405190808252806020026020018201604052801561180557816020015b60608152602001906001900390816117f05790505b50905060005b848110156118f7576021600087878481811061182957611829614688565b90506020020135815260200190815260200160002080546118499061464e565b80601f01602080910402602001604051908101604052809291908181526020018280546118759061464e565b80156118c25780601f10611897576101008083540402835291602001916118c2565b820191906000526020600020905b8154815290600101906020018083116118a557829003601f168201915b50505050508282815181106118d9576118d9614688565b602002602001018190525080806118ef906146b4565b91505061180b565b5090506119046001600b55565b9392505050565b6016546001600160a01b031633146119355760405162461bcd60e51b8152600401610d049061471a565b601c54610100900460ff1661197a5760405162461bcd60e51b815260206004820152600b60248201526a2737ba103830bab9b2b21760a91b6044820152606401610d04565b601c805461ff00191690556040517f7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b3390600090a1565b6016546001600160a01b031633146119da5760405162461bcd60e51b8152600401610d049061471a565b601b6119e682826147c0565b5050565b610da583838360405180602001604052806000815250612829565b6000611a1060085490565b8210611a735760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610d04565b60088281548110611a8657611a86614688565b90600052602060002001549050919050565b6016546001600160a01b03163314611ac25760405162461bcd60e51b8152600401610d049061471a565b60005b81811015610da5576000601f6000858585818110611ae557611ae5614688565b9050602002016020810190611afa9190613f28565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905580611b2c816146b4565b915050611ac5565b6016546001600160a01b03163314611b5e5760405162461bcd60e51b8152600401610d049061471a565b601c5460ff16611b7757601c805460ff19166001179055565b601c805460ff191690555b565b6016546001600160a01b03163314611bae5760405162461bcd60e51b8152600401610d049061471a565b60005b81811015610da557600160206000858585818110611bd157611bd1614688565b60209081029290920135835250810191909152604001600020805460ff191691151591909117905580611c03816146b4565b915050611bb1565b6000818152600260205260408120546001600160a01b031680610bd15760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610d04565b601a805461158d9061464e565b6016546001600160a01b03163314611ca25760405162461bcd60e51b8152600401610d049061471a565b600082118015611cb457506008548211155b611cd05760405162461bcd60e51b8152600401610d049061487f565b60ff831615611d05576000828152601e602052604081206007018054839290611cfa9084906148a2565b90915550610da59050565b6000918252601e60205260409091206007015550565b6016546001600160a01b03163314611d455760405162461bcd60e51b8152600401610d049061471a565b6016546001600160a01b03163314611d915760405162461bcd60e51b815260206004820152600f60248201526e2737ba1020baba3437b934bd32b21760891b6044820152606401610d04565b601780546001600160a01b0319166001600160a01b0392909216919091179055565b60006001600160a01b038216611e1d5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b6064820152608401610d04565b506001600160a01b031660009081526003602052604090205490565b611e416132b3565b611b82600061330d565b6016546001600160a01b03163314611e755760405162461bcd60e51b8152600401610d049061471a565b80604051602001611e8691906148b5565b60408051601f19818403018152919052805160209091012060225550565b6016546001600160a01b03163314611ece5760405162461bcd60e51b8152600401610d049061471a565b60005b81811015610da5576001601f6000858585818110611ef157611ef1614688565b9050602002016020810190611f069190613f28565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905580611f38816146b4565b915050611ed1565b6016546001600160a01b03163314611f6a5760405162461bcd60e51b8152600401610d049061471a565b601c54610100900460ff1615611fb45760405162461bcd60e51b815260206004820152600f60248201526e20b63932b0b23c903830bab9b2b21760891b6044820152606401610d04565b601c805461ff0019166101001790556040517f6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff62590600090a1565b611ff661325a565b60225481146120175760405162461bcd60e51b8152600401610d0490614743565b61202088611c0b565b6001600160a01b0316336001600160a01b0316146120725760405162461bcd60e51b815260206004820152600f60248201526e2737ba102cb7bab910213930b4b71760891b6044820152606401610d04565b60008751116120ad5760405162461bcd60e51b81526020600482015260076024820152664e6f204e616d6560c81b6044820152606401610d04565b6008548811156120cf5760405162461bcd60e51b8152600401610d049061487f565b600088815260208052604090205460ff161561211b5760405162461bcd60e51b815260206004820152600b60248201526a109b1858dadb1a5cdd195960aa1b6044820152606401610d04565b6000888152601e6020526040902061213388826147c0565b506000888152601e6020526040902060020161214f87826147c0565b506000888152601e6020526040902060030161216b86826147c0565b506000888152601e6020526040902060040161218785826147c0565b506000888152601e602052604090206005016121a384826147c0565b506000888152601e602052604090206006016121bf83826147c0565b506000888152601e602052604081206008018054916121dd836146b4565b919050555087866040516121f191906148b5565b604051908190038120907fe439f18246d9b2df23c39c22a64ca5b3e50c00ca696af39fe15cbf67294853ed90600090a361222b6001600b55565b5050505050505050565b6016546001600160a01b0316331461225f5760405162461bcd60e51b8152600401610d049061471a565b60408051602081019091526001600160a01b039182168152601d805460018101825560009190915290517f6d4407e7be21f808e6509aa9fa9143369579dd7d760fe20a2c09680fc146134f90910180546001600160a01b03191691909216179055565b6016546001600160a01b031633146122ec5760405162461bcd60e51b8152600401610d049061471a565b601880546001600160a01b039384166001600160a01b03199182161790915560198054929093169116179055565b6016546001600160a01b031633146123445760405162461bcd60e51b8152600401610d049061471a565b60005b81811015610da55760006020600085858581811061236757612367614688565b60209081029290920135835250810191909152604001600020805460ff191691151591909117905580612399816146b4565b915050612347565b6016546001600160a01b031633146123cb5760405162461bcd60e51b8152600401610d049061471a565b601a6119e682826147c0565b606060018054610be69061464e565b6119e633838361335f565b6016546001600160a01b0316331461241b5760405162461bcd60e51b8152600401610d049061471a565b6116f481612ed7565b60408051600180825281830190925260609160009190816020015b612447613d54565b81526020019060019003908161243f579050509050601e60008481526020019081526020016000206040518061012001604052908160008201805461248b9061464e565b80601f01602080910402602001604051908101604052809291908181526020018280546124b79061464e565b80156125045780601f106124d957610100808354040283529160200191612504565b820191906000526020600020905b8154815290600101906020018083116124e757829003601f168201915b50505050508152602001600182015481526020016002820180546125279061464e565b80601f01602080910402602001604051908101604052809291908181526020018280546125539061464e565b80156125a05780601f10612575576101008083540402835291602001916125a0565b820191906000526020600020905b81548152906001019060200180831161258357829003601f168201915b505050505081526020016003820180546125b99061464e565b80601f01602080910402602001604051908101604052809291908181526020018280546125e59061464e565b80156126325780601f1061260757610100808354040283529160200191612632565b820191906000526020600020905b81548152906001019060200180831161261557829003601f168201915b5050505050815260200160048201805461264b9061464e565b80601f01602080910402602001604051908101604052809291908181526020018280546126779061464e565b80156126c45780601f10612699576101008083540402835291602001916126c4565b820191906000526020600020905b8154815290600101906020018083116126a757829003601f168201915b505050505081526020016005820180546126dd9061464e565b80601f01602080910402602001604051908101604052809291908181526020018280546127099061464e565b80156127565780601f1061272b57610100808354040283529160200191612756565b820191906000526020600020905b81548152906001019060200180831161273957829003601f168201915b5050505050815260200160068201805461276f9061464e565b80601f016020809104026020016040519081016040528092919081815260200182805461279b9061464e565b80156127e85780601f106127bd576101008083540402835291602001916127e8565b820191906000526020600020905b8154815290600101906020018083116127cb57829003601f168201915b50505050508152602001600782015481526020016008820154815250508160008151811061281857612818614688565b602090810291909101015292915050565b612833338361306a565b61284f5760405162461bcd60e51b8152600401610d04906146cd565b61285b8484848461342d565b50505050565b606061286c60085490565b82111561288b5760405162461bcd60e51b8152600401610d049061487f565b6000601a805461289a9061464e565b80601f01602080910402602001604051908101604052809291908181526020018280546128c69061464e565b80156129135780601f106128e857610100808354040283529160200191612913565b820191906000526020600020905b8154815290600101906020018083116128f657829003601f168201915b5050506000868152602080526040902054929350505060ff161561297657600081511161294f5760405180602001604052806000815250611904565b8060405160200161296091906148d1565b6040516020818303038152906040529392505050565b601c5460ff16156129ba57600081511161299f5760405180602001604052806000815250611904565b806129a984613460565b60405160200161296092919061490e565b60008151116129d85760405180602001604052806000815250611904565b80604051602001612960919061494d565b6016546001600160a01b03163314612a135760405162461bcd60e51b8152600401610d049061471a565b600e96909655601293909355601355600f91909155601455601055601555565b6022548114612a545760405162461bcd60e51b8152600401610d0490614743565b610da583836134f2565b612a6661325a565b601c54610100900460ff1615612ab05760405162461bcd60e51b815260206004820152600f60248201526e14185d5cd9590810dbdb9d1c9858dd608a1b6044820152606401610d04565b6000835111612aeb5760405162461bcd60e51b81526020600482015260076024820152664e6f204e616d6560c81b6044820152606401610d04565b336000908152601f602052604090205460ff16612ba957601554612b0e33611db3565b10612b4c5760405162461bcd60e51b815260206004820152600e60248201526d139bdd08105d5d1a1bdc9a5e995960921b6044820152606401610d04565b600e543414612b905760405162461bcd60e51b815260206004820152601060248201526f496e73756666696369656e742066656560801b6044820152606401610d04565b612b9b60105461367f565b612ba96010546014546134f2565b6000600c546001612bba91906148a2565b604080516101208101825286815260208082018490528183018790526060820186905282518082018452600080825260808401919091528351808301855281815260a08401528351808301855281815260c084015260e083018190526101008301819052848152601e90915291909120815192935090918190612c3d90826147c0565b506020820151600182015560408201516002820190612c5c90826147c0565b5060608201516003820190612c7190826147c0565b5060808201516004820190612c8690826147c0565b5060a08201516005820190612c9b90826147c0565b5060c08201516006820190612cb090826147c0565b5060e0820151600782015561010090910151600890910155612cd2338261371e565b604080516020808201835260008083528481529080528290209051815460ff19169015151790555181907f13e9cae7f0f7900043c7e473651e8447f9cfa214e44fb5bbe14b0a2439b4d37f90612d29908790613e23565b60405180910390a2600c8054906000612d41836146b4565b919050555050610da56001600b55565b6016546001600160a01b03163314612d7b5760405162461bcd60e51b8152600401610d049061471a565b612d8361325a565b6000601d8381548110612d9857612d98614688565b6000918252602090912001805460405163a9059cbb60e01b8152336004820152602481018590529192506001600160a01b031690819063a9059cbb906044016020604051808303816000875af1158015612df6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e1a9190614984565b5050506119e66001600b55565b6016546001600160a01b03163314612e515760405162461bcd60e51b8152600401610d049061471a565b601680546001600160a01b0319166001600160a01b0392909216919091179055565b612e7b61325a565b6022548114612e9c5760405162461bcd60e51b8152600401610d0490614743565b600d546000908152602160205260409020612eb783826147c0565b50600d8054906000612ec8836146b4565b91905055506119e66001600b55565b612edf6132b3565b6001600160a01b038116612f445760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610d04565b6116f48161330d565b60006001600160e01b031982166380ac58cd60e01b1480612f7e57506001600160e01b03198216635b5e139f60e01b145b80610bd157506301ffc9a760e01b6001600160e01b0319831614610bd1565b6000818152600260205260409020546001600160a01b03166116f45760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610d04565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061303182611c0b565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008061307683611c0b565b9050806001600160a01b0316846001600160a01b031614806130bd57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b806130e15750836001600160a01b03166130d684610c69565b6001600160a01b0316145b949350505050565b826001600160a01b03166130fc82611c0b565b6001600160a01b0316146131225760405162461bcd60e51b8152600401610d04906149a1565b6001600160a01b0382166131845760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610d04565b61319183838360016138b7565b826001600160a01b03166131a482611c0b565b6001600160a01b0316146131ca5760405162461bcd60e51b8152600401610d04906149a1565b600081815260046020908152604080832080546001600160a01b03199081169091556001600160a01b0387811680865260038552838620805460001901905590871680865283862080546001019055868652600290945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6002600b54036132ac5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610d04565b6002600b55565b600a546001600160a01b03163314611b825760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610d04565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b0316036133c05760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610d04565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6134388484846130e9565b613444848484846139eb565b61285b5760405162461bcd60e51b8152600401610d04906149e6565b6060600061346d83613aec565b60010190506000816001600160401b0381111561348c5761348c614191565b6040519080825280601f01601f1916602001820160405280156134b6576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a85049450846134c057509392505050565b600060646135008385614a38565b61350a9190614a4f565b9050600060646012548361351e9190614a38565b6135289190614a4f565b9050600060646013548461353c9190614a38565b6135469190614a4f565b90506000601d600f548154811061355f5761355f614688565b6000918252602090912001805460195460405163a9059cbb60e01b81526001600160a01b039182166004820152602481018790529293501690819063a9059cbb906044016020604051808303816000875af11580156135c2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906135e69190614984565b5060185460405163a9059cbb60e01b81526001600160a01b039182166004820152602481018590529082169063a9059cbb906044016020604051808303816000875af115801561363a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061365e9190614984565b50836011600082825461367191906148a2565b909155505050505050505050565b6000601d600f548154811061369657613696614688565b600091825260209091200180546040516323b872dd60e01b8152336004820152306024820152604481018590529192506001600160a01b03169081906323b872dd906064016020604051808303816000875af11580156136fa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061285b9190614984565b6001600160a01b0382166137745760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610d04565b6000818152600260205260409020546001600160a01b0316156137d95760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610d04565b6137e76000838360016138b7565b6000818152600260205260409020546001600160a01b03161561384c5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610d04565b6001600160a01b038216600081815260036020908152604080832080546001019055848352600290915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60018111156139265760405162461bcd60e51b815260206004820152603560248201527f455243373231456e756d657261626c653a20636f6e7365637574697665207472604482015274185b9cd9995c9cc81b9bdd081cdd5c1c1bdc9d1959605a1b6064820152608401610d04565b816001600160a01b0385166139825761397d81600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b6139a5565b836001600160a01b0316856001600160a01b0316146139a5576139a58582613bc4565b6001600160a01b0384166139c1576139bc81613c61565b6139e4565b846001600160a01b0316846001600160a01b0316146139e4576139e48482613d10565b5050505050565b60006001600160a01b0384163b15613ae157604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290613a2f903390899088908890600401614a71565b6020604051808303816000875af1925050508015613a6a575060408051601f3d908101601f19168201909252613a6791810190614aae565b60015b613ac7573d808015613a98576040519150601f19603f3d011682016040523d82523d6000602084013e613a9d565b606091505b508051600003613abf5760405162461bcd60e51b8152600401610d04906149e6565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506130e1565b506001949350505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b8310613b2b5772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310613b57576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310613b7557662386f26fc10000830492506010015b6305f5e1008310613b8d576305f5e100830492506008015b6127108310613ba157612710830492506004015b60648310613bb3576064830492506002015b600a8310610bd15760010192915050565b60006001613bd184611db3565b613bdb9190614acb565b600083815260076020526040902054909150808214613c2e576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090613c7390600190614acb565b60008381526009602052604081205460088054939450909284908110613c9b57613c9b614688565b906000526020600020015490508060088381548110613cbc57613cbc614688565b6000918252602080832090910192909255828152600990915260408082208490558582528120556008805480613cf457613cf4614ade565b6001900381819060005260206000200160009055905550505050565b6000613d1b83611db3565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6040518061012001604052806060815260200160008152602001606081526020016060815260200160608152602001606081526020016060815260200160008152602001600081525090565b6001600160e01b0319811681146116f457600080fd5b600060208284031215613dc857600080fd5b813561190481613da0565b60005b83811015613dee578181015183820152602001613dd6565b50506000910152565b60008151808452613e0f816020860160208601613dd3565b601f01601f19169290920160200192915050565b6020815260006119046020830184613df7565b600060208284031215613e4857600080fd5b5035919050565b6001600160a01b03811681146116f457600080fd5b60008060408385031215613e7757600080fd5b8235613e8281613e4f565b946020939093013593505050565b6000610120808352613ea48184018d613df7565b90508a60208401528281036040840152613ebe818b613df7565b90508281036060840152613ed2818a613df7565b90508281036080840152613ee68189613df7565b905082810360a0840152613efa8188613df7565b905082810360c0840152613f0e8187613df7565b60e084019590955250506101000152979650505050505050565b600060208284031215613f3a57600080fd5b813561190481613e4f565b60006020808301818452808551808352604092508286019150828160051b87010184880160005b8381101561404a57603f1989840301855281516101208151818652613f9382870182613df7565b91505088820151898601528782015185820389870152613fb38282613df7565b91505060608083015186830382880152613fcd8382613df7565b9250505060808083015186830382880152613fe88382613df7565b9250505060a080830151868303828801526140038382613df7565b9250505060c0808301518683038288015261401e8382613df7565b60e085810151908901526101009485015194909701939093525050509386019390860190600101613f6c565b509098975050505050505050565b60008060006060848603121561406d57600080fd5b833561407881613e4f565b9250602084013561408881613e4f565b929592945050506040919091013590565b60008083601f8401126140ab57600080fd5b5081356001600160401b038111156140c257600080fd5b6020830191508360208260051b85010111156140dd57600080fd5b9250929050565b6000806000604084860312156140f957600080fd5b83356001600160401b0381111561410f57600080fd5b61411b86828701614099565b909790965060209590950135949350505050565b6000602080830181845280855180835260408601915060408160051b870101925083870160005b8281101561418457603f19888603018452614172858351613df7565b94509285019290850190600101614156565b5092979650505050505050565b634e487b7160e01b600052604160045260246000fd5b60006001600160401b03808411156141c1576141c1614191565b604051601f8501601f19908116603f011681019082821181831017156141e9576141e9614191565b8160405280935085815286868601111561420257600080fd5b858560208301376000602087830101525050509392505050565b600082601f83011261422d57600080fd5b611904838335602085016141a7565b60006020828403121561424e57600080fd5b81356001600160401b0381111561426457600080fd5b6130e18482850161421c565b6000806020838503121561428357600080fd5b82356001600160401b0381111561429957600080fd5b6142a585828601614099565b90969095509350505050565b6000806000606084860312156142c657600080fd5b833560ff811681146142d757600080fd5b95602085013595506040909401359392505050565b600080600080600080600080610100898b03121561430957600080fd5b8835975060208901356001600160401b038082111561432757600080fd5b6143338c838d0161421c565b985060408b013591508082111561434957600080fd5b6143558c838d0161421c565b975060608b013591508082111561436b57600080fd5b6143778c838d0161421c565b965060808b013591508082111561438d57600080fd5b6143998c838d0161421c565b955060a08b01359150808211156143af57600080fd5b6143bb8c838d0161421c565b945060c08b01359150808211156143d157600080fd5b506143de8b828c0161421c565b92505060e089013590509295985092959890939650565b6000806040838503121561440857600080fd5b823561441381613e4f565b9150602083013561442381613e4f565b809150509250929050565b80151581146116f457600080fd5b6000806040838503121561444f57600080fd5b823561445a81613e4f565b915060208301356144238161442e565b6000806000806080858703121561448057600080fd5b843561448b81613e4f565b9350602085013561449b81613e4f565b92506040850135915060608501356001600160401b038111156144bd57600080fd5b8501601f810187136144ce57600080fd5b6144dd878235602084016141a7565b91505092959194509250565b600080600080600080600060e0888a03121561450457600080fd5b505085359760208701359750604087013596606081013596506080810135955060a0810135945060c0013592509050565b60008060006060848603121561454a57600080fd5b505081359360208301359350604090920135919050565b60008060006060848603121561457657600080fd5b83356001600160401b038082111561458d57600080fd5b6145998783880161421c565b945060208601359150808211156145af57600080fd5b6145bb8783880161421c565b935060408601359150808211156145d157600080fd5b506145de8682870161421c565b9150509250925092565b600080604083850312156145fb57600080fd5b50508035926020909101359150565b6000806040838503121561461d57600080fd5b82356001600160401b0381111561463357600080fd5b61463f8582860161421c565b95602094909401359450505050565b600181811c9082168061466257607f821691505b60208210810361468257634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000600182016146c6576146c661469e565b5060010190565b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b6020808252600f908201526e2737ba1030baba3437b934bd32b21760891b604082015260600190565b602080825260159082015274125b9d985b1a59081a185cda081c1c9bdd9a591959605a1b604082015260600190565b601f821115610da557600081815260208120601f850160051c810160208610156147995750805b601f850160051c820191505b818110156147b8578281556001016147a5565b505050505050565b81516001600160401b038111156147d9576147d9614191565b6147ed816147e7845461464e565b84614772565b602080601f831160018114614822576000841561480a5750858301515b600019600386901b1c1916600185901b1785556147b8565b600085815260208120601f198616915b8281101561485157888601518255948401946001909101908401614832565b508582101561486f5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b602080825260099082015268139bdd08119bdd5b9960ba1b604082015260600190565b80820180821115610bd157610bd161469e565b600082516148c7818460208701613dd3565b9190910192915050565b600082516148e3818460208701613dd3565b6a189b1858dadb1a5cdd195960aa1b92019182525064173539b7b760d91b600b820152601001919050565b60008351614920818460208801613dd3565b835190830190614934818360208801613dd3565b64173539b7b760d91b9101908152600501949350505050565b6000825161495f818460208701613dd3565b64616c70686160d81b92019182525064173539b7b760d91b6005820152600a01919050565b60006020828403121561499657600080fd5b81516119048161442e565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b8082028115828204841417610bd157610bd161469e565b600082614a6c57634e487b7160e01b600052601260045260246000fd5b500490565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090614aa490830184613df7565b9695505050505050565b600060208284031215614ac057600080fd5b815161190481613da0565b81810381811115610bd157610bd161469e565b634e487b7160e01b600052603160045260246000fdfea264697066735822122052de929b834ca1595a4a53527a73a2c6e87bfceae664273b37a742848276a35c64736f6c63430008130033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000f6d80d96077507f89781cfcfca46836b310d603b0000000000000000000000006f92182a22d76177c98589d65275bb104c81c4e50000000000000000000000000000000000000000000000000000000000000009422e522e412e492e4e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006425241494e530000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _name (string): B.R.A.I.N
Arg [1] : _symbol (string): BRAINS
Arg [2] : _brainDAO (address): 0xF6D80d96077507f89781CfCFCA46836b310d603b
Arg [3] : _brainAddress (address): 0x6F92182a22D76177C98589D65275Bb104C81C4e5
-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 000000000000000000000000f6d80d96077507f89781cfcfca46836b310d603b
Arg [3] : 0000000000000000000000006f92182a22d76177c98589d65275bb104c81c4e5
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000009
Arg [5] : 422e522e412e492e4e0000000000000000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [7] : 425241494e530000000000000000000000000000000000000000000000000000
Deployed Bytecode Sourcemap
113701:11536:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;107467:224;;;;;;;;;;-1:-1:-1;107467:224:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;107467:224:0;;;;;;;;91516:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;93028:171::-;;;;;;;;;;-1:-1:-1;93028:171:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1697:32:1;;;1679:51;;1667:2;1652:18;93028:171:0;1533:203:1;92546:416:0;;;;;;;;;;-1:-1:-1;92546:416:0;;;;;:::i;:::-;;:::i;:::-;;114645:31;;;;;;;;;;-1:-1:-1;114645:31:0;;;;;;;;115450:44;;;;;;;;;;-1:-1:-1;115450:44:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;;;;;;;;;:::i;108107:113::-;;;;;;;;;;-1:-1:-1;108195:10:0;:17;108107:113;;;3623:25:1;;;3611:2;3596:18;108107:113:0;3477:177:1;123586:377:0;;;;;;;;;;-1:-1:-1;123586:377:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;114605:33::-;;;;;;;;;;;;;:::i;93728:301::-;;;;;;;;;;-1:-1:-1;93728:301:0;;;;;:::i;:::-;;:::i;115557:49::-;;;;;;;;;;-1:-1:-1;115557:49:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;115397:32;;;;;;;;;;-1:-1:-1;115397:32:0;;;;;:::i;:::-;;:::i;114364:23::-;;;;;;;;;;;;;;;;121011:173;;;;;;:::i;:::-;;:::i;107775:256::-;;;;;;;;;;-1:-1:-1;107775:256:0;;;;;:::i;:::-;;:::i;118097:426::-;;;;;;;;;;-1:-1:-1;118097:426:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;123200:138::-;;;;;;;;;;;;;:::i;125134:100::-;;;;;;;;;;-1:-1:-1;125134:100:0;;;;;:::i;:::-;;:::i;94100:151::-;;;;;;;;;;-1:-1:-1;94100:151:0;;;;;:::i;:::-;;:::i;108297:233::-;;;;;;;;;;-1:-1:-1;108297:233:0;;;;;:::i;:::-;;:::i;124590:213::-;;;;;;;;;;-1:-1:-1;124590:213:0;;;;;:::i;:::-;;:::i;122113:169::-;;;;;;;;;;;;;:::i;114684:26::-;;;;;;;;;;-1:-1:-1;114684:26:0;;;;;;;;;;;124384:198;;;;;;;;;;-1:-1:-1;124384:198:0;;;;;:::i;:::-;;:::i;114299:26::-;;;;;;;;;;;;;;;;91226:223;;;;;;;;;;-1:-1:-1;91226:223:0;;;;;:::i;:::-;;:::i;114496:41::-;;;;;;;;;;-1:-1:-1;114496:41:0;;;;-1:-1:-1;;;;;114496:41:0;;;114577:21;;;;;;;;;;;;;:::i;118778:352::-;;;;;;;;;;-1:-1:-1;118778:352:0;;;;;:::i;:::-;;:::i;114220:36::-;;;;;;;;;;;;;;;;119528:179;;;;;;;;;;-1:-1:-1;119528:179:0;;;;;:::i;:::-;;:::i;114189:24::-;;;;;;;;;;;;;;;;90957:207;;;;;;;;;;-1:-1:-1;90957:207:0;;;;;:::i;:::-;;:::i;114544:26::-;;;;;;;;;;-1:-1:-1;114544:26:0;;;;-1:-1:-1;;;;;114544:26:0;;;61829:103;;;;;;;;;;;;;:::i;119388:132::-;;;;;;;;;;-1:-1:-1;119388:132:0;;;;;:::i;:::-;;:::i;124169:207::-;;;;;;;;;;-1:-1:-1;124169:207:0;;;;;:::i;:::-;;:::i;123032:138::-;;;;;;;;;;;;;:::i;117047:1042::-;;;;;;;;;;-1:-1:-1;117047:1042:0;;;;;:::i;:::-;;:::i;121689:188::-;;;;;;;;;;-1:-1:-1;121689:188:0;;;;;:::i;:::-;;:::i;114332:25::-;;;;;;;;;;;;;;;;61188:87;;;;;;;;;;-1:-1:-1;61261:6:0;;-1:-1:-1;;;;;61261:6:0;61188:87;;121478:199;;;;;;;;;;-1:-1:-1;121478:199:0;;;;;:::i;:::-;;:::i;124811:204::-;;;;;;;;;;-1:-1:-1;124811:204:0;;;;;:::i;:::-;;:::i;121997:108::-;;;;;;;;;;-1:-1:-1;121997:108:0;;;;;:::i;:::-;;:::i;91685:104::-;;;;;;;;;;;;;:::i;93271:155::-;;;;;;;;;;-1:-1:-1;93271:155:0;;;;;:::i;:::-;;:::i;120850:153::-;;;;;;;;;;-1:-1:-1;120850:153:0;;;;;:::i;:::-;;:::i;123363:215::-;;;;;;;;;;-1:-1:-1;123363:215:0;;;;;:::i;:::-;;:::i;94322:279::-;;;;;;;;;;-1:-1:-1;94322:279:0;;;;;:::i;:::-;;:::i;122290:714::-;;;;;;;;;;-1:-1:-1;122290:714:0;;;;;:::i;:::-;;:::i;119715:370::-;;;;;;;;;;-1:-1:-1;119715:370:0;;;;;:::i;:::-;;:::i;123972:189::-;;;;;;;;;;-1:-1:-1;123972:189:0;;;;;:::i;:::-;;:::i;115729:1236::-;;;;;;:::i;:::-;;:::i;114462:27::-;;;;;;;;;;-1:-1:-1;114462:27:0;;;;-1:-1:-1;;;;;114462:27:0;;;115501:49;;;;;;;;;;-1:-1:-1;115501:49:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;114148:34;;;;;;;;;;;;;;;;121192:278;;;;;;:::i;:::-;;:::i;125023:97::-;;;;;;;;;;-1:-1:-1;125023:97:0;;;;;:::i;:::-;;:::i;118531:239::-;;;;;;;;;;-1:-1:-1;118531:239:0;;;;;:::i;:::-;;:::i;93497:164::-;;;;;;;;;;-1:-1:-1;93497:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;93618:25:0;;;93594:4;93618:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;93497:164;114431:23;;;;;;;;;;-1:-1:-1;114431:23:0;;;;-1:-1:-1;;;;;114431:23:0;;;62087:201;;;;;;;;;;-1:-1:-1;62087:201:0;;;;;:::i;:::-;;:::i;114263:29::-;;;;;;;;;;;;;;;;107467:224;107569:4;-1:-1:-1;;;;;;107593:50:0;;-1:-1:-1;;;107593:50:0;;:90;;;107647:36;107671:11;107647:23;:36::i;:::-;107586:97;107467:224;-1:-1:-1;;107467:224:0:o;91516:100::-;91570:13;91603:5;91596:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;91516:100;:::o;93028:171::-;93104:7;93124:23;93139:7;93124:14;:23::i;:::-;-1:-1:-1;93167:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;93167:24:0;;93028:171::o;92546:416::-;92627:13;92643:23;92658:7;92643:14;:23::i;:::-;92627:39;;92691:5;-1:-1:-1;;;;;92685:11:0;:2;-1:-1:-1;;;;;92685:11:0;;92677:57;;;;-1:-1:-1;;;92677:57:0;;17747:2:1;92677:57:0;;;17729:21:1;17786:2;17766:18;;;17759:30;17825:34;17805:18;;;17798:62;-1:-1:-1;;;17876:18:1;;;17869:31;17917:19;;92677:57:0;;;;;;;;;59819:10;-1:-1:-1;;;;;92769:21:0;;;;:62;;-1:-1:-1;92794:37:0;92811:5;59819:10;93497:164;:::i;92794:37::-;92747:173;;;;-1:-1:-1;;;92747:173:0;;18149:2:1;92747:173:0;;;18131:21:1;18188:2;18168:18;;;18161:30;18227:34;18207:18;;;18200:62;18298:31;18278:18;;;18271:59;18347:19;;92747:173:0;17947:425:1;92747:173:0;92933:21;92942:2;92946:7;92933:8;:21::i;:::-;92616:346;92546:416;;:::o;115450:44::-;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;123586:377::-;123643:16;123672:13;123688:18;123698:7;123688:9;:18::i;:::-;123672:34;;123717:23;123757:5;-1:-1:-1;;;;;123743:20:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;123717:46;;123779:9;123774:158;123798:5;123794:1;:9;123774:158;;;123823:15;123841:31;123861:7;123870:1;123841:19;:31::i;:::-;123823:49;;123903:8;:17;123912:7;123903:17;;;;;;;;;;;123891:29;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:6;123898:1;123891:9;;;;;;;;:::i;:::-;;;;;;:29;;;;123810:122;123805:3;;;;;:::i;:::-;;;;123774:158;;;-1:-1:-1;123949:6:0;123586:377;-1:-1:-1;;;123586:377:0:o;114605:33::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;93728:301::-;93889:41;59819:10;93922:7;93889:18;:41::i;:::-;93881:99;;;;-1:-1:-1;;;93881:99:0;;;;;;;:::i;:::-;93993:28;94003:4;94009:2;94013:7;93993:9;:28::i;115397:32::-;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;115397:32:0;;-1:-1:-1;115397:32:0;:::o;121011:173::-;114777:8;;-1:-1:-1;;;;;114777:8:0;114763:10;:22;114755:50;;;;-1:-1:-1;;;114755:50:0;;;;;;;:::i;:::-;2387:21:::1;:19;:21::i;:::-;121100:22:::2;121133:7;61261:6:::0;;-1:-1:-1;;;;;61261:6:0;;61188:87;121133:7:::2;121152:24;::::0;121100:41;;-1:-1:-1;;;;;;121152:15:0;::::2;::::0;:24;::::2;;;::::0;121168:7;;121152:24:::2;::::0;;;121168:7;121152:15;:24;::::2;;;;;;;;;;;;;::::0;::::2;;;;;;121089:95;2431:20:::1;1825:1:::0;2951:7;:22;2768:213;2431:20:::1;121011:173:::0;:::o;107775:256::-;107872:7;107908:23;107925:5;107908:16;:23::i;:::-;107900:5;:31;107892:87;;;;-1:-1:-1;;;107892:87:0;;19741:2:1;107892:87:0;;;19723:21:1;19780:2;19760:18;;;19753:30;19819:34;19799:18;;;19792:62;-1:-1:-1;;;19870:18:1;;;19863:41;19921:19;;107892:87:0;19539:407:1;107892:87:0;-1:-1:-1;;;;;;107997:19:0;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;107775:256::o;118097:426::-;118199:15;2387:21;:19;:21::i;:::-;118249:10:::1;;118233:12;:26;118225:60;;;;-1:-1:-1::0;;;118225:60:0::1;;;;;;;:::i;:::-;118327:23;118366:5:::0;-1:-1:-1;;;;;118353:26:0;::::1;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;118327:52;;118395:9;118390:101;118410:16:::0;;::::1;118390:101;;;118461:8;:18;118470:5;;118476:1;118470:8;;;;;;;:::i;:::-;;;;;;;118461:18;;;;;;;;;;;118448:31;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:7;118456:1;118448:10;;;;;;;;:::i;:::-;;;;;;:31;;;;118428:3;;;;;:::i;:::-;;;;118390:101;;;-1:-1:-1::0;118508:7:0;-1:-1:-1;2431:20:0;1825:1;2951:7;:22;2768:213;2431:20;118097:426;;;;;:::o;123200:138::-;114777:8;;-1:-1:-1;;;;;114777:8:0;114763:10;:22;114755:50;;;;-1:-1:-1;;;114755:50:0;;;;;;;:::i;:::-;123258:6:::1;::::0;::::1;::::0;::::1;;;123250:30;;;::::0;-1:-1:-1;;;123250:30:0;;20503:2:1;123250:30:0::1;::::0;::::1;20485:21:1::0;20542:2;20522:18;;;20515:30;-1:-1:-1;;;20561:18:1;;;20554:41;20612:18;;123250:30:0::1;20301:335:1::0;123250:30:0::1;123291:6;:14:::0;;-1:-1:-1;;123291:14:0::1;::::0;;123321:9:::1;::::0;::::1;::::0;123300:5:::1;::::0;123321:9:::1;123200:138::o:0;125134:100::-;114777:8;;-1:-1:-1;;;;;114777:8:0;114763:10;:22;114755:50;;;;-1:-1:-1;;;114755:50:0;;;;;;;:::i;:::-;125210:6:::1;:16;125219:7:::0;125210:6;:16:::1;:::i;:::-;;125134:100:::0;:::o;94100:151::-;94204:39;94221:4;94227:2;94231:7;94204:39;;;;;;;;;;;;:16;:39::i;108297:233::-;108372:7;108408:30;108195:10;:17;;108107:113;108408:30;108400:5;:38;108392:95;;;;-1:-1:-1;;;108392:95:0;;23047:2:1;108392:95:0;;;23029:21:1;23086:2;23066:18;;;23059:30;23125:34;23105:18;;;23098:62;-1:-1:-1;;;23176:18:1;;;23169:42;23228:19;;108392:95:0;22845:408:1;108392:95:0;108505:10;108516:5;108505:17;;;;;;;;:::i;:::-;;;;;;;;;108498:24;;108297:233;;;:::o;124590:213::-;114777:8;;-1:-1:-1;;;;;114777:8:0;114763:10;:22;114755:50;;;;-1:-1:-1;;;114755:50:0;;;;;;;:::i;:::-;124686:9:::1;124681:115;124701:19:::0;;::::1;124681:115;;;124779:5;124742:11;:24;124754:8;;124763:1;124754:11;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;124742:24:0::1;::::0;;::::1;::::0;::::1;::::0;;;;;;-1:-1:-1;124742:24:0;:42;;-1:-1:-1;;124742:42:0::1;::::0;::::1;;::::0;;;::::1;::::0;;124722:3;::::1;::::0;::::1;:::i;:::-;;;;124681:115;;122113:169:::0;114777:8;;-1:-1:-1;;;;;114777:8:0;114763:10;:22;114755:50;;;;-1:-1:-1;;;114755:50:0;;;;;;;:::i;:::-;122177:11:::1;::::0;::::1;;122172:103;;122201:11;:18:::0;;-1:-1:-1;;122201:18:0::1;122215:4;122201:18;::::0;;122113:169::o;122172:103::-:1;122246:11;:19:::0;;-1:-1:-1;;122246:19:0::1;::::0;;122172:103:::1;122113:169::o:0;124384:198::-;114777:8;;-1:-1:-1;;;;;114777:8:0;114763:10;:22;114755:50;;;;-1:-1:-1;;;114755:50:0;;;;;;;:::i;:::-;124472:9:::1;124467:108;124487:16:::0;;::::1;124467:108;;;124559:4;124525:11;:21;124537:5;;124543:1;124537:8;;;;;;;:::i;:::-;;::::0;;::::1;::::0;;;::::1;;124525:21:::0;;-1:-1:-1;124525:21:0;::::1;::::0;;;;;;-1:-1:-1;124525:21:0;:38;;-1:-1:-1;;124525:38:0::1;::::0;::::1;;::::0;;;::::1;::::0;;124505:3;::::1;::::0;::::1;:::i;:::-;;;;124467:108;;91226:223:::0;91298:7;95959:16;;;:7;:16;;;;;;-1:-1:-1;;;;;95959:16:0;;91362:56;;;;-1:-1:-1;;;91362:56:0;;23460:2:1;91362:56:0;;;23442:21:1;23499:2;23479:18;;;23472:30;-1:-1:-1;;;23518:18:1;;;23511:54;23582:18;;91362:56:0;23258:348:1;114577:21:0;;;;;;;:::i;118778:352::-;114777:8;;-1:-1:-1;;;;;114777:8:0;114763:10;:22;114755:50;;;;-1:-1:-1;;;114755:50:0;;;;;;;:::i;:::-;118906:1:::1;118895:8;:12;:41;;;;-1:-1:-1::0;108195:10:0;:17;118911:8:::1;:25;;118895:41;118887:63;;;;-1:-1:-1::0;;;118887:63:0::1;;;;;;;:::i;:::-;118965:9;::::0;::::1;::::0;118961:162:::1;;118987:18;::::0;;;:8:::1;:18;::::0;;;;:32:::1;;:43:::0;;119023:7;;118987:18;:43:::1;::::0;119023:7;;118987:43:::1;:::i;:::-;::::0;;;-1:-1:-1;118961:162:0::1;::::0;-1:-1:-1;118961:162:0::1;;119069:18;::::0;;;:8:::1;:18;::::0;;;;;:32:::1;;:42:::0;-1:-1:-1;118778:352:0:o;119528:179::-;114777:8;;-1:-1:-1;;;;;114777:8:0;114763:10;:22;114755:50;;;;-1:-1:-1;;;114755:50:0;;;;;;;:::i;:::-;119632:8:::1;::::0;-1:-1:-1;;;;;119632:8:0::1;119618:10;:22;119610:50;;;::::0;-1:-1:-1;;;119610:50:0;;24280:2:1;119610:50:0::1;::::0;::::1;24262:21:1::0;24319:2;24299:18;;;24292:30;-1:-1:-1;;;24338:18:1;;;24331:45;24393:18;;119610:50:0::1;24078:339:1::0;119610:50:0::1;119671:12;:28:::0;;-1:-1:-1;;;;;;119671:28:0::1;-1:-1:-1::0;;;;;119671:28:0;;;::::1;::::0;;;::::1;::::0;;119528:179::o;90957:207::-;91029:7;-1:-1:-1;;;;;91057:19:0;;91049:73;;;;-1:-1:-1;;;91049:73:0;;24624:2:1;91049:73:0;;;24606:21:1;24663:2;24643:18;;;24636:30;24702:34;24682:18;;;24675:62;-1:-1:-1;;;24753:18:1;;;24746:39;24802:19;;91049:73:0;24422:405:1;91049:73:0;-1:-1:-1;;;;;;91140:16:0;;;;;:9;:16;;;;;;;90957:207::o;61829:103::-;61074:13;:11;:13::i;:::-;61894:30:::1;61921:1;61894:18;:30::i;119388:132::-:0;114777:8;;-1:-1:-1;;;;;114777:8:0;114763:10;:22;114755:50;;;;-1:-1:-1;;;114755:50:0;;;;;;;:::i;:::-;119503:7:::1;119486:25;;;;;;;;:::i;:::-;;::::0;;-1:-1:-1;;119486:25:0;;::::1;::::0;;;;;;119476:36;;119486:25:::1;119476:36:::0;;::::1;::::0;119463:10:::1;:49:::0;-1:-1:-1;119388:132:0:o;124169:207::-;114777:8;;-1:-1:-1;;;;;114777:8:0;114763:10;:22;114755:50;;;;-1:-1:-1;;;114755:50:0;;;;;;;:::i;:::-;124260:9:::1;124255:114;124275:19:::0;;::::1;124255:114;;;124353:4;124316:11;:24;124328:8;;124337:1;124328:11;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;124316:24:0::1;::::0;;::::1;::::0;::::1;::::0;;;;;;-1:-1:-1;124316:24:0;:41;;-1:-1:-1;;124316:41:0::1;::::0;::::1;;::::0;;;::::1;::::0;;124296:3;::::1;::::0;::::1;:::i;:::-;;;;124255:114;;123032:138:::0;114777:8;;-1:-1:-1;;;;;114777:8:0;114763:10;:22;114755:50;;;;-1:-1:-1;;;114755:50:0;;;;;;;:::i;:::-;123089:6:::1;::::0;::::1;::::0;::::1;;;123088:7;123080:35;;;::::0;-1:-1:-1;;;123080:35:0;;25328:2:1;123080:35:0::1;::::0;::::1;25310:21:1::0;25367:2;25347:18;;;25340:30;-1:-1:-1;;;25386:18:1;;;25379:45;25441:18;;123080:35:0::1;25126:339:1::0;123080:35:0::1;123126:6;:13:::0;;-1:-1:-1;;123126:13:0::1;;;::::0;;123155:7:::1;::::0;::::1;::::0;123126:13;;123155:7:::1;123032:138::o:0;117047:1042::-;2387:21;:19;:21::i;:::-;117324:10:::1;;117308:12;:26;117300:60;;;;-1:-1:-1::0;;;117300:60:0::1;;;;;;;:::i;:::-;117392:17;117400:8;117392:7;:17::i;:::-;-1:-1:-1::0;;;;;117378:31:0::1;:10;-1:-1:-1::0;;;;;117378:31:0::1;;117370:59;;;::::0;-1:-1:-1;;;117370:59:0;;25672:2:1;117370:59:0::1;::::0;::::1;25654:21:1::0;25711:2;25691:18;;;25684:30;-1:-1:-1;;;25730:18:1;;;25723:45;25785:18;;117370:59:0::1;25470:339:1::0;117370:59:0::1;117472:1;117453:8;117447:22;:26;117439:46;;;::::0;-1:-1:-1;;;117439:46:0;;26016:2:1;117439:46:0::1;::::0;::::1;25998:21:1::0;26055:1;26035:18;;;26028:29;-1:-1:-1;;;26073:18:1;;;26066:37;26120:18;;117439:46:0::1;25814:330:1::0;117439:46:0::1;108195:10:::0;:17;117520:8:::1;:25;;117495:64;;;;-1:-1:-1::0;;;117495:64:0::1;;;;;;;:::i;:::-;117578:21;::::0;;;:11:::1;:21:::0;;;;;:31;::::1;;117577:32;117569:56;;;::::0;-1:-1:-1;;;117569:56:0;;26351:2:1;117569:56:0::1;::::0;::::1;26333:21:1::0;26390:2;26370:18;;;26363:30;-1:-1:-1;;;26409:18:1;;;26402:41;26460:18;;117569:56:0::1;26149:335:1::0;117569:56:0::1;117676:18;::::0;;;:8:::1;:18;::::0;;;;:46:::1;117713:8:::0;117676:18;:46:::1;:::i;:::-;-1:-1:-1::0;117733:18:0::1;::::0;;;:8:::1;:18;::::0;;;;:22:::1;;:39;117765:6:::0;117733:22;:39:::1;:::i;:::-;-1:-1:-1::0;117783:18:0::1;::::0;;;:8:::1;:18;::::0;;;;:24:::1;;:47;117817:12:::0;117783:24;:47:::1;:::i;:::-;-1:-1:-1::0;117841:18:0::1;::::0;;;:8:::1;:18;::::0;;;;:24:::1;;:41;117875:6:::0;117841:24;:41:::1;:::i;:::-;-1:-1:-1::0;117893:18:0::1;::::0;;;:8:::1;:18;::::0;;;;:24:::1;;:47;117927:12:::0;117893:24;:47:::1;:::i;:::-;-1:-1:-1::0;117951:18:0::1;::::0;;;:8:::1;:18;::::0;;;;:22:::1;;:43;117983:10:::0;117951:22;:43:::1;:::i;:::-;-1:-1:-1::0;118005:18:0::1;::::0;;;:8:::1;:18;::::0;;;;:26:::1;;:28:::0;;;::::1;::::0;::::1;:::i;:::-;;;;;;118072:8;118064:6;118051:30;;;;;;:::i;:::-;;::::0;;;;::::1;::::0;;;::::1;::::0;;;::::1;2431:20:::0;1825:1;2951:7;:22;2768:213;2431:20;117047:1042;;;;;;;;:::o;121689:188::-;114777:8;;-1:-1:-1;;;;;114777:8:0;114763:10;:22;114755:50;;;;-1:-1:-1;;;114755:50:0;;;;;;;:::i;:::-;121794:64:::1;::::0;;::::1;::::0;::::1;::::0;;;-1:-1:-1;;;;;121794:64:0;;::::1;::::0;;121761:13:::1;:108:::0;;::::1;::::0;::::1;::::0;;-1:-1:-1;121761:108:0;;;;;;;;;::::1;::::0;;-1:-1:-1;;;;;;121761:108:0::1;::::0;;;::::1;;::::0;;121689:188::o;121478:199::-;114777:8;;-1:-1:-1;;;;;114777:8:0;114763:10;:22;114755:50;;;;-1:-1:-1;;;114755:50:0;;;;;;;:::i;:::-;121582:18:::1;:50:::0;;-1:-1:-1;;;;;121582:50:0;;::::1;-1:-1:-1::0;;;;;;121582:50:0;;::::1;;::::0;;;121643:11:::1;:26:::0;;;;;::::1;::::0;::::1;;::::0;;121478:199::o;124811:204::-;114777:8;;-1:-1:-1;;;;;114777:8:0;114763:10;:22;114755:50;;;;-1:-1:-1;;;114755:50:0;;;;;;;:::i;:::-;124904:9:::1;124899:109;124919:16:::0;;::::1;124899:109;;;124991:5;124957:11;:21;124969:5;;124975:1;124969:8;;;;;;;:::i;:::-;;::::0;;::::1;::::0;;;::::1;;124957:21:::0;;-1:-1:-1;124957:21:0;::::1;::::0;;;;;;-1:-1:-1;124957:21:0;:39;;-1:-1:-1;;124957:39:0::1;::::0;::::1;;::::0;;;::::1;::::0;;124937:3;::::1;::::0;::::1;:::i;:::-;;;;124899:109;;121997:108:::0;114777:8;;-1:-1:-1;;;;;114777:8:0;114763:10;:22;114755:50;;;;-1:-1:-1;;;114755:50:0;;;;;;;:::i;:::-;122079:7:::1;:18;122089:8:::0;122079:7;:18:::1;:::i;91685:104::-:0;91741:13;91774:7;91767:14;;;;;:::i;93271:155::-;93366:52;59819:10;93399:8;93409;93366:18;:52::i;120850:153::-;114777:8;;-1:-1:-1;;;;;114777:8:0;114763:10;:22;114755:50;;;;-1:-1:-1;;;114755:50:0;;;;;;;:::i;:::-;120968:27:::1;120986:8;120968:17;:27::i;123363:215::-:0;123481:16;;;123495:1;123481:16;;;;;;;;;123422;;123451:27;;123481:16;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;123451:46;;123524:8;:18;123533:8;123524:18;;;;;;;;;;;123508:34;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:10;123519:1;123508:13;;;;;;;;:::i;:::-;;;;;;;;;;:34;123560:10;123363:215;-1:-1:-1;;123363:215:0:o;94322:279::-;94453:41;59819:10;94486:7;94453:18;:41::i;:::-;94445:99;;;;-1:-1:-1;;;94445:99:0;;;;;;;:::i;:::-;94555:38;94569:4;94575:2;94579:7;94588:4;94555:13;:38::i;:::-;94322:279;;;;:::o;122290:714::-;122356:13;122398;108195:10;:17;;108107:113;122398:13;122386:8;:25;;122378:47;;;;-1:-1:-1;;;122378:47:0;;;;;;;:::i;:::-;122434:21;122458:7;122434:31;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;122478:21:0;;;;:11;:21;;;;;:31;122434;;-1:-1:-1;;;122478:31:0;;122474:193;;;122565:1;122547:7;122541:21;:25;:116;;;;;;;;;;;;;;;;;122606:7;122589:49;;;;;;;;:::i;:::-;;;;;;;;;;;;;122523:134;122290:714;-1:-1:-1;;;122290:714:0:o;122474:193::-;122681:11;;;;122677:180;;;122747:1;122729:7;122723:21;:25;:122;;;;;;;;;;;;;;;;;122788:7;122797:19;:8;:17;:19::i;:::-;122771:55;;;;;;;;;:::i;122677:180::-;122910:1;122892:7;122886:21;:25;:110;;;;;;;;;;;;;;;;;122951:7;122934:43;;;;;;;;:::i;119715:370::-;114777:8;;-1:-1:-1;;;;;114777:8:0;114763:10;:22;114755:50;;;;-1:-1:-1;;;114755:50:0;;;;;;;:::i;:::-;119897:3:::1;:10:::0;;;;119918:7:::1;:18:::0;;;;119947:6:::1;:16:::0;119974:5:::1;:14:::0;;;;119999:4:::1;:12:::0;120022:8:::1;:20:::0;120053:10:::1;:24:::0;119715:370::o;123972:189::-;124088:10;;124072:12;:26;124064:60;;;;-1:-1:-1;;;124064:60:0;;;;;;;:::i;:::-;124133:20;124138:7;124147:5;124133:4;:20::i;115729:1236::-;2387:21;:19;:21::i;:::-;115862:6:::1;::::0;::::1;::::0;::::1;;;115861:7;115853:35;;;::::0;-1:-1:-1;;;115853:35:0;;28570:2:1;115853:35:0::1;::::0;::::1;28552:21:1::0;28609:2;28589:18;;;28582:30;-1:-1:-1;;;28628:18:1;;;28621:45;28683:18;;115853:35:0::1;28368:339:1::0;115853:35:0::1;115929:1;115913:5;115907:19;:23;115899:43;;;::::0;-1:-1:-1;;;115899:43:0;;26016:2:1;115899:43:0::1;::::0;::::1;25998:21:1::0;26055:1;26035:18;;;26028:29;-1:-1:-1;;;26073:18:1;;;26066:37;26120:18;;115899:43:0::1;25814:330:1::0;115899:43:0::1;115971:10;115959:23;::::0;;;:11:::1;:23;::::0;;;;:33;::::1;;115954:367;;116039:10;;116015:21;116025:10;116015:9;:21::i;:::-;:34;116007:61;;;::::0;-1:-1:-1;;;116007:61:0;;28914:2:1;116007:61:0::1;::::0;::::1;28896:21:1::0;28953:2;28933:18;;;28926:30;-1:-1:-1;;;28972:18:1;;;28965:44;29026:18;;116007:61:0::1;28712:338:1::0;116007:61:0::1;116102:3;;116089:9;:16;116081:45;;;::::0;-1:-1:-1;;;116081:45:0;;29257:2:1;116081:45:0::1;::::0;::::1;29239:21:1::0;29296:2;29276:18;;;29269:30;-1:-1:-1;;;29315:18:1;;;29308:46;29371:18;;116081:45:0::1;29055:340:1::0;116081:45:0::1;116200:24;116215:8;;116200:14;:24::i;:::-;116289:20;116294:8;;116304:4;;116289;:20::i;:::-;116341:15;116359:5;;116367:1;116359:9;;;;:::i;:::-;116440:252;::::0;;::::1;::::0;::::1;::::0;;;;;::::1;::::0;;::::1;::::0;;;;;;;;;;;;;;;;;;;::::1;::::0;;-1:-1:-1;116440:252:0;;;;;;;;;;;;;;::::1;::::0;;;;;;;;;;;;;::::1;::::0;;;;;;;;;;;;;;;;;;;;;116420:17;;;:8:::1;:17:::0;;;;;;;:272;;116341:27;;-1:-1:-1;116440:252:0;;116420:17;;:272:::1;::::0;:17;:272:::1;:::i;:::-;-1:-1:-1::0;116420:272:0::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;;::::1;:::i;:::-;-1:-1:-1::0;116420:272:0::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;;::::1;:::i;:::-;-1:-1:-1::0;116420:272:0::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;;::::1;:::i;:::-;-1:-1:-1::0;116420:272:0::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;;::::1;:::i;:::-;-1:-1:-1::0;116420:272:0::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;;::::1;:::i;:::-;-1:-1:-1::0;116420:272:0::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;;::::1;::::0;::::1;::::0;;::::1;::::0;116734:26:::1;116740:10;116752:7:::0;116734:5:::1;:26::i;:::-;116835:53;::::0;;::::1;::::0;;::::1;::::0;;-1:-1:-1;116835:53:0;;;116812:20;;;;;;;;;:76;;;;-1:-1:-1;;116812:76:0::1;::::0;::::1;;;::::0;;116914:25;116812:20;;116914:25:::1;::::0;::::1;::::0;116924:5;;116914:25:::1;:::i;:::-;;;;;;;;116950:5;:7:::0;;;:5:::1;:7;::::0;::::1;:::i;:::-;;;;;;115842:1123;2431:20:::0;1825:1;2951:7;:22;2768:213;121192:278;114777:8;;-1:-1:-1;;;;;114777:8:0;114763:10;:22;114755:50;;;;-1:-1:-1;;;114755:50:0;;;;;;;:::i;:::-;2387:21:::1;:19;:21::i;:::-;121302:24:::2;121329:13;121343:6;121329:21;;;;;;;;:::i;:::-;;::::0;;;::::2;::::0;;;::::2;121398:15:::0;;121424:38:::2;::::0;-1:-1:-1;;;121424:38:0;;121442:10:::2;121424:38;::::0;::::2;29574:51:1::0;29641:18;;;29634:34;;;121329:21:0;;-1:-1:-1;;;;;;121398:15:0::2;::::0;;;121424:17:::2;::::0;29547:18:1;;121424:38:0::2;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;121291:179;;2431:20:::1;1825:1:::0;2951:7;:22;2768:213;125023:97;114777:8;;-1:-1:-1;;;;;114777:8:0;114763:10;:22;114755:50;;;;-1:-1:-1;;;114755:50:0;;;;;;;:::i;:::-;125092:8:::1;:20:::0;;-1:-1:-1;;;;;;125092:20:0::1;-1:-1:-1::0;;;;;125092:20:0;;;::::1;::::0;;;::::1;::::0;;125023:97::o;118531:239::-;2387:21;:19;:21::i;:::-;118654:10:::1;;118638:12;:26;118630:60;;;;-1:-1:-1::0;;;118630:60:0::1;;;;;;;:::i;:::-;118710:13;::::0;118701:23:::1;::::0;;;:8:::1;:23;::::0;;;;:35:::1;118727:9:::0;118701:23;:35:::1;:::i;:::-;-1:-1:-1::0;118747:13:0::1;:15:::0;;;:13:::1;:15;::::0;::::1;:::i;:::-;;;;;;2431:20:::0;1825:1;2951:7;:22;2768:213;62087:201;61074:13;:11;:13::i;:::-;-1:-1:-1;;;;;62176:22:0;::::1;62168:73;;;::::0;-1:-1:-1;;;62168:73:0;;30131:2:1;62168:73:0::1;::::0;::::1;30113:21:1::0;30170:2;30150:18;;;30143:30;30209:34;30189:18;;;30182:62;-1:-1:-1;;;30260:18:1;;;30253:36;30306:19;;62168:73:0::1;29929:402:1::0;62168:73:0::1;62252:28;62271:8;62252:18;:28::i;90588:305::-:0;90690:4;-1:-1:-1;;;;;;90727:40:0;;-1:-1:-1;;;90727:40:0;;:105;;-1:-1:-1;;;;;;;90784:48:0;;-1:-1:-1;;;90784:48:0;90727:105;:158;;;-1:-1:-1;;;;;;;;;;82241:40:0;;;90849:36;82132:157;102591:135;96361:4;95959:16;;;:7;:16;;;;;;-1:-1:-1;;;;;95959:16:0;102665:53;;;;-1:-1:-1;;;102665:53:0;;23460:2:1;102665:53:0;;;23442:21:1;23499:2;23479:18;;;23472:30;-1:-1:-1;;;23518:18:1;;;23511:54;23582:18;;102665:53:0;23258:348:1;101904:174:0;101979:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;101979:29:0;-1:-1:-1;;;;;101979:29:0;;;;;;;;:24;;102033:23;101979:24;102033:14;:23::i;:::-;-1:-1:-1;;;;;102024:46:0;;;;;;;;;;;101904:174;;:::o;96591:264::-;96684:4;96701:13;96717:23;96732:7;96717:14;:23::i;:::-;96701:39;;96770:5;-1:-1:-1;;;;;96759:16:0;:7;-1:-1:-1;;;;;96759:16:0;;:52;;;-1:-1:-1;;;;;;93618:25:0;;;93594:4;93618:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;96779:32;96759:87;;;;96839:7;-1:-1:-1;;;;;96815:31:0;:20;96827:7;96815:11;:20::i;:::-;-1:-1:-1;;;;;96815:31:0;;96759:87;96751:96;96591:264;-1:-1:-1;;;;96591:264:0:o;100556:1229::-;100681:4;-1:-1:-1;;;;;100654:31:0;:23;100669:7;100654:14;:23::i;:::-;-1:-1:-1;;;;;100654:31:0;;100646:81;;;;-1:-1:-1;;;100646:81:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;100746:16:0;;100738:65;;;;-1:-1:-1;;;100738:65:0;;30944:2:1;100738:65:0;;;30926:21:1;30983:2;30963:18;;;30956:30;31022:34;31002:18;;;30995:62;-1:-1:-1;;;31073:18:1;;;31066:34;31117:19;;100738:65:0;30742:400:1;100738:65:0;100816:42;100837:4;100843:2;100847:7;100856:1;100816:20;:42::i;:::-;100988:4;-1:-1:-1;;;;;100961:31:0;:23;100976:7;100961:14;:23::i;:::-;-1:-1:-1;;;;;100961:31:0;;100953:81;;;;-1:-1:-1;;;100953:81:0;;;;;;;:::i;:::-;101106:24;;;;:15;:24;;;;;;;;101099:31;;-1:-1:-1;;;;;;101099:31:0;;;;;;-1:-1:-1;;;;;101582:15:0;;;;;;:9;:15;;;;;:20;;-1:-1:-1;;101582:20:0;;;101617:13;;;;;;;;;:18;;101099:31;101617:18;;;101657:16;;;:7;:16;;;;;;:21;;;;;;;;;;101696:27;;101122:7;;101696:27;;;92616:346;92546:416;;:::o;2467:293::-;1869:1;2601:7;;:19;2593:63;;;;-1:-1:-1;;;2593:63:0;;31349:2:1;2593:63:0;;;31331:21:1;31388:2;31368:18;;;31361:30;31427:33;31407:18;;;31400:61;31478:18;;2593:63:0;31147:355:1;2593:63:0;1869:1;2734:7;:18;2467:293::o;61353:132::-;61261:6;;-1:-1:-1;;;;;61261:6:0;59819:10;61417:23;61409:68;;;;-1:-1:-1;;;61409:68:0;;31709:2:1;61409:68:0;;;31691:21:1;;;31728:18;;;31721:30;31787:34;31767:18;;;31760:62;31839:18;;61409:68:0;31507:356:1;62448:191:0;62541:6;;;-1:-1:-1;;;;;62558:17:0;;;-1:-1:-1;;;;;;62558:17:0;;;;;;;62591:40;;62541:6;;;62558:17;62541:6;;62591:40;;62522:16;;62591:40;62511:128;62448:191;:::o;102221:281::-;102342:8;-1:-1:-1;;;;;102333:17:0;:5;-1:-1:-1;;;;;102333:17:0;;102325:55;;;;-1:-1:-1;;;102325:55:0;;32070:2:1;102325:55:0;;;32052:21:1;32109:2;32089:18;;;32082:30;32148:27;32128:18;;;32121:55;32193:18;;102325:55:0;31868:349:1;102325:55:0;-1:-1:-1;;;;;102391:25:0;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;102391:46:0;;;;;;;;;;102453:41;;540::1;;;102453::0;;513:18:1;102453:41:0;;;;;;;102221:281;;;:::o;95482:270::-;95595:28;95605:4;95611:2;95615:7;95595:9;:28::i;:::-;95642:47;95665:4;95671:2;95675:7;95684:4;95642:22;:47::i;:::-;95634:110;;;;-1:-1:-1;;;95634:110:0;;;;;;;:::i;56658:716::-;56714:13;56765:14;56782:17;56793:5;56782:10;:17::i;:::-;56802:1;56782:21;56765:38;;56818:20;56852:6;-1:-1:-1;;;;;56841:18:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;56841:18:0;-1:-1:-1;56818:41:0;-1:-1:-1;56983:28:0;;;56999:2;56983:28;57040:288;-1:-1:-1;;57072:5:0;-1:-1:-1;;;57209:2:0;57198:14;;57193:30;57072:5;57180:44;57270:2;57261:11;;;-1:-1:-1;57291:21:0;57040:288;57291:21;-1:-1:-1;57349:6:0;56658:716;-1:-1:-1;;;56658:716:0:o;120093:491::-;120162:13;120199:3;120179:18;120193:4;120179:11;:18;:::i;:::-;120178:24;;;;:::i;:::-;120162:40;;120216:12;120249:3;120240:7;;120232:5;:15;;;;:::i;:::-;120231:21;;;;:::i;:::-;120216:36;;120263:11;120295:3;120287:6;;120279:5;:14;;;;:::i;:::-;120278:20;;;;:::i;:::-;120263:35;;120311:24;120338:13;120352:5;;120338:20;;;;;;;;:::i;:::-;;;;;;;;;;120406:15;;120465:11;;120447:36;;-1:-1:-1;;;120447:36:0;;-1:-1:-1;;;;;120465:11:0;;;120447:36;;;29574:51:1;29641:18;;;29634:34;;;120338:20:0;;-1:-1:-1;120406:15:0;;;;120447:17;;29547:18:1;;120447:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;120515:18:0;;120497:42;;-1:-1:-1;;;120497:42:0;;-1:-1:-1;;;;;120515:18:0;;;120497:42;;;29574:51:1;29641:18;;;29634:34;;;120497:17:0;;;;;;29547:18:1;;120497:42:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;120565:4;120551:10;;:18;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;;;;;120093:491:0:o;120596:242::-;120655:24;120682:13;120696:5;;120682:20;;;;;;;;:::i;:::-;;;;;;;;;;120750:15;;120776:54;;-1:-1:-1;;;120776:54:0;;120798:10;120776:54;;;33695:34:1;120817:4:0;33745:18:1;;;33738:43;33797:18;;;33790:34;;;120682:20:0;;-1:-1:-1;;;;;;120750:15:0;;;;120776:21;;33630:18:1;;120776:54:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;98155:942::-;-1:-1:-1;;;;;98235:16:0;;98227:61;;;;-1:-1:-1;;;98227:61:0;;34037:2:1;98227:61:0;;;34019:21:1;;;34056:18;;;34049:30;34115:34;34095:18;;;34088:62;34167:18;;98227:61:0;33835:356:1;98227:61:0;96361:4;95959:16;;;:7;:16;;;;;;-1:-1:-1;;;;;95959:16:0;96385:31;98299:58;;;;-1:-1:-1;;;98299:58:0;;34398:2:1;98299:58:0;;;34380:21:1;34437:2;34417:18;;;34410:30;34476;34456:18;;;34449:58;34524:18;;98299:58:0;34196:352:1;98299:58:0;98370:48;98399:1;98403:2;98407:7;98416:1;98370:20;:48::i;:::-;96361:4;95959:16;;;:7;:16;;;;;;-1:-1:-1;;;;;95959:16:0;96385:31;98508:58;;;;-1:-1:-1;;;98508:58:0;;34398:2:1;98508:58:0;;;34380:21:1;34437:2;34417:18;;;34410:30;34476;34456:18;;;34449:58;34524:18;;98508:58:0;34196:352:1;98508:58:0;-1:-1:-1;;;;;98915:13:0;;;;;;:9;:13;;;;;;;;:18;;98932:1;98915:18;;;98957:16;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;98957:21:0;;;;;98996:33;98965:7;;98915:13;;98996:33;;98915:13;;98996:33;125210:16:::1;125134:100:::0;:::o;108604:915::-;108871:1;108859:9;:13;108855:222;;;109002:63;;-1:-1:-1;;;109002:63:0;;34755:2:1;109002:63:0;;;34737:21:1;34794:2;34774:18;;;34767:30;34833:34;34813:18;;;34806:62;-1:-1:-1;;;34884:18:1;;;34877:51;34945:19;;109002:63:0;34553:417:1;108855:222:0;109107:12;-1:-1:-1;;;;;109136:18:0;;109132:187;;109171:40;109203:7;110346:10;:17;;110319:24;;;;:15;:24;;;;;:44;;;110374:24;;;;;;;;;;;;110242:164;109171:40;109132:187;;;109241:2;-1:-1:-1;;;;;109233:10:0;:4;-1:-1:-1;;;;;109233:10:0;;109229:90;;109260:47;109293:4;109299:7;109260:32;:47::i;:::-;-1:-1:-1;;;;;109333:16:0;;109329:183;;109366:45;109403:7;109366:36;:45::i;:::-;109329:183;;;109439:4;-1:-1:-1;;;;;109433:10:0;:2;-1:-1:-1;;;;;109433:10:0;;109429:83;;109460:40;109488:2;109492:7;109460:27;:40::i;:::-;108770:749;108604:915;;;;:::o;103290:853::-;103444:4;-1:-1:-1;;;;;103465:13:0;;64415:19;:23;103461:675;;103501:71;;-1:-1:-1;;;103501:71:0;;-1:-1:-1;;;;;103501:36:0;;;;;:71;;59819:10;;103552:4;;103558:7;;103567:4;;103501:71;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;103501:71:0;;;;;;;;-1:-1:-1;;103501:71:0;;;;;;;;;;;;:::i;:::-;;;103497:584;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;103742:6;:13;103759:1;103742:18;103738:328;;103785:60;;-1:-1:-1;;;103785:60:0;;;;;;;:::i;103738:328::-;104016:6;104010:13;104001:6;103997:2;103993:15;103986:38;103497:584;-1:-1:-1;;;;;;103623:51:0;-1:-1:-1;;;103623:51:0;;-1:-1:-1;103616:58:0;;103461:675;-1:-1:-1;104120:4:0;103290:853;;;;;;:::o;53492:948::-;53545:7;;-1:-1:-1;;;53623:17:0;;53619:106;;-1:-1:-1;;;53661:17:0;;;-1:-1:-1;53707:2:0;53697:12;53619:106;53752:8;53743:5;:17;53739:106;;53790:8;53781:17;;;-1:-1:-1;53827:2:0;53817:12;53739:106;53872:8;53863:5;:17;53859:106;;53910:8;53901:17;;;-1:-1:-1;53947:2:0;53937:12;53859:106;53992:7;53983:5;:16;53979:103;;54029:7;54020:16;;;-1:-1:-1;54065:1:0;54055:11;53979:103;54109:7;54100:5;:16;54096:103;;54146:7;54137:16;;;-1:-1:-1;54182:1:0;54172:11;54096:103;54226:7;54217:5;:16;54213:103;;54263:7;54254:16;;;-1:-1:-1;54299:1:0;54289:11;54213:103;54343:7;54334:5;:16;54330:68;;54381:1;54371:11;54426:6;53492:948;-1:-1:-1;;53492:948:0:o;111033:988::-;111299:22;111349:1;111324:22;111341:4;111324:16;:22::i;:::-;:26;;;;:::i;:::-;111361:18;111382:26;;;:17;:26;;;;;;111299:51;;-1:-1:-1;111515:28:0;;;111511:328;;-1:-1:-1;;;;;111582:18:0;;111560:19;111582:18;;;:12;:18;;;;;;;;:34;;;;;;;;;111633:30;;;;;;:44;;;111750:30;;:17;:30;;;;;:43;;;111511:328;-1:-1:-1;111935:26:0;;;;:17;:26;;;;;;;;111928:33;;;-1:-1:-1;;;;;111979:18:0;;;;;:12;:18;;;;;:34;;;;;;;111972:41;111033:988::o;112316:1079::-;112594:10;:17;112569:22;;112594:21;;112614:1;;112594:21;:::i;:::-;112626:18;112647:24;;;:15;:24;;;;;;113020:10;:26;;112569:46;;-1:-1:-1;112647:24:0;;112569:46;;113020:26;;;;;;:::i;:::-;;;;;;;;;112998:48;;113084:11;113059:10;113070;113059:22;;;;;;;;:::i;:::-;;;;;;;;;;;;:36;;;;113164:28;;;:15;:28;;;;;;;:41;;;113336:24;;;;;113329:31;113371:10;:16;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;112387:1008;;;112316:1079;:::o;109820:221::-;109905:14;109922:20;109939:2;109922:16;:20::i;:::-;-1:-1:-1;;;;;109953:16:0;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;109998:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;109820:221:0:o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;14:131:1:-;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:250::-;677:1;687:113;701:6;698:1;695:13;687:113;;;777:11;;;771:18;758:11;;;751:39;723:2;716:10;687:113;;;-1:-1:-1;;834:1:1;816:16;;809:27;592:250::o;847:271::-;889:3;927:5;921:12;954:6;949:3;942:19;970:76;1039:6;1032:4;1027:3;1023:14;1016:4;1009:5;1005:16;970:76;:::i;:::-;1100:2;1079:15;-1:-1:-1;;1075:29:1;1066:39;;;;1107:4;1062:50;;847:271;-1:-1:-1;;847:271:1:o;1123:220::-;1272:2;1261:9;1254:21;1235:4;1292:45;1333:2;1322:9;1318:18;1310:6;1292:45;:::i;1348:180::-;1407:6;1460:2;1448:9;1439:7;1435:23;1431:32;1428:52;;;1476:1;1473;1466:12;1428:52;-1:-1:-1;1499:23:1;;1348:180;-1:-1:-1;1348:180:1:o;1741:131::-;-1:-1:-1;;;;;1816:31:1;;1806:42;;1796:70;;1862:1;1859;1852:12;1877:315;1945:6;1953;2006:2;1994:9;1985:7;1981:23;1977:32;1974:52;;;2022:1;2019;2012:12;1974:52;2061:9;2048:23;2080:31;2105:5;2080:31;:::i;:::-;2130:5;2182:2;2167:18;;;;2154:32;;-1:-1:-1;;;1877:315:1:o;2197:1275::-;2633:4;2662:3;2692:2;2681:9;2674:21;2718:45;2759:2;2748:9;2744:18;2736:6;2718:45;:::i;:::-;2704:59;;2799:6;2794:2;2783:9;2779:18;2772:34;2854:9;2846:6;2842:22;2837:2;2826:9;2822:18;2815:50;2888:33;2914:6;2906;2888:33;:::i;:::-;2874:47;;2969:9;2961:6;2957:22;2952:2;2941:9;2937:18;2930:50;3003:33;3029:6;3021;3003:33;:::i;:::-;2989:47;;3085:9;3077:6;3073:22;3067:3;3056:9;3052:19;3045:51;3119:33;3145:6;3137;3119:33;:::i;:::-;3105:47;;3201:9;3193:6;3189:22;3183:3;3172:9;3168:19;3161:51;3235:33;3261:6;3253;3235:33;:::i;:::-;3221:47;;3317:9;3309:6;3305:22;3299:3;3288:9;3284:19;3277:51;3345:33;3371:6;3363;3345:33;:::i;:::-;3409:3;3394:19;;3387:35;;;;-1:-1:-1;;3453:3:1;3438:19;3431:35;3337:41;2197:1275;-1:-1:-1;;;;;;;2197:1275:1:o;3659:247::-;3718:6;3771:2;3759:9;3750:7;3746:23;3742:32;3739:52;;;3787:1;3784;3777:12;3739:52;3826:9;3813:23;3845:31;3870:5;3845:31;:::i;3911:2258::-;4103:4;4132:2;4172;4161:9;4157:18;4202:2;4191:9;4184:21;4225:6;4260;4254:13;4291:6;4283;4276:22;4317:2;4307:12;;4350:2;4339:9;4335:18;4328:25;;4412:2;4402:6;4399:1;4395:14;4384:9;4380:30;4376:39;4450:2;4442:6;4438:15;4471:1;4481:1659;4495:6;4492:1;4489:13;4481:1659;;;4588:2;4584:7;4572:9;4564:6;4560:22;4556:36;4551:3;4544:49;4622:6;4616:13;4652:6;4697:2;4691:9;4728:2;4720:6;4713:18;4758:48;4802:2;4794:6;4790:15;4776:12;4758:48;:::i;:::-;4744:62;;;4857:2;4853;4849:11;4843:18;4838:2;4830:6;4826:15;4819:43;4911:2;4907;4903:11;4897:18;4964:6;4956;4952:19;4947:2;4939:6;4935:15;4928:44;4999:41;5033:6;5017:14;4999:41;:::i;:::-;4985:55;;;5063:4;5116:2;5112;5108:11;5102:18;5169:6;5161;5157:19;5152:2;5144:6;5140:15;5133:44;5204:41;5238:6;5222:14;5204:41;:::i;:::-;5190:55;;;;5268:4;5321:2;5317;5313:11;5307:18;5374:6;5366;5362:19;5357:2;5349:6;5345:15;5338:44;5409:41;5443:6;5427:14;5409:41;:::i;:::-;5395:55;;;;5473:4;5526:2;5522;5518:11;5512:18;5579:6;5571;5567:19;5562:2;5554:6;5550:15;5543:44;5614:41;5648:6;5632:14;5614:41;:::i;:::-;5600:55;;;;5678:4;5731:2;5727;5723:11;5717:18;5784:6;5776;5772:19;5767:2;5759:6;5755:15;5748:44;5819:41;5853:6;5837:14;5819:41;:::i;:::-;5883:4;5930:11;;;5924:18;5907:15;;;5900:43;5967:6;6017:12;;;6011:19;5993:16;;;;5986:45;;;;-1:-1:-1;;;6118:12:1;;;;6083:15;;;;4517:1;4510:9;4481:1659;;;-1:-1:-1;6157:6:1;;3911:2258;-1:-1:-1;;;;;;;;3911:2258:1:o;6174:456::-;6251:6;6259;6267;6320:2;6308:9;6299:7;6295:23;6291:32;6288:52;;;6336:1;6333;6326:12;6288:52;6375:9;6362:23;6394:31;6419:5;6394:31;:::i;:::-;6444:5;-1:-1:-1;6501:2:1;6486:18;;6473:32;6514:33;6473:32;6514:33;:::i;:::-;6174:456;;6566:7;;-1:-1:-1;;;6620:2:1;6605:18;;;;6592:32;;6174:456::o;6857:367::-;6920:8;6930:6;6984:3;6977:4;6969:6;6965:17;6961:27;6951:55;;7002:1;6999;6992:12;6951:55;-1:-1:-1;7025:20:1;;-1:-1:-1;;;;;7057:30:1;;7054:50;;;7100:1;7097;7090:12;7054:50;7137:4;7129:6;7125:17;7113:29;;7197:3;7190:4;7180:6;7177:1;7173:14;7165:6;7161:27;7157:38;7154:47;7151:67;;;7214:1;7211;7204:12;7151:67;6857:367;;;;;:::o;7229:505::-;7324:6;7332;7340;7393:2;7381:9;7372:7;7368:23;7364:32;7361:52;;;7409:1;7406;7399:12;7361:52;7449:9;7436:23;-1:-1:-1;;;;;7474:6:1;7471:30;7468:50;;;7514:1;7511;7504:12;7468:50;7553:70;7615:7;7606:6;7595:9;7591:22;7553:70;:::i;:::-;7642:8;;7527:96;;-1:-1:-1;7724:2:1;7709:18;;;;7696:32;;7229:505;-1:-1:-1;;;;7229:505:1:o;7739:803::-;7901:4;7930:2;7970;7959:9;7955:18;8000:2;7989:9;7982:21;8023:6;8058;8052:13;8089:6;8081;8074:22;8127:2;8116:9;8112:18;8105:25;;8189:2;8179:6;8176:1;8172:14;8161:9;8157:30;8153:39;8139:53;;8227:2;8219:6;8215:15;8248:1;8258:255;8272:6;8269:1;8266:13;8258:255;;;8365:2;8361:7;8349:9;8341:6;8337:22;8333:36;8328:3;8321:49;8393:40;8426:6;8417;8411:13;8393:40;:::i;:::-;8383:50;-1:-1:-1;8491:12:1;;;;8456:15;;;;8294:1;8287:9;8258:255;;;-1:-1:-1;8530:6:1;;7739:803;-1:-1:-1;;;;;;;7739:803:1:o;8547:127::-;8608:10;8603:3;8599:20;8596:1;8589:31;8639:4;8636:1;8629:15;8663:4;8660:1;8653:15;8679:632;8744:5;-1:-1:-1;;;;;8815:2:1;8807:6;8804:14;8801:40;;;8821:18;;:::i;:::-;8896:2;8890:9;8864:2;8950:15;;-1:-1:-1;;8946:24:1;;;8972:2;8942:33;8938:42;8926:55;;;8996:18;;;9016:22;;;8993:46;8990:72;;;9042:18;;:::i;:::-;9082:10;9078:2;9071:22;9111:6;9102:15;;9141:6;9133;9126:22;9181:3;9172:6;9167:3;9163:16;9160:25;9157:45;;;9198:1;9195;9188:12;9157:45;9248:6;9243:3;9236:4;9228:6;9224:17;9211:44;9303:1;9296:4;9287:6;9279;9275:19;9271:30;9264:41;;;;8679:632;;;;;:::o;9316:222::-;9359:5;9412:3;9405:4;9397:6;9393:17;9389:27;9379:55;;9430:1;9427;9420:12;9379:55;9452:80;9528:3;9519:6;9506:20;9499:4;9491:6;9487:17;9452:80;:::i;9543:322::-;9612:6;9665:2;9653:9;9644:7;9640:23;9636:32;9633:52;;;9681:1;9678;9671:12;9633:52;9721:9;9708:23;-1:-1:-1;;;;;9746:6:1;9743:30;9740:50;;;9786:1;9783;9776:12;9740:50;9809;9851:7;9842:6;9831:9;9827:22;9809:50;:::i;9870:437::-;9956:6;9964;10017:2;10005:9;9996:7;9992:23;9988:32;9985:52;;;10033:1;10030;10023:12;9985:52;10073:9;10060:23;-1:-1:-1;;;;;10098:6:1;10095:30;10092:50;;;10138:1;10135;10128:12;10092:50;10177:70;10239:7;10230:6;10219:9;10215:22;10177:70;:::i;:::-;10266:8;;10151:96;;-1:-1:-1;9870:437:1;-1:-1:-1;;;;9870:437:1:o;10978:405::-;11053:6;11061;11069;11122:2;11110:9;11101:7;11097:23;11093:32;11090:52;;;11138:1;11135;11128:12;11090:52;11177:9;11164:23;11227:4;11220:5;11216:16;11209:5;11206:27;11196:55;;11247:1;11244;11237:12;11196:55;11270:5;11322:2;11307:18;;11294:32;;-1:-1:-1;11373:2:1;11358:18;;;11345:32;;10978:405;-1:-1:-1;;;10978:405:1:o;11388:1484::-;11570:6;11578;11586;11594;11602;11610;11618;11626;11679:3;11667:9;11658:7;11654:23;11650:33;11647:53;;;11696:1;11693;11686:12;11647:53;11732:9;11719:23;11709:33;;11793:2;11782:9;11778:18;11765:32;-1:-1:-1;;;;;11857:2:1;11849:6;11846:14;11843:34;;;11873:1;11870;11863:12;11843:34;11896:50;11938:7;11929:6;11918:9;11914:22;11896:50;:::i;:::-;11886:60;;11999:2;11988:9;11984:18;11971:32;11955:48;;12028:2;12018:8;12015:16;12012:36;;;12044:1;12041;12034:12;12012:36;12067:52;12111:7;12100:8;12089:9;12085:24;12067:52;:::i;:::-;12057:62;;12172:2;12161:9;12157:18;12144:32;12128:48;;12201:2;12191:8;12188:16;12185:36;;;12217:1;12214;12207:12;12185:36;12240:52;12284:7;12273:8;12262:9;12258:24;12240:52;:::i;:::-;12230:62;;12345:3;12334:9;12330:19;12317:33;12301:49;;12375:2;12365:8;12362:16;12359:36;;;12391:1;12388;12381:12;12359:36;12414:52;12458:7;12447:8;12436:9;12432:24;12414:52;:::i;:::-;12404:62;;12519:3;12508:9;12504:19;12491:33;12475:49;;12549:2;12539:8;12536:16;12533:36;;;12565:1;12562;12555:12;12533:36;12588:52;12632:7;12621:8;12610:9;12606:24;12588:52;:::i;:::-;12578:62;;12693:3;12682:9;12678:19;12665:33;12649:49;;12723:2;12713:8;12710:16;12707:36;;;12739:1;12736;12729:12;12707:36;;12762:52;12806:7;12795:8;12784:9;12780:24;12762:52;:::i;:::-;12752:62;;;12861:3;12850:9;12846:19;12833:33;12823:43;;11388:1484;;;;;;;;;;;:::o;13143:388::-;13211:6;13219;13272:2;13260:9;13251:7;13247:23;13243:32;13240:52;;;13288:1;13285;13278:12;13240:52;13327:9;13314:23;13346:31;13371:5;13346:31;:::i;:::-;13396:5;-1:-1:-1;13453:2:1;13438:18;;13425:32;13466:33;13425:32;13466:33;:::i;:::-;13518:7;13508:17;;;13143:388;;;;;:::o;13536:118::-;13622:5;13615:13;13608:21;13601:5;13598:32;13588:60;;13644:1;13641;13634:12;13659:382;13724:6;13732;13785:2;13773:9;13764:7;13760:23;13756:32;13753:52;;;13801:1;13798;13791:12;13753:52;13840:9;13827:23;13859:31;13884:5;13859:31;:::i;:::-;13909:5;-1:-1:-1;13966:2:1;13951:18;;13938:32;13979:30;13938:32;13979:30;:::i;14046:795::-;14141:6;14149;14157;14165;14218:3;14206:9;14197:7;14193:23;14189:33;14186:53;;;14235:1;14232;14225:12;14186:53;14274:9;14261:23;14293:31;14318:5;14293:31;:::i;:::-;14343:5;-1:-1:-1;14400:2:1;14385:18;;14372:32;14413:33;14372:32;14413:33;:::i;:::-;14465:7;-1:-1:-1;14519:2:1;14504:18;;14491:32;;-1:-1:-1;14574:2:1;14559:18;;14546:32;-1:-1:-1;;;;;14590:30:1;;14587:50;;;14633:1;14630;14623:12;14587:50;14656:22;;14709:4;14701:13;;14697:27;-1:-1:-1;14687:55:1;;14738:1;14735;14728:12;14687:55;14761:74;14827:7;14822:2;14809:16;14804:2;14800;14796:11;14761:74;:::i;:::-;14751:84;;;14046:795;;;;;;;:::o;14846:592::-;14959:6;14967;14975;14983;14991;14999;15007;15060:3;15048:9;15039:7;15035:23;15031:33;15028:53;;;15077:1;15074;15067:12;15028:53;-1:-1:-1;;15100:23:1;;;15170:2;15155:18;;15142:32;;-1:-1:-1;15221:2:1;15206:18;;15193:32;;15272:2;15257:18;;15244:32;;-1:-1:-1;15323:3:1;15308:19;;15295:33;;-1:-1:-1;15375:3:1;15360:19;;15347:33;;-1:-1:-1;15427:3:1;15412:19;15399:33;;-1:-1:-1;14846:592:1;-1:-1:-1;14846:592:1:o;15443:316::-;15520:6;15528;15536;15589:2;15577:9;15568:7;15564:23;15560:32;15557:52;;;15605:1;15602;15595:12;15557:52;-1:-1:-1;;15628:23:1;;;15698:2;15683:18;;15670:32;;-1:-1:-1;15749:2:1;15734:18;;;15721:32;;15443:316;-1:-1:-1;15443:316:1:o;15764:743::-;15871:6;15879;15887;15940:2;15928:9;15919:7;15915:23;15911:32;15908:52;;;15956:1;15953;15946:12;15908:52;15996:9;15983:23;-1:-1:-1;;;;;16066:2:1;16058:6;16055:14;16052:34;;;16082:1;16079;16072:12;16052:34;16105:50;16147:7;16138:6;16127:9;16123:22;16105:50;:::i;:::-;16095:60;;16208:2;16197:9;16193:18;16180:32;16164:48;;16237:2;16227:8;16224:16;16221:36;;;16253:1;16250;16243:12;16221:36;16276:52;16320:7;16309:8;16298:9;16294:24;16276:52;:::i;:::-;16266:62;;16381:2;16370:9;16366:18;16353:32;16337:48;;16410:2;16400:8;16397:16;16394:36;;;16426:1;16423;16416:12;16394:36;;16449:52;16493:7;16482:8;16471:9;16467:24;16449:52;:::i;:::-;16439:62;;;15764:743;;;;;:::o;16512:248::-;16580:6;16588;16641:2;16629:9;16620:7;16616:23;16612:32;16609:52;;;16657:1;16654;16647:12;16609:52;-1:-1:-1;;16680:23:1;;;16750:2;16735:18;;;16722:32;;-1:-1:-1;16512:248:1:o;16765:390::-;16843:6;16851;16904:2;16892:9;16883:7;16879:23;16875:32;16872:52;;;16920:1;16917;16910:12;16872:52;16960:9;16947:23;-1:-1:-1;;;;;16985:6:1;16982:30;16979:50;;;17025:1;17022;17015:12;16979:50;17048;17090:7;17081:6;17070:9;17066:22;17048:50;:::i;:::-;17038:60;17145:2;17130:18;;;;17117:32;;-1:-1:-1;;;;16765:390:1:o;17160:380::-;17239:1;17235:12;;;;17282;;;17303:61;;17357:4;17349:6;17345:17;17335:27;;17303:61;17410:2;17402:6;17399:14;17379:18;17376:38;17373:161;;17456:10;17451:3;17447:20;17444:1;17437:31;17491:4;17488:1;17481:15;17519:4;17516:1;17509:15;17373:161;;17160:380;;;:::o;18377:127::-;18438:10;18433:3;18429:20;18426:1;18419:31;18469:4;18466:1;18459:15;18493:4;18490:1;18483:15;18509:127;18570:10;18565:3;18561:20;18558:1;18551:31;18601:4;18598:1;18591:15;18625:4;18622:1;18615:15;18641:135;18680:3;18701:17;;;18698:43;;18721:18;;:::i;:::-;-1:-1:-1;18768:1:1;18757:13;;18641:135::o;18781:409::-;18983:2;18965:21;;;19022:2;19002:18;;;18995:30;19061:34;19056:2;19041:18;;19034:62;-1:-1:-1;;;19127:2:1;19112:18;;19105:43;19180:3;19165:19;;18781:409::o;19195:339::-;19397:2;19379:21;;;19436:2;19416:18;;;19409:30;-1:-1:-1;;;19470:2:1;19455:18;;19448:45;19525:2;19510:18;;19195:339::o;19951:345::-;20153:2;20135:21;;;20192:2;20172:18;;;20165:30;-1:-1:-1;;;20226:2:1;20211:18;;20204:51;20287:2;20272:18;;19951:345::o;20767:545::-;20869:2;20864:3;20861:11;20858:448;;;20905:1;20930:5;20926:2;20919:17;20975:4;20971:2;20961:19;21045:2;21033:10;21029:19;21026:1;21022:27;21016:4;21012:38;21081:4;21069:10;21066:20;21063:47;;;-1:-1:-1;21104:4:1;21063:47;21159:2;21154:3;21150:12;21147:1;21143:20;21137:4;21133:31;21123:41;;21214:82;21232:2;21225:5;21222:13;21214:82;;;21277:17;;;21258:1;21247:13;21214:82;;;21218:3;;;20767:545;;;:::o;21488:1352::-;21614:3;21608:10;-1:-1:-1;;;;;21633:6:1;21630:30;21627:56;;;21663:18;;:::i;:::-;21692:97;21782:6;21742:38;21774:4;21768:11;21742:38;:::i;:::-;21736:4;21692:97;:::i;:::-;21844:4;;21908:2;21897:14;;21925:1;21920:663;;;;22627:1;22644:6;22641:89;;;-1:-1:-1;22696:19:1;;;22690:26;22641:89;-1:-1:-1;;21445:1:1;21441:11;;;21437:24;21433:29;21423:40;21469:1;21465:11;;;21420:57;22743:81;;21890:944;;21920:663;20714:1;20707:14;;;20751:4;20738:18;;-1:-1:-1;;21956:20:1;;;22074:236;22088:7;22085:1;22082:14;22074:236;;;22177:19;;;22171:26;22156:42;;22269:27;;;;22237:1;22225:14;;;;22104:19;;22074:236;;;22078:3;22338:6;22329:7;22326:19;22323:201;;;22399:19;;;22393:26;-1:-1:-1;;22482:1:1;22478:14;;;22494:3;22474:24;22470:37;22466:42;22451:58;22436:74;;22323:201;-1:-1:-1;;;;;22570:1:1;22554:14;;;22550:22;22537:36;;-1:-1:-1;21488:1352:1:o;23611:332::-;23813:2;23795:21;;;23852:1;23832:18;;;23825:29;-1:-1:-1;;;23885:2:1;23870:18;;23863:39;23934:2;23919:18;;23611:332::o;23948:125::-;24013:9;;;24034:10;;;24031:36;;;24047:18;;:::i;24832:289::-;24963:3;25001:6;24995:13;25017:66;25076:6;25071:3;25064:4;25056:6;25052:17;25017:66;:::i;:::-;25099:16;;;;;24832:289;-1:-1:-1;;24832:289:1:o;26489:604::-;26822:3;26860:6;26854:13;26876:66;26935:6;26930:3;26923:4;26915:6;26911:17;26876:66;:::i;:::-;-1:-1:-1;;;26964:16:1;;26989:28;;;-1:-1:-1;;;;27044:2:1;27033:14;;27026:31;27084:2;27073:14;;26489:604;-1:-1:-1;26489:604:1:o;27098:663::-;27378:3;27416:6;27410:13;27432:66;27491:6;27486:3;27479:4;27471:6;27467:17;27432:66;:::i;:::-;27561:13;;27520:16;;;;27583:70;27561:13;27520:16;27630:4;27618:17;;27583:70;:::i;:::-;-1:-1:-1;;;27675:20:1;;27704:22;;;27753:1;27742:13;;27098:663;-1:-1:-1;;;;27098:663:1:o;27766:597::-;28099:3;28137:6;28131:13;28153:66;28212:6;28207:3;28200:4;28192:6;28188:17;28153:66;:::i;:::-;-1:-1:-1;;;28241:16:1;;28266:22;;;-1:-1:-1;;;;28315:1:1;28304:13;;28297:30;28354:2;28343:14;;27766:597;-1:-1:-1;27766:597:1:o;29679:245::-;29746:6;29799:2;29787:9;29778:7;29774:23;29770:32;29767:52;;;29815:1;29812;29805:12;29767:52;29847:9;29841:16;29866:28;29888:5;29866:28;:::i;30336:401::-;30538:2;30520:21;;;30577:2;30557:18;;;30550:30;30616:34;30611:2;30596:18;;30589:62;-1:-1:-1;;;30682:2:1;30667:18;;30660:35;30727:3;30712:19;;30336:401::o;32222:414::-;32424:2;32406:21;;;32463:2;32443:18;;;32436:30;32502:34;32497:2;32482:18;;32475:62;-1:-1:-1;;;32568:2:1;32553:18;;32546:48;32626:3;32611:19;;32222:414::o;32773:168::-;32846:9;;;32877;;32894:15;;;32888:22;;32874:37;32864:71;;32915:18;;:::i;32946:217::-;32986:1;33012;33002:132;;33056:10;33051:3;33047:20;33044:1;33037:31;33091:4;33088:1;33081:15;33119:4;33116:1;33109:15;33002:132;-1:-1:-1;33148:9:1;;32946:217::o;34975:489::-;-1:-1:-1;;;;;35244:15:1;;;35226:34;;35296:15;;35291:2;35276:18;;35269:43;35343:2;35328:18;;35321:34;;;35391:3;35386:2;35371:18;;35364:31;;;35169:4;;35412:46;;35438:19;;35430:6;35412:46;:::i;:::-;35404:54;34975:489;-1:-1:-1;;;;;;34975:489:1:o;35469:249::-;35538:6;35591:2;35579:9;35570:7;35566:23;35562:32;35559:52;;;35607:1;35604;35597:12;35559:52;35639:9;35633:16;35658:30;35682:5;35658:30;:::i;35723:128::-;35790:9;;;35811:11;;;35808:37;;;35825:18;;:::i;35856:127::-;35917:10;35912:3;35908:20;35905:1;35898:31;35948:4;35945:1;35938:15;35972:4;35969:1;35962:15
Swarm Source
ipfs://52de929b834ca1595a4a53527a73a2c6e87bfceae664273b37a742848276a35c
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.