ERC-721
Overview
Max Total Supply
3,333 BB
Holders
767
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:
BrokeBeaglez
Compiler Version
v0.8.17+commit.8df45f5f
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-02-27 */ // File: operator-filter-registry/src/lib/Constants.sol pragma solidity ^0.8.17; address constant CANONICAL_OPERATOR_FILTER_REGISTRY_ADDRESS = 0x000000000000AAeB6D7670E522A718067333cd4E; address constant CANONICAL_CORI_SUBSCRIPTION = 0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6; // File: operator-filter-registry/src/IOperatorFilterRegistry.sol pragma solidity ^0.8.13; interface IOperatorFilterRegistry { /** * @notice Returns true if operator is not filtered for a given token, either by address or codeHash. Also returns * true if supplied registrant address is not registered. */ function isOperatorAllowed(address registrant, address operator) external view returns (bool); /** * @notice Registers an address with the registry. May be called by address itself or by EIP-173 owner. */ function register(address registrant) external; /** * @notice Registers an address with the registry and "subscribes" to another address's filtered operators and codeHashes. */ function registerAndSubscribe(address registrant, address subscription) external; /** * @notice Registers an address with the registry and copies the filtered operators and codeHashes from another * address without subscribing. */ function registerAndCopyEntries(address registrant, address registrantToCopy) external; /** * @notice Unregisters an address with the registry and removes its subscription. May be called by address itself or by EIP-173 owner. * Note that this does not remove any filtered addresses or codeHashes. * Also note that any subscriptions to this registrant will still be active and follow the existing filtered addresses and codehashes. */ function unregister(address addr) external; /** * @notice Update an operator address for a registered address - when filtered is true, the operator is filtered. */ function updateOperator(address registrant, address operator, bool filtered) external; /** * @notice Update multiple operators for a registered address - when filtered is true, the operators will be filtered. Reverts on duplicates. */ function updateOperators(address registrant, address[] calldata operators, bool filtered) external; /** * @notice Update a codeHash for a registered address - when filtered is true, the codeHash is filtered. */ function updateCodeHash(address registrant, bytes32 codehash, bool filtered) external; /** * @notice Update multiple codeHashes for a registered address - when filtered is true, the codeHashes will be filtered. Reverts on duplicates. */ function updateCodeHashes(address registrant, bytes32[] calldata codeHashes, bool filtered) external; /** * @notice Subscribe an address to another registrant's filtered operators and codeHashes. Will remove previous * subscription if present. * Note that accounts with subscriptions may go on to subscribe to other accounts - in this case, * subscriptions will not be forwarded. Instead the former subscription's existing entries will still be * used. */ function subscribe(address registrant, address registrantToSubscribe) external; /** * @notice Unsubscribe an address from its current subscribed registrant, and optionally copy its filtered operators and codeHashes. */ function unsubscribe(address registrant, bool copyExistingEntries) external; /** * @notice Get the subscription address of a given registrant, if any. */ function subscriptionOf(address addr) external returns (address registrant); /** * @notice Get the set of addresses subscribed to a given registrant. * Note that order is not guaranteed as updates are made. */ function subscribers(address registrant) external returns (address[] memory); /** * @notice Get the subscriber at a given index in the set of addresses subscribed to a given registrant. * Note that order is not guaranteed as updates are made. */ function subscriberAt(address registrant, uint256 index) external returns (address); /** * @notice Copy filtered operators and codeHashes from a different registrantToCopy to addr. */ function copyEntriesOf(address registrant, address registrantToCopy) external; /** * @notice Returns true if operator is filtered by a given address or its subscription. */ function isOperatorFiltered(address registrant, address operator) external returns (bool); /** * @notice Returns true if the hash of an address's code is filtered by a given address or its subscription. */ function isCodeHashOfFiltered(address registrant, address operatorWithCode) external returns (bool); /** * @notice Returns true if a codeHash is filtered by a given address or its subscription. */ function isCodeHashFiltered(address registrant, bytes32 codeHash) external returns (bool); /** * @notice Returns a list of filtered operators for a given address or its subscription. */ function filteredOperators(address addr) external returns (address[] memory); /** * @notice Returns the set of filtered codeHashes for a given address or its subscription. * Note that order is not guaranteed as updates are made. */ function filteredCodeHashes(address addr) external returns (bytes32[] memory); /** * @notice Returns the filtered operator at the given index of the set of filtered operators for a given address or * its subscription. * Note that order is not guaranteed as updates are made. */ function filteredOperatorAt(address registrant, uint256 index) external returns (address); /** * @notice Returns the filtered codeHash at the given index of the list of filtered codeHashes for a given address or * its subscription. * Note that order is not guaranteed as updates are made. */ function filteredCodeHashAt(address registrant, uint256 index) external returns (bytes32); /** * @notice Returns true if an address has registered */ function isRegistered(address addr) external returns (bool); /** * @dev Convenience method to compute the code hash of an arbitrary contract */ function codeHashOf(address addr) external returns (bytes32); } // File: operator-filter-registry/src/OperatorFilterer.sol pragma solidity ^0.8.13; /** * @title OperatorFilterer * @notice Abstract contract whose constructor automatically registers and optionally subscribes to or copies another * registrant's entries in the OperatorFilterRegistry. * @dev This smart contract is meant to be inherited by token contracts so they can use the following: * - `onlyAllowedOperator` modifier for `transferFrom` and `safeTransferFrom` methods. * - `onlyAllowedOperatorApproval` modifier for `approve` and `setApprovalForAll` methods. * Please note that if your token contract does not provide an owner with EIP-173, it must provide * administration methods on the contract itself to interact with the registry otherwise the subscription * will be locked to the options set during construction. */ abstract contract OperatorFilterer { /// @dev Emitted when an operator is not allowed. error OperatorNotAllowed(address operator); IOperatorFilterRegistry public constant OPERATOR_FILTER_REGISTRY = IOperatorFilterRegistry(CANONICAL_OPERATOR_FILTER_REGISTRY_ADDRESS); /// @dev The constructor that is called when the contract is being deployed. constructor(address subscriptionOrRegistrantToCopy, bool subscribe) { // If an inheriting token contract is deployed to a network without the registry deployed, the modifier // will not revert, but the contract will need to be registered with the registry once it is deployed in // order for the modifier to filter addresses. if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) { if (subscribe) { OPERATOR_FILTER_REGISTRY.registerAndSubscribe(address(this), subscriptionOrRegistrantToCopy); } else { if (subscriptionOrRegistrantToCopy != address(0)) { OPERATOR_FILTER_REGISTRY.registerAndCopyEntries(address(this), subscriptionOrRegistrantToCopy); } else { OPERATOR_FILTER_REGISTRY.register(address(this)); } } } } /** * @dev A helper function to check if an operator is allowed. */ modifier onlyAllowedOperator(address from) virtual { // Allow spending tokens from addresses with balance // Note that this still allows listings and marketplaces with escrow to transfer tokens if transferred // from an EOA. if (from != msg.sender) { _checkFilterOperator(msg.sender); } _; } /** * @dev A helper function to check if an operator approval is allowed. */ modifier onlyAllowedOperatorApproval(address operator) virtual { _checkFilterOperator(operator); _; } /** * @dev A helper function to check if an operator is allowed. */ function _checkFilterOperator(address operator) internal view virtual { // Check registry code length to facilitate testing in environments without a deployed registry. if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) { // under normal circumstances, this function will revert rather than return false, but inheriting contracts // may specify their own OperatorFilterRegistry implementations, which may behave differently if (!OPERATOR_FILTER_REGISTRY.isOperatorAllowed(address(this), operator)) { revert OperatorNotAllowed(operator); } } } } // File: operator-filter-registry/src/DefaultOperatorFilterer.sol pragma solidity ^0.8.13; /** * @title DefaultOperatorFilterer * @notice Inherits from OperatorFilterer and automatically subscribes to the default OpenSea subscription. * @dev Please note that if your token contract does not provide an owner with EIP-173, it must provide * administration methods on the contract itself to interact with the registry otherwise the subscription * will be locked to the options set during construction. */ abstract contract DefaultOperatorFilterer is OperatorFilterer { /// @dev The constructor that is called when the contract is being deployed. constructor() OperatorFilterer(CANONICAL_CORI_SUBSCRIPTION, true) {} } // File: @openzeppelin/contracts/utils/cryptography/MerkleProof.sol // OpenZeppelin Contracts (last updated v4.8.0) (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Tree proofs. * * The tree and the proofs can be generated using our * https://github.com/OpenZeppelin/merkle-tree[JavaScript library]. * You will find a quickstart guide in the readme. * * WARNING: You should avoid using leaf values that are 64 bytes long prior to * hashing, or use a hash function other than keccak256 for hashing leaves. * This is because the concatenation of a sorted pair of internal nodes in * the merkle tree could be reinterpreted as a leaf value. * OpenZeppelin's JavaScript library generates merkle trees that are safe * against this attack out of the box. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Calldata version of {verify} * * _Available since v4.7._ */ function verifyCalldata( bytes32[] calldata proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProofCalldata(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merkle tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. * * _Available since v4.4._ */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Calldata version of {processProof} * * _Available since v4.7._ */ function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Returns true if the `leaves` can be simultaneously proven to be a part of a merkle tree defined by * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}. * * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details. * * _Available since v4.7._ */ function multiProofVerify( bytes32[] memory proof, bool[] memory proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProof(proof, proofFlags, leaves) == root; } /** * @dev Calldata version of {multiProofVerify} * * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details. * * _Available since v4.7._ */ function multiProofVerifyCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProofCalldata(proof, proofFlags, leaves) == root; } /** * @dev Returns the root of a tree reconstructed from `leaves` and sibling nodes in `proof`. The reconstruction * proceeds by incrementally reconstructing all inner nodes by combining a leaf/inner node with either another * leaf/inner node or a proof sibling node, depending on whether each `proofFlags` item is true or false * respectively. * * CAUTION: Not all merkle trees admit multiproofs. To use multiproofs, it is sufficient to ensure that: 1) the tree * is complete (but not necessarily perfect), 2) the leaves to be proven are in the opposite order they are in the * tree (i.e., as seen from right to left starting at the deepest layer and continuing at the next layer). * * _Available since v4.7._ */ function processMultiProof( bytes32[] memory proof, bool[] memory proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof"); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { return hashes[totalHashes - 1]; } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } /** * @dev Calldata version of {processMultiProof}. * * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details. * * _Available since v4.7._ */ function processMultiProofCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof"); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { return hashes[totalHashes - 1]; } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) { return a < b ? _efficientHash(a, b) : _efficientHash(b, a); } function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) { /// @solidity memory-safe-assembly assembly { mstore(0x00, a) mstore(0x20, b) value := keccak256(0x00, 0x40) } } } // File: @openzeppelin/contracts/utils/math/Math.sol // OpenZeppelin Contracts (last updated v4.8.0) (utils/math/Math.sol) pragma solidity ^0.8.0; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { enum Rounding { Down, // Toward negative infinity Up, // Toward infinity Zero // Toward zero } /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a > b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow. return (a & b) + (a ^ b) / 2; } /** * @dev Returns the ceiling of the division of two numbers. * * This differs from standard division with `/` in that it rounds up instead * of rounding down. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b - 1) / b can overflow on addition, so we distribute. return a == 0 ? 0 : (a - 1) / b + 1; } /** * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0 * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) * with further edits by Uniswap Labs also under MIT license. */ function mulDiv( uint256 x, uint256 y, uint256 denominator ) internal pure returns (uint256 result) { unchecked { // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256 // variables such that product = prod1 * 2^256 + prod0. uint256 prod0; // Least significant 256 bits of the product uint256 prod1; // Most significant 256 bits of the product assembly { let mm := mulmod(x, y, not(0)) prod0 := mul(x, y) prod1 := sub(sub(mm, prod0), lt(mm, prod0)) } // Handle non-overflow cases, 256 by 256 division. if (prod1 == 0) { return prod0 / denominator; } // Make sure the result is less than 2^256. Also prevents denominator == 0. require(denominator > prod1); /////////////////////////////////////////////// // 512 by 256 division. /////////////////////////////////////////////// // Make division exact by subtracting the remainder from [prod1 prod0]. uint256 remainder; assembly { // Compute remainder using mulmod. remainder := mulmod(x, y, denominator) // Subtract 256 bit number from 512 bit number. prod1 := sub(prod1, gt(remainder, prod0)) prod0 := sub(prod0, remainder) } // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1. // See https://cs.stackexchange.com/q/138556/92363. // Does not overflow because the denominator cannot be zero at this stage in the function. uint256 twos = denominator & (~denominator + 1); assembly { // Divide denominator by twos. denominator := div(denominator, twos) // Divide [prod1 prod0] by twos. prod0 := div(prod0, twos) // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one. twos := add(div(sub(0, twos), twos), 1) } // Shift in bits from prod1 into prod0. prod0 |= prod1 * twos; // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for // four bits. That is, denominator * inv = 1 mod 2^4. uint256 inverse = (3 * denominator) ^ 2; // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works // in modular arithmetic, doubling the correct bits in each step. inverse *= 2 - denominator * inverse; // inverse mod 2^8 inverse *= 2 - denominator * inverse; // inverse mod 2^16 inverse *= 2 - denominator * inverse; // inverse mod 2^32 inverse *= 2 - denominator * inverse; // inverse mod 2^64 inverse *= 2 - denominator * inverse; // inverse mod 2^128 inverse *= 2 - denominator * inverse; // inverse mod 2^256 // Because the division is now exact we can divide by multiplying with the modular inverse of denominator. // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1 // is no longer required. result = prod0 * inverse; return result; } } /** * @notice Calculates x * y / denominator with full precision, following the selected rounding direction. */ function mulDiv( uint256 x, uint256 y, uint256 denominator, Rounding rounding ) internal pure returns (uint256) { uint256 result = mulDiv(x, y, denominator); if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) { result += 1; } return result; } /** * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down. * * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11). */ function sqrt(uint256 a) internal pure returns (uint256) { if (a == 0) { return 0; } // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target. // // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`. // // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)` // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))` // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)` // // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit. uint256 result = 1 << (log2(a) >> 1); // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128, // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision // into the expected uint128 result. unchecked { result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; return min(result, a / result); } } /** * @notice Calculates sqrt(a), following the selected rounding direction. */ function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = sqrt(a); return result + (rounding == Rounding.Up && result * result < a ? 1 : 0); } } /** * @dev Return the log in base 2, rounded down, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 128; } if (value >> 64 > 0) { value >>= 64; result += 64; } if (value >> 32 > 0) { value >>= 32; result += 32; } if (value >> 16 > 0) { value >>= 16; result += 16; } if (value >> 8 > 0) { value >>= 8; result += 8; } if (value >> 4 > 0) { value >>= 4; result += 4; } if (value >> 2 > 0) { value >>= 2; result += 2; } if (value >> 1 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 2, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log2(value); return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0); } } /** * @dev Return the log in base 10, rounded down, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >= 10**64) { value /= 10**64; result += 64; } if (value >= 10**32) { value /= 10**32; result += 32; } if (value >= 10**16) { value /= 10**16; result += 16; } if (value >= 10**8) { value /= 10**8; result += 8; } if (value >= 10**4) { value /= 10**4; result += 4; } if (value >= 10**2) { value /= 10**2; result += 2; } if (value >= 10**1) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log10(value); return result + (rounding == Rounding.Up && 10**result < value ? 1 : 0); } } /** * @dev Return the log in base 256, rounded down, of a positive value. * Returns 0 if given 0. * * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string. */ function log256(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 16; } if (value >> 64 > 0) { value >>= 64; result += 8; } if (value >> 32 > 0) { value >>= 32; result += 4; } if (value >> 16 > 0) { value >>= 16; result += 2; } if (value >> 8 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log256(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log256(value); return result + (rounding == Rounding.Up && 1 << (result * 8) < value ? 1 : 0); } } } // File: @openzeppelin/contracts/utils/Strings.sol // OpenZeppelin Contracts (last updated v4.8.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { unchecked { uint256 length = Math.log10(value) + 1; string memory buffer = new string(length); uint256 ptr; /// @solidity memory-safe-assembly assembly { ptr := add(buffer, add(32, length)) } while (true) { ptr--; /// @solidity memory-safe-assembly assembly { mstore8(ptr, byte(mod(value, 10), _SYMBOLS)) } value /= 10; if (value == 0) break; } return buffer; } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { unchecked { return toHexString(value, Math.log256(value) + 1); } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } } // File: @openzeppelin/contracts/utils/Context.sol // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File: @openzeppelin/contracts/access/Ownable.sol // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // File: erc721a/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: erc721a/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/bb.sol pragma solidity ^0.8.17; contract BrokeBeaglez is ERC721A, DefaultOperatorFilterer, Ownable{ using Strings for uint256; uint256 public constant MAX_SUPPLY = 3333; bool public _isSaleActive = false; bool public _WLActive = false; bool public _revealed = true; uint256 public WLPrice = 0 ether; uint256 public WLLimit = 333; uint256 public WLNum = 2; uint256 public WLCount = 0; uint256 public mintPrice = 0.001 ether; uint256 public maxBalance = 5; uint256 public maxMint = 5; string baseURI; string public notRevealedUri; string public baseExtension = ".json"; bytes32 public merkleRoot; mapping(address => bool) public _mintedAddress; mapping(uint256 => string) private _tokenURIs; constructor(string memory initBaseURI, string memory initNotRevealedUri) ERC721A("BrokeBeaglez", "BB") { setBaseURI(initBaseURI); setNotRevealedURI(initNotRevealedUri); } function mintWL(bytes32[] calldata proof) public payable { require(_WLActive, "Whitelist must be active to mint NFT"); require( balanceOf(msg.sender) + WLNum <= maxBalance, "Sale would exceed max balance" ); require( WLCount + WLNum <= WLLimit, "Sale would exceed max WL supply" ); require( totalSupply() + WLNum <= MAX_SUPPLY, "Sale would exceed max supply" ); require(!_mintedAddress[msg.sender], "Already minted!"); require(MerkleProof.verify(proof, merkleRoot, keccak256(abi.encodePacked(msg.sender))), "Invalid merkle proof"); _safeMint(msg.sender, WLNum); _mintedAddress[msg.sender] = true; WLCount = WLCount + 2; } function mintPublic(uint256 tokenQuantity) public payable { require( totalSupply() + tokenQuantity <= MAX_SUPPLY, "Sale would exceed max supply" ); require(_isSaleActive, "Sale must be active to mint NFT"); require(tokenQuantity <= maxMint, "Mint too many tokens at a time"); require( balanceOf(msg.sender) + tokenQuantity <= maxBalance, "Sale would exceed max balance" ); require(tokenQuantity * mintPrice <= msg.value, "Not enough ether"); _safeMint(msg.sender, tokenQuantity); } function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require( _exists(tokenId), "URI query for nonexistent token" ); if (_revealed == false) { return notRevealedUri; } string memory _tokenURI = _tokenURIs[tokenId]; string memory base = _baseURI(); if (bytes(base).length == 0) { return _tokenURI; } if (bytes(_tokenURI).length > 0) { return string(abi.encodePacked(base, _tokenURI)); } return string(abi.encodePacked(base, tokenId.toString(), baseExtension)); } function setRoot(bytes32 _root) public onlyOwner { merkleRoot = _root; } function _baseURI() internal view virtual override returns (string memory) { return baseURI; } function setBaseURI(string memory _newBaseURI) public onlyOwner { baseURI = _newBaseURI; } function flipSaleActive() public onlyOwner { _isSaleActive = !_isSaleActive; } function flipWLActive() public onlyOwner { _WLActive = !_WLActive; } function flipReveal() public onlyOwner { _revealed = !_revealed; } function mintOwner() public onlyOwner { _safeMint(msg.sender, 1); } function setMintPrice(uint256 _mintPrice) public onlyOwner { mintPrice = _mintPrice; } function setWLPrice(uint256 _WLPrice) public onlyOwner { WLPrice = _WLPrice; } function setNotRevealedURI(string memory _notRevealedURI) public onlyOwner { notRevealedUri = _notRevealedURI; } function setBaseExtension(string memory _newBaseExtension) public onlyOwner { baseExtension = _newBaseExtension; } function setMaxBalance(uint256 _maxBalance) public onlyOwner { maxBalance = _maxBalance; } function setMaxMint(uint256 _maxMint) public onlyOwner { maxMint = _maxMint; } function withdraw(address to) public onlyOwner { uint256 balance = address(this).balance; payable(to).transfer(balance); } function setApprovalForAll(address operator, bool approved) public override onlyAllowedOperatorApproval(operator) { super.setApprovalForAll(operator, approved); } function approve(address operator, uint256 tokenId) public payable override onlyAllowedOperatorApproval(operator) { super.approve(operator, tokenId); } function transferFrom(address from, address to, uint256 tokenId) public payable override onlyAllowedOperator(from) { super.transferFrom(from, to, tokenId); } function safeTransferFrom(address from, address to, uint256 tokenId) public payable override onlyAllowedOperator(from) { super.safeTransferFrom(from, to, tokenId); } function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory data) public payable override onlyAllowedOperator(from){ super.safeTransferFrom(from, to, tokenId, data); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"initBaseURI","type":"string"},{"internalType":"string","name":"initNotRevealedUri","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","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"},{"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":"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":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OPERATOR_FILTER_REGISTRY","outputs":[{"internalType":"contract IOperatorFilterRegistry","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WLCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WLLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WLNum","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WLPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_WLActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_isSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_mintedAddress","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","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":[],"name":"baseExtension","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"flipReveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"flipSaleActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"flipWLActive","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":"maxBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenQuantity","type":"uint256"}],"name":"mintPublic","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"mintWL","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"notRevealedUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"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":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseExtension","type":"string"}],"name":"setBaseExtension","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxBalance","type":"uint256"}],"name":"setMaxBalance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxMint","type":"uint256"}],"name":"setMaxMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintPrice","type":"uint256"}],"name":"setMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_notRevealedURI","type":"string"}],"name":"setNotRevealedURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_root","type":"bytes32"}],"name":"setRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_WLPrice","type":"uint256"}],"name":"setWLPrice","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":"address","name":"to","type":"address"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6008805462ffffff60a01b1916600160b01b1790556000600981905561014d600a556002600b55600c5566038d7ea4c68000600d556005600e819055600f81905560c0604052608090815264173539b7b760d91b60a05260129062000065908262000411565b503480156200007357600080fd5b50604051620029a4380380620029a483398101604081905262000096916200058c565b733cc6cdda760b79bafa08df41ecfa224f810dceb660016040518060400160405280600c81526020016b213937b5b2a132b0b3b632bd60a11b81525060405180604001604052806002815260200161212160f11b8152508160029081620000fe919062000411565b5060036200010d828262000411565b506000805550506daaeb6d7670e522a718067333cd4e3b1562000259578015620001a757604051633e9f1edf60e11b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e90637d3e3dbe906044015b600060405180830381600087803b1580156200018857600080fd5b505af11580156200019d573d6000803e3d6000fd5b5050505062000259565b6001600160a01b03821615620001f85760405163a0af290360e01b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e9063a0af2903906044016200016d565b604051632210724360e11b81523060048201526daaeb6d7670e522a718067333cd4e90634420e48690602401600060405180830381600087803b1580156200023f57600080fd5b505af115801562000254573d6000803e3d6000fd5b505050505b506200026790503362000285565b6200027282620002d7565b6200027d81620002f3565b5050620005f6565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b620002e16200030b565b6010620002ef828262000411565b5050565b620002fd6200030b565b6011620002ef828262000411565b6008546001600160a01b031633146200036a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640160405180910390fd5b565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200039757607f821691505b602082108103620003b857634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200040c57600081815260208120601f850160051c81016020861015620003e75750805b601f850160051c820191505b818110156200040857828155600101620003f3565b5050505b505050565b81516001600160401b038111156200042d576200042d6200036c565b62000445816200043e845462000382565b84620003be565b602080601f8311600181146200047d5760008415620004645750858301515b600019600386901b1c1916600185901b17855562000408565b600085815260208120601f198616915b82811015620004ae578886015182559484019460019091019084016200048d565b5085821015620004cd5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600082601f830112620004ef57600080fd5b81516001600160401b03808211156200050c576200050c6200036c565b604051601f8301601f19908116603f011681019082821181831017156200053757620005376200036c565b816040528381526020925086838588010111156200055457600080fd5b600091505b8382101562000578578582018301518183018401529082019062000559565b600093810190920192909252949350505050565b60008060408385031215620005a057600080fd5b82516001600160401b0380821115620005b857600080fd5b620005c686838701620004dd565b93506020850151915080821115620005dd57600080fd5b50620005ec85828601620004dd565b9150509250929050565b61239e80620006066000396000f3fe6080604052600436106102935760003560e01c806373ad468a1161015a578063cecb06d0116100c1578063e985e9c51161007a578063e985e9c51461072c578063efd0cbf91461074c578063f2c4ce1e1461075f578063f2fde38b1461077f578063f4a0a5281461079f578063f6a5b8e6146107bf57600080fd5b8063cecb06d01461068b578063d9fdc907146106a0578063da3ef23f146106b6578063dab5f340146106d6578063de8b51e1146106f6578063e020b2871461070b57600080fd5b8063a22cb46511610113578063a22cb465146105dd578063b0a04d3d146105fd578063b88d4fde14610613578063ba6c396c14610626578063c668286214610656578063c87b56dd1461066b57600080fd5b806373ad468a146105495780637501f7411461055f5780638da5cb5b1461057557806391a7d1df1461059357806395d89b41146105a85780639d51d9b7146105bd57600080fd5b806341f43434116101fe5780636352211e116101b75780636352211e1461049c5780636817c76c146104bc5780636ebeac85146104d25780637080d6fc146104f357806370a0823114610514578063715018a61461053457600080fd5b806341f43434146103f157806342842e0e1461041357806351cff8d914610426578063547520fe1461044657806355f804b3146104665780635d86d6a21461048657600080fd5b806318160ddd1161025057806318160ddd1461036457806323b872dd1461038757806325030bea1461039a5780632eb4a7ab146103b057806332cb6b0c146103c65780633b84d9c6146103dc57600080fd5b806301ffc9a7146102985780630578f97d146102cd57806306fdde03146102e2578063081812fc14610304578063081c8c441461033c578063095ea7b314610351575b600080fd5b3480156102a457600080fd5b506102b86102b3366004611cff565b6107df565b60405190151581526020015b60405180910390f35b6102e06102db366004611d1c565b610831565b005b3480156102ee57600080fd5b506102f7610b13565b6040516102c49190611de1565b34801561031057600080fd5b5061032461031f366004611df4565b610ba5565b6040516001600160a01b0390911681526020016102c4565b34801561034857600080fd5b506102f7610be9565b6102e061035f366004611e29565b610c77565b34801561037057600080fd5b50600154600054035b6040519081526020016102c4565b6102e0610395366004611e53565b610c90565b3480156103a657600080fd5b50610379600a5481565b3480156103bc57600080fd5b5061037960135481565b3480156103d257600080fd5b50610379610d0581565b3480156103e857600080fd5b506102e0610cbb565b3480156103fd57600080fd5b506103246daaeb6d7670e522a718067333cd4e81565b6102e0610421366004611e53565b610ce4565b34801561043257600080fd5b506102e0610441366004611e8f565b610d09565b34801561045257600080fd5b506102e0610461366004611df4565b610d49565b34801561047257600080fd5b506102e0610481366004611f36565b610d56565b34801561049257600080fd5b50610379600c5481565b3480156104a857600080fd5b506103246104b7366004611df4565b610d6e565b3480156104c857600080fd5b50610379600d5481565b3480156104de57600080fd5b506008546102b890600160b01b900460ff1681565b3480156104ff57600080fd5b506008546102b890600160a01b900460ff1681565b34801561052057600080fd5b5061037961052f366004611e8f565b610d79565b34801561054057600080fd5b506102e0610dc8565b34801561055557600080fd5b50610379600e5481565b34801561056b57600080fd5b50610379600f5481565b34801561058157600080fd5b506008546001600160a01b0316610324565b34801561059f57600080fd5b506102e0610ddc565b3480156105b457600080fd5b506102f7610e05565b3480156105c957600080fd5b506102e06105d8366004611df4565b610e14565b3480156105e957600080fd5b506102e06105f8366004611f8d565b610e21565b34801561060957600080fd5b5061037960095481565b6102e0610621366004611fc4565b610e35565b34801561063257600080fd5b506102b8610641366004611e8f565b60146020526000908152604090205460ff1681565b34801561066257600080fd5b506102f7610e62565b34801561067757600080fd5b506102f7610686366004611df4565b610e6f565b34801561069757600080fd5b506102e0611073565b3480156106ac57600080fd5b50610379600b5481565b3480156106c257600080fd5b506102e06106d1366004611f36565b611086565b3480156106e257600080fd5b506102e06106f1366004611df4565b61109a565b34801561070257600080fd5b506102e06110a7565b34801561071757600080fd5b506008546102b890600160a81b900460ff1681565b34801561073857600080fd5b506102b8610747366004612040565b6110d0565b6102e061075a366004611df4565b6110fe565b34801561076b57600080fd5b506102e061077a366004611f36565b6112d4565b34801561078b57600080fd5b506102e061079a366004611e8f565b6112e8565b3480156107ab57600080fd5b506102e06107ba366004611df4565b61135e565b3480156107cb57600080fd5b506102e06107da366004611df4565b61136b565b60006301ffc9a760e01b6001600160e01b03198316148061081057506380ac58cd60e01b6001600160e01b03198316145b8061082b5750635b5e139f60e01b6001600160e01b03198316145b92915050565b600854600160a81b900460ff1661089b5760405162461bcd60e51b8152602060048201526024808201527f57686974656c697374206d7573742062652061637469766520746f206d696e746044820152630813919560e21b60648201526084015b60405180910390fd5b600e54600b546108aa33610d79565b6108b49190612089565b11156109025760405162461bcd60e51b815260206004820152601d60248201527f53616c6520776f756c6420657863656564206d61782062616c616e63650000006044820152606401610892565b600a54600b54600c546109159190612089565b11156109635760405162461bcd60e51b815260206004820152601f60248201527f53616c6520776f756c6420657863656564206d617820574c20737570706c79006044820152606401610892565b610d05600b546109766001546000540390565b6109809190612089565b11156109ce5760405162461bcd60e51b815260206004820152601c60248201527f53616c6520776f756c6420657863656564206d617820737570706c79000000006044820152606401610892565b3360009081526014602052604090205460ff1615610a205760405162461bcd60e51b815260206004820152600f60248201526e416c7265616479206d696e7465642160881b6044820152606401610892565b610a95828280806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506013546040516bffffffffffffffffffffffff193360601b166020820152909250603401905060405160208183030381529060405280519060200120611378565b610ad85760405162461bcd60e51b815260206004820152601460248201527324b73b30b634b21036b2b935b63290383937b7b360611b6044820152606401610892565b610ae433600b5461138e565b336000908152601460205260409020805460ff19166001179055600c54610b0c906002612089565b600c555050565b606060028054610b229061209c565b80601f0160208091040260200160405190810160405280929190818152602001828054610b4e9061209c565b8015610b9b5780601f10610b7057610100808354040283529160200191610b9b565b820191906000526020600020905b815481529060010190602001808311610b7e57829003601f168201915b5050505050905090565b6000610bb0826113a8565b610bcd576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60118054610bf69061209c565b80601f0160208091040260200160405190810160405280929190818152602001828054610c229061209c565b8015610c6f5780601f10610c4457610100808354040283529160200191610c6f565b820191906000526020600020905b815481529060010190602001808311610c5257829003601f168201915b505050505081565b81610c81816113cf565b610c8b8383611488565b505050565b826001600160a01b0381163314610caa57610caa336113cf565b610cb5848484611528565b50505050565b610cc36116c1565b6008805460ff60b01b198116600160b01b9182900460ff1615909102179055565b826001600160a01b0381163314610cfe57610cfe336113cf565b610cb584848461171b565b610d116116c1565b60405147906001600160a01b0383169082156108fc029083906000818181858888f19350505050158015610c8b573d6000803e3d6000fd5b610d516116c1565b600f55565b610d5e6116c1565b6010610d6a828261211c565b5050565b600061082b82611736565b60006001600160a01b038216610da2576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610dd06116c1565b610dda60006117a4565b565b610de46116c1565b6008805460ff60a81b198116600160a81b9182900460ff1615909102179055565b606060038054610b229061209c565b610e1c6116c1565b600e55565b81610e2b816113cf565b610c8b83836117f6565b836001600160a01b0381163314610e4f57610e4f336113cf565b610e5b85858585611862565b5050505050565b60128054610bf69061209c565b6060610e7a826113a8565b610ec65760405162461bcd60e51b815260206004820152601f60248201527f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e006044820152606401610892565b600854600160b01b900460ff161515600003610f6e5760118054610ee99061209c565b80601f0160208091040260200160405190810160405280929190818152602001828054610f159061209c565b8015610f625780601f10610f3757610100808354040283529160200191610f62565b820191906000526020600020905b815481529060010190602001808311610f4557829003601f168201915b50505050509050919050565b60008281526015602052604081208054610f879061209c565b80601f0160208091040260200160405190810160405280929190818152602001828054610fb39061209c565b80156110005780601f10610fd557610100808354040283529160200191611000565b820191906000526020600020905b815481529060010190602001808311610fe357829003601f168201915b5050505050905060006110116118a6565b90508051600003611023575092915050565b81511561105557808260405160200161103d9291906121dc565b60405160208183030381529060405292505050919050565b8061105f856118b5565b601260405160200161103d9392919061220b565b61107b6116c1565b610dda33600161138e565b61108e6116c1565b6012610d6a828261211c565b6110a26116c1565b601355565b6110af6116c1565b6008805460ff60a01b198116600160a01b9182900460ff1615909102179055565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b610d058161110f6001546000540390565b6111199190612089565b11156111675760405162461bcd60e51b815260206004820152601c60248201527f53616c6520776f756c6420657863656564206d617820737570706c79000000006044820152606401610892565b600854600160a01b900460ff166111c05760405162461bcd60e51b815260206004820152601f60248201527f53616c65206d7573742062652061637469766520746f206d696e74204e4654006044820152606401610892565b600f548111156112125760405162461bcd60e51b815260206004820152601e60248201527f4d696e7420746f6f206d616e7920746f6b656e7320617420612074696d6500006044820152606401610892565b600e548161121f33610d79565b6112299190612089565b11156112775760405162461bcd60e51b815260206004820152601d60248201527f53616c6520776f756c6420657863656564206d61782062616c616e63650000006044820152606401610892565b34600d548261128691906122ab565b11156112c75760405162461bcd60e51b815260206004820152601060248201526f2737ba1032b737bab3b41032ba3432b960811b6044820152606401610892565b6112d1338261138e565b50565b6112dc6116c1565b6011610d6a828261211c565b6112f06116c1565b6001600160a01b0381166113555760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610892565b6112d1816117a4565b6113666116c1565b600d55565b6113736116c1565b600955565b6000826113858584611948565b14949350505050565b610d6a828260405180602001604052806000815250611995565b600080548210801561082b575050600090815260046020526040902054600160e01b161590565b6daaeb6d7670e522a718067333cd4e3b156112d157604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa15801561143c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061146091906122c2565b6112d157604051633b79c77360e21b81526001600160a01b0382166004820152602401610892565b600061149382610d6e565b9050336001600160a01b038216146114cc576114af81336110d0565b6114cc576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061153382611736565b9050836001600160a01b0316816001600160a01b0316146115665760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b038816909114176115b35761159686336110d0565b6115b357604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0385166115da57604051633a954ecd60e21b815260040160405180910390fd5b80156115e557600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b84169003611677576001840160008181526004602052604081205490036116755760005481146116755760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b6008546001600160a01b03163314610dda5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610892565b610c8b83838360405180602001604052806000815250610e35565b60008160005481101561178b5760008181526004602052604081205490600160e01b82169003611789575b80600003611782575060001901600081815260046020526040902054611761565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b61186d848484610c90565b6001600160a01b0383163b15610cb557611889848484846119fb565b610cb5576040516368d2bf6b60e11b815260040160405180910390fd5b606060108054610b229061209c565b606060006118c283611ae7565b600101905060008167ffffffffffffffff8111156118e2576118e2611eaa565b6040519080825280601f01601f19166020018201604052801561190c576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461191657509392505050565b600081815b845181101561198d576119798286838151811061196c5761196c6122df565b6020026020010151611bbf565b915080611985816122f5565b91505061194d565b509392505050565b61199f8383611beb565b6001600160a01b0383163b15610c8b576000548281035b6119c960008683806001019450866119fb565b6119e6576040516368d2bf6b60e11b815260040160405180910390fd5b8181106119b6578160005414610e5b57600080fd5b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611a3090339089908890889060040161230e565b6020604051808303816000875af1925050508015611a6b575060408051601f3d908101601f19168201909252611a689181019061234b565b60015b611ac9573d808015611a99576040519150601f19603f3d011682016040523d82523d6000602084013e611a9e565b606091505b508051600003611ac1576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b8310611b265772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310611b52576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310611b7057662386f26fc10000830492506010015b6305f5e1008310611b88576305f5e100830492506008015b6127108310611b9c57612710830492506004015b60648310611bae576064830492506002015b600a831061082b5760010192915050565b6000818310611bdb576000828152602084905260409020611782565b5060009182526020526040902090565b6000805490829003611c105760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b818114611cbf57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101611c87565b5081600003611ce057604051622e076360e81b815260040160405180910390fd5b60005550505050565b6001600160e01b0319811681146112d157600080fd5b600060208284031215611d1157600080fd5b813561178281611ce9565b60008060208385031215611d2f57600080fd5b823567ffffffffffffffff80821115611d4757600080fd5b818501915085601f830112611d5b57600080fd5b813581811115611d6a57600080fd5b8660208260051b8501011115611d7f57600080fd5b60209290920196919550909350505050565b60005b83811015611dac578181015183820152602001611d94565b50506000910152565b60008151808452611dcd816020860160208601611d91565b601f01601f19169290920160200192915050565b6020815260006117826020830184611db5565b600060208284031215611e0657600080fd5b5035919050565b80356001600160a01b0381168114611e2457600080fd5b919050565b60008060408385031215611e3c57600080fd5b611e4583611e0d565b946020939093013593505050565b600080600060608486031215611e6857600080fd5b611e7184611e0d565b9250611e7f60208501611e0d565b9150604084013590509250925092565b600060208284031215611ea157600080fd5b61178282611e0d565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115611edb57611edb611eaa565b604051601f8501601f19908116603f01168101908282118183101715611f0357611f03611eaa565b81604052809350858152868686011115611f1c57600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215611f4857600080fd5b813567ffffffffffffffff811115611f5f57600080fd5b8201601f81018413611f7057600080fd5b611adf84823560208401611ec0565b80151581146112d157600080fd5b60008060408385031215611fa057600080fd5b611fa983611e0d565b91506020830135611fb981611f7f565b809150509250929050565b60008060008060808587031215611fda57600080fd5b611fe385611e0d565b9350611ff160208601611e0d565b925060408501359150606085013567ffffffffffffffff81111561201457600080fd5b8501601f8101871361202557600080fd5b61203487823560208401611ec0565b91505092959194509250565b6000806040838503121561205357600080fd5b61205c83611e0d565b915061206a60208401611e0d565b90509250929050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561082b5761082b612073565b600181811c908216806120b057607f821691505b6020821081036120d057634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115610c8b57600081815260208120601f850160051c810160208610156120fd5750805b601f850160051c820191505b818110156116b957828155600101612109565b815167ffffffffffffffff81111561213657612136611eaa565b61214a81612144845461209c565b846120d6565b602080601f83116001811461217f57600084156121675750858301515b600019600386901b1c1916600185901b1785556116b9565b600085815260208120601f198616915b828110156121ae5788860151825594840194600190910190840161218f565b50858210156121cc5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600083516121ee818460208801611d91565b835190830190612202818360208801611d91565b01949350505050565b60008451602061221e8285838a01611d91565b8551918401916122318184848a01611d91565b85549201916000906122428161209c565b6001828116801561225a576001811461226f5761229b565b60ff198416875282151583028701945061229b565b896000528560002060005b848110156122935781548982015290830190870161227a565b505082870194505b50929a9950505050505050505050565b808202811582820484141761082b5761082b612073565b6000602082840312156122d457600080fd5b815161178281611f7f565b634e487b7160e01b600052603260045260246000fd5b60006001820161230757612307612073565b5060010190565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061234190830184611db5565b9695505050505050565b60006020828403121561235d57600080fd5b815161178281611ce956fea26469706673582212204bd552053c5b03551e8be62bef0056fb690b9ea7eb65a39169d238b66b05c59a64736f6c634300081100330000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106102935760003560e01c806373ad468a1161015a578063cecb06d0116100c1578063e985e9c51161007a578063e985e9c51461072c578063efd0cbf91461074c578063f2c4ce1e1461075f578063f2fde38b1461077f578063f4a0a5281461079f578063f6a5b8e6146107bf57600080fd5b8063cecb06d01461068b578063d9fdc907146106a0578063da3ef23f146106b6578063dab5f340146106d6578063de8b51e1146106f6578063e020b2871461070b57600080fd5b8063a22cb46511610113578063a22cb465146105dd578063b0a04d3d146105fd578063b88d4fde14610613578063ba6c396c14610626578063c668286214610656578063c87b56dd1461066b57600080fd5b806373ad468a146105495780637501f7411461055f5780638da5cb5b1461057557806391a7d1df1461059357806395d89b41146105a85780639d51d9b7146105bd57600080fd5b806341f43434116101fe5780636352211e116101b75780636352211e1461049c5780636817c76c146104bc5780636ebeac85146104d25780637080d6fc146104f357806370a0823114610514578063715018a61461053457600080fd5b806341f43434146103f157806342842e0e1461041357806351cff8d914610426578063547520fe1461044657806355f804b3146104665780635d86d6a21461048657600080fd5b806318160ddd1161025057806318160ddd1461036457806323b872dd1461038757806325030bea1461039a5780632eb4a7ab146103b057806332cb6b0c146103c65780633b84d9c6146103dc57600080fd5b806301ffc9a7146102985780630578f97d146102cd57806306fdde03146102e2578063081812fc14610304578063081c8c441461033c578063095ea7b314610351575b600080fd5b3480156102a457600080fd5b506102b86102b3366004611cff565b6107df565b60405190151581526020015b60405180910390f35b6102e06102db366004611d1c565b610831565b005b3480156102ee57600080fd5b506102f7610b13565b6040516102c49190611de1565b34801561031057600080fd5b5061032461031f366004611df4565b610ba5565b6040516001600160a01b0390911681526020016102c4565b34801561034857600080fd5b506102f7610be9565b6102e061035f366004611e29565b610c77565b34801561037057600080fd5b50600154600054035b6040519081526020016102c4565b6102e0610395366004611e53565b610c90565b3480156103a657600080fd5b50610379600a5481565b3480156103bc57600080fd5b5061037960135481565b3480156103d257600080fd5b50610379610d0581565b3480156103e857600080fd5b506102e0610cbb565b3480156103fd57600080fd5b506103246daaeb6d7670e522a718067333cd4e81565b6102e0610421366004611e53565b610ce4565b34801561043257600080fd5b506102e0610441366004611e8f565b610d09565b34801561045257600080fd5b506102e0610461366004611df4565b610d49565b34801561047257600080fd5b506102e0610481366004611f36565b610d56565b34801561049257600080fd5b50610379600c5481565b3480156104a857600080fd5b506103246104b7366004611df4565b610d6e565b3480156104c857600080fd5b50610379600d5481565b3480156104de57600080fd5b506008546102b890600160b01b900460ff1681565b3480156104ff57600080fd5b506008546102b890600160a01b900460ff1681565b34801561052057600080fd5b5061037961052f366004611e8f565b610d79565b34801561054057600080fd5b506102e0610dc8565b34801561055557600080fd5b50610379600e5481565b34801561056b57600080fd5b50610379600f5481565b34801561058157600080fd5b506008546001600160a01b0316610324565b34801561059f57600080fd5b506102e0610ddc565b3480156105b457600080fd5b506102f7610e05565b3480156105c957600080fd5b506102e06105d8366004611df4565b610e14565b3480156105e957600080fd5b506102e06105f8366004611f8d565b610e21565b34801561060957600080fd5b5061037960095481565b6102e0610621366004611fc4565b610e35565b34801561063257600080fd5b506102b8610641366004611e8f565b60146020526000908152604090205460ff1681565b34801561066257600080fd5b506102f7610e62565b34801561067757600080fd5b506102f7610686366004611df4565b610e6f565b34801561069757600080fd5b506102e0611073565b3480156106ac57600080fd5b50610379600b5481565b3480156106c257600080fd5b506102e06106d1366004611f36565b611086565b3480156106e257600080fd5b506102e06106f1366004611df4565b61109a565b34801561070257600080fd5b506102e06110a7565b34801561071757600080fd5b506008546102b890600160a81b900460ff1681565b34801561073857600080fd5b506102b8610747366004612040565b6110d0565b6102e061075a366004611df4565b6110fe565b34801561076b57600080fd5b506102e061077a366004611f36565b6112d4565b34801561078b57600080fd5b506102e061079a366004611e8f565b6112e8565b3480156107ab57600080fd5b506102e06107ba366004611df4565b61135e565b3480156107cb57600080fd5b506102e06107da366004611df4565b61136b565b60006301ffc9a760e01b6001600160e01b03198316148061081057506380ac58cd60e01b6001600160e01b03198316145b8061082b5750635b5e139f60e01b6001600160e01b03198316145b92915050565b600854600160a81b900460ff1661089b5760405162461bcd60e51b8152602060048201526024808201527f57686974656c697374206d7573742062652061637469766520746f206d696e746044820152630813919560e21b60648201526084015b60405180910390fd5b600e54600b546108aa33610d79565b6108b49190612089565b11156109025760405162461bcd60e51b815260206004820152601d60248201527f53616c6520776f756c6420657863656564206d61782062616c616e63650000006044820152606401610892565b600a54600b54600c546109159190612089565b11156109635760405162461bcd60e51b815260206004820152601f60248201527f53616c6520776f756c6420657863656564206d617820574c20737570706c79006044820152606401610892565b610d05600b546109766001546000540390565b6109809190612089565b11156109ce5760405162461bcd60e51b815260206004820152601c60248201527f53616c6520776f756c6420657863656564206d617820737570706c79000000006044820152606401610892565b3360009081526014602052604090205460ff1615610a205760405162461bcd60e51b815260206004820152600f60248201526e416c7265616479206d696e7465642160881b6044820152606401610892565b610a95828280806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506013546040516bffffffffffffffffffffffff193360601b166020820152909250603401905060405160208183030381529060405280519060200120611378565b610ad85760405162461bcd60e51b815260206004820152601460248201527324b73b30b634b21036b2b935b63290383937b7b360611b6044820152606401610892565b610ae433600b5461138e565b336000908152601460205260409020805460ff19166001179055600c54610b0c906002612089565b600c555050565b606060028054610b229061209c565b80601f0160208091040260200160405190810160405280929190818152602001828054610b4e9061209c565b8015610b9b5780601f10610b7057610100808354040283529160200191610b9b565b820191906000526020600020905b815481529060010190602001808311610b7e57829003601f168201915b5050505050905090565b6000610bb0826113a8565b610bcd576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60118054610bf69061209c565b80601f0160208091040260200160405190810160405280929190818152602001828054610c229061209c565b8015610c6f5780601f10610c4457610100808354040283529160200191610c6f565b820191906000526020600020905b815481529060010190602001808311610c5257829003601f168201915b505050505081565b81610c81816113cf565b610c8b8383611488565b505050565b826001600160a01b0381163314610caa57610caa336113cf565b610cb5848484611528565b50505050565b610cc36116c1565b6008805460ff60b01b198116600160b01b9182900460ff1615909102179055565b826001600160a01b0381163314610cfe57610cfe336113cf565b610cb584848461171b565b610d116116c1565b60405147906001600160a01b0383169082156108fc029083906000818181858888f19350505050158015610c8b573d6000803e3d6000fd5b610d516116c1565b600f55565b610d5e6116c1565b6010610d6a828261211c565b5050565b600061082b82611736565b60006001600160a01b038216610da2576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610dd06116c1565b610dda60006117a4565b565b610de46116c1565b6008805460ff60a81b198116600160a81b9182900460ff1615909102179055565b606060038054610b229061209c565b610e1c6116c1565b600e55565b81610e2b816113cf565b610c8b83836117f6565b836001600160a01b0381163314610e4f57610e4f336113cf565b610e5b85858585611862565b5050505050565b60128054610bf69061209c565b6060610e7a826113a8565b610ec65760405162461bcd60e51b815260206004820152601f60248201527f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e006044820152606401610892565b600854600160b01b900460ff161515600003610f6e5760118054610ee99061209c565b80601f0160208091040260200160405190810160405280929190818152602001828054610f159061209c565b8015610f625780601f10610f3757610100808354040283529160200191610f62565b820191906000526020600020905b815481529060010190602001808311610f4557829003601f168201915b50505050509050919050565b60008281526015602052604081208054610f879061209c565b80601f0160208091040260200160405190810160405280929190818152602001828054610fb39061209c565b80156110005780601f10610fd557610100808354040283529160200191611000565b820191906000526020600020905b815481529060010190602001808311610fe357829003601f168201915b5050505050905060006110116118a6565b90508051600003611023575092915050565b81511561105557808260405160200161103d9291906121dc565b60405160208183030381529060405292505050919050565b8061105f856118b5565b601260405160200161103d9392919061220b565b61107b6116c1565b610dda33600161138e565b61108e6116c1565b6012610d6a828261211c565b6110a26116c1565b601355565b6110af6116c1565b6008805460ff60a01b198116600160a01b9182900460ff1615909102179055565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b610d058161110f6001546000540390565b6111199190612089565b11156111675760405162461bcd60e51b815260206004820152601c60248201527f53616c6520776f756c6420657863656564206d617820737570706c79000000006044820152606401610892565b600854600160a01b900460ff166111c05760405162461bcd60e51b815260206004820152601f60248201527f53616c65206d7573742062652061637469766520746f206d696e74204e4654006044820152606401610892565b600f548111156112125760405162461bcd60e51b815260206004820152601e60248201527f4d696e7420746f6f206d616e7920746f6b656e7320617420612074696d6500006044820152606401610892565b600e548161121f33610d79565b6112299190612089565b11156112775760405162461bcd60e51b815260206004820152601d60248201527f53616c6520776f756c6420657863656564206d61782062616c616e63650000006044820152606401610892565b34600d548261128691906122ab565b11156112c75760405162461bcd60e51b815260206004820152601060248201526f2737ba1032b737bab3b41032ba3432b960811b6044820152606401610892565b6112d1338261138e565b50565b6112dc6116c1565b6011610d6a828261211c565b6112f06116c1565b6001600160a01b0381166113555760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610892565b6112d1816117a4565b6113666116c1565b600d55565b6113736116c1565b600955565b6000826113858584611948565b14949350505050565b610d6a828260405180602001604052806000815250611995565b600080548210801561082b575050600090815260046020526040902054600160e01b161590565b6daaeb6d7670e522a718067333cd4e3b156112d157604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa15801561143c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061146091906122c2565b6112d157604051633b79c77360e21b81526001600160a01b0382166004820152602401610892565b600061149382610d6e565b9050336001600160a01b038216146114cc576114af81336110d0565b6114cc576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061153382611736565b9050836001600160a01b0316816001600160a01b0316146115665760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b038816909114176115b35761159686336110d0565b6115b357604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0385166115da57604051633a954ecd60e21b815260040160405180910390fd5b80156115e557600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b84169003611677576001840160008181526004602052604081205490036116755760005481146116755760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b6008546001600160a01b03163314610dda5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610892565b610c8b83838360405180602001604052806000815250610e35565b60008160005481101561178b5760008181526004602052604081205490600160e01b82169003611789575b80600003611782575060001901600081815260046020526040902054611761565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b61186d848484610c90565b6001600160a01b0383163b15610cb557611889848484846119fb565b610cb5576040516368d2bf6b60e11b815260040160405180910390fd5b606060108054610b229061209c565b606060006118c283611ae7565b600101905060008167ffffffffffffffff8111156118e2576118e2611eaa565b6040519080825280601f01601f19166020018201604052801561190c576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461191657509392505050565b600081815b845181101561198d576119798286838151811061196c5761196c6122df565b6020026020010151611bbf565b915080611985816122f5565b91505061194d565b509392505050565b61199f8383611beb565b6001600160a01b0383163b15610c8b576000548281035b6119c960008683806001019450866119fb565b6119e6576040516368d2bf6b60e11b815260040160405180910390fd5b8181106119b6578160005414610e5b57600080fd5b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611a3090339089908890889060040161230e565b6020604051808303816000875af1925050508015611a6b575060408051601f3d908101601f19168201909252611a689181019061234b565b60015b611ac9573d808015611a99576040519150601f19603f3d011682016040523d82523d6000602084013e611a9e565b606091505b508051600003611ac1576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b8310611b265772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310611b52576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310611b7057662386f26fc10000830492506010015b6305f5e1008310611b88576305f5e100830492506008015b6127108310611b9c57612710830492506004015b60648310611bae576064830492506002015b600a831061082b5760010192915050565b6000818310611bdb576000828152602084905260409020611782565b5060009182526020526040902090565b6000805490829003611c105760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b818114611cbf57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101611c87565b5081600003611ce057604051622e076360e81b815260040160405180910390fd5b60005550505050565b6001600160e01b0319811681146112d157600080fd5b600060208284031215611d1157600080fd5b813561178281611ce9565b60008060208385031215611d2f57600080fd5b823567ffffffffffffffff80821115611d4757600080fd5b818501915085601f830112611d5b57600080fd5b813581811115611d6a57600080fd5b8660208260051b8501011115611d7f57600080fd5b60209290920196919550909350505050565b60005b83811015611dac578181015183820152602001611d94565b50506000910152565b60008151808452611dcd816020860160208601611d91565b601f01601f19169290920160200192915050565b6020815260006117826020830184611db5565b600060208284031215611e0657600080fd5b5035919050565b80356001600160a01b0381168114611e2457600080fd5b919050565b60008060408385031215611e3c57600080fd5b611e4583611e0d565b946020939093013593505050565b600080600060608486031215611e6857600080fd5b611e7184611e0d565b9250611e7f60208501611e0d565b9150604084013590509250925092565b600060208284031215611ea157600080fd5b61178282611e0d565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115611edb57611edb611eaa565b604051601f8501601f19908116603f01168101908282118183101715611f0357611f03611eaa565b81604052809350858152868686011115611f1c57600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215611f4857600080fd5b813567ffffffffffffffff811115611f5f57600080fd5b8201601f81018413611f7057600080fd5b611adf84823560208401611ec0565b80151581146112d157600080fd5b60008060408385031215611fa057600080fd5b611fa983611e0d565b91506020830135611fb981611f7f565b809150509250929050565b60008060008060808587031215611fda57600080fd5b611fe385611e0d565b9350611ff160208601611e0d565b925060408501359150606085013567ffffffffffffffff81111561201457600080fd5b8501601f8101871361202557600080fd5b61203487823560208401611ec0565b91505092959194509250565b6000806040838503121561205357600080fd5b61205c83611e0d565b915061206a60208401611e0d565b90509250929050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561082b5761082b612073565b600181811c908216806120b057607f821691505b6020821081036120d057634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115610c8b57600081815260208120601f850160051c810160208610156120fd5750805b601f850160051c820191505b818110156116b957828155600101612109565b815167ffffffffffffffff81111561213657612136611eaa565b61214a81612144845461209c565b846120d6565b602080601f83116001811461217f57600084156121675750858301515b600019600386901b1c1916600185901b1785556116b9565b600085815260208120601f198616915b828110156121ae5788860151825594840194600190910190840161218f565b50858210156121cc5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600083516121ee818460208801611d91565b835190830190612202818360208801611d91565b01949350505050565b60008451602061221e8285838a01611d91565b8551918401916122318184848a01611d91565b85549201916000906122428161209c565b6001828116801561225a576001811461226f5761229b565b60ff198416875282151583028701945061229b565b896000528560002060005b848110156122935781548982015290830190870161227a565b505082870194505b50929a9950505050505050505050565b808202811582820484141761082b5761082b612073565b6000602082840312156122d457600080fd5b815161178281611f7f565b634e487b7160e01b600052603260045260246000fd5b60006001820161230757612307612073565b5060010190565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061234190830184611db5565b9695505050505050565b60006020828403121561235d57600080fd5b815161178281611ce956fea26469706673582212204bd552053c5b03551e8be62bef0056fb690b9ea7eb65a39169d238b66b05c59a64736f6c63430008110033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : initBaseURI (string):
Arg [1] : initNotRevealedUri (string):
-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000000
Deployed Bytecode Sourcemap
90947:5700:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57845:639;;;;;;;;;;-1:-1:-1;57845:639:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;57845:639:0;;;;;;;;91935:821;;;;;;:::i;:::-;;:::i;:::-;;58747:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;65238:218::-;;;;;;;;;;-1:-1:-1;65238:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;2317:32:1;;;2299:51;;2287:2;2272:18;65238:218:0;2153:203:1;91499:28:0;;;;;;;;;;;;;:::i;95873:165::-;;;;;;:::i;:::-;;:::i;54498:323::-;;;;;;;;;;-1:-1:-1;54772:12:0;;54559:7;54756:13;:28;54498:323;;;2944:25:1;;;2932:2;2917:18;54498:323:0;2798:177:1;96046:171:0;;;;;;:::i;:::-;;:::i;91262:28::-;;;;;;;;;;;;;;;;91578:25;;;;;;;;;;;;;;;;91056:41;;;;;;;;;;;;91093:4;91056:41;;94646:80;;;;;;;;;;;;;:::i;7735:143::-;;;;;;;;;;;;151:42;7735:143;;96225:179;;;;;;:::i;:::-;;:::i;95536:145::-;;;;;;;;;;-1:-1:-1;95536:145:0;;;;;:::i;:::-;;:::i;95436:92::-;;;;;;;;;;-1:-1:-1;95436:92:0;;;;;:::i;:::-;;:::i;94344:104::-;;;;;;;;;;-1:-1:-1;94344:104:0;;;;;:::i;:::-;;:::i;91328:26::-;;;;;;;;;;;;;;;;60140:152;;;;;;;;;;-1:-1:-1;60140:152:0;;;;;:::i;:::-;;:::i;91361:38::-;;;;;;;;;;;;;;;;91182:28;;;;;;;;;;-1:-1:-1;91182:28:0;;;;-1:-1:-1;;;91182:28:0;;;;;;91104:33;;;;;;;;;;-1:-1:-1;91104:33:0;;;;-1:-1:-1;;;91104:33:0;;;;;;55682:233;;;;;;;;;;-1:-1:-1;55682:233:0;;;;;:::i;:::-;;:::i;38624:103::-;;;;;;;;;;;;;:::i;91407:29::-;;;;;;;;;;;;;;;;91444:26;;;;;;;;;;;;;;;;37976:87;;;;;;;;;;-1:-1:-1;38049:6:0;;-1:-1:-1;;;;;38049:6:0;37976:87;;94556:82;;;;;;;;;;;;;:::i;58923:104::-;;;;;;;;;;;;;:::i;95324:::-;;;;;;;;;;-1:-1:-1;95324:104:0;;;;;:::i;:::-;;:::i;95689:176::-;;;;;;;;;;-1:-1:-1;95689:176:0;;;;;:::i;:::-;;:::i;91222:32::-;;;;;;;;;;;;;;;;96412:230;;;;;;:::i;:::-;;:::i;91610:46::-;;;;;;;;;;-1:-1:-1;91610:46:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;91534:37;;;;;;;;;;;;;:::i;93386:740::-;;;;;;;;;;-1:-1:-1;93386:740:0;;;;;:::i;:::-;;:::i;94734:81::-;;;;;;;;;;;;;:::i;91297:24::-;;;;;;;;;;;;;;;;95165:151;;;;;;;;;;-1:-1:-1;95165:151:0;;;;;:::i;:::-;;:::i;94134:86::-;;;;;;;;;;-1:-1:-1;94134:86:0;;;;;:::i;:::-;;:::i;94456:92::-;;;;;;;;;;;;;:::i;91145:29::-;;;;;;;;;;-1:-1:-1;91145:29:0;;;;-1:-1:-1;;;91145:29:0;;;;;;66187:164;;;;;;;;;;-1:-1:-1;66187:164:0;;;;;:::i;:::-;;:::i;92764:614::-;;;;;;:::i;:::-;;:::i;95031:126::-;;;;;;;;;;-1:-1:-1;95031:126:0;;;;;:::i;:::-;;:::i;38882:201::-;;;;;;;;;;-1:-1:-1;38882:201:0;;;;;:::i;:::-;;:::i;94823:100::-;;;;;;;;;;-1:-1:-1;94823:100:0;;;;;:::i;:::-;;:::i;94931:92::-;;;;;;;;;;-1:-1:-1;94931:92:0;;;;;:::i;:::-;;:::i;57845:639::-;57930:4;-1:-1:-1;;;;;;;;;58254:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;58331:25:0;;;58254:102;:179;;;-1:-1:-1;;;;;;;;;;58408:25:0;;;58254:179;58234:199;57845:639;-1:-1:-1;;57845:639:0:o;91935:821::-;92011:9;;-1:-1:-1;;;92011:9:0;;;;92003:58;;;;-1:-1:-1;;;92003:58:0;;6917:2:1;92003:58:0;;;6899:21:1;6956:2;6936:18;;;6929:30;6995:34;6975:18;;;6968:62;-1:-1:-1;;;7046:18:1;;;7039:34;7090:19;;92003:58:0;;;;;;;;;92128:10;;92119:5;;92094:21;92104:10;92094:9;:21::i;:::-;:30;;;;:::i;:::-;:44;;92072:124;;;;-1:-1:-1;;;92072:124:0;;7584:2:1;92072:124:0;;;7566:21:1;7623:2;7603:18;;;7596:30;7662:31;7642:18;;;7635:59;7711:18;;92072:124:0;7382:353:1;92072:124:0;92248:7;;92239:5;;92229:7;;:15;;;;:::i;:::-;:26;;92207:107;;;;-1:-1:-1;;;92207:107:0;;7942:2:1;92207:107:0;;;7924:21:1;7981:2;7961:18;;;7954:30;8020:33;8000:18;;;7993:61;8071:18;;92207:107:0;7740:355:1;92207:107:0;91093:4;92363:5;;92347:13;54772:12;;54559:7;54756:13;:28;;54498:323;92347:13;:21;;;;:::i;:::-;:35;;92325:113;;;;-1:-1:-1;;;92325:113:0;;8302:2:1;92325:113:0;;;8284:21:1;8341:2;8321:18;;;8314:30;8380;8360:18;;;8353:58;8428:18;;92325:113:0;8100:352:1;92325:113:0;92473:10;92458:26;;;;:14;:26;;;;;;;;92457:27;92449:55;;;;-1:-1:-1;;;92449:55:0;;8659:2:1;92449:55:0;;;8641:21:1;8698:2;8678:18;;;8671:30;-1:-1:-1;;;8717:18:1;;;8710:45;8772:18;;92449:55:0;8457:339:1;92449:55:0;92524:78;92543:5;;92524:78;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;92550:10:0;;92572:28;;-1:-1:-1;;92589:10:0;8950:2:1;8946:15;8942:53;92572:28:0;;;8930:66:1;92550:10:0;;-1:-1:-1;9012:12:1;;;-1:-1:-1;92572:28:0;;;;;;;;;;;;92562:39;;;;;;92524:18;:78::i;:::-;92516:111;;;;-1:-1:-1;;;92516:111:0;;9237:2:1;92516:111:0;;;9219:21:1;9276:2;9256:18;;;9249:30;-1:-1:-1;;;9295:18:1;;;9288:50;9355:18;;92516:111:0;9035:344:1;92516:111:0;92643:28;92653:10;92665:5;;92643:9;:28::i;:::-;92698:10;92683:26;;;;:14;:26;;;;;:33;;-1:-1:-1;;92683:33:0;92712:4;92683:33;;;92737:7;;:11;;92747:1;92737:11;:::i;:::-;92727:7;:21;-1:-1:-1;;91935:821:0:o;58747:100::-;58801:13;58834:5;58827:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;58747:100;:::o;65238:218::-;65314:7;65339:16;65347:7;65339;:16::i;:::-;65334:64;;65364:34;;-1:-1:-1;;;65364:34:0;;;;;;;;;;;65334:64;-1:-1:-1;65418:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;65418:30:0;;65238:218::o;91499:28::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;95873:165::-;95977:8;9517:30;9538:8;9517:20;:30::i;:::-;95998:32:::1;96012:8;96022:7;95998:13;:32::i;:::-;95873:165:::0;;;:::o;96046:171::-;96155:4;-1:-1:-1;;;;;9243:18:0;;9251:10;9243:18;9239:83;;9278:32;9299:10;9278:20;:32::i;:::-;96172:37:::1;96191:4;96197:2;96201:7;96172:18;:37::i;:::-;96046:171:::0;;;;:::o;94646:80::-;37862:13;:11;:13::i;:::-;94709:9:::1;::::0;;-1:-1:-1;;;;94696:22:0;::::1;-1:-1:-1::0;;;94709:9:0;;;::::1;;;94708:10;94696:22:::0;;::::1;;::::0;;94646:80::o;96225:179::-;96338:4;-1:-1:-1;;;;;9243:18:0;;9251:10;9243:18;9239:83;;9278:32;9299:10;9278:20;:32::i;:::-;96355:41:::1;96378:4;96384:2;96388:7;96355:22;:41::i;95536:145::-:0;37862:13;:11;:13::i;:::-;95644:29:::1;::::0;95612:21:::1;::::0;-1:-1:-1;;;;;95644:20:0;::::1;::::0;:29;::::1;;;::::0;95612:21;;95594:15:::1;95644:29:::0;95594:15;95644:29;95612:21;95644:20;:29;::::1;;;;;;;;;;;;;::::0;::::1;;;;95436:92:::0;37862:13;:11;:13::i;:::-;95502:7:::1;:18:::0;95436:92::o;94344:104::-;37862:13;:11;:13::i;:::-;94419:7:::1;:21;94429:11:::0;94419:7;:21:::1;:::i;:::-;;94344:104:::0;:::o;60140:152::-;60212:7;60255:27;60274:7;60255:18;:27::i;55682:233::-;55754:7;-1:-1:-1;;;;;55778:19:0;;55774:60;;55806:28;;-1:-1:-1;;;55806:28:0;;;;;;;;;;;55774:60;-1:-1:-1;;;;;;55852:25:0;;;;;:18;:25;;;;;;49841:13;55852:55;;55682:233::o;38624:103::-;37862:13;:11;:13::i;:::-;38689:30:::1;38716:1;38689:18;:30::i;:::-;38624:103::o:0;94556:82::-;37862:13;:11;:13::i;:::-;94621:9:::1;::::0;;-1:-1:-1;;;;94608:22:0;::::1;-1:-1:-1::0;;;94621:9:0;;;::::1;;;94620:10;94608:22:::0;;::::1;;::::0;;94556:82::o;58923:104::-;58979:13;59012:7;59005:14;;;;;:::i;95324:104::-;37862:13;:11;:13::i;:::-;95396:10:::1;:24:::0;95324:104::o;95689:176::-;95793:8;9517:30;9538:8;9517:20;:30::i;:::-;95814:43:::1;95838:8;95848;95814:23;:43::i;96412:230::-:0;96571:4;-1:-1:-1;;;;;9243:18:0;;9251:10;9243:18;9239:83;;9278:32;9299:10;9278:20;:32::i;:::-;96587:47:::1;96610:4;96616:2;96620:7;96629:4;96587:22;:47::i;:::-;96412:230:::0;;;;;:::o;91534:37::-;;;;;;;:::i;93386:740::-;93504:13;93557:16;93565:7;93557;:16::i;:::-;93535:97;;;;-1:-1:-1;;;93535:97:0;;12175:2:1;93535:97:0;;;12157:21:1;12214:2;12194:18;;;12187:30;12253:33;12233:18;;;12226:61;12304:18;;93535:97:0;11973:355:1;93535:97:0;93649:9;;-1:-1:-1;;;93649:9:0;;;;:18;;93662:5;93649:18;93645:72;;93691:14;93684:21;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;93386:740;;;:::o;93645:72::-;93729:23;93755:19;;;:10;:19;;;;;93729:45;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;93785:18;93806:10;:8;:10::i;:::-;93785:31;;93839:4;93833:18;93855:1;93833:23;93829:72;;-1:-1:-1;93880:9:0;93386:740;-1:-1:-1;;93386:740:0:o;93829:72::-;93917:23;;:27;93913:108;;93992:4;93998:9;93975:33;;;;;;;;;:::i;:::-;;;;;;;;;;;;;93961:48;;;;93386:740;;;:::o;93913:108::-;94077:4;94083:18;:7;:16;:18::i;:::-;94103:13;94060:57;;;;;;;;;;:::i;94734:81::-;37862:13;:11;:13::i;:::-;94783:24:::1;94793:10;94805:1;94783:9;:24::i;95165:151::-:0;37862:13;:11;:13::i;:::-;95275::::1;:33;95291:17:::0;95275:13;:33:::1;:::i;94134:86::-:0;37862:13;:11;:13::i;:::-;94194:10:::1;:18:::0;94134:86::o;94456:92::-;37862:13;:11;:13::i;:::-;94527::::1;::::0;;-1:-1:-1;;;;94510:30:0;::::1;-1:-1:-1::0;;;94527:13:0;;;::::1;;;94526:14;94510:30:::0;;::::1;;::::0;;94456:92::o;66187:164::-;-1:-1:-1;;;;;66308:25:0;;;66284:4;66308:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;66187:164::o;92764:614::-;91093:4;92871:13;92855;54772:12;;54559:7;54756:13;:28;;54498:323;92855:13;:29;;;;:::i;:::-;:43;;92833:121;;;;-1:-1:-1;;;92833:121:0;;8302:2:1;92833:121:0;;;8284:21:1;8341:2;8321:18;;;8314:30;8380;8360:18;;;8353:58;8428:18;;92833:121:0;8100:352:1;92833:121:0;92973:13;;-1:-1:-1;;;92973:13:0;;;;92965:57;;;;-1:-1:-1;;;92965:57:0;;14297:2:1;92965:57:0;;;14279:21:1;14336:2;14316:18;;;14309:30;14375:33;14355:18;;;14348:61;14426:18;;92965:57:0;14095:355:1;92965:57:0;93058:7;;93041:13;:24;;93033:67;;;;-1:-1:-1;;;93033:67:0;;14657:2:1;93033:67:0;;;14639:21:1;14696:2;14676:18;;;14669:30;14735:32;14715:18;;;14708:60;14785:18;;93033:67:0;14455:354:1;93033:67:0;93175:10;;93158:13;93133:21;93143:10;93133:9;:21::i;:::-;:38;;;;:::i;:::-;:52;;93111:132;;;;-1:-1:-1;;;93111:132:0;;7584:2:1;93111:132:0;;;7566:21:1;7623:2;7603:18;;;7596:30;7662:31;7642:18;;;7635:59;7711:18;;93111:132:0;7382:353:1;93111:132:0;93291:9;93278;;93262:13;:25;;;;:::i;:::-;:38;;93254:67;;;;-1:-1:-1;;;93254:67:0;;15189:2:1;93254:67:0;;;15171:21:1;15228:2;15208:18;;;15201:30;-1:-1:-1;;;15247:18:1;;;15240:46;15303:18;;93254:67:0;14987:340:1;93254:67:0;93334:36;93344:10;93356:13;93334:9;:36::i;:::-;92764:614;:::o;95031:126::-;37862:13;:11;:13::i;:::-;95117:14:::1;:32;95134:15:::0;95117:14;:32:::1;:::i;38882:201::-:0;37862:13;:11;:13::i;:::-;-1:-1:-1;;;;;38971:22:0;::::1;38963:73;;;::::0;-1:-1:-1;;;38963:73:0;;15534:2:1;38963:73:0::1;::::0;::::1;15516:21:1::0;15573:2;15553:18;;;15546:30;15612:34;15592:18;;;15585:62;-1:-1:-1;;;15663:18:1;;;15656:36;15709:19;;38963:73:0::1;15332:402:1::0;38963:73:0::1;39047:28;39066:8;39047:18;:28::i;94823:100::-:0;37862:13;:11;:13::i;:::-;94893:9:::1;:22:::0;94823:100::o;94931:92::-;37862:13;:11;:13::i;:::-;94997:7:::1;:18:::0;94931:92::o;12310:190::-;12435:4;12488;12459:25;12472:5;12479:4;12459:12;:25::i;:::-;:33;;12310:190;-1:-1:-1;;;;12310:190:0:o;82749:112::-;82826:27;82836:2;82840:8;82826:27;;;;;;;;;;;;:9;:27::i;66609:282::-;66674:4;66764:13;;66754:7;:23;66711:153;;;;-1:-1:-1;;66815:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;66815:44:0;:49;;66609:282::o;9660:647::-;151:42;9851:45;:49;9847:453;;10150:67;;-1:-1:-1;;;10150:67:0;;10201:4;10150:67;;;15951:34:1;-1:-1:-1;;;;;16021:15:1;;16001:18;;;15994:43;151:42:0;;10150;;15886:18:1;;10150:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;10145:144;;10245:28;;-1:-1:-1;;;10245:28:0;;-1:-1:-1;;;;;2317:32:1;;10245:28:0;;;2299:51:1;2272:18;;10245:28:0;2153:203:1;64671:408:0;64760:13;64776:16;64784:7;64776;:16::i;:::-;64760:32;-1:-1:-1;89004:10:0;-1:-1:-1;;;;;64809:28:0;;;64805:175;;64857:44;64874:5;89004:10;66187:164;:::i;64857:44::-;64852:128;;64929:35;;-1:-1:-1;;;64929:35:0;;;;;;;;;;;64852:128;64992:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;64992:35:0;-1:-1:-1;;;;;64992:35:0;;;;;;;;;65043:28;;64992:24;;65043:28;;;;;;;64749:330;64671:408;;:::o;68877:2825::-;69019:27;69049;69068:7;69049:18;:27::i;:::-;69019:57;;69134:4;-1:-1:-1;;;;;69093:45:0;69109:19;-1:-1:-1;;;;;69093:45:0;;69089:86;;69147:28;;-1:-1:-1;;;69147:28:0;;;;;;;;;;;69089:86;69189:27;67985:24;;;:15;:24;;;;;68213:26;;89004:10;67610:30;;;-1:-1:-1;;;;;67303:28:0;;67588:20;;;67585:56;69375:180;;69468:43;69485:4;89004:10;66187:164;:::i;69468:43::-;69463:92;;69520:35;;-1:-1:-1;;;69520:35:0;;;;;;;;;;;69463:92;-1:-1:-1;;;;;69572:16:0;;69568:52;;69597:23;;-1:-1:-1;;;69597:23:0;;;;;;;;;;;69568:52;69769:15;69766:160;;;69909:1;69888:19;69881:30;69766:160;-1:-1:-1;;;;;70306:24:0;;;;;;;:18;:24;;;;;;70304:26;;-1:-1:-1;;70304:26:0;;;70375:22;;;;;;;;;70373:24;;-1:-1:-1;70373:24:0;;;63529:11;63504:23;63500:41;63487:63;-1:-1:-1;;;63487:63:0;70668:26;;;;:17;:26;;;;;:175;;;;-1:-1:-1;;;70963:47:0;;:52;;70959:627;;71068:1;71058:11;;71036:19;71191:30;;;:17;:30;;;;;;:35;;71187:384;;71329:13;;71314:11;:28;71310:242;;71476:30;;;;:17;:30;;;;;:52;;;71310:242;71017:569;70959:627;71633:7;71629:2;-1:-1:-1;;;;;71614:27:0;71623:4;-1:-1:-1;;;;;71614:27:0;;;;;;;;;;;71652:42;69008:2694;;;68877:2825;;;:::o;38141:132::-;38049:6;;-1:-1:-1;;;;;38049:6:0;89004:10;38205:23;38197:68;;;;-1:-1:-1;;;38197:68:0;;16500:2:1;38197:68:0;;;16482:21:1;;;16519:18;;;16512:30;16578:34;16558:18;;;16551:62;16630:18;;38197:68:0;16298:356:1;71798:193:0;71944:39;71961:4;71967:2;71971:7;71944:39;;;;;;;;;;;;:16;:39::i;61295:1275::-;61362:7;61397;61499:13;;61492:4;:20;61488:1015;;;61537:14;61554:23;;;:17;:23;;;;;;;-1:-1:-1;;;61643:24:0;;:29;;61639:845;;62308:113;62315:6;62325:1;62315:11;62308:113;;-1:-1:-1;;;62386:6:0;62368:25;;;;:17;:25;;;;;;62308:113;;;62454:6;61295:1275;-1:-1:-1;;;61295:1275:0:o;61639:845::-;61514:989;61488:1015;62531:31;;-1:-1:-1;;;62531:31:0;;;;;;;;;;;39243:191;39336:6;;;-1:-1:-1;;;;;39353:17:0;;;-1:-1:-1;;;;;;39353:17:0;;;;;;;39386:40;;39336:6;;;39353:17;39336:6;;39386:40;;39317:16;;39386:40;39306:128;39243:191;:::o;65796:234::-;89004:10;65891:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;65891:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;65891:60:0;;;;;;;;;;65967:55;;540:41:1;;;65891:49:0;;89004:10;65967:55;;513:18:1;65967:55:0;;;;;;;65796:234;;:::o;72589:407::-;72764:31;72777:4;72783:2;72787:7;72764:12;:31::i;:::-;-1:-1:-1;;;;;72810:14:0;;;:19;72806:183;;72849:56;72880:4;72886:2;72890:7;72899:5;72849:30;:56::i;:::-;72844:145;;72933:40;;-1:-1:-1;;;72933:40:0;;;;;;;;;;;94228:108;94288:13;94321:7;94314:14;;;;;:::i;33954:716::-;34010:13;34061:14;34078:17;34089:5;34078:10;:17::i;:::-;34098:1;34078:21;34061:38;;34114:20;34148:6;34137:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;34137:18:0;-1:-1:-1;34114:41:0;-1:-1:-1;34279:28:0;;;34295:2;34279:28;34336:288;-1:-1:-1;;34368:5:0;-1:-1:-1;;;34505:2:0;34494:14;;34489:30;34368:5;34476:44;34566:2;34557:11;;;-1:-1:-1;34587:21:0;34336:288;34587:21;-1:-1:-1;34645:6:0;33954:716;-1:-1:-1;;;33954:716:0:o;13177:296::-;13260:7;13303:4;13260:7;13318:118;13342:5;:12;13338:1;:16;13318:118;;;13391:33;13401:12;13415:5;13421:1;13415:8;;;;;;;;:::i;:::-;;;;;;;13391:9;:33::i;:::-;13376:48;-1:-1:-1;13356:3:0;;;;:::i;:::-;;;;13318:118;;;-1:-1:-1;13453:12:0;13177:296;-1:-1:-1;;;13177:296:0:o;81976:689::-;82107:19;82113:2;82117:8;82107:5;:19::i;:::-;-1:-1:-1;;;;;82168:14:0;;;:19;82164:483;;82208:11;82222:13;82270:14;;;82303:233;82334:62;82373:1;82377:2;82381:7;;;;;;82390:5;82334:30;:62::i;:::-;82329:167;;82432:40;;-1:-1:-1;;;82432:40:0;;;;;;;;;;;82329:167;82531:3;82523:5;:11;82303:233;;82618:3;82601:13;;:20;82597:34;;82623:8;;;75080:716;75264:88;;-1:-1:-1;;;75264:88:0;;75243:4;;-1:-1:-1;;;;;75264:45:0;;;;;:88;;89004:10;;75331:4;;75337:7;;75346:5;;75264:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;75264:88:0;;;;;;;;-1:-1:-1;;75264:88:0;;;;;;;;;;;;:::i;:::-;;;75260:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;75547:6;:13;75564:1;75547:18;75543:235;;75593:40;;-1:-1:-1;;;75593:40:0;;;;;;;;;;;75543:235;75736:6;75730:13;75721:6;75717:2;75713:15;75706:38;75260:529;-1:-1:-1;;;;;;75423:64:0;-1:-1:-1;;;75423:64:0;;-1:-1:-1;75260:529:0;75080:716;;;;;;:::o;30820:922::-;30873:7;;-1:-1:-1;;;30951:15:0;;30947:102;;-1:-1:-1;;;30987:15:0;;;-1:-1:-1;31031:2:0;31021:12;30947:102;31076:6;31067:5;:15;31063:102;;31112:6;31103:15;;;-1:-1:-1;31147:2:0;31137:12;31063:102;31192:6;31183:5;:15;31179:102;;31228:6;31219:15;;;-1:-1:-1;31263:2:0;31253:12;31179:102;31308:5;31299;:14;31295:99;;31343:5;31334:14;;;-1:-1:-1;31377:1:0;31367:11;31295:99;31421:5;31412;:14;31408:99;;31456:5;31447:14;;;-1:-1:-1;31490:1:0;31480:11;31408:99;31534:5;31525;:14;31521:99;;31569:5;31560:14;;;-1:-1:-1;31603:1:0;31593:11;31521:99;31647:5;31638;:14;31634:66;;31683:1;31673:11;31728:6;30820:922;-1:-1:-1;;30820:922:0:o;20217:149::-;20280:7;20311:1;20307;:5;:51;;20442:13;20536:15;;;20572:4;20565:15;;;20619:4;20603:21;;20307:51;;;-1:-1:-1;20442:13:0;20536:15;;;20572:4;20565:15;20619:4;20603:21;;;20217:149::o;76258:2966::-;76331:20;76354:13;;;76382;;;76378:44;;76404:18;;-1:-1:-1;;;76404:18:0;;;;;;;;;;;76378:44;-1:-1:-1;;;;;76910:22:0;;;;;;:18;:22;;;;49979:2;76910:22;;;:71;;76948:32;76936:45;;76910:71;;;77224:31;;;:17;:31;;;;;-1:-1:-1;63960:15:0;;63934:24;63930:46;63529:11;63504:23;63500:41;63497:52;63487:63;;77224:173;;77459:23;;;;77224:31;;76910:22;;78224:25;76910:22;;78077:335;78738:1;78724:12;78720:20;78678:346;78779:3;78770:7;78767:16;78678:346;;78997:7;78987:8;78984:1;78957:25;78954:1;78951;78946:59;78832:1;78819:15;78678:346;;;78682:77;79057:8;79069:1;79057:13;79053:45;;79079:19;;-1:-1:-1;;;79079:19:0;;;;;;;;;;;79053:45;79115:13;:19;-1:-1:-1;95873:165:0;;;:::o;14:131:1:-;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:615::-;678:6;686;739:2;727:9;718:7;714:23;710:32;707:52;;;755:1;752;745:12;707:52;795:9;782:23;824:18;865:2;857:6;854:14;851:34;;;881:1;878;871:12;851:34;919:6;908:9;904:22;894:32;;964:7;957:4;953:2;949:13;945:27;935:55;;986:1;983;976:12;935:55;1026:2;1013:16;1052:2;1044:6;1041:14;1038:34;;;1068:1;1065;1058:12;1038:34;1121:7;1116:2;1106:6;1103:1;1099:14;1095:2;1091:23;1087:32;1084:45;1081:65;;;1142:1;1139;1132:12;1081:65;1173:2;1165:11;;;;;1195:6;;-1:-1:-1;592:615:1;;-1:-1:-1;;;;592:615:1:o;1212:250::-;1297:1;1307:113;1321:6;1318:1;1315:13;1307:113;;;1397:11;;;1391:18;1378:11;;;1371:39;1343:2;1336:10;1307:113;;;-1:-1:-1;;1454:1:1;1436:16;;1429:27;1212:250::o;1467:271::-;1509:3;1547:5;1541:12;1574:6;1569:3;1562:19;1590:76;1659:6;1652:4;1647:3;1643:14;1636:4;1629:5;1625:16;1590:76;:::i;:::-;1720:2;1699:15;-1:-1:-1;;1695:29:1;1686:39;;;;1727:4;1682:50;;1467:271;-1:-1:-1;;1467:271:1:o;1743:220::-;1892:2;1881:9;1874:21;1855:4;1912:45;1953:2;1942:9;1938:18;1930:6;1912:45;:::i;1968:180::-;2027:6;2080:2;2068:9;2059:7;2055:23;2051:32;2048:52;;;2096:1;2093;2086:12;2048:52;-1:-1:-1;2119:23:1;;1968:180;-1:-1:-1;1968:180:1:o;2361:173::-;2429:20;;-1:-1:-1;;;;;2478:31:1;;2468:42;;2458:70;;2524:1;2521;2514:12;2458:70;2361:173;;;:::o;2539:254::-;2607:6;2615;2668:2;2656:9;2647:7;2643:23;2639:32;2636:52;;;2684:1;2681;2674:12;2636:52;2707:29;2726:9;2707:29;:::i;:::-;2697:39;2783:2;2768:18;;;;2755:32;;-1:-1:-1;;;2539:254:1:o;2980:328::-;3057:6;3065;3073;3126:2;3114:9;3105:7;3101:23;3097:32;3094:52;;;3142:1;3139;3132:12;3094:52;3165:29;3184:9;3165:29;:::i;:::-;3155:39;;3213:38;3247:2;3236:9;3232:18;3213:38;:::i;:::-;3203:48;;3298:2;3287:9;3283:18;3270:32;3260:42;;2980:328;;;;;:::o;3734:186::-;3793:6;3846:2;3834:9;3825:7;3821:23;3817:32;3814:52;;;3862:1;3859;3852:12;3814:52;3885:29;3904:9;3885:29;:::i;3925:127::-;3986:10;3981:3;3977:20;3974:1;3967:31;4017:4;4014:1;4007:15;4041:4;4038:1;4031:15;4057:632;4122:5;4152:18;4193:2;4185:6;4182:14;4179:40;;;4199:18;;:::i;:::-;4274:2;4268:9;4242:2;4328:15;;-1:-1:-1;;4324:24:1;;;4350:2;4320:33;4316:42;4304:55;;;4374:18;;;4394:22;;;4371:46;4368:72;;;4420:18;;:::i;:::-;4460:10;4456:2;4449:22;4489:6;4480:15;;4519:6;4511;4504:22;4559:3;4550:6;4545:3;4541:16;4538:25;4535:45;;;4576:1;4573;4566:12;4535:45;4626:6;4621:3;4614:4;4606:6;4602:17;4589:44;4681:1;4674:4;4665:6;4657;4653:19;4649:30;4642:41;;;;4057:632;;;;;:::o;4694:451::-;4763:6;4816:2;4804:9;4795:7;4791:23;4787:32;4784:52;;;4832:1;4829;4822:12;4784:52;4872:9;4859:23;4905:18;4897:6;4894:30;4891:50;;;4937:1;4934;4927:12;4891:50;4960:22;;5013:4;5005:13;;5001:27;-1:-1:-1;4991:55:1;;5042:1;5039;5032:12;4991:55;5065:74;5131:7;5126:2;5113:16;5108:2;5104;5100:11;5065:74;:::i;5150:118::-;5236:5;5229:13;5222:21;5215:5;5212:32;5202:60;;5258:1;5255;5248:12;5273:315;5338:6;5346;5399:2;5387:9;5378:7;5374:23;5370:32;5367:52;;;5415:1;5412;5405:12;5367:52;5438:29;5457:9;5438:29;:::i;:::-;5428:39;;5517:2;5506:9;5502:18;5489:32;5530:28;5552:5;5530:28;:::i;:::-;5577:5;5567:15;;;5273:315;;;;;:::o;5593:667::-;5688:6;5696;5704;5712;5765:3;5753:9;5744:7;5740:23;5736:33;5733:53;;;5782:1;5779;5772:12;5733:53;5805:29;5824:9;5805:29;:::i;:::-;5795:39;;5853:38;5887:2;5876:9;5872:18;5853:38;:::i;:::-;5843:48;;5938:2;5927:9;5923:18;5910:32;5900:42;;5993:2;5982:9;5978:18;5965:32;6020:18;6012:6;6009:30;6006:50;;;6052:1;6049;6042:12;6006:50;6075:22;;6128:4;6120:13;;6116:27;-1:-1:-1;6106:55:1;;6157:1;6154;6147:12;6106:55;6180:74;6246:7;6241:2;6228:16;6223:2;6219;6215:11;6180:74;:::i;:::-;6170:84;;;5593:667;;;;;;;:::o;6450:260::-;6518:6;6526;6579:2;6567:9;6558:7;6554:23;6550:32;6547:52;;;6595:1;6592;6585:12;6547:52;6618:29;6637:9;6618:29;:::i;:::-;6608:39;;6666:38;6700:2;6689:9;6685:18;6666:38;:::i;:::-;6656:48;;6450:260;;;;;:::o;7120:127::-;7181:10;7176:3;7172:20;7169:1;7162:31;7212:4;7209:1;7202:15;7236:4;7233:1;7226:15;7252:125;7317:9;;;7338:10;;;7335:36;;;7351:18;;:::i;9384:380::-;9463:1;9459:12;;;;9506;;;9527:61;;9581:4;9573:6;9569:17;9559:27;;9527:61;9634:2;9626:6;9623:14;9603:18;9600:38;9597:161;;9680:10;9675:3;9671:20;9668:1;9661:31;9715:4;9712:1;9705:15;9743:4;9740:1;9733:15;9597:161;;9384:380;;;:::o;9895:545::-;9997:2;9992:3;9989:11;9986:448;;;10033:1;10058:5;10054:2;10047:17;10103:4;10099:2;10089:19;10173:2;10161:10;10157:19;10154:1;10150:27;10144:4;10140:38;10209:4;10197:10;10194:20;10191:47;;;-1:-1:-1;10232:4:1;10191:47;10287:2;10282:3;10278:12;10275:1;10271:20;10265:4;10261:31;10251:41;;10342:82;10360:2;10353:5;10350:13;10342:82;;;10405:17;;;10386:1;10375:13;10342:82;;10616:1352;10742:3;10736:10;10769:18;10761:6;10758:30;10755:56;;;10791:18;;:::i;:::-;10820:97;10910:6;10870:38;10902:4;10896:11;10870:38;:::i;:::-;10864:4;10820:97;:::i;:::-;10972:4;;11036:2;11025:14;;11053:1;11048:663;;;;11755:1;11772:6;11769:89;;;-1:-1:-1;11824:19:1;;;11818:26;11769:89;-1:-1:-1;;10573:1:1;10569:11;;;10565:24;10561:29;10551:40;10597:1;10593:11;;;10548:57;11871:81;;11018:944;;11048:663;9842:1;9835:14;;;9879:4;9866:18;;-1:-1:-1;;11084:20:1;;;11202:236;11216:7;11213:1;11210:14;11202:236;;;11305:19;;;11299:26;11284:42;;11397:27;;;;11365:1;11353:14;;;;11232:19;;11202:236;;;11206:3;11466:6;11457:7;11454:19;11451:201;;;11527:19;;;11521:26;-1:-1:-1;;11610:1:1;11606:14;;;11622:3;11602:24;11598:37;11594:42;11579:58;11564:74;;11451:201;-1:-1:-1;;;;;11698:1:1;11682:14;;;11678:22;11665:36;;-1:-1:-1;10616:1352:1:o;12333:496::-;12512:3;12550:6;12544:13;12566:66;12625:6;12620:3;12613:4;12605:6;12601:17;12566:66;:::i;:::-;12695:13;;12654:16;;;;12717:70;12695:13;12654:16;12764:4;12752:17;;12717:70;:::i;:::-;12803:20;;12333:496;-1:-1:-1;;;;12333:496:1:o;12834:1256::-;13058:3;13096:6;13090:13;13122:4;13135:64;13192:6;13187:3;13182:2;13174:6;13170:15;13135:64;:::i;:::-;13262:13;;13221:16;;;;13284:68;13262:13;13221:16;13319:15;;;13284:68;:::i;:::-;13441:13;;13374:20;;;13414:1;;13479:36;13441:13;13479:36;:::i;:::-;13534:1;13551:18;;;13578:141;;;;13733:1;13728:337;;;;13544:521;;13578:141;-1:-1:-1;;13613:24:1;;13599:39;;13690:16;;13683:24;13669:39;;13658:51;;;-1:-1:-1;13578:141:1;;13728:337;13759:6;13756:1;13749:17;13807:2;13804:1;13794:16;13832:1;13846:169;13860:8;13857:1;13854:15;13846:169;;;13942:14;;13927:13;;;13920:37;13985:16;;;;13877:10;;13846:169;;;13850:3;;14046:8;14039:5;14035:20;14028:27;;13544:521;-1:-1:-1;14081:3:1;;12834:1256;-1:-1:-1;;;;;;;;;;12834:1256:1:o;14814:168::-;14887:9;;;14918;;14935:15;;;14929:22;;14915:37;14905:71;;14956:18;;:::i;16048:245::-;16115:6;16168:2;16156:9;16147:7;16143:23;16139:32;16136:52;;;16184:1;16181;16174:12;16136:52;16216:9;16210:16;16235:28;16257:5;16235:28;:::i;16791:127::-;16852:10;16847:3;16843:20;16840:1;16833:31;16883:4;16880:1;16873:15;16907:4;16904:1;16897:15;16923:135;16962:3;16983:17;;;16980:43;;17003:18;;:::i;:::-;-1:-1:-1;17050:1:1;17039:13;;16923:135::o;17063:489::-;-1:-1:-1;;;;;17332:15:1;;;17314:34;;17384:15;;17379:2;17364:18;;17357:43;17431:2;17416:18;;17409:34;;;17479:3;17474:2;17459:18;;17452:31;;;17257:4;;17500:46;;17526:19;;17518:6;17500:46;:::i;:::-;17492:54;17063:489;-1:-1:-1;;;;;;17063:489:1:o;17557:249::-;17626:6;17679:2;17667:9;17658:7;17654:23;17650:32;17647:52;;;17695:1;17692;17685:12;17647:52;17727:9;17721:16;17746:30;17770:5;17746:30;:::i
Swarm Source
ipfs://4bd552053c5b03551e8be62bef0056fb690b9ea7eb65a39169d238b66b05c59a
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.