Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
55 WZRD
Holders
52
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 WZRDLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Source Code Verified (Exact Match)
Contract Name:
License
Compiler Version
v0.8.23+commit.f704f362
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2024-01-09 */ // SPDX-License-Identifier: MIT // File: SmartContract XC License/MerkleProof.sol // OpenZeppelin Contracts (last updated v5.0.0) (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.19; /** * @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 The multiproof provided is not valid. */ error MerkleProofInvalidMultiproof(); /** * @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} */ 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. */ 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} */ 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. */ 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. */ 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). */ function processMultiProof( bytes32[] memory proof, bool[] memory proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuilds 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 proofLen = proof.length; uint256 totalHashes = proofFlags.length; // Check proof validity. if (leavesLen + proofLen != totalHashes + 1) { revert MerkleProofInvalidMultiproof(); } // 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 from 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) { if (proofPos != proofLen) { revert MerkleProofInvalidMultiproof(); } unchecked { 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. */ function processMultiProofCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuilds 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 proofLen = proof.length; uint256 totalHashes = proofFlags.length; // Check proof validity. if (leavesLen + proofLen != totalHashes + 1) { revert MerkleProofInvalidMultiproof(); } // 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 from 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) { if (proofPos != proofLen) { revert MerkleProofInvalidMultiproof(); } unchecked { return hashes[totalHashes - 1]; } } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } /** * @dev Sorts the pair (a, b) and hashes the result. */ function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) { return a < b ? _efficientHash(a, b) : _efficientHash(b, a); } /** * @dev Implementation of keccak256(abi.encode(a, b)) that doesn't allocate or expand memory. */ 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: SmartContract XC License/Strings.sol // OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_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) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @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] = _HEX_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: SmartContract XC License/ECDSA.sol // OpenZeppelin Contracts (last updated v4.7.0) (utils/cryptography/ECDSA.sol) pragma solidity ^0.8.0; library ECDSA { enum RecoverError { NoError, InvalidSignature, InvalidSignatureLength, InvalidSignatureS, InvalidSignatureV // Deprecated in v4.8 } function _throwError(RecoverError error) private pure { if (error == RecoverError.NoError) { return; // no error: do nothing } else if (error == RecoverError.InvalidSignature) { revert("ECDSA: invalid signature"); } else if (error == RecoverError.InvalidSignatureLength) { revert("ECDSA: invalid signature length"); } else if (error == RecoverError.InvalidSignatureS) { revert("ECDSA: invalid signature 's' value"); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature` or error string. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. * * Documentation for signature generation: * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js] * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers] * * _Available since v4.3._ */ function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) { if (signature.length == 65) { bytes32 r; bytes32 s; uint8 v; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. /// @solidity memory-safe-assembly assembly { r := mload(add(signature, 0x20)) s := mload(add(signature, 0x40)) v := byte(0, mload(add(signature, 0x60))) } return tryRecover(hash, v, r, s); } else { return (address(0), RecoverError.InvalidSignatureLength); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature`. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. */ function recover(bytes32 hash, bytes memory signature) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, signature); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately. * * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures] * * _Available since v4.3._ */ function tryRecover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address, RecoverError) { bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff); uint8 v = uint8((uint256(vs) >> 255) + 27); return tryRecover(hash, v, r, s); } /** * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately. * * _Available since v4.2._ */ function recover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, r, vs); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `v`, * `r` and `s` signature fields separately. * * _Available since v4.3._ */ function tryRecover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address, RecoverError) { // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most // signatures from current libraries generate a unique signature with an s-value in the lower half order. // // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept // these malleable signatures as well. if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) { return (address(0), RecoverError.InvalidSignatureS); } // If the signature is valid (and not malleable), return the signer address address signer = ecrecover(hash, v, r, s); if (signer == address(0)) { return (address(0), RecoverError.InvalidSignature); } return (signer, RecoverError.NoError); } /** * @dev Overload of {ECDSA-recover} that receives the `v`, * `r` and `s` signature fields separately. */ function recover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, v, r, s); _throwError(error); return recovered; } /** * @dev Returns an Ethereum Signed Message, created from a `hash`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) { // 32 is the length in bytes of hash, // enforced by the type signature above return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash)); } /** * @dev Returns an Ethereum Signed Message, created from `s`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s)); } /** * @dev Returns an Ethereum Signed Typed Data, created from a * `domainSeparator` and a `structHash`. This produces hash corresponding * to the one signed with the * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`] * JSON-RPC method as part of EIP-712. * * See {recover}. */ function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash)); } } // File: SmartContract XC License/Context.sol pragma solidity ^0.8.0; 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: SmartContract XC License/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: SmartContract XC License/IERC721A.sol // ERC721A Contracts v4.2.2 // 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; /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @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; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the * zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) external view returns (bool); // ============================================================= // 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: SmartContract XC License/ERC721A.sol // ERC721A Contracts v4.2.2 // 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 { // Reference type for token approval. 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 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 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 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 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`. ) 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 0x80 bytes to keep the free memory pointer 32-byte word aligned. // We will need 1 32-byte word to store the length, // and 3 32-byte words to store a maximum of 78 digits. Total: 0x20 + 3 * 0x20 = 0x80. str := add(mload(0x40), 0x80) // Update the free memory pointer to allocate. mstore(0x40, str) // 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: SmartContract XC License/License.sol pragma solidity ^0.8.4; error SoldOut(); error MaxMintTokensExceeded(); error CantWithdrawFunds(); // @author bios (bdev3105) contract License is ERC721A, Ownable { using ECDSA for bytes32; string public baseURI; uint256 public maxSupply; uint256 public maxMintable = 1; uint256 price = 0.3 ether; bytes32 merkleRoot; string public baseExtension = ".json"; modifier onlyWhitelisted(bytes32[] memory proof) { require( verifyProof(proof, keccak256(abi.encodePacked(msg.sender))), "Invalid proof" ); _; } constructor( uint256 newMaxSupply, string memory newBaseURI, bytes32 _merkleRoot ) ERC721A("XC Market Wizard", "WZRD") { maxSupply = newMaxSupply; baseURI = newBaseURI; merkleRoot = _merkleRoot; } function mint( bytes32[] memory proof ) external payable onlyWhitelisted(proof) { if (totalSupply() + 1 > maxSupply) revert SoldOut(); if (_numberMinted(msg.sender) == maxMintable) revert MaxMintTokensExceeded(); require(msg.value >= price, "Amount sent not correct."); _mint(msg.sender, 1); } function verifyProof( bytes32[] memory proof, bytes32 leaf ) public view returns (bool) { return MerkleProof.verify(proof, merkleRoot, leaf); } function numberMinted(address minter) external view returns (uint256) { return _numberMinted(minter); } function updateMerkleRoot(bytes32 newMerkleRoot) external onlyOwner { merkleRoot = newMerkleRoot; } function updateBaseURI(string memory newBaseURI) external onlyOwner { baseURI = newBaseURI; } function _baseURI() internal view virtual override returns (string memory) { return baseURI; } function airdop(address receiver) external onlyOwner { if (totalSupply() + 1 > maxSupply) revert SoldOut(); _mint(receiver, 1); } function setBaseURI(string memory newBaseURI) external onlyOwner { baseURI = newBaseURI; } function withdrawAll() external onlyOwner { (bool success, ) = msg.sender.call{value: address(this).balance}(""); if (!success) revert CantWithdrawFunds(); } function tokenURI( uint256 _tokenId ) public view override returns (string memory) { require(_exists(_tokenId), "Token does not exist."); return string( abi.encodePacked( baseURI, Strings.toString(_tokenId), baseExtension ) ); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"uint256","name":"newMaxSupply","type":"uint256"},{"internalType":"string","name":"newBaseURI","type":"string"},{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"CantWithdrawFunds","type":"error"},{"inputs":[],"name":"MaxMintTokensExceeded","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"SoldOut","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":[{"internalType":"address","name":"receiver","type":"address"}],"name":"airdop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseExtension","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"minter","type":"address"}],"name":"numberMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newBaseURI","type":"string"}],"name":"setBaseURI","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":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newBaseURI","type":"string"}],"name":"updateBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"newMerkleRoot","type":"bytes32"}],"name":"updateMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"},{"internalType":"bytes32","name":"leaf","type":"bytes32"}],"name":"verifyProof","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6001600b55670429d069189e0000600c5560c06040526005608090815264173539b7b760d91b60a052600e90620000379082620001ed565b5034801562000044575f80fd5b5060405162001ce738038062001ce78339810160408190526200006791620002b9565b6040518060400160405280601081526020016f1610c813585c9ad95d0815da5e985c9960821b8152506040518060400160405280600481526020016315d6949160e21b8152508160029081620000be9190620001ed565b506003620000cd8282620001ed565b50505f805550620000de33620000fe565b600a8390556009620000f18382620001ed565b50600d55506200039a9050565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b634e487b7160e01b5f52604160045260245ffd5b600181811c908216806200017857607f821691505b6020821081036200019757634e487b7160e01b5f52602260045260245ffd5b50919050565b601f821115620001e857805f5260205f20601f840160051c81016020851015620001c45750805b601f840160051c820191505b81811015620001e5575f8155600101620001d0565b50505b505050565b81516001600160401b038111156200020957620002096200014f565b62000221816200021a845462000163565b846200019d565b602080601f83116001811462000257575f84156200023f5750858301515b5f19600386901b1c1916600185901b178555620002b1565b5f85815260208120601f198616915b82811015620002875788860151825594840194600190910190840162000266565b5085821015620002a557878501515f19600388901b60f8161c191681555b505060018460011b0185555b505050505050565b5f805f60608486031215620002cc575f80fd5b8351602080860151919450906001600160401b0380821115620002ed575f80fd5b818701915087601f83011262000301575f80fd5b8151818111156200031657620003166200014f565b604051601f8201601f19908116603f011681019083821181831017156200034157620003416200014f565b816040528281528a8684870101111562000359575f80fd5b5f93505b828410156200037c57848401860151818501870152928501926200035d565b5f868483010152809750505050505050604084015190509250925092565b61193f80620003a85f395ff3fe6080604052600436106101ba575f3560e01c8063715018a6116100f2578063b80ac7df11610092578063d5abeb0111610062578063d5abeb011461048a578063dc33e6811461049f578063e985e9c5146104be578063f2fde38b14610505575f80fd5b8063b80ac7df14610419578063b88d4fde14610438578063c668286214610457578063c87b56dd1461046b575f80fd5b8063931688cb116100cd578063931688cb1461031d57806395d89b41146103d3578063a22cb465146103e7578063b77a147b14610406575f80fd5b8063715018a61461038e578063853828b6146103a25780638da5cb5b146103b6575f80fd5b806330cab4341161015d57806355f804b31161013857806355f804b31461031d5780636352211e1461033c5780636c0360eb1461035b57806370a082311461036f575f80fd5b806330cab434146102c057806342842e0e146102df5780634783f0ef146102fe575f80fd5b8063095ea7b311610198578063095ea7b31461024a57806318160ddd1461026b5780632154dc391461028c57806323b872dd146102a1575f80fd5b806301ffc9a7146101be57806306fdde03146101f2578063081812fc14610213575b5f80fd5b3480156101c9575f80fd5b506101dd6101d8366004611266565b610524565b60405190151581526020015b60405180910390f35b3480156101fd575f80fd5b50610206610575565b6040516101e991906112ce565b34801561021e575f80fd5b5061023261022d3660046112e0565b610605565b6040516001600160a01b0390911681526020016101e9565b348015610255575f80fd5b50610269610264366004611312565b610647565b005b348015610276575f80fd5b506001545f54035b6040519081526020016101e9565b348015610297575f80fd5b5061027e600b5481565b3480156102ac575f80fd5b506102696102bb36600461133a565b6106e5565b3480156102cb575f80fd5b506102696102da366004611373565b610875565b3480156102ea575f80fd5b506102696102f936600461133a565b6108be565b348015610309575f80fd5b506102696103183660046112e0565b6108dd565b348015610328575f80fd5b50610269610337366004611426565b6108ea565b348015610347575f80fd5b506102326103563660046112e0565b610902565b348015610366575f80fd5b5061020661090c565b34801561037a575f80fd5b5061027e610389366004611373565b610998565b348015610399575f80fd5b506102696109e5565b3480156103ad575f80fd5b506102696109f8565b3480156103c1575f80fd5b506008546001600160a01b0316610232565b3480156103de575f80fd5b50610206610a66565b3480156103f2575f80fd5b5061026961040136600461146b565b610a75565b610269610414366004611521565b610ae0565b348015610424575f80fd5b506101dd610433366004611553565b610c30565b348015610443575f80fd5b50610269610452366004611595565b610c45565b348015610462575f80fd5b50610206610c8f565b348015610476575f80fd5b506102066104853660046112e0565b610c9c565b348015610495575f80fd5b5061027e600a5481565b3480156104aa575f80fd5b5061027e6104b9366004611373565b610d20565b3480156104c9575f80fd5b506101dd6104d836600461160c565b6001600160a01b039182165f90815260076020908152604080832093909416825291909152205460ff1690565b348015610510575f80fd5b5061026961051f366004611373565b610d4a565b5f6301ffc9a760e01b6001600160e01b03198316148061055457506380ac58cd60e01b6001600160e01b03198316145b8061056f5750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600280546105849061163d565b80601f01602080910402602001604051908101604052809291908181526020018280546105b09061163d565b80156105fb5780601f106105d2576101008083540402835291602001916105fb565b820191905f5260205f20905b8154815290600101906020018083116105de57829003601f168201915b5050505050905090565b5f61060f82610dc0565b61062c576040516333d1c03960e21b815260040160405180910390fd5b505f908152600660205260409020546001600160a01b031690565b5f61065182610902565b9050336001600160a01b0382161461068a5761066d81336104d8565b61068a576040516367d9dca160e11b815260040160405180910390fd5b5f8281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b5f6106ef82610de5565b9050836001600160a01b0316816001600160a01b0316146107225760405162a1148160e81b815260040160405180910390fd5b5f8281526006602052604090208054338082146001600160a01b0388169091141761076e5761075186336104d8565b61076e57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661079557604051633a954ecd60e21b815260040160405180910390fd5b801561079f575f82555b6001600160a01b038681165f9081526005602052604080822080545f19019055918716808252919020805460010190554260a01b17600160e11b175f85815260046020526040812091909155600160e11b8416900361082b57600184015f818152600460205260408120549003610829575f548114610829575f8181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b61087d610e46565b600a546001545f5403610891906001611689565b11156108b0576040516352df9fe560e01b815260040160405180910390fd5b6108bb816001610ea0565b50565b6108d883838360405180602001604052805f815250610c45565b505050565b6108e5610e46565b600d55565b6108f2610e46565b60096108fe82826116e7565b5050565b5f61056f82610de5565b600980546109199061163d565b80601f01602080910402602001604051908101604052809291908181526020018280546109459061163d565b80156109905780601f1061096757610100808354040283529160200191610990565b820191905f5260205f20905b81548152906001019060200180831161097357829003601f168201915b505050505081565b5f6001600160a01b0382166109c0576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03165f9081526005602052604090205467ffffffffffffffff1690565b6109ed610e46565b6109f65f610f98565b565b610a00610e46565b6040515f90339047908381818185875af1925050503d805f8114610a3f576040519150601f19603f3d011682016040523d82523d5f602084013e610a44565b606091505b50509050806108bb576040516364d7475560e11b815260040160405180910390fd5b6060600380546105849061163d565b335f8181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6040516bffffffffffffffffffffffff193360601b1660208201528190610b2190829060340160405160208183030381529060405280519060200120610c30565b610b625760405162461bcd60e51b815260206004820152600d60248201526c24b73b30b634b210383937b7b360991b60448201526064015b60405180910390fd5b600a546001545f5403610b76906001611689565b1115610b95576040516352df9fe560e01b815260040160405180910390fd5b600b54335f90815260056020526040908190205467ffffffffffffffff911c1603610bd357604051630d58a41160e41b815260040160405180910390fd5b600c54341015610c255760405162461bcd60e51b815260206004820152601860248201527f416d6f756e742073656e74206e6f7420636f72726563742e00000000000000006044820152606401610b59565b6108fe336001610ea0565b5f610c3e83600d5484610fe9565b9392505050565b610c508484846106e5565b6001600160a01b0383163b15610c8957610c6c84848484610ffe565b610c89576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b600e80546109199061163d565b6060610ca782610dc0565b610ceb5760405162461bcd60e51b81526020600482015260156024820152742a37b5b2b7103237b2b9903737ba1032bc34b9ba1760591b6044820152606401610b59565b6009610cf6836110e6565b600e604051602001610d0a93929190611812565b6040516020818303038152906040529050919050565b6001600160a01b0381165f908152600560205260408082205467ffffffffffffffff911c1661056f565b610d52610e46565b6001600160a01b038116610db75760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610b59565b6108bb81610f98565b5f80548210801561056f5750505f90815260046020526040902054600160e01b161590565b5f815f54811015610e2d575f8181526004602052604081205490600160e01b82169003610e2b575b805f03610c3e57505f19015f81815260046020526040902054610e0d565b505b604051636f96cda160e11b815260040160405180910390fd5b6008546001600160a01b031633146109f65760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b59565b5f805490829003610ec45760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b0383165f8181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b818114610f705780835f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a4600101610f3a565b50815f03610f9057604051622e076360e81b815260040160405180910390fd5b5f5550505050565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b5f82610ff585846111e3565b14949350505050565b604051630a85bd0160e11b81525f906001600160a01b0385169063150b7a0290611032903390899088908890600401611839565b6020604051808303815f875af192505050801561106c575060408051601f3d908101601f1916820190925261106991810190611875565b60015b6110c8573d808015611099576040519150601f19603f3d011682016040523d82523d5f602084013e61109e565b606091505b5080515f036110c0576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060815f0361110c5750506040805180820190915260018152600360fc1b602082015290565b815f5b8115611135578061111f81611890565b915061112e9050600a836118bc565b915061110f565b5f8167ffffffffffffffff81111561114f5761114f61138c565b6040519080825280601f01601f191660200182016040528015611179576020820181803683370190505b5090505b84156110de5761118e6001836118cf565b915061119b600a866118e2565b6111a6906030611689565b60f81b8183815181106111bb576111bb6118f5565b60200101906001600160f81b03191690815f1a9053506111dc600a866118bc565b945061117d565b5f81815b845181101561121d5761121382868381518110611206576112066118f5565b6020026020010151611225565b91506001016111e7565b509392505050565b5f81831061123f575f828152602084905260409020610c3e565b5f838152602083905260409020610c3e565b6001600160e01b0319811681146108bb575f80fd5b5f60208284031215611276575f80fd5b8135610c3e81611251565b5f5b8381101561129b578181015183820152602001611283565b50505f910152565b5f81518084526112ba816020860160208601611281565b601f01601f19169290920160200192915050565b602081525f610c3e60208301846112a3565b5f602082840312156112f0575f80fd5b5035919050565b80356001600160a01b038116811461130d575f80fd5b919050565b5f8060408385031215611323575f80fd5b61132c836112f7565b946020939093013593505050565b5f805f6060848603121561134c575f80fd5b611355846112f7565b9250611363602085016112f7565b9150604084013590509250925092565b5f60208284031215611383575f80fd5b610c3e826112f7565b634e487b7160e01b5f52604160045260245ffd5b604051601f8201601f1916810167ffffffffffffffff811182821017156113c9576113c961138c565b604052919050565b5f67ffffffffffffffff8311156113ea576113ea61138c565b6113fd601f8401601f19166020016113a0565b9050828152838383011115611410575f80fd5b828260208301375f602084830101529392505050565b5f60208284031215611436575f80fd5b813567ffffffffffffffff81111561144c575f80fd5b8201601f8101841361145c575f80fd5b6110de848235602084016113d1565b5f806040838503121561147c575f80fd5b611485836112f7565b915060208301358015158114611499575f80fd5b809150509250929050565b5f82601f8301126114b3575f80fd5b8135602067ffffffffffffffff8211156114cf576114cf61138c565b8160051b6114de8282016113a0565b92835284810182019282810190878511156114f7575f80fd5b83870192505b84831015611516578235825291830191908301906114fd565b979650505050505050565b5f60208284031215611531575f80fd5b813567ffffffffffffffff811115611547575f80fd5b6110de848285016114a4565b5f8060408385031215611564575f80fd5b823567ffffffffffffffff81111561157a575f80fd5b611586858286016114a4565b95602094909401359450505050565b5f805f80608085870312156115a8575f80fd5b6115b1856112f7565b93506115bf602086016112f7565b925060408501359150606085013567ffffffffffffffff8111156115e1575f80fd5b8501601f810187136115f1575f80fd5b611600878235602084016113d1565b91505092959194509250565b5f806040838503121561161d575f80fd5b611626836112f7565b9150611634602084016112f7565b90509250929050565b600181811c9082168061165157607f821691505b60208210810361166f57634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52601160045260245ffd5b8082018082111561056f5761056f611675565b601f8211156108d857805f5260205f20601f840160051c810160208510156116c15750805b601f840160051c820191505b818110156116e0575f81556001016116cd565b5050505050565b815167ffffffffffffffff8111156117015761170161138c565b6117158161170f845461163d565b8461169c565b602080601f831160018114611748575f84156117315750858301515b5f19600386901b1c1916600185901b17855561086d565b5f85815260208120601f198616915b8281101561177657888601518255948401946001909101908401611757565b508582101561179357878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b5f81546117af8161163d565b600182811680156117c757600181146117dc57611808565b60ff1984168752821515830287019450611808565b855f526020805f205f5b858110156117ff5781548a8201529084019082016117e6565b50505082870194505b5050505092915050565b5f61181d82866117a3565b845161182d818360208901611281565b611516818301866117a3565b6001600160a01b03858116825284166020820152604081018390526080606082018190525f9061186b908301846112a3565b9695505050505050565b5f60208284031215611885575f80fd5b8151610c3e81611251565b5f600182016118a1576118a1611675565b5060010190565b634e487b7160e01b5f52601260045260245ffd5b5f826118ca576118ca6118a8565b500490565b8181038181111561056f5761056f611675565b5f826118f0576118f06118a8565b500690565b634e487b7160e01b5f52603260045260245ffdfea264697066735822122013b26812b381237eb31fcb79d1ac3fba0b508274493cef306038641aa659b4d064736f6c634300081700330000000000000000000000000000000000000000000000000000000000000037000000000000000000000000000000000000000000000000000000000000006038196d48f300b30b08777fe56934fe875ecc95e54ba130df83ab49b27cd15528000000000000000000000000000000000000000000000000000000000000002568747470733a2f2f6d696e742e786f6c6172636f6c6c6563746976652e636f6d2f6e66742f000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106101ba575f3560e01c8063715018a6116100f2578063b80ac7df11610092578063d5abeb0111610062578063d5abeb011461048a578063dc33e6811461049f578063e985e9c5146104be578063f2fde38b14610505575f80fd5b8063b80ac7df14610419578063b88d4fde14610438578063c668286214610457578063c87b56dd1461046b575f80fd5b8063931688cb116100cd578063931688cb1461031d57806395d89b41146103d3578063a22cb465146103e7578063b77a147b14610406575f80fd5b8063715018a61461038e578063853828b6146103a25780638da5cb5b146103b6575f80fd5b806330cab4341161015d57806355f804b31161013857806355f804b31461031d5780636352211e1461033c5780636c0360eb1461035b57806370a082311461036f575f80fd5b806330cab434146102c057806342842e0e146102df5780634783f0ef146102fe575f80fd5b8063095ea7b311610198578063095ea7b31461024a57806318160ddd1461026b5780632154dc391461028c57806323b872dd146102a1575f80fd5b806301ffc9a7146101be57806306fdde03146101f2578063081812fc14610213575b5f80fd5b3480156101c9575f80fd5b506101dd6101d8366004611266565b610524565b60405190151581526020015b60405180910390f35b3480156101fd575f80fd5b50610206610575565b6040516101e991906112ce565b34801561021e575f80fd5b5061023261022d3660046112e0565b610605565b6040516001600160a01b0390911681526020016101e9565b348015610255575f80fd5b50610269610264366004611312565b610647565b005b348015610276575f80fd5b506001545f54035b6040519081526020016101e9565b348015610297575f80fd5b5061027e600b5481565b3480156102ac575f80fd5b506102696102bb36600461133a565b6106e5565b3480156102cb575f80fd5b506102696102da366004611373565b610875565b3480156102ea575f80fd5b506102696102f936600461133a565b6108be565b348015610309575f80fd5b506102696103183660046112e0565b6108dd565b348015610328575f80fd5b50610269610337366004611426565b6108ea565b348015610347575f80fd5b506102326103563660046112e0565b610902565b348015610366575f80fd5b5061020661090c565b34801561037a575f80fd5b5061027e610389366004611373565b610998565b348015610399575f80fd5b506102696109e5565b3480156103ad575f80fd5b506102696109f8565b3480156103c1575f80fd5b506008546001600160a01b0316610232565b3480156103de575f80fd5b50610206610a66565b3480156103f2575f80fd5b5061026961040136600461146b565b610a75565b610269610414366004611521565b610ae0565b348015610424575f80fd5b506101dd610433366004611553565b610c30565b348015610443575f80fd5b50610269610452366004611595565b610c45565b348015610462575f80fd5b50610206610c8f565b348015610476575f80fd5b506102066104853660046112e0565b610c9c565b348015610495575f80fd5b5061027e600a5481565b3480156104aa575f80fd5b5061027e6104b9366004611373565b610d20565b3480156104c9575f80fd5b506101dd6104d836600461160c565b6001600160a01b039182165f90815260076020908152604080832093909416825291909152205460ff1690565b348015610510575f80fd5b5061026961051f366004611373565b610d4a565b5f6301ffc9a760e01b6001600160e01b03198316148061055457506380ac58cd60e01b6001600160e01b03198316145b8061056f5750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600280546105849061163d565b80601f01602080910402602001604051908101604052809291908181526020018280546105b09061163d565b80156105fb5780601f106105d2576101008083540402835291602001916105fb565b820191905f5260205f20905b8154815290600101906020018083116105de57829003601f168201915b5050505050905090565b5f61060f82610dc0565b61062c576040516333d1c03960e21b815260040160405180910390fd5b505f908152600660205260409020546001600160a01b031690565b5f61065182610902565b9050336001600160a01b0382161461068a5761066d81336104d8565b61068a576040516367d9dca160e11b815260040160405180910390fd5b5f8281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b5f6106ef82610de5565b9050836001600160a01b0316816001600160a01b0316146107225760405162a1148160e81b815260040160405180910390fd5b5f8281526006602052604090208054338082146001600160a01b0388169091141761076e5761075186336104d8565b61076e57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661079557604051633a954ecd60e21b815260040160405180910390fd5b801561079f575f82555b6001600160a01b038681165f9081526005602052604080822080545f19019055918716808252919020805460010190554260a01b17600160e11b175f85815260046020526040812091909155600160e11b8416900361082b57600184015f818152600460205260408120549003610829575f548114610829575f8181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b61087d610e46565b600a546001545f5403610891906001611689565b11156108b0576040516352df9fe560e01b815260040160405180910390fd5b6108bb816001610ea0565b50565b6108d883838360405180602001604052805f815250610c45565b505050565b6108e5610e46565b600d55565b6108f2610e46565b60096108fe82826116e7565b5050565b5f61056f82610de5565b600980546109199061163d565b80601f01602080910402602001604051908101604052809291908181526020018280546109459061163d565b80156109905780601f1061096757610100808354040283529160200191610990565b820191905f5260205f20905b81548152906001019060200180831161097357829003601f168201915b505050505081565b5f6001600160a01b0382166109c0576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03165f9081526005602052604090205467ffffffffffffffff1690565b6109ed610e46565b6109f65f610f98565b565b610a00610e46565b6040515f90339047908381818185875af1925050503d805f8114610a3f576040519150601f19603f3d011682016040523d82523d5f602084013e610a44565b606091505b50509050806108bb576040516364d7475560e11b815260040160405180910390fd5b6060600380546105849061163d565b335f8181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6040516bffffffffffffffffffffffff193360601b1660208201528190610b2190829060340160405160208183030381529060405280519060200120610c30565b610b625760405162461bcd60e51b815260206004820152600d60248201526c24b73b30b634b210383937b7b360991b60448201526064015b60405180910390fd5b600a546001545f5403610b76906001611689565b1115610b95576040516352df9fe560e01b815260040160405180910390fd5b600b54335f90815260056020526040908190205467ffffffffffffffff911c1603610bd357604051630d58a41160e41b815260040160405180910390fd5b600c54341015610c255760405162461bcd60e51b815260206004820152601860248201527f416d6f756e742073656e74206e6f7420636f72726563742e00000000000000006044820152606401610b59565b6108fe336001610ea0565b5f610c3e83600d5484610fe9565b9392505050565b610c508484846106e5565b6001600160a01b0383163b15610c8957610c6c84848484610ffe565b610c89576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b600e80546109199061163d565b6060610ca782610dc0565b610ceb5760405162461bcd60e51b81526020600482015260156024820152742a37b5b2b7103237b2b9903737ba1032bc34b9ba1760591b6044820152606401610b59565b6009610cf6836110e6565b600e604051602001610d0a93929190611812565b6040516020818303038152906040529050919050565b6001600160a01b0381165f908152600560205260408082205467ffffffffffffffff911c1661056f565b610d52610e46565b6001600160a01b038116610db75760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610b59565b6108bb81610f98565b5f80548210801561056f5750505f90815260046020526040902054600160e01b161590565b5f815f54811015610e2d575f8181526004602052604081205490600160e01b82169003610e2b575b805f03610c3e57505f19015f81815260046020526040902054610e0d565b505b604051636f96cda160e11b815260040160405180910390fd5b6008546001600160a01b031633146109f65760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b59565b5f805490829003610ec45760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b0383165f8181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b818114610f705780835f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a4600101610f3a565b50815f03610f9057604051622e076360e81b815260040160405180910390fd5b5f5550505050565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b5f82610ff585846111e3565b14949350505050565b604051630a85bd0160e11b81525f906001600160a01b0385169063150b7a0290611032903390899088908890600401611839565b6020604051808303815f875af192505050801561106c575060408051601f3d908101601f1916820190925261106991810190611875565b60015b6110c8573d808015611099576040519150601f19603f3d011682016040523d82523d5f602084013e61109e565b606091505b5080515f036110c0576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060815f0361110c5750506040805180820190915260018152600360fc1b602082015290565b815f5b8115611135578061111f81611890565b915061112e9050600a836118bc565b915061110f565b5f8167ffffffffffffffff81111561114f5761114f61138c565b6040519080825280601f01601f191660200182016040528015611179576020820181803683370190505b5090505b84156110de5761118e6001836118cf565b915061119b600a866118e2565b6111a6906030611689565b60f81b8183815181106111bb576111bb6118f5565b60200101906001600160f81b03191690815f1a9053506111dc600a866118bc565b945061117d565b5f81815b845181101561121d5761121382868381518110611206576112066118f5565b6020026020010151611225565b91506001016111e7565b509392505050565b5f81831061123f575f828152602084905260409020610c3e565b5f838152602083905260409020610c3e565b6001600160e01b0319811681146108bb575f80fd5b5f60208284031215611276575f80fd5b8135610c3e81611251565b5f5b8381101561129b578181015183820152602001611283565b50505f910152565b5f81518084526112ba816020860160208601611281565b601f01601f19169290920160200192915050565b602081525f610c3e60208301846112a3565b5f602082840312156112f0575f80fd5b5035919050565b80356001600160a01b038116811461130d575f80fd5b919050565b5f8060408385031215611323575f80fd5b61132c836112f7565b946020939093013593505050565b5f805f6060848603121561134c575f80fd5b611355846112f7565b9250611363602085016112f7565b9150604084013590509250925092565b5f60208284031215611383575f80fd5b610c3e826112f7565b634e487b7160e01b5f52604160045260245ffd5b604051601f8201601f1916810167ffffffffffffffff811182821017156113c9576113c961138c565b604052919050565b5f67ffffffffffffffff8311156113ea576113ea61138c565b6113fd601f8401601f19166020016113a0565b9050828152838383011115611410575f80fd5b828260208301375f602084830101529392505050565b5f60208284031215611436575f80fd5b813567ffffffffffffffff81111561144c575f80fd5b8201601f8101841361145c575f80fd5b6110de848235602084016113d1565b5f806040838503121561147c575f80fd5b611485836112f7565b915060208301358015158114611499575f80fd5b809150509250929050565b5f82601f8301126114b3575f80fd5b8135602067ffffffffffffffff8211156114cf576114cf61138c565b8160051b6114de8282016113a0565b92835284810182019282810190878511156114f7575f80fd5b83870192505b84831015611516578235825291830191908301906114fd565b979650505050505050565b5f60208284031215611531575f80fd5b813567ffffffffffffffff811115611547575f80fd5b6110de848285016114a4565b5f8060408385031215611564575f80fd5b823567ffffffffffffffff81111561157a575f80fd5b611586858286016114a4565b95602094909401359450505050565b5f805f80608085870312156115a8575f80fd5b6115b1856112f7565b93506115bf602086016112f7565b925060408501359150606085013567ffffffffffffffff8111156115e1575f80fd5b8501601f810187136115f1575f80fd5b611600878235602084016113d1565b91505092959194509250565b5f806040838503121561161d575f80fd5b611626836112f7565b9150611634602084016112f7565b90509250929050565b600181811c9082168061165157607f821691505b60208210810361166f57634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52601160045260245ffd5b8082018082111561056f5761056f611675565b601f8211156108d857805f5260205f20601f840160051c810160208510156116c15750805b601f840160051c820191505b818110156116e0575f81556001016116cd565b5050505050565b815167ffffffffffffffff8111156117015761170161138c565b6117158161170f845461163d565b8461169c565b602080601f831160018114611748575f84156117315750858301515b5f19600386901b1c1916600185901b17855561086d565b5f85815260208120601f198616915b8281101561177657888601518255948401946001909101908401611757565b508582101561179357878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b5f81546117af8161163d565b600182811680156117c757600181146117dc57611808565b60ff1984168752821515830287019450611808565b855f526020805f205f5b858110156117ff5781548a8201529084019082016117e6565b50505082870194505b5050505092915050565b5f61181d82866117a3565b845161182d818360208901611281565b611516818301866117a3565b6001600160a01b03858116825284166020820152604081018390526080606082018190525f9061186b908301846112a3565b9695505050505050565b5f60208284031215611885575f80fd5b8151610c3e81611251565b5f600182016118a1576118a1611675565b5060010190565b634e487b7160e01b5f52601260045260245ffd5b5f826118ca576118ca6118a8565b500490565b8181038181111561056f5761056f611675565b5f826118f0576118f06118a8565b500690565b634e487b7160e01b5f52603260045260245ffdfea264697066735822122013b26812b381237eb31fcb79d1ac3fba0b508274493cef306038641aa659b4d064736f6c63430008170033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000000000000000037000000000000000000000000000000000000000000000000000000000000006038196d48f300b30b08777fe56934fe875ecc95e54ba130df83ab49b27cd15528000000000000000000000000000000000000000000000000000000000000002568747470733a2f2f6d696e742e786f6c6172636f6c6c6563746976652e636f6d2f6e66742f000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : newMaxSupply (uint256): 55
Arg [1] : newBaseURI (string): https://mint.xolarcollective.com/nft/
Arg [2] : _merkleRoot (bytes32): 0x38196d48f300b30b08777fe56934fe875ecc95e54ba130df83ab49b27cd15528
-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000037
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [2] : 38196d48f300b30b08777fe56934fe875ecc95e54ba130df83ab49b27cd15528
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000025
Arg [4] : 68747470733a2f2f6d696e742e786f6c6172636f6c6c6563746976652e636f6d
Arg [5] : 2f6e66742f000000000000000000000000000000000000000000000000000000
Deployed Bytecode Sourcemap
75198:2634:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42416:639;;;;;;;;;;-1:-1:-1;42416:639:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;42416:639:0;;;;;;;;43318:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;49801:218::-;;;;;;;;;;-1:-1:-1;49801:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1697:32:1;;;1679:51;;1667:2;1652:18;49801:218:0;1533:203:1;49242:400:0;;;;;;;;;;-1:-1:-1;49242:400:0;;;;;:::i;:::-;;:::i;:::-;;39069:323;;;;;;;;;;-1:-1:-1;39343:12:0;;39130:7;39327:13;:28;39069:323;;;2324:25:1;;;2312:2;2297:18;39069:323:0;2178:177:1;75331:30:0;;;;;;;;;;;;;;;;53440:2817;;;;;;;;;;-1:-1:-1;53440:2817:0;;;;;:::i;:::-;;:::i;76981:152::-;;;;;;;;;;-1:-1:-1;76981:152:0;;;;;:::i;:::-;;:::i;56353:185::-;;;;;;;;;;-1:-1:-1;56353:185:0;;;;;:::i;:::-;;:::i;76629:113::-;;;;;;;;;;-1:-1:-1;76629:113:0;;;;;:::i;:::-;;:::i;77141:104::-;;;;;;;;;;-1:-1:-1;77141:104:0;;;;;:::i;:::-;;:::i;44711:152::-;;;;;;;;;;-1:-1:-1;44711:152:0;;;;;:::i;:::-;;:::i;75272:21::-;;;;;;;;;;;;;:::i;40253:233::-;;;;;;;;;;-1:-1:-1;40253:233:0;;;;;:::i;:::-;;:::i;23260:103::-;;;;;;;;;;;;;:::i;77253:180::-;;;;;;;;;;;;;:::i;22612:87::-;;;;;;;;;;-1:-1:-1;22685:6:0;;-1:-1:-1;;;;;22685:6:0;22612:87;;43494:104;;;;;;;;;;;;;:::i;50359:234::-;;;;;;;;;;-1:-1:-1;50359:234:0;;;;;:::i;:::-;;:::i;75947:361::-;;;;;;:::i;:::-;;:::i;76316:180::-;;;;;;;;;;-1:-1:-1;76316:180:0;;;;;:::i;:::-;;:::i;57136:399::-;;;;;;;;;;-1:-1:-1;57136:399:0;;;;;:::i;:::-;;:::i;75425:37::-;;;;;;;;;;;;;:::i;77441:388::-;;;;;;;;;;-1:-1:-1;77441:388:0;;;;;:::i;:::-;;:::i;75300:24::-;;;;;;;;;;;;;;;;76504:117;;;;;;;;;;-1:-1:-1;76504:117:0;;;;;:::i;:::-;;:::i;50750:164::-;;;;;;;;;;-1:-1:-1;50750:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;50871:25:0;;;50847:4;50871:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;50750:164;23518:201;;;;;;;;;;-1:-1:-1;23518:201:0;;;;;:::i;:::-;;:::i;42416:639::-;42501:4;-1:-1:-1;;;;;;;;;42825:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;42902:25:0;;;42825:102;:179;;;-1:-1:-1;;;;;;;;;;42979:25:0;;;42825:179;42805:199;42416:639;-1:-1:-1;;42416:639:0:o;43318:100::-;43372:13;43405:5;43398:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43318:100;:::o;49801:218::-;49877:7;49902:16;49910:7;49902;:16::i;:::-;49897:64;;49927:34;;-1:-1:-1;;;49927:34:0;;;;;;;;;;;49897:64;-1:-1:-1;49981:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;49981:30:0;;49801:218::o;49242:400::-;49323:13;49339:16;49347:7;49339;:16::i;:::-;49323:32;-1:-1:-1;73297:10:0;-1:-1:-1;;;;;49372:28:0;;;49368:175;;49420:44;49437:5;73297:10;50750:164;:::i;49420:44::-;49415:128;;49492:35;;-1:-1:-1;;;49492:35:0;;;;;;;;;;;49415:128;49555:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;49555:35:0;-1:-1:-1;;;;;49555:35:0;;;;;;;;;49606:28;;49555:24;;49606:28;;;;;;;49312:330;49242:400;;:::o;53440:2817::-;53574:27;53604;53623:7;53604:18;:27::i;:::-;53574:57;;53689:4;-1:-1:-1;;;;;53648:45:0;53664:19;-1:-1:-1;;;;;53648:45:0;;53644:86;;53702:28;;-1:-1:-1;;;53702:28:0;;;;;;;;;;;53644:86;53744:27;52548:24;;;:15;:24;;;;;52776:26;;73297:10;52173:30;;;-1:-1:-1;;;;;51866:28:0;;52151:20;;;52148:56;53930:180;;54023:43;54040:4;73297:10;50750:164;:::i;54023:43::-;54018:92;;54075:35;;-1:-1:-1;;;54075:35:0;;;;;;;;;;;54018:92;-1:-1:-1;;;;;54127:16:0;;54123:52;;54152:23;;-1:-1:-1;;;54152:23:0;;;;;;;;;;;54123:52;54324:15;54321:160;;;54464:1;54443:19;54436:30;54321:160;-1:-1:-1;;;;;54861:24:0;;;;;;;:18;:24;;;;;;54859:26;;-1:-1:-1;;54859:26:0;;;54930:22;;;;;;;;;54928:24;;-1:-1:-1;54928:24:0;;;48100:11;48075:23;48071:41;48058:63;-1:-1:-1;;;48058:63:0;55223:26;;;;:17;:26;;;;;:175;;;;-1:-1:-1;;;55518:47:0;;:52;;55514:627;;55623:1;55613:11;;55591:19;55746:30;;;:17;:30;;;;;;:35;;55742:384;;55884:13;;55869:11;:28;55865:242;;56031:30;;;;:17;:30;;;;;:52;;;55865:242;55572:569;55514:627;56188:7;56184:2;-1:-1:-1;;;;;56169:27:0;56178:4;-1:-1:-1;;;;;56169:27:0;;;;;;;;;;;56207:42;53563:2694;;;53440:2817;;;:::o;76981:152::-;22498:13;:11;:13::i;:::-;77069:9:::1;::::0;39343:12;;39130:7;39327:13;:28;77049:17:::1;::::0;77065:1:::1;77049:17;:::i;:::-;:29;77045:51;;;77087:9;;-1:-1:-1::0;;;77087:9:0::1;;;;;;;;;;;77045:51;77107:18;77113:8;77123:1;77107:5;:18::i;:::-;76981:152:::0;:::o;56353:185::-;56491:39;56508:4;56514:2;56518:7;56491:39;;;;;;;;;;;;:16;:39::i;:::-;56353:185;;;:::o;76629:113::-;22498:13;:11;:13::i;:::-;76708:10:::1;:26:::0;76629:113::o;77141:104::-;22498:13;:11;:13::i;:::-;77217:7:::1;:20;77227:10:::0;77217:7;:20:::1;:::i;:::-;;77141:104:::0;:::o;44711:152::-;44783:7;44826:27;44845:7;44826:18;:27::i;75272:21::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;40253:233::-;40325:7;-1:-1:-1;;;;;40349:19:0;;40345:60;;40377:28;;-1:-1:-1;;;40377:28:0;;;;;;;;;;;40345:60;-1:-1:-1;;;;;;40423:25:0;;;;;:18;:25;;;;;;34412:13;40423:55;;40253:233::o;23260:103::-;22498:13;:11;:13::i;:::-;23325:30:::1;23352:1;23325:18;:30::i;:::-;23260:103::o:0;77253:180::-;22498:13;:11;:13::i;:::-;77325:49:::1;::::0;77307:12:::1;::::0;77325:10:::1;::::0;77348:21:::1;::::0;77307:12;77325:49;77307:12;77325:49;77348:21;77325:10;:49:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;77306:68;;;77390:7;77385:40;;77406:19;;-1:-1:-1::0;;;77406:19:0::1;;;;;;;;;;;43494:104:::0;43550:13;43583:7;43576:14;;;;;:::i;50359:234::-;73297:10;50454:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;50454:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;50454:60:0;;;;;;;;;;50530:55;;540:41:1;;;50454:49:0;;73297:10;50530:55;;513:18:1;50530:55:0;;;;;;;50359:234;;:::o;75947:361::-;75580:28;;-1:-1:-1;;75597:10:0;10305:2:1;10301:15;10297:53;75580:28:0;;;10285:66:1;76034:5:0;;75551:59;;76034:5;;10367:12:1;;75580:28:0;;;;;;;;;;;;75570:39;;;;;;75551:11;:59::i;:::-;75529:122;;;;-1:-1:-1;;;75529:122:0;;10592:2:1;75529:122:0;;;10574:21:1;10631:2;10611:18;;;10604:30;-1:-1:-1;;;10650:18:1;;;10643:43;10703:18;;75529:122:0;;;;;;;;;76076:9:::1;::::0;39343:12;;39130:7;39327:13;:28;76056:17:::1;::::0;76072:1:::1;76056:17;:::i;:::-;:29;76052:51;;;76094:9;;-1:-1:-1::0;;;76094:9:0::1;;;;;;;;;;;76052:51;76147:11;::::0;76132:10:::1;40629:7:::0;40657:25;;;:18;:25;;34550:2;40657:25;;;;;34412:13;40657:50;;40656:82;76118:40;76114:89:::1;;76180:23;;-1:-1:-1::0;;;76180:23:0::1;;;;;;;;;;;76114:89;76235:5;;76222:9;:18;;76214:55;;;::::0;-1:-1:-1;;;76214:55:0;;10934:2:1;76214:55:0::1;::::0;::::1;10916:21:1::0;10973:2;10953:18;;;10946:30;11012:26;10992:18;;;10985:54;11056:18;;76214:55:0::1;10732:348:1::0;76214:55:0::1;76280:20;76286:10;76298:1;76280:5;:20::i;76316:180::-:0;76421:4;76445:43;76464:5;76471:10;;76483:4;76445:18;:43::i;:::-;76438:50;76316:180;-1:-1:-1;;;76316:180:0:o;57136:399::-;57303:31;57316:4;57322:2;57326:7;57303:12;:31::i;:::-;-1:-1:-1;;;;;57349:14:0;;;:19;57345:183;;57388:56;57419:4;57425:2;57429:7;57438:5;57388:30;:56::i;:::-;57383:145;;57472:40;;-1:-1:-1;;;57472:40:0;;;;;;;;;;;57383:145;57136:399;;;;:::o;75425:37::-;;;;;;;:::i;77441:388::-;77523:13;77557:17;77565:8;77557:7;:17::i;:::-;77549:51;;;;-1:-1:-1;;;77549:51:0;;11287:2:1;77549:51:0;;;11269:21:1;11326:2;11306:18;;;11299:30;-1:-1:-1;;;11345:18:1;;;11338:51;11406:18;;77549:51:0;11085:345:1;77549:51:0;77695:7;77725:26;77742:8;77725:16;:26::i;:::-;77774:13;77656:150;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;77611:210;;77441:388;;;:::o;76504:117::-;-1:-1:-1;;;;;40657:25:0;;76565:7;40657:25;;;:18;:25;;34550:2;40657:25;;;;34412:13;40657:50;;40656:82;76592:21;40568:178;23518:201;22498:13;:11;:13::i;:::-;-1:-1:-1;;;;;23607:22:0;::::1;23599:73;;;::::0;-1:-1:-1;;;23599:73:0;;12839:2:1;23599:73:0::1;::::0;::::1;12821:21:1::0;12878:2;12858:18;;;12851:30;12917:34;12897:18;;;12890:62;-1:-1:-1;;;12968:18:1;;;12961:36;13014:19;;23599:73:0::1;12637:402:1::0;23599:73:0::1;23683:28;23702:8;23683:18;:28::i;51172:282::-:0;51237:4;51327:13;;51317:7;:23;51274:153;;;;-1:-1:-1;;51378:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;51378:44:0;:49;;51172:282::o;45866:1275::-;45933:7;45968;46070:13;;46063:4;:20;46059:1015;;;46108:14;46125:23;;;:17;:23;;;;;;;-1:-1:-1;;;46214:24:0;;:29;;46210:845;;46879:113;46886:6;46896:1;46886:11;46879:113;;-1:-1:-1;;;46957:6:0;46939:25;;;;:17;:25;;;;;;46879:113;;46210:845;46085:989;46059:1015;47102:31;;-1:-1:-1;;;47102:31:0;;;;;;;;;;;22777:132;22685:6;;-1:-1:-1;;;;;22685:6:0;73297:10;22841:23;22833:68;;;;-1:-1:-1;;;22833:68:0;;13246:2:1;22833:68:0;;;13228:21:1;;;13265:18;;;13258:30;13324:34;13304:18;;;13297:62;13376:18;;22833:68:0;13044:356:1;60797:2720:0;60870:20;60893:13;;;60921;;;60917:44;;60943:18;;-1:-1:-1;;;60943:18:0;;;;;;;;;;;60917:44;-1:-1:-1;;;;;61449:22:0;;;;;;:18;:22;;;;34550:2;61449:22;;;:71;;61487:32;61475:45;;61449:71;;;61763:31;;;:17;:31;;;;;-1:-1:-1;48531:15:0;;48505:24;48501:46;48100:11;48075:23;48071:41;48068:52;48058:63;;61763:173;;61998:23;;;;61763:31;;61449:22;;62763:25;61449:22;;62616:335;63031:1;63017:12;63013:20;62971:346;63072:3;63063:7;63060:16;62971:346;;63290:7;63280:8;63277:1;63250:25;63247:1;63244;63239:59;63125:1;63112:15;62971:346;;;62975:77;63350:8;63362:1;63350:13;63346:45;;63372:19;;-1:-1:-1;;;63372:19:0;;;;;;;;;;;63346:45;63408:13;:19;-1:-1:-1;56353:185:0;;;:::o;23879:191::-;23972:6;;;-1:-1:-1;;;;;23989:17:0;;;-1:-1:-1;;;;;;23989:17:0;;;;;;;24022:40;;23972:6;;;23989:17;23972:6;;24022:40;;23953:16;;24022:40;23942:128;23879:191;:::o;1351:156::-;1442:4;1495;1466:25;1479:5;1486:4;1466:12;:25::i;:::-;:33;;1351:156;-1:-1:-1;;;;1351:156:0:o;59619:716::-;59803:88;;-1:-1:-1;;;59803:88:0;;59782:4;;-1:-1:-1;;;;;59803:45:0;;;;;:88;;73297:10;;59870:4;;59876:7;;59885:5;;59803:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;59803:88:0;;;;;;;;-1:-1:-1;;59803:88:0;;;;;;;;;;;;:::i;:::-;;;59799:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;60086:6;:13;60103:1;60086:18;60082:235;;60132:40;;-1:-1:-1;;;60132:40:0;;;;;;;;;;;60082:235;60275:6;60269:13;60260:6;60256:2;60252:15;60245:38;59799:529;-1:-1:-1;;;;;;59962:64:0;-1:-1:-1;;;59962:64:0;;-1:-1:-1;59799:529:0;59619:716;;;;;;:::o;10472:723::-;10528:13;10749:5;10758:1;10749:10;10745:53;;-1:-1:-1;;10776:10:0;;;;;;;;;;;;-1:-1:-1;;;10776:10:0;;;;;10472:723::o;10745:53::-;10823:5;10808:12;10864:78;10871:9;;10864:78;;10897:8;;;;:::i;:::-;;-1:-1:-1;10920:10:0;;-1:-1:-1;10928:2:0;10920:10;;:::i;:::-;;;10864:78;;;10952:19;10984:6;10974:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;10974:17:0;;10952:39;;11002:154;11009:10;;11002:154;;11036:11;11046:1;11036:11;;:::i;:::-;;-1:-1:-1;11105:10:0;11113:2;11105:5;:10;:::i;:::-;11092:24;;:2;:24;:::i;:::-;11079:39;;11062:6;11069;11062:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;11062:56:0;;;;;;;;-1:-1:-1;11133:11:0;11142:2;11133:11;;:::i;:::-;;;11002:154;;2070:296;2153:7;2196:4;2153:7;2211:118;2235:5;:12;2231:1;:16;2211:118;;;2284:33;2294:12;2308:5;2314:1;2308:8;;;;;;;;:::i;:::-;;;;;;;2284:9;:33::i;:::-;2269:48;-1:-1:-1;2249:3:0;;2211:118;;;-1:-1:-1;2346:12:0;2070:296;-1:-1:-1;;;2070:296:0:o;9500:149::-;9563:7;9594:1;9590;:5;:51;;9842:13;9936:15;;;9972:4;9965:15;;;10019:4;10003:21;;9590:51;;;9842:13;9936:15;;;9972:4;9965:15;;;10019:4;10003:21;;9598:20;9774:268;14:131:1;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:250::-;677:1;687:113;701:6;698:1;695:13;687:113;;;777:11;;;771:18;758:11;;;751:39;723:2;716:10;687:113;;;-1:-1:-1;;834:1:1;816:16;;809:27;592:250::o;847:271::-;889:3;927:5;921:12;954:6;949:3;942:19;970:76;1039:6;1032:4;1027:3;1023:14;1016:4;1009:5;1005:16;970:76;:::i;:::-;1100:2;1079:15;-1:-1:-1;;1075:29:1;1066:39;;;;1107:4;1062:50;;847:271;-1:-1:-1;;847:271:1:o;1123:220::-;1272:2;1261:9;1254:21;1235:4;1292:45;1333:2;1322:9;1318:18;1310:6;1292:45;:::i;1348:180::-;1407:6;1460:2;1448:9;1439:7;1435:23;1431:32;1428:52;;;1476:1;1473;1466:12;1428:52;-1:-1:-1;1499:23:1;;1348:180;-1:-1:-1;1348:180:1:o;1741:173::-;1809:20;;-1:-1:-1;;;;;1858:31:1;;1848:42;;1838:70;;1904:1;1901;1894:12;1838:70;1741:173;;;:::o;1919:254::-;1987:6;1995;2048:2;2036:9;2027:7;2023:23;2019:32;2016:52;;;2064:1;2061;2054:12;2016:52;2087:29;2106:9;2087:29;:::i;:::-;2077:39;2163:2;2148:18;;;;2135:32;;-1:-1:-1;;;1919:254:1:o;2360:328::-;2437:6;2445;2453;2506:2;2494:9;2485:7;2481:23;2477:32;2474:52;;;2522:1;2519;2512:12;2474:52;2545:29;2564:9;2545:29;:::i;:::-;2535:39;;2593:38;2627:2;2616:9;2612:18;2593:38;:::i;:::-;2583:48;;2678:2;2667:9;2663:18;2650:32;2640:42;;2360:328;;;;;:::o;2693:186::-;2752:6;2805:2;2793:9;2784:7;2780:23;2776:32;2773:52;;;2821:1;2818;2811:12;2773:52;2844:29;2863:9;2844:29;:::i;3069:127::-;3130:10;3125:3;3121:20;3118:1;3111:31;3161:4;3158:1;3151:15;3185:4;3182:1;3175:15;3201:275;3272:2;3266:9;3337:2;3318:13;;-1:-1:-1;;3314:27:1;3302:40;;3372:18;3357:34;;3393:22;;;3354:62;3351:88;;;3419:18;;:::i;:::-;3455:2;3448:22;3201:275;;-1:-1:-1;3201:275:1:o;3481:407::-;3546:5;3580:18;3572:6;3569:30;3566:56;;;3602:18;;:::i;:::-;3640:57;3685:2;3664:15;;-1:-1:-1;;3660:29:1;3691:4;3656:40;3640:57;:::i;:::-;3631:66;;3720:6;3713:5;3706:21;3760:3;3751:6;3746:3;3742:16;3739:25;3736:45;;;3777:1;3774;3767:12;3736:45;3826:6;3821:3;3814:4;3807:5;3803:16;3790:43;3880:1;3873:4;3864:6;3857:5;3853:18;3849:29;3842:40;3481:407;;;;;:::o;3893:451::-;3962:6;4015:2;4003:9;3994:7;3990:23;3986:32;3983:52;;;4031:1;4028;4021:12;3983:52;4071:9;4058:23;4104:18;4096:6;4093:30;4090:50;;;4136:1;4133;4126:12;4090:50;4159:22;;4212:4;4204:13;;4200:27;-1:-1:-1;4190:55:1;;4241:1;4238;4231:12;4190:55;4264:74;4330:7;4325:2;4312:16;4307:2;4303;4299:11;4264:74;:::i;4349:347::-;4414:6;4422;4475:2;4463:9;4454:7;4450:23;4446:32;4443:52;;;4491:1;4488;4481:12;4443:52;4514:29;4533:9;4514:29;:::i;:::-;4504:39;;4593:2;4582:9;4578:18;4565:32;4640:5;4633:13;4626:21;4619:5;4616:32;4606:60;;4662:1;4659;4652:12;4606:60;4685:5;4675:15;;;4349:347;;;;;:::o;4701:712::-;4755:5;4808:3;4801:4;4793:6;4789:17;4785:27;4775:55;;4826:1;4823;4816:12;4775:55;4862:6;4849:20;4888:4;4911:18;4907:2;4904:26;4901:52;;;4933:18;;:::i;:::-;4979:2;4976:1;4972:10;5002:28;5026:2;5022;5018:11;5002:28;:::i;:::-;5064:15;;;5134;;;5130:24;;;5095:12;;;;5166:15;;;5163:35;;;5194:1;5191;5184:12;5163:35;5230:2;5222:6;5218:15;5207:26;;5242:142;5258:6;5253:3;5250:15;5242:142;;;5324:17;;5312:30;;5275:12;;;;5362;;;;5242:142;;;5402:5;4701:712;-1:-1:-1;;;;;;;4701:712:1:o;5418:348::-;5502:6;5555:2;5543:9;5534:7;5530:23;5526:32;5523:52;;;5571:1;5568;5561:12;5523:52;5611:9;5598:23;5644:18;5636:6;5633:30;5630:50;;;5676:1;5673;5666:12;5630:50;5699:61;5752:7;5743:6;5732:9;5728:22;5699:61;:::i;5771:416::-;5864:6;5872;5925:2;5913:9;5904:7;5900:23;5896:32;5893:52;;;5941:1;5938;5931:12;5893:52;5981:9;5968:23;6014:18;6006:6;6003:30;6000:50;;;6046:1;6043;6036:12;6000:50;6069:61;6122:7;6113:6;6102:9;6098:22;6069:61;:::i;:::-;6059:71;6177:2;6162:18;;;;6149:32;;-1:-1:-1;;;;5771:416:1:o;6192:667::-;6287:6;6295;6303;6311;6364:3;6352:9;6343:7;6339:23;6335:33;6332:53;;;6381:1;6378;6371:12;6332:53;6404:29;6423:9;6404:29;:::i;:::-;6394:39;;6452:38;6486:2;6475:9;6471:18;6452:38;:::i;:::-;6442:48;;6537:2;6526:9;6522:18;6509:32;6499:42;;6592:2;6581:9;6577:18;6564:32;6619:18;6611:6;6608:30;6605:50;;;6651:1;6648;6641:12;6605:50;6674:22;;6727:4;6719:13;;6715:27;-1:-1:-1;6705:55:1;;6756:1;6753;6746:12;6705:55;6779:74;6845:7;6840:2;6827:16;6822:2;6818;6814:11;6779:74;:::i;:::-;6769:84;;;6192:667;;;;;;;:::o;6864:260::-;6932:6;6940;6993:2;6981:9;6972:7;6968:23;6964:32;6961:52;;;7009:1;7006;6999:12;6961:52;7032:29;7051:9;7032:29;:::i;:::-;7022:39;;7080:38;7114:2;7103:9;7099:18;7080:38;:::i;:::-;7070:48;;6864:260;;;;;:::o;7129:380::-;7208:1;7204:12;;;;7251;;;7272:61;;7326:4;7318:6;7314:17;7304:27;;7272:61;7379:2;7371:6;7368:14;7348:18;7345:38;7342:161;;7425:10;7420:3;7416:20;7413:1;7406:31;7460:4;7457:1;7450:15;7488:4;7485:1;7478:15;7342:161;;7129:380;;;:::o;7514:127::-;7575:10;7570:3;7566:20;7563:1;7556:31;7606:4;7603:1;7596:15;7630:4;7627:1;7620:15;7646:125;7711:9;;;7732:10;;;7729:36;;;7745:18;;:::i;7902:518::-;8004:2;7999:3;7996:11;7993:421;;;8040:5;8037:1;8030:16;8084:4;8081:1;8071:18;8154:2;8142:10;8138:19;8135:1;8131:27;8125:4;8121:38;8190:4;8178:10;8175:20;8172:47;;;-1:-1:-1;8213:4:1;8172:47;8268:2;8263:3;8259:12;8256:1;8252:20;8246:4;8242:31;8232:41;;8323:81;8341:2;8334:5;8331:13;8323:81;;;8400:1;8386:16;;8367:1;8356:13;8323:81;;;8327:3;;7902:518;;;:::o;8596:1345::-;8722:3;8716:10;8749:18;8741:6;8738:30;8735:56;;;8771:18;;:::i;:::-;8800:97;8890:6;8850:38;8882:4;8876:11;8850:38;:::i;:::-;8844:4;8800:97;:::i;:::-;8952:4;;9009:2;8998:14;;9026:1;9021:663;;;;9728:1;9745:6;9742:89;;;-1:-1:-1;9797:19:1;;;9791:26;9742:89;-1:-1:-1;;8553:1:1;8549:11;;;8545:24;8541:29;8531:40;8577:1;8573:11;;;8528:57;9844:81;;8991:944;;9021:663;7849:1;7842:14;;;7886:4;7873:18;;-1:-1:-1;;9057:20:1;;;9175:236;9189:7;9186:1;9183:14;9175:236;;;9278:19;;;9272:26;9257:42;;9370:27;;;;9338:1;9326:14;;;;9205:19;;9175:236;;;9179:3;9439:6;9430:7;9427:19;9424:201;;;9500:19;;;9494:26;-1:-1:-1;;9583:1:1;9579:14;;;9595:3;9575:24;9571:37;9567:42;9552:58;9537:74;;9424:201;-1:-1:-1;;;;;9671:1:1;9655:14;;;9651:22;9638:36;;-1:-1:-1;8596:1345:1:o;11435:723::-;11485:3;11526:5;11520:12;11555:36;11581:9;11555:36;:::i;:::-;11610:1;11627:17;;;11653:133;;;;11800:1;11795:357;;;;11620:532;;11653:133;-1:-1:-1;;11686:24:1;;11674:37;;11759:14;;11752:22;11740:35;;11731:45;;;-1:-1:-1;11653:133:1;;11795:357;11826:5;11823:1;11816:16;11855:4;11900;11897:1;11887:18;11927:1;11941:165;11955:6;11952:1;11949:13;11941:165;;;12033:14;;12020:11;;;12013:35;12076:16;;;;11970:10;;11941:165;;;11945:3;;;12135:6;12130:3;12126:16;12119:23;;11620:532;;;;;11435:723;;;;:::o;12163:469::-;12384:3;12412:38;12446:3;12438:6;12412:38;:::i;:::-;12479:6;12473:13;12495:65;12553:6;12549:2;12542:4;12534:6;12530:17;12495:65;:::i;:::-;12576:50;12618:6;12614:2;12610:15;12602:6;12576:50;:::i;13405:489::-;-1:-1:-1;;;;;13674:15:1;;;13656:34;;13726:15;;13721:2;13706:18;;13699:43;13773:2;13758:18;;13751:34;;;13821:3;13816:2;13801:18;;13794:31;;;13599:4;;13842:46;;13868:19;;13860:6;13842:46;:::i;:::-;13834:54;13405:489;-1:-1:-1;;;;;;13405:489:1:o;13899:249::-;13968:6;14021:2;14009:9;14000:7;13996:23;13992:32;13989:52;;;14037:1;14034;14027:12;13989:52;14069:9;14063:16;14088:30;14112:5;14088:30;:::i;14153:135::-;14192:3;14213:17;;;14210:43;;14233:18;;:::i;:::-;-1:-1:-1;14280:1:1;14269:13;;14153:135::o;14293:127::-;14354:10;14349:3;14345:20;14342:1;14335:31;14385:4;14382:1;14375:15;14409:4;14406:1;14399:15;14425:120;14465:1;14491;14481:35;;14496:18;;:::i;:::-;-1:-1:-1;14530:9:1;;14425:120::o;14550:128::-;14617:9;;;14638:11;;;14635:37;;;14652:18;;:::i;14683:112::-;14715:1;14741;14731:35;;14746:18;;:::i;:::-;-1:-1:-1;14780:9:1;;14683:112::o;14800:127::-;14861:10;14856:3;14852:20;14849:1;14842:31;14892:4;14889:1;14882:15;14916:4;14913:1;14906:15
Swarm Source
ipfs://13b26812b381237eb31fcb79d1ac3fba0b508274493cef306038641aa659b4d0
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.