ERC-721
Overview
Max Total Supply
1,830 Smol Moe
Holders
690
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 Smol MoeLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
SmolMoe
Compiler Version
v0.8.17+commit.8df45f5f
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-01-16 */ // SPDX-License-Identifier: MIT // File: @openzeppelin/contracts/utils/cryptography/MerkleProof.sol // OpenZeppelin Contracts (last updated v4.8.0) (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Tree proofs. * * The tree and the proofs can be generated using our * https://github.com/OpenZeppelin/merkle-tree[JavaScript library]. * You will find a quickstart guide in the readme. * * WARNING: You should avoid using leaf values that are 64 bytes long prior to * hashing, or use a hash function other than keccak256 for hashing leaves. * This is because the concatenation of a sorted pair of internal nodes in * the merkle tree could be reinterpreted as a leaf value. * OpenZeppelin's JavaScript library generates merkle trees that are safe * against this attack out of the box. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Calldata version of {verify} * * _Available since v4.7._ */ function verifyCalldata( bytes32[] calldata proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProofCalldata(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merkle tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. * * _Available since v4.4._ */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Calldata version of {processProof} * * _Available since v4.7._ */ function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Returns true if the `leaves` can be simultaneously proven to be a part of a merkle tree defined by * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}. * * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details. * * _Available since v4.7._ */ function multiProofVerify( bytes32[] memory proof, bool[] memory proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProof(proof, proofFlags, leaves) == root; } /** * @dev Calldata version of {multiProofVerify} * * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details. * * _Available since v4.7._ */ function multiProofVerifyCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProofCalldata(proof, proofFlags, leaves) == root; } /** * @dev Returns the root of a tree reconstructed from `leaves` and sibling nodes in `proof`. The reconstruction * proceeds by incrementally reconstructing all inner nodes by combining a leaf/inner node with either another * leaf/inner node or a proof sibling node, depending on whether each `proofFlags` item is true or false * respectively. * * CAUTION: Not all merkle trees admit multiproofs. To use multiproofs, it is sufficient to ensure that: 1) the tree * is complete (but not necessarily perfect), 2) the leaves to be proven are in the opposite order they are in the * tree (i.e., as seen from right to left starting at the deepest layer and continuing at the next layer). * * _Available since v4.7._ */ function processMultiProof( bytes32[] memory proof, bool[] memory proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof"); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { return hashes[totalHashes - 1]; } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } /** * @dev Calldata version of {processMultiProof}. * * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details. * * _Available since v4.7._ */ function processMultiProofCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof"); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { return hashes[totalHashes - 1]; } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) { return a < b ? _efficientHash(a, b) : _efficientHash(b, a); } function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) { /// @solidity memory-safe-assembly assembly { mstore(0x00, a) mstore(0x20, b) value := keccak256(0x00, 0x40) } } } // File: @openzeppelin/contracts/utils/math/Math.sol // OpenZeppelin Contracts (last updated v4.8.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) { return prod0 / denominator; } // Make sure the result is less than 2^256. Also prevents denominator == 0. require(denominator > prod1); /////////////////////////////////////////////// // 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 10, 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 * 8) < value ? 1 : 0); } } } // File: @openzeppelin/contracts/utils/Strings.sol // OpenZeppelin Contracts (last updated v4.8.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 `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); } } // 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.7.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 anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing 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.8.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 * ==== * * [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://diligence.consensys.net/posts/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.5.11/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/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.8.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/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: erc721a/contracts/ERC721A.sol // Creator: Chiru Labs pragma solidity ^0.8.4; error ApprovalCallerNotOwnerNorApproved(); error ApprovalQueryForNonexistentToken(); error ApproveToCaller(); error ApprovalToCurrentOwner(); error BalanceQueryForZeroAddress(); error MintToZeroAddress(); error MintZeroQuantity(); error OwnerQueryForNonexistentToken(); error TransferCallerNotOwnerNorApproved(); error TransferFromIncorrectOwner(); error TransferToNonERC721ReceiverImplementer(); error TransferToZeroAddress(); error URIQueryForNonexistentToken(); /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at _startTokenId() (defaults to 0, e.g. 0, 1, 2, 3..). * * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Compiler will pack this into a single 256bit word. struct TokenOwnership { // The address of the owner. address addr; // Keeps track of the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; } // Compiler will pack this into a single 256bit word. struct AddressData { // Realistically, 2**64-1 is more than enough. uint64 balance; // Keeps track of mint count with minimal overhead for tokenomics. uint64 numberMinted; // Keeps track of burn count with minimal overhead for tokenomics. uint64 numberBurned; // For miscellaneous variable(s) pertaining to the address // (e.g. number of whitelist mint slots used). // If there are multiple variables, please pack them into a uint64. uint64 aux; } // The tokenId of the next token to be minted. uint256 internal _currentIndex; // The number of tokens burned. uint256 internal _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. See _ownershipOf implementation for details. mapping(uint256 => TokenOwnership) internal _ownerships; // Mapping owner address to address data mapping(address => AddressData) private _addressData; // 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; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } /** * To change the starting tokenId, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Burned tokens are calculated here, use _totalMinted() if you want to count just minted tokens. */ function totalSupply() public view returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than _currentIndex - _startTokenId() times unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view returns (uint256) { // Counter underflow is impossible as _currentIndex does not decrement, // and it is initialized to _startTokenId() unchecked { return _currentIndex - _startTokenId(); } } /** * @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 override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return uint256(_addressData[owner].balance); } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return uint256(_addressData[owner].numberMinted); } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return uint256(_addressData[owner].numberBurned); } /** * Returns the auxillary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return _addressData[owner].aux; } /** * Sets the auxillary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal { _addressData[owner].aux = aux; } /** * Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around in the collection over time. */ function _ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr && curr < _currentIndex) { TokenOwnership memory ownership = _ownerships[curr]; if (!ownership.burned) { if (ownership.addr != address(0)) { return ownership; } // Invariant: // There will always be an ownership that has an address and is not burned // before an ownership that does not have an address and is not burned. // Hence, curr will not underflow. while (true) { curr--; ownership = _ownerships[curr]; if (ownership.addr != address(0)) { return ownership; } } } } } revert OwnerQueryForNonexistentToken(); } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return _ownershipOf(tokenId).addr; } /** * @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) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); 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 overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public override { address owner = ERC721A.ownerOf(tokenId); if (to == owner) revert ApprovalToCurrentOwner(); if (_msgSender() != owner && !isApprovedForAll(owner, _msgSender())) { revert ApprovalCallerNotOwnerNorApproved(); } _approve(to, tokenId, owner); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { if (operator == _msgSender()) revert ApproveToCaller(); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_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 { _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 { _transfer(from, to, tokenId); if (to.isContract() && !_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @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`), */ function _exists(uint256 tokenId) internal view returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && !_ownerships[tokenId].burned; } function _safeMint(address to, uint256 quantity) internal { _safeMint(to, quantity, ''); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal { _mint(to, quantity, _data, true); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _mint( address to, uint256 quantity, bytes memory _data, bool safe ) internal { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1 // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1 unchecked { _addressData[to].balance += uint64(quantity); _addressData[to].numberMinted += uint64(quantity); _ownerships[startTokenId].addr = to; _ownerships[startTokenId].startTimestamp = uint64(block.timestamp); uint256 updatedIndex = startTokenId; uint256 end = updatedIndex + quantity; if (safe && to.isContract()) { do { emit Transfer(address(0), to, updatedIndex); if (!_checkContractOnERC721Received(address(0), to, updatedIndex++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (updatedIndex != end); // Reentrancy protection if (_currentIndex != startTokenId) revert(); } else { do { emit Transfer(address(0), to, updatedIndex++); } while (updatedIndex != end); } _currentIndex = updatedIndex; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Transfers `tokenId` from `from` to `to`. * * 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 ) private { TokenOwnership memory prevOwnership = _ownershipOf(tokenId); if (prevOwnership.addr != from) revert TransferFromIncorrectOwner(); bool isApprovedOrOwner = (_msgSender() == from || isApprovedForAll(from, _msgSender()) || getApproved(tokenId) == _msgSender()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, from); // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { _addressData[from].balance -= 1; _addressData[to].balance += 1; TokenOwnership storage currSlot = _ownerships[tokenId]; currSlot.addr = to; currSlot.startTimestamp = uint64(block.timestamp); // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; TokenOwnership storage nextSlot = _ownerships[nextTokenId]; if (nextSlot.addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId != _currentIndex) { nextSlot.addr = from; nextSlot.startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev This is equivalent to _burn(tokenId, false) */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { TokenOwnership memory prevOwnership = _ownershipOf(tokenId); address from = prevOwnership.addr; if (approvalCheck) { bool isApprovedOrOwner = (_msgSender() == from || isApprovedForAll(from, _msgSender()) || getApproved(tokenId) == _msgSender()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, from); // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { AddressData storage addressData = _addressData[from]; addressData.balance -= 1; addressData.numberBurned += 1; // Keep track of who burned the token, and the timestamp of burning. TokenOwnership storage currSlot = _ownerships[tokenId]; currSlot.addr = from; currSlot.startTimestamp = uint64(block.timestamp); currSlot.burned = true; // If the ownership slot of tokenId+1 is not explicitly set, that means the burn initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; TokenOwnership storage nextSlot = _ownerships[nextTokenId]; if (nextSlot.addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId != _currentIndex) { nextSlot.addr = from; nextSlot.startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve( address to, uint256 tokenId, address owner ) private { _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target 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 _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } /** * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting. * And also called before burning one token. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes * minting. * And also called after one token has been burned. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} } // File: @openzeppelin/contracts/security/ReentrancyGuard.sol // OpenZeppelin Contracts (last updated v4.8.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; } } // File: contracts/moe-contract.sol pragma solidity ^0.8.17; contract SmolMoe is ERC721A, Ownable, ReentrancyGuard { using Strings for uint256; uint256 public constant STAGE_STOPPED = 0; uint256 public constant STAGE_PHASE1 = 1; uint256 public constant STAGE_PHASE2 = 2; uint256 public currentStage = STAGE_STOPPED; uint256 public tokenPriceWhitelist = 0.00 ether; uint256 public tokenPricePublic = 0.01 ether; uint256 public phase2Price = 0 ether; uint256 public phase2PriceIncrement = 0 ether; uint256 public maxTokensPerTransaction = 50; uint256 public maxTokensPerAddressPublicPhase1 = 50; uint256 public maxTokensPerAddressWhiteListPhase1 = 2; uint256 public maxTokensPerAddressPublicPhase2 = 0; uint256 public phase1Limit = 4444; uint256 public phase1WhitelistLimit = 2222; uint256 public phase2Limit = 0; bytes32 public whitelistRoot = 0x7f8f2969d051285c3bd1907b995e12b41909e6c852fba511463e9b49356212a9; string public tokenBaseURI = "ipfs://QmeZXzYhy1k5LQyFiZRADpJ5kvc7xpJpceQbNBmVGHJE5Y/"; uint256 public soldAmount = 0; uint256 public soldAmountPhase2 = 0; mapping(address => uint256) public purchased; constructor() ERC721A("Smol Moe", "Smol Moe") { } function setTokenPriceWhitelist(uint256 val) external onlyOwner { tokenPriceWhitelist = val; } function setTokenPricePublic(uint256 val) external onlyOwner { tokenPricePublic = val; } function setPhase2Price(uint256 val) external onlyOwner { phase2Price = val; } function setPhase2PriceIncrement(uint256 val) external onlyOwner { phase2PriceIncrement = val; } function setMaxTokensPerAddressPublicPhase1(uint256 val) external onlyOwner { maxTokensPerAddressPublicPhase1 = val; } function setMaxTokensPerAddressWhiteListPhase1 (uint256 val) external onlyOwner { maxTokensPerAddressWhiteListPhase1 = val; } function setMaxTokensPerAddressPublicPhase2(uint256 val) external onlyOwner { maxTokensPerAddressPublicPhase2 = val; } function setMaxTokensPerTransaction(uint256 val) external onlyOwner { maxTokensPerTransaction = val; } function setPhase1Limit(uint256 val) external onlyOwner { phase1Limit = val; } function setPhase1WhitelistLimit(uint256 val) external onlyOwner { phase1WhitelistLimit = val; } function setPhase2Limit(uint256 val) external onlyOwner { phase2Limit = val; } function stopSale() external onlyOwner { currentStage = STAGE_STOPPED; } function startPhase1() external onlyOwner { currentStage = STAGE_PHASE1; } function startPhase2() external onlyOwner { currentStage = STAGE_PHASE2; } function startPhase2WithInfo( uint256 _maxTokensPerAddressPublicPhase2, uint256 _phase2Limit, uint256 _phase2Price, uint256 _phase2PriceIncrement, uint256 _maxTokensPerTransaction) external onlyOwner { maxTokensPerAddressPublicPhase2 = _maxTokensPerAddressPublicPhase2; phase2Limit = _phase2Limit; phase2Price = _phase2Price; phase2PriceIncrement = _phase2PriceIncrement; maxTokensPerTransaction = _maxTokensPerTransaction; currentStage = STAGE_PHASE2; } function _baseURI() internal view override(ERC721A) returns (string memory) { return tokenBaseURI; } function setBaseURI(string calldata URI) external onlyOwner { tokenBaseURI = URI; } function withdraw() external onlyOwner { require(payable(msg.sender).send(address(this).balance)); } function tokenURI(uint256 tokenId) public view override(ERC721A) returns (string memory) { return string(abi.encodePacked(super.tokenURI(tokenId), ".json")); } function _startTokenId() internal pure override(ERC721A) returns (uint256) { return 1; } function setWhitelistRoot(bytes32 val) external onlyOwner { whitelistRoot = val; } function tokenPrice(address target, bytes32[] memory proof) public view returns (uint256) { bytes32 leaf = keccak256(abi.encodePacked(target)); if (currentStage == STAGE_PHASE1) { uint256 tokensLeftWhitelist = safeSub(phase1WhitelistLimit, soldAmount); if (MerkleProof.verify(proof, whitelistRoot, leaf) && purchased[target] < maxTokensPerAddressWhiteListPhase1 && tokensLeftWhitelist > 0) { return tokenPriceWhitelist; } else { return tokenPricePublic; } } else if(currentStage == STAGE_PHASE2) { return phase2Price + phase2PriceIncrement * soldAmountPhase2; } else { return 0; } } function getMaxTokensForPhase(address target, bytes32[] memory proof) public view returns (uint256) { bytes32 leaf = keccak256(abi.encodePacked(target)); if (currentStage == STAGE_STOPPED) { return 0; }else if (currentStage == STAGE_PHASE1) { uint256 tokensLeftWhitelist = safeSub(phase1WhitelistLimit, soldAmount); if (MerkleProof.verify(proof, whitelistRoot, leaf) && purchased[target] < maxTokensPerAddressWhiteListPhase1 && tokensLeftWhitelist > 0) { return min(tokensLeftWhitelist, maxTokensPerAddressWhiteListPhase1); } else { return maxTokensPerAddressPublicPhase1; } }else if(currentStage == STAGE_PHASE2) { return maxTokensPerAddressPublicPhase2; }else { return 0; } } function safeSub(uint256 a, uint256 b) internal pure returns (uint256) { if (a < b) { return 0; } return a - b; } function getMaxTokensAllowed(address target, bytes32[] memory proof) public view returns (uint256) { uint256 maxAllowedTokens = getMaxTokensForPhase(target, proof); uint256 tokensLeftForAddress = safeSub(maxAllowedTokens, purchased[target]); maxAllowedTokens = min(maxAllowedTokens, tokensLeftForAddress); if (currentStage == STAGE_PHASE1) { uint256 tokensLeftForPhase1 = safeSub(phase1Limit, soldAmount); maxAllowedTokens = min(maxAllowedTokens, tokensLeftForPhase1); } else if(currentStage == STAGE_PHASE2) { uint256 tokensLeftPhase2 = safeSub(phase2Limit, soldAmountPhase2); maxAllowedTokens = min(maxAllowedTokens, tokensLeftPhase2); } maxAllowedTokens = min(maxAllowedTokens, maxTokensPerTransaction); return maxAllowedTokens; } function getContractInfo(address target, bytes32[] memory proof) external view returns ( uint256 _currentStage, uint256 _maxTokensAllowed, uint256 _tokenPrice, uint256 _phase2PriceIncrement, uint256 _soldAmount, uint256 _totalForSale, uint256 _purchasedAmount, uint256 _phase1TotalLimit, uint256 _phase2TotalLimit, bytes32 _whitelistRoot ) { _currentStage = currentStage; _maxTokensAllowed = getMaxTokensAllowed(target, proof); _tokenPrice = tokenPrice(target, proof); _phase2PriceIncrement = phase2PriceIncrement; _soldAmount = soldAmount + soldAmountPhase2; _totalForSale = phase1Limit + phase2Limit; _purchasedAmount = purchased[target]; _phase1TotalLimit = phase1Limit; _phase2TotalLimit = phase2Limit; _whitelistRoot = whitelistRoot; } function mint(uint256 amount, bytes32[] calldata proof) external payable nonReentrant { require(currentStage != STAGE_STOPPED, "Cannot mint before sale start"); require(amount <= getMaxTokensAllowed(msg.sender, proof), "Cannot mint more than the max allowed tokens"); if (currentStage == STAGE_PHASE1) { require(msg.value >= tokenPrice(msg.sender, proof) * amount, "Incorrect ETH"); soldAmount += amount; }else if(currentStage == STAGE_PHASE2) { uint256 priceOfFirstToken = tokenPrice(msg.sender, proof); uint256 totalPrice = priceOfFirstToken; if (amount > 0) { uint256 priceOfLastToken = priceOfFirstToken + (amount - 1) * phase2PriceIncrement; totalPrice = amount * ((priceOfFirstToken + priceOfLastToken) / 2); } require(msg.value >= totalPrice, "Incorrect ETH"); soldAmountPhase2 += amount; } _safeMint(msg.sender, amount); purchased[msg.sender] += amount; } function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"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":[{"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"},{"inputs":[],"name":"STAGE_PHASE1","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"STAGE_PHASE2","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"STAGE_STOPPED","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"currentStage","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"target","type":"address"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"getContractInfo","outputs":[{"internalType":"uint256","name":"_currentStage","type":"uint256"},{"internalType":"uint256","name":"_maxTokensAllowed","type":"uint256"},{"internalType":"uint256","name":"_tokenPrice","type":"uint256"},{"internalType":"uint256","name":"_phase2PriceIncrement","type":"uint256"},{"internalType":"uint256","name":"_soldAmount","type":"uint256"},{"internalType":"uint256","name":"_totalForSale","type":"uint256"},{"internalType":"uint256","name":"_purchasedAmount","type":"uint256"},{"internalType":"uint256","name":"_phase1TotalLimit","type":"uint256"},{"internalType":"uint256","name":"_phase2TotalLimit","type":"uint256"},{"internalType":"bytes32","name":"_whitelistRoot","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"target","type":"address"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"getMaxTokensAllowed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"target","type":"address"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"getMaxTokensForPhase","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[],"name":"maxTokensPerAddressPublicPhase1","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTokensPerAddressPublicPhase2","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTokensPerAddressWhiteListPhase1","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTokensPerTransaction","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"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":"phase1Limit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"phase1WhitelistLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"phase2Limit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"phase2Price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"phase2PriceIncrement","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"purchased","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"URI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"val","type":"uint256"}],"name":"setMaxTokensPerAddressPublicPhase1","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"val","type":"uint256"}],"name":"setMaxTokensPerAddressPublicPhase2","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"val","type":"uint256"}],"name":"setMaxTokensPerAddressWhiteListPhase1","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"val","type":"uint256"}],"name":"setMaxTokensPerTransaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"val","type":"uint256"}],"name":"setPhase1Limit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"val","type":"uint256"}],"name":"setPhase1WhitelistLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"val","type":"uint256"}],"name":"setPhase2Limit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"val","type":"uint256"}],"name":"setPhase2Price","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"val","type":"uint256"}],"name":"setPhase2PriceIncrement","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"val","type":"uint256"}],"name":"setTokenPricePublic","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"val","type":"uint256"}],"name":"setTokenPriceWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"val","type":"bytes32"}],"name":"setWhitelistRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"soldAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"soldAmountPhase2","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"startPhase1","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startPhase2","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxTokensPerAddressPublicPhase2","type":"uint256"},{"internalType":"uint256","name":"_phase2Limit","type":"uint256"},{"internalType":"uint256","name":"_phase2Price","type":"uint256"},{"internalType":"uint256","name":"_phase2PriceIncrement","type":"uint256"},{"internalType":"uint256","name":"_maxTokensPerTransaction","type":"uint256"}],"name":"startPhase2WithInfo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stopSale","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":[],"name":"tokenBaseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"target","type":"address"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"tokenPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenPricePublic","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenPriceWhitelist","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":"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":"whitelistRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6000600a819055600b819055662386f26fc10000600c55600d819055600e8190556032600f8190556010556002601155601281905561115c6013556108ae6014556015557f7f8f2969d051285c3bd1907b995e12b41909e6c852fba511463e9b49356212a960165560e0604052603660808181529062002b0360a0396017906200008a908262000207565b5060006018556000601955348015620000a257600080fd5b50604080518082018252600880825267536d6f6c204d6f6560c01b6020808401829052845180860190955291845290830152906002620000e3838262000207565b506003620000f2828262000207565b5050600160005550620001053362000110565b6001600955620002d3565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200018d57607f821691505b602082108103620001ae57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200020257600081815260208120601f850160051c81016020861015620001dd5750805b601f850160051c820191505b81811015620001fe57828155600101620001e9565b5050505b505050565b81516001600160401b0381111562000223576200022362000162565b6200023b8162000234845462000178565b84620001b4565b602080601f8311600181146200027357600084156200025a5750858301515b600019600386901b1c1916600185901b178555620001fe565b600085815260208120601f198616915b82811015620002a45788860151825594840194600190910190840162000283565b5085821015620002c35787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b61282080620002e36000396000f3fe6080604052600436106103975760003560e01c80638184edfb116101dc578063bf42105f11610102578063f04a8172116100a0578063fa1a5f591161006f578063fa1a5f5914610a60578063fcb5bc2914610a76578063fce1b24314610a8b578063ff9c679a14610aab57600080fd5b8063f04a8172146109f5578063f2fde38b14610a0a578063f5aa406d14610a2a578063f85aff9414610a4a57600080fd5b8063e36b0b37116100dc578063e36b0b371461096b578063e985e9c514610980578063eadabe5b146109c9578063ef64e04a146109df57600080fd5b8063bf42105f14610915578063c87b56dd1461092b578063cd2c70521461094b57600080fd5b8063a4a67b081161017a578063ae3aa72f11610149578063ae3aa72f146108ac578063b220a617146108cc578063b88d4fde146108e2578063ba41b0c61461090257600080fd5b8063a4a67b0814610840578063a58bb27a14610860578063a597e0b614610880578063a8ec8f1f1461089657600080fd5b806395d89b41116101b657806395d89b41146107d6578063a2251028146107eb578063a22cb4651461080b578063a44081d11461082b57600080fd5b80638184edfb146107825780638da5cb5b1461079857806390b6d471146107b657600080fd5b80633ccfd60b116102c157806355f804b31161025f5780636bcd772e1161022e5780636bcd772e1461072157806370a0823114610737578063715018a6146107575780637de69d5f1461076c57600080fd5b806355f804b3146106b65780635960a56e146106d65780635bf5d54c146106eb5780636352211e1461070157600080fd5b806348e342581161029b57806348e342581461063f5780634b051409146106545780634e99b80014610674578063522fe98e1461068957600080fd5b80633ccfd60b146105ea57806342842e0e146105ff5780634324851a1461061f57600080fd5b806318160ddd116103395780632d84a94c116103085780632d84a94c14610534578063329eac151461059e57806337212ccc146105b4578063386bfc98146105d457600080fd5b806318160ddd146104ad5780631bfa959b146104d457806323b872dd146104f4578063285de8ca1461051457600080fd5b8063081812fc11610375578063081812fc14610415578063095ea7b31461044d5780630ada8fea1461046d5780631449d3e61461048d57600080fd5b806301ffc9a71461039c57806306fdde03146103d157806307fcf2e2146103f3575b600080fd5b3480156103a857600080fd5b506103bc6103b73660046120c1565b610ac1565b60405190151581526020015b60405180910390f35b3480156103dd57600080fd5b506103e6610b13565b6040516103c8919061212e565b3480156103ff57600080fd5b5061041361040e366004612141565b610ba5565b005b34801561042157600080fd5b50610435610430366004612141565b610bb2565b6040516001600160a01b0390911681526020016103c8565b34801561045957600080fd5b50610413610468366004612176565b610bf6565b34801561047957600080fd5b50610413610488366004612141565b610c83565b34801561049957600080fd5b506104136104a8366004612141565b610c90565b3480156104b957600080fd5b5060015460005403600019015b6040519081526020016103c8565b3480156104e057600080fd5b506104136104ef366004612141565b610c9d565b34801561050057600080fd5b5061041361050f3660046121a0565b610caa565b34801561052057600080fd5b506104c661052f366004612222565b610cb5565b34801561054057600080fd5b5061055461054f366004612222565b610da3565b604080519a8b5260208b0199909952978901969096526060880194909452608087019290925260a086015260c085015260e0840152610100830152610120820152610140016103c8565b3480156105aa57600080fd5b506104c6600d5481565b3480156105c057600080fd5b506104136105cf366004612141565b610e2c565b3480156105e057600080fd5b506104c660165481565b3480156105f657600080fd5b50610413610e39565b34801561060b57600080fd5b5061041361061a3660046121a0565b610e67565b34801561062b57600080fd5b506104c661063a366004612222565b610e82565b34801561064b57600080fd5b506104c6600081565b34801561066057600080fd5b5061041361066f366004612141565b610f32565b34801561068057600080fd5b506103e6610f3f565b34801561069557600080fd5b506104c66106a43660046122da565b601a6020526000908152604090205481565b3480156106c257600080fd5b506104136106d13660046122f5565b610fcd565b3480156106e257600080fd5b506104c6600281565b3480156106f757600080fd5b506104c6600a5481565b34801561070d57600080fd5b5061043561071c366004612141565b610fe2565b34801561072d57600080fd5b506104c660195481565b34801561074357600080fd5b506104c66107523660046122da565b610ff4565b34801561076357600080fd5b50610413611042565b34801561077857600080fd5b506104c6600c5481565b34801561078e57600080fd5b506104c660135481565b3480156107a457600080fd5b506008546001600160a01b0316610435565b3480156107c257600080fd5b506104136107d1366004612141565b611054565b3480156107e257600080fd5b506103e6611061565b3480156107f757600080fd5b50610413610806366004612141565b611070565b34801561081757600080fd5b50610413610826366004612366565b61107d565b34801561083757600080fd5b50610413611112565b34801561084c57600080fd5b5061041361085b3660046123a2565b611121565b34801561086c57600080fd5b5061041361087b366004612141565b611145565b34801561088c57600080fd5b506104c660115481565b3480156108a257600080fd5b506104c6600e5481565b3480156108b857600080fd5b506104c66108c7366004612222565b611152565b3480156108d857600080fd5b506104c6600b5481565b3480156108ee57600080fd5b506104136108fd3660046123dd565b611234565b61041361091036600461249c565b611285565b34801561092157600080fd5b506104c660155481565b34801561093757600080fd5b506103e6610946366004612141565b61155f565b34801561095757600080fd5b50610413610966366004612141565b611590565b34801561097757600080fd5b5061041361159d565b34801561098c57600080fd5b506103bc61099b36600461251a565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156109d557600080fd5b506104c660145481565b3480156109eb57600080fd5b506104c660105481565b348015610a0157600080fd5b506104c6600181565b348015610a1657600080fd5b50610413610a253660046122da565b6115ac565b348015610a3657600080fd5b50610413610a45366004612141565b611625565b348015610a5657600080fd5b506104c6600f5481565b348015610a6c57600080fd5b506104c660185481565b348015610a8257600080fd5b50610413611632565b348015610a9757600080fd5b50610413610aa6366004612141565b611641565b348015610ab757600080fd5b506104c660125481565b60006001600160e01b031982166380ac58cd60e01b1480610af257506001600160e01b03198216635b5e139f60e01b145b80610b0d57506301ffc9a760e01b6001600160e01b03198316145b92915050565b606060028054610b229061254d565b80601f0160208091040260200160405190810160405280929190818152602001828054610b4e9061254d565b8015610b9b5780601f10610b7057610100808354040283529160200191610b9b565b820191906000526020600020905b815481529060010190602001808311610b7e57829003601f168201915b5050505050905090565b610bad61164e565b601055565b6000610bbd826116a8565b610bda576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6000610c0182610fe2565b9050806001600160a01b0316836001600160a01b031603610c355760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b03821614801590610c555750610c53813361099b565b155b15610c73576040516367d9dca160e11b815260040160405180910390fd5b610c7e8383836116e1565b505050565b610c8b61164e565b600e55565b610c9861164e565b600f55565b610ca561164e565b600d55565b610c7e83838361173d565b6040516bffffffffffffffffffffffff19606084901b16602082015260009081906034016040516020818303038152906040528051906020012090506000600a5403610d05576000915050610b0d565b6001600a5403610d85576000610d1f60145460185461192b565b9050610d2e846016548461194e565b8015610d5357506011546001600160a01b0386166000908152601a6020526040902054105b8015610d5f5750600081115b15610d7957610d7081601154611964565b92505050610b0d565b60105492505050610b0d565b6002600a5403610d99575050601254610b0d565b6000915050610b0d565b600a5460008080808080808080610dba8c8c610e82565b9850610dc68c8c611152565b9750600e549650601954601854610ddd919061259d565b9550601554601354610def919061259d565b6001600160a01b03909c166000908152601a60205260409020546013546015546016549c9f9b9e9a9d50989b979a91989097909650945092505050565b610e3461164e565b601255565b610e4161164e565b60405133904780156108fc02916000818181858888f19350505050610e6557600080fd5b565b610c7e83838360405180602001604052806000815250611234565b600080610e8f8484610cb5565b6001600160a01b0385166000908152601a602052604081205491925090610eb790839061192b565b9050610ec38282611964565b91506001600a5403610ef3576000610edf60135460185461192b565b9050610eeb8382611964565b925050610f1d565b6002600a5403610f1d576000610f0d60155460195461192b565b9050610f198382611964565b9250505b610f2982600f54611964565b95945050505050565b610f3a61164e565b601455565b60178054610f4c9061254d565b80601f0160208091040260200160405190810160405280929190818152602001828054610f789061254d565b8015610fc55780601f10610f9a57610100808354040283529160200191610fc5565b820191906000526020600020905b815481529060010190602001808311610fa857829003601f168201915b505050505081565b610fd561164e565b6017610c7e8284836125fe565b6000610fed8261197a565b5192915050565b60006001600160a01b03821661101d576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600560205260409020546001600160401b031690565b61104a61164e565b610e656000611aa1565b61105c61164e565b601355565b606060038054610b229061254d565b61107861164e565b601555565b336001600160a01b038316036110a65760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b61111a61164e565b6001600a55565b61112961164e565b601294909455601592909255600d55600e55600f556002600a55565b61114d61164e565b600b55565b6040516bffffffffffffffffffffffff19606084901b16602082015260009081906034016040516020818303038152906040528051906020012090506001600a54036112055760006111a860145460185461192b565b90506111b7846016548461194e565b80156111dc57506011546001600160a01b0386166000908152601a6020526040902054105b80156111e85750600081115b156111f957600b5492505050610b0d565b600c5492505050610b0d565b6002600a5403610d9957601954600e5461121f91906126bd565b600d5461122c919061259d565b915050610b0d565b61123f84848461173d565b6001600160a01b0383163b15158015611261575061125f84848484611af3565b155b1561127f576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b61128d611bde565b600a546112e15760405162461bcd60e51b815260206004820152601d60248201527f43616e6e6f74206d696e74206265666f72652073616c6520737461727400000060448201526064015b60405180910390fd5b61131e33838380806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250610e8292505050565b8311156113825760405162461bcd60e51b815260206004820152602c60248201527f43616e6e6f74206d696e74206d6f7265207468616e20746865206d617820616c60448201526b6c6f77656420746f6b656e7360a01b60648201526084016112d8565b6001600a540361143057826113ca3384848080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525061115292505050565b6113d491906126bd565b3410156114135760405162461bcd60e51b815260206004820152600d60248201526c092dcc6dee4e4cac6e8408aa89609b1b60448201526064016112d8565b8260186000828254611425919061259d565b909155506115279050565b6002600a54036115275760006114793384848080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525061115292505050565b90508084156114cd57600e546000906114936001886126d4565b61149d91906126bd565b6114a7908461259d565b905060026114b5828561259d565b6114bf91906126e7565b6114c990876126bd565b9150505b8034101561150d5760405162461bcd60e51b815260206004820152600d60248201526c092dcc6dee4e4cac6e8408aa89609b1b60448201526064016112d8565b846019600082825461151f919061259d565b909155505050505b6115313384611c37565b336000908152601a60205260408120805485929061155090849061259d565b90915550506001600955505050565b606061156a82611c55565b60405160200161157a9190612709565b6040516020818303038152906040529050919050565b61159861164e565b600c55565b6115a561164e565b6000600a55565b6115b461164e565b6001600160a01b0381166116195760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016112d8565b61162281611aa1565b50565b61162d61164e565b601655565b61163a61164e565b6002600a55565b61164961164e565b601155565b6008546001600160a01b03163314610e655760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016112d8565b6000816001111580156116bc575060005482105b8015610b0d575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60006117488261197a565b9050836001600160a01b031681600001516001600160a01b03161461177f5760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b038616148061179d575061179d853361099b565b806117b85750336117ad84610bb2565b6001600160a01b0316145b9050806117d857604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0384166117ff57604051633a954ecd60e21b815260040160405180910390fd5b61180b600084876116e1565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff198082166001600160401b0392831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b429092169190910217835587018084529220805491939091166118df5760005482146118df57805460208601516001600160401b0316600160a01b026001600160e01b03199091166001600160a01b038a16171781555b50505082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b60008183101561193d57506000610b0d565b61194782846126d4565b9392505050565b60008261195b8584611cd8565b14949350505050565b60008183106119735781611947565b5090919050565b604080516060810182526000808252602082018190529181019190915281806001111580156119aa575060005481105b15611a8857600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff16151591810182905290611a865780516001600160a01b031615611a1d579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b82046001600160401b031693830193909352600160e01b900460ff1615159281019290925215611a81579392505050565b611a1d565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611b28903390899088908890600401612732565b6020604051808303816000875af1925050508015611b63575060408051601f3d908101601f19168201909252611b609181019061276f565b60015b611bc1573d808015611b91576040519150601f19603f3d011682016040523d82523d6000602084013e611b96565b606091505b508051600003611bb9576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b600260095403611c305760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016112d8565b6002600955565b611c51828260405180602001604052806000815250611d25565b5050565b6060611c60826116a8565b611c7d57604051630a14c4b560e41b815260040160405180910390fd5b6000611c87611d32565b90508051600003611ca75760405180602001604052806000815250611947565b80611cb184611d41565b604051602001611cc292919061278c565b6040516020818303038152906040529392505050565b600081815b8451811015611d1d57611d0982868381518110611cfc57611cfc6127bb565b6020026020010151611dd3565b915080611d15816127d1565b915050611cdd565b509392505050565b610c7e8383836001611e02565b606060178054610b229061254d565b60606000611d4e83611fd3565b60010190506000816001600160401b03811115611d6d57611d6d6121dc565b6040519080825280601f01601f191660200182016040528015611d97576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a8504945084611da157509392505050565b6000818310611def576000828152602084905260409020611947565b6000838152602083905260409020611947565b6000546001600160a01b038516611e2b57604051622e076360e81b815260040160405180910390fd5b83600003611e4c5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260056020908152604080832080546fffffffffffffffffffffffffffffffff1981166001600160401b038083168c0181169182176801000000000000000067ffffffffffffffff1990941690921783900481168c01811690920217909155858452600490925290912080546001600160e01b031916909217600160a01b429092169190910217905580808501838015611efd57506001600160a01b0387163b15155b15611f85575b60405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4611f4e6000888480600101955088611af3565b611f6b576040516368d2bf6b60e11b815260040160405180910390fd5b808203611f03578260005414611f8057600080fd5b611fca565b5b6040516001830192906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808203611f86575b50600055611924565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106120125772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef8100000000831061203e576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061205c57662386f26fc10000830492506010015b6305f5e1008310612074576305f5e100830492506008015b612710831061208857612710830492506004015b6064831061209a576064830492506002015b600a8310610b0d5760010192915050565b6001600160e01b03198116811461162257600080fd5b6000602082840312156120d357600080fd5b8135611947816120ab565b60005b838110156120f95781810151838201526020016120e1565b50506000910152565b6000815180845261211a8160208601602086016120de565b601f01601f19169290920160200192915050565b6020815260006119476020830184612102565b60006020828403121561215357600080fd5b5035919050565b80356001600160a01b038116811461217157600080fd5b919050565b6000806040838503121561218957600080fd5b6121928361215a565b946020939093013593505050565b6000806000606084860312156121b557600080fd5b6121be8461215a565b92506121cc6020850161215a565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b038111828210171561221a5761221a6121dc565b604052919050565b6000806040838503121561223557600080fd5b61223e8361215a565b91506020808401356001600160401b038082111561225b57600080fd5b818601915086601f83011261226f57600080fd5b813581811115612281576122816121dc565b8060051b91506122928483016121f2565b81815291830184019184810190898411156122ac57600080fd5b938501935b838510156122ca578435825293850193908501906122b1565b8096505050505050509250929050565b6000602082840312156122ec57600080fd5b6119478261215a565b6000806020838503121561230857600080fd5b82356001600160401b038082111561231f57600080fd5b818501915085601f83011261233357600080fd5b81358181111561234257600080fd5b86602082850101111561235457600080fd5b60209290920196919550909350505050565b6000806040838503121561237957600080fd5b6123828361215a565b91506020830135801515811461239757600080fd5b809150509250929050565b600080600080600060a086880312156123ba57600080fd5b505083359560208501359550604085013594606081013594506080013592509050565b600080600080608085870312156123f357600080fd5b6123fc8561215a565b9350602061240b81870161215a565b93506040860135925060608601356001600160401b038082111561242e57600080fd5b818801915088601f83011261244257600080fd5b813581811115612454576124546121dc565b612466601f8201601f191685016121f2565b9150808252898482850101111561247c57600080fd5b808484018584013760008482840101525080935050505092959194509250565b6000806000604084860312156124b157600080fd5b8335925060208401356001600160401b03808211156124cf57600080fd5b818601915086601f8301126124e357600080fd5b8135818111156124f257600080fd5b8760208260051b850101111561250757600080fd5b6020830194508093505050509250925092565b6000806040838503121561252d57600080fd5b6125368361215a565b91506125446020840161215a565b90509250929050565b600181811c9082168061256157607f821691505b60208210810361258157634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b80820180821115610b0d57610b0d612587565b601f821115610c7e57600081815260208120601f850160051c810160208610156125d75750805b601f850160051c820191505b818110156125f6578281556001016125e3565b505050505050565b6001600160401b03831115612615576126156121dc565b61262983612623835461254d565b836125b0565b6000601f84116001811461265d57600085156126455750838201355b600019600387901b1c1916600186901b178355611924565b600083815260209020601f19861690835b8281101561268e578685013582556020948501946001909201910161266e565b50868210156126ab5760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b8082028115828204841417610b0d57610b0d612587565b81810381811115610b0d57610b0d612587565b60008261270457634e487b7160e01b600052601260045260246000fd5b500490565b6000825161271b8184602087016120de565b64173539b7b760d91b920191825250600501919050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061276590830184612102565b9695505050505050565b60006020828403121561278157600080fd5b8151611947816120ab565b6000835161279e8184602088016120de565b8351908301906127b28183602088016120de565b01949350505050565b634e487b7160e01b600052603260045260246000fd5b6000600182016127e3576127e3612587565b506001019056fea264697066735822122067e9e91c40c4fbefe70dc739713fa95eafd7d1626efd42ec4931abab09e9261664736f6c63430008110033697066733a2f2f516d655a587a596879316b354c517946695a524144704a356b76633778704a70636551624e426d5647484a4535592f
Deployed Bytecode
0x6080604052600436106103975760003560e01c80638184edfb116101dc578063bf42105f11610102578063f04a8172116100a0578063fa1a5f591161006f578063fa1a5f5914610a60578063fcb5bc2914610a76578063fce1b24314610a8b578063ff9c679a14610aab57600080fd5b8063f04a8172146109f5578063f2fde38b14610a0a578063f5aa406d14610a2a578063f85aff9414610a4a57600080fd5b8063e36b0b37116100dc578063e36b0b371461096b578063e985e9c514610980578063eadabe5b146109c9578063ef64e04a146109df57600080fd5b8063bf42105f14610915578063c87b56dd1461092b578063cd2c70521461094b57600080fd5b8063a4a67b081161017a578063ae3aa72f11610149578063ae3aa72f146108ac578063b220a617146108cc578063b88d4fde146108e2578063ba41b0c61461090257600080fd5b8063a4a67b0814610840578063a58bb27a14610860578063a597e0b614610880578063a8ec8f1f1461089657600080fd5b806395d89b41116101b657806395d89b41146107d6578063a2251028146107eb578063a22cb4651461080b578063a44081d11461082b57600080fd5b80638184edfb146107825780638da5cb5b1461079857806390b6d471146107b657600080fd5b80633ccfd60b116102c157806355f804b31161025f5780636bcd772e1161022e5780636bcd772e1461072157806370a0823114610737578063715018a6146107575780637de69d5f1461076c57600080fd5b806355f804b3146106b65780635960a56e146106d65780635bf5d54c146106eb5780636352211e1461070157600080fd5b806348e342581161029b57806348e342581461063f5780634b051409146106545780634e99b80014610674578063522fe98e1461068957600080fd5b80633ccfd60b146105ea57806342842e0e146105ff5780634324851a1461061f57600080fd5b806318160ddd116103395780632d84a94c116103085780632d84a94c14610534578063329eac151461059e57806337212ccc146105b4578063386bfc98146105d457600080fd5b806318160ddd146104ad5780631bfa959b146104d457806323b872dd146104f4578063285de8ca1461051457600080fd5b8063081812fc11610375578063081812fc14610415578063095ea7b31461044d5780630ada8fea1461046d5780631449d3e61461048d57600080fd5b806301ffc9a71461039c57806306fdde03146103d157806307fcf2e2146103f3575b600080fd5b3480156103a857600080fd5b506103bc6103b73660046120c1565b610ac1565b60405190151581526020015b60405180910390f35b3480156103dd57600080fd5b506103e6610b13565b6040516103c8919061212e565b3480156103ff57600080fd5b5061041361040e366004612141565b610ba5565b005b34801561042157600080fd5b50610435610430366004612141565b610bb2565b6040516001600160a01b0390911681526020016103c8565b34801561045957600080fd5b50610413610468366004612176565b610bf6565b34801561047957600080fd5b50610413610488366004612141565b610c83565b34801561049957600080fd5b506104136104a8366004612141565b610c90565b3480156104b957600080fd5b5060015460005403600019015b6040519081526020016103c8565b3480156104e057600080fd5b506104136104ef366004612141565b610c9d565b34801561050057600080fd5b5061041361050f3660046121a0565b610caa565b34801561052057600080fd5b506104c661052f366004612222565b610cb5565b34801561054057600080fd5b5061055461054f366004612222565b610da3565b604080519a8b5260208b0199909952978901969096526060880194909452608087019290925260a086015260c085015260e0840152610100830152610120820152610140016103c8565b3480156105aa57600080fd5b506104c6600d5481565b3480156105c057600080fd5b506104136105cf366004612141565b610e2c565b3480156105e057600080fd5b506104c660165481565b3480156105f657600080fd5b50610413610e39565b34801561060b57600080fd5b5061041361061a3660046121a0565b610e67565b34801561062b57600080fd5b506104c661063a366004612222565b610e82565b34801561064b57600080fd5b506104c6600081565b34801561066057600080fd5b5061041361066f366004612141565b610f32565b34801561068057600080fd5b506103e6610f3f565b34801561069557600080fd5b506104c66106a43660046122da565b601a6020526000908152604090205481565b3480156106c257600080fd5b506104136106d13660046122f5565b610fcd565b3480156106e257600080fd5b506104c6600281565b3480156106f757600080fd5b506104c6600a5481565b34801561070d57600080fd5b5061043561071c366004612141565b610fe2565b34801561072d57600080fd5b506104c660195481565b34801561074357600080fd5b506104c66107523660046122da565b610ff4565b34801561076357600080fd5b50610413611042565b34801561077857600080fd5b506104c6600c5481565b34801561078e57600080fd5b506104c660135481565b3480156107a457600080fd5b506008546001600160a01b0316610435565b3480156107c257600080fd5b506104136107d1366004612141565b611054565b3480156107e257600080fd5b506103e6611061565b3480156107f757600080fd5b50610413610806366004612141565b611070565b34801561081757600080fd5b50610413610826366004612366565b61107d565b34801561083757600080fd5b50610413611112565b34801561084c57600080fd5b5061041361085b3660046123a2565b611121565b34801561086c57600080fd5b5061041361087b366004612141565b611145565b34801561088c57600080fd5b506104c660115481565b3480156108a257600080fd5b506104c6600e5481565b3480156108b857600080fd5b506104c66108c7366004612222565b611152565b3480156108d857600080fd5b506104c6600b5481565b3480156108ee57600080fd5b506104136108fd3660046123dd565b611234565b61041361091036600461249c565b611285565b34801561092157600080fd5b506104c660155481565b34801561093757600080fd5b506103e6610946366004612141565b61155f565b34801561095757600080fd5b50610413610966366004612141565b611590565b34801561097757600080fd5b5061041361159d565b34801561098c57600080fd5b506103bc61099b36600461251a565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156109d557600080fd5b506104c660145481565b3480156109eb57600080fd5b506104c660105481565b348015610a0157600080fd5b506104c6600181565b348015610a1657600080fd5b50610413610a253660046122da565b6115ac565b348015610a3657600080fd5b50610413610a45366004612141565b611625565b348015610a5657600080fd5b506104c6600f5481565b348015610a6c57600080fd5b506104c660185481565b348015610a8257600080fd5b50610413611632565b348015610a9757600080fd5b50610413610aa6366004612141565b611641565b348015610ab757600080fd5b506104c660125481565b60006001600160e01b031982166380ac58cd60e01b1480610af257506001600160e01b03198216635b5e139f60e01b145b80610b0d57506301ffc9a760e01b6001600160e01b03198316145b92915050565b606060028054610b229061254d565b80601f0160208091040260200160405190810160405280929190818152602001828054610b4e9061254d565b8015610b9b5780601f10610b7057610100808354040283529160200191610b9b565b820191906000526020600020905b815481529060010190602001808311610b7e57829003601f168201915b5050505050905090565b610bad61164e565b601055565b6000610bbd826116a8565b610bda576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6000610c0182610fe2565b9050806001600160a01b0316836001600160a01b031603610c355760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b03821614801590610c555750610c53813361099b565b155b15610c73576040516367d9dca160e11b815260040160405180910390fd5b610c7e8383836116e1565b505050565b610c8b61164e565b600e55565b610c9861164e565b600f55565b610ca561164e565b600d55565b610c7e83838361173d565b6040516bffffffffffffffffffffffff19606084901b16602082015260009081906034016040516020818303038152906040528051906020012090506000600a5403610d05576000915050610b0d565b6001600a5403610d85576000610d1f60145460185461192b565b9050610d2e846016548461194e565b8015610d5357506011546001600160a01b0386166000908152601a6020526040902054105b8015610d5f5750600081115b15610d7957610d7081601154611964565b92505050610b0d565b60105492505050610b0d565b6002600a5403610d99575050601254610b0d565b6000915050610b0d565b600a5460008080808080808080610dba8c8c610e82565b9850610dc68c8c611152565b9750600e549650601954601854610ddd919061259d565b9550601554601354610def919061259d565b6001600160a01b03909c166000908152601a60205260409020546013546015546016549c9f9b9e9a9d50989b979a91989097909650945092505050565b610e3461164e565b601255565b610e4161164e565b60405133904780156108fc02916000818181858888f19350505050610e6557600080fd5b565b610c7e83838360405180602001604052806000815250611234565b600080610e8f8484610cb5565b6001600160a01b0385166000908152601a602052604081205491925090610eb790839061192b565b9050610ec38282611964565b91506001600a5403610ef3576000610edf60135460185461192b565b9050610eeb8382611964565b925050610f1d565b6002600a5403610f1d576000610f0d60155460195461192b565b9050610f198382611964565b9250505b610f2982600f54611964565b95945050505050565b610f3a61164e565b601455565b60178054610f4c9061254d565b80601f0160208091040260200160405190810160405280929190818152602001828054610f789061254d565b8015610fc55780601f10610f9a57610100808354040283529160200191610fc5565b820191906000526020600020905b815481529060010190602001808311610fa857829003601f168201915b505050505081565b610fd561164e565b6017610c7e8284836125fe565b6000610fed8261197a565b5192915050565b60006001600160a01b03821661101d576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600560205260409020546001600160401b031690565b61104a61164e565b610e656000611aa1565b61105c61164e565b601355565b606060038054610b229061254d565b61107861164e565b601555565b336001600160a01b038316036110a65760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b61111a61164e565b6001600a55565b61112961164e565b601294909455601592909255600d55600e55600f556002600a55565b61114d61164e565b600b55565b6040516bffffffffffffffffffffffff19606084901b16602082015260009081906034016040516020818303038152906040528051906020012090506001600a54036112055760006111a860145460185461192b565b90506111b7846016548461194e565b80156111dc57506011546001600160a01b0386166000908152601a6020526040902054105b80156111e85750600081115b156111f957600b5492505050610b0d565b600c5492505050610b0d565b6002600a5403610d9957601954600e5461121f91906126bd565b600d5461122c919061259d565b915050610b0d565b61123f84848461173d565b6001600160a01b0383163b15158015611261575061125f84848484611af3565b155b1561127f576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b61128d611bde565b600a546112e15760405162461bcd60e51b815260206004820152601d60248201527f43616e6e6f74206d696e74206265666f72652073616c6520737461727400000060448201526064015b60405180910390fd5b61131e33838380806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250610e8292505050565b8311156113825760405162461bcd60e51b815260206004820152602c60248201527f43616e6e6f74206d696e74206d6f7265207468616e20746865206d617820616c60448201526b6c6f77656420746f6b656e7360a01b60648201526084016112d8565b6001600a540361143057826113ca3384848080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525061115292505050565b6113d491906126bd565b3410156114135760405162461bcd60e51b815260206004820152600d60248201526c092dcc6dee4e4cac6e8408aa89609b1b60448201526064016112d8565b8260186000828254611425919061259d565b909155506115279050565b6002600a54036115275760006114793384848080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525061115292505050565b90508084156114cd57600e546000906114936001886126d4565b61149d91906126bd565b6114a7908461259d565b905060026114b5828561259d565b6114bf91906126e7565b6114c990876126bd565b9150505b8034101561150d5760405162461bcd60e51b815260206004820152600d60248201526c092dcc6dee4e4cac6e8408aa89609b1b60448201526064016112d8565b846019600082825461151f919061259d565b909155505050505b6115313384611c37565b336000908152601a60205260408120805485929061155090849061259d565b90915550506001600955505050565b606061156a82611c55565b60405160200161157a9190612709565b6040516020818303038152906040529050919050565b61159861164e565b600c55565b6115a561164e565b6000600a55565b6115b461164e565b6001600160a01b0381166116195760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016112d8565b61162281611aa1565b50565b61162d61164e565b601655565b61163a61164e565b6002600a55565b61164961164e565b601155565b6008546001600160a01b03163314610e655760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016112d8565b6000816001111580156116bc575060005482105b8015610b0d575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60006117488261197a565b9050836001600160a01b031681600001516001600160a01b03161461177f5760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b038616148061179d575061179d853361099b565b806117b85750336117ad84610bb2565b6001600160a01b0316145b9050806117d857604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0384166117ff57604051633a954ecd60e21b815260040160405180910390fd5b61180b600084876116e1565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff198082166001600160401b0392831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b429092169190910217835587018084529220805491939091166118df5760005482146118df57805460208601516001600160401b0316600160a01b026001600160e01b03199091166001600160a01b038a16171781555b50505082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b60008183101561193d57506000610b0d565b61194782846126d4565b9392505050565b60008261195b8584611cd8565b14949350505050565b60008183106119735781611947565b5090919050565b604080516060810182526000808252602082018190529181019190915281806001111580156119aa575060005481105b15611a8857600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff16151591810182905290611a865780516001600160a01b031615611a1d579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b82046001600160401b031693830193909352600160e01b900460ff1615159281019290925215611a81579392505050565b611a1d565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611b28903390899088908890600401612732565b6020604051808303816000875af1925050508015611b63575060408051601f3d908101601f19168201909252611b609181019061276f565b60015b611bc1573d808015611b91576040519150601f19603f3d011682016040523d82523d6000602084013e611b96565b606091505b508051600003611bb9576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b600260095403611c305760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016112d8565b6002600955565b611c51828260405180602001604052806000815250611d25565b5050565b6060611c60826116a8565b611c7d57604051630a14c4b560e41b815260040160405180910390fd5b6000611c87611d32565b90508051600003611ca75760405180602001604052806000815250611947565b80611cb184611d41565b604051602001611cc292919061278c565b6040516020818303038152906040529392505050565b600081815b8451811015611d1d57611d0982868381518110611cfc57611cfc6127bb565b6020026020010151611dd3565b915080611d15816127d1565b915050611cdd565b509392505050565b610c7e8383836001611e02565b606060178054610b229061254d565b60606000611d4e83611fd3565b60010190506000816001600160401b03811115611d6d57611d6d6121dc565b6040519080825280601f01601f191660200182016040528015611d97576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a8504945084611da157509392505050565b6000818310611def576000828152602084905260409020611947565b6000838152602083905260409020611947565b6000546001600160a01b038516611e2b57604051622e076360e81b815260040160405180910390fd5b83600003611e4c5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260056020908152604080832080546fffffffffffffffffffffffffffffffff1981166001600160401b038083168c0181169182176801000000000000000067ffffffffffffffff1990941690921783900481168c01811690920217909155858452600490925290912080546001600160e01b031916909217600160a01b429092169190910217905580808501838015611efd57506001600160a01b0387163b15155b15611f85575b60405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4611f4e6000888480600101955088611af3565b611f6b576040516368d2bf6b60e11b815260040160405180910390fd5b808203611f03578260005414611f8057600080fd5b611fca565b5b6040516001830192906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808203611f86575b50600055611924565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106120125772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef8100000000831061203e576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061205c57662386f26fc10000830492506010015b6305f5e1008310612074576305f5e100830492506008015b612710831061208857612710830492506004015b6064831061209a576064830492506002015b600a8310610b0d5760010192915050565b6001600160e01b03198116811461162257600080fd5b6000602082840312156120d357600080fd5b8135611947816120ab565b60005b838110156120f95781810151838201526020016120e1565b50506000910152565b6000815180845261211a8160208601602086016120de565b601f01601f19169290920160200192915050565b6020815260006119476020830184612102565b60006020828403121561215357600080fd5b5035919050565b80356001600160a01b038116811461217157600080fd5b919050565b6000806040838503121561218957600080fd5b6121928361215a565b946020939093013593505050565b6000806000606084860312156121b557600080fd5b6121be8461215a565b92506121cc6020850161215a565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b038111828210171561221a5761221a6121dc565b604052919050565b6000806040838503121561223557600080fd5b61223e8361215a565b91506020808401356001600160401b038082111561225b57600080fd5b818601915086601f83011261226f57600080fd5b813581811115612281576122816121dc565b8060051b91506122928483016121f2565b81815291830184019184810190898411156122ac57600080fd5b938501935b838510156122ca578435825293850193908501906122b1565b8096505050505050509250929050565b6000602082840312156122ec57600080fd5b6119478261215a565b6000806020838503121561230857600080fd5b82356001600160401b038082111561231f57600080fd5b818501915085601f83011261233357600080fd5b81358181111561234257600080fd5b86602082850101111561235457600080fd5b60209290920196919550909350505050565b6000806040838503121561237957600080fd5b6123828361215a565b91506020830135801515811461239757600080fd5b809150509250929050565b600080600080600060a086880312156123ba57600080fd5b505083359560208501359550604085013594606081013594506080013592509050565b600080600080608085870312156123f357600080fd5b6123fc8561215a565b9350602061240b81870161215a565b93506040860135925060608601356001600160401b038082111561242e57600080fd5b818801915088601f83011261244257600080fd5b813581811115612454576124546121dc565b612466601f8201601f191685016121f2565b9150808252898482850101111561247c57600080fd5b808484018584013760008482840101525080935050505092959194509250565b6000806000604084860312156124b157600080fd5b8335925060208401356001600160401b03808211156124cf57600080fd5b818601915086601f8301126124e357600080fd5b8135818111156124f257600080fd5b8760208260051b850101111561250757600080fd5b6020830194508093505050509250925092565b6000806040838503121561252d57600080fd5b6125368361215a565b91506125446020840161215a565b90509250929050565b600181811c9082168061256157607f821691505b60208210810361258157634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b80820180821115610b0d57610b0d612587565b601f821115610c7e57600081815260208120601f850160051c810160208610156125d75750805b601f850160051c820191505b818110156125f6578281556001016125e3565b505050505050565b6001600160401b03831115612615576126156121dc565b61262983612623835461254d565b836125b0565b6000601f84116001811461265d57600085156126455750838201355b600019600387901b1c1916600186901b178355611924565b600083815260209020601f19861690835b8281101561268e578685013582556020948501946001909201910161266e565b50868210156126ab5760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b8082028115828204841417610b0d57610b0d612587565b81810381811115610b0d57610b0d612587565b60008261270457634e487b7160e01b600052601260045260246000fd5b500490565b6000825161271b8184602087016120de565b64173539b7b760d91b920191825250600501919050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061276590830184612102565b9695505050505050565b60006020828403121561278157600080fd5b8151611947816120ab565b6000835161279e8184602088016120de565b8351908301906127b28183602088016120de565b01949350505050565b634e487b7160e01b600052603260045260246000fd5b6000600182016127e3576127e3612587565b506001019056fea264697066735822122067e9e91c40c4fbefe70dc739713fa95eafd7d1626efd42ec4931abab09e9261664736f6c63430008110033
Deployed Bytecode Sourcemap
71786:9008:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51003:305;;;;;;;;;;-1:-1:-1;51003:305:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;51003:305:0;;;;;;;;54116:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;73487:132::-;;;;;;;;;;-1:-1:-1;73487:132:0;;;;;:::i;:::-;;:::i;:::-;;55619:204;;;;;;;;;;-1:-1:-1;55619:204:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1697:32:1;;;1679:51;;1667:2;1652:18;55619:204:0;1533:203:1;55182:371:0;;;;;;;;;;-1:-1:-1;55182:371:0;;;;;:::i;:::-;;:::i;73369:110::-;;;;;;;;;;-1:-1:-1;73369:110:0;;;;;:::i;:::-;;:::i;73915:116::-;;;;;;;;;;-1:-1:-1;73915:116:0;;;;;:::i;:::-;;:::i;50252:303::-;;;;;;;;;;-1:-1:-1;75834:1:0;50506:12;50296:7;50490:13;:28;-1:-1:-1;;50490:46:0;50252:303;;;2324:25:1;;;2312:2;2297:18;50252:303:0;2178:177:1;73269:92:0;;;;;;;;;;-1:-1:-1;73269:92:0;;;;;:::i;:::-;;:::i;56484:170::-;;;;;;;;;;-1:-1:-1;56484:170:0;;;;;:::i;:::-;;:::i;76729:877::-;;;;;;;;;;-1:-1:-1;76729:877:0;;;;;:::i;:::-;;:::i;78668:930::-;;;;;;;;;;-1:-1:-1;78668:930:0;;;;;:::i;:::-;;:::i;:::-;;;;4529:25:1;;;4585:2;4570:18;;4563:34;;;;4613:18;;;4606:34;;;;4671:2;4656:18;;4649:34;;;;4714:3;4699:19;;4692:35;;;;4758:3;4743:19;;4736:35;4802:3;4787:19;;4780:35;4846:3;4831:19;;4824:35;4890:3;4875:19;;4868:35;4934:3;4919:19;;4912:35;4516:3;4501:19;78668:930:0;4130:823:1;72182:36:0;;;;;;;;;;;;;;;;73775:132;;;;;;;;;;-1:-1:-1;73775:132:0;;;;;:::i;:::-;;:::i;72640:97::-;;;;;;;;;;;;;;;;75438:114;;;;;;;;;;;;;:::i;56725:185::-;;;;;;;;;;-1:-1:-1;56725:185:0;;;;;:::i;:::-;;:::i;77780:879::-;;;;;;;;;;-1:-1:-1;77780:879:0;;;;;:::i;:::-;;:::i;71881:41::-;;;;;;;;;;;;71921:1;71881:41;;74139:110;;;;;;;;;;-1:-1:-1;74139:110:0;;;;;:::i;:::-;;:::i;72746:85::-;;;;;;;;;;;;;:::i;72918:44::-;;;;;;;;;;-1:-1:-1;72918:44:0;;;;;:::i;:::-;;;;;;;;;;;;;;75333:97;;;;;;;;;;-1:-1:-1;75333:97:0;;;;;:::i;:::-;;:::i;71976:40::-;;;;;;;;;;;;72015:1;71976:40;;72023:43;;;;;;;;;;;;;;;;53924:125;;;;;;;;;;-1:-1:-1;53924:125:0;;;;;:::i;:::-;;:::i;72876:35::-;;;;;;;;;;;;;;;;51372:206;;;;;;;;;;-1:-1:-1;51372:206:0;;;;;:::i;:::-;;:::i;27571:103::-;;;;;;;;;;;;;:::i;72129:44::-;;;;;;;;;;;;;;;;72512:33;;;;;;;;;;;;;;;;26923:87;;;;;;;;;;-1:-1:-1;26996:6:0;;-1:-1:-1;;;;;26996:6:0;26923:87;;74039:92;;;;;;;;;;-1:-1:-1;74039:92:0;;;;;:::i;:::-;;:::i;54285:104::-;;;;;;;;;;;;;:::i;74257:92::-;;;;;;;;;;-1:-1:-1;74257:92:0;;;;;:::i;:::-;;:::i;55895:287::-;;;;;;;;;;-1:-1:-1;55895:287:0;;;;;:::i;:::-;;:::i;74451:88::-;;;;;;;;;;;;;:::i;74642:558::-;;;;;;;;;;-1:-1:-1;74642:558:0;;;;;:::i;:::-;;:::i;73043:108::-;;;;;;;;;;-1:-1:-1;73043:108:0;;;;;:::i;:::-;;:::i;72389:53::-;;;;;;;;;;;;;;;;72225:45;;;;;;;;;;;;;;;;75953:768;;;;;;;;;;-1:-1:-1;75953:768:0;;;;;:::i;:::-;;:::i;72075:47::-;;;;;;;;;;;;;;;;56981:369;;;;;;;;;;-1:-1:-1;56981:369:0;;;;;:::i;:::-;;:::i;79606:1071::-;;;;;;:::i;:::-;;:::i;72601:30::-;;;;;;;;;;;;;;;;75560:173;;;;;;;;;;-1:-1:-1;75560:173:0;;;;;:::i;:::-;;:::i;73159:102::-;;;;;;;;;;-1:-1:-1;73159:102:0;;;;;:::i;:::-;;:::i;74357:86::-;;;;;;;;;;;;;:::i;56253:164::-;;;;;;;;;;-1:-1:-1;56253:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;56374:25:0;;;56350:4;56374:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;56253:164;72552:42;;;;;;;;;;;;;;;;72331:51;;;;;;;;;;;;;;;;71929:40;;;;;;;;;;;;71968:1;71929:40;;27829:201;;;;;;;;;;-1:-1:-1;27829:201:0;;;;;:::i;:::-;;:::i;75849:96::-;;;;;;;;;;-1:-1:-1;75849:96:0;;;;;:::i;:::-;;:::i;72279:43::-;;;;;;;;;;;;;;;;72840:29;;;;;;;;;;;;;;;;74545:89;;;;;;;;;;;;;:::i;73627:140::-;;;;;;;;;;-1:-1:-1;73627:140:0;;;;;:::i;:::-;;:::i;72451:50::-;;;;;;;;;;;;;;;;51003:305;51105:4;-1:-1:-1;;;;;;51142:40:0;;-1:-1:-1;;;51142:40:0;;:105;;-1:-1:-1;;;;;;;51199:48:0;;-1:-1:-1;;;51199:48:0;51142:105;:158;;;-1:-1:-1;;;;;;;;;;40761:40:0;;;51264:36;51122:178;51003:305;-1:-1:-1;;51003:305:0:o;54116:100::-;54170:13;54203:5;54196:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54116:100;:::o;73487:132::-;26809:13;:11;:13::i;:::-;73574:31:::1;:37:::0;73487:132::o;55619:204::-;55687:7;55712:16;55720:7;55712;:16::i;:::-;55707:64;;55737:34;;-1:-1:-1;;;55737:34:0;;;;;;;;;;;55707:64;-1:-1:-1;55791:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;55791:24:0;;55619:204::o;55182:371::-;55255:13;55271:24;55287:7;55271:15;:24::i;:::-;55255:40;;55316:5;-1:-1:-1;;;;;55310:11:0;:2;-1:-1:-1;;;;;55310:11:0;;55306:48;;55330:24;;-1:-1:-1;;;55330:24:0;;;;;;;;;;;55306:48;25554:10;-1:-1:-1;;;;;55371:21:0;;;;;;:63;;-1:-1:-1;55397:37:0;55414:5;25554:10;56253:164;:::i;55397:37::-;55396:38;55371:63;55367:138;;;55458:35;;-1:-1:-1;;;55458:35:0;;;;;;;;;;;55367:138;55517:28;55526:2;55530:7;55539:5;55517:8;:28::i;:::-;55244:309;55182:371;;:::o;73369:110::-;26809:13;:11;:13::i;:::-;73445:20:::1;:26:::0;73369:110::o;73915:116::-;26809:13;:11;:13::i;:::-;73994:23:::1;:29:::0;73915:116::o;73269:92::-;26809:13;:11;:13::i;:::-;73336:11:::1;:17:::0;73269:92::o;56484:170::-;56618:28;56628:4;56634:2;56638:7;56618:9;:28::i;76729:877::-;76865:24;;-1:-1:-1;;9396:2:1;9392:15;;;9388:53;76865:24:0;;;9376:66:1;76820:7:0;;;;9458:12:1;;76865:24:0;;;;;;;;;;;;76855:35;;;;;;76840:50;;71921:1;76907:12;;:29;76903:695;;76960:1;76953:8;;;;;76903:695;71968:1;76982:12;;:28;76978:620;;77027:27;77057:41;77065:20;;77087:10;;77057:7;:41::i;:::-;77027:71;;77117:46;77136:5;77143:13;;77158:4;77117:18;:46::i;:::-;:104;;;;-1:-1:-1;77187:34:0;;-1:-1:-1;;;;;77167:17:0;;;;;;:9;:17;;;;;;:54;77117:104;:144;;;;;77260:1;77238:19;:23;77117:144;77113:331;;;77289:60;77293:19;77314:34;;77289:3;:60::i;:::-;77282:67;;;;;;77113:331;77397:31;;77390:38;;;;;;76978:620;72015:1;77463:12;;:28;77460:138;;-1:-1:-1;;77515:31:0;;77508:38;;77460:138;77585:1;77578:8;;;;;78668:930;79130:12;;78766:21;;;;;;;;;79173:34;79193:6;79201:5;79173:19;:34::i;:::-;79153:54;;79232:25;79243:6;79251:5;79232:10;:25::i;:::-;79218:39;;79292:20;;79268:44;;79350:16;;79337:10;;:29;;;;:::i;:::-;79323:43;;79407:11;;79393;;:25;;;;:::i;:::-;-1:-1:-1;;;;;79448:17:0;;;;;;;:9;:17;;;;;;79496:11;;79538;;79577:13;;78668:930;;;;;;-1:-1:-1;78668:930:0;;;;79448:17;;79496:11;;79538;;-1:-1:-1;79577:13:0;-1:-1:-1;78668:930:0;-1:-1:-1;;;78668:930:0:o;73775:132::-;26809:13;:11;:13::i;:::-;73862:31:::1;:37:::0;73775:132::o;75438:114::-;26809:13;:11;:13::i;:::-;75496:47:::1;::::0;75504:10:::1;::::0;75521:21:::1;75496:47:::0;::::1;;;::::0;::::1;::::0;;;75521:21;75504:10;75496:47;::::1;;;;;;75488:56;;;::::0;::::1;;75438:114::o:0;56725:185::-;56863:39;56880:4;56886:2;56890:7;56863:39;;;;;;;;;;;;:16;:39::i;77780:879::-;77870:7;77892:24;77919:35;77940:6;77948:5;77919:20;:35::i;:::-;-1:-1:-1;;;;;78024:17:0;;77967:28;78024:17;;;:9;:17;;;;;;77892:62;;-1:-1:-1;77967:28:0;77998:44;;77892:62;;77998:7;:44::i;:::-;77967:75;;78072:43;78076:16;78094:20;78072:3;:43::i;:::-;78053:62;;71968:1;78132:12;;:28;78128:403;;78177:27;78207:32;78215:11;;78228:10;;78207:7;:32::i;:::-;78177:62;;78273:42;78277:16;78295:19;78273:3;:42::i;:::-;78254:61;;78162:165;78128:403;;;72015:1;78336:12;;:28;78333:198;;78381:24;78408:38;78416:11;;78429:16;;78408:7;:38::i;:::-;78381:65;;78480:39;78484:16;78502;78480:3;:39::i;:::-;78461:58;;78366:165;78333:198;78569:46;78573:16;78591:23;;78569:3;:46::i;:::-;78550:65;77780:879;-1:-1:-1;;;;;77780:879:0:o;74139:110::-;26809:13;:11;:13::i;:::-;74215:20:::1;:26:::0;74139:110::o;72746:85::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;75333:97::-;26809:13;:11;:13::i;:::-;75404:12:::1;:18;75419:3:::0;;75404:12;:18:::1;:::i;53924:125::-:0;53988:7;54015:21;54028:7;54015:12;:21::i;:::-;:26;;53924:125;-1:-1:-1;;53924:125:0:o;51372:206::-;51436:7;-1:-1:-1;;;;;51460:19:0;;51456:60;;51488:28;;-1:-1:-1;;;51488:28:0;;;;;;;;;;;51456:60;-1:-1:-1;;;;;;51542:19:0;;;;;:12;:19;;;;;:27;-1:-1:-1;;;;;51542:27:0;;51372:206::o;27571:103::-;26809:13;:11;:13::i;:::-;27636:30:::1;27663:1;27636:18;:30::i;74039:92::-:0;26809:13;:11;:13::i;:::-;74106:11:::1;:17:::0;74039:92::o;54285:104::-;54341:13;54374:7;54367:14;;;;;:::i;74257:92::-;26809:13;:11;:13::i;:::-;74324:11:::1;:17:::0;74257:92::o;55895:287::-;25554:10;-1:-1:-1;;;;;55994:24:0;;;55990:54;;56027:17;;-1:-1:-1;;;56027:17:0;;;;;;;;;;;55990:54;25554:10;56057:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;56057:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;56057:53:0;;;;;;;;;;56126:48;;540:41:1;;;56057:42:0;;25554:10;56126:48;;513:18:1;56126:48:0;;;;;;;55895:287;;:::o;74451:88::-;26809:13;:11;:13::i;:::-;71968:1:::1;74504:12;:27:::0;74451:88::o;74642:558::-;26809:13;:11;:13::i;:::-;74898:31:::1;:66:::0;;;;74975:11:::1;:26:::0;;;;75012:11:::1;:26:::0;75049:20:::1;:44:::0;75104:23:::1;:50:::0;72015:1:::1;75165:12;:27:::0;74642:558::o;73043:108::-;26809:13;:11;:13::i;:::-;73118:19:::1;:25:::0;73043:108::o;75953:768::-;76079:24;;-1:-1:-1;;9396:2:1;9392:15;;;9388:53;76079:24:0;;;9376:66:1;76034:7:0;;;;9458:12:1;;76079:24:0;;;;;;;;;;;;76069:35;;;;;;76054:50;;71968:1;76129:12;;:28;76125:589;;76174:27;76204:41;76212:20;;76234:10;;76204:7;:41::i;:::-;76174:71;;76264:46;76283:5;76290:13;;76305:4;76264:18;:46::i;:::-;:104;;;;-1:-1:-1;76334:34:0;;-1:-1:-1;;;;;76314:17:0;;;;;;:9;:17;;;;;;:54;76264:104;:144;;;;;76407:1;76385:19;:23;76264:144;76260:275;;;76436:19;;76429:26;;;;;;76260:275;76503:16;;76496:23;;;;;;76125:589;72015:1;76555:12;;:28;76552:162;;76644:16;;76621:20;;:39;;;;:::i;:::-;76607:11;;:53;;;;:::i;:::-;76600:60;;;;;56981:369;57148:28;57158:4;57164:2;57168:7;57148:9;:28::i;:::-;-1:-1:-1;;;;;57191:13:0;;29916:19;:23;;57191:76;;;;;57211:56;57242:4;57248:2;57252:7;57261:5;57211:30;:56::i;:::-;57210:57;57191:76;57187:156;;;57291:40;;-1:-1:-1;;;57291:40:0;;;;;;;;;;;57187:156;56981:369;;;;:::o;79606:1071::-;71106:21;:19;:21::i;:::-;79711:12:::1;::::0;79703:71:::1;;;::::0;-1:-1:-1;;;79703:71:0;;12176:2:1;79703:71:0::1;::::0;::::1;12158:21:1::0;12215:2;12195:18;;;12188:30;12254:31;12234:18;;;12227:59;12303:18;;79703:71:0::1;;;;;;;;;79803:38;79823:10;79835:5;;79803:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;79803:19:0::1;::::0;-1:-1:-1;;;79803:38:0:i:1;:::-;79793:6;:48;;79785:105;;;::::0;-1:-1:-1;;;79785:105:0;;12534:2:1;79785:105:0::1;::::0;::::1;12516:21:1::0;12573:2;12553:18;;;12546:30;12612:34;12592:18;;;12585:62;-1:-1:-1;;;12663:18:1;;;12656:42;12715:19;;79785:105:0::1;12332:408:1::0;79785:105:0::1;71968:1;79907:12;;:28:::0;79903:685:::1;;80005:6;79973:29;79984:10;79996:5;;79973:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;79973:10:0::1;::::0;-1:-1:-1;;;79973:29:0:i:1;:::-;:38;;;;:::i;:::-;79960:9;:51;;79952:77;;;::::0;-1:-1:-1;;;79952:77:0;;12947:2:1;79952:77:0::1;::::0;::::1;12929:21:1::0;12986:2;12966:18;;;12959:30;-1:-1:-1;;;13005:18:1;;;12998:43;13058:18;;79952:77:0::1;12745:337:1::0;79952:77:0::1;80058:6;80044:10;;:20;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;79903:685:0::1;::::0;-1:-1:-1;79903:685:0::1;;72015:1;80084:12;;:28:::0;80081:507:::1;;80129:25;80157:29;80168:10;80180:5;;80157:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;80157:10:0::1;::::0;-1:-1:-1;;;80157:29:0:i:1;:::-;80129:57:::0;-1:-1:-1;80129:57:0;80258:10;;80254:218:::1;;80351:20;::::0;80289:24:::1;::::0;80337:10:::1;80346:1;80337:6:::0;:10:::1;:::i;:::-;80336:35;;;;:::i;:::-;80316:55;::::0;:17;:55:::1;:::i;:::-;80289:82:::0;-1:-1:-1;80454:1:0::1;80414:36;80289:82:::0;80414:17;:36:::1;:::i;:::-;80413:42;;;;:::i;:::-;80403:53;::::0;:6;:53:::1;:::i;:::-;80390:66;;80270:202;80254:218;80507:10;80494:9;:23;;80486:49;;;::::0;-1:-1:-1;;;80486:49:0;;12947:2:1;80486:49:0::1;::::0;::::1;12929:21:1::0;12986:2;12966:18;;;12959:30;-1:-1:-1;;;13005:18:1;;;12998:43;13058:18;;80486:49:0::1;12745:337:1::0;80486:49:0::1;80570:6;80550:16;;:26;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;;;;80081:507:0::1;80598:29;80608:10;80620:6;80598:9;:29::i;:::-;80648:10;80638:21;::::0;;;:9:::1;:21;::::0;;;;:31;;80663:6;;80638:21;:31:::1;::::0;80663:6;;80638:31:::1;:::i;:::-;::::0;;;-1:-1:-1;;70544:1:0;71670:7;:22;55244:309;55182:371;;:::o;75560:173::-;75634:13;75691:23;75706:7;75691:14;:23::i;:::-;75674:50;;;;;;;;:::i;:::-;;;;;;;;;;;;;75660:65;;75560:173;;;:::o;73159:102::-;26809:13;:11;:13::i;:::-;73231:16:::1;:22:::0;73159:102::o;74357:86::-;26809:13;:11;:13::i;:::-;71921:1:::1;74407:12;:28:::0;74357:86::o;27829:201::-;26809:13;:11;:13::i;:::-;-1:-1:-1;;;;;27918:22:0;::::1;27910:73;;;::::0;-1:-1:-1;;;27910:73:0;;14237:2:1;27910:73:0::1;::::0;::::1;14219:21:1::0;14276:2;14256:18;;;14249:30;14315:34;14295:18;;;14288:62;-1:-1:-1;;;14366:18:1;;;14359:36;14412:19;;27910:73:0::1;14035:402:1::0;27910:73:0::1;27994:28;28013:8;27994:18;:28::i;:::-;27829:201:::0;:::o;75849:96::-;26809:13;:11;:13::i;:::-;75918::::1;:19:::0;75849:96::o;74545:89::-;26809:13;:11;:13::i;:::-;72015:1:::1;74599:12;:27:::0;74545:89::o;73627:140::-;26809:13;:11;:13::i;:::-;73718:34:::1;:41:::0;73627:140::o;27088:132::-;26996:6;;-1:-1:-1;;;;;26996:6:0;25554:10;27152:23;27144:68;;;;-1:-1:-1;;;27144:68:0;;14644:2:1;27144:68:0;;;14626:21:1;;;14663:18;;;14656:30;14722:34;14702:18;;;14695:62;14774:18;;27144:68:0;14442:356:1;57605:187:0;57662:4;57705:7;75834:1;57686:26;;:53;;;;;57726:13;;57716:7;:23;57686:53;:98;;;;-1:-1:-1;;57757:20:0;;;;:11;:20;;;;;:27;-1:-1:-1;;;57757:27:0;;;;57756:28;;57605:187::o;65775:196::-;65890:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;65890:29:0;-1:-1:-1;;;;;65890:29:0;;;;;;;;;65935:28;;65890:24;;65935:28;;;;;;;65775:196;;;:::o;60718:2130::-;60833:35;60871:21;60884:7;60871:12;:21::i;:::-;60833:59;;60931:4;-1:-1:-1;;;;;60909:26:0;:13;:18;;;-1:-1:-1;;;;;60909:26:0;;60905:67;;60944:28;;-1:-1:-1;;;60944:28:0;;;;;;;;;;;60905:67;60985:22;25554:10;-1:-1:-1;;;;;61011:20:0;;;;:73;;-1:-1:-1;61048:36:0;61065:4;25554:10;56253:164;:::i;61048:36::-;61011:126;;;-1:-1:-1;25554:10:0;61101:20;61113:7;61101:11;:20::i;:::-;-1:-1:-1;;;;;61101:36:0;;61011:126;60985:153;;61156:17;61151:66;;61182:35;;-1:-1:-1;;;61182:35:0;;;;;;;;;;;61151:66;-1:-1:-1;;;;;61232:16:0;;61228:52;;61257:23;;-1:-1:-1;;;61257:23:0;;;;;;;;;;;61228:52;61401:35;61418:1;61422:7;61431:4;61401:8;:35::i;:::-;-1:-1:-1;;;;;61732:18:0;;;;;;;:12;:18;;;;;;;;:31;;-1:-1:-1;;61732:31:0;;;-1:-1:-1;;;;;61732:31:0;;;-1:-1:-1;;61732:31:0;;;;;;;61778:16;;;;;;;;;:29;;;;;;;;-1:-1:-1;61778:29:0;;;;;;;;;;;61858:20;;;:11;:20;;;;;;61893:18;;-1:-1:-1;;;;;;61926:49:0;;;;-1:-1:-1;;;61959:15:0;61926:49;;;;;;;;;;62249:11;;62309:24;;;;;62352:13;;61858:20;;62309:24;;62352:13;62348:384;;62562:13;;62547:11;:28;62543:174;;62600:20;;62669:28;;;;-1:-1:-1;;;;;62643:54:0;-1:-1:-1;;;62643:54:0;-1:-1:-1;;;;;;62643:54:0;;;-1:-1:-1;;;;;62600:20:0;;62643:54;;;;62543:174;61707:1036;;;62779:7;62775:2;-1:-1:-1;;;;;62760:27:0;62769:4;-1:-1:-1;;;;;62760:27:0;;;;;;;;;;;62798:42;60822:2026;;60718:2130;;;:::o;77614:158::-;77676:7;77704:1;77700;:5;77696:46;;;-1:-1:-1;77729:1:0;77722:8;;77696:46;77759:5;77763:1;77759;:5;:::i;:::-;77752:12;77614:158;-1:-1:-1;;;77614:158:0:o;1257:190::-;1382:4;1435;1406:25;1419:5;1426:4;1406:12;:25::i;:::-;:33;;1257:190;-1:-1:-1;;;;1257:190:0:o;80685:106::-;80743:7;80774:1;80770;:5;:13;;80782:1;80770:13;;;-1:-1:-1;80778:1:0;;80685:106;-1:-1:-1;80685:106:0:o;52753:1109::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;52864:7:0;;75834:1;52913:23;;:47;;;;;52947:13;;52940:4;:20;52913:47;52909:886;;;52981:31;53015:17;;;:11;:17;;;;;;;;;52981:51;;;;;;;;;-1:-1:-1;;;;;52981:51:0;;;;-1:-1:-1;;;52981:51:0;;-1:-1:-1;;;;;52981:51:0;;;;;;;;-1:-1:-1;;;52981:51:0;;;;;;;;;;;;;;53051:729;;53101:14;;-1:-1:-1;;;;;53101:28:0;;53097:101;;53165:9;52753:1109;-1:-1:-1;;;52753:1109:0:o;53097:101::-;-1:-1:-1;;;53540:6:0;53585:17;;;;:11;:17;;;;;;;;;53573:29;;;;;;;;;-1:-1:-1;;;;;53573:29:0;;;;;-1:-1:-1;;;53573:29:0;;-1:-1:-1;;;;;53573:29:0;;;;;;;;-1:-1:-1;;;53573:29:0;;;;;;;;;;;;;53633:28;53629:109;;53701:9;52753:1109;-1:-1:-1;;;52753:1109:0:o;53629:109::-;53500:261;;;52962:833;52909:886;53823:31;;-1:-1:-1;;;53823:31:0;;;;;;;;;;;28190:191;28283:6;;;-1:-1:-1;;;;;28300:17:0;;;-1:-1:-1;;;;;;28300:17:0;;;;;;;28333:40;;28283:6;;;28300:17;28283:6;;28333:40;;28264:16;;28333:40;28253:128;28190:191;:::o;66463:667::-;66647:72;;-1:-1:-1;;;66647:72:0;;66626:4;;-1:-1:-1;;;;;66647:36:0;;;;;:72;;25554:10;;66698:4;;66704:7;;66713:5;;66647:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;66647:72:0;;;;;;;;-1:-1:-1;;66647:72:0;;;;;;;;;;;;:::i;:::-;;;66643:480;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;66881:6;:13;66898:1;66881:18;66877:235;;66927:40;;-1:-1:-1;;;66927:40:0;;;;;;;;;;;66877:235;67070:6;67064:13;67055:6;67051:2;67047:15;67040:38;66643:480;-1:-1:-1;;;;;;66766:55:0;-1:-1:-1;;;66766:55:0;;-1:-1:-1;66463:667:0;;;;;;:::o;71186:293::-;70588:1;71320:7;;:19;71312:63;;;;-1:-1:-1;;;71312:63:0;;15753:2:1;71312:63:0;;;15735:21:1;15792:2;15772:18;;;15765:30;15831:33;15811:18;;;15804:61;15882:18;;71312:63:0;15551:355:1;71312:63:0;70588:1;71453:7;:18;71186:293::o;57800:104::-;57869:27;57879:2;57883:8;57869:27;;;;;;;;;;;;:9;:27::i;:::-;57800:104;;:::o;54460:318::-;54533:13;54564:16;54572:7;54564;:16::i;:::-;54559:59;;54589:29;;-1:-1:-1;;;54589:29:0;;;;;;;;;;;54559:59;54631:21;54655:10;:8;:10::i;:::-;54631:34;;54689:7;54683:21;54708:1;54683:26;:87;;;;;;;;;;;;;;;;;54736:7;54745:18;:7;:16;:18::i;:::-;54719:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;54676:94;54460:318;-1:-1:-1;;;54460:318:0:o;2124:296::-;2207:7;2250:4;2207:7;2265:118;2289:5;:12;2285:1;:16;2265:118;;;2338:33;2348:12;2362:5;2368:1;2362:8;;;;;;;;:::i;:::-;;;;;;;2338:9;:33::i;:::-;2323:48;-1:-1:-1;2303:3:0;;;;:::i;:::-;;;;2265:118;;;-1:-1:-1;2400:12:0;2124:296;-1:-1:-1;;;2124:296:0:o;58267:163::-;58390:32;58396:2;58400:8;58410:5;58417:4;58390:5;:32::i;75208:114::-;75269:13;75302:12;75295:19;;;;;:::i;22901:716::-;22957:13;23008:14;23025:17;23036:5;23025:10;:17::i;:::-;23045:1;23025:21;23008:38;;23061:20;23095:6;-1:-1:-1;;;;;23084:18:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;23084:18:0;-1:-1:-1;23061:41:0;-1:-1:-1;23226:28:0;;;23242:2;23226:28;23283:288;-1:-1:-1;;23315:5:0;-1:-1:-1;;;23452:2:0;23441:14;;23436:30;23315:5;23423:44;23513:2;23504:11;;;-1:-1:-1;23534:21:0;23283:288;23534:21;-1:-1:-1;23592:6:0;22901:716;-1:-1:-1;;;22901:716:0:o;9164:149::-;9227:7;9258:1;9254;:5;:51;;9389:13;9483:15;;;9519:4;9512:15;;;9566:4;9550:21;;9254:51;;;9389:13;9483:15;;;9519:4;9512:15;;;9566:4;9550:21;;9262:20;9321:268;58689:1775;58828:20;58851:13;-1:-1:-1;;;;;58879:16:0;;58875:48;;58904:19;;-1:-1:-1;;;58904:19:0;;;;;;;;;;;58875:48;58938:8;58950:1;58938:13;58934:44;;58960:18;;-1:-1:-1;;;58960:18:0;;;;;;;;;;;58934:44;-1:-1:-1;;;;;59329:16:0;;;;;;:12;:16;;;;;;;;:44;;-1:-1:-1;;59388:49:0;;-1:-1:-1;;;;;59329:44:0;;;;;;;59388:49;;;;-1:-1:-1;;59329:44:0;;;;;;59388:49;;;;;;;;;;;;;;;;59454:25;;;:11;:25;;;;;;:35;;-1:-1:-1;;;;;;59504:66:0;;;;-1:-1:-1;;;59554:15:0;59504:66;;;;;;;;;;59454:25;59651:23;;;59695:4;:23;;;;-1:-1:-1;;;;;;59703:13:0;;29916:19;:23;;59703:15;59691:641;;;59739:314;59770:38;;59795:12;;-1:-1:-1;;;;;59770:38:0;;;59787:1;;59770:38;;59787:1;;59770:38;59836:69;59875:1;59879:2;59883:14;;;;;;59899:5;59836:30;:69::i;:::-;59831:174;;59941:40;;-1:-1:-1;;;59941:40:0;;;;;;;;;;;59831:174;60048:3;60032:12;:19;59739:314;;60134:12;60117:13;;:29;60113:43;;60148:8;;;60113:43;59691:641;;;60197:120;60228:40;;60253:14;;;;;-1:-1:-1;;;;;60228:40:0;;;60245:1;;60228:40;;60245:1;;60228:40;60312:3;60296:12;:19;60197:120;;59691:641;-1:-1:-1;60346:13:0;:28;60396:60;56981:369;19767:922;19820:7;;-1:-1:-1;;;19898:15:0;;19894:102;;-1:-1:-1;;;19934:15:0;;;-1:-1:-1;19978:2:0;19968:12;19894:102;20023:6;20014:5;:15;20010:102;;20059:6;20050:15;;;-1:-1:-1;20094:2:0;20084:12;20010:102;20139:6;20130:5;:15;20126:102;;20175:6;20166:15;;;-1:-1:-1;20210:2:0;20200:12;20126:102;20255:5;20246;:14;20242:99;;20290:5;20281:14;;;-1:-1:-1;20324:1:0;20314:11;20242:99;20368:5;20359;:14;20355:99;;20403:5;20394:14;;;-1:-1:-1;20437:1:0;20427:11;20355:99;20481:5;20472;:14;20468:99;;20516:5;20507:14;;;-1:-1:-1;20550:1:0;20540:11;20468:99;20594:5;20585;:14;20581:66;;20630:1;20620:11;20675:6;19767:922;-1:-1:-1;;19767:922:0: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:173::-;1809:20;;-1:-1:-1;;;;;1858:31:1;;1848:42;;1838:70;;1904:1;1901;1894:12;1838:70;1741:173;;;:::o;1919:254::-;1987:6;1995;2048:2;2036:9;2027:7;2023:23;2019:32;2016:52;;;2064:1;2061;2054:12;2016:52;2087:29;2106:9;2087:29;:::i;:::-;2077:39;2163:2;2148:18;;;;2135:32;;-1:-1:-1;;;1919:254:1:o;2360:328::-;2437:6;2445;2453;2506:2;2494:9;2485:7;2481:23;2477:32;2474:52;;;2522:1;2519;2512:12;2474:52;2545:29;2564:9;2545:29;:::i;:::-;2535:39;;2593:38;2627:2;2616:9;2612:18;2593:38;:::i;:::-;2583:48;;2678:2;2667:9;2663:18;2650:32;2640:42;;2360:328;;;;;:::o;2693:127::-;2754:10;2749:3;2745:20;2742:1;2735:31;2785:4;2782:1;2775:15;2809:4;2806:1;2799:15;2825:275;2896:2;2890:9;2961:2;2942:13;;-1:-1:-1;;2938:27:1;2926:40;;-1:-1:-1;;;;;2981:34:1;;3017:22;;;2978:62;2975:88;;;3043:18;;:::i;:::-;3079:2;3072:22;2825:275;;-1:-1:-1;2825:275:1:o;3105:1020::-;3198:6;3206;3259:2;3247:9;3238:7;3234:23;3230:32;3227:52;;;3275:1;3272;3265:12;3227:52;3298:29;3317:9;3298:29;:::i;:::-;3288:39;;3346:2;3399;3388:9;3384:18;3371:32;-1:-1:-1;;;;;3463:2:1;3455:6;3452:14;3449:34;;;3479:1;3476;3469:12;3449:34;3517:6;3506:9;3502:22;3492:32;;3562:7;3555:4;3551:2;3547:13;3543:27;3533:55;;3584:1;3581;3574:12;3533:55;3620:2;3607:16;3642:2;3638;3635:10;3632:36;;;3648:18;;:::i;:::-;3694:2;3691:1;3687:10;3677:20;;3717:28;3741:2;3737;3733:11;3717:28;:::i;:::-;3779:15;;;3849:11;;;3845:20;;;3810:12;;;;3877:19;;;3874:39;;;3909:1;3906;3899:12;3874:39;3933:11;;;;3953:142;3969:6;3964:3;3961:15;3953:142;;;4035:17;;4023:30;;3986:12;;;;4073;;;;3953:142;;;4114:5;4104:15;;;;;;;;3105:1020;;;;;:::o;5140:186::-;5199:6;5252:2;5240:9;5231:7;5227:23;5223:32;5220:52;;;5268:1;5265;5258:12;5220:52;5291:29;5310:9;5291:29;:::i;5331:592::-;5402:6;5410;5463:2;5451:9;5442:7;5438:23;5434:32;5431:52;;;5479:1;5476;5469:12;5431:52;5519:9;5506:23;-1:-1:-1;;;;;5589:2:1;5581:6;5578:14;5575:34;;;5605:1;5602;5595:12;5575:34;5643:6;5632:9;5628:22;5618:32;;5688:7;5681:4;5677:2;5673:13;5669:27;5659:55;;5710:1;5707;5700:12;5659:55;5750:2;5737:16;5776:2;5768:6;5765:14;5762:34;;;5792:1;5789;5782:12;5762:34;5837:7;5832:2;5823:6;5819:2;5815:15;5811:24;5808:37;5805:57;;;5858:1;5855;5848:12;5805:57;5889:2;5881:11;;;;;5911:6;;-1:-1:-1;5331:592:1;;-1:-1:-1;;;;5331:592:1:o;5928:347::-;5993:6;6001;6054:2;6042:9;6033:7;6029:23;6025:32;6022:52;;;6070:1;6067;6060:12;6022:52;6093:29;6112:9;6093:29;:::i;:::-;6083:39;;6172:2;6161:9;6157:18;6144:32;6219:5;6212:13;6205:21;6198:5;6195:32;6185:60;;6241:1;6238;6231:12;6185:60;6264:5;6254:15;;;5928:347;;;;;:::o;6280:454::-;6375:6;6383;6391;6399;6407;6460:3;6448:9;6439:7;6435:23;6431:33;6428:53;;;6477:1;6474;6467:12;6428:53;-1:-1:-1;;6500:23:1;;;6570:2;6555:18;;6542:32;;-1:-1:-1;6621:2:1;6606:18;;6593:32;;6672:2;6657:18;;6644:32;;-1:-1:-1;6723:3:1;6708:19;6695:33;;-1:-1:-1;6280:454:1;-1:-1:-1;6280:454:1:o;6739:980::-;6834:6;6842;6850;6858;6911:3;6899:9;6890:7;6886:23;6882:33;6879:53;;;6928:1;6925;6918:12;6879:53;6951:29;6970:9;6951:29;:::i;:::-;6941:39;;6999:2;7020:38;7054:2;7043:9;7039:18;7020:38;:::i;:::-;7010:48;;7105:2;7094:9;7090:18;7077:32;7067:42;;7160:2;7149:9;7145:18;7132:32;-1:-1:-1;;;;;7224:2:1;7216:6;7213:14;7210:34;;;7240:1;7237;7230:12;7210:34;7278:6;7267:9;7263:22;7253:32;;7323:7;7316:4;7312:2;7308:13;7304:27;7294:55;;7345:1;7342;7335:12;7294:55;7381:2;7368:16;7403:2;7399;7396:10;7393:36;;;7409:18;;:::i;:::-;7451:53;7494:2;7475:13;;-1:-1:-1;;7471:27:1;7467:36;;7451:53;:::i;:::-;7438:66;;7527:2;7520:5;7513:17;7567:7;7562:2;7557;7553;7549:11;7545:20;7542:33;7539:53;;;7588:1;7585;7578:12;7539:53;7643:2;7638;7634;7630:11;7625:2;7618:5;7614:14;7601:45;7687:1;7682:2;7677;7670:5;7666:14;7662:23;7655:34;;7708:5;7698:15;;;;;6739:980;;;;;;;:::o;7724:683::-;7819:6;7827;7835;7888:2;7876:9;7867:7;7863:23;7859:32;7856:52;;;7904:1;7901;7894:12;7856:52;7940:9;7927:23;7917:33;;8001:2;7990:9;7986:18;7973:32;-1:-1:-1;;;;;8065:2:1;8057:6;8054:14;8051:34;;;8081:1;8078;8071:12;8051:34;8119:6;8108:9;8104:22;8094:32;;8164:7;8157:4;8153:2;8149:13;8145:27;8135:55;;8186:1;8183;8176:12;8135:55;8226:2;8213:16;8252:2;8244:6;8241:14;8238:34;;;8268:1;8265;8258:12;8238:34;8321:7;8316:2;8306:6;8303:1;8299:14;8295:2;8291:23;8287:32;8284:45;8281:65;;;8342:1;8339;8332:12;8281:65;8373:2;8369;8365:11;8355:21;;8395:6;8385:16;;;;;7724:683;;;;;:::o;8412:260::-;8480:6;8488;8541:2;8529:9;8520:7;8516:23;8512:32;8509:52;;;8557:1;8554;8547:12;8509:52;8580:29;8599:9;8580:29;:::i;:::-;8570:39;;8628:38;8662:2;8651:9;8647:18;8628:38;:::i;:::-;8618:48;;8412:260;;;;;:::o;8862:380::-;8941:1;8937:12;;;;8984;;;9005:61;;9059:4;9051:6;9047:17;9037:27;;9005:61;9112:2;9104:6;9101:14;9081:18;9078:38;9075:161;;9158:10;9153:3;9149:20;9146:1;9139:31;9193:4;9190:1;9183:15;9221:4;9218:1;9211:15;9075:161;;8862:380;;;:::o;9481:127::-;9542:10;9537:3;9533:20;9530:1;9523:31;9573:4;9570:1;9563:15;9597:4;9594:1;9587:15;9613:125;9678:9;;;9699:10;;;9696:36;;;9712:18;;:::i;9869:545::-;9971:2;9966:3;9963:11;9960:448;;;10007:1;10032:5;10028:2;10021:17;10077:4;10073:2;10063:19;10147:2;10135:10;10131:19;10128:1;10124:27;10118:4;10114:38;10183:4;10171:10;10168:20;10165:47;;;-1:-1:-1;10206:4:1;10165:47;10261:2;10256:3;10252:12;10249:1;10245:20;10239:4;10235:31;10225:41;;10316:82;10334:2;10327:5;10324:13;10316:82;;;10379:17;;;10360:1;10349:13;10316:82;;;10320:3;;;9869:545;;;:::o;10590:1206::-;-1:-1:-1;;;;;10709:3:1;10706:27;10703:53;;;10736:18;;:::i;:::-;10765:94;10855:3;10815:38;10847:4;10841:11;10815:38;:::i;:::-;10809:4;10765:94;:::i;:::-;10885:1;10910:2;10905:3;10902:11;10927:1;10922:616;;;;11582:1;11599:3;11596:93;;;-1:-1:-1;11655:19:1;;;11642:33;11596:93;-1:-1:-1;;10547:1:1;10543:11;;;10539:24;10535:29;10525:40;10571:1;10567:11;;;10522:57;11702:78;;10895:895;;10922:616;9816:1;9809:14;;;9853:4;9840:18;;-1:-1:-1;;10958:17:1;;;11059:9;11081:229;11095:7;11092:1;11089:14;11081:229;;;11184:19;;;11171:33;11156:49;;11291:4;11276:20;;;;11244:1;11232:14;;;;11111:12;11081:229;;;11085:3;11338;11329:7;11326:16;11323:159;;;11462:1;11458:6;11452:3;11446;11443:1;11439:11;11435:21;11431:34;11427:39;11414:9;11409:3;11405:19;11392:33;11388:79;11380:6;11373:95;11323:159;;;11525:1;11519:3;11516:1;11512:11;11508:19;11502:4;11495:33;10895:895;;10590:1206;;;:::o;11801:168::-;11874:9;;;11905;;11922:15;;;11916:22;;11902:37;11892:71;;11943:18;;:::i;13087:128::-;13154:9;;;13175:11;;;13172:37;;;13189:18;;:::i;13352:217::-;13392:1;13418;13408:132;;13462:10;13457:3;13453:20;13450:1;13443:31;13497:4;13494:1;13487:15;13525:4;13522:1;13515:15;13408:132;-1:-1:-1;13554:9:1;;13352:217::o;13574:456::-;13806:3;13844:6;13838:13;13860:66;13919:6;13914:3;13907:4;13899:6;13895:17;13860:66;:::i;:::-;-1:-1:-1;;;13948:16:1;;13973:22;;;-1:-1:-1;14022:1:1;14011:13;;13574:456;-1:-1:-1;13574:456:1:o;14803:489::-;-1:-1:-1;;;;;15072:15:1;;;15054:34;;15124:15;;15119:2;15104:18;;15097:43;15171:2;15156:18;;15149:34;;;15219:3;15214:2;15199:18;;15192:31;;;14997:4;;15240:46;;15266:19;;15258:6;15240:46;:::i;:::-;15232:54;14803:489;-1:-1:-1;;;;;;14803:489:1:o;15297:249::-;15366:6;15419:2;15407:9;15398:7;15394:23;15390:32;15387:52;;;15435:1;15432;15425:12;15387:52;15467:9;15461:16;15486:30;15510:5;15486:30;:::i;15911:496::-;16090:3;16128:6;16122:13;16144:66;16203:6;16198:3;16191:4;16183:6;16179:17;16144:66;:::i;:::-;16273:13;;16232:16;;;;16295:70;16273:13;16232:16;16342:4;16330:17;;16295:70;:::i;:::-;16381:20;;15911:496;-1:-1:-1;;;;15911:496:1:o;16412:127::-;16473:10;16468:3;16464:20;16461:1;16454:31;16504:4;16501:1;16494:15;16528:4;16525:1;16518:15;16544:135;16583:3;16604:17;;;16601:43;;16624:18;;:::i;:::-;-1:-1:-1;16671:1:1;16660:13;;16544:135::o
Swarm Source
ipfs://67e9e91c40c4fbefe70dc739713fa95eafd7d1626efd42ec4931abab09e92616
Loading...
Loading
Loading...
Loading
[ 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.