ERC-721
Overview
Max Total Supply
300 BBG
Holders
291
Total Transfers
-
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
BuddyBadgeNFT
Compiler Version
v0.8.21+commit.d9974bed
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-08-01 */ // SPDX-License-Identifier: MIT // File: @openzeppelin/contracts/utils/math/SignedMath.sol // OpenZeppelin Contracts (last updated v4.8.0) (utils/math/SignedMath.sol) pragma solidity ^0.8.0; /** * @dev Standard signed math utilities missing in the Solidity language. */ library SignedMath { /** * @dev Returns the largest of two signed numbers. */ function max(int256 a, int256 b) internal pure returns (int256) { return a > b ? a : b; } /** * @dev Returns the smallest of two signed numbers. */ function min(int256 a, int256 b) internal pure returns (int256) { return a < b ? a : b; } /** * @dev Returns the average of two signed numbers without overflow. * The result is rounded towards zero. */ function average(int256 a, int256 b) internal pure returns (int256) { // Formula from the book "Hacker's Delight" int256 x = (a & b) + ((a ^ b) >> 1); return x + (int256(uint256(x) >> 255) & (a ^ b)); } /** * @dev Returns the absolute unsigned value of a signed value. */ function abs(int256 n) internal pure returns (uint256) { unchecked { // must be unchecked in order to support `n = type(int256).min` return uint256(n >= 0 ? n : -n); } } } // File: @openzeppelin/contracts/utils/math/Math.sol // OpenZeppelin Contracts (last updated v4.9.0) (utils/math/Math.sol) pragma solidity ^0.8.0; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { enum Rounding { Down, // Toward negative infinity Up, // Toward infinity Zero // Toward zero } /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a > b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow. return (a & b) + (a ^ b) / 2; } /** * @dev Returns the ceiling of the division of two numbers. * * This differs from standard division with `/` in that it rounds up instead * of rounding down. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b - 1) / b can overflow on addition, so we distribute. return a == 0 ? 0 : (a - 1) / b + 1; } /** * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0 * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) * with further edits by Uniswap Labs also under MIT license. */ function mulDiv(uint256 x, uint256 y, uint256 denominator) internal pure returns (uint256 result) { unchecked { // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256 // variables such that product = prod1 * 2^256 + prod0. uint256 prod0; // Least significant 256 bits of the product uint256 prod1; // Most significant 256 bits of the product assembly { let mm := mulmod(x, y, not(0)) prod0 := mul(x, y) prod1 := sub(sub(mm, prod0), lt(mm, prod0)) } // Handle non-overflow cases, 256 by 256 division. if (prod1 == 0) { // Solidity will revert if denominator == 0, unlike the div opcode on its own. // The surrounding unchecked block does not change this fact. // See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic. return prod0 / denominator; } // Make sure the result is less than 2^256. Also prevents denominator == 0. require(denominator > prod1, "Math: mulDiv overflow"); /////////////////////////////////////////////// // 512 by 256 division. /////////////////////////////////////////////// // Make division exact by subtracting the remainder from [prod1 prod0]. uint256 remainder; assembly { // Compute remainder using mulmod. remainder := mulmod(x, y, denominator) // Subtract 256 bit number from 512 bit number. prod1 := sub(prod1, gt(remainder, prod0)) prod0 := sub(prod0, remainder) } // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1. // See https://cs.stackexchange.com/q/138556/92363. // Does not overflow because the denominator cannot be zero at this stage in the function. uint256 twos = denominator & (~denominator + 1); assembly { // Divide denominator by twos. denominator := div(denominator, twos) // Divide [prod1 prod0] by twos. prod0 := div(prod0, twos) // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one. twos := add(div(sub(0, twos), twos), 1) } // Shift in bits from prod1 into prod0. prod0 |= prod1 * twos; // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for // four bits. That is, denominator * inv = 1 mod 2^4. uint256 inverse = (3 * denominator) ^ 2; // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works // in modular arithmetic, doubling the correct bits in each step. inverse *= 2 - denominator * inverse; // inverse mod 2^8 inverse *= 2 - denominator * inverse; // inverse mod 2^16 inverse *= 2 - denominator * inverse; // inverse mod 2^32 inverse *= 2 - denominator * inverse; // inverse mod 2^64 inverse *= 2 - denominator * inverse; // inverse mod 2^128 inverse *= 2 - denominator * inverse; // inverse mod 2^256 // Because the division is now exact we can divide by multiplying with the modular inverse of denominator. // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1 // is no longer required. result = prod0 * inverse; return result; } } /** * @notice Calculates x * y / denominator with full precision, following the selected rounding direction. */ function mulDiv(uint256 x, uint256 y, uint256 denominator, Rounding rounding) internal pure returns (uint256) { uint256 result = mulDiv(x, y, denominator); if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) { result += 1; } return result; } /** * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down. * * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11). */ function sqrt(uint256 a) internal pure returns (uint256) { if (a == 0) { return 0; } // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target. // // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`. // // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)` // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))` // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)` // // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit. uint256 result = 1 << (log2(a) >> 1); // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128, // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision // into the expected uint128 result. unchecked { result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; return min(result, a / result); } } /** * @notice Calculates sqrt(a), following the selected rounding direction. */ function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = sqrt(a); return result + (rounding == Rounding.Up && result * result < a ? 1 : 0); } } /** * @dev Return the log in base 2, rounded down, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 128; } if (value >> 64 > 0) { value >>= 64; result += 64; } if (value >> 32 > 0) { value >>= 32; result += 32; } if (value >> 16 > 0) { value >>= 16; result += 16; } if (value >> 8 > 0) { value >>= 8; result += 8; } if (value >> 4 > 0) { value >>= 4; result += 4; } if (value >> 2 > 0) { value >>= 2; result += 2; } if (value >> 1 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 2, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log2(value); return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0); } } /** * @dev Return the log in base 10, rounded down, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >= 10 ** 64) { value /= 10 ** 64; result += 64; } if (value >= 10 ** 32) { value /= 10 ** 32; result += 32; } if (value >= 10 ** 16) { value /= 10 ** 16; result += 16; } if (value >= 10 ** 8) { value /= 10 ** 8; result += 8; } if (value >= 10 ** 4) { value /= 10 ** 4; result += 4; } if (value >= 10 ** 2) { value /= 10 ** 2; result += 2; } if (value >= 10 ** 1) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log10(value); return result + (rounding == Rounding.Up && 10 ** result < value ? 1 : 0); } } /** * @dev Return the log in base 256, rounded down, of a positive value. * Returns 0 if given 0. * * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string. */ function log256(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 16; } if (value >> 64 > 0) { value >>= 64; result += 8; } if (value >> 32 > 0) { value >>= 32; result += 4; } if (value >> 16 > 0) { value >>= 16; result += 2; } if (value >> 8 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 256, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log256(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log256(value); return result + (rounding == Rounding.Up && 1 << (result << 3) < value ? 1 : 0); } } } // File: @openzeppelin/contracts/utils/Strings.sol // OpenZeppelin Contracts (last updated v4.9.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { unchecked { uint256 length = Math.log10(value) + 1; string memory buffer = new string(length); uint256 ptr; /// @solidity memory-safe-assembly assembly { ptr := add(buffer, add(32, length)) } while (true) { ptr--; /// @solidity memory-safe-assembly assembly { mstore8(ptr, byte(mod(value, 10), _SYMBOLS)) } value /= 10; if (value == 0) break; } return buffer; } } /** * @dev Converts a `int256` to its ASCII `string` decimal representation. */ function toString(int256 value) internal pure returns (string memory) { return string(abi.encodePacked(value < 0 ? "-" : "", toString(SignedMath.abs(value)))); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { unchecked { return toHexString(value, Math.log256(value) + 1); } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } /** * @dev Returns true if the two strings are equal. */ function equal(string memory a, string memory b) internal pure returns (bool) { return keccak256(bytes(a)) == keccak256(bytes(b)); } } // File: @openzeppelin/contracts/utils/cryptography/ECDSA.sol // OpenZeppelin Contracts (last updated v4.9.0) (utils/cryptography/ECDSA.sol) pragma solidity ^0.8.0; /** * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations. * * These functions can be used to verify that a message was signed by the holder * of the private keys of a given address. */ library ECDSA { enum RecoverError { NoError, InvalidSignature, InvalidSignatureLength, InvalidSignatureS, InvalidSignatureV // Deprecated in v4.8 } function _throwError(RecoverError error) private pure { if (error == RecoverError.NoError) { return; // no error: do nothing } else if (error == RecoverError.InvalidSignature) { revert("ECDSA: invalid signature"); } else if (error == RecoverError.InvalidSignatureLength) { revert("ECDSA: invalid signature length"); } else if (error == RecoverError.InvalidSignatureS) { revert("ECDSA: invalid signature 's' value"); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature` or error string. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. * * Documentation for signature generation: * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js] * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers] * * _Available since v4.3._ */ function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) { if (signature.length == 65) { bytes32 r; bytes32 s; uint8 v; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. /// @solidity memory-safe-assembly assembly { r := mload(add(signature, 0x20)) s := mload(add(signature, 0x40)) v := byte(0, mload(add(signature, 0x60))) } return tryRecover(hash, v, r, s); } else { return (address(0), RecoverError.InvalidSignatureLength); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature`. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. */ function recover(bytes32 hash, bytes memory signature) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, signature); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately. * * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures] * * _Available since v4.3._ */ function tryRecover(bytes32 hash, bytes32 r, bytes32 vs) internal pure returns (address, RecoverError) { bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff); uint8 v = uint8((uint256(vs) >> 255) + 27); return tryRecover(hash, v, r, s); } /** * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately. * * _Available since v4.2._ */ function recover(bytes32 hash, bytes32 r, bytes32 vs) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, r, vs); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `v`, * `r` and `s` signature fields separately. * * _Available since v4.3._ */ function tryRecover(bytes32 hash, uint8 v, bytes32 r, bytes32 s) internal pure returns (address, RecoverError) { // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most // signatures from current libraries generate a unique signature with an s-value in the lower half order. // // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept // these malleable signatures as well. if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) { return (address(0), RecoverError.InvalidSignatureS); } // If the signature is valid (and not malleable), return the signer address address signer = ecrecover(hash, v, r, s); if (signer == address(0)) { return (address(0), RecoverError.InvalidSignature); } return (signer, RecoverError.NoError); } /** * @dev Overload of {ECDSA-recover} that receives the `v`, * `r` and `s` signature fields separately. */ function recover(bytes32 hash, uint8 v, bytes32 r, bytes32 s) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, v, r, s); _throwError(error); return recovered; } /** * @dev Returns an Ethereum Signed Message, created from a `hash`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32 message) { // 32 is the length in bytes of hash, // enforced by the type signature above /// @solidity memory-safe-assembly assembly { mstore(0x00, "\x19Ethereum Signed Message:\n32") mstore(0x1c, hash) message := keccak256(0x00, 0x3c) } } /** * @dev Returns an Ethereum Signed Message, created from `s`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s)); } /** * @dev Returns an Ethereum Signed Typed Data, created from a * `domainSeparator` and a `structHash`. This produces hash corresponding * to the one signed with the * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`] * JSON-RPC method as part of EIP-712. * * See {recover}. */ function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32 data) { /// @solidity memory-safe-assembly assembly { let ptr := mload(0x40) mstore(ptr, "\x19\x01") mstore(add(ptr, 0x02), domainSeparator) mstore(add(ptr, 0x22), structHash) data := keccak256(ptr, 0x42) } } /** * @dev Returns an Ethereum Signed Data with intended validator, created from a * `validator` and `data` according to the version 0 of EIP-191. * * See {recover}. */ function toDataWithIntendedValidatorHash(address validator, bytes memory data) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19\x00", validator, data)); } } // File: contracts/MerkleProof.sol // OpenZeppelin Contracts (last updated v4.7.0) (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Tree proofs. * * The proofs can be generated using the JavaScript library * https://github.com/miguelmota/merkletreejs[merkletreejs]. * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled. * * See `test/utils/cryptography/MerkleProof.test.js` for some examples. * * 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. */ 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 proved to be a part of a Merkle tree defined by * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}. * * _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} * * _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 the sibling nodes in `proof`, * consuming from one or the other at each step according to the instructions given by * `proofFlags`. * * _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} * * _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: contracts/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: contracts/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: contracts/IERC721A.sol // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721A. */ interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * Cannot query the balance for the zero address. */ error BalanceQueryForZeroAddress(); /** * Cannot mint to the zero address. */ error MintToZeroAddress(); /** * The quantity of tokens minted must be more than zero. */ error MintZeroQuantity(); /** * The token does not exist. */ error OwnerQueryForNonexistentToken(); /** * The caller must own the token or be an approved operator. */ error TransferCallerNotOwnerNorApproved(); /** * The token must be owned by `from`. */ error TransferFromIncorrectOwner(); /** * Cannot safely transfer to a contract that does not implement the * ERC721Receiver interface. */ error TransferToNonERC721ReceiverImplementer(); /** * Cannot transfer to the zero address. */ error TransferToZeroAddress(); /** * The token does not exist. */ error URIQueryForNonexistentToken(); /** * The `quantity` minted with ERC2309 exceeds the safety limit. */ error MintERC2309QuantityExceedsLimit(); /** * The `extraData` cannot be set on an unintialized ownership slot. */ error OwnershipNotInitializedForExtraData(); // ============================================================= // STRUCTS // ============================================================= struct TokenOwnership { // The address of the owner. address addr; // Stores the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; // Arbitrary data similar to `startTimestamp` that can be set via {_extraData}. uint24 extraData; } // ============================================================= // TOKEN COUNTERS // ============================================================= /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() external view returns (uint256); // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); // ============================================================= // IERC721 // ============================================================= /** * @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`, * 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 be 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, bytes calldata data ) external payable; /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external payable; /** * @dev Transfers `tokenId` from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} * whenever possible. * * 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 payable; /** * @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 payable; /** * @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); // ============================================================= // IERC721Metadata // ============================================================= /** * @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); // ============================================================= // IERC2309 // ============================================================= /** * @dev Emitted when tokens in `fromTokenId` to `toTokenId` * (inclusive) is transferred from `from` to `to`, as defined in the * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309) standard. * * See {_mintERC2309} for more details. */ event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to); } // File: contracts/ERC721A.sol // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721 token receiver. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @title ERC721A * * @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721) * Non-Fungible Token Standard, including the Metadata extension. * Optimized for lower gas during batch mints. * * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...) * starting from `_startTokenId()`. * * Assumptions: * * - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is IERC721A { // Bypass for a `--via-ir` bug (https://github.com/chiru-labs/ERC721A/pull/364). struct TokenApprovalRef { address value; } // ============================================================= // CONSTANTS // ============================================================= // Mask of an entry in packed address data. uint256 private constant _BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1; // The bit position of `numberMinted` in packed address data. uint256 private constant _BITPOS_NUMBER_MINTED = 64; // The bit position of `numberBurned` in packed address data. uint256 private constant _BITPOS_NUMBER_BURNED = 128; // The bit position of `aux` in packed address data. uint256 private constant _BITPOS_AUX = 192; // Mask of all 256 bits in packed address data except the 64 bits for `aux`. uint256 private constant _BITMASK_AUX_COMPLEMENT = (1 << 192) - 1; // The bit position of `startTimestamp` in packed ownership. uint256 private constant _BITPOS_START_TIMESTAMP = 160; // The bit mask of the `burned` bit in packed ownership. uint256 private constant _BITMASK_BURNED = 1 << 224; // The bit position of the `nextInitialized` bit in packed ownership. uint256 private constant _BITPOS_NEXT_INITIALIZED = 225; // The bit mask of the `nextInitialized` bit in packed ownership. uint256 private constant _BITMASK_NEXT_INITIALIZED = 1 << 225; // The bit position of `extraData` in packed ownership. uint256 private constant _BITPOS_EXTRA_DATA = 232; // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`. uint256 private constant _BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1; // The mask of the lower 160 bits for addresses. uint256 private constant _BITMASK_ADDRESS = (1 << 160) - 1; // The maximum `quantity` that can be minted with {_mintERC2309}. // This limit is to prevent overflows on the address data entries. // For a limit of 5000, a total of 3.689e15 calls to {_mintERC2309} // is required to cause an overflow, which is unrealistic. uint256 private constant _MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000; // The `Transfer` event signature is given by: // `keccak256(bytes("Transfer(address,address,uint256)"))`. bytes32 private constant _TRANSFER_EVENT_SIGNATURE = 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef; // ============================================================= // STORAGE // ============================================================= // The next token ID to be minted. uint256 private _currentIndex; // The number of tokens burned. uint256 private _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 {_packedOwnershipOf} implementation for details. // // Bits Layout: // - [0..159] `addr` // - [160..223] `startTimestamp` // - [224] `burned` // - [225] `nextInitialized` // - [232..255] `extraData` mapping(uint256 => uint256) private _packedOwnerships; // Mapping owner address to address data. // // Bits Layout: // - [0..63] `balance` // - [64..127] `numberMinted` // - [128..191] `numberBurned` // - [192..255] `aux` mapping(address => uint256) private _packedAddressData; // Mapping from token ID to approved address. mapping(uint256 => TokenApprovalRef) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // ============================================================= // CONSTRUCTOR // ============================================================= constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } // ============================================================= // TOKEN COUNTING OPERATIONS // ============================================================= /** * @dev Returns the starting token ID. * To change the starting token ID, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Returns the next token ID to be minted. */ function _nextTokenId() internal view virtual returns (uint256) { return _currentIndex; } /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() public view virtual override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than `_currentIndex - _startTokenId()` times. unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * @dev Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view virtual returns (uint256) { // Counter underflow is impossible as `_currentIndex` does not decrement, // and it is initialized to `_startTokenId()`. unchecked { return _currentIndex - _startTokenId(); } } /** * @dev Returns the total number of tokens burned. */ function _totalBurned() internal view virtual returns (uint256) { return _burnCounter; } // ============================================================= // ADDRESS DATA OPERATIONS // ============================================================= /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) public view virtual override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return _packedAddressData[owner] & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_MINTED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_BURNED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return uint64(_packedAddressData[owner] >> _BITPOS_AUX); } /** * Sets the auxiliary 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 virtual { uint256 packed = _packedAddressData[owner]; uint256 auxCasted; // Cast `aux` with assembly to avoid redundant masking. assembly { auxCasted := aux } packed = (packed & _BITMASK_AUX_COMPLEMENT) | (auxCasted << _BITPOS_AUX); _packedAddressData[owner] = packed; } // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { // The interface IDs are constants representing the first 4 bytes // of the XOR of all function selectors in the interface. // See: [ERC165](https://eips.ethereum.org/EIPS/eip-165) // (e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`) return interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165. interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721. interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata. } // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the token collection symbol. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ 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, _toString(tokenId))) : ''; } /** * @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, it can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } // ============================================================= // OWNERSHIPS OPERATIONS // ============================================================= /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around over time. */ function _ownershipOf(uint256 tokenId) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @dev Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal virtual { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * Returns the packed ownership data of `tokenId`. */ function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr) if (curr < _currentIndex) { uint256 packed = _packedOwnerships[curr]; // If not burned. if (packed & _BITMASK_BURNED == 0) { // Invariant: // There will always be an initialized ownership slot // (i.e. `ownership.addr != address(0) && ownership.burned == false`) // before an unintialized ownership slot // (i.e. `ownership.addr == address(0) && ownership.burned == false`) // Hence, `curr` will not underflow. // // We can directly compare the packed value. // If the address is zero, packed will be zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * @dev Returns the unpacked `TokenOwnership` struct from `packed`. */ function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) { ownership.addr = address(uint160(packed)); ownership.startTimestamp = uint64(packed >> _BITPOS_START_TIMESTAMP); ownership.burned = packed & _BITMASK_BURNED != 0; ownership.extraData = uint24(packed >> _BITPOS_EXTRA_DATA); } /** * @dev Packs ownership data into a single uint256. */ function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // `owner | (block.timestamp << _BITPOS_START_TIMESTAMP) | flags`. result := or(owner, or(shl(_BITPOS_START_TIMESTAMP, timestamp()), flags)) } } /** * @dev Returns the `nextInitialized` flag set if `quantity` equals 1. */ function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) { // For branchless setting of the `nextInitialized` flag. assembly { // `(quantity == 1) << _BITPOS_NEXT_INITIALIZED`. result := shl(_BITPOS_NEXT_INITIALIZED, eq(quantity, 1)) } } // ============================================================= // APPROVAL OPERATIONS // ============================================================= /** * @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) public payable virtual override { address owner = ownerOf(tokenId); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId].value = to; emit Approval(owner, to, tokenId); } /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId].value; } /** * @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) public virtual override { _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), operator, approved); } /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @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. See {_mint}. */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned. } /** * @dev Returns whether `msgSender` is equal to `approvedAddress` or `owner`. */ function _isSenderApprovedOrOwner( address approvedAddress, address owner, address msgSender ) private pure returns (bool result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean. msgSender := and(msgSender, _BITMASK_ADDRESS) // `msgSender == owner || msgSender == approvedAddress`. result := or(eq(msgSender, owner), eq(msgSender, approvedAddress)) } } /** * @dev Returns the storage slot and value for the approved address of `tokenId`. */ function _getApprovedSlotAndAddress(uint256 tokenId) private view returns (uint256 approvedAddressSlot, address approvedAddress) { TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId]; // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId].value`. assembly { approvedAddressSlot := tokenApproval.slot approvedAddress := sload(approvedAddressSlot) } } // ============================================================= // TRANSFER OPERATIONS // ============================================================= /** * @dev Transfers `tokenId` from `from` to `to`. * * 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 ) public payable virtual override { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // 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 { // We can directly increment and decrement the balances. --_packedAddressData[from]; // Updates: `balance -= 1`. ++_packedAddressData[to]; // Updates: `balance += 1`. // Updates: // - `address` to the next owner. // - `startTimestamp` to the timestamp of transfering. // - `burned` to `false`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( to, _BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public payable virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @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 memory _data ) public payable virtual override { transferFrom(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @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 {} /** * @dev Private function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * `from` - Previous owner of the given token ID. * `to` - Target address that will receive the token. * `tokenId` - Token ID to be transferred. * `_data` - Optional data to send along with the call. * * Returns whether the call correctly returned the expected magic value. */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns ( bytes4 retval ) { return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } // ============================================================= // MINT OPERATIONS // ============================================================= /** * @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 for each mint. */ function _mint(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // `balance` and `numberMinted` have a maximum limit of 2**64. // `tokenId` has a maximum limit of 2**256. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); uint256 toMasked; uint256 end = startTokenId + quantity; // Use assembly to loop and emit the `Transfer` event for gas savings. // The duplicated `log4` removes an extra check and reduces stack juggling. // The assembly, together with the surrounding Solidity code, have been // delicately arranged to nudge the compiler into producing optimized opcodes. assembly { // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean. toMasked := and(to, _BITMASK_ADDRESS) // Emit the `Transfer` event. log4( 0, // Start of data (0, since no data). 0, // End of data (0, since no data). _TRANSFER_EVENT_SIGNATURE, // Signature. 0, // `address(0)`. toMasked, // `to`. startTokenId // `tokenId`. ) // The `iszero(eq(,))` check ensures that large values of `quantity` // that overflows uint256 will make the loop run out of gas. // The compiler will optimize the `iszero` away for performance. for { let tokenId := add(startTokenId, 1) } iszero(eq(tokenId, end)) { tokenId := add(tokenId, 1) } { // Emit the `Transfer` event. Similar to above. log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId) } } if (toMasked == 0) revert MintToZeroAddress(); _currentIndex = end; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * This function is intended for efficient minting only during contract creation. * * It emits only one {ConsecutiveTransfer} as defined in * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309), * instead of a sequence of {Transfer} event(s). * * Calling this function outside of contract creation WILL make your contract * non-compliant with the ERC721 standard. * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309 * {ConsecutiveTransfer} event is only permissible during contract creation. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {ConsecutiveTransfer} event. */ function _mintERC2309(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are unrealistic due to the above check for `quantity` to be below the limit. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to); _currentIndex = startTokenId + quantity; } _afterTokenTransfers(address(0), to, startTokenId, 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. * * See {_mint}. * * Emits a {Transfer} event for each mint. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal virtual { _mint(to, quantity); unchecked { if (to.code.length != 0) { uint256 end = _currentIndex; uint256 index = end - quantity; do { if (!_checkContractOnERC721Received(address(0), to, index++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (index < end); // Reentrancy protection. if (_currentIndex != end) revert(); } } } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal virtual { _safeMint(to, quantity, ''); } // ============================================================= // BURN OPERATIONS // ============================================================= /** * @dev 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 { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); address from = address(uint160(prevOwnershipPacked)); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); if (approvalCheck) { // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // 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 { // Updates: // - `balance -= 1`. // - `numberBurned += 1`. // // We can directly decrement the balance, and increment the number burned. // This is equivalent to `packed -= 1; packed += 1 << _BITPOS_NUMBER_BURNED;`. _packedAddressData[from] += (1 << _BITPOS_NUMBER_BURNED) - 1; // Updates: // - `address` to the last owner. // - `startTimestamp` to the timestamp of burning. // - `burned` to `true`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( from, (_BITMASK_BURNED | _BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } // ============================================================= // EXTRA DATA OPERATIONS // ============================================================= /** * @dev Directly sets the extra data for the ownership data `index`. */ function _setExtraDataAt(uint256 index, uint24 extraData) internal virtual { uint256 packed = _packedOwnerships[index]; if (packed == 0) revert OwnershipNotInitializedForExtraData(); uint256 extraDataCasted; // Cast `extraData` with assembly to avoid redundant masking. assembly { extraDataCasted := extraData } packed = (packed & _BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << _BITPOS_EXTRA_DATA); _packedOwnerships[index] = packed; } /** * @dev Called during each token transfer to set the 24bit `extraData` field. * Intended to be overridden by the cosumer contract. * * `previousExtraData` - the value of `extraData` before transfer. * * 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 _extraData( address from, address to, uint24 previousExtraData ) internal view virtual returns (uint24) {} /** * @dev Returns the next extra data for the packed ownership data. * The returned result is shifted into position. */ function _nextExtraData( address from, address to, uint256 prevOwnershipPacked ) private view returns (uint256) { uint24 extraData = uint24(prevOwnershipPacked >> _BITPOS_EXTRA_DATA); return uint256(_extraData(from, to, extraData)) << _BITPOS_EXTRA_DATA; } // ============================================================= // OTHER OPERATIONS // ============================================================= /** * @dev Returns the message sender (defaults to `msg.sender`). * * If you are writing GSN compatible contracts, you need to override this function. */ function _msgSenderERC721A() internal view virtual returns (address) { return msg.sender; } /** * @dev Converts a uint256 to its ASCII string decimal representation. */ function _toString(uint256 value) internal pure virtual returns (string memory str) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), but // we allocate 0xa0 bytes to keep the free memory pointer 32-byte word aligned. // We will need 1 word for the trailing zeros padding, 1 word for the length, // and 3 words for a maximum of 78 digits. Total: 5 * 0x20 = 0xa0. let m := add(mload(0x40), 0xa0) // Update the free memory pointer to allocate. mstore(0x40, m) // Assign the `str` to the end. str := sub(m, 0x20) // Zeroize the slot after the string. mstore(str, 0) // Cache the end of the memory to calculate the length later. let end := str // We write the string from rightmost digit to leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // prettier-ignore for { let temp := value } 1 {} { str := sub(str, 1) // Write the character to the pointer. // The ASCII index of the '0' character is 48. mstore8(str, add(48, mod(temp, 10))) // Keep dividing `temp` until zero. temp := div(temp, 10) // prettier-ignore if iszero(temp) { break } } let length := sub(end, str) // Move the pointer 32 bytes leftwards to make room for the length. str := sub(str, 0x20) // Store the length. mstore(str, length) } } } // File: contracts/aki.sol pragma solidity >=0.8.17 <0.9.0; error IsNotTokenOwnerNorApproved(); error AlreadyClaim(); error CallerIsContract(); error CannotMintFromContract(); error InsufficientFunds(); error InvalidMintAmount(); error InvalidMintPriceChange(); error InvalidSalesPhaseChange(); error InvalidWithdrawalAmount(); error MintAmountExceedsSupply(); error MintAmountFreeExceedsSupply(); error WithdrawalFailed(); error WrongSalesPhase(); error InvalidMerkleProof(); error MintAmountExceedsUserAllowance(); contract BuddyBadgeNFT is ERC721A, Ownable { event SetURI( string indexed uri ); event MintedCounters( uint48 indexed amount, address indexed user ); event Burn( uint256 indexed tokenId ); event Withdraw( uint256 indexed amount, address indexed to ); uint256 public ALLOW_START_TIME; uint256 public PUBLIC_START_TIME; uint48 public constant MAX_SUPPLY = 300; uint48 public SUPPLY = 0; uint48 public MaxMint=1; string public METADATA_URL; address private signers; constructor( uint256 _startTime, uint256 _publicStartTime, address _signers ) ERC721A("BuddyBadge", "BBG") { signers=_signers; ALLOW_START_TIME =_startTime; PUBLIC_START_TIME=_publicStartTime; } //modifiers modifier callerIsUser() { if (tx.origin != msg.sender) revert CallerIsContract(); _; } function freeMint(bytes memory signature) external callerIsUser { require( block.timestamp>ALLOW_START_TIME, "allow not start"); require( _numberMinted(msg.sender)<MaxMint, "is over mint"); require( SUPPLY + MaxMint <= MAX_SUPPLY, "Max supply exceeded!" ); bytes32 x = keccak256(abi.encodePacked(msg.sender)); require( ECDSA.recover(x, signature) == signers, "mint: signature error" ); _mint(msg.sender, MaxMint); SUPPLY += MaxMint; emit MintedCounters(MaxMint, msg.sender); } // onlyOwner functions function devMint(address _to, uint48 _numberOfTokens) external onlyOwner { if (SUPPLY + _numberOfTokens > MAX_SUPPLY) revert MintAmountExceedsSupply(); _mint(_to, _numberOfTokens); SUPPLY += _numberOfTokens; } function setAllowTime(uint256 _time) external onlyOwner{ ALLOW_START_TIME=_time; } function setPubTime(uint256 _time) external onlyOwner{ PUBLIC_START_TIME=_time; } function setSigner(address _signers) external onlyOwner{ signers=_signers; } function setURI(string calldata _uri) external onlyOwner { METADATA_URL = _uri; emit SetURI(_uri); } function withdraw(uint256 _amount, address _to) external onlyOwner { uint256 contractBalance = address(this).balance; if (contractBalance < _amount) revert InvalidWithdrawalAmount(); (bool success,) = payable(_to).call{value: _amount}(""); emit Withdraw(_amount,_to); if (!success) revert WithdrawalFailed(); } function burn(uint256 _tokenId) external onlyOwner { if(!_isApprovedOrOwner(_msgSender(), _tokenId)) revert IsNotTokenOwnerNorApproved(); _burn(_tokenId, true); emit Burn(_tokenId); } function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { address owner = ERC721A.ownerOf(tokenId); return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender); } function canMinted(address owner) public view returns (bool) { if (_numberMinted(owner)>=MaxMint){ return false; }else { return true; } } function numberMinted(address owner) public view returns (uint256) { return _numberMinted(owner); } function _baseURI() internal view virtual override returns (string memory) { return METADATA_URL; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"uint256","name":"_startTime","type":"uint256"},{"internalType":"uint256","name":"_publicStartTime","type":"uint256"},{"internalType":"address","name":"_signers","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"CallerIsContract","type":"error"},{"inputs":[],"name":"InvalidWithdrawalAmount","type":"error"},{"inputs":[],"name":"IsNotTokenOwnerNorApproved","type":"error"},{"inputs":[],"name":"MintAmountExceedsSupply","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","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"},{"inputs":[],"name":"WithdrawalFailed","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":"uint256","name":"tokenId","type":"uint256"}],"name":"Burn","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint48","name":"amount","type":"uint48"},{"indexed":true,"internalType":"address","name":"user","type":"address"}],"name":"MintedCounters","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":"string","name":"uri","type":"string"}],"name":"SetURI","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"Withdraw","type":"event"},{"inputs":[],"name":"ALLOW_START_TIME","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint48","name":"","type":"uint48"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"METADATA_URL","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MaxMint","outputs":[{"internalType":"uint48","name":"","type":"uint48"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PUBLIC_START_TIME","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SUPPLY","outputs":[{"internalType":"uint48","name":"","type":"uint48"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"canMinted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint48","name":"_numberOfTokens","type":"uint48"}],"name":"devMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"freeMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"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":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"numberMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"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":"payable","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":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_time","type":"uint256"}],"name":"setAllowTime","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":"uint256","name":"_time","type":"uint256"}],"name":"setPubTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_signers","type":"address"}],"name":"setSigner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uri","type":"string"}],"name":"setURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"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":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"address","name":"_to","type":"address"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6080604052600b80546001600160601b031916660100000000000017905534801562000029575f80fd5b506040516200218a3803806200218a8339810160408190526200004c916200013c565b6040518060400160405280600a8152602001694275646479426164676560b01b8152506040518060400160405280600381526020016242424760e81b81525081600290816200009c919062000220565b506003620000ab828262000220565b50505f805550620000bc33620000eb565b600d80546001600160a01b0319166001600160a01b0392909216919091179055600991909155600a55620002e8565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b5f805f606084860312156200014f575f80fd5b83516020850151604086015191945092506001600160a01b038116811462000175575f80fd5b809150509250925092565b634e487b7160e01b5f52604160045260245ffd5b600181811c90821680620001a957607f821691505b602082108103620001c857634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156200021b575f81815260208120601f850160051c81016020861015620001f65750805b601f850160051c820191505b81811015620002175782815560010162000202565b5050505b505050565b81516001600160401b038111156200023c576200023c62000180565b62000254816200024d845462000194565b84620001ce565b602080601f8311600181146200028a575f8415620002725750858301515b5f19600386901b1c1916600185901b17855562000217565b5f85815260208120601f198616915b82811015620002ba5788860151825594840194600190910190840162000299565b5085821015620002d857878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b611e9480620002f65f395ff3fe6080604052600436106101e5575f3560e01c806370a0823111610108578063b88d4fde1161009d578063c87b56dd1161006d578063c87b56dd14610536578063dc33e68114610555578063e1911d7014610574578063e985e9c514610588578063f2fde38b146105cf575f80fd5b8063b88d4fde146104c7578063b9e332cc146104da578063bde7334b146104f9578063c50497ae14610518575f80fd5b806394f74396116100d857806394f743961461045057806395d89b4114610475578063a22cb46514610489578063a4513e92146104a8575f80fd5b806370a08231146103e1578063715018a6146104005780637a7c95b4146104145780638da5cb5b14610433575f80fd5b8063297c41431161017e5780634312dc7c1161014e5780634312dc7c1461036f5780634fdb07101461038e5780636352211e146103a35780636c19e783146103c2575f80fd5b8063297c4143146102fc57806332cb6b0c1461031157806342842e0e1461033d57806342966c6814610350575f80fd5b8063081812fc116101b9578063081812fc1461027e578063095ea7b3146102b557806318160ddd146102c857806323b872dd146102e9575f80fd5b8062f714ce146101e957806301ffc9a71461020a57806302fe53051461023e57806306fdde031461025d575b5f80fd5b3480156101f4575f80fd5b506102086102033660046118ad565b6105ee565b005b348015610215575f80fd5b506102296102243660046118ec565b6106c5565b60405190151581526020015b60405180910390f35b348015610249575f80fd5b50610208610258366004611907565b610716565b348015610268575f80fd5b5061027161076f565b60405161023591906119c0565b348015610289575f80fd5b5061029d6102983660046119d2565b6107ff565b6040516001600160a01b039091168152602001610235565b6102086102c33660046119e9565b610841565b3480156102d3575f80fd5b506001545f54035b604051908152602001610235565b6102086102f7366004611a11565b6108df565b348015610307575f80fd5b506102db600a5481565b34801561031c575f80fd5b5061032661012c81565b60405165ffffffffffff9091168152602001610235565b61020861034b366004611a11565b610a66565b34801561035b575f80fd5b5061020861036a3660046119d2565b610a85565b34801561037a575f80fd5b50610208610389366004611a4a565b610aec565b348015610399575f80fd5b506102db60095481565b3480156103ae575f80fd5b5061029d6103bd3660046119d2565b610b89565b3480156103cd575f80fd5b506102086103dc366004611a89565b610b93565b3480156103ec575f80fd5b506102db6103fb366004611a89565b610bbd565b34801561040b575f80fd5b50610208610c0a565b34801561041f575f80fd5b5061022961042e366004611a89565b610c1d565b34801561043e575f80fd5b506008546001600160a01b031661029d565b34801561045b575f80fd5b50600b5461032690600160301b900465ffffffffffff1681565b348015610480575f80fd5b50610271610c53565b348015610494575f80fd5b506102086104a3366004611aa2565b610c62565b3480156104b3575f80fd5b506102086104c2366004611b6d565b610ccd565b6102086104d5366004611b9f565b610f50565b3480156104e5575f80fd5b506102086104f43660046119d2565b610f94565b348015610504575f80fd5b506102086105133660046119d2565b610fa1565b348015610523575f80fd5b50600b546103269065ffffffffffff1681565b348015610541575f80fd5b506102716105503660046119d2565b610fae565b348015610560575f80fd5b506102db61056f366004611a89565b61102f565b34801561057f575f80fd5b50610271611039565b348015610593575f80fd5b506102296105a2366004611c03565b6001600160a01b039182165f90815260076020908152604080832093909416825291909152205460ff1690565b3480156105da575f80fd5b506102086105e9366004611a89565b6110c5565b6105f661113e565b478281101561061857604051639abc749160e01b815260040160405180910390fd5b5f826001600160a01b0316846040515f6040518083038185875af1925050503d805f8114610661576040519150601f19603f3d011682016040523d82523d5f602084013e610666565b606091505b50509050826001600160a01b0316847f8353ffcac0876ad14e226d9783c04540bfebf13871e868157d2a391cad98e91860405160405180910390a3806106bf576040516327fcd9d160e01b815260040160405180910390fd5b50505050565b5f6301ffc9a760e01b6001600160e01b0319831614806106f557506380ac58cd60e01b6001600160e01b03198316145b806107105750635b5e139f60e01b6001600160e01b03198316145b92915050565b61071e61113e565b600c61072b828483611ca8565b50818160405161073c929190611d64565b604051908190038120907f562bf0237fa5139edc73ec903039c3a552e19ae62cc8292da62afeea43024b0a905f90a25050565b60606002805461077e90611c2b565b80601f01602080910402602001604051908101604052809291908181526020018280546107aa90611c2b565b80156107f55780601f106107cc576101008083540402835291602001916107f5565b820191905f5260205f20905b8154815290600101906020018083116107d857829003601f168201915b5050505050905090565b5f61080982611198565b610826576040516333d1c03960e21b815260040160405180910390fd5b505f908152600660205260409020546001600160a01b031690565b5f61084b82610b89565b9050336001600160a01b038216146108845761086781336105a2565b610884576040516367d9dca160e11b815260040160405180910390fd5b5f8281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b5f6108e9826111bd565b9050836001600160a01b0316816001600160a01b03161461091c5760405162a1148160e81b815260040160405180910390fd5b5f82815260066020526040902080546109478187335b6001600160a01b039081169116811491141790565b6109725761095586336105a2565b61097257604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661099957604051633a954ecd60e21b815260040160405180910390fd5b80156109a3575f82555b6001600160a01b038681165f9081526005602052604080822080545f19019055918716808252919020805460010190554260a01b17600160e11b175f85815260046020526040812091909155600160e11b84169003610a2f57600184015f818152600460205260408120549003610a2d575f548114610a2d575f8181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03165f80516020611e3f83398151915260405160405180910390a45b505050505050565b610a8083838360405180602001604052805f815250610f50565b505050565b610a8d61113e565b610a97338261121e565b610ab457604051632d6d541160e21b815260040160405180910390fd5b610abf81600161127c565b60405181907fb90306ad06b2a6ff86ddc9327db583062895ef6540e62dc50add009db5b356eb905f90a250565b610af461113e565b600b5461012c90610b0e90839065ffffffffffff16611d73565b65ffffffffffff161115610b3557604051632370216f60e01b815260040160405180910390fd5b610b47828265ffffffffffff166113a9565b600b80548291905f90610b6390849065ffffffffffff16611d73565b92506101000a81548165ffffffffffff021916908365ffffffffffff1602179055505050565b5f610710826111bd565b610b9b61113e565b600d80546001600160a01b0319166001600160a01b0392909216919091179055565b5f6001600160a01b038216610be5576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03165f9081526005602052604090205467ffffffffffffffff1690565b610c1261113e565b610c1b5f61147b565b565b600b545f90600160301b900465ffffffffffff16610c3a836114cc565b10610c4657505f919050565b506001919050565b919050565b60606003805461077e90611c2b565b335f8181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b323314610ced57604051637df1f81760e01b815260040160405180910390fd5b6009544211610d355760405162461bcd60e51b815260206004820152600f60248201526e185b1b1bddc81b9bdd081cdd185c9d608a1b60448201526064015b60405180910390fd5b600b54600160301b900465ffffffffffff16610d50336114cc565b10610d8c5760405162461bcd60e51b815260206004820152600c60248201526b1a5cc81bdd995c881b5a5b9d60a21b6044820152606401610d2c565b600b5461012c90610dae9065ffffffffffff600160301b820481169116611d73565b65ffffffffffff161115610dfb5760405162461bcd60e51b81526020600482015260146024820152734d617820737570706c792065786365656465642160601b6044820152606401610d2c565b604080513360601b6bffffffffffffffffffffffff19166020808301919091528251601481840301815260349092019092528051910120600d546001600160a01b0316610e4882846114f4565b6001600160a01b031614610e965760405162461bcd60e51b815260206004820152601560248201527436b4b73a1d1039b4b3b730ba3ab9329032b93937b960591b6044820152606401610d2c565b600b54610eb3903390600160301b900465ffffffffffff166113a9565b600b805465ffffffffffff600160301b8204811692915f91610ed791859116611d73565b92506101000a81548165ffffffffffff021916908365ffffffffffff160217905550336001600160a01b0316600b60069054906101000a900465ffffffffffff1665ffffffffffff167fb359343be8bb02bead70b472f529ea67fe0b13b5f81df70ceec1c771f5c126b660405160405180910390a35050565b610f5b8484846108df565b6001600160a01b0383163b156106bf57610f7784848484611516565b6106bf576040516368d2bf6b60e11b815260040160405180910390fd5b610f9c61113e565b600955565b610fa961113e565b600a55565b6060610fb982611198565b610fd657604051630a14c4b560e41b815260040160405180910390fd5b5f610fdf6115fd565b905080515f03610ffd5760405180602001604052805f815250611028565b806110078461160c565b604051602001611018929190611da5565b6040516020818303038152906040525b9392505050565b5f610710826114cc565b600c805461104690611c2b565b80601f016020809104026020016040519081016040528092919081815260200182805461107290611c2b565b80156110bd5780601f10611094576101008083540402835291602001916110bd565b820191905f5260205f20905b8154815290600101906020018083116110a057829003601f168201915b505050505081565b6110cd61113e565b6001600160a01b0381166111325760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610d2c565b61113b8161147b565b50565b6008546001600160a01b03163314610c1b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610d2c565b5f8054821080156107105750505f90815260046020526040902054600160e01b161590565b5f815f54811015611205575f8181526004602052604081205490600160e01b82169003611203575b805f0361102857505f19015f818152600460205260409020546111e5565b505b604051636f96cda160e11b815260040160405180910390fd5b5f8061122983610b89565b9050806001600160a01b0316846001600160a01b03161480611250575061125081856105a2565b806112745750836001600160a01b0316611269846107ff565b6001600160a01b0316145b949350505050565b5f611286836111bd565b9050805f806112a2865f90815260066020526040902080549091565b9150915084156112e2576112b7818433610932565b6112e2576112c583336105a2565b6112e257604051632ce44b5f60e11b815260040160405180910390fd5b80156112ec575f82555b6001600160a01b0383165f81815260056020526040902080546fffffffffffffffffffffffffffffffff0190554260a01b17600360e01b175f87815260046020526040812091909155600160e11b8516900361137557600186015f818152600460205260408120549003611373575f548114611373575f8181526004602052604090208590555b505b60405186905f906001600160a01b038616905f80516020611e3f833981519152908390a45050600180548101905550505050565b5f8054908290036113cd5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b0383165f8181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083905f80516020611e3f8339815191528180a4600183015b8181146114535780835f5f80516020611e3f8339815191525f80a4600101611430565b50815f0361147357604051622e076360e81b815260040160405180910390fd5b5f5550505050565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b03165f908152600560205260409081902054901c67ffffffffffffffff1690565b5f805f611501858561164f565b9150915061150e81611691565b509392505050565b604051630a85bd0160e11b81525f906001600160a01b0385169063150b7a029061154a903390899088908890600401611dd3565b6020604051808303815f875af1925050508015611584575060408051601f3d908101601f1916820190925261158191810190611e0f565b60015b6115e0573d8080156115b1576040519150601f19603f3d011682016040523d82523d5f602084013e6115b6565b606091505b5080515f036115d8576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b6060600c805461077e90611c2b565b606060a06040510180604052602081039150505f815280825b600183039250600a81066030018353600a9004806116255750819003601f19909101908152919050565b5f808251604103611683576020830151604084015160608501515f1a611677878285856117da565b9450945050505061168a565b505f905060025b9250929050565b5f8160048111156116a4576116a4611e2a565b036116ac5750565b60018160048111156116c0576116c0611e2a565b0361170d5760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610d2c565b600281600481111561172157611721611e2a565b0361176e5760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610d2c565b600381600481111561178257611782611e2a565b0361113b5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610d2c565b5f807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a083111561180f57505f9050600361188e565b604080515f8082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015611860573d5f803e3d5ffd5b5050604051601f1901519150506001600160a01b038116611888575f6001925092505061188e565b91505f90505b94509492505050565b80356001600160a01b0381168114610c4e575f80fd5b5f80604083850312156118be575f80fd5b823591506118ce60208401611897565b90509250929050565b6001600160e01b03198116811461113b575f80fd5b5f602082840312156118fc575f80fd5b8135611028816118d7565b5f8060208385031215611918575f80fd5b823567ffffffffffffffff8082111561192f575f80fd5b818501915085601f830112611942575f80fd5b813581811115611950575f80fd5b866020828501011115611961575f80fd5b60209290920196919550909350505050565b5f5b8381101561198d578181015183820152602001611975565b50505f910152565b5f81518084526119ac816020860160208601611973565b601f01601f19169290920160200192915050565b602081525f6110286020830184611995565b5f602082840312156119e2575f80fd5b5035919050565b5f80604083850312156119fa575f80fd5b611a0383611897565b946020939093013593505050565b5f805f60608486031215611a23575f80fd5b611a2c84611897565b9250611a3a60208501611897565b9150604084013590509250925092565b5f8060408385031215611a5b575f80fd5b611a6483611897565b9150602083013565ffffffffffff81168114611a7e575f80fd5b809150509250929050565b5f60208284031215611a99575f80fd5b61102882611897565b5f8060408385031215611ab3575f80fd5b611abc83611897565b915060208301358015158114611a7e575f80fd5b634e487b7160e01b5f52604160045260245ffd5b5f82601f830112611af3575f80fd5b813567ffffffffffffffff80821115611b0e57611b0e611ad0565b604051601f8301601f19908116603f01168101908282118183101715611b3657611b36611ad0565b81604052838152866020858801011115611b4e575f80fd5b836020870160208301375f602085830101528094505050505092915050565b5f60208284031215611b7d575f80fd5b813567ffffffffffffffff811115611b93575f80fd5b61127484828501611ae4565b5f805f8060808587031215611bb2575f80fd5b611bbb85611897565b9350611bc960208601611897565b925060408501359150606085013567ffffffffffffffff811115611beb575f80fd5b611bf787828801611ae4565b91505092959194509250565b5f8060408385031215611c14575f80fd5b611c1d83611897565b91506118ce60208401611897565b600181811c90821680611c3f57607f821691505b602082108103611c5d57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f821115610a80575f81815260208120601f850160051c81016020861015611c895750805b601f850160051c820191505b81811015610a5e57828155600101611c95565b67ffffffffffffffff831115611cc057611cc0611ad0565b611cd483611cce8354611c2b565b83611c63565b5f601f841160018114611d05575f8515611cee5750838201355b5f19600387901b1c1916600186901b178355611d5d565b5f83815260209020601f19861690835b82811015611d355786850135825560209485019460019092019101611d15565b5086821015611d51575f1960f88860031b161c19848701351681555b505060018560011b0183555b5050505050565b818382375f9101908152919050565b65ffffffffffff818116838216019080821115611d9e57634e487b7160e01b5f52601160045260245ffd5b5092915050565b5f8351611db6818460208801611973565b835190830190611dca818360208801611973565b01949350505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190525f90611e0590830184611995565b9695505050505050565b5f60208284031215611e1f575f80fd5b8151611028816118d7565b634e487b7160e01b5f52602160045260245ffdfeddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa26469706673582212204fb8ac20338bdd9b11129c26c8d6dff47686891f670fd07390f8b2f0424e7e4064736f6c634300081500330000000000000000000000000000000000000000000000000000000064c9c6b00000000000000000000000000000000000000000000000000000000064cb34500000000000000000000000001fa8950564312503f757808f8b1c83b378ef6123
Deployed Bytecode
0x6080604052600436106101e5575f3560e01c806370a0823111610108578063b88d4fde1161009d578063c87b56dd1161006d578063c87b56dd14610536578063dc33e68114610555578063e1911d7014610574578063e985e9c514610588578063f2fde38b146105cf575f80fd5b8063b88d4fde146104c7578063b9e332cc146104da578063bde7334b146104f9578063c50497ae14610518575f80fd5b806394f74396116100d857806394f743961461045057806395d89b4114610475578063a22cb46514610489578063a4513e92146104a8575f80fd5b806370a08231146103e1578063715018a6146104005780637a7c95b4146104145780638da5cb5b14610433575f80fd5b8063297c41431161017e5780634312dc7c1161014e5780634312dc7c1461036f5780634fdb07101461038e5780636352211e146103a35780636c19e783146103c2575f80fd5b8063297c4143146102fc57806332cb6b0c1461031157806342842e0e1461033d57806342966c6814610350575f80fd5b8063081812fc116101b9578063081812fc1461027e578063095ea7b3146102b557806318160ddd146102c857806323b872dd146102e9575f80fd5b8062f714ce146101e957806301ffc9a71461020a57806302fe53051461023e57806306fdde031461025d575b5f80fd5b3480156101f4575f80fd5b506102086102033660046118ad565b6105ee565b005b348015610215575f80fd5b506102296102243660046118ec565b6106c5565b60405190151581526020015b60405180910390f35b348015610249575f80fd5b50610208610258366004611907565b610716565b348015610268575f80fd5b5061027161076f565b60405161023591906119c0565b348015610289575f80fd5b5061029d6102983660046119d2565b6107ff565b6040516001600160a01b039091168152602001610235565b6102086102c33660046119e9565b610841565b3480156102d3575f80fd5b506001545f54035b604051908152602001610235565b6102086102f7366004611a11565b6108df565b348015610307575f80fd5b506102db600a5481565b34801561031c575f80fd5b5061032661012c81565b60405165ffffffffffff9091168152602001610235565b61020861034b366004611a11565b610a66565b34801561035b575f80fd5b5061020861036a3660046119d2565b610a85565b34801561037a575f80fd5b50610208610389366004611a4a565b610aec565b348015610399575f80fd5b506102db60095481565b3480156103ae575f80fd5b5061029d6103bd3660046119d2565b610b89565b3480156103cd575f80fd5b506102086103dc366004611a89565b610b93565b3480156103ec575f80fd5b506102db6103fb366004611a89565b610bbd565b34801561040b575f80fd5b50610208610c0a565b34801561041f575f80fd5b5061022961042e366004611a89565b610c1d565b34801561043e575f80fd5b506008546001600160a01b031661029d565b34801561045b575f80fd5b50600b5461032690600160301b900465ffffffffffff1681565b348015610480575f80fd5b50610271610c53565b348015610494575f80fd5b506102086104a3366004611aa2565b610c62565b3480156104b3575f80fd5b506102086104c2366004611b6d565b610ccd565b6102086104d5366004611b9f565b610f50565b3480156104e5575f80fd5b506102086104f43660046119d2565b610f94565b348015610504575f80fd5b506102086105133660046119d2565b610fa1565b348015610523575f80fd5b50600b546103269065ffffffffffff1681565b348015610541575f80fd5b506102716105503660046119d2565b610fae565b348015610560575f80fd5b506102db61056f366004611a89565b61102f565b34801561057f575f80fd5b50610271611039565b348015610593575f80fd5b506102296105a2366004611c03565b6001600160a01b039182165f90815260076020908152604080832093909416825291909152205460ff1690565b3480156105da575f80fd5b506102086105e9366004611a89565b6110c5565b6105f661113e565b478281101561061857604051639abc749160e01b815260040160405180910390fd5b5f826001600160a01b0316846040515f6040518083038185875af1925050503d805f8114610661576040519150601f19603f3d011682016040523d82523d5f602084013e610666565b606091505b50509050826001600160a01b0316847f8353ffcac0876ad14e226d9783c04540bfebf13871e868157d2a391cad98e91860405160405180910390a3806106bf576040516327fcd9d160e01b815260040160405180910390fd5b50505050565b5f6301ffc9a760e01b6001600160e01b0319831614806106f557506380ac58cd60e01b6001600160e01b03198316145b806107105750635b5e139f60e01b6001600160e01b03198316145b92915050565b61071e61113e565b600c61072b828483611ca8565b50818160405161073c929190611d64565b604051908190038120907f562bf0237fa5139edc73ec903039c3a552e19ae62cc8292da62afeea43024b0a905f90a25050565b60606002805461077e90611c2b565b80601f01602080910402602001604051908101604052809291908181526020018280546107aa90611c2b565b80156107f55780601f106107cc576101008083540402835291602001916107f5565b820191905f5260205f20905b8154815290600101906020018083116107d857829003601f168201915b5050505050905090565b5f61080982611198565b610826576040516333d1c03960e21b815260040160405180910390fd5b505f908152600660205260409020546001600160a01b031690565b5f61084b82610b89565b9050336001600160a01b038216146108845761086781336105a2565b610884576040516367d9dca160e11b815260040160405180910390fd5b5f8281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b5f6108e9826111bd565b9050836001600160a01b0316816001600160a01b03161461091c5760405162a1148160e81b815260040160405180910390fd5b5f82815260066020526040902080546109478187335b6001600160a01b039081169116811491141790565b6109725761095586336105a2565b61097257604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661099957604051633a954ecd60e21b815260040160405180910390fd5b80156109a3575f82555b6001600160a01b038681165f9081526005602052604080822080545f19019055918716808252919020805460010190554260a01b17600160e11b175f85815260046020526040812091909155600160e11b84169003610a2f57600184015f818152600460205260408120549003610a2d575f548114610a2d575f8181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03165f80516020611e3f83398151915260405160405180910390a45b505050505050565b610a8083838360405180602001604052805f815250610f50565b505050565b610a8d61113e565b610a97338261121e565b610ab457604051632d6d541160e21b815260040160405180910390fd5b610abf81600161127c565b60405181907fb90306ad06b2a6ff86ddc9327db583062895ef6540e62dc50add009db5b356eb905f90a250565b610af461113e565b600b5461012c90610b0e90839065ffffffffffff16611d73565b65ffffffffffff161115610b3557604051632370216f60e01b815260040160405180910390fd5b610b47828265ffffffffffff166113a9565b600b80548291905f90610b6390849065ffffffffffff16611d73565b92506101000a81548165ffffffffffff021916908365ffffffffffff1602179055505050565b5f610710826111bd565b610b9b61113e565b600d80546001600160a01b0319166001600160a01b0392909216919091179055565b5f6001600160a01b038216610be5576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03165f9081526005602052604090205467ffffffffffffffff1690565b610c1261113e565b610c1b5f61147b565b565b600b545f90600160301b900465ffffffffffff16610c3a836114cc565b10610c4657505f919050565b506001919050565b919050565b60606003805461077e90611c2b565b335f8181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b323314610ced57604051637df1f81760e01b815260040160405180910390fd5b6009544211610d355760405162461bcd60e51b815260206004820152600f60248201526e185b1b1bddc81b9bdd081cdd185c9d608a1b60448201526064015b60405180910390fd5b600b54600160301b900465ffffffffffff16610d50336114cc565b10610d8c5760405162461bcd60e51b815260206004820152600c60248201526b1a5cc81bdd995c881b5a5b9d60a21b6044820152606401610d2c565b600b5461012c90610dae9065ffffffffffff600160301b820481169116611d73565b65ffffffffffff161115610dfb5760405162461bcd60e51b81526020600482015260146024820152734d617820737570706c792065786365656465642160601b6044820152606401610d2c565b604080513360601b6bffffffffffffffffffffffff19166020808301919091528251601481840301815260349092019092528051910120600d546001600160a01b0316610e4882846114f4565b6001600160a01b031614610e965760405162461bcd60e51b815260206004820152601560248201527436b4b73a1d1039b4b3b730ba3ab9329032b93937b960591b6044820152606401610d2c565b600b54610eb3903390600160301b900465ffffffffffff166113a9565b600b805465ffffffffffff600160301b8204811692915f91610ed791859116611d73565b92506101000a81548165ffffffffffff021916908365ffffffffffff160217905550336001600160a01b0316600b60069054906101000a900465ffffffffffff1665ffffffffffff167fb359343be8bb02bead70b472f529ea67fe0b13b5f81df70ceec1c771f5c126b660405160405180910390a35050565b610f5b8484846108df565b6001600160a01b0383163b156106bf57610f7784848484611516565b6106bf576040516368d2bf6b60e11b815260040160405180910390fd5b610f9c61113e565b600955565b610fa961113e565b600a55565b6060610fb982611198565b610fd657604051630a14c4b560e41b815260040160405180910390fd5b5f610fdf6115fd565b905080515f03610ffd5760405180602001604052805f815250611028565b806110078461160c565b604051602001611018929190611da5565b6040516020818303038152906040525b9392505050565b5f610710826114cc565b600c805461104690611c2b565b80601f016020809104026020016040519081016040528092919081815260200182805461107290611c2b565b80156110bd5780601f10611094576101008083540402835291602001916110bd565b820191905f5260205f20905b8154815290600101906020018083116110a057829003601f168201915b505050505081565b6110cd61113e565b6001600160a01b0381166111325760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610d2c565b61113b8161147b565b50565b6008546001600160a01b03163314610c1b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610d2c565b5f8054821080156107105750505f90815260046020526040902054600160e01b161590565b5f815f54811015611205575f8181526004602052604081205490600160e01b82169003611203575b805f0361102857505f19015f818152600460205260409020546111e5565b505b604051636f96cda160e11b815260040160405180910390fd5b5f8061122983610b89565b9050806001600160a01b0316846001600160a01b03161480611250575061125081856105a2565b806112745750836001600160a01b0316611269846107ff565b6001600160a01b0316145b949350505050565b5f611286836111bd565b9050805f806112a2865f90815260066020526040902080549091565b9150915084156112e2576112b7818433610932565b6112e2576112c583336105a2565b6112e257604051632ce44b5f60e11b815260040160405180910390fd5b80156112ec575f82555b6001600160a01b0383165f81815260056020526040902080546fffffffffffffffffffffffffffffffff0190554260a01b17600360e01b175f87815260046020526040812091909155600160e11b8516900361137557600186015f818152600460205260408120549003611373575f548114611373575f8181526004602052604090208590555b505b60405186905f906001600160a01b038616905f80516020611e3f833981519152908390a45050600180548101905550505050565b5f8054908290036113cd5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b0383165f8181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083905f80516020611e3f8339815191528180a4600183015b8181146114535780835f5f80516020611e3f8339815191525f80a4600101611430565b50815f0361147357604051622e076360e81b815260040160405180910390fd5b5f5550505050565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b03165f908152600560205260409081902054901c67ffffffffffffffff1690565b5f805f611501858561164f565b9150915061150e81611691565b509392505050565b604051630a85bd0160e11b81525f906001600160a01b0385169063150b7a029061154a903390899088908890600401611dd3565b6020604051808303815f875af1925050508015611584575060408051601f3d908101601f1916820190925261158191810190611e0f565b60015b6115e0573d8080156115b1576040519150601f19603f3d011682016040523d82523d5f602084013e6115b6565b606091505b5080515f036115d8576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b6060600c805461077e90611c2b565b606060a06040510180604052602081039150505f815280825b600183039250600a81066030018353600a9004806116255750819003601f19909101908152919050565b5f808251604103611683576020830151604084015160608501515f1a611677878285856117da565b9450945050505061168a565b505f905060025b9250929050565b5f8160048111156116a4576116a4611e2a565b036116ac5750565b60018160048111156116c0576116c0611e2a565b0361170d5760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610d2c565b600281600481111561172157611721611e2a565b0361176e5760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610d2c565b600381600481111561178257611782611e2a565b0361113b5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610d2c565b5f807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a083111561180f57505f9050600361188e565b604080515f8082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015611860573d5f803e3d5ffd5b5050604051601f1901519150506001600160a01b038116611888575f6001925092505061188e565b91505f90505b94509492505050565b80356001600160a01b0381168114610c4e575f80fd5b5f80604083850312156118be575f80fd5b823591506118ce60208401611897565b90509250929050565b6001600160e01b03198116811461113b575f80fd5b5f602082840312156118fc575f80fd5b8135611028816118d7565b5f8060208385031215611918575f80fd5b823567ffffffffffffffff8082111561192f575f80fd5b818501915085601f830112611942575f80fd5b813581811115611950575f80fd5b866020828501011115611961575f80fd5b60209290920196919550909350505050565b5f5b8381101561198d578181015183820152602001611975565b50505f910152565b5f81518084526119ac816020860160208601611973565b601f01601f19169290920160200192915050565b602081525f6110286020830184611995565b5f602082840312156119e2575f80fd5b5035919050565b5f80604083850312156119fa575f80fd5b611a0383611897565b946020939093013593505050565b5f805f60608486031215611a23575f80fd5b611a2c84611897565b9250611a3a60208501611897565b9150604084013590509250925092565b5f8060408385031215611a5b575f80fd5b611a6483611897565b9150602083013565ffffffffffff81168114611a7e575f80fd5b809150509250929050565b5f60208284031215611a99575f80fd5b61102882611897565b5f8060408385031215611ab3575f80fd5b611abc83611897565b915060208301358015158114611a7e575f80fd5b634e487b7160e01b5f52604160045260245ffd5b5f82601f830112611af3575f80fd5b813567ffffffffffffffff80821115611b0e57611b0e611ad0565b604051601f8301601f19908116603f01168101908282118183101715611b3657611b36611ad0565b81604052838152866020858801011115611b4e575f80fd5b836020870160208301375f602085830101528094505050505092915050565b5f60208284031215611b7d575f80fd5b813567ffffffffffffffff811115611b93575f80fd5b61127484828501611ae4565b5f805f8060808587031215611bb2575f80fd5b611bbb85611897565b9350611bc960208601611897565b925060408501359150606085013567ffffffffffffffff811115611beb575f80fd5b611bf787828801611ae4565b91505092959194509250565b5f8060408385031215611c14575f80fd5b611c1d83611897565b91506118ce60208401611897565b600181811c90821680611c3f57607f821691505b602082108103611c5d57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f821115610a80575f81815260208120601f850160051c81016020861015611c895750805b601f850160051c820191505b81811015610a5e57828155600101611c95565b67ffffffffffffffff831115611cc057611cc0611ad0565b611cd483611cce8354611c2b565b83611c63565b5f601f841160018114611d05575f8515611cee5750838201355b5f19600387901b1c1916600186901b178355611d5d565b5f83815260209020601f19861690835b82811015611d355786850135825560209485019460019092019101611d15565b5086821015611d51575f1960f88860031b161c19848701351681555b505060018560011b0183555b5050505050565b818382375f9101908152919050565b65ffffffffffff818116838216019080821115611d9e57634e487b7160e01b5f52601160045260245ffd5b5092915050565b5f8351611db6818460208801611973565b835190830190611dca818360208801611973565b01949350505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190525f90611e0590830184611995565b9695505050505050565b5f60208284031215611e1f575f80fd5b8151611028816118d7565b634e487b7160e01b5f52602160045260245ffdfeddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa26469706673582212204fb8ac20338bdd9b11129c26c8d6dff47686891f670fd07390f8b2f0424e7e4064736f6c63430008150033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000000000064c9c6b00000000000000000000000000000000000000000000000000000000064cb34500000000000000000000000001fa8950564312503f757808f8b1c83b378ef6123
-----Decoded View---------------
Arg [0] : _startTime (uint256): 1690945200
Arg [1] : _publicStartTime (uint256): 1691038800
Arg [2] : _signers (address): 0x1fA8950564312503F757808f8b1C83B378Ef6123
-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000064c9c6b0
Arg [1] : 0000000000000000000000000000000000000000000000000000000064cb3450
Arg [2] : 0000000000000000000000001fa8950564312503f757808f8b1c83b378ef6123
Deployed Bytecode Sourcemap
90918:4039:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;93488:388;;;;;;;;;;-1:-1:-1;93488:388:0;;;;;:::i;:::-;;:::i;:::-;;57339:639;;;;;;;;;;-1:-1:-1;57339:639:0;;;;;:::i;:::-;;:::i;:::-;;;1002:14:1;;995:22;977:41;;965:2;950:18;57339:639:0;;;;;;;;93331:149;;;;;;;;;;-1:-1:-1;93331:149:0;;;;;:::i;:::-;;:::i;58241:100::-;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;64732:218::-;;;;;;;;;;-1:-1:-1;64732:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;2731:32:1;;;2713:51;;2701:2;2686:18;64732:218:0;2567:203:1;64165:408:0;;;;;;:::i;:::-;;:::i;53992:323::-;;;;;;;;;;-1:-1:-1;54266:12:0;;54053:7;54250:13;:28;53992:323;;;3180:25:1;;;3168:2;3153:18;53992:323:0;3034:177:1;68371:2825:0;;;;;;:::i;:::-;;:::i;91309:32::-;;;;;;;;;;;;;;;;91348:39;;;;;;;;;;;;91384:3;91348:39;;;;;3723:14:1;3711:27;;;3693:46;;3681:2;3666:18;91348:39:0;3549:196:1;71292:193:0;;;;;;:::i;:::-;;:::i;93884:240::-;;;;;;;;;;-1:-1:-1;93884:240:0;;;;;:::i;:::-;;:::i;92668:269::-;;;;;;;;;;-1:-1:-1;92668:269:0;;;;;:::i;:::-;;:::i;91271:31::-;;;;;;;;;;;;;;;;59634:152;;;;;;;;;;-1:-1:-1;59634:152:0;;;;;:::i;:::-;;:::i;93206:117::-;;;;;;;;;;-1:-1:-1;93206:117:0;;;;;:::i;:::-;;:::i;55176:233::-;;;;;;;;;;-1:-1:-1;55176:233:0;;;;;:::i;:::-;;:::i;38138:103::-;;;;;;;;;;;;;:::i;94403:219::-;;;;;;;;;;-1:-1:-1;94403:219:0;;;;;:::i;:::-;;:::i;37490:87::-;;;;;;;;;;-1:-1:-1;37563:6:0;;-1:-1:-1;;;;;37563:6:0;37490:87;;91425:23;;;;;;;;;;-1:-1:-1;91425:23:0;;;;-1:-1:-1;;;91425:23:0;;;;;;58417:104;;;;;;;;;;;;;:::i;65290:234::-;;;;;;;;;;-1:-1:-1;65290:234:0;;;;;:::i;:::-;;:::i;91921:709::-;;;;;;;;;;-1:-1:-1;91921:709:0;;;;;:::i;:::-;;:::i;72083:407::-;;;;;;:::i;:::-;;:::i;92945:123::-;;;;;;;;;;-1:-1:-1;92945:123:0;;;;;:::i;:::-;;:::i;93076:122::-;;;;;;;;;;-1:-1:-1;93076:122:0;;;;;:::i;:::-;;:::i;91394:24::-;;;;;;;;;;-1:-1:-1;91394:24:0;;;;;;;;58627:318;;;;;;;;;;-1:-1:-1;58627:318:0;;;;;:::i;:::-;;:::i;94628:149::-;;;;;;;;;;-1:-1:-1;94628:149:0;;;;;:::i;:::-;;:::i;91455:26::-;;;;;;;;;;;;;:::i;65681:164::-;;;;;;;;;;-1:-1:-1;65681:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;65802:25:0;;;65778:4;65802:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;65681:164;38396:201;;;;;;;;;;-1:-1:-1;38396:201:0;;;;;:::i;:::-;;:::i;93488:388::-;37376:13;:11;:13::i;:::-;93618:21:::1;93654:25:::0;;::::1;93650:63;;;93688:25;;-1:-1:-1::0;;;93688:25:0::1;;;;;;;;;;;93650:63;93727:12;93752:3;-1:-1:-1::0;;;;;93744:17:0::1;93769:7;93744:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;93726:55;;;93814:3;-1:-1:-1::0;;;;;93797:21:0::1;93806:7;93797:21;;;;;;;;;;93834:7;93829:39;;93850:18;;-1:-1:-1::0;;;93850:18:0::1;;;;;;;;;;;93829:39;93581:295;;93488:388:::0;;:::o;57339:639::-;57424:4;-1:-1:-1;;;;;;;;;57748:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;57825:25:0;;;57748:102;:179;;;-1:-1:-1;;;;;;;;;;57902:25:0;;;57748:179;57728:199;57339:639;-1:-1:-1;;57339:639:0:o;93331:149::-;37376:13;:11;:13::i;:::-;93425:12:::1;:19;93440:4:::0;;93425:12;:19:::1;:::i;:::-;;93467:4;;93460:12;;;;;;;:::i;:::-;;::::0;;;;::::1;::::0;;;::::1;::::0;;;::::1;93331:149:::0;;:::o;58241:100::-;58295:13;58328:5;58321:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;58241:100;:::o;64732:218::-;64808:7;64833:16;64841:7;64833;:16::i;:::-;64828:64;;64858:34;;-1:-1:-1;;;64858:34:0;;;;;;;;;;;64828:64;-1:-1:-1;64912:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;64912:30:0;;64732:218::o;64165:408::-;64254:13;64270:16;64278:7;64270;:16::i;:::-;64254:32;-1:-1:-1;88498:10:0;-1:-1:-1;;;;;64303:28:0;;;64299:175;;64351:44;64368:5;88498:10;65681:164;:::i;64351:44::-;64346:128;;64423:35;;-1:-1:-1;;;64423:35:0;;;;;;;;;;;64346:128;64486:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;64486:35:0;-1:-1:-1;;;;;64486:35:0;;;;;;;;;64537:28;;64486:24;;64537:28;;;;;;;64243:330;64165:408;;:::o;68371:2825::-;68513:27;68543;68562:7;68543:18;:27::i;:::-;68513:57;;68628:4;-1:-1:-1;;;;;68587:45:0;68603:19;-1:-1:-1;;;;;68587:45:0;;68583:86;;68641:28;;-1:-1:-1;;;68641:28:0;;;;;;;;;;;68583:86;68683:27;67479:24;;;:15;:24;;;;;67707:26;;68874:68;67707:26;68916:4;88498:10;68922:19;-1:-1:-1;;;;;66953:32:0;;;66797:28;;67082:20;;67104:30;;67079:56;;66494:659;68874:68;68869:180;;68962:43;68979:4;88498:10;65681:164;:::i;68962:43::-;68957:92;;69014:35;;-1:-1:-1;;;69014:35:0;;;;;;;;;;;68957:92;-1:-1:-1;;;;;69066:16:0;;69062:52;;69091:23;;-1:-1:-1;;;69091:23:0;;;;;;;;;;;69062:52;69263:15;69260:160;;;69403:1;69382:19;69375:30;69260:160;-1:-1:-1;;;;;69800:24:0;;;;;;;:18;:24;;;;;;69798:26;;-1:-1:-1;;69798:26:0;;;69869:22;;;;;;;;;69867:24;;-1:-1:-1;69867:24:0;;;63023:11;62998:23;62994:41;62981:63;-1:-1:-1;;;62981:63:0;70162:26;;;;:17;:26;;;;;:175;;;;-1:-1:-1;;;70457:47:0;;:52;;70453:627;;70562:1;70552:11;;70530:19;70685:30;;;:17;:30;;;;;;:35;;70681:384;;70823:13;;70808:11;:28;70804:242;;70970:30;;;;:17;:30;;;;;:52;;;70804:242;70511:569;70453:627;71127:7;71123:2;-1:-1:-1;;;;;71108:27:0;71117:4;-1:-1:-1;;;;;71108:27:0;-1:-1:-1;;;;;;;;;;;71108:27:0;;;;;;;;;71146:42;68502:2694;;;68371:2825;;;:::o;71292:193::-;71438:39;71455:4;71461:2;71465:7;71438:39;;;;;;;;;;;;:16;:39::i;:::-;71292:193;;;:::o;93884:240::-;37376:13;:11;:13::i;:::-;93975:42:::1;88498:10:::0;94008:8:::1;93975:18;:42::i;:::-;93971:83;;94026:28;;-1:-1:-1::0;;;94026:28:0::1;;;;;;;;;;;93971:83;94065:21;94071:8;94081:4;94065:5;:21::i;:::-;94102:14;::::0;94107:8;;94102:14:::1;::::0;;;::::1;93884:240:::0;:::o;92668:269::-;37376:13;:11;:13::i;:::-;92784:6:::1;::::0;91384:3:::1;::::0;92784:24:::1;::::0;92793:15;;92784:37:::1;:6;:24;:::i;:::-;:37;;;92780:75;;;92830:25;;-1:-1:-1::0;;;92830:25:0::1;;;;;;;;;;;92780:75;92866:27;92872:3;92877:15;92866:27;;:5;:27::i;:::-;92904:6;:25:::0;;92914:15;;92904:6;::::1;::::0;:25:::1;::::0;92914:15;;92904:25:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;92668:269:::0;;:::o;59634:152::-;59706:7;59749:27;59768:7;59749:18;:27::i;93206:117::-;37376:13;:11;:13::i;:::-;93295:7:::1;:16:::0;;-1:-1:-1;;;;;;93295:16:0::1;-1:-1:-1::0;;;;;93295:16:0;;;::::1;::::0;;;::::1;::::0;;93206:117::o;55176:233::-;55248:7;-1:-1:-1;;;;;55272:19:0;;55268:60;;55300:28;;-1:-1:-1;;;55300:28:0;;;;;;;;;;;55268:60;-1:-1:-1;;;;;;55346:25:0;;;;;:18;:25;;;;;;49335:13;55346:55;;55176:233::o;38138:103::-;37376:13;:11;:13::i;:::-;38203:30:::1;38230:1;38203:18;:30::i;:::-;38138:103::o:0;94403:219::-;94523:7;;94475:4;;-1:-1:-1;;;94523:7:0;;;;94501:20;94515:5;94501:13;:20::i;:::-;:29;94497:118;;-1:-1:-1;94553:5:0;;94403:219;-1:-1:-1;94403:219:0:o;94497:118::-;-1:-1:-1;94599:4:0;;94403:219;-1:-1:-1;94403:219:0:o;94497:118::-;94403:219;;;:::o;58417:104::-;58473:13;58506:7;58499:14;;;;;:::i;65290:234::-;88498:10;65385:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;65385:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;65385:60:0;;;;;;;;;;65461:55;;977:41:1;;;65385:49:0;;88498:10;65461:55;;950:18:1;65461:55:0;;;;;;;65290:234;;:::o;91921:709::-;91841:9;91854:10;91841:23;91837:54;;91873:18;;-1:-1:-1;;;91873:18:0;;;;;;;;;;;91837:54;92058:16:::1;;92042:15;:32;92020:87;;;::::0;-1:-1:-1;;;92020:87:0;;10050:2:1;92020:87:0::1;::::0;::::1;10032:21:1::0;10089:2;10069:18;;;10062:30;-1:-1:-1;;;10108:18:1;;;10101:45;10163:18;;92020:87:0::1;;;;;;;;;92166:7;::::0;-1:-1:-1;;;92166:7:0;::::1;;;92140:25;92154:10;92140:13;:25::i;:::-;:33;92118:85;;;::::0;-1:-1:-1;;;92118:85:0;;10394:2:1;92118:85:0::1;::::0;::::1;10376:21:1::0;10433:2;10413:18;;;10406:30;-1:-1:-1;;;10452:18:1;;;10445:42;10504:18;;92118:85:0::1;10192:336:1::0;92118:85:0::1;92245:7;::::0;91384:3:::1;::::0;92236:16:::1;::::0;:30:::1;-1:-1:-1::0;;;92245:7:0;::::1;::::0;::::1;::::0;92236:6:::1;:16;:::i;:::-;:30;;;;92214:100;;;::::0;-1:-1:-1;;;92214:100:0;;10735:2:1;92214:100:0::1;::::0;::::1;10717:21:1::0;10774:2;10754:18;;;10747:30;-1:-1:-1;;;10793:18:1;;;10786:50;10853:18;;92214:100:0::1;10533:344:1::0;92214:100:0::1;92347:28;::::0;;92364:10:::1;11031:2:1::0;11027:15;-1:-1:-1;;11023:53:1;92347:28:0::1;::::0;;::::1;11011:66:1::0;;;;92347:28:0;;;;;;;;;11093:12:1;;;;92347:28:0;;;92337:39;;;::::1;::::0;92440:7:::1;::::0;-1:-1:-1;;;;;92440:7:0::1;92409:27;92337:39:::0;92426:9;92409:13:::1;:27::i;:::-;-1:-1:-1::0;;;;;92409:38:0::1;;92387:109;;;::::0;-1:-1:-1;;;92387:109:0;;11318:2:1;92387:109:0::1;::::0;::::1;11300:21:1::0;11357:2;11337:18;;;11330:30;-1:-1:-1;;;11376:18:1;;;11369:51;11437:18;;92387:109:0::1;11116:345:1::0;92387:109:0::1;92525:7;::::0;92507:26:::1;::::0;92513:10:::1;::::0;-1:-1:-1;;;92525:7:0;::::1;;;92507:5;:26::i;:::-;92564:7;::::0;;::::1;-1:-1:-1::0;;;92564:7:0;::::1;::::0;::::1;::::0;;92554:6:::1;::::0;:17:::1;::::0;92564:7;;92554:17:::1;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;92611:10;-1:-1:-1::0;;;;;92587:35:0::1;92602:7;;;;;;;;;;;92587:35;;;;;;;;;;;;92009:621;91921:709:::0;:::o;72083:407::-;72258:31;72271:4;72277:2;72281:7;72258:12;:31::i;:::-;-1:-1:-1;;;;;72304:14:0;;;:19;72300:183;;72343:56;72374:4;72380:2;72384:7;72393:5;72343:30;:56::i;:::-;72338:145;;72427:40;;-1:-1:-1;;;72427:40:0;;;;;;;;;;;92945:123;37376:13;:11;:13::i;:::-;93034:16:::1;:22:::0;92945:123::o;93076:122::-;37376:13;:11;:13::i;:::-;93163:17:::1;:23:::0;93076:122::o;58627:318::-;58700:13;58731:16;58739:7;58731;:16::i;:::-;58726:59;;58756:29;;-1:-1:-1;;;58756:29:0;;;;;;;;;;;58726:59;58798:21;58822:10;:8;:10::i;:::-;58798:34;;58856:7;58850:21;58875:1;58850:26;:87;;;;;;;;;;;;;;;;;58903:7;58912:18;58922:7;58912:9;:18::i;:::-;58886:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;58850:87;58843:94;58627:318;-1:-1:-1;;;58627:318:0:o;94628:149::-;94716:7;94749:20;94763:5;94749:13;:20::i;91455:26::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;38396:201::-;37376:13;:11;:13::i;:::-;-1:-1:-1;;;;;38485:22:0;::::1;38477:73;;;::::0;-1:-1:-1;;;38477:73:0;;12169:2:1;38477:73:0::1;::::0;::::1;12151:21:1::0;12208:2;12188:18;;;12181:30;12247:34;12227:18;;;12220:62;-1:-1:-1;;;12298:18:1;;;12291:36;12344:19;;38477:73:0::1;11967:402:1::0;38477:73:0::1;38561:28;38580:8;38561:18;:28::i;:::-;38396:201:::0;:::o;37655:132::-;37563:6;;-1:-1:-1;;;;;37563:6:0;88498:10;37719:23;37711:68;;;;-1:-1:-1;;;37711:68:0;;12576:2:1;37711:68:0;;;12558:21:1;;;12595:18;;;12588:30;12654:34;12634:18;;;12627:62;12706:18;;37711:68:0;12374:356:1;66103:282:0;66168:4;66258:13;;66248:7;:23;66205:153;;;;-1:-1:-1;;66309:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;66309:44:0;:49;;66103:282::o;60789:1275::-;60856:7;60891;60993:13;;60986:4;:20;60982:1015;;;61031:14;61048:23;;;:17;:23;;;;;;;-1:-1:-1;;;61137:24:0;;:29;;61133:845;;61802:113;61809:6;61819:1;61809:11;61802:113;;-1:-1:-1;;;61880:6:0;61862:25;;;;:17;:25;;;;;;61802:113;;61133:845;61008:989;60982:1015;62025:31;;-1:-1:-1;;;62025:31:0;;;;;;;;;;;94132:265;94225:4;94242:13;94258:24;94274:7;94258:15;:24::i;:::-;94242:40;;94312:5;-1:-1:-1;;;;;94301:16:0;:7;-1:-1:-1;;;;;94301:16:0;;:52;;;;94321:32;94338:5;94345:7;94321:16;:32::i;:::-;94301:87;;;;94381:7;-1:-1:-1;;;;;94357:31:0;:20;94369:7;94357:11;:20::i;:::-;-1:-1:-1;;;;;94357:31:0;;94301:87;94293:96;94132:265;-1:-1:-1;;;;94132:265:0:o;82940:3081::-;83020:27;83050;83069:7;83050:18;:27::i;:::-;83020:57;-1:-1:-1;83020:57:0;83090:12;;83212:35;83239:7;67368:27;67479:24;;;:15;:24;;;;;67707:26;;67479:24;;67266:485;83212:35;83155:92;;;;83264:13;83260:316;;;83385:68;83410:15;83427:4;88498:10;83433:19;88411:105;83385:68;83380:184;;83477:43;83494:4;88498:10;65681:164;:::i;83477:43::-;83472:92;;83529:35;;-1:-1:-1;;;83529:35:0;;;;;;;;;;;83472:92;83732:15;83729:160;;;83872:1;83851:19;83844:30;83729:160;-1:-1:-1;;;;;84491:24:0;;;;;;:18;:24;;;;;:60;;84519:32;84491:60;;;63023:11;62998:23;62994:41;62981:63;-1:-1:-1;;;62981:63:0;84789:26;;;;:17;:26;;;;;:205;;;;-1:-1:-1;;;85114:47:0;;:52;;85110:627;;85219:1;85209:11;;85187:19;85342:30;;;:17;:30;;;;;;:35;;85338:384;;85480:13;;85465:11;:28;85461:242;;85627:30;;;;:17;:30;;;;;:52;;;85461:242;85168:569;85110:627;85765:35;;85792:7;;85788:1;;-1:-1:-1;;;;;85765:35:0;;;-1:-1:-1;;;;;;;;;;;85765:35:0;85788:1;;85765:35;-1:-1:-1;;85988:12:0;:14;;;;;;-1:-1:-1;;;;82940:3081:0:o;75752:2966::-;75825:20;75848:13;;;75876;;;75872:44;;75898:18;;-1:-1:-1;;;75898:18:0;;;;;;;;;;;75872:44;-1:-1:-1;;;;;76404:22:0;;;;;;:18;:22;;;;49473:2;76404:22;;;:71;;76442:32;76430:45;;76404:71;;;76718:31;;;:17;:31;;;;;-1:-1:-1;63454:15:0;;63428:24;63424:46;63023:11;62998:23;62994:41;62991:52;62981:63;;76718:173;;76953:23;;;;76718:31;;76404:22;;-1:-1:-1;;;;;;;;;;;76404:22:0;;77571:335;78232:1;78218:12;78214:20;78172:346;78273:3;78264:7;78261:16;78172:346;;78491:7;78481:8;78478:1;-1:-1:-1;;;;;;;;;;;78448:1:0;78445;78440:59;78326:1;78313:15;78172:346;;;78176:77;78551:8;78563:1;78551:13;78547:45;;78573:19;;-1:-1:-1;;;78573:19:0;;;;;;;;;;;78547:45;78609:13;:19;-1:-1:-1;71292:193:0;;;:::o;38757:191::-;38850:6;;;-1:-1:-1;;;;;38867:17:0;;;-1:-1:-1;;;;;;38867:17:0;;;;;;;38900:40;;38850:6;;;38867:17;38850:6;;38900:40;;38831:16;;38900:40;38820:128;38757:191;:::o;55491:178::-;-1:-1:-1;;;;;55580:25:0;55552:7;55580:25;;;:18;:25;;49473:2;55580:25;;;;;:50;;49335:13;55579:82;;55491:178::o;21113:231::-;21191:7;21212:17;21231:18;21253:27;21264:4;21270:9;21253:10;:27::i;:::-;21211:69;;;;21291:18;21303:5;21291:11;:18::i;:::-;-1:-1:-1;21327:9:0;21113:231;-1:-1:-1;;;21113:231:0:o;74574:716::-;74758:88;;-1:-1:-1;;;74758:88:0;;74737:4;;-1:-1:-1;;;;;74758:45:0;;;;;:88;;88498:10;;74825:4;;74831:7;;74840:5;;74758:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;74758:88:0;;;;;;;;-1:-1:-1;;74758:88:0;;;;;;;;;;;;:::i;:::-;;;74754:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;75041:6;:13;75058:1;75041:18;75037:235;;75087:40;;-1:-1:-1;;;75087:40:0;;;;;;;;;;;75037:235;75230:6;75224:13;75215:6;75211:2;75207:15;75200:38;74754:529;-1:-1:-1;;;;;;74917:64:0;-1:-1:-1;;;74917:64:0;;-1:-1:-1;74574:716:0;;;;;;:::o;94785:169::-;94895:13;94934:12;94927:19;;;;;:::i;88618:1745::-;88683:17;89117:4;89110;89104:11;89100:22;89209:1;89203:4;89196:15;89284:4;89281:1;89277:12;89270:19;;;89366:1;89361:3;89354:14;89470:3;89709:5;89691:428;89757:1;89752:3;89748:11;89741:18;;89928:2;89922:4;89918:13;89914:2;89910:22;89905:3;89897:36;90022:2;90012:13;;90079:25;89691:428;90079:25;-1:-1:-1;90149:13:0;;;-1:-1:-1;;90264:14:0;;;90326:19;;;90264:14;88618:1745;-1:-1:-1;88618:1745:0:o;19564:747::-;19645:7;19654:12;19683:9;:16;19703:2;19683:22;19679:625;;20027:4;20012:20;;20006:27;20077:4;20062:20;;20056:27;20135:4;20120:20;;20114:27;19722:9;20106:36;20178:25;20189:4;20106:36;20006:27;20056;20178:10;:25::i;:::-;20171:32;;;;;;;;;19679:625;-1:-1:-1;20252:1:0;;-1:-1:-1;20256:35:0;19679:625;19564:747;;;;;:::o;17957:521::-;18035:20;18026:5;:29;;;;;;;;:::i;:::-;;18022:449;;17957:521;:::o;18022:449::-;18133:29;18124:5;:38;;;;;;;;:::i;:::-;;18120:351;;18179:34;;-1:-1:-1;;;18179:34:0;;13817:2:1;18179:34:0;;;13799:21:1;13856:2;13836:18;;;13829:30;13895:26;13875:18;;;13868:54;13939:18;;18179:34:0;13615:348:1;18120:351:0;18244:35;18235:5;:44;;;;;;;;:::i;:::-;;18231:240;;18296:41;;-1:-1:-1;;;18296:41:0;;14170:2:1;18296:41:0;;;14152:21:1;14209:2;14189:18;;;14182:30;14248:33;14228:18;;;14221:61;14299:18;;18296:41:0;13968:355:1;18231:240:0;18368:30;18359:5;:39;;;;;;;;:::i;:::-;;18355:116;;18415:44;;-1:-1:-1;;;18415:44:0;;14530:2:1;18415:44:0;;;14512:21:1;14569:2;14549:18;;;14542:30;14608:34;14588:18;;;14581:62;-1:-1:-1;;;14659:18:1;;;14652:32;14701:19;;18415:44:0;14328:398:1;22497:1477:0;22585:7;;23519:66;23506:79;;23502:163;;;-1:-1:-1;23618:1:0;;-1:-1:-1;23622:30:0;23602:51;;23502:163;23779:24;;;23762:14;23779:24;;;;;;;;;14958:25:1;;;15031:4;15019:17;;14999:18;;;14992:45;;;;15053:18;;;15046:34;;;15096:18;;;15089:34;;;23779:24:0;;14930:19:1;;23779:24:0;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;23779:24:0;;-1:-1:-1;;23779:24:0;;;-1:-1:-1;;;;;;;23818:20:0;;23814:103;;23871:1;23875:29;23855:50;;;;;;;23814:103;23937:6;-1:-1:-1;23945:20:0;;-1:-1:-1;22497:1477:0;;;;;;;;:::o;14:173:1:-;82:20;;-1:-1:-1;;;;;131:31:1;;121:42;;111:70;;177:1;174;167:12;192:254;260:6;268;321:2;309:9;300:7;296:23;292:32;289:52;;;337:1;334;327:12;289:52;373:9;360:23;350:33;;402:38;436:2;425:9;421:18;402:38;:::i;:::-;392:48;;192:254;;;;;:::o;451:131::-;-1:-1:-1;;;;;;525:32:1;;515:43;;505:71;;572:1;569;562:12;587:245;645:6;698:2;686:9;677:7;673:23;669:32;666:52;;;714:1;711;704:12;666:52;753:9;740:23;772:30;796:5;772:30;:::i;1029:592::-;1100:6;1108;1161:2;1149:9;1140:7;1136:23;1132:32;1129:52;;;1177:1;1174;1167:12;1129:52;1217:9;1204:23;1246:18;1287:2;1279:6;1276:14;1273:34;;;1303:1;1300;1293:12;1273:34;1341:6;1330:9;1326:22;1316:32;;1386:7;1379:4;1375:2;1371:13;1367:27;1357:55;;1408:1;1405;1398:12;1357:55;1448:2;1435:16;1474:2;1466:6;1463:14;1460:34;;;1490:1;1487;1480:12;1460:34;1535:7;1530:2;1521:6;1517:2;1513:15;1509:24;1506:37;1503:57;;;1556:1;1553;1546:12;1503:57;1587:2;1579:11;;;;;1609:6;;-1:-1:-1;1029:592:1;;-1:-1:-1;;;;1029:592:1:o;1626:250::-;1711:1;1721:113;1735:6;1732:1;1729:13;1721:113;;;1811:11;;;1805:18;1792:11;;;1785:39;1757:2;1750:10;1721:113;;;-1:-1:-1;;1868:1:1;1850:16;;1843:27;1626:250::o;1881:271::-;1923:3;1961:5;1955:12;1988:6;1983:3;1976:19;2004:76;2073:6;2066:4;2061:3;2057:14;2050:4;2043:5;2039:16;2004:76;:::i;:::-;2134:2;2113:15;-1:-1:-1;;2109:29:1;2100:39;;;;2141:4;2096:50;;1881:271;-1:-1:-1;;1881:271:1:o;2157:220::-;2306:2;2295:9;2288:21;2269:4;2326:45;2367:2;2356:9;2352:18;2344:6;2326:45;:::i;2382:180::-;2441:6;2494:2;2482:9;2473:7;2469:23;2465:32;2462:52;;;2510:1;2507;2500:12;2462:52;-1:-1:-1;2533:23:1;;2382:180;-1:-1:-1;2382:180:1:o;2775:254::-;2843:6;2851;2904:2;2892:9;2883:7;2879:23;2875:32;2872:52;;;2920:1;2917;2910:12;2872:52;2943:29;2962:9;2943:29;:::i;:::-;2933:39;3019:2;3004:18;;;;2991:32;;-1:-1:-1;;;2775:254:1:o;3216:328::-;3293:6;3301;3309;3362:2;3350:9;3341:7;3337:23;3333:32;3330:52;;;3378:1;3375;3368:12;3330:52;3401:29;3420:9;3401:29;:::i;:::-;3391:39;;3449:38;3483:2;3472:9;3468:18;3449:38;:::i;:::-;3439:48;;3534:2;3523:9;3519:18;3506:32;3496:42;;3216:328;;;;;:::o;3750:354::-;3817:6;3825;3878:2;3866:9;3857:7;3853:23;3849:32;3846:52;;;3894:1;3891;3884:12;3846:52;3917:29;3936:9;3917:29;:::i;:::-;3907:39;;3996:2;3985:9;3981:18;3968:32;4040:14;4033:5;4029:26;4022:5;4019:37;4009:65;;4070:1;4067;4060:12;4009:65;4093:5;4083:15;;;3750:354;;;;;:::o;4109:186::-;4168:6;4221:2;4209:9;4200:7;4196:23;4192:32;4189:52;;;4237:1;4234;4227:12;4189:52;4260:29;4279:9;4260:29;:::i;4300:347::-;4365:6;4373;4426:2;4414:9;4405:7;4401:23;4397:32;4394:52;;;4442:1;4439;4432:12;4394:52;4465:29;4484:9;4465:29;:::i;:::-;4455:39;;4544:2;4533:9;4529:18;4516:32;4591:5;4584:13;4577:21;4570:5;4567:32;4557:60;;4613:1;4610;4603:12;4652:127;4713:10;4708:3;4704:20;4701:1;4694:31;4744:4;4741:1;4734:15;4768:4;4765:1;4758:15;4784:718;4826:5;4879:3;4872:4;4864:6;4860:17;4856:27;4846:55;;4897:1;4894;4887:12;4846:55;4933:6;4920:20;4959:18;4996:2;4992;4989:10;4986:36;;;5002:18;;:::i;:::-;5077:2;5071:9;5045:2;5131:13;;-1:-1:-1;;5127:22:1;;;5151:2;5123:31;5119:40;5107:53;;;5175:18;;;5195:22;;;5172:46;5169:72;;;5221:18;;:::i;:::-;5261:10;5257:2;5250:22;5296:2;5288:6;5281:18;5342:3;5335:4;5330:2;5322:6;5318:15;5314:26;5311:35;5308:55;;;5359:1;5356;5349:12;5308:55;5423:2;5416:4;5408:6;5404:17;5397:4;5389:6;5385:17;5372:54;5470:1;5463:4;5458:2;5450:6;5446:15;5442:26;5435:37;5490:6;5481:15;;;;;;4784:718;;;;:::o;5507:320::-;5575:6;5628:2;5616:9;5607:7;5603:23;5599:32;5596:52;;;5644:1;5641;5634:12;5596:52;5684:9;5671:23;5717:18;5709:6;5706:30;5703:50;;;5749:1;5746;5739:12;5703:50;5772:49;5813:7;5804:6;5793:9;5789:22;5772:49;:::i;5832:537::-;5927:6;5935;5943;5951;6004:3;5992:9;5983:7;5979:23;5975:33;5972:53;;;6021:1;6018;6011:12;5972:53;6044:29;6063:9;6044:29;:::i;:::-;6034:39;;6092:38;6126:2;6115:9;6111:18;6092:38;:::i;:::-;6082:48;;6177:2;6166:9;6162:18;6149:32;6139:42;;6232:2;6221:9;6217:18;6204:32;6259:18;6251:6;6248:30;6245:50;;;6291:1;6288;6281:12;6245:50;6314:49;6355:7;6346:6;6335:9;6331:22;6314:49;:::i;:::-;6304:59;;;5832:537;;;;;;;:::o;6374:260::-;6442:6;6450;6503:2;6491:9;6482:7;6478:23;6474:32;6471:52;;;6519:1;6516;6509:12;6471:52;6542:29;6561:9;6542:29;:::i;:::-;6532:39;;6590:38;6624:2;6613:9;6609:18;6590:38;:::i;6849:380::-;6928:1;6924:12;;;;6971;;;6992:61;;7046:4;7038:6;7034:17;7024:27;;6992:61;7099:2;7091:6;7088:14;7068:18;7065:38;7062:161;;7145:10;7140:3;7136:20;7133:1;7126:31;7180:4;7177:1;7170:15;7208:4;7205:1;7198:15;7062:161;;6849:380;;;:::o;7360:545::-;7462:2;7457:3;7454:11;7451:448;;;7498:1;7523:5;7519:2;7512:17;7568:4;7564:2;7554:19;7638:2;7626:10;7622:19;7619:1;7615:27;7609:4;7605:38;7674:4;7662:10;7659:20;7656:47;;;-1:-1:-1;7697:4:1;7656:47;7752:2;7747:3;7743:12;7740:1;7736:20;7730:4;7726:31;7716:41;;7807:82;7825:2;7818:5;7815:13;7807:82;;;7870:17;;;7851:1;7840:13;7807:82;;8081:1206;8205:18;8200:3;8197:27;8194:53;;;8227:18;;:::i;:::-;8256:94;8346:3;8306:38;8338:4;8332:11;8306:38;:::i;:::-;8300:4;8256:94;:::i;:::-;8376:1;8401:2;8396:3;8393:11;8418:1;8413:616;;;;9073:1;9090:3;9087:93;;;-1:-1:-1;9146:19:1;;;9133:33;9087:93;-1:-1:-1;;8038:1:1;8034:11;;;8030:24;8026:29;8016:40;8062:1;8058:11;;;8013:57;9193:78;;8386:895;;8413:616;7307:1;7300:14;;;7344:4;7331:18;;-1:-1:-1;;8449:17:1;;;8550:9;8572:229;8586:7;8583:1;8580:14;8572:229;;;8675:19;;;8662:33;8647:49;;8782:4;8767:20;;;;8735:1;8723:14;;;;8602:12;8572:229;;;8576:3;8829;8820:7;8817:16;8814:159;;;8953:1;8949:6;8943:3;8937;8934:1;8930:11;8926:21;8922:34;8918:39;8905:9;8900:3;8896:19;8883:33;8879:79;8871:6;8864:95;8814:159;;;9016:1;9010:3;9007:1;9003:11;8999:19;8993:4;8986:33;8386:895;;;8081:1206;;;:::o;9292:273::-;9477:6;9469;9464:3;9451:33;9433:3;9503:16;;9528:13;;;9503:16;9292:273;-1:-1:-1;9292:273:1:o;9570:::-;9637:14;9671:10;;;9683;;;9667:27;;9706:11;;;9703:134;;;9759:10;9754:3;9750:20;9747:1;9740:31;9794:4;9791:1;9784:15;9822:4;9819:1;9812:15;9703:134;;9570:273;;;;:::o;11466:496::-;11645:3;11683:6;11677:13;11699:66;11758:6;11753:3;11746:4;11738:6;11734:17;11699:66;:::i;:::-;11828:13;;11787:16;;;;11850:70;11828:13;11787:16;11897:4;11885:17;;11850:70;:::i;:::-;11936:20;;11466:496;-1:-1:-1;;;;11466:496:1:o;12735:489::-;-1:-1:-1;;;;;13004:15:1;;;12986:34;;13056:15;;13051:2;13036:18;;13029:43;13103:2;13088:18;;13081:34;;;13151:3;13146:2;13131:18;;13124:31;;;12929:4;;13172:46;;13198:19;;13190:6;13172:46;:::i;:::-;13164:54;12735:489;-1:-1:-1;;;;;;12735:489:1:o;13229:249::-;13298:6;13351:2;13339:9;13330:7;13326:23;13322:32;13319:52;;;13367:1;13364;13357:12;13319:52;13399:9;13393:16;13418:30;13442:5;13418:30;:::i;13483:127::-;13544:10;13539:3;13535:20;13532:1;13525:31;13575:4;13572:1;13565:15;13599:4;13596:1;13589:15
Swarm Source
ipfs://4fb8ac20338bdd9b11129c26c8d6dff47686891f670fd07390f8b2f0424e7e40
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.