Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
999 sRoad
Holders
368
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
2 sRoadLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
SpaceRoadies
Compiler Version
v0.8.9+commit.e5eed63a
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-09-25 */ // File: @openzeppelin/contracts/utils/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: @openzeppelin/contracts/utils/cryptography/MerkleProof.sol // OpenZeppelin Contracts (last updated v4.7.0) (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Tree proofs. * * The proofs can be generated using the JavaScript library * https://github.com/miguelmota/merkletreejs[merkletreejs]. * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled. * * See `test/utils/cryptography/MerkleProof.test.js` for some examples. * * WARNING: You should avoid using leaf values that are 64 bytes long prior to * hashing, or use a hash function other than keccak256 for hashing leaves. * This is because the concatenation of a sorted pair of internal nodes in * the merkle tree could be reinterpreted as a leaf value. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Calldata version of {verify} * * _Available since v4.7._ */ function verifyCalldata( bytes32[] calldata proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProofCalldata(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merkle tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. * * _Available since v4.4._ */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Calldata version of {processProof} * * _Available since v4.7._ */ function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Returns true if the `leaves` can be proved to be a part of a Merkle tree defined by * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}. * * _Available since v4.7._ */ function multiProofVerify( bytes32[] memory proof, bool[] memory proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProof(proof, proofFlags, leaves) == root; } /** * @dev Calldata version of {multiProofVerify} * * _Available since v4.7._ */ function multiProofVerifyCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProofCalldata(proof, proofFlags, leaves) == root; } /** * @dev Returns the root of a tree reconstructed from `leaves` and the sibling nodes in `proof`, * consuming from one or the other at each step according to the instructions given by * `proofFlags`. * * _Available since v4.7._ */ function processMultiProof( bytes32[] memory proof, bool[] memory proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof"); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { return hashes[totalHashes - 1]; } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } /** * @dev Calldata version of {processMultiProof} * * _Available since v4.7._ */ function processMultiProofCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof"); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { return hashes[totalHashes - 1]; } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) { return a < b ? _efficientHash(a, b) : _efficientHash(b, a); } function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) { /// @solidity memory-safe-assembly assembly { mstore(0x00, a) mstore(0x20, b) value := keccak256(0x00, 0x40) } } } // File: @openzeppelin/contracts/security/ReentrancyGuard.sol // OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } } // File: @openzeppelin/contracts/utils/Context.sol // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File: @openzeppelin/contracts/access/Ownable.sol // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // File: erc721a/contracts/IERC721A.sol // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721A. */ interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * Cannot query the balance for the zero address. */ error BalanceQueryForZeroAddress(); /** * Cannot mint to the zero address. */ error MintToZeroAddress(); /** * The quantity of tokens minted must be more than zero. */ error MintZeroQuantity(); /** * The token does not exist. */ error OwnerQueryForNonexistentToken(); /** * The caller must own the token or be an approved operator. */ error TransferCallerNotOwnerNorApproved(); /** * The token must be owned by `from`. */ error TransferFromIncorrectOwner(); /** * Cannot safely transfer to a contract that does not implement the * ERC721Receiver interface. */ error TransferToNonERC721ReceiverImplementer(); /** * Cannot transfer to the zero address. */ error TransferToZeroAddress(); /** * The token does not exist. */ error URIQueryForNonexistentToken(); /** * The `quantity` minted with ERC2309 exceeds the safety limit. */ error MintERC2309QuantityExceedsLimit(); /** * The `extraData` cannot be set on an unintialized ownership slot. */ error OwnershipNotInitializedForExtraData(); // ============================================================= // STRUCTS // ============================================================= struct TokenOwnership { // The address of the owner. address addr; // Stores the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; // Arbitrary data similar to `startTimestamp` that can be set via {_extraData}. uint24 extraData; } // ============================================================= // TOKEN COUNTERS // ============================================================= /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() external view returns (uint256); // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); // ============================================================= // IERC721 // ============================================================= /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables * (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, * checking first that contract recipients are aware of the ERC721 protocol * to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move * this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external payable; /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external payable; /** * @dev Transfers `tokenId` from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} * whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external payable; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the * zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external payable; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) external view returns (bool); // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); // ============================================================= // IERC2309 // ============================================================= /** * @dev Emitted when tokens in `fromTokenId` to `toTokenId` * (inclusive) is transferred from `from` to `to`, as defined in the * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309) standard. * * See {_mintERC2309} for more details. */ event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to); } // File: erc721a/contracts/ERC721A.sol // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721 token receiver. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @title ERC721A * * @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721) * Non-Fungible Token Standard, including the Metadata extension. * Optimized for lower gas during batch mints. * * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...) * starting from `_startTokenId()`. * * Assumptions: * * - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is IERC721A { // Bypass for a `--via-ir` bug (https://github.com/chiru-labs/ERC721A/pull/364). struct TokenApprovalRef { address value; } // ============================================================= // CONSTANTS // ============================================================= // Mask of an entry in packed address data. uint256 private constant _BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1; // The bit position of `numberMinted` in packed address data. uint256 private constant _BITPOS_NUMBER_MINTED = 64; // The bit position of `numberBurned` in packed address data. uint256 private constant _BITPOS_NUMBER_BURNED = 128; // The bit position of `aux` in packed address data. uint256 private constant _BITPOS_AUX = 192; // Mask of all 256 bits in packed address data except the 64 bits for `aux`. uint256 private constant _BITMASK_AUX_COMPLEMENT = (1 << 192) - 1; // The bit position of `startTimestamp` in packed ownership. uint256 private constant _BITPOS_START_TIMESTAMP = 160; // The bit mask of the `burned` bit in packed ownership. uint256 private constant _BITMASK_BURNED = 1 << 224; // The bit position of the `nextInitialized` bit in packed ownership. uint256 private constant _BITPOS_NEXT_INITIALIZED = 225; // The bit mask of the `nextInitialized` bit in packed ownership. uint256 private constant _BITMASK_NEXT_INITIALIZED = 1 << 225; // The bit position of `extraData` in packed ownership. uint256 private constant _BITPOS_EXTRA_DATA = 232; // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`. uint256 private constant _BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1; // The mask of the lower 160 bits for addresses. uint256 private constant _BITMASK_ADDRESS = (1 << 160) - 1; // The maximum `quantity` that can be minted with {_mintERC2309}. // This limit is to prevent overflows on the address data entries. // For a limit of 5000, a total of 3.689e15 calls to {_mintERC2309} // is required to cause an overflow, which is unrealistic. uint256 private constant _MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000; // The `Transfer` event signature is given by: // `keccak256(bytes("Transfer(address,address,uint256)"))`. bytes32 private constant _TRANSFER_EVENT_SIGNATURE = 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef; // ============================================================= // STORAGE // ============================================================= // The next token ID to be minted. uint256 private _currentIndex; // The number of tokens burned. uint256 private _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. // See {_packedOwnershipOf} implementation for details. // // Bits Layout: // - [0..159] `addr` // - [160..223] `startTimestamp` // - [224] `burned` // - [225] `nextInitialized` // - [232..255] `extraData` mapping(uint256 => uint256) private _packedOwnerships; // Mapping owner address to address data. // // Bits Layout: // - [0..63] `balance` // - [64..127] `numberMinted` // - [128..191] `numberBurned` // - [192..255] `aux` mapping(address => uint256) private _packedAddressData; // Mapping from token ID to approved address. mapping(uint256 => TokenApprovalRef) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // ============================================================= // CONSTRUCTOR // ============================================================= constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } // ============================================================= // TOKEN COUNTING OPERATIONS // ============================================================= /** * @dev Returns the starting token ID. * To change the starting token ID, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Returns the next token ID to be minted. */ function _nextTokenId() internal view virtual returns (uint256) { return _currentIndex; } /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() public view virtual override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than `_currentIndex - _startTokenId()` times. unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * @dev Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view virtual returns (uint256) { // Counter underflow is impossible as `_currentIndex` does not decrement, // and it is initialized to `_startTokenId()`. unchecked { return _currentIndex - _startTokenId(); } } /** * @dev Returns the total number of tokens burned. */ function _totalBurned() internal view virtual returns (uint256) { return _burnCounter; } // ============================================================= // ADDRESS DATA OPERATIONS // ============================================================= /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) public view virtual override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return _packedAddressData[owner] & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_MINTED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_BURNED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return uint64(_packedAddressData[owner] >> _BITPOS_AUX); } /** * Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal virtual { uint256 packed = _packedAddressData[owner]; uint256 auxCasted; // Cast `aux` with assembly to avoid redundant masking. assembly { auxCasted := aux } packed = (packed & _BITMASK_AUX_COMPLEMENT) | (auxCasted << _BITPOS_AUX); _packedAddressData[owner] = packed; } // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { // The interface IDs are constants representing the first 4 bytes // of the XOR of all function selectors in the interface. // See: [ERC165](https://eips.ethereum.org/EIPS/eip-165) // (e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`) return interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165. interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721. interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata. } // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the token collection symbol. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, it can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } // ============================================================= // OWNERSHIPS OPERATIONS // ============================================================= /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around over time. */ function _ownershipOf(uint256 tokenId) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @dev Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal virtual { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * Returns the packed ownership data of `tokenId`. */ function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr) if (curr < _currentIndex) { uint256 packed = _packedOwnerships[curr]; // If not burned. if (packed & _BITMASK_BURNED == 0) { // Invariant: // There will always be an initialized ownership slot // (i.e. `ownership.addr != address(0) && ownership.burned == false`) // before an unintialized ownership slot // (i.e. `ownership.addr == address(0) && ownership.burned == false`) // Hence, `curr` will not underflow. // // We can directly compare the packed value. // If the address is zero, packed will be zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * @dev Returns the unpacked `TokenOwnership` struct from `packed`. */ function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) { ownership.addr = address(uint160(packed)); ownership.startTimestamp = uint64(packed >> _BITPOS_START_TIMESTAMP); ownership.burned = packed & _BITMASK_BURNED != 0; ownership.extraData = uint24(packed >> _BITPOS_EXTRA_DATA); } /** * @dev Packs ownership data into a single uint256. */ function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // `owner | (block.timestamp << _BITPOS_START_TIMESTAMP) | flags`. result := or(owner, or(shl(_BITPOS_START_TIMESTAMP, timestamp()), flags)) } } /** * @dev Returns the `nextInitialized` flag set if `quantity` equals 1. */ function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) { // For branchless setting of the `nextInitialized` flag. assembly { // `(quantity == 1) << _BITPOS_NEXT_INITIALIZED`. result := shl(_BITPOS_NEXT_INITIALIZED, eq(quantity, 1)) } } // ============================================================= // APPROVAL OPERATIONS // ============================================================= /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the * zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) public payable virtual override { address owner = ownerOf(tokenId); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId].value = to; emit Approval(owner, to, tokenId); } /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId].value; } /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool approved) public virtual override { _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), operator, approved); } /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted. See {_mint}. */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned. } /** * @dev Returns whether `msgSender` is equal to `approvedAddress` or `owner`. */ function _isSenderApprovedOrOwner( address approvedAddress, address owner, address msgSender ) private pure returns (bool result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean. msgSender := and(msgSender, _BITMASK_ADDRESS) // `msgSender == owner || msgSender == approvedAddress`. result := or(eq(msgSender, owner), eq(msgSender, approvedAddress)) } } /** * @dev Returns the storage slot and value for the approved address of `tokenId`. */ function _getApprovedSlotAndAddress(uint256 tokenId) private view returns (uint256 approvedAddressSlot, address approvedAddress) { TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId]; // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId].value`. assembly { approvedAddressSlot := tokenApproval.slot approvedAddress := sload(approvedAddressSlot) } } // ============================================================= // TRANSFER OPERATIONS // ============================================================= /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) public payable virtual override { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // We can directly increment and decrement the balances. --_packedAddressData[from]; // Updates: `balance -= 1`. ++_packedAddressData[to]; // Updates: `balance += 1`. // Updates: // - `address` to the next owner. // - `startTimestamp` to the timestamp of transfering. // - `burned` to `false`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( to, _BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public payable virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public payable virtual override { transferFrom(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Hook that is called before a set of serially-ordered token IDs * are about to be transferred. This includes minting. * And also called before burning one token. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token IDs * have been transferred. This includes minting. * And also called after one token has been burned. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Private function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * `from` - Previous owner of the given token ID. * `to` - Target address that will receive the token. * `tokenId` - Token ID to be transferred. * `_data` - Optional data to send along with the call. * * Returns whether the call correctly returned the expected magic value. */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns ( bytes4 retval ) { return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } // ============================================================= // MINT OPERATIONS // ============================================================= /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event for each mint. */ function _mint(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // `balance` and `numberMinted` have a maximum limit of 2**64. // `tokenId` has a maximum limit of 2**256. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); uint256 toMasked; uint256 end = startTokenId + quantity; // Use assembly to loop and emit the `Transfer` event for gas savings. // The duplicated `log4` removes an extra check and reduces stack juggling. // The assembly, together with the surrounding Solidity code, have been // delicately arranged to nudge the compiler into producing optimized opcodes. assembly { // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean. toMasked := and(to, _BITMASK_ADDRESS) // Emit the `Transfer` event. log4( 0, // Start of data (0, since no data). 0, // End of data (0, since no data). _TRANSFER_EVENT_SIGNATURE, // Signature. 0, // `address(0)`. toMasked, // `to`. startTokenId // `tokenId`. ) // The `iszero(eq(,))` check ensures that large values of `quantity` // that overflows uint256 will make the loop run out of gas. // The compiler will optimize the `iszero` away for performance. for { let tokenId := add(startTokenId, 1) } iszero(eq(tokenId, end)) { tokenId := add(tokenId, 1) } { // Emit the `Transfer` event. Similar to above. log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId) } } if (toMasked == 0) revert MintToZeroAddress(); _currentIndex = end; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * This function is intended for efficient minting only during contract creation. * * It emits only one {ConsecutiveTransfer} as defined in * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309), * instead of a sequence of {Transfer} event(s). * * Calling this function outside of contract creation WILL make your contract * non-compliant with the ERC721 standard. * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309 * {ConsecutiveTransfer} event is only permissible during contract creation. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {ConsecutiveTransfer} event. */ function _mintERC2309(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are unrealistic due to the above check for `quantity` to be below the limit. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to); _currentIndex = startTokenId + quantity; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * See {_mint}. * * Emits a {Transfer} event for each mint. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal virtual { _mint(to, quantity); unchecked { if (to.code.length != 0) { uint256 end = _currentIndex; uint256 index = end - quantity; do { if (!_checkContractOnERC721Received(address(0), to, index++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (index < end); // Reentrancy protection. if (_currentIndex != end) revert(); } } } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal virtual { _safeMint(to, quantity, ''); } // ============================================================= // BURN OPERATIONS // ============================================================= /** * @dev Equivalent to `_burn(tokenId, false)`. */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); address from = address(uint160(prevOwnershipPacked)); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); if (approvalCheck) { // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // Updates: // - `balance -= 1`. // - `numberBurned += 1`. // // We can directly decrement the balance, and increment the number burned. // This is equivalent to `packed -= 1; packed += 1 << _BITPOS_NUMBER_BURNED;`. _packedAddressData[from] += (1 << _BITPOS_NUMBER_BURNED) - 1; // Updates: // - `address` to the last owner. // - `startTimestamp` to the timestamp of burning. // - `burned` to `true`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( from, (_BITMASK_BURNED | _BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } // ============================================================= // EXTRA DATA OPERATIONS // ============================================================= /** * @dev Directly sets the extra data for the ownership data `index`. */ function _setExtraDataAt(uint256 index, uint24 extraData) internal virtual { uint256 packed = _packedOwnerships[index]; if (packed == 0) revert OwnershipNotInitializedForExtraData(); uint256 extraDataCasted; // Cast `extraData` with assembly to avoid redundant masking. assembly { extraDataCasted := extraData } packed = (packed & _BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << _BITPOS_EXTRA_DATA); _packedOwnerships[index] = packed; } /** * @dev Called during each token transfer to set the 24bit `extraData` field. * Intended to be overridden by the cosumer contract. * * `previousExtraData` - the value of `extraData` before transfer. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _extraData( address from, address to, uint24 previousExtraData ) internal view virtual returns (uint24) {} /** * @dev Returns the next extra data for the packed ownership data. * The returned result is shifted into position. */ function _nextExtraData( address from, address to, uint256 prevOwnershipPacked ) private view returns (uint256) { uint24 extraData = uint24(prevOwnershipPacked >> _BITPOS_EXTRA_DATA); return uint256(_extraData(from, to, extraData)) << _BITPOS_EXTRA_DATA; } // ============================================================= // OTHER OPERATIONS // ============================================================= /** * @dev Returns the message sender (defaults to `msg.sender`). * * If you are writing GSN compatible contracts, you need to override this function. */ function _msgSenderERC721A() internal view virtual returns (address) { return msg.sender; } /** * @dev Converts a uint256 to its ASCII string decimal representation. */ function _toString(uint256 value) internal pure virtual returns (string memory str) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), but // we allocate 0xa0 bytes to keep the free memory pointer 32-byte word aligned. // We will need 1 word for the trailing zeros padding, 1 word for the length, // and 3 words for a maximum of 78 digits. Total: 5 * 0x20 = 0xa0. let m := add(mload(0x40), 0xa0) // Update the free memory pointer to allocate. mstore(0x40, m) // Assign the `str` to the end. str := sub(m, 0x20) // Zeroize the slot after the string. mstore(str, 0) // Cache the end of the memory to calculate the length later. let end := str // We write the string from rightmost digit to leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // prettier-ignore for { let temp := value } 1 {} { str := sub(str, 1) // Write the character to the pointer. // The ASCII index of the '0' character is 48. mstore8(str, add(48, mod(temp, 10))) // Keep dividing `temp` until zero. temp := div(temp, 10) // prettier-ignore if iszero(temp) { break } } let length := sub(end, str) // Move the pointer 32 bytes leftwards to make room for the length. str := sub(str, 0x20) // Store the length. mstore(str, length) } } } // File: erc721a/contracts/extensions/IERC721AQueryable.sol // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721AQueryable. */ interface IERC721AQueryable is IERC721A { /** * Invalid query range (`start` >= `stop`). */ error InvalidQueryRange(); /** * @dev Returns the `TokenOwnership` struct at `tokenId` without reverting. * * If the `tokenId` is out of bounds: * * - `addr = address(0)` * - `startTimestamp = 0` * - `burned = false` * - `extraData = 0` * * If the `tokenId` is burned: * * - `addr = <Address of owner before token was burned>` * - `startTimestamp = <Timestamp when token was burned>` * - `burned = true` * - `extraData = <Extra data when token was burned>` * * Otherwise: * * - `addr = <Address of owner>` * - `startTimestamp = <Timestamp of start of ownership>` * - `burned = false` * - `extraData = <Extra data at start of ownership>` */ function explicitOwnershipOf(uint256 tokenId) external view returns (TokenOwnership memory); /** * @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order. * See {ERC721AQueryable-explicitOwnershipOf} */ function explicitOwnershipsOf(uint256[] memory tokenIds) external view returns (TokenOwnership[] memory); /** * @dev Returns an array of token IDs owned by `owner`, * in the range [`start`, `stop`) * (i.e. `start <= tokenId < stop`). * * This function allows for tokens to be queried if the collection * grows too big for a single call of {ERC721AQueryable-tokensOfOwner}. * * Requirements: * * - `start < stop` */ function tokensOfOwnerIn( address owner, uint256 start, uint256 stop ) external view returns (uint256[] memory); /** * @dev Returns an array of token IDs owned by `owner`. * * This function scans the ownership mapping and is O(`totalSupply`) in complexity. * It is meant to be called off-chain. * * See {ERC721AQueryable-tokensOfOwnerIn} for splitting the scan into * multiple smaller scans if the collection is large enough to cause * an out-of-gas error (10K collections should be fine). */ function tokensOfOwner(address owner) external view returns (uint256[] memory); } // File: erc721a/contracts/extensions/ERC721AQueryable.sol // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @title ERC721AQueryable. * * @dev ERC721A subclass with convenience query functions. */ abstract contract ERC721AQueryable is ERC721A, IERC721AQueryable { /** * @dev Returns the `TokenOwnership` struct at `tokenId` without reverting. * * If the `tokenId` is out of bounds: * * - `addr = address(0)` * - `startTimestamp = 0` * - `burned = false` * - `extraData = 0` * * If the `tokenId` is burned: * * - `addr = <Address of owner before token was burned>` * - `startTimestamp = <Timestamp when token was burned>` * - `burned = true` * - `extraData = <Extra data when token was burned>` * * Otherwise: * * - `addr = <Address of owner>` * - `startTimestamp = <Timestamp of start of ownership>` * - `burned = false` * - `extraData = <Extra data at start of ownership>` */ function explicitOwnershipOf(uint256 tokenId) public view virtual override returns (TokenOwnership memory) { TokenOwnership memory ownership; if (tokenId < _startTokenId() || tokenId >= _nextTokenId()) { return ownership; } ownership = _ownershipAt(tokenId); if (ownership.burned) { return ownership; } return _ownershipOf(tokenId); } /** * @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order. * See {ERC721AQueryable-explicitOwnershipOf} */ function explicitOwnershipsOf(uint256[] calldata tokenIds) external view virtual override returns (TokenOwnership[] memory) { unchecked { uint256 tokenIdsLength = tokenIds.length; TokenOwnership[] memory ownerships = new TokenOwnership[](tokenIdsLength); for (uint256 i; i != tokenIdsLength; ++i) { ownerships[i] = explicitOwnershipOf(tokenIds[i]); } return ownerships; } } /** * @dev Returns an array of token IDs owned by `owner`, * in the range [`start`, `stop`) * (i.e. `start <= tokenId < stop`). * * This function allows for tokens to be queried if the collection * grows too big for a single call of {ERC721AQueryable-tokensOfOwner}. * * Requirements: * * - `start < stop` */ function tokensOfOwnerIn( address owner, uint256 start, uint256 stop ) external view virtual override returns (uint256[] memory) { unchecked { if (start >= stop) revert InvalidQueryRange(); uint256 tokenIdsIdx; uint256 stopLimit = _nextTokenId(); // Set `start = max(start, _startTokenId())`. if (start < _startTokenId()) { start = _startTokenId(); } // Set `stop = min(stop, stopLimit)`. if (stop > stopLimit) { stop = stopLimit; } uint256 tokenIdsMaxLength = balanceOf(owner); // Set `tokenIdsMaxLength = min(balanceOf(owner), stop - start)`, // to cater for cases where `balanceOf(owner)` is too big. if (start < stop) { uint256 rangeLength = stop - start; if (rangeLength < tokenIdsMaxLength) { tokenIdsMaxLength = rangeLength; } } else { tokenIdsMaxLength = 0; } uint256[] memory tokenIds = new uint256[](tokenIdsMaxLength); if (tokenIdsMaxLength == 0) { return tokenIds; } // We need to call `explicitOwnershipOf(start)`, // because the slot at `start` may not be initialized. TokenOwnership memory ownership = explicitOwnershipOf(start); address currOwnershipAddr; // If the starting slot exists (i.e. not burned), initialize `currOwnershipAddr`. // `ownership.address` will not be zero, as `start` is clamped to the valid token ID range. if (!ownership.burned) { currOwnershipAddr = ownership.addr; } for (uint256 i = start; i != stop && tokenIdsIdx != tokenIdsMaxLength; ++i) { ownership = _ownershipAt(i); if (ownership.burned) { continue; } if (ownership.addr != address(0)) { currOwnershipAddr = ownership.addr; } if (currOwnershipAddr == owner) { tokenIds[tokenIdsIdx++] = i; } } // Downsize the array to fit. assembly { mstore(tokenIds, tokenIdsIdx) } return tokenIds; } } /** * @dev Returns an array of token IDs owned by `owner`. * * This function scans the ownership mapping and is O(`totalSupply`) in complexity. * It is meant to be called off-chain. * * See {ERC721AQueryable-tokensOfOwnerIn} for splitting the scan into * multiple smaller scans if the collection is large enough to cause * an out-of-gas error (10K collections should be fine). */ function tokensOfOwner(address owner) external view virtual override returns (uint256[] memory) { unchecked { uint256 tokenIdsIdx; address currOwnershipAddr; uint256 tokenIdsLength = balanceOf(owner); uint256[] memory tokenIds = new uint256[](tokenIdsLength); TokenOwnership memory ownership; for (uint256 i = _startTokenId(); tokenIdsIdx != tokenIdsLength; ++i) { ownership = _ownershipAt(i); if (ownership.burned) { continue; } if (ownership.addr != address(0)) { currOwnershipAddr = ownership.addr; } if (currOwnershipAddr == owner) { tokenIds[tokenIdsIdx++] = i; } } return tokenIds; } } } // File: nft.sol pragma solidity ^0.8.9; error MyNftCollection__InvalidMintAmount(); error MyNftCollection__MaxSupplyExceeded(); error MyNftCollection__InsufficientFunds(); error MyNftCollection__AllowlistSaleClosed(); error MyNftCollection__AddressAlreadyClaimed(); error MyNftCollection__InvalidProof(); error MyNftCollection__PublicSaleClosed(); error MyNftCollection__TransferFailed(); error MyNftCollection__NonexistentToken(); contract SpaceRoadies is ERC721AQueryable, Ownable, ReentrancyGuard { using Strings for uint256; /// Type declarations enum SaleState { Closed, AllowlistOnly, PublicOpen } /// State variables SaleState private sSaleState; uint256 private constant START_TOKEN_ID = 1; uint256 private immutable iMaxSupply; uint256 private sMintPrice; uint256 private sMaxMintAmountPerTx; string private sHiddenMetadataUri; string private sBaseUri; bytes32 private sMerkleRoot; bool private sRevealed; mapping(address => bool) private sAllowlistClaimed; /// Events event Mint(address indexed minter, uint256 amount); constructor( string memory nftName, string memory nftSymbol, string memory hiddenMetadataUri, uint256 maxSupply, uint256 mintPrice, uint256 maxMintAmountPerTx ) ERC721A(nftName, nftSymbol) { iMaxSupply = maxSupply; sMintPrice = mintPrice; sMaxMintAmountPerTx = maxMintAmountPerTx; sHiddenMetadataUri = hiddenMetadataUri; sSaleState = SaleState.PublicOpen; } /// Modifiers modifier mintCompliance(uint256 _mintAmount, uint256 _maxMintAmount) { if (_mintAmount < 1 || _mintAmount > _maxMintAmount) revert MyNftCollection__InvalidMintAmount(); if (totalSupply() + _mintAmount > iMaxSupply) revert MyNftCollection__MaxSupplyExceeded(); _; } modifier mintPriceCompliance(uint256 _mintAmount) { if (msg.value < sMintPrice * _mintAmount) revert MyNftCollection__InsufficientFunds(); _; } /// Functions function allowlistMint(uint256 _mintAmount, bytes32[] calldata _merkleProof) public payable mintCompliance(_mintAmount, sMaxMintAmountPerTx) mintPriceCompliance(_mintAmount) { if (sSaleState != SaleState.AllowlistOnly) revert MyNftCollection__AllowlistSaleClosed(); if (sAllowlistClaimed[_msgSender()]) revert MyNftCollection__AddressAlreadyClaimed(); bytes32 leaf = keccak256(abi.encodePacked(_msgSender())); if (!MerkleProof.verify(_merkleProof, sMerkleRoot, leaf)) revert MyNftCollection__InvalidProof(); sAllowlistClaimed[_msgSender()] = true; _safeMint(_msgSender(), _mintAmount); emit Mint(_msgSender(), _mintAmount); } function publicMint(uint256 _mintAmount) public payable mintCompliance(_mintAmount, sMaxMintAmountPerTx) mintPriceCompliance(_mintAmount) { if (sSaleState != SaleState.PublicOpen) revert MyNftCollection__PublicSaleClosed(); _safeMint(_msgSender(), _mintAmount); emit Mint(_msgSender(), _mintAmount); } function mintForAddress(uint256 _mintAmount, address _receiver) public mintCompliance(_mintAmount, sMaxMintAmountPerTx) onlyOwner { _safeMint(_receiver, _mintAmount); } function withdraw() public onlyOwner nonReentrant { (bool success, ) = payable(owner()).call{value: address(this).balance}( '' ); if (!success) revert MyNftCollection__TransferFailed(); } function tokenURI(uint256 _tokenId) public view virtual override returns (string memory) { if (!_exists(_tokenId)) revert MyNftCollection__NonexistentToken(); if (sRevealed == false) return sHiddenMetadataUri; return bytes(_baseURI()).length > 0 ? string( abi.encodePacked(_baseURI(), _tokenId.toString(), '.json') ) : ''; } function _baseURI() internal view virtual override returns (string memory) { return sBaseUri; } function _startTokenId() internal view virtual override returns (uint256) { return START_TOKEN_ID; } /// Getter Functions function getSaleState() public view returns (SaleState) { return sSaleState; } function getMaxSupply() public view returns (uint256) { return iMaxSupply; } function getMintPrice() public view returns (uint256) { return sMintPrice; } function getMaxMintAmountPerTx() public view returns (uint256) { return sMaxMintAmountPerTx; } function getHiddenMetadataUri() public view returns (string memory) { return sHiddenMetadataUri; } function getBaseUri() public view returns (string memory) { return sBaseUri; } function getMerkleRoot() public view returns (bytes32) { return sMerkleRoot; } function getRevealed() public view returns (bool) { return sRevealed; } /// Setter Functions function setAllowlistOnly() public onlyOwner { sSaleState = SaleState.AllowlistOnly; } function setPublicOpen() public onlyOwner { sSaleState = SaleState.PublicOpen; } function setClosed() public onlyOwner { sSaleState = SaleState.Closed; } function setMintPrice(uint256 _mintPrice) public onlyOwner { sMintPrice = _mintPrice; } function setMaxMintAmountPerTx(uint256 _maxMintAmountPerTx) public onlyOwner { sMaxMintAmountPerTx = _maxMintAmountPerTx; } function setHiddenMetadataUri(string memory _hiddenMetadataUri) public onlyOwner { sHiddenMetadataUri = _hiddenMetadataUri; } function setBaseUri(string memory _baseUri) public onlyOwner { sBaseUri = _baseUri; } function setMerkleRoot(bytes32 _merkleRoot) public onlyOwner { sMerkleRoot = _merkleRoot; } function setRevealed(bool _state) public onlyOwner { sRevealed = _state; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"nftName","type":"string"},{"internalType":"string","name":"nftSymbol","type":"string"},{"internalType":"string","name":"hiddenMetadataUri","type":"string"},{"internalType":"uint256","name":"maxSupply","type":"uint256"},{"internalType":"uint256","name":"mintPrice","type":"uint256"},{"internalType":"uint256","name":"maxMintAmountPerTx","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"InvalidQueryRange","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"MyNftCollection__AddressAlreadyClaimed","type":"error"},{"inputs":[],"name":"MyNftCollection__AllowlistSaleClosed","type":"error"},{"inputs":[],"name":"MyNftCollection__InsufficientFunds","type":"error"},{"inputs":[],"name":"MyNftCollection__InvalidMintAmount","type":"error"},{"inputs":[],"name":"MyNftCollection__InvalidProof","type":"error"},{"inputs":[],"name":"MyNftCollection__MaxSupplyExceeded","type":"error"},{"inputs":[],"name":"MyNftCollection__NonexistentToken","type":"error"},{"inputs":[],"name":"MyNftCollection__PublicSaleClosed","type":"error"},{"inputs":[],"name":"MyNftCollection__TransferFailed","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"minter","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Mint","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":"uint256","name":"_mintAmount","type":"uint256"},{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"allowlistMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"explicitOwnershipOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"explicitOwnershipsOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getBaseUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getHiddenMetadataUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMaxMintAmountPerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMaxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getRevealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getSaleState","outputs":[{"internalType":"enum SpaceRoadies.SaleState","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"},{"internalType":"address","name":"_receiver","type":"address"}],"name":"mintForAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"setAllowlistOnly","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":"_baseUri","type":"string"}],"name":"setBaseUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setClosed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_hiddenMetadataUri","type":"string"}],"name":"setHiddenMetadataUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxMintAmountPerTx","type":"uint256"}],"name":"setMaxMintAmountPerTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintPrice","type":"uint256"}],"name":"setMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setPublicOpen","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setRevealed","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":[{"internalType":"address","name":"owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"start","type":"uint256"},{"internalType":"uint256","name":"stop","type":"uint256"}],"name":"tokensOfOwnerIn","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60a06040523480156200001157600080fd5b50604051620028d5380380620028d583398101604081905262000034916200027f565b8551869086906200004d9060029060208501906200010c565b508051620000639060039060208401906200010c565b50506001600055506200007633620000ba565b60016009556080839052600b829055600c81905583516200009f90600d9060208701906200010c565b5050600a805460ff1916600217905550620003699350505050565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200011a906200032c565b90600052602060002090601f0160209004810192826200013e576000855562000189565b82601f106200015957805160ff191683800117855562000189565b8280016001018555821562000189579182015b82811115620001895782518255916020019190600101906200016c565b50620001979291506200019b565b5090565b5b808211156200019757600081556001016200019c565b634e487b7160e01b600052604160045260246000fd5b600082601f830112620001da57600080fd5b81516001600160401b0380821115620001f757620001f7620001b2565b604051601f8301601f19908116603f01168101908282118183101715620002225762000222620001b2565b816040528381526020925086838588010111156200023f57600080fd5b600091505b8382101562000263578582018301518183018401529082019062000244565b83821115620002755760008385830101525b9695505050505050565b60008060008060008060c087890312156200029957600080fd5b86516001600160401b0380821115620002b157600080fd5b620002bf8a838b01620001c8565b97506020890151915080821115620002d657600080fd5b620002e48a838b01620001c8565b96506040890151915080821115620002fb57600080fd5b506200030a89828a01620001c8565b945050606087015192506080870151915060a087015190509295509295509295565b600181811c908216806200034157607f821691505b602082108114156200036357634e487b7160e01b600052602260045260246000fd5b50919050565b60805161253b6200039a600039600081816103cd01528181610aff01528181610e9f015261165a015261253b6000f3fe6080604052600436106102515760003560e01c80638462151c11610139578063b071401b116100b6578063e0a808531161007a578063e0a8085314610687578063e985e9c5146106a7578063efbd73f4146106f0578063f2dc6b3314610710578063f2fde38b14610725578063f4a0a5281461074557600080fd5b8063b071401b146105f2578063b88d4fde14610612578063b98dd23714610625578063c23dc68f1461063a578063c87b56dd1461066757600080fd5b80639e79effc116100fd5780639e79effc14610573578063a0bcfc7f14610588578063a22cb465146105a8578063a74773ad146105c8578063a7f93ebd146105dd57600080fd5b80638462151c146104db5780638da5cb5b1461050857806394cc41401461052657806395d89b411461053e57806399a2557a1461055357600080fd5b806342842e0e116101d25780635bbb2177116101965780635bbb2177146104265780636352211e1461045357806370a0823114610473578063715018a6146104935780637bc9200e146104a85780637cb64759146104bb57600080fd5b806342842e0e1461039657806349590657146103a95780634c0f38c2146103be5780634fdd43cb146103f1578063598195561461041157600080fd5b806318160ddd1161021957806318160ddd1461030f57806323b872dd1461033b57806325bdb2a81461034e5780632db115441461036e5780633ccfd60b1461038157600080fd5b806301ffc9a71461025657806306fdde031461028b578063081812fc146102ad578063095ea7b3146102e55780630cac36b2146102fa575b600080fd5b34801561026257600080fd5b50610276610271366004611e1b565b610765565b60405190151581526020015b60405180910390f35b34801561029757600080fd5b506102a06107b7565b6040516102829190611e90565b3480156102b957600080fd5b506102cd6102c8366004611ea3565b610849565b6040516001600160a01b039091168152602001610282565b6102f86102f3366004611ed8565b61088d565b005b34801561030657600080fd5b506102a061092d565b34801561031b57600080fd5b5061032d600154600054036000190190565b604051908152602001610282565b6102f8610349366004611f02565b61093c565b34801561035a57600080fd5b50600a5460ff166040516102829190611f54565b6102f861037c366004611ea3565b610acd565b34801561038d57600080fd5b506102f8610c04565b6102f86103a4366004611f02565b610cf6565b3480156103b557600080fd5b50600f5461032d565b3480156103ca57600080fd5b507f000000000000000000000000000000000000000000000000000000000000000061032d565b3480156103fd57600080fd5b506102f861040c366004612007565b610d16565b34801561041d57600080fd5b50600c5461032d565b34801561043257600080fd5b5061044661044136600461209a565b610d35565b6040516102829190612117565b34801561045f57600080fd5b506102cd61046e366004611ea3565b610e00565b34801561047f57600080fd5b5061032d61048e366004612159565b610e0b565b34801561049f57600080fd5b506102f8610e59565b6102f86104b6366004612174565b610e6d565b3480156104c757600080fd5b506102f86104d6366004611ea3565b611088565b3480156104e757600080fd5b506104fb6104f6366004612159565b611095565b60405161028291906121bf565b34801561051457600080fd5b506008546001600160a01b03166102cd565b34801561053257600080fd5b5060105460ff16610276565b34801561054a57600080fd5b506102a06111a4565b34801561055f57600080fd5b506104fb61056e3660046121f7565b6111b3565b34801561057f57600080fd5b506102f861133e565b34801561059457600080fd5b506102f86105a3366004612007565b61135c565b3480156105b457600080fd5b506102f86105c336600461223a565b611377565b3480156105d457600080fd5b506102f86113e3565b3480156105e957600080fd5b50600b5461032d565b3480156105fe57600080fd5b506102f861060d366004611ea3565b6113ff565b6102f861062036600461226d565b61140c565b34801561063157600080fd5b506102a0611456565b34801561064657600080fd5b5061065a610655366004611ea3565b611465565b60405161028291906122e8565b34801561067357600080fd5b506102a0610682366004611ea3565b6114ed565b34801561069357600080fd5b506102f86106a23660046122f6565b61160d565b3480156106b357600080fd5b506102766106c2366004612311565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156106fc57600080fd5b506102f861070b36600461233b565b611628565b34801561071c57600080fd5b506102f86116c6565b34801561073157600080fd5b506102f8610740366004612159565b6116e2565b34801561075157600080fd5b506102f8610760366004611ea3565b61175b565b60006301ffc9a760e01b6001600160e01b03198316148061079657506380ac58cd60e01b6001600160e01b03198316145b806107b15750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600280546107c69061235e565b80601f01602080910402602001604051908101604052809291908181526020018280546107f29061235e565b801561083f5780601f106108145761010080835404028352916020019161083f565b820191906000526020600020905b81548152906001019060200180831161082257829003601f168201915b5050505050905090565b600061085482611768565b610871576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061089882610e00565b9050336001600160a01b038216146108d1576108b481336106c2565b6108d1576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6060600e80546107c69061235e565b60006109478261179d565b9050836001600160a01b0316816001600160a01b03161461097a5760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b038816909114176109c7576109aa86336106c2565b6109c757604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0385166109ee57604051633a954ecd60e21b815260040160405180910390fd5b80156109f957600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040902055600160e11b8316610a845760018401600081815260046020526040902054610a82576000548114610a825760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b80600c546001821080610adf57508082115b15610afd57604051630eca20c960e11b815260040160405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000082610b30600154600054036000190190565b610b3a91906123af565b1115610b59576040516364be5a0760e11b815260040160405180910390fd5b8280600b54610b6891906123c7565b341015610b88576040516304a380e160e11b815260040160405180910390fd5b6002600a5460ff166002811115610ba157610ba1611f3e565b14610bbf5760405163de89b3c360e01b815260040160405180910390fd5b610bc93385611806565b60405184815233907f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d41213968859060200160405180910390a250505050565b610c0c611820565b60026009541415610c645760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064015b60405180910390fd5b60026009556000610c7d6008546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d8060008114610cc7576040519150601f19603f3d011682016040523d82523d6000602084013e610ccc565b606091505b5050905080610cee57604051630feba81d60e01b815260040160405180910390fd5b506001600955565b610d118383836040518060200160405280600081525061140c565b505050565b610d1e611820565b8051610d3190600d906020840190611d6c565b5050565b6060816000816001600160401b03811115610d5257610d52611f7c565b604051908082528060200260200182016040528015610da457816020015b604080516080810182526000808252602080830182905292820181905260608201528252600019909201910181610d705790505b50905060005b828114610df757610dd2868683818110610dc657610dc66123e6565b90506020020135611465565b828281518110610de457610de46123e6565b6020908102919091010152600101610daa565b50949350505050565b60006107b18261179d565b60006001600160a01b038216610e34576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600560205260409020546001600160401b031690565b610e61611820565b610e6b600061187a565b565b82600c546001821080610e7f57508082115b15610e9d57604051630eca20c960e11b815260040160405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000082610ed0600154600054036000190190565b610eda91906123af565b1115610ef9576040516364be5a0760e11b815260040160405180910390fd5b8480600b54610f0891906123c7565b341015610f28576040516304a380e160e11b815260040160405180910390fd5b6001600a5460ff166002811115610f4157610f41611f3e565b14610f5e5760405162b6155360e11b815260040160405180910390fd5b3360009081526011602052604090205460ff1615610f8f5760405163538c047d60e01b815260040160405180910390fd5b6040516bffffffffffffffffffffffff193360601b16602082015260009060340160405160208183030381529060405280519060200120905061100986868080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600f5491508490506118cc565b6110265760405163af227c3760e01b815260040160405180910390fd5b336000818152601160205260409020805460ff1916600117905561104a9088611806565b60405187815233907f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d41213968859060200160405180910390a250505050505050565b611090611820565b600f55565b606060008060006110a585610e0b565b90506000816001600160401b038111156110c1576110c1611f7c565b6040519080825280602002602001820160405280156110ea578160200160208202803683370190505b50905061111760408051608081018252600080825260208201819052918101829052606081019190915290565b60015b8386146111985761112a816118e2565b915081604001511561113b57611190565b81516001600160a01b03161561115057815194505b876001600160a01b0316856001600160a01b031614156111905780838780600101985081518110611183576111836123e6565b6020026020010181815250505b60010161111a565b50909695505050505050565b6060600380546107c69061235e565b60608183106111d557604051631960ccad60e11b815260040160405180910390fd5b6000806111e160005490565b905060018510156111f157600194505b808411156111fd578093505b600061120887610e0b565b9050848610156112275785850381811015611221578091505b5061122b565b5060005b6000816001600160401b0381111561124557611245611f7c565b60405190808252806020026020018201604052801561126e578160200160208202803683370190505b5090508161128157935061133792505050565b600061128c88611465565b90506000816040015161129d575080515b885b8881141580156112af5750848714155b1561132b576112bd816118e2565b92508260400151156112ce57611323565b82516001600160a01b0316156112e357825191505b8a6001600160a01b0316826001600160a01b031614156113235780848880600101995081518110611316576113166123e6565b6020026020010181815250505b60010161129f565b50505092835250909150505b9392505050565b611346611820565b600a80546001919060ff191682805b0217905550565b611364611820565b8051610d3190600e906020840190611d6c565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6113eb611820565b600a80546002919060ff1916600183611355565b611407611820565b600c55565b61141784848461093c565b6001600160a01b0383163b15611450576114338484848461191e565b611450576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060600d80546107c69061235e565b60408051608081018252600080825260208201819052918101829052606081019190915260408051608081018252600080825260208201819052918101829052606081019190915260018310806114be57506000548310155b156114c95792915050565b6114d2836118e2565b90508060400151156114e45792915050565b61133783611a16565b60606114f882611768565b61151557604051637ad113c160e01b815260040160405180910390fd5b60105460ff166115b157600d805461152c9061235e565b80601f01602080910402602001604051908101604052809291908181526020018280546115589061235e565b80156115a55780601f1061157a576101008083540402835291602001916115a5565b820191906000526020600020905b81548152906001019060200180831161158857829003601f168201915b50505050509050919050565b60006115bb61092d565b51116115d657604051806020016040528060008152506107b1565b6115de61092d565b6115e783611a4b565b6040516020016115f89291906123fc565b60405160208183030381529060405292915050565b611615611820565b6010805460ff1916911515919091179055565b81600c54600182108061163a57508082115b1561165857604051630eca20c960e11b815260040160405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000008261168b600154600054036000190190565b61169591906123af565b11156116b4576040516364be5a0760e11b815260040160405180910390fd5b6116bc611820565b6114508385611806565b6116ce611820565b600a80546000919060ff1916600183611355565b6116ea611820565b6001600160a01b03811661174f5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610c5b565b6117588161187a565b50565b611763611820565b600b55565b60008160011115801561177c575060005482105b80156107b1575050600090815260046020526040902054600160e01b161590565b600081806001116117ed576000548110156117ed57600081815260046020526040902054600160e01b81166117eb575b806113375750600019016000818152600460205260409020546117cd565b505b604051636f96cda160e11b815260040160405180910390fd5b610d31828260405180602001604052806000815250611b48565b6008546001600160a01b03163314610e6b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c5b565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6000826118d98584611bb5565b14949350505050565b6040805160808101825260008082526020820181905291810182905260608101919091526000828152600460205260409020546107b190611c02565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029061195390339089908890889060040161243b565b602060405180830381600087803b15801561196d57600080fd5b505af192505050801561199d575060408051601f3d908101601f1916820190925261199a91810190612478565b60015b6119f8573d8080156119cb576040519150601f19603f3d011682016040523d82523d6000602084013e6119d0565b606091505b5080516119f0576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6040805160808101825260008082526020820181905291810182905260608101919091526107b1611a468361179d565b611c02565b606081611a6f5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611a995780611a8381612495565b9150611a929050600a836124c6565b9150611a73565b6000816001600160401b03811115611ab357611ab3611f7c565b6040519080825280601f01601f191660200182016040528015611add576020820181803683370190505b5090505b8415611a0e57611af26001836124da565b9150611aff600a866124f1565b611b0a9060306123af565b60f81b818381518110611b1f57611b1f6123e6565b60200101906001600160f81b031916908160001a905350611b41600a866124c6565b9450611ae1565b611b528383611c49565b6001600160a01b0383163b15610d11576000548281035b611b7c600086838060010194508661191e565b611b99576040516368d2bf6b60e11b815260040160405180910390fd5b818110611b69578160005414611bae57600080fd5b5050505050565b600081815b8451811015611bfa57611be682868381518110611bd957611bd96123e6565b6020026020010151611d40565b915080611bf281612495565b915050611bba565b509392505050565b604080516080810182526001600160a01b038316815260a083901c6001600160401b03166020820152600160e01b831615159181019190915260e89190911c606082015290565b60005481611c6a5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b818114611d1957808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101611ce1565b5081611d3757604051622e076360e81b815260040160405180910390fd5b60005550505050565b6000818310611d5c576000828152602084905260409020611337565b5060009182526020526040902090565b828054611d789061235e565b90600052602060002090601f016020900481019282611d9a5760008555611de0565b82601f10611db357805160ff1916838001178555611de0565b82800160010185558215611de0579182015b82811115611de0578251825591602001919060010190611dc5565b50611dec929150611df0565b5090565b5b80821115611dec5760008155600101611df1565b6001600160e01b03198116811461175857600080fd5b600060208284031215611e2d57600080fd5b813561133781611e05565b60005b83811015611e53578181015183820152602001611e3b565b838111156114505750506000910152565b60008151808452611e7c816020860160208601611e38565b601f01601f19169290920160200192915050565b6020815260006113376020830184611e64565b600060208284031215611eb557600080fd5b5035919050565b80356001600160a01b0381168114611ed357600080fd5b919050565b60008060408385031215611eeb57600080fd5b611ef483611ebc565b946020939093013593505050565b600080600060608486031215611f1757600080fd5b611f2084611ebc565b9250611f2e60208501611ebc565b9150604084013590509250925092565b634e487b7160e01b600052602160045260246000fd5b6020810160038310611f7657634e487b7160e01b600052602160045260246000fd5b91905290565b634e487b7160e01b600052604160045260246000fd5b60006001600160401b0380841115611fac57611fac611f7c565b604051601f8501601f19908116603f01168101908282118183101715611fd457611fd4611f7c565b81604052809350858152868686011115611fed57600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561201957600080fd5b81356001600160401b0381111561202f57600080fd5b8201601f8101841361204057600080fd5b611a0e84823560208401611f92565b60008083601f84011261206157600080fd5b5081356001600160401b0381111561207857600080fd5b6020830191508360208260051b850101111561209357600080fd5b9250929050565b600080602083850312156120ad57600080fd5b82356001600160401b038111156120c357600080fd5b6120cf8582860161204f565b90969095509350505050565b80516001600160a01b031682526020808201516001600160401b03169083015260408082015115159083015260609081015162ffffff16910152565b6020808252825182820181905260009190848201906040850190845b81811015611198576121468385516120db565b9284019260809290920191600101612133565b60006020828403121561216b57600080fd5b61133782611ebc565b60008060006040848603121561218957600080fd5b8335925060208401356001600160401b038111156121a657600080fd5b6121b28682870161204f565b9497909650939450505050565b6020808252825182820181905260009190848201906040850190845b81811015611198578351835292840192918401916001016121db565b60008060006060848603121561220c57600080fd5b61221584611ebc565b95602085013595506040909401359392505050565b80358015158114611ed357600080fd5b6000806040838503121561224d57600080fd5b61225683611ebc565b91506122646020840161222a565b90509250929050565b6000806000806080858703121561228357600080fd5b61228c85611ebc565b935061229a60208601611ebc565b92506040850135915060608501356001600160401b038111156122bc57600080fd5b8501601f810187136122cd57600080fd5b6122dc87823560208401611f92565b91505092959194509250565b608081016107b182846120db565b60006020828403121561230857600080fd5b6113378261222a565b6000806040838503121561232457600080fd5b61232d83611ebc565b915061226460208401611ebc565b6000806040838503121561234e57600080fd5b8235915061226460208401611ebc565b600181811c9082168061237257607f821691505b6020821081141561239357634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b600082198211156123c2576123c2612399565b500190565b60008160001904831182151516156123e1576123e1612399565b500290565b634e487b7160e01b600052603260045260246000fd5b6000835161240e818460208801611e38565b835190830190612422818360208801611e38565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061246e90830184611e64565b9695505050505050565b60006020828403121561248a57600080fd5b815161133781611e05565b60006000198214156124a9576124a9612399565b5060010190565b634e487b7160e01b600052601260045260246000fd5b6000826124d5576124d56124b0565b500490565b6000828210156124ec576124ec612399565b500390565b600082612500576125006124b0565b50069056fea26469706673582212208a66fe4843da9efcb9ecf44eadeb4c7bd4cfb7ea3c5f9fa66955ae36b1ed938964736f6c6343000809003300000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000003e7000000000000000000000000000000000000000000000000001aa535d3d0c0000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000d537061636520526f616469657300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000573526f61640000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000043697066733a2f2f6261667962656962676177336c70347a686b686e76747a73716f63356975676f7a6d7373746f3571657163687370326d376d7162756a6a707063692f0000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106102515760003560e01c80638462151c11610139578063b071401b116100b6578063e0a808531161007a578063e0a8085314610687578063e985e9c5146106a7578063efbd73f4146106f0578063f2dc6b3314610710578063f2fde38b14610725578063f4a0a5281461074557600080fd5b8063b071401b146105f2578063b88d4fde14610612578063b98dd23714610625578063c23dc68f1461063a578063c87b56dd1461066757600080fd5b80639e79effc116100fd5780639e79effc14610573578063a0bcfc7f14610588578063a22cb465146105a8578063a74773ad146105c8578063a7f93ebd146105dd57600080fd5b80638462151c146104db5780638da5cb5b1461050857806394cc41401461052657806395d89b411461053e57806399a2557a1461055357600080fd5b806342842e0e116101d25780635bbb2177116101965780635bbb2177146104265780636352211e1461045357806370a0823114610473578063715018a6146104935780637bc9200e146104a85780637cb64759146104bb57600080fd5b806342842e0e1461039657806349590657146103a95780634c0f38c2146103be5780634fdd43cb146103f1578063598195561461041157600080fd5b806318160ddd1161021957806318160ddd1461030f57806323b872dd1461033b57806325bdb2a81461034e5780632db115441461036e5780633ccfd60b1461038157600080fd5b806301ffc9a71461025657806306fdde031461028b578063081812fc146102ad578063095ea7b3146102e55780630cac36b2146102fa575b600080fd5b34801561026257600080fd5b50610276610271366004611e1b565b610765565b60405190151581526020015b60405180910390f35b34801561029757600080fd5b506102a06107b7565b6040516102829190611e90565b3480156102b957600080fd5b506102cd6102c8366004611ea3565b610849565b6040516001600160a01b039091168152602001610282565b6102f86102f3366004611ed8565b61088d565b005b34801561030657600080fd5b506102a061092d565b34801561031b57600080fd5b5061032d600154600054036000190190565b604051908152602001610282565b6102f8610349366004611f02565b61093c565b34801561035a57600080fd5b50600a5460ff166040516102829190611f54565b6102f861037c366004611ea3565b610acd565b34801561038d57600080fd5b506102f8610c04565b6102f86103a4366004611f02565b610cf6565b3480156103b557600080fd5b50600f5461032d565b3480156103ca57600080fd5b507f00000000000000000000000000000000000000000000000000000000000003e761032d565b3480156103fd57600080fd5b506102f861040c366004612007565b610d16565b34801561041d57600080fd5b50600c5461032d565b34801561043257600080fd5b5061044661044136600461209a565b610d35565b6040516102829190612117565b34801561045f57600080fd5b506102cd61046e366004611ea3565b610e00565b34801561047f57600080fd5b5061032d61048e366004612159565b610e0b565b34801561049f57600080fd5b506102f8610e59565b6102f86104b6366004612174565b610e6d565b3480156104c757600080fd5b506102f86104d6366004611ea3565b611088565b3480156104e757600080fd5b506104fb6104f6366004612159565b611095565b60405161028291906121bf565b34801561051457600080fd5b506008546001600160a01b03166102cd565b34801561053257600080fd5b5060105460ff16610276565b34801561054a57600080fd5b506102a06111a4565b34801561055f57600080fd5b506104fb61056e3660046121f7565b6111b3565b34801561057f57600080fd5b506102f861133e565b34801561059457600080fd5b506102f86105a3366004612007565b61135c565b3480156105b457600080fd5b506102f86105c336600461223a565b611377565b3480156105d457600080fd5b506102f86113e3565b3480156105e957600080fd5b50600b5461032d565b3480156105fe57600080fd5b506102f861060d366004611ea3565b6113ff565b6102f861062036600461226d565b61140c565b34801561063157600080fd5b506102a0611456565b34801561064657600080fd5b5061065a610655366004611ea3565b611465565b60405161028291906122e8565b34801561067357600080fd5b506102a0610682366004611ea3565b6114ed565b34801561069357600080fd5b506102f86106a23660046122f6565b61160d565b3480156106b357600080fd5b506102766106c2366004612311565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156106fc57600080fd5b506102f861070b36600461233b565b611628565b34801561071c57600080fd5b506102f86116c6565b34801561073157600080fd5b506102f8610740366004612159565b6116e2565b34801561075157600080fd5b506102f8610760366004611ea3565b61175b565b60006301ffc9a760e01b6001600160e01b03198316148061079657506380ac58cd60e01b6001600160e01b03198316145b806107b15750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600280546107c69061235e565b80601f01602080910402602001604051908101604052809291908181526020018280546107f29061235e565b801561083f5780601f106108145761010080835404028352916020019161083f565b820191906000526020600020905b81548152906001019060200180831161082257829003601f168201915b5050505050905090565b600061085482611768565b610871576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061089882610e00565b9050336001600160a01b038216146108d1576108b481336106c2565b6108d1576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6060600e80546107c69061235e565b60006109478261179d565b9050836001600160a01b0316816001600160a01b03161461097a5760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b038816909114176109c7576109aa86336106c2565b6109c757604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0385166109ee57604051633a954ecd60e21b815260040160405180910390fd5b80156109f957600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040902055600160e11b8316610a845760018401600081815260046020526040902054610a82576000548114610a825760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b80600c546001821080610adf57508082115b15610afd57604051630eca20c960e11b815260040160405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000003e782610b30600154600054036000190190565b610b3a91906123af565b1115610b59576040516364be5a0760e11b815260040160405180910390fd5b8280600b54610b6891906123c7565b341015610b88576040516304a380e160e11b815260040160405180910390fd5b6002600a5460ff166002811115610ba157610ba1611f3e565b14610bbf5760405163de89b3c360e01b815260040160405180910390fd5b610bc93385611806565b60405184815233907f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d41213968859060200160405180910390a250505050565b610c0c611820565b60026009541415610c645760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064015b60405180910390fd5b60026009556000610c7d6008546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d8060008114610cc7576040519150601f19603f3d011682016040523d82523d6000602084013e610ccc565b606091505b5050905080610cee57604051630feba81d60e01b815260040160405180910390fd5b506001600955565b610d118383836040518060200160405280600081525061140c565b505050565b610d1e611820565b8051610d3190600d906020840190611d6c565b5050565b6060816000816001600160401b03811115610d5257610d52611f7c565b604051908082528060200260200182016040528015610da457816020015b604080516080810182526000808252602080830182905292820181905260608201528252600019909201910181610d705790505b50905060005b828114610df757610dd2868683818110610dc657610dc66123e6565b90506020020135611465565b828281518110610de457610de46123e6565b6020908102919091010152600101610daa565b50949350505050565b60006107b18261179d565b60006001600160a01b038216610e34576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600560205260409020546001600160401b031690565b610e61611820565b610e6b600061187a565b565b82600c546001821080610e7f57508082115b15610e9d57604051630eca20c960e11b815260040160405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000003e782610ed0600154600054036000190190565b610eda91906123af565b1115610ef9576040516364be5a0760e11b815260040160405180910390fd5b8480600b54610f0891906123c7565b341015610f28576040516304a380e160e11b815260040160405180910390fd5b6001600a5460ff166002811115610f4157610f41611f3e565b14610f5e5760405162b6155360e11b815260040160405180910390fd5b3360009081526011602052604090205460ff1615610f8f5760405163538c047d60e01b815260040160405180910390fd5b6040516bffffffffffffffffffffffff193360601b16602082015260009060340160405160208183030381529060405280519060200120905061100986868080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600f5491508490506118cc565b6110265760405163af227c3760e01b815260040160405180910390fd5b336000818152601160205260409020805460ff1916600117905561104a9088611806565b60405187815233907f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d41213968859060200160405180910390a250505050505050565b611090611820565b600f55565b606060008060006110a585610e0b565b90506000816001600160401b038111156110c1576110c1611f7c565b6040519080825280602002602001820160405280156110ea578160200160208202803683370190505b50905061111760408051608081018252600080825260208201819052918101829052606081019190915290565b60015b8386146111985761112a816118e2565b915081604001511561113b57611190565b81516001600160a01b03161561115057815194505b876001600160a01b0316856001600160a01b031614156111905780838780600101985081518110611183576111836123e6565b6020026020010181815250505b60010161111a565b50909695505050505050565b6060600380546107c69061235e565b60608183106111d557604051631960ccad60e11b815260040160405180910390fd5b6000806111e160005490565b905060018510156111f157600194505b808411156111fd578093505b600061120887610e0b565b9050848610156112275785850381811015611221578091505b5061122b565b5060005b6000816001600160401b0381111561124557611245611f7c565b60405190808252806020026020018201604052801561126e578160200160208202803683370190505b5090508161128157935061133792505050565b600061128c88611465565b90506000816040015161129d575080515b885b8881141580156112af5750848714155b1561132b576112bd816118e2565b92508260400151156112ce57611323565b82516001600160a01b0316156112e357825191505b8a6001600160a01b0316826001600160a01b031614156113235780848880600101995081518110611316576113166123e6565b6020026020010181815250505b60010161129f565b50505092835250909150505b9392505050565b611346611820565b600a80546001919060ff191682805b0217905550565b611364611820565b8051610d3190600e906020840190611d6c565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6113eb611820565b600a80546002919060ff1916600183611355565b611407611820565b600c55565b61141784848461093c565b6001600160a01b0383163b15611450576114338484848461191e565b611450576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060600d80546107c69061235e565b60408051608081018252600080825260208201819052918101829052606081019190915260408051608081018252600080825260208201819052918101829052606081019190915260018310806114be57506000548310155b156114c95792915050565b6114d2836118e2565b90508060400151156114e45792915050565b61133783611a16565b60606114f882611768565b61151557604051637ad113c160e01b815260040160405180910390fd5b60105460ff166115b157600d805461152c9061235e565b80601f01602080910402602001604051908101604052809291908181526020018280546115589061235e565b80156115a55780601f1061157a576101008083540402835291602001916115a5565b820191906000526020600020905b81548152906001019060200180831161158857829003601f168201915b50505050509050919050565b60006115bb61092d565b51116115d657604051806020016040528060008152506107b1565b6115de61092d565b6115e783611a4b565b6040516020016115f89291906123fc565b60405160208183030381529060405292915050565b611615611820565b6010805460ff1916911515919091179055565b81600c54600182108061163a57508082115b1561165857604051630eca20c960e11b815260040160405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000003e78261168b600154600054036000190190565b61169591906123af565b11156116b4576040516364be5a0760e11b815260040160405180910390fd5b6116bc611820565b6114508385611806565b6116ce611820565b600a80546000919060ff1916600183611355565b6116ea611820565b6001600160a01b03811661174f5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610c5b565b6117588161187a565b50565b611763611820565b600b55565b60008160011115801561177c575060005482105b80156107b1575050600090815260046020526040902054600160e01b161590565b600081806001116117ed576000548110156117ed57600081815260046020526040902054600160e01b81166117eb575b806113375750600019016000818152600460205260409020546117cd565b505b604051636f96cda160e11b815260040160405180910390fd5b610d31828260405180602001604052806000815250611b48565b6008546001600160a01b03163314610e6b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c5b565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6000826118d98584611bb5565b14949350505050565b6040805160808101825260008082526020820181905291810182905260608101919091526000828152600460205260409020546107b190611c02565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029061195390339089908890889060040161243b565b602060405180830381600087803b15801561196d57600080fd5b505af192505050801561199d575060408051601f3d908101601f1916820190925261199a91810190612478565b60015b6119f8573d8080156119cb576040519150601f19603f3d011682016040523d82523d6000602084013e6119d0565b606091505b5080516119f0576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6040805160808101825260008082526020820181905291810182905260608101919091526107b1611a468361179d565b611c02565b606081611a6f5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611a995780611a8381612495565b9150611a929050600a836124c6565b9150611a73565b6000816001600160401b03811115611ab357611ab3611f7c565b6040519080825280601f01601f191660200182016040528015611add576020820181803683370190505b5090505b8415611a0e57611af26001836124da565b9150611aff600a866124f1565b611b0a9060306123af565b60f81b818381518110611b1f57611b1f6123e6565b60200101906001600160f81b031916908160001a905350611b41600a866124c6565b9450611ae1565b611b528383611c49565b6001600160a01b0383163b15610d11576000548281035b611b7c600086838060010194508661191e565b611b99576040516368d2bf6b60e11b815260040160405180910390fd5b818110611b69578160005414611bae57600080fd5b5050505050565b600081815b8451811015611bfa57611be682868381518110611bd957611bd96123e6565b6020026020010151611d40565b915080611bf281612495565b915050611bba565b509392505050565b604080516080810182526001600160a01b038316815260a083901c6001600160401b03166020820152600160e01b831615159181019190915260e89190911c606082015290565b60005481611c6a5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b818114611d1957808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101611ce1565b5081611d3757604051622e076360e81b815260040160405180910390fd5b60005550505050565b6000818310611d5c576000828152602084905260409020611337565b5060009182526020526040902090565b828054611d789061235e565b90600052602060002090601f016020900481019282611d9a5760008555611de0565b82601f10611db357805160ff1916838001178555611de0565b82800160010185558215611de0579182015b82811115611de0578251825591602001919060010190611dc5565b50611dec929150611df0565b5090565b5b80821115611dec5760008155600101611df1565b6001600160e01b03198116811461175857600080fd5b600060208284031215611e2d57600080fd5b813561133781611e05565b60005b83811015611e53578181015183820152602001611e3b565b838111156114505750506000910152565b60008151808452611e7c816020860160208601611e38565b601f01601f19169290920160200192915050565b6020815260006113376020830184611e64565b600060208284031215611eb557600080fd5b5035919050565b80356001600160a01b0381168114611ed357600080fd5b919050565b60008060408385031215611eeb57600080fd5b611ef483611ebc565b946020939093013593505050565b600080600060608486031215611f1757600080fd5b611f2084611ebc565b9250611f2e60208501611ebc565b9150604084013590509250925092565b634e487b7160e01b600052602160045260246000fd5b6020810160038310611f7657634e487b7160e01b600052602160045260246000fd5b91905290565b634e487b7160e01b600052604160045260246000fd5b60006001600160401b0380841115611fac57611fac611f7c565b604051601f8501601f19908116603f01168101908282118183101715611fd457611fd4611f7c565b81604052809350858152868686011115611fed57600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561201957600080fd5b81356001600160401b0381111561202f57600080fd5b8201601f8101841361204057600080fd5b611a0e84823560208401611f92565b60008083601f84011261206157600080fd5b5081356001600160401b0381111561207857600080fd5b6020830191508360208260051b850101111561209357600080fd5b9250929050565b600080602083850312156120ad57600080fd5b82356001600160401b038111156120c357600080fd5b6120cf8582860161204f565b90969095509350505050565b80516001600160a01b031682526020808201516001600160401b03169083015260408082015115159083015260609081015162ffffff16910152565b6020808252825182820181905260009190848201906040850190845b81811015611198576121468385516120db565b9284019260809290920191600101612133565b60006020828403121561216b57600080fd5b61133782611ebc565b60008060006040848603121561218957600080fd5b8335925060208401356001600160401b038111156121a657600080fd5b6121b28682870161204f565b9497909650939450505050565b6020808252825182820181905260009190848201906040850190845b81811015611198578351835292840192918401916001016121db565b60008060006060848603121561220c57600080fd5b61221584611ebc565b95602085013595506040909401359392505050565b80358015158114611ed357600080fd5b6000806040838503121561224d57600080fd5b61225683611ebc565b91506122646020840161222a565b90509250929050565b6000806000806080858703121561228357600080fd5b61228c85611ebc565b935061229a60208601611ebc565b92506040850135915060608501356001600160401b038111156122bc57600080fd5b8501601f810187136122cd57600080fd5b6122dc87823560208401611f92565b91505092959194509250565b608081016107b182846120db565b60006020828403121561230857600080fd5b6113378261222a565b6000806040838503121561232457600080fd5b61232d83611ebc565b915061226460208401611ebc565b6000806040838503121561234e57600080fd5b8235915061226460208401611ebc565b600181811c9082168061237257607f821691505b6020821081141561239357634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b600082198211156123c2576123c2612399565b500190565b60008160001904831182151516156123e1576123e1612399565b500290565b634e487b7160e01b600052603260045260246000fd5b6000835161240e818460208801611e38565b835190830190612422818360208801611e38565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061246e90830184611e64565b9695505050505050565b60006020828403121561248a57600080fd5b815161133781611e05565b60006000198214156124a9576124a9612399565b5060010190565b634e487b7160e01b600052601260045260246000fd5b6000826124d5576124d56124b0565b500490565b6000828210156124ec576124ec612399565b500390565b600082612500576125006124b0565b50069056fea26469706673582212208a66fe4843da9efcb9ecf44eadeb4c7bd4cfb7ea3c5f9fa66955ae36b1ed938964736f6c63430008090033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000003e7000000000000000000000000000000000000000000000000001aa535d3d0c0000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000d537061636520526f616469657300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000573526f61640000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000043697066733a2f2f6261667962656962676177336c70347a686b686e76747a73716f63356975676f7a6d7373746f3571657163687370326d376d7162756a6a707063692f0000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : nftName (string): Space Roadies
Arg [1] : nftSymbol (string): sRoad
Arg [2] : hiddenMetadataUri (string): ipfs://bafybeibgaw3lp4zhkhnvtzsqoc5iugozmssto5qeqchsp2m7mqbujjppci/
Arg [3] : maxSupply (uint256): 999
Arg [4] : mintPrice (uint256): 7500000000000000
Arg [5] : maxMintAmountPerTx (uint256): 2
-----Encoded View---------------
14 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000140
Arg [3] : 00000000000000000000000000000000000000000000000000000000000003e7
Arg [4] : 000000000000000000000000000000000000000000000000001aa535d3d0c000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [6] : 000000000000000000000000000000000000000000000000000000000000000d
Arg [7] : 537061636520526f616469657300000000000000000000000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [9] : 73526f6164000000000000000000000000000000000000000000000000000000
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000043
Arg [11] : 697066733a2f2f6261667962656962676177336c70347a686b686e76747a7371
Arg [12] : 6f63356975676f7a6d7373746f3571657163687370326d376d7162756a6a7070
Arg [13] : 63692f0000000000000000000000000000000000000000000000000000000000
Deployed Bytecode Sourcemap
78446:6097:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35978:639;;;;;;;;;;-1:-1:-1;35978:639:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;35978:639:0;;;;;;;;36880:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;43371:218::-;;;;;;;;;;-1:-1:-1;43371:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1692:32:1;;;1674:51;;1662:2;1647:18;43371:218:0;1528:203:1;42804:408:0;;;;;;:::i;:::-;;:::i;:::-;;83162:92;;;;;;;;;;;;;:::i;32631:323::-;;;;;;;;;;;;78778:1;32905:12;32692:7;32889:13;:28;-1:-1:-1;;32889:46:0;;32631:323;;;;2319:25:1;;;2307:2;2292:18;32631:323:0;2173:177:1;47010:2825:0;;;;;;:::i;:::-;;:::i;82630:92::-;;;;;;;;;;-1:-1:-1;82704:10:0;;;;82630:92;;;;;;:::i;81001:391::-;;;;;;:::i;:::-;;:::i;81622:232::-;;;;;;;;;;;;;:::i;49931:193::-;;;;;;:::i;:::-;;:::i;83262:92::-;;;;;;;;;;-1:-1:-1;83335:11:0;;83262:92;;82730:90;;;;;;;;;;-1:-1:-1;82802:10:0;82730:90;;84062:162;;;;;;;;;;-1:-1:-1;84062:162:0;;;;;:::i;:::-;;:::i;82926:108::-;;;;;;;;;;-1:-1:-1;83007:19:0;;82926:108;;73201:528;;;;;;;;;;-1:-1:-1;73201:528:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;38273:152::-;;;;;;;;;;-1:-1:-1;38273:152:0;;;;;:::i;:::-;;:::i;33815:233::-;;;;;;;;;;-1:-1:-1;33815:233:0;;;;;:::i;:::-;;:::i;16757:103::-;;;;;;;;;;;;;:::i;80208:785::-;;;;;;:::i;:::-;;:::i;84339:105::-;;;;;;;;;;-1:-1:-1;84339:105:0;;;;;:::i;:::-;;:::i;77077:900::-;;;;;;;;;;-1:-1:-1;77077:900:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;16109:87::-;;;;;;;;;;-1:-1:-1;16182:6:0;;-1:-1:-1;;;;;16182:6:0;16109:87;;83362:85;;;;;;;;;;-1:-1:-1;83430:9:0;;;;83362:85;;37056:104;;;;;;;;;;;;;:::i;74117:2513::-;;;;;;;;;;-1:-1:-1;74117:2513:0;;;;;:::i;:::-;;:::i;83481:100::-;;;;;;;;;;;;;:::i;84232:99::-;;;;;;;;;;-1:-1:-1;84232:99:0;;;;;:::i;:::-;;:::i;43929:234::-;;;;;;;;;;-1:-1:-1;43929:234:0;;;;;:::i;:::-;;:::i;83589:94::-;;;;;;;;;;;;;:::i;82828:90::-;;;;;;;;;;-1:-1:-1;82900:10:0;;82828:90;;83894:160;;;;;;;;;;-1:-1:-1;83894:160:0;;;;;:::i;:::-;;:::i;50722:407::-;;;;;;:::i;:::-;;:::i;83042:112::-;;;;;;;;;;;;;:::i;72614:428::-;;;;;;;;;;-1:-1:-1;72614:428:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;81862:495::-;;;;;;;;;;-1:-1:-1;81862:495:0;;;;;:::i;:::-;;:::i;84452:88::-;;;;;;;;;;-1:-1:-1;84452:88:0;;;;;:::i;:::-;;:::i;44320:164::-;;;;;;;;;;-1:-1:-1;44320:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;44441:25:0;;;44417:4;44441:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;44320:164;81400:214;;;;;;;;;;-1:-1:-1;81400:214:0;;;;;:::i;:::-;;:::i;83691:86::-;;;;;;;;;;;;;:::i;17015:201::-;;;;;;;;;;-1:-1:-1;17015:201:0;;;;;:::i;:::-;;:::i;83785:101::-;;;;;;;;;;-1:-1:-1;83785:101:0;;;;;:::i;:::-;;:::i;35978:639::-;36063:4;-1:-1:-1;;;;;;;;;36387:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;36464:25:0;;;36387:102;:179;;;-1:-1:-1;;;;;;;;;;36541:25:0;;;36387:179;36367:199;35978:639;-1:-1:-1;;35978:639:0:o;36880:100::-;36934:13;36967:5;36960:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36880:100;:::o;43371:218::-;43447:7;43472:16;43480:7;43472;:16::i;:::-;43467:64;;43497:34;;-1:-1:-1;;;43497:34:0;;;;;;;;;;;43467:64;-1:-1:-1;43551:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;43551:30:0;;43371:218::o;42804:408::-;42893:13;42909:16;42917:7;42909;:16::i;:::-;42893:32;-1:-1:-1;67137:10:0;-1:-1:-1;;;;;42942:28:0;;;42938:175;;42990:44;43007:5;67137:10;44320:164;:::i;42990:44::-;42985:128;;43062:35;;-1:-1:-1;;;43062:35:0;;;;;;;;;;;42985:128;43125:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;43125:35:0;-1:-1:-1;;;;;43125:35:0;;;;;;;;;43176:28;;43125:24;;43176:28;;;;;;;42882:330;42804:408;;:::o;83162:92::-;83205:13;83238:8;83231:15;;;;;:::i;47010:2825::-;47152:27;47182;47201:7;47182:18;:27::i;:::-;47152:57;;47267:4;-1:-1:-1;;;;;47226:45:0;47242:19;-1:-1:-1;;;;;47226:45:0;;47222:86;;47280:28;;-1:-1:-1;;;47280:28:0;;;;;;;;;;;47222:86;47322:27;46118:24;;;:15;:24;;;;;46346:26;;67137:10;45743:30;;;-1:-1:-1;;;;;45436:28:0;;45721:20;;;45718:56;47508:180;;47601:43;47618:4;67137:10;44320:164;:::i;47601:43::-;47596:92;;47653:35;;-1:-1:-1;;;47653:35:0;;;;;;;;;;;47596:92;-1:-1:-1;;;;;47705:16:0;;47701:52;;47730:23;;-1:-1:-1;;;47730:23:0;;;;;;;;;;;47701:52;47902:15;47899:160;;;48042:1;48021:19;48014:30;47899:160;-1:-1:-1;;;;;48439:24:0;;;;;;;:18;:24;;;;;;48437:26;;-1:-1:-1;;48437:26:0;;;48508:22;;;;;;;;;48506:24;;-1:-1:-1;48506:24:0;;;41662:11;41637:23;41633:41;41620:63;-1:-1:-1;;;41620:63:0;48801:26;;;;:17;:26;;;;;:175;-1:-1:-1;;;49096:47:0;;49092:627;;49201:1;49191:11;;49169:19;49324:30;;;:17;:30;;;;;;49320:384;;49462:13;;49447:11;:28;49443:242;;49609:30;;;;:17;:30;;;;;:52;;;49443:242;49150:569;49092:627;49766:7;49762:2;-1:-1:-1;;;;;49747:27:0;49756:4;-1:-1:-1;;;;;49747:27:0;;;;;;;;;;;47141:2694;;;47010:2825;;;:::o;81001:391::-;81099:11;81112:19;;79764:1;79750:11;:15;:47;;;;79783:14;79769:11;:28;79750:47;79746:109;;;79819:36;;-1:-1:-1;;;79819:36:0;;;;;;;;;;;79746:109;79902:10;79888:11;79872:13;78778:1;32905:12;32692:7;32889:13;:28;-1:-1:-1;;32889:46:0;;32631:323;79872:13;:27;;;;:::i;:::-;:40;79868:102;;;79934:36;;-1:-1:-1;;;79934:36:0;;;;;;;;;;;79868:102;81162:11:::1;80090;80077:10;;:24;;;;:::i;:::-;80065:9;:36;80061:98;;;80123:36;;-1:-1:-1::0;;;80123:36:0::1;;;;;;;;;;;80061:98;81209:20:::2;81195:10;::::0;::::2;;:34;::::0;::::2;;;;;;:::i;:::-;;81191:95;;81251:35;;-1:-1:-1::0;;;81251:35:0::2;;;;;;;;;;;81191:95;81299:36;67137:10:::0;81323:11:::2;81299:9;:36::i;:::-;81353:31;::::0;2319:25:1;;;67137:10:0;;81353:31:::2;::::0;2307:2:1;2292:18;81353:31:0::2;;;;;;;79983:1:::1;81001:391:::0;;;:::o;81622:232::-;15995:13;:11;:13::i;:::-;13034:1:::1;13632:7;;:19;;13624:63;;;::::0;-1:-1:-1;;;13624:63:0;;11420:2:1;13624:63:0::1;::::0;::::1;11402:21:1::0;11459:2;11439:18;;;11432:30;11498:33;11478:18;;;11471:61;11549:18;;13624:63:0::1;;;;;;;;;13034:1;13765:7;:18:::0;81684:12:::2;81710:7;16182:6:::0;;-1:-1:-1;;;;;16182:6:0;;16109:87;81710:7:::2;-1:-1:-1::0;;;;;81702:21:0::2;81731;81702:79;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;81683:98;;;81797:7;81792:54;;81813:33;;-1:-1:-1::0;;;81813:33:0::2;;;;;;;;;;;81792:54;-1:-1:-1::0;12990:1:0::1;13944:7;:22:::0;81622:232::o;49931:193::-;50077:39;50094:4;50100:2;50104:7;50077:39;;;;;;;;;;;;:16;:39::i;:::-;49931:193;;;:::o;84062:162::-;15995:13;:11;:13::i;:::-;84177:39;;::::1;::::0;:18:::1;::::0;:39:::1;::::0;::::1;::::0;::::1;:::i;:::-;;84062:162:::0;:::o;73201:528::-;73345:23;73436:8;73411:22;73436:8;-1:-1:-1;;;;;73503:36:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;73503:36:0;;-1:-1:-1;;73503:36:0;;;;;;;;;;;;73466:73;;73559:9;73554:125;73575:14;73570:1;:19;73554:125;;73631:32;73651:8;;73660:1;73651:11;;;;;;;:::i;:::-;;;;;;;73631:19;:32::i;:::-;73615:10;73626:1;73615:13;;;;;;;;:::i;:::-;;;;;;;;;;:48;73591:3;;73554:125;;;-1:-1:-1;73700:10:0;73201:528;-1:-1:-1;;;;73201:528:0:o;38273:152::-;38345:7;38388:27;38407:7;38388:18;:27::i;33815:233::-;33887:7;-1:-1:-1;;;;;33911:19:0;;33907:60;;33939:28;;-1:-1:-1;;;33939:28:0;;;;;;;;;;;33907:60;-1:-1:-1;;;;;;33985:25:0;;;;;:18;:25;;;;;;-1:-1:-1;;;;;33985:55:0;;33815:233::o;16757:103::-;15995:13;:11;:13::i;:::-;16822:30:::1;16849:1;16822:18;:30::i;:::-;16757:103::o:0;80208:785::-;80342:11;80355:19;;79764:1;79750:11;:15;:47;;;;79783:14;79769:11;:28;79750:47;79746:109;;;79819:36;;-1:-1:-1;;;79819:36:0;;;;;;;;;;;79746:109;79902:10;79888:11;79872:13;78778:1;32905:12;32692:7;32889:13;:28;-1:-1:-1;;32889:46:0;;32631:323;79872:13;:27;;;;:::i;:::-;:40;79868:102;;;79934:36;;-1:-1:-1;;;79934:36:0;;;;;;;;;;;79868:102;80405:11:::1;80090;80077:10;;:24;;;;:::i;:::-;80065:9;:36;80061:98;;;80123:36;;-1:-1:-1::0;;;80123:36:0::1;;;;;;;;;;;80061:98;80452:23:::2;80438:10;::::0;::::2;;:37;::::0;::::2;;;;;;:::i;:::-;;80434:101;;80497:38;;-1:-1:-1::0;;;80497:38:0::2;;;;;;;;;;;80434:101;67137:10:::0;80552:31:::2;::::0;;;:17:::2;:31;::::0;;;;;::::2;;80548:97;;;80605:40;;-1:-1:-1::0;;;80605:40:0::2;;;;;;;;;;;80548:97;80683:30;::::0;-1:-1:-1;;67137:10:0;12069:2:1;12065:15;12061:53;80683:30:0::2;::::0;::::2;12049:66:1::0;80658:12:0::2;::::0;12131::1;;80683:30:0::2;;;;;;;;;;;;80673:41;;;;;;80658:56;;80732:51;80751:12;;80732:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::2;::::0;;;;-1:-1:-1;;80765:11:0::2;::::0;;-1:-1:-1;80778:4:0;;-1:-1:-1;80732:18:0::2;:51::i;:::-;80727:109;;80805:31;;-1:-1:-1::0;;;80805:31:0::2;;;;;;;;;;;80727:109;67137:10:::0;80849:31:::2;::::0;;;:17:::2;:31;::::0;;;;:38;;-1:-1:-1;;80849:38:0::2;80883:4;80849:38;::::0;;80900:36:::2;::::0;80924:11;80900:9:::2;:36::i;:::-;80954:31;::::0;2319:25:1;;;67137:10:0;;80954:31:::2;::::0;2307:2:1;2292:18;80954:31:0::2;;;;;;;80423:570;79983:1:::1;80208:785:::0;;;;;:::o;84339:105::-;15995:13;:11;:13::i;:::-;84411:11:::1;:25:::0;84339:105::o;77077:900::-;77155:16;77209:19;77243:25;77283:22;77308:16;77318:5;77308:9;:16::i;:::-;77283:41;;77339:25;77381:14;-1:-1:-1;;;;;77367:29:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;77367:29:0;;77339:57;;77411:31;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;77411:31:0;78778:1;77457:472;77506:14;77491:11;:29;77457:472;;77558:15;77571:1;77558:12;:15::i;:::-;77546:27;;77596:9;:16;;;77592:73;;;77637:8;;77592:73;77687:14;;-1:-1:-1;;;;;77687:28:0;;77683:111;;77760:14;;;-1:-1:-1;77683:111:0;77837:5;-1:-1:-1;;;;;77816:26:0;:17;-1:-1:-1;;;;;77816:26:0;;77812:102;;;77893:1;77867:8;77876:13;;;;;;77867:23;;;;;;;;:::i;:::-;;;;;;:27;;;;;77812:102;77522:3;;77457:472;;;-1:-1:-1;77950:8:0;;77077:900;-1:-1:-1;;;;;;77077:900:0:o;37056:104::-;37112:13;37145:7;37138:14;;;;;:::i;74117:2513::-;74260:16;74327:4;74318:5;:13;74314:45;;74340:19;;-1:-1:-1;;;74340:19:0;;;;;;;;;;;74314:45;74374:19;74408:17;74428:14;32373:7;32400:13;;32318:103;74428:14;74408:34;-1:-1:-1;78778:1:0;74520:5;:23;74516:87;;;78778:1;74564:23;;74516:87;74679:9;74672:4;:16;74668:73;;;74716:9;74709:16;;74668:73;74755:25;74783:16;74793:5;74783:9;:16::i;:::-;74755:44;;74977:4;74969:5;:12;74965:278;;;75024:12;;;75059:31;;;75055:111;;;75135:11;75115:31;;75055:111;74983:198;74965:278;;;-1:-1:-1;75226:1:0;74965:278;75257:25;75299:17;-1:-1:-1;;;;;75285:32:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;75285:32:0;-1:-1:-1;75257:60:0;-1:-1:-1;75336:22:0;75332:78;;75386:8;-1:-1:-1;75379:15:0;;-1:-1:-1;;;75379:15:0;75332:78;75554:31;75588:26;75608:5;75588:19;:26::i;:::-;75554:60;;75629:25;75874:9;:16;;;75869:92;;-1:-1:-1;75931:14:0;;75869:92;75992:5;75975:478;76004:4;75999:1;:9;;:45;;;;;76027:17;76012:11;:32;;75999:45;75975:478;;;76082:15;76095:1;76082:12;:15::i;:::-;76070:27;;76120:9;:16;;;76116:73;;;76161:8;;76116:73;76211:14;;-1:-1:-1;;;;;76211:28:0;;76207:111;;76284:14;;;-1:-1:-1;76207:111:0;76361:5;-1:-1:-1;;;;;76340:26:0;:17;-1:-1:-1;;;;;76340:26:0;;76336:102;;;76417:1;76391:8;76400:13;;;;;;76391:23;;;;;;;;:::i;:::-;;;;;;:27;;;;;76336:102;76046:3;;75975:478;;;-1:-1:-1;;;76538:29:0;;;-1:-1:-1;76545:8:0;;-1:-1:-1;;74117:2513:0;;;;;;:::o;83481:100::-;15995:13;:11;:13::i;:::-;83537:10:::1;:36:::0;;83550:23:::1;::::0;83537:10;-1:-1:-1;;83537:36:0::1;83550:23:::0;;83537:36:::1;;;;;;83481:100::o:0;84232:99::-;15995:13;:11;:13::i;:::-;84304:19;;::::1;::::0;:8:::1;::::0;:19:::1;::::0;::::1;::::0;::::1;:::i;43929:234::-:0;67137:10;44024:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;44024:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;44024:60:0;;;;;;;;;;44100:55;;540:41:1;;;44024:49:0;;67137:10;44100:55;;513:18:1;44100:55:0;;;;;;;43929:234;;:::o;83589:94::-;15995:13;:11;:13::i;:::-;83642:10:::1;:33:::0;;83655:20:::1;::::0;83642:10;-1:-1:-1;;83642:33:0::1;::::0;83655:20;83642:33:::1;::::0;83894:160;15995:13;:11;:13::i;:::-;84005:19:::1;:41:::0;83894:160::o;50722:407::-;50897:31;50910:4;50916:2;50920:7;50897:12;:31::i;:::-;-1:-1:-1;;;;;50943:14:0;;;:19;50939:183;;50982:56;51013:4;51019:2;51023:7;51032:5;50982:30;:56::i;:::-;50977:145;;51066:40;;-1:-1:-1;;;51066:40:0;;;;;;;;;;;50977:145;50722:407;;;;:::o;83042:112::-;83095:13;83128:18;83121:25;;;;;:::i;72614:428::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;78778:1:0;72778:7;:25;:54;;;-1:-1:-1;32373:7:0;32400:13;72807:7;:25;;72778:54;72774:103;;;72856:9;72614:428;-1:-1:-1;;72614:428:0:o;72774:103::-;72899:21;72912:7;72899:12;:21::i;:::-;72887:33;;72935:9;:16;;;72931:65;;;72975:9;72614:428;-1:-1:-1;;72614:428:0:o;72931:65::-;73013:21;73026:7;73013:12;:21::i;81862:495::-;81981:13;82017:17;82025:8;82017:7;:17::i;:::-;82012:66;;82043:35;;-1:-1:-1;;;82043:35:0;;;;;;;;;;;82012:66;82095:9;;;;82091:49;;82122:18;82115:25;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;81862:495;;;:::o;82091:49::-;82200:1;82179:10;:8;:10::i;:::-;82173:24;:28;:176;;;;;;;;;;;;;;;;;82267:10;:8;:10::i;:::-;82279:19;:8;:17;:19::i;:::-;82250:58;;;;;;;;;:::i;:::-;;;;;;;;;;;;;82153:196;81862:495;-1:-1:-1;;81862:495:0:o;84452:88::-;15995:13;:11;:13::i;:::-;84514:9:::1;:18:::0;;-1:-1:-1;;84514:18:0::1;::::0;::::1;;::::0;;;::::1;::::0;;84452:88::o;81400:214::-;81504:11;81517:19;;79764:1;79750:11;:15;:47;;;;79783:14;79769:11;:28;79750:47;79746:109;;;79819:36;;-1:-1:-1;;;79819:36:0;;;;;;;;;;;79746:109;79902:10;79888:11;79872:13;78778:1;32905:12;32692:7;32889:13;:28;-1:-1:-1;;32889:46:0;;32631:323;79872:13;:27;;;;:::i;:::-;:40;79868:102;;;79934:36;;-1:-1:-1;;;79934:36:0;;;;;;;;;;;79868:102;15995:13:::1;:11;:13::i;:::-;81573:33:::2;81583:9;81594:11;81573:9;:33::i;83691:86::-:0;15995:13;:11;:13::i;:::-;83740:10:::1;:29:::0;;83753:16:::1;::::0;83740:10;-1:-1:-1;;83740:29:0::1;::::0;83753:16;83740:29:::1;::::0;17015:201;15995:13;:11;:13::i;:::-;-1:-1:-1;;;;;17104:22:0;::::1;17096:73;;;::::0;-1:-1:-1;;;17096:73:0;;12998:2:1;17096:73:0::1;::::0;::::1;12980:21:1::0;13037:2;13017:18;;;13010:30;13076:34;13056:18;;;13049:62;-1:-1:-1;;;13127:18:1;;;13120:36;13173:19;;17096:73:0::1;12796:402:1::0;17096:73:0::1;17180:28;17199:8;17180:18;:28::i;:::-;17015:201:::0;:::o;83785:101::-;15995:13;:11;:13::i;:::-;83855:10:::1;:23:::0;83785:101::o;44742:282::-;44807:4;44863:7;78778:1;44844:26;;:66;;;;;44897:13;;44887:7;:23;44844:66;:153;;;;-1:-1:-1;;44948:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;44948:44:0;:49;;44742:282::o;39428:1275::-;39495:7;39530;;78778:1;39579:23;39575:1061;;39632:13;;39625:4;:20;39621:1015;;;39670:14;39687:23;;;:17;:23;;;;;;-1:-1:-1;;;39776:24:0;;39772:845;;40441:113;40448:11;40441:113;;-1:-1:-1;;;40519:6:0;40501:25;;;;:17;:25;;;;;;40441:113;;39772:845;39647:989;39621:1015;40664:31;;-1:-1:-1;;;40664:31:0;;;;;;;;;;;60882:112;60959:27;60969:2;60973:8;60959:27;;;;;;;;;;;;:9;:27::i;16274:132::-;16182:6;;-1:-1:-1;;;;;16182:6:0;67137:10;16338:23;16330:68;;;;-1:-1:-1;;;16330:68:0;;13405:2:1;16330:68:0;;;13387:21:1;;;13424:18;;;13417:30;13483:34;13463:18;;;13456:62;13535:18;;16330:68:0;13203:356:1;17376:191:0;17469:6;;;-1:-1:-1;;;;;17486:17:0;;;-1:-1:-1;;;;;;17486:17:0;;;;;;;17519:40;;17469:6;;;17486:17;17469:6;;17519:40;;17450:16;;17519:40;17439:128;17376:191;:::o;3716:190::-;3841:4;3894;3865:25;3878:5;3885:4;3865:12;:25::i;:::-;:33;;3716:190;-1:-1:-1;;;;3716:190:0:o;38876:161::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39004:24:0;;;;:17;:24;;;;;;38985:44;;:18;:44::i;53213:716::-;53397:88;;-1:-1:-1;;;53397:88:0;;53376:4;;-1:-1:-1;;;;;53397:45:0;;;;;:88;;67137:10;;53464:4;;53470:7;;53479:5;;53397:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;53397:88:0;;;;;;;;-1:-1:-1;;53397:88:0;;;;;;;;;;;;:::i;:::-;;;53393:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;53680:13:0;;53676:235;;53726:40;;-1:-1:-1;;;53726:40:0;;;;;;;;;;;53676:235;53869:6;53863:13;53854:6;53850:2;53846:15;53839:38;53393:529;-1:-1:-1;;;;;;53556:64:0;-1:-1:-1;;;53556:64:0;;-1:-1:-1;53393:529:0;53213:716;;;;;;:::o;38614:166::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38725:47:0;38744:27;38763:7;38744:18;:27::i;:::-;38725:18;:47::i;430:723::-;486:13;707:10;703:53;;-1:-1:-1;;734:10:0;;;;;;;;;;;;-1:-1:-1;;;734:10:0;;;;;430:723::o;703:53::-;781:5;766:12;822:78;829:9;;822:78;;855:8;;;;:::i;:::-;;-1:-1:-1;878:10:0;;-1:-1:-1;886:2:0;878:10;;:::i;:::-;;;822:78;;;910:19;942:6;-1:-1:-1;;;;;932:17:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;932:17:0;;910:39;;960:154;967:10;;960:154;;994:11;1004:1;994:11;;:::i;:::-;;-1:-1:-1;1063:10:0;1071:2;1063:5;:10;:::i;:::-;1050:24;;:2;:24;:::i;:::-;1037:39;;1020:6;1027;1020:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;1020:56:0;;;;;;;;-1:-1:-1;1091:11:0;1100:2;1091:11;;:::i;:::-;;;960:154;;60109:689;60240:19;60246:2;60250:8;60240:5;:19::i;:::-;-1:-1:-1;;;;;60301:14:0;;;:19;60297:483;;60341:11;60355:13;60403:14;;;60436:233;60467:62;60506:1;60510:2;60514:7;;;;;;60523:5;60467:30;:62::i;:::-;60462:167;;60565:40;;-1:-1:-1;;;60565:40:0;;;;;;;;;;;60462:167;60664:3;60656:5;:11;60436:233;;60751:3;60734:13;;:20;60730:34;;60756:8;;;60730:34;60322:458;;60109:689;;;:::o;4583:296::-;4666:7;4709:4;4666:7;4724:118;4748:5;:12;4744:1;:16;4724:118;;;4797:33;4807:12;4821:5;4827:1;4821:8;;;;;;;;:::i;:::-;;;;;;;4797:9;:33::i;:::-;4782:48;-1:-1:-1;4762:3:0;;;;:::i;:::-;;;;4724:118;;;-1:-1:-1;4859:12:0;4583:296;-1:-1:-1;;;4583:296:0:o;40802:366::-;-1:-1:-1;;;;;;;;;;;;;40912:41:0;;;;28633:3;40998:33;;;-1:-1:-1;;;;;40964:68:0;-1:-1:-1;;;40964:68:0;-1:-1:-1;;;41062:24:0;;:29;;-1:-1:-1;;;41043:48:0;;;;29154:3;41131:28;;;;-1:-1:-1;;;41102:58:0;-1:-1:-1;40802:366:0:o;54391:2966::-;54464:20;54487:13;54515;54511:44;;54537:18;;-1:-1:-1;;;54537:18:0;;;;;;;;;;;54511:44;-1:-1:-1;;;;;55043:22:0;;;;;;:18;:22;;;;28112:2;55043:22;;;:71;;55081:32;55069:45;;55043:71;;;55357:31;;;:17;:31;;;;;-1:-1:-1;42093:15:0;;42067:24;42063:46;41662:11;41637:23;41633:41;41630:52;41620:63;;55357:173;;55592:23;;;;55357:31;;55043:22;;56357:25;55043:22;;56210:335;56871:1;56857:12;56853:20;56811:346;56912:3;56903:7;56900:16;56811:346;;57130:7;57120:8;57117:1;57090:25;57087:1;57084;57079:59;56965:1;56952:15;56811:346;;;-1:-1:-1;57190:13:0;57186:45;;57212:19;;-1:-1:-1;;;57212:19:0;;;;;;;;;;;57186:45;57248:13;:19;-1:-1:-1;49931:193:0;;;:::o;10790:149::-;10853:7;10884:1;10880;:5;:51;;11015:13;11109:15;;;11145:4;11138:15;;;11192:4;11176:21;;10880:51;;;-1:-1:-1;11015:13:0;11109:15;;;11145:4;11138:15;11192:4;11176:21;;;10790:149::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:131:1;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:258::-;664:1;674:113;688:6;685:1;682:13;674:113;;;764:11;;;758:18;745:11;;;738:39;710:2;703:10;674:113;;;805:6;802:1;799:13;796:48;;;-1:-1:-1;;840:1:1;822:16;;815:27;592:258::o;855:::-;897:3;935:5;929:12;962:6;957:3;950:19;978:63;1034:6;1027:4;1022:3;1018:14;1011:4;1004:5;1000:16;978:63;:::i;:::-;1095:2;1074:15;-1:-1:-1;;1070:29:1;1061:39;;;;1102:4;1057:50;;855:258;-1:-1:-1;;855:258:1:o;1118:220::-;1267:2;1256:9;1249:21;1230:4;1287:45;1328:2;1317:9;1313:18;1305:6;1287:45;:::i;1343:180::-;1402:6;1455:2;1443:9;1434:7;1430:23;1426:32;1423:52;;;1471:1;1468;1461:12;1423:52;-1:-1:-1;1494:23:1;;1343:180;-1:-1:-1;1343:180:1:o;1736:173::-;1804:20;;-1:-1:-1;;;;;1853:31:1;;1843:42;;1833:70;;1899:1;1896;1889:12;1833:70;1736:173;;;:::o;1914:254::-;1982:6;1990;2043:2;2031:9;2022:7;2018:23;2014:32;2011:52;;;2059:1;2056;2049:12;2011:52;2082:29;2101:9;2082:29;:::i;:::-;2072:39;2158:2;2143:18;;;;2130:32;;-1:-1:-1;;;1914:254:1:o;2355:328::-;2432:6;2440;2448;2501:2;2489:9;2480:7;2476:23;2472:32;2469:52;;;2517:1;2514;2507:12;2469:52;2540:29;2559:9;2540:29;:::i;:::-;2530:39;;2588:38;2622:2;2611:9;2607:18;2588:38;:::i;:::-;2578:48;;2673:2;2662:9;2658:18;2645:32;2635:42;;2355:328;;;;;:::o;2688:127::-;2749:10;2744:3;2740:20;2737:1;2730:31;2780:4;2777:1;2770:15;2804:4;2801:1;2794:15;2820:342;2966:2;2951:18;;2999:1;2988:13;;2978:144;;3044:10;3039:3;3035:20;3032:1;3025:31;3079:4;3076:1;3069:15;3107:4;3104:1;3097:15;2978:144;3131:25;;;2820:342;:::o;3349:127::-;3410:10;3405:3;3401:20;3398:1;3391:31;3441:4;3438:1;3431:15;3465:4;3462:1;3455:15;3481:632;3546:5;-1:-1:-1;;;;;3617:2:1;3609:6;3606:14;3603:40;;;3623:18;;:::i;:::-;3698:2;3692:9;3666:2;3752:15;;-1:-1:-1;;3748:24:1;;;3774:2;3744:33;3740:42;3728:55;;;3798:18;;;3818:22;;;3795:46;3792:72;;;3844:18;;:::i;:::-;3884:10;3880:2;3873:22;3913:6;3904:15;;3943:6;3935;3928:22;3983:3;3974:6;3969:3;3965:16;3962:25;3959:45;;;4000:1;3997;3990:12;3959:45;4050:6;4045:3;4038:4;4030:6;4026:17;4013:44;4105:1;4098:4;4089:6;4081;4077:19;4073:30;4066:41;;;;3481:632;;;;;:::o;4118:451::-;4187:6;4240:2;4228:9;4219:7;4215:23;4211:32;4208:52;;;4256:1;4253;4246:12;4208:52;4296:9;4283:23;-1:-1:-1;;;;;4321:6:1;4318:30;4315:50;;;4361:1;4358;4351:12;4315:50;4384:22;;4437:4;4429:13;;4425:27;-1:-1:-1;4415:55:1;;4466:1;4463;4456:12;4415:55;4489:74;4555:7;4550:2;4537:16;4532:2;4528;4524:11;4489:74;:::i;4574:367::-;4637:8;4647:6;4701:3;4694:4;4686:6;4682:17;4678:27;4668:55;;4719:1;4716;4709:12;4668:55;-1:-1:-1;4742:20:1;;-1:-1:-1;;;;;4774:30:1;;4771:50;;;4817:1;4814;4807:12;4771:50;4854:4;4846:6;4842:17;4830:29;;4914:3;4907:4;4897:6;4894:1;4890:14;4882:6;4878:27;4874:38;4871:47;4868:67;;;4931:1;4928;4921:12;4868:67;4574:367;;;;;:::o;4946:437::-;5032:6;5040;5093:2;5081:9;5072:7;5068:23;5064:32;5061:52;;;5109:1;5106;5099:12;5061:52;5149:9;5136:23;-1:-1:-1;;;;;5174:6:1;5171:30;5168:50;;;5214:1;5211;5204:12;5168:50;5253:70;5315:7;5306:6;5295:9;5291:22;5253:70;:::i;:::-;5342:8;;5227:96;;-1:-1:-1;4946:437:1;-1:-1:-1;;;;4946:437:1:o;5388:349::-;5472:12;;-1:-1:-1;;;;;5468:38:1;5456:51;;5560:4;5549:16;;;5543:23;-1:-1:-1;;;;;5539:48:1;5523:14;;;5516:72;5651:4;5640:16;;;5634:23;5627:31;5620:39;5604:14;;;5597:63;5713:4;5702:16;;;5696:23;5721:8;5692:38;5676:14;;5669:62;5388:349::o;5742:722::-;5975:2;6027:21;;;6097:13;;6000:18;;;6119:22;;;5946:4;;5975:2;6198:15;;;;6172:2;6157:18;;;5946:4;6241:197;6255:6;6252:1;6249:13;6241:197;;;6304:52;6352:3;6343:6;6337:13;6304:52;:::i;:::-;6413:15;;;;6385:4;6376:14;;;;;6277:1;6270:9;6241:197;;6469:186;6528:6;6581:2;6569:9;6560:7;6556:23;6552:32;6549:52;;;6597:1;6594;6587:12;6549:52;6620:29;6639:9;6620:29;:::i;6660:505::-;6755:6;6763;6771;6824:2;6812:9;6803:7;6799:23;6795:32;6792:52;;;6840:1;6837;6830:12;6792:52;6876:9;6863:23;6853:33;;6937:2;6926:9;6922:18;6909:32;-1:-1:-1;;;;;6956:6:1;6953:30;6950:50;;;6996:1;6993;6986:12;6950:50;7035:70;7097:7;7088:6;7077:9;7073:22;7035:70;:::i;:::-;6660:505;;7124:8;;-1:-1:-1;7009:96:1;;-1:-1:-1;;;;6660:505:1:o;7355:632::-;7526:2;7578:21;;;7648:13;;7551:18;;;7670:22;;;7497:4;;7526:2;7749:15;;;;7723:2;7708:18;;;7497:4;7792:169;7806:6;7803:1;7800:13;7792:169;;;7867:13;;7855:26;;7936:15;;;;7901:12;;;;7828:1;7821:9;7792:169;;7992:322;8069:6;8077;8085;8138:2;8126:9;8117:7;8113:23;8109:32;8106:52;;;8154:1;8151;8144:12;8106:52;8177:29;8196:9;8177:29;:::i;:::-;8167:39;8253:2;8238:18;;8225:32;;-1:-1:-1;8304:2:1;8289:18;;;8276:32;;7992:322;-1:-1:-1;;;7992:322:1:o;8319:160::-;8384:20;;8440:13;;8433:21;8423:32;;8413:60;;8469:1;8466;8459:12;8484:254;8549:6;8557;8610:2;8598:9;8589:7;8585:23;8581:32;8578:52;;;8626:1;8623;8616:12;8578:52;8649:29;8668:9;8649:29;:::i;:::-;8639:39;;8697:35;8728:2;8717:9;8713:18;8697:35;:::i;:::-;8687:45;;8484:254;;;;;:::o;8743:667::-;8838:6;8846;8854;8862;8915:3;8903:9;8894:7;8890:23;8886:33;8883:53;;;8932:1;8929;8922:12;8883:53;8955:29;8974:9;8955:29;:::i;:::-;8945:39;;9003:38;9037:2;9026:9;9022:18;9003:38;:::i;:::-;8993:48;;9088:2;9077:9;9073:18;9060:32;9050:42;;9143:2;9132:9;9128:18;9115:32;-1:-1:-1;;;;;9162:6:1;9159:30;9156:50;;;9202:1;9199;9192:12;9156:50;9225:22;;9278:4;9270:13;;9266:27;-1:-1:-1;9256:55:1;;9307:1;9304;9297:12;9256:55;9330:74;9396:7;9391:2;9378:16;9373:2;9369;9365:11;9330:74;:::i;:::-;9320:84;;;8743:667;;;;;;;:::o;9415:266::-;9611:3;9596:19;;9624:51;9600:9;9657:6;9624:51;:::i;9686:180::-;9742:6;9795:2;9783:9;9774:7;9770:23;9766:32;9763:52;;;9811:1;9808;9801:12;9763:52;9834:26;9850:9;9834:26;:::i;9871:260::-;9939:6;9947;10000:2;9988:9;9979:7;9975:23;9971:32;9968:52;;;10016:1;10013;10006:12;9968:52;10039:29;10058:9;10039:29;:::i;:::-;10029:39;;10087:38;10121:2;10110:9;10106:18;10087:38;:::i;10136:254::-;10204:6;10212;10265:2;10253:9;10244:7;10240:23;10236:32;10233:52;;;10281:1;10278;10271:12;10233:52;10317:9;10304:23;10294:33;;10346:38;10380:2;10369:9;10365:18;10346:38;:::i;10395:380::-;10474:1;10470:12;;;;10517;;;10538:61;;10592:4;10584:6;10580:17;10570:27;;10538:61;10645:2;10637:6;10634:14;10614:18;10611:38;10608:161;;;10691:10;10686:3;10682:20;10679:1;10672:31;10726:4;10723:1;10716:15;10754:4;10751:1;10744:15;10608:161;;10395:380;;;:::o;10780:127::-;10841:10;10836:3;10832:20;10829:1;10822:31;10872:4;10869:1;10862:15;10896:4;10893:1;10886:15;10912:128;10952:3;10983:1;10979:6;10976:1;10973:13;10970:39;;;10989:18;;:::i;:::-;-1:-1:-1;11025:9:1;;10912:128::o;11045:168::-;11085:7;11151:1;11147;11143:6;11139:14;11136:1;11133:21;11128:1;11121:9;11114:17;11110:45;11107:71;;;11158:18;;:::i;:::-;-1:-1:-1;11198:9:1;;11045:168::o;11788:127::-;11849:10;11844:3;11840:20;11837:1;11830:31;11880:4;11877:1;11870:15;11904:4;11901:1;11894:15;12154:637;12434:3;12472:6;12466:13;12488:53;12534:6;12529:3;12522:4;12514:6;12510:17;12488:53;:::i;:::-;12604:13;;12563:16;;;;12626:57;12604:13;12563:16;12660:4;12648:17;;12626:57;:::i;:::-;-1:-1:-1;;;12705:20:1;;12734:22;;;12783:1;12772:13;;12154:637;-1:-1:-1;;;;12154:637:1:o;13564:489::-;-1:-1:-1;;;;;13833:15:1;;;13815:34;;13885:15;;13880:2;13865:18;;13858:43;13932:2;13917:18;;13910:34;;;13980:3;13975:2;13960:18;;13953:31;;;13758:4;;14001:46;;14027:19;;14019:6;14001:46;:::i;:::-;13993:54;13564:489;-1:-1:-1;;;;;;13564:489:1:o;14058:249::-;14127:6;14180:2;14168:9;14159:7;14155:23;14151:32;14148:52;;;14196:1;14193;14186:12;14148:52;14228:9;14222:16;14247:30;14271:5;14247:30;:::i;14312:135::-;14351:3;-1:-1:-1;;14372:17:1;;14369:43;;;14392:18;;:::i;:::-;-1:-1:-1;14439:1:1;14428:13;;14312:135::o;14452:127::-;14513:10;14508:3;14504:20;14501:1;14494:31;14544:4;14541:1;14534:15;14568:4;14565:1;14558:15;14584:120;14624:1;14650;14640:35;;14655:18;;:::i;:::-;-1:-1:-1;14689:9:1;;14584:120::o;14709:125::-;14749:4;14777:1;14774;14771:8;14768:34;;;14782:18;;:::i;:::-;-1:-1:-1;14819:9:1;;14709:125::o;14839:112::-;14871:1;14897;14887:35;;14902:18;;:::i;:::-;-1:-1:-1;14936:9:1;;14839:112::o
Swarm Source
ipfs://8a66fe4843da9efcb9ecf44eadeb4c7bd4cfb7ea3c5f9fa66955ae36b1ed9389
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.