NFT
Overview
TokenID
6044
Total Transfers
-
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
ERC721DrunkRobots
Compiler Version
v0.8.15+commit.e14f2714
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-07-21 */ // File: @openzeppelin/contracts/utils/Strings.sol // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @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); } } // File: @openzeppelin/contracts/utils/introspection/IERC165.sol // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); } // File: @openzeppelin/contracts/interfaces/IERC2981.sol // OpenZeppelin Contracts (last updated v4.6.0) (interfaces/IERC2981.sol) pragma solidity ^0.8.0; /** * @dev Interface for the NFT Royalty Standard. * * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal * support for royalty payments across all NFT marketplaces and ecosystem participants. * * _Available since v4.5._ */ interface IERC2981 is IERC165 { /** * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of * exchange. The royalty amount is denominated and should be paid in that same unit of exchange. */ function royaltyInfo(uint256 tokenId, uint256 salePrice) external view returns (address receiver, uint256 royaltyAmount); } // 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/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/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 v4.4.1 (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 Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { 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.0 // 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(); /** * The caller cannot approve to their own address. */ error ApproveToCaller(); /** * Cannot query the balance for the zero address. */ error BalanceQueryForZeroAddress(); /** * Cannot mint to the zero address. */ error MintToZeroAddress(); /** * The quantity of tokens minted must be more than zero. */ error MintZeroQuantity(); /** * The token does not exist. */ error OwnerQueryForNonexistentToken(); /** * The caller must own the token or be an approved operator. */ error TransferCallerNotOwnerNorApproved(); /** * The token must be owned by `from`. */ error TransferFromIncorrectOwner(); /** * Cannot safely transfer to a contract that does not implement the * ERC721Receiver interface. */ error TransferToNonERC721ReceiverImplementer(); /** * Cannot transfer to the zero address. */ error TransferToZeroAddress(); /** * The token does not exist. */ error URIQueryForNonexistentToken(); /** * The `quantity` minted with ERC2309 exceeds the safety limit. */ error MintERC2309QuantityExceedsLimit(); /** * The `extraData` cannot be set on an unintialized ownership slot. */ error OwnershipNotInitializedForExtraData(); // ============================================================= // STRUCTS // ============================================================= struct TokenOwnership { // The address of the owner. address addr; // Stores the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; // Arbitrary data similar to `startTimestamp` that can be set via {_extraData}. uint24 extraData; } // ============================================================= // TOKEN COUNTERS // ============================================================= /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() external view returns (uint256); // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); // ============================================================= // IERC721 // ============================================================= /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables * (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, * checking first that contract recipients are aware of the ERC721 protocol * to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move * this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} * whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the * zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) external view returns (bool); // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); // ============================================================= // IERC2309 // ============================================================= /** * @dev Emitted when tokens in `fromTokenId` to `toTokenId` * (inclusive) is transferred from `from` to `to`, as defined in the * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309) standard. * * See {_mintERC2309} for more details. */ event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to); } // File: erc721a/contracts/ERC721A.sol // ERC721A Contracts v4.2.0 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721 token receiver. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @title ERC721A * * @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721) * Non-Fungible Token Standard, including the Metadata extension. * Optimized for lower gas during batch mints. * * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...) * starting from `_startTokenId()`. * * Assumptions: * * - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is IERC721A { // Reference type for token approval. struct TokenApprovalRef { address value; } // ============================================================= // CONSTANTS // ============================================================= // Mask of an entry in packed address data. uint256 private constant _BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1; // The bit position of `numberMinted` in packed address data. uint256 private constant _BITPOS_NUMBER_MINTED = 64; // The bit position of `numberBurned` in packed address data. uint256 private constant _BITPOS_NUMBER_BURNED = 128; // The bit position of `aux` in packed address data. uint256 private constant _BITPOS_AUX = 192; // Mask of all 256 bits in packed address data except the 64 bits for `aux`. uint256 private constant _BITMASK_AUX_COMPLEMENT = (1 << 192) - 1; // The bit position of `startTimestamp` in packed ownership. uint256 private constant _BITPOS_START_TIMESTAMP = 160; // The bit mask of the `burned` bit in packed ownership. uint256 private constant _BITMASK_BURNED = 1 << 224; // The bit position of the `nextInitialized` bit in packed ownership. uint256 private constant _BITPOS_NEXT_INITIALIZED = 225; // The bit mask of the `nextInitialized` bit in packed ownership. uint256 private constant _BITMASK_NEXT_INITIALIZED = 1 << 225; // The bit position of `extraData` in packed ownership. uint256 private constant _BITPOS_EXTRA_DATA = 232; // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`. uint256 private constant _BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1; // The mask of the lower 160 bits for addresses. uint256 private constant _BITMASK_ADDRESS = (1 << 160) - 1; // The maximum `quantity` that can be minted with {_mintERC2309}. // This limit is to prevent overflows on the address data entries. // For a limit of 5000, a total of 3.689e15 calls to {_mintERC2309} // is required to cause an overflow, which is unrealistic. uint256 private constant _MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000; // The `Transfer` event signature is given by: // `keccak256(bytes("Transfer(address,address,uint256)"))`. bytes32 private constant _TRANSFER_EVENT_SIGNATURE = 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef; // ============================================================= // STORAGE // ============================================================= // The next token ID to be minted. uint256 private _currentIndex; // The number of tokens burned. uint256 private _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. // See {_packedOwnershipOf} implementation for details. // // Bits Layout: // - [0..159] `addr` // - [160..223] `startTimestamp` // - [224] `burned` // - [225] `nextInitialized` // - [232..255] `extraData` mapping(uint256 => uint256) private _packedOwnerships; // Mapping owner address to address data. // // Bits Layout: // - [0..63] `balance` // - [64..127] `numberMinted` // - [128..191] `numberBurned` // - [192..255] `aux` mapping(address => uint256) private _packedAddressData; // Mapping from token ID to approved address. mapping(uint256 => TokenApprovalRef) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // ============================================================= // CONSTRUCTOR // ============================================================= constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } // ============================================================= // TOKEN COUNTING OPERATIONS // ============================================================= /** * @dev Returns the starting token ID. * To change the starting token ID, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Returns the next token ID to be minted. */ function _nextTokenId() internal view virtual returns (uint256) { return _currentIndex; } /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() public view virtual override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than `_currentIndex - _startTokenId()` times. unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * @dev Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view virtual returns (uint256) { // Counter underflow is impossible as `_currentIndex` does not decrement, // and it is initialized to `_startTokenId()`. unchecked { return _currentIndex - _startTokenId(); } } /** * @dev Returns the total number of tokens burned. */ function _totalBurned() internal view virtual returns (uint256) { return _burnCounter; } // ============================================================= // ADDRESS DATA OPERATIONS // ============================================================= /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) public view virtual override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return _packedAddressData[owner] & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_MINTED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_BURNED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return uint64(_packedAddressData[owner] >> _BITPOS_AUX); } /** * Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal virtual { uint256 packed = _packedAddressData[owner]; uint256 auxCasted; // Cast `aux` with assembly to avoid redundant masking. assembly { auxCasted := aux } packed = (packed & _BITMASK_AUX_COMPLEMENT) | (auxCasted << _BITPOS_AUX); _packedAddressData[owner] = packed; } // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { // The interface IDs are constants representing the first 4 bytes // of the XOR of all function selectors in the interface. // See: [ERC165](https://eips.ethereum.org/EIPS/eip-165) // (e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`) return interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165. interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721. interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata. } // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the token collection symbol. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, it can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } // ============================================================= // OWNERSHIPS OPERATIONS // ============================================================= /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around over time. */ function _ownershipOf(uint256 tokenId) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @dev Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal virtual { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * Returns the packed ownership data of `tokenId`. */ function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr) if (curr < _currentIndex) { uint256 packed = _packedOwnerships[curr]; // If not burned. if (packed & _BITMASK_BURNED == 0) { // Invariant: // There will always be an initialized ownership slot // (i.e. `ownership.addr != address(0) && ownership.burned == false`) // before an unintialized ownership slot // (i.e. `ownership.addr == address(0) && ownership.burned == false`) // Hence, `curr` will not underflow. // // We can directly compare the packed value. // If the address is zero, packed will be zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * @dev Returns the unpacked `TokenOwnership` struct from `packed`. */ function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) { ownership.addr = address(uint160(packed)); ownership.startTimestamp = uint64(packed >> _BITPOS_START_TIMESTAMP); ownership.burned = packed & _BITMASK_BURNED != 0; ownership.extraData = uint24(packed >> _BITPOS_EXTRA_DATA); } /** * @dev Packs ownership data into a single uint256. */ function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // `owner | (block.timestamp << _BITPOS_START_TIMESTAMP) | flags`. result := or(owner, or(shl(_BITPOS_START_TIMESTAMP, timestamp()), flags)) } } /** * @dev Returns the `nextInitialized` flag set if `quantity` equals 1. */ function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) { // For branchless setting of the `nextInitialized` flag. assembly { // `(quantity == 1) << _BITPOS_NEXT_INITIALIZED`. result := shl(_BITPOS_NEXT_INITIALIZED, eq(quantity, 1)) } } // ============================================================= // APPROVAL OPERATIONS // ============================================================= /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the * zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ownerOf(tokenId); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId].value = to; emit Approval(owner, to, tokenId); } /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId].value; } /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool approved) public virtual override { if (operator == _msgSenderERC721A()) revert ApproveToCaller(); _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]`. assembly { approvedAddressSlot := tokenApproval.slot approvedAddress := sload(approvedAddressSlot) } } // ============================================================= // TRANSFER OPERATIONS // ============================================================= /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // We can directly increment and decrement the balances. --_packedAddressData[from]; // Updates: `balance -= 1`. ++_packedAddressData[to]; // Updates: `balance += 1`. // Updates: // - `address` to the next owner. // - `startTimestamp` to the timestamp of transfering. // - `burned` to `false`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( to, _BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { transferFrom(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Hook that is called before a set of serially-ordered token IDs * are about to be transferred. This includes minting. * And also called before burning one token. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token IDs * have been transferred. This includes minting. * And also called after one token has been burned. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Private function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * `from` - Previous owner of the given token ID. * `to` - Target address that will receive the token. * `tokenId` - Token ID to be transferred. * `_data` - Optional data to send along with the call. * * Returns whether the call correctly returned the expected magic value. */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns ( bytes4 retval ) { return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } // ============================================================= // MINT OPERATIONS // ============================================================= /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event for each mint. */ function _mint(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // `balance` and `numberMinted` have a maximum limit of 2**64. // `tokenId` has a maximum limit of 2**256. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); uint256 toMasked; uint256 end = startTokenId + quantity; // Use assembly to loop and emit the `Transfer` event for gas savings. assembly { // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean. toMasked := and(to, _BITMASK_ADDRESS) // Emit the `Transfer` event. log4( 0, // Start of data (0, since no data). 0, // End of data (0, since no data). _TRANSFER_EVENT_SIGNATURE, // Signature. 0, // `address(0)`. toMasked, // `to`. startTokenId // `tokenId`. ) for { let tokenId := add(startTokenId, 1) } iszero(eq(tokenId, end)) { tokenId := add(tokenId, 1) } { // Emit the `Transfer` event. Similar to above. log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId) } } if (toMasked == 0) revert MintToZeroAddress(); _currentIndex = end; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * This function is intended for efficient minting only during contract creation. * * It emits only one {ConsecutiveTransfer} as defined in * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309), * instead of a sequence of {Transfer} event(s). * * Calling this function outside of contract creation WILL make your contract * non-compliant with the ERC721 standard. * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309 * {ConsecutiveTransfer} event is only permissible during contract creation. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {ConsecutiveTransfer} event. */ function _mintERC2309(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are unrealistic due to the above check for `quantity` to be below the limit. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to); _currentIndex = startTokenId + quantity; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * See {_mint}. * * Emits a {Transfer} event for each mint. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal virtual { _mint(to, quantity); unchecked { if (to.code.length != 0) { uint256 end = _currentIndex; uint256 index = end - quantity; do { if (!_checkContractOnERC721Received(address(0), to, index++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (index < end); // Reentrancy protection. if (_currentIndex != end) revert(); } } } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal virtual { _safeMint(to, quantity, ''); } // ============================================================= // BURN OPERATIONS // ============================================================= /** * @dev Equivalent to `_burn(tokenId, false)`. */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); address from = address(uint160(prevOwnershipPacked)); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); if (approvalCheck) { // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // Updates: // - `balance -= 1`. // - `numberBurned += 1`. // // We can directly decrement the balance, and increment the number burned. // This is equivalent to `packed -= 1; packed += 1 << _BITPOS_NUMBER_BURNED;`. _packedAddressData[from] += (1 << _BITPOS_NUMBER_BURNED) - 1; // Updates: // - `address` to the last owner. // - `startTimestamp` to the timestamp of burning. // - `burned` to `true`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( from, (_BITMASK_BURNED | _BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } // ============================================================= // EXTRA DATA OPERATIONS // ============================================================= /** * @dev Directly sets the extra data for the ownership data `index`. */ function _setExtraDataAt(uint256 index, uint24 extraData) internal virtual { uint256 packed = _packedOwnerships[index]; if (packed == 0) revert OwnershipNotInitializedForExtraData(); uint256 extraDataCasted; // Cast `extraData` with assembly to avoid redundant masking. assembly { extraDataCasted := extraData } packed = (packed & _BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << _BITPOS_EXTRA_DATA); _packedOwnerships[index] = packed; } /** * @dev Called during each token transfer to set the 24bit `extraData` field. * Intended to be overridden by the cosumer contract. * * `previousExtraData` - the value of `extraData` before transfer. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _extraData( address from, address to, uint24 previousExtraData ) internal view virtual returns (uint24) {} /** * @dev Returns the next extra data for the packed ownership data. * The returned result is shifted into position. */ function _nextExtraData( address from, address to, uint256 prevOwnershipPacked ) private view returns (uint256) { uint24 extraData = uint24(prevOwnershipPacked >> _BITPOS_EXTRA_DATA); return uint256(_extraData(from, to, extraData)) << _BITPOS_EXTRA_DATA; } // ============================================================= // OTHER OPERATIONS // ============================================================= /** * @dev Returns the message sender (defaults to `msg.sender`). * * If you are writing GSN compatible contracts, you need to override this function. */ function _msgSenderERC721A() internal view virtual returns (address) { return msg.sender; } /** * @dev Converts a uint256 to its ASCII string decimal representation. */ function _toString(uint256 value) internal pure virtual returns (string memory ptr) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), // but we allocate 128 bytes to keep the free memory pointer 32-byte word aliged. // We will need 1 32-byte word to store the length, // and 3 32-byte words to store a maximum of 78 digits. Total: 32 + 3 * 32 = 128. ptr := add(mload(0x40), 128) // Update the free memory pointer to allocate. mstore(0x40, ptr) // Cache the end of the memory to calculate the length later. let end := ptr // We write the string from the rightmost digit to the leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // Costs a bit more than early returning for the zero case, // but cheaper in terms of deployment and overall runtime costs. for { // Initialize and perform the first pass without check. let temp := value // Move the pointer 1 byte leftwards to point to an empty character slot. ptr := sub(ptr, 1) // Write the character to the pointer. // The ASCII index of the '0' character is 48. mstore8(ptr, add(48, mod(temp, 10))) temp := div(temp, 10) } temp { // Keep dividing `temp` until zero. temp := div(temp, 10) } { // Body of the for loop. ptr := sub(ptr, 1) mstore8(ptr, add(48, mod(temp, 10))) } let length := sub(end, ptr) // Move the pointer 32 bytes leftwards to make room for the length. ptr := sub(ptr, 32) // Store the length. mstore(ptr, length) } } } // File: erc721a/contracts/extensions/IERC721AQueryable.sol // ERC721A Contracts v4.2.0 // 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.0 // 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: contracts/ERC721DrunkRobots.sol pragma solidity >=0.8.9 <0.9.0; contract ERC721DrunkRobots is ERC721AQueryable, Ownable, IERC2981, ReentrancyGuard { using Strings for uint256; uint256 public mintPrice = 0.02 ether; // mint price per token uint16 public mintLimit = 5; // initially, only 20 tokens per address are allowd to mint. uint16 public constant maxSupply = 10000; uint16 private reserve = 400; // tokens reserve for the owner uint16 private publicSupply = maxSupply - reserve; // tokens avaiable for public to mint uint16 private royalties = 500; // royalties for secondary sale bool public isPublicMintingEnable; bool public isWhitelistMintingEnable; string public baseURI; bytes32 private merkleRoot; modifier mintRequirements(uint16 volume) { require(volume > 0, "You Must Mint at least one token"); require( totalSupply() <= publicSupply && balanceOf(_msgSender()) + volume <= mintLimit, "no more tokens than mint limit" ); require(msg.value >= mintPrice * volume, "low price!"); _; } event MintPriceUpdated(uint256 price); event Withdrawal(address indexed owner, uint256 price, uint256 time); event RoyaltiesUpdated(uint256 royalties); constructor(string memory _uri) ERC721A("Drunk Robots", "DR") { baseURI = _uri; } /** * @dev private function to mint given amount of tokens * @param to is the address to which the tokens will be minted * @param amount is the quantity of tokens to be minted */ function __mint(address to, uint16 amount) private { require( (totalSupply() + amount) <= maxSupply, "Request will exceed max supply!" ); _safeMint(to, amount); } /** * @dev it will allow the whitelisted wallets to mint tokens * @param volume is the quantity of tokens to be minted * @param _merkleProof is markel tree hash proof for the address */ function whitelistMint(uint16 volume, bytes32[] calldata _merkleProof) external payable mintRequirements(volume) { require(isWhitelistMintingEnable, "minting is not enabled"); bytes32 leaf = keccak256(abi.encodePacked(_msgSender())); require( MerkleProof.verify(_merkleProof, merkleRoot, leaf), "Invalid proof" ); __mint(_msgSender(), volume); } /** * @dev It will mint from tokens allocated for public for owner * @param volume is the quantity of tokens to be minted */ function mint(uint16 volume) external payable mintRequirements(volume) { require(isPublicMintingEnable, "minting is not enabled"); __mint(_msgSender(), volume); } /** * @dev it will return tokenURI for given tokenIdToOwner * @param _tokenId is valid token id mint in this contract */ function tokenURI(uint256 _tokenId) public view override(ERC721A, IERC721A) returns (string memory) { require( _exists(_tokenId), "ERC721Metadata: URI query for nonexistent token" ); return string(abi.encodePacked(baseURI, _tokenId.toString(), ".json")); } /***************************/ /***** ADMIN FUNCTIONS *****/ /***************************/ /** * @dev it is only callable by Contract owner. it will toggle public minting status */ function togglePublicMintingStatus() external onlyOwner { isPublicMintingEnable = !isPublicMintingEnable; } /** * @dev it is only callable by Contract owner. it will toggle whitelist minting status */ function toggleWhitelistMintingStatus() external onlyOwner { isWhitelistMintingEnable = !isWhitelistMintingEnable; } /** * @dev mint function only callable by the Contract owner. It will mint from reserve tokens for owner * @param to is the address to which the tokens will be minted * @param amount is the quantity of tokens to be minted */ function mintFromReserve(address to, uint16 amount) external onlyOwner { unchecked { require(amount < (reserve + 1), "no more in reserve"); } reserve -= amount; __mint(to, amount); } /** * @dev it will update mint price * @param _mintPrice is new value for mint */ function setMintPrice(uint256 _mintPrice) external onlyOwner { mintPrice = _mintPrice; emit MintPriceUpdated(_mintPrice); } /** * * @dev it will update the mint limit aka amount of nfts a wallet can hold * @param _mintLimit is new value for the limit */ function setMintLimit(uint16 _mintLimit) external onlyOwner { mintLimit = _mintLimit; } function setMerkleRoot(bytes32 _merkleRoot) external onlyOwner { merkleRoot = _merkleRoot; } /** * @dev it will update baseURI for tokens * @param _uri is new URI for tokens */ function setBaseURI(string memory _uri) external onlyOwner { baseURI = _uri; } /** * @dev it will update the royalties for token * @param _royalties is new percentage of royalties. it should be more than 0 and least 90 */ function setRoyalties(uint16 _royalties) external onlyOwner { require( _royalties > 0 && _royalties < 90, "royalties should be between 0 and 90" ); royalties = (_royalties * 100); // convert percentage into bps emit RoyaltiesUpdated(_royalties); } /** * @dev it is only callable by Contract owner. it will withdraw balace of contract */ function withdraw() external onlyOwner { uint256 balance = address(this).balance; bool success = payable(msg.sender).send(address(this).balance); require(success, "Payment did not go through!"); emit Withdrawal(msg.sender, block.timestamp, balance); } /******************************/ /******* CONFIGURATIONS *******/ /******************************/ function supportsInterface(bytes4 _interfaceId) public view virtual override(ERC721A, IERC721A, IERC165) returns (bool) { return _interfaceId == type(IERC2981).interfaceId || super.supportsInterface(_interfaceId); } /** * @dev it retruns the amount of royalty the owner will receive for given tokenId * @param _tokenId is valid token number * @param _salePrice is amount for which token will be traded */ function royaltyInfo(uint256 _tokenId, uint256 _salePrice) external view override returns (address receiver, uint256 royaltyAmount) { require( _exists(_tokenId), "ERC2981RoyaltyStandard: Royalty info for nonexistent token" ); return (address(this), (_salePrice * royalties) / 10000); } receive() external payable {} fallback() external payable {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_uri","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApproveToCaller","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":"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":false,"internalType":"uint256","name":"price","type":"uint256"}],"name":"MintPriceUpdated","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":false,"internalType":"uint256","name":"royalties","type":"uint256"}],"name":"RoyaltiesUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":false,"internalType":"uint256","name":"price","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"time","type":"uint256"}],"name":"Withdrawal","type":"event"},{"stateMutability":"payable","type":"fallback"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"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":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPublicMintingEnable","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isWhitelistMintingEnable","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"volume","type":"uint16"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint16","name":"amount","type":"uint16"}],"name":"mintFromReserve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintLimit","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"royaltyAmount","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":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_mintLimit","type":"uint16"}],"name":"setMintLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintPrice","type":"uint256"}],"name":"setMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_royalties","type":"uint16"}],"name":"setRoyalties","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"_interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"togglePublicMintingStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toggleWhitelistMintingStatus","outputs":[],"stateMutability":"nonpayable","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":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"volume","type":"uint16"},{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"whitelistMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
608060405266470de4df820000600a55600b805463ffffffff1916630190000517908190556200003d9061ffff620100009091041661271062000183565b600b805463ffffffff60201b191664010000000061ffff939093169290920261ffff60301b1916919091176701f40000000000001790553480156200008157600080fd5b5060405162002e0c38038062002e0c833981016040819052620000a491620001cb565b6040518060400160405280600c81526020016b4472756e6b20526f626f747360a01b81525060405180604001604052806002815260200161222960f11b8152508160029081620000f5919062000336565b50600362000104828262000336565b50506000805550620001163362000131565b6001600955600c62000129828262000336565b505062000402565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600061ffff83811690831681811015620001ad57634e487b7160e01b600052601160045260246000fd5b039392505050565b634e487b7160e01b600052604160045260246000fd5b60006020808385031215620001df57600080fd5b82516001600160401b0380821115620001f757600080fd5b818501915085601f8301126200020c57600080fd5b815181811115620002215762000221620001b5565b604051601f8201601f19908116603f011681019083821181831017156200024c576200024c620001b5565b8160405282815288868487010111156200026557600080fd5b600093505b828410156200028957848401860151818501870152928501926200026a565b828411156200029b5760008684830101525b98975050505050505050565b600181811c90821680620002bc57607f821691505b602082108103620002dd57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200033157600081815260208120601f850160051c810160208610156200030c5750805b601f850160051c820191505b818110156200032d5782815560010162000318565b5050505b505050565b81516001600160401b03811115620003525762000352620001b5565b6200036a81620003638454620002a7565b84620002e3565b602080601f831160018114620003a25760008415620003895750858301515b600019600386901b1c1916600185901b1785556200032d565b600085815260208120601f198616915b82811015620003d357888601518255948401946001909101908401620003b2565b5085821015620003f25787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6129fa80620004126000396000f3fe60806040526004361061021c5760003560e01c80637cb6475911610122578063b88d4fde116100a5578063e985e9c51161006c578063e985e9c514610686578063ef196ed3146106cf578063f2fde38b146106e4578063f4a0a52814610704578063f7e079671461072457005b8063b88d4fde146105e3578063c23dc68f14610603578063c87b56dd14610630578063d5abeb0114610650578063d5fe01141461066657005b806395d89b41116100e957806395d89b411461054d578063996517cf1461056257806399a2557a14610590578063a22cb465146105b0578063b182e818146105d057005b80637cb64759146104a1578063841249bd146104c15780638462151c146104e257806386b8ca2d1461050f5780638da5cb5b1461052f57005b80633ccfd60b116101aa5780636352211e116101715780636352211e146104215780636817c76c146104415780636c0360eb1461045757806370a082311461046c578063715018a61461048c57005b80633ccfd60b1461037e57806342842e0e1461039357806355f804b3146103b357806357714372146103d35780635bbb2177146103f457005b806318160ddd116101ee57806318160ddd146102d457806319a096d5146102f757806323b872dd1461030c57806323cf0a221461032c5780632a55205a1461033f57005b806301ffc9a71461022557806306fdde031461025a578063081812fc1461027c578063095ea7b3146102b457005b3661022357005b005b34801561023157600080fd5b506102456102403660046120ff565b610744565b60405190151581526020015b60405180910390f35b34801561026657600080fd5b5061026f61076f565b6040516102519190612174565b34801561028857600080fd5b5061029c610297366004612187565b610801565b6040516001600160a01b039091168152602001610251565b3480156102c057600080fd5b506102236102cf3660046121bc565b610845565b3480156102e057600080fd5b50600154600054035b604051908152602001610251565b34801561030357600080fd5b506102236108e5565b34801561031857600080fd5b506102236103273660046121e6565b61093f565b61022361033a366004612234565b610ad8565b34801561034b57600080fd5b5061035f61035a36600461224f565b610c6e565b604080516001600160a01b039093168352602083019190915201610251565b34801561038a57600080fd5b50610223610d23565b34801561039f57600080fd5b506102236103ae3660046121e6565b610dfa565b3480156103bf57600080fd5b506102236103ce3660046122fc565b610e1a565b3480156103df57600080fd5b50600b5461024590600160401b900460ff1681565b34801561040057600080fd5b5061041461040f366004612388565b610e50565b6040516102519190612405565b34801561042d57600080fd5b5061029c61043c366004612187565b610f1b565b34801561044d57600080fd5b506102e9600a5481565b34801561046357600080fd5b5061026f610f26565b34801561047857600080fd5b506102e9610487366004612447565b610fb4565b34801561049857600080fd5b50610223611002565b3480156104ad57600080fd5b506102236104bc366004612187565b611038565b3480156104cd57600080fd5b50600b5461024590600160481b900460ff1681565b3480156104ee57600080fd5b506105026104fd366004612447565b611067565b6040516102519190612462565b34801561051b57600080fd5b5061022361052a36600461249a565b61116f565b34801561053b57600080fd5b506008546001600160a01b031661029c565b34801561055957600080fd5b5061026f611235565b34801561056e57600080fd5b50600b5461057d9061ffff1681565b60405161ffff9091168152602001610251565b34801561059c57600080fd5b506105026105ab3660046124cd565b611244565b3480156105bc57600080fd5b506102236105cb366004612500565b6113bd565b6102236105de36600461253c565b611452565b3480156105ef57600080fd5b506102236105fe36600461258e565b6116a1565b34801561060f57600080fd5b5061062361061e366004612187565b6116eb565b6040516102519190612609565b34801561063c57600080fd5b5061026f61064b366004612187565b611763565b34801561065c57600080fd5b5061057d61271081565b34801561067257600080fd5b50610223610681366004612234565b611804565b34801561069257600080fd5b506102456106a1366004612617565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156106db57600080fd5b50610223611846565b3480156106f057600080fd5b506102236106ff366004612447565b611896565b34801561071057600080fd5b5061022361071f366004612187565b611931565b34801561073057600080fd5b5061022361073f366004612234565b611997565b60006001600160e01b0319821663152a902d60e11b1480610769575061076982611a8f565b92915050565b60606002805461077e90612641565b80601f01602080910402602001604051908101604052809291908181526020018280546107aa90612641565b80156107f75780601f106107cc576101008083540402835291602001916107f7565b820191906000526020600020905b8154815290600101906020018083116107da57829003601f168201915b5050505050905090565b600061080c82611add565b610829576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061085082610f1b565b9050336001600160a01b038216146108895761086c81336106a1565b610889576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6008546001600160a01b031633146109185760405162461bcd60e51b815260040161090f9061267b565b60405180910390fd5b600b805469ff000000000000000000198116600160481b9182900460ff1615909102179055565b600061094a82611b04565b9050836001600160a01b0316816001600160a01b03161461097d5760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b038816909114176109ca576109ad86336106a1565b6109ca57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0385166109f157604051633a954ecd60e21b815260040160405180910390fd5b80156109fc57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b84169003610a8e57600184016000818152600460205260408120549003610a8c576000548114610a8c5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b8060008161ffff1611610b2d5760405162461bcd60e51b815260206004820181905260248201527f596f75204d757374204d696e74206174206c65617374206f6e6520746f6b656e604482015260640161090f565b600b54640100000000900461ffff16610b496001546000540390565b11158015610b745750600b5461ffff908116908216610b6733610fb4565b610b7191906126c6565b11155b610bc05760405162461bcd60e51b815260206004820152601e60248201527f6e6f206d6f726520746f6b656e73207468616e206d696e74206c696d69740000604482015260640161090f565b8061ffff16600a54610bd291906126de565b341015610c0e5760405162461bcd60e51b815260206004820152600a6024820152696c6f772070726963652160b01b604482015260640161090f565b600b54600160401b900460ff16610c605760405162461bcd60e51b81526020600482015260166024820152751b5a5b9d1a5b99c81a5cc81b9bdd08195b98589b195960521b604482015260640161090f565b610c6a3383611b6b565b5050565b600080610c7a84611add565b610cec5760405162461bcd60e51b815260206004820152603a60248201527f45524332393831526f79616c74795374616e646172643a20526f79616c74792060448201527f696e666f20666f72206e6f6e6578697374656e7420746f6b656e000000000000606482015260840161090f565b600b54309061271090610d0d906601000000000000900461ffff16866126de565b610d179190612713565b915091505b9250929050565b6008546001600160a01b03163314610d4d5760405162461bcd60e51b815260040161090f9061267b565b604051479060009033904780156108fc029184818181858888f19350505050905080610dbb5760405162461bcd60e51b815260206004820152601b60248201527f5061796d656e7420646964206e6f7420676f207468726f756768210000000000604482015260640161090f565b604080514281526020810184905233917fdf273cb619d95419a9cd0ec88123a0538c85064229baa6363788f743fff90deb910160405180910390a25050565b610e15838383604051806020016040528060008152506116a1565b505050565b6008546001600160a01b03163314610e445760405162461bcd60e51b815260040161090f9061267b565b600c610c6a828261276d565b6060816000816001600160401b03811115610e6d57610e6d612271565b604051908082528060200260200182016040528015610ebf57816020015b604080516080810182526000808252602080830182905292820181905260608201528252600019909201910181610e8b5790505b50905060005b828114610f1257610eed868683818110610ee157610ee161282c565b905060200201356116eb565b828281518110610eff57610eff61282c565b6020908102919091010152600101610ec5565b50949350505050565b600061076982611b04565b600c8054610f3390612641565b80601f0160208091040260200160405190810160405280929190818152602001828054610f5f90612641565b8015610fac5780601f10610f8157610100808354040283529160200191610fac565b820191906000526020600020905b815481529060010190602001808311610f8f57829003601f168201915b505050505081565b60006001600160a01b038216610fdd576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600560205260409020546001600160401b031690565b6008546001600160a01b0316331461102c5760405162461bcd60e51b815260040161090f9061267b565b6110366000611be6565b565b6008546001600160a01b031633146110625760405162461bcd60e51b815260040161090f9061267b565b600d55565b6060600080600061107785610fb4565b90506000816001600160401b0381111561109357611093612271565b6040519080825280602002602001820160405280156110bc578160200160208202803683370190505b5090506110e960408051608081018252600080825260208201819052918101829052606081019190915290565b60005b838614611163576110fc81611c38565b9150816040015161115b5781516001600160a01b03161561111c57815194505b876001600160a01b0316856001600160a01b03160361115b578083878060010198508151811061114e5761114e61282c565b6020026020010181815250505b6001016110ec565b50909695505050505050565b6008546001600160a01b031633146111995760405162461bcd60e51b815260040161090f9061267b565b600b54600161ffff620100009092048216018116908216106111f25760405162461bcd60e51b81526020600482015260126024820152716e6f206d6f726520696e207265736572766560701b604482015260640161090f565b80600b60028282829054906101000a900461ffff166112119190612842565b92506101000a81548161ffff021916908361ffff160217905550610c6a8282611b6b565b60606003805461077e90612641565b606081831061126657604051631960ccad60e11b815260040160405180910390fd5b60008061127260005490565b905080841115611280578093505b600061128b87610fb4565b9050848610156112aa57858503818110156112a4578091505b506112ae565b5060005b6000816001600160401b038111156112c8576112c8612271565b6040519080825280602002602001820160405280156112f1578160200160208202803683370190505b509050816000036113075793506113b692505050565b6000611312886116eb565b905060008160400151611323575080515b885b8881141580156113355750848714155b156113aa5761134381611c38565b925082604001516113a25782516001600160a01b03161561136357825191505b8a6001600160a01b0316826001600160a01b0316036113a257808488806001019950815181106113955761139561282c565b6020026020010181815250505b600101611325565b50505092835250909150505b9392505050565b336001600160a01b038316036113e65760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b8260008161ffff16116114a75760405162461bcd60e51b815260206004820181905260248201527f596f75204d757374204d696e74206174206c65617374206f6e6520746f6b656e604482015260640161090f565b600b54640100000000900461ffff166114c36001546000540390565b111580156114ee5750600b5461ffff9081169082166114e133610fb4565b6114eb91906126c6565b11155b61153a5760405162461bcd60e51b815260206004820152601e60248201527f6e6f206d6f726520746f6b656e73207468616e206d696e74206c696d69740000604482015260640161090f565b8061ffff16600a5461154c91906126de565b3410156115885760405162461bcd60e51b815260206004820152600a6024820152696c6f772070726963652160b01b604482015260640161090f565b600b54600160481b900460ff166115da5760405162461bcd60e51b81526020600482015260166024820152751b5a5b9d1a5b99c81a5cc81b9bdd08195b98589b195960521b604482015260640161090f565b6040516bffffffffffffffffffffffff193360601b16602082015260009060340160405160208183030381529060405280519060200120905061165484848080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600d549150849050611c74565b6116905760405162461bcd60e51b815260206004820152600d60248201526c24b73b30b634b210383937b7b360991b604482015260640161090f565b61169a3386611b6b565b5050505050565b6116ac84848461093f565b6001600160a01b0383163b156116e5576116c884848484611c8a565b6116e5576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b604080516080808201835260008083526020808401829052838501829052606080850183905285519384018652828452908301829052938201819052928101839052909150600054831061173f5792915050565b61174883611c38565b905080604001511561175a5792915050565b6113b683611d76565b606061176e82611add565b6117d25760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b606482015260840161090f565b600c6117dd83611dab565b6040516020016117ee929190612865565b6040516020818303038152906040529050919050565b6008546001600160a01b0316331461182e5760405162461bcd60e51b815260040161090f9061267b565b600b805461ffff191661ffff92909216919091179055565b6008546001600160a01b031633146118705760405162461bcd60e51b815260040161090f9061267b565b600b805468ff0000000000000000198116600160401b9182900460ff1615909102179055565b6008546001600160a01b031633146118c05760405162461bcd60e51b815260040161090f9061267b565b6001600160a01b0381166119255760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161090f565b61192e81611be6565b50565b6008546001600160a01b0316331461195b5760405162461bcd60e51b815260040161090f9061267b565b600a8190556040518181527f525b762709cc2a983aec5ccdfd807a061f993c91090b5bcd7da92ca254976aaa906020015b60405180910390a150565b6008546001600160a01b031633146119c15760405162461bcd60e51b815260040161090f9061267b565b60008161ffff161180156119d95750605a8161ffff16105b611a315760405162461bcd60e51b8152602060048201526024808201527f726f79616c746965732073686f756c64206265206265747765656e203020616e6044820152630642039360e41b606482015260840161090f565b611a3c8160646128fc565b600b805467ffff0000000000001916660100000000000061ffff9384160217905560405190821681527f382d6d457eaa3c84d586de142a0d72bac72f2a514a1691f8ccf48feae833ff099060200161198c565b60006301ffc9a760e01b6001600160e01b031983161480611ac057506380ac58cd60e01b6001600160e01b03198316145b806107695750506001600160e01b031916635b5e139f60e01b1490565b6000805482108015610769575050600090815260046020526040902054600160e01b161590565b600081600054811015611b525760008181526004602052604081205490600160e01b82169003611b50575b806000036113b6575060001901600081815260046020526040902054611b2f565b505b604051636f96cda160e11b815260040160405180910390fd5b61271061ffff8216611b806001546000540390565b611b8a91906126c6565b1115611bd85760405162461bcd60e51b815260206004820152601f60248201527f526571756573742077696c6c20657863656564206d617820737570706c792100604482015260640161090f565b610c6a828261ffff16611eab565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60408051608081018252600080825260208201819052918101829052606081019190915260008281526004602052604090205461076990611ec5565b600082611c818584611f0c565b14949350505050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611cbf903390899088908890600401612926565b6020604051808303816000875af1925050508015611cfa575060408051601f3d908101601f19168201909252611cf791810190612963565b60015b611d58573d808015611d28576040519150601f19603f3d011682016040523d82523d6000602084013e611d2d565b606091505b508051600003611d50576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b604080516080810182526000808252602082018190529181018290526060810191909152610769611da683611b04565b611ec5565b606081600003611dd25750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611dfc5780611de681612980565b9150611df59050600a83612713565b9150611dd6565b6000816001600160401b03811115611e1657611e16612271565b6040519080825280601f01601f191660200182016040528015611e40576020820181803683370190505b5090505b8415611d6e57611e55600183612999565b9150611e62600a866129b0565b611e6d9060306126c6565b60f81b818381518110611e8257611e8261282c565b60200101906001600160f81b031916908160001a905350611ea4600a86612713565b9450611e44565b610c6a828260405180602001604052806000815250611f59565b604080516080810182526001600160a01b038316815260a083901c6001600160401b03166020820152600160e01b831615159181019190915260e89190911c606082015290565b600081815b8451811015611f5157611f3d82868381518110611f3057611f3061282c565b6020026020010151611fbf565b915080611f4981612980565b915050611f11565b509392505050565b611f638383611feb565b6001600160a01b0383163b15610e15576000548281035b611f8d6000868380600101945086611c8a565b611faa576040516368d2bf6b60e11b815260040160405180910390fd5b818110611f7a57816000541461169a57600080fd5b6000818310611fdb5760008281526020849052604090206113b6565b5060009182526020526040902090565b60008054908290036120105760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b8181146120bf57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101612087565b50816000036120e057604051622e076360e81b815260040160405180910390fd5b60005550505050565b6001600160e01b03198116811461192e57600080fd5b60006020828403121561211157600080fd5b81356113b6816120e9565b60005b8381101561213757818101518382015260200161211f565b838111156116e55750506000910152565b6000815180845261216081602086016020860161211c565b601f01601f19169290920160200192915050565b6020815260006113b66020830184612148565b60006020828403121561219957600080fd5b5035919050565b80356001600160a01b03811681146121b757600080fd5b919050565b600080604083850312156121cf57600080fd5b6121d8836121a0565b946020939093013593505050565b6000806000606084860312156121fb57600080fd5b612204846121a0565b9250612212602085016121a0565b9150604084013590509250925092565b803561ffff811681146121b757600080fd5b60006020828403121561224657600080fd5b6113b682612222565b6000806040838503121561226257600080fd5b50508035926020909101359150565b634e487b7160e01b600052604160045260246000fd5b60006001600160401b03808411156122a1576122a1612271565b604051601f8501601f19908116603f011681019082821181831017156122c9576122c9612271565b816040528093508581528686860111156122e257600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561230e57600080fd5b81356001600160401b0381111561232457600080fd5b8201601f8101841361233557600080fd5b611d6e84823560208401612287565b60008083601f84011261235657600080fd5b5081356001600160401b0381111561236d57600080fd5b6020830191508360208260051b8501011115610d1c57600080fd5b6000806020838503121561239b57600080fd5b82356001600160401b038111156123b157600080fd5b6123bd85828601612344565b90969095509350505050565b80516001600160a01b031682526020808201516001600160401b03169083015260408082015115159083015260609081015162ffffff16910152565b6020808252825182820181905260009190848201906040850190845b81811015611163576124348385516123c9565b9284019260809290920191600101612421565b60006020828403121561245957600080fd5b6113b6826121a0565b6020808252825182820181905260009190848201906040850190845b818110156111635783518352928401929184019160010161247e565b600080604083850312156124ad57600080fd5b6124b6836121a0565b91506124c460208401612222565b90509250929050565b6000806000606084860312156124e257600080fd5b6124eb846121a0565b95602085013595506040909401359392505050565b6000806040838503121561251357600080fd5b61251c836121a0565b91506020830135801515811461253157600080fd5b809150509250929050565b60008060006040848603121561255157600080fd5b61255a84612222565b925060208401356001600160401b0381111561257557600080fd5b61258186828701612344565b9497909650939450505050565b600080600080608085870312156125a457600080fd5b6125ad856121a0565b93506125bb602086016121a0565b92506040850135915060608501356001600160401b038111156125dd57600080fd5b8501601f810187136125ee57600080fd5b6125fd87823560208401612287565b91505092959194509250565b6080810161076982846123c9565b6000806040838503121561262a57600080fd5b612633836121a0565b91506124c4602084016121a0565b600181811c9082168061265557607f821691505b60208210810361267557634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b600082198211156126d9576126d96126b0565b500190565b60008160001904831182151516156126f8576126f86126b0565b500290565b634e487b7160e01b600052601260045260246000fd5b600082612722576127226126fd565b500490565b601f821115610e1557600081815260208120601f850160051c8101602086101561274e5750805b601f850160051c820191505b81811015610ad05782815560010161275a565b81516001600160401b0381111561278657612786612271565b61279a816127948454612641565b84612727565b602080601f8311600181146127cf57600084156127b75750858301515b600019600386901b1c1916600185901b178555610ad0565b600085815260208120601f198616915b828110156127fe578886015182559484019460019091019084016127df565b508582101561281c5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052603260045260246000fd5b600061ffff8381169083168181101561285d5761285d6126b0565b039392505050565b600080845461287381612641565b6001828116801561288b57600181146128a0576128cf565b60ff19841687528215158302870194506128cf565b8860005260208060002060005b858110156128c65781548a8201529084019082016128ad565b50505082870194505b5050505083516128e381836020880161211c565b64173539b7b760d91b9101908152600501949350505050565b600061ffff8083168185168183048111821515161561291d5761291d6126b0565b02949350505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061295990830184612148565b9695505050505050565b60006020828403121561297557600080fd5b81516113b6816120e9565b600060018201612992576129926126b0565b5060010190565b6000828210156129ab576129ab6126b0565b500390565b6000826129bf576129bf6126fd565b50069056fea2646970667358221220436810f974211d8b62bef3cc1836092527b846b7ecf2abca77daa48d90f110e664736f6c634300080f00330000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002568747470733a2f2f6472756e6b726f626f74732e6e65742f6e66742f6d657461646174612f000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x60806040526004361061021c5760003560e01c80637cb6475911610122578063b88d4fde116100a5578063e985e9c51161006c578063e985e9c514610686578063ef196ed3146106cf578063f2fde38b146106e4578063f4a0a52814610704578063f7e079671461072457005b8063b88d4fde146105e3578063c23dc68f14610603578063c87b56dd14610630578063d5abeb0114610650578063d5fe01141461066657005b806395d89b41116100e957806395d89b411461054d578063996517cf1461056257806399a2557a14610590578063a22cb465146105b0578063b182e818146105d057005b80637cb64759146104a1578063841249bd146104c15780638462151c146104e257806386b8ca2d1461050f5780638da5cb5b1461052f57005b80633ccfd60b116101aa5780636352211e116101715780636352211e146104215780636817c76c146104415780636c0360eb1461045757806370a082311461046c578063715018a61461048c57005b80633ccfd60b1461037e57806342842e0e1461039357806355f804b3146103b357806357714372146103d35780635bbb2177146103f457005b806318160ddd116101ee57806318160ddd146102d457806319a096d5146102f757806323b872dd1461030c57806323cf0a221461032c5780632a55205a1461033f57005b806301ffc9a71461022557806306fdde031461025a578063081812fc1461027c578063095ea7b3146102b457005b3661022357005b005b34801561023157600080fd5b506102456102403660046120ff565b610744565b60405190151581526020015b60405180910390f35b34801561026657600080fd5b5061026f61076f565b6040516102519190612174565b34801561028857600080fd5b5061029c610297366004612187565b610801565b6040516001600160a01b039091168152602001610251565b3480156102c057600080fd5b506102236102cf3660046121bc565b610845565b3480156102e057600080fd5b50600154600054035b604051908152602001610251565b34801561030357600080fd5b506102236108e5565b34801561031857600080fd5b506102236103273660046121e6565b61093f565b61022361033a366004612234565b610ad8565b34801561034b57600080fd5b5061035f61035a36600461224f565b610c6e565b604080516001600160a01b039093168352602083019190915201610251565b34801561038a57600080fd5b50610223610d23565b34801561039f57600080fd5b506102236103ae3660046121e6565b610dfa565b3480156103bf57600080fd5b506102236103ce3660046122fc565b610e1a565b3480156103df57600080fd5b50600b5461024590600160401b900460ff1681565b34801561040057600080fd5b5061041461040f366004612388565b610e50565b6040516102519190612405565b34801561042d57600080fd5b5061029c61043c366004612187565b610f1b565b34801561044d57600080fd5b506102e9600a5481565b34801561046357600080fd5b5061026f610f26565b34801561047857600080fd5b506102e9610487366004612447565b610fb4565b34801561049857600080fd5b50610223611002565b3480156104ad57600080fd5b506102236104bc366004612187565b611038565b3480156104cd57600080fd5b50600b5461024590600160481b900460ff1681565b3480156104ee57600080fd5b506105026104fd366004612447565b611067565b6040516102519190612462565b34801561051b57600080fd5b5061022361052a36600461249a565b61116f565b34801561053b57600080fd5b506008546001600160a01b031661029c565b34801561055957600080fd5b5061026f611235565b34801561056e57600080fd5b50600b5461057d9061ffff1681565b60405161ffff9091168152602001610251565b34801561059c57600080fd5b506105026105ab3660046124cd565b611244565b3480156105bc57600080fd5b506102236105cb366004612500565b6113bd565b6102236105de36600461253c565b611452565b3480156105ef57600080fd5b506102236105fe36600461258e565b6116a1565b34801561060f57600080fd5b5061062361061e366004612187565b6116eb565b6040516102519190612609565b34801561063c57600080fd5b5061026f61064b366004612187565b611763565b34801561065c57600080fd5b5061057d61271081565b34801561067257600080fd5b50610223610681366004612234565b611804565b34801561069257600080fd5b506102456106a1366004612617565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156106db57600080fd5b50610223611846565b3480156106f057600080fd5b506102236106ff366004612447565b611896565b34801561071057600080fd5b5061022361071f366004612187565b611931565b34801561073057600080fd5b5061022361073f366004612234565b611997565b60006001600160e01b0319821663152a902d60e11b1480610769575061076982611a8f565b92915050565b60606002805461077e90612641565b80601f01602080910402602001604051908101604052809291908181526020018280546107aa90612641565b80156107f75780601f106107cc576101008083540402835291602001916107f7565b820191906000526020600020905b8154815290600101906020018083116107da57829003601f168201915b5050505050905090565b600061080c82611add565b610829576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061085082610f1b565b9050336001600160a01b038216146108895761086c81336106a1565b610889576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6008546001600160a01b031633146109185760405162461bcd60e51b815260040161090f9061267b565b60405180910390fd5b600b805469ff000000000000000000198116600160481b9182900460ff1615909102179055565b600061094a82611b04565b9050836001600160a01b0316816001600160a01b03161461097d5760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b038816909114176109ca576109ad86336106a1565b6109ca57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0385166109f157604051633a954ecd60e21b815260040160405180910390fd5b80156109fc57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b84169003610a8e57600184016000818152600460205260408120549003610a8c576000548114610a8c5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b8060008161ffff1611610b2d5760405162461bcd60e51b815260206004820181905260248201527f596f75204d757374204d696e74206174206c65617374206f6e6520746f6b656e604482015260640161090f565b600b54640100000000900461ffff16610b496001546000540390565b11158015610b745750600b5461ffff908116908216610b6733610fb4565b610b7191906126c6565b11155b610bc05760405162461bcd60e51b815260206004820152601e60248201527f6e6f206d6f726520746f6b656e73207468616e206d696e74206c696d69740000604482015260640161090f565b8061ffff16600a54610bd291906126de565b341015610c0e5760405162461bcd60e51b815260206004820152600a6024820152696c6f772070726963652160b01b604482015260640161090f565b600b54600160401b900460ff16610c605760405162461bcd60e51b81526020600482015260166024820152751b5a5b9d1a5b99c81a5cc81b9bdd08195b98589b195960521b604482015260640161090f565b610c6a3383611b6b565b5050565b600080610c7a84611add565b610cec5760405162461bcd60e51b815260206004820152603a60248201527f45524332393831526f79616c74795374616e646172643a20526f79616c74792060448201527f696e666f20666f72206e6f6e6578697374656e7420746f6b656e000000000000606482015260840161090f565b600b54309061271090610d0d906601000000000000900461ffff16866126de565b610d179190612713565b915091505b9250929050565b6008546001600160a01b03163314610d4d5760405162461bcd60e51b815260040161090f9061267b565b604051479060009033904780156108fc029184818181858888f19350505050905080610dbb5760405162461bcd60e51b815260206004820152601b60248201527f5061796d656e7420646964206e6f7420676f207468726f756768210000000000604482015260640161090f565b604080514281526020810184905233917fdf273cb619d95419a9cd0ec88123a0538c85064229baa6363788f743fff90deb910160405180910390a25050565b610e15838383604051806020016040528060008152506116a1565b505050565b6008546001600160a01b03163314610e445760405162461bcd60e51b815260040161090f9061267b565b600c610c6a828261276d565b6060816000816001600160401b03811115610e6d57610e6d612271565b604051908082528060200260200182016040528015610ebf57816020015b604080516080810182526000808252602080830182905292820181905260608201528252600019909201910181610e8b5790505b50905060005b828114610f1257610eed868683818110610ee157610ee161282c565b905060200201356116eb565b828281518110610eff57610eff61282c565b6020908102919091010152600101610ec5565b50949350505050565b600061076982611b04565b600c8054610f3390612641565b80601f0160208091040260200160405190810160405280929190818152602001828054610f5f90612641565b8015610fac5780601f10610f8157610100808354040283529160200191610fac565b820191906000526020600020905b815481529060010190602001808311610f8f57829003601f168201915b505050505081565b60006001600160a01b038216610fdd576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600560205260409020546001600160401b031690565b6008546001600160a01b0316331461102c5760405162461bcd60e51b815260040161090f9061267b565b6110366000611be6565b565b6008546001600160a01b031633146110625760405162461bcd60e51b815260040161090f9061267b565b600d55565b6060600080600061107785610fb4565b90506000816001600160401b0381111561109357611093612271565b6040519080825280602002602001820160405280156110bc578160200160208202803683370190505b5090506110e960408051608081018252600080825260208201819052918101829052606081019190915290565b60005b838614611163576110fc81611c38565b9150816040015161115b5781516001600160a01b03161561111c57815194505b876001600160a01b0316856001600160a01b03160361115b578083878060010198508151811061114e5761114e61282c565b6020026020010181815250505b6001016110ec565b50909695505050505050565b6008546001600160a01b031633146111995760405162461bcd60e51b815260040161090f9061267b565b600b54600161ffff620100009092048216018116908216106111f25760405162461bcd60e51b81526020600482015260126024820152716e6f206d6f726520696e207265736572766560701b604482015260640161090f565b80600b60028282829054906101000a900461ffff166112119190612842565b92506101000a81548161ffff021916908361ffff160217905550610c6a8282611b6b565b60606003805461077e90612641565b606081831061126657604051631960ccad60e11b815260040160405180910390fd5b60008061127260005490565b905080841115611280578093505b600061128b87610fb4565b9050848610156112aa57858503818110156112a4578091505b506112ae565b5060005b6000816001600160401b038111156112c8576112c8612271565b6040519080825280602002602001820160405280156112f1578160200160208202803683370190505b509050816000036113075793506113b692505050565b6000611312886116eb565b905060008160400151611323575080515b885b8881141580156113355750848714155b156113aa5761134381611c38565b925082604001516113a25782516001600160a01b03161561136357825191505b8a6001600160a01b0316826001600160a01b0316036113a257808488806001019950815181106113955761139561282c565b6020026020010181815250505b600101611325565b50505092835250909150505b9392505050565b336001600160a01b038316036113e65760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b8260008161ffff16116114a75760405162461bcd60e51b815260206004820181905260248201527f596f75204d757374204d696e74206174206c65617374206f6e6520746f6b656e604482015260640161090f565b600b54640100000000900461ffff166114c36001546000540390565b111580156114ee5750600b5461ffff9081169082166114e133610fb4565b6114eb91906126c6565b11155b61153a5760405162461bcd60e51b815260206004820152601e60248201527f6e6f206d6f726520746f6b656e73207468616e206d696e74206c696d69740000604482015260640161090f565b8061ffff16600a5461154c91906126de565b3410156115885760405162461bcd60e51b815260206004820152600a6024820152696c6f772070726963652160b01b604482015260640161090f565b600b54600160481b900460ff166115da5760405162461bcd60e51b81526020600482015260166024820152751b5a5b9d1a5b99c81a5cc81b9bdd08195b98589b195960521b604482015260640161090f565b6040516bffffffffffffffffffffffff193360601b16602082015260009060340160405160208183030381529060405280519060200120905061165484848080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600d549150849050611c74565b6116905760405162461bcd60e51b815260206004820152600d60248201526c24b73b30b634b210383937b7b360991b604482015260640161090f565b61169a3386611b6b565b5050505050565b6116ac84848461093f565b6001600160a01b0383163b156116e5576116c884848484611c8a565b6116e5576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b604080516080808201835260008083526020808401829052838501829052606080850183905285519384018652828452908301829052938201819052928101839052909150600054831061173f5792915050565b61174883611c38565b905080604001511561175a5792915050565b6113b683611d76565b606061176e82611add565b6117d25760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b606482015260840161090f565b600c6117dd83611dab565b6040516020016117ee929190612865565b6040516020818303038152906040529050919050565b6008546001600160a01b0316331461182e5760405162461bcd60e51b815260040161090f9061267b565b600b805461ffff191661ffff92909216919091179055565b6008546001600160a01b031633146118705760405162461bcd60e51b815260040161090f9061267b565b600b805468ff0000000000000000198116600160401b9182900460ff1615909102179055565b6008546001600160a01b031633146118c05760405162461bcd60e51b815260040161090f9061267b565b6001600160a01b0381166119255760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161090f565b61192e81611be6565b50565b6008546001600160a01b0316331461195b5760405162461bcd60e51b815260040161090f9061267b565b600a8190556040518181527f525b762709cc2a983aec5ccdfd807a061f993c91090b5bcd7da92ca254976aaa906020015b60405180910390a150565b6008546001600160a01b031633146119c15760405162461bcd60e51b815260040161090f9061267b565b60008161ffff161180156119d95750605a8161ffff16105b611a315760405162461bcd60e51b8152602060048201526024808201527f726f79616c746965732073686f756c64206265206265747765656e203020616e6044820152630642039360e41b606482015260840161090f565b611a3c8160646128fc565b600b805467ffff0000000000001916660100000000000061ffff9384160217905560405190821681527f382d6d457eaa3c84d586de142a0d72bac72f2a514a1691f8ccf48feae833ff099060200161198c565b60006301ffc9a760e01b6001600160e01b031983161480611ac057506380ac58cd60e01b6001600160e01b03198316145b806107695750506001600160e01b031916635b5e139f60e01b1490565b6000805482108015610769575050600090815260046020526040902054600160e01b161590565b600081600054811015611b525760008181526004602052604081205490600160e01b82169003611b50575b806000036113b6575060001901600081815260046020526040902054611b2f565b505b604051636f96cda160e11b815260040160405180910390fd5b61271061ffff8216611b806001546000540390565b611b8a91906126c6565b1115611bd85760405162461bcd60e51b815260206004820152601f60248201527f526571756573742077696c6c20657863656564206d617820737570706c792100604482015260640161090f565b610c6a828261ffff16611eab565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60408051608081018252600080825260208201819052918101829052606081019190915260008281526004602052604090205461076990611ec5565b600082611c818584611f0c565b14949350505050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611cbf903390899088908890600401612926565b6020604051808303816000875af1925050508015611cfa575060408051601f3d908101601f19168201909252611cf791810190612963565b60015b611d58573d808015611d28576040519150601f19603f3d011682016040523d82523d6000602084013e611d2d565b606091505b508051600003611d50576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b604080516080810182526000808252602082018190529181018290526060810191909152610769611da683611b04565b611ec5565b606081600003611dd25750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611dfc5780611de681612980565b9150611df59050600a83612713565b9150611dd6565b6000816001600160401b03811115611e1657611e16612271565b6040519080825280601f01601f191660200182016040528015611e40576020820181803683370190505b5090505b8415611d6e57611e55600183612999565b9150611e62600a866129b0565b611e6d9060306126c6565b60f81b818381518110611e8257611e8261282c565b60200101906001600160f81b031916908160001a905350611ea4600a86612713565b9450611e44565b610c6a828260405180602001604052806000815250611f59565b604080516080810182526001600160a01b038316815260a083901c6001600160401b03166020820152600160e01b831615159181019190915260e89190911c606082015290565b600081815b8451811015611f5157611f3d82868381518110611f3057611f3061282c565b6020026020010151611fbf565b915080611f4981612980565b915050611f11565b509392505050565b611f638383611feb565b6001600160a01b0383163b15610e15576000548281035b611f8d6000868380600101945086611c8a565b611faa576040516368d2bf6b60e11b815260040160405180910390fd5b818110611f7a57816000541461169a57600080fd5b6000818310611fdb5760008281526020849052604090206113b6565b5060009182526020526040902090565b60008054908290036120105760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b8181146120bf57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101612087565b50816000036120e057604051622e076360e81b815260040160405180910390fd5b60005550505050565b6001600160e01b03198116811461192e57600080fd5b60006020828403121561211157600080fd5b81356113b6816120e9565b60005b8381101561213757818101518382015260200161211f565b838111156116e55750506000910152565b6000815180845261216081602086016020860161211c565b601f01601f19169290920160200192915050565b6020815260006113b66020830184612148565b60006020828403121561219957600080fd5b5035919050565b80356001600160a01b03811681146121b757600080fd5b919050565b600080604083850312156121cf57600080fd5b6121d8836121a0565b946020939093013593505050565b6000806000606084860312156121fb57600080fd5b612204846121a0565b9250612212602085016121a0565b9150604084013590509250925092565b803561ffff811681146121b757600080fd5b60006020828403121561224657600080fd5b6113b682612222565b6000806040838503121561226257600080fd5b50508035926020909101359150565b634e487b7160e01b600052604160045260246000fd5b60006001600160401b03808411156122a1576122a1612271565b604051601f8501601f19908116603f011681019082821181831017156122c9576122c9612271565b816040528093508581528686860111156122e257600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561230e57600080fd5b81356001600160401b0381111561232457600080fd5b8201601f8101841361233557600080fd5b611d6e84823560208401612287565b60008083601f84011261235657600080fd5b5081356001600160401b0381111561236d57600080fd5b6020830191508360208260051b8501011115610d1c57600080fd5b6000806020838503121561239b57600080fd5b82356001600160401b038111156123b157600080fd5b6123bd85828601612344565b90969095509350505050565b80516001600160a01b031682526020808201516001600160401b03169083015260408082015115159083015260609081015162ffffff16910152565b6020808252825182820181905260009190848201906040850190845b81811015611163576124348385516123c9565b9284019260809290920191600101612421565b60006020828403121561245957600080fd5b6113b6826121a0565b6020808252825182820181905260009190848201906040850190845b818110156111635783518352928401929184019160010161247e565b600080604083850312156124ad57600080fd5b6124b6836121a0565b91506124c460208401612222565b90509250929050565b6000806000606084860312156124e257600080fd5b6124eb846121a0565b95602085013595506040909401359392505050565b6000806040838503121561251357600080fd5b61251c836121a0565b91506020830135801515811461253157600080fd5b809150509250929050565b60008060006040848603121561255157600080fd5b61255a84612222565b925060208401356001600160401b0381111561257557600080fd5b61258186828701612344565b9497909650939450505050565b600080600080608085870312156125a457600080fd5b6125ad856121a0565b93506125bb602086016121a0565b92506040850135915060608501356001600160401b038111156125dd57600080fd5b8501601f810187136125ee57600080fd5b6125fd87823560208401612287565b91505092959194509250565b6080810161076982846123c9565b6000806040838503121561262a57600080fd5b612633836121a0565b91506124c4602084016121a0565b600181811c9082168061265557607f821691505b60208210810361267557634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b600082198211156126d9576126d96126b0565b500190565b60008160001904831182151516156126f8576126f86126b0565b500290565b634e487b7160e01b600052601260045260246000fd5b600082612722576127226126fd565b500490565b601f821115610e1557600081815260208120601f850160051c8101602086101561274e5750805b601f850160051c820191505b81811015610ad05782815560010161275a565b81516001600160401b0381111561278657612786612271565b61279a816127948454612641565b84612727565b602080601f8311600181146127cf57600084156127b75750858301515b600019600386901b1c1916600185901b178555610ad0565b600085815260208120601f198616915b828110156127fe578886015182559484019460019091019084016127df565b508582101561281c5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052603260045260246000fd5b600061ffff8381169083168181101561285d5761285d6126b0565b039392505050565b600080845461287381612641565b6001828116801561288b57600181146128a0576128cf565b60ff19841687528215158302870194506128cf565b8860005260208060002060005b858110156128c65781548a8201529084019082016128ad565b50505082870194505b5050505083516128e381836020880161211c565b64173539b7b760d91b9101908152600501949350505050565b600061ffff8083168185168183048111821515161561291d5761291d6126b0565b02949350505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061295990830184612148565b9695505050505050565b60006020828403121561297557600080fd5b81516113b6816120e9565b600060018201612992576129926126b0565b5060010190565b6000828210156129ab576129ab6126b0565b500390565b6000826129bf576129bf6126fd565b50069056fea2646970667358221220436810f974211d8b62bef3cc1836092527b846b7ecf2abca77daa48d90f110e664736f6c634300080f0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002568747470733a2f2f6472756e6b726f626f74732e6e65742f6e66742f6d657461646174612f000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _uri (string): https://drunkrobots.net/nft/metadata/
-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000025
Arg [2] : 68747470733a2f2f6472756e6b726f626f74732e6e65742f6e66742f6d657461
Arg [3] : 646174612f000000000000000000000000000000000000000000000000000000
Deployed Bytecode Sourcemap
79163:7306:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;85473:305;;;;;;;;;;-1:-1:-1;85473:305:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;85473:305:0;;;;;;;;38183:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;44666:218::-;;;;;;;;;;-1:-1:-1;44666:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1692:32:1;;;1674:51;;1662:2;1647:18;44666:218:0;1528:203:1;44107:400:0;;;;;;;;;;-1:-1:-1;44107:400:0;;;;;:::i;:::-;;:::i;33934:323::-;;;;;;;;;;-1:-1:-1;34208:12:0;;33995:7;34192:13;:28;33934:323;;;2319:25:1;;;2307:2;2292:18;33934:323:0;2173:177:1;82975:130:0;;;;;;;;;;;;;:::i;48373:2817::-;;;;;;;;;;-1:-1:-1;48373:2817:0;;;;;:::i;:::-;;:::i;81820:187::-;;;;;;:::i;:::-;;:::i;86007:384::-;;;;;;;;;;-1:-1:-1;86007:384:0;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;3486:32:1;;;3468:51;;3550:2;3535:18;;3528:34;;;;3441:18;86007:384:0;3294:274:1;85057:292:0;;;;;;;;;;;;;:::i;51286:185::-;;;;;;;;;;-1:-1:-1;51286:185:0;;;;;:::i;:::-;;:::i;84359:92::-;;;;;;;;;;-1:-1:-1;84359:92:0;;;;;:::i;:::-;;:::i;79750:33::-;;;;;;;;;;-1:-1:-1;79750:33:0;;;;-1:-1:-1;;;79750:33:0;;;;;;74285:528;;;;;;;;;;-1:-1:-1;74285:528:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;39576:152::-;;;;;;;;;;-1:-1:-1;39576:152:0;;;;;:::i;:::-;;:::i;79308:37::-;;;;;;;;;;;;;;;;79835:21;;;;;;;;;;;;;:::i;35118:233::-;;;;;;;;;;-1:-1:-1;35118:233:0;;;;;:::i;:::-;;:::i;18029:103::-;;;;;;;;;;;;;:::i;84138:106::-;;;;;;;;;;-1:-1:-1;84138:106:0;;;;;:::i;:::-;;:::i;79790:36::-;;;;;;;;;;-1:-1:-1;79790:36:0;;;;-1:-1:-1;;;79790:36:0;;;;;;78161:900;;;;;;;;;;-1:-1:-1;78161:900:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;83367:236::-;;;;;;;;;;-1:-1:-1;83367:236:0;;;;;:::i;:::-;;:::i;17378:87::-;;;;;;;;;;-1:-1:-1;17451:6:0;;-1:-1:-1;;;;;17451:6:0;17378:87;;38359:104;;;;;;;;;;;;;:::i;79376:27::-;;;;;;;;;;-1:-1:-1;79376:27:0;;;;;;;;;;;8143:6:1;8131:19;;;8113:38;;8101:2;8086:18;79376:27:0;7969:188:1;75201:2513:0;;;;;;;;;;-1:-1:-1;75201:2513:0;;;;;:::i;:::-;;:::i;45224:308::-;;;;;;;;;;-1:-1:-1;45224:308:0;;;;;:::i;:::-;;:::i;81208:455::-;;;;;;:::i;:::-;;:::i;52069:399::-;;;;;;;;;;-1:-1:-1;52069:399:0;;;;;:::i;:::-;;:::i;73698:428::-;;;;;;;;;;-1:-1:-1;73698:428:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;82159:355::-;;;;;;;;;;-1:-1:-1;82159:355:0;;;;;:::i;:::-;;:::i;79471:40::-;;;;;;;;;;;;79506:5;79471:40;;84029:101;;;;;;;;;;-1:-1:-1;84029:101:0;;;;;:::i;:::-;;:::i;45689:164::-;;;;;;;;;;-1:-1:-1;45689:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;45810:25:0;;;45786:4;45810:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;45689:164;82736:121;;;;;;;;;;;;;:::i;18287:201::-;;;;;;;;;;-1:-1:-1;18287:201:0;;;;;:::i;:::-;;:::i;83716:146::-;;;;;;;;;;-1:-1:-1;83716:146:0;;;;;:::i;:::-;;:::i;84625:318::-;;;;;;;;;;-1:-1:-1;84625:318:0;;;;;:::i;:::-;;:::i;85473:305::-;85632:4;-1:-1:-1;;;;;;85674:42:0;;-1:-1:-1;;;85674:42:0;;:96;;;85733:37;85757:12;85733:23;:37::i;:::-;85654:116;85473:305;-1:-1:-1;;85473:305:0:o;38183:100::-;38237:13;38270:5;38263:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38183:100;:::o;44666:218::-;44742:7;44767:16;44775:7;44767;:16::i;:::-;44762:64;;44792:34;;-1:-1:-1;;;44792:34:0;;;;;;;;;;;44762:64;-1:-1:-1;44846:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;44846:30:0;;44666:218::o;44107:400::-;44188:13;44204:16;44212:7;44204;:16::i;:::-;44188:32;-1:-1:-1;67964:10:0;-1:-1:-1;;;;;44237:28:0;;;44233:175;;44285:44;44302:5;67964:10;45689:164;:::i;44285:44::-;44280:128;;44357:35;;-1:-1:-1;;;44357:35:0;;;;;;;;;;;44280:128;44420:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;44420:35:0;-1:-1:-1;;;;;44420:35:0;;;;;;;;;44471:28;;44420:24;;44471:28;;;;;;;44177:330;44107:400;;:::o;82975:130::-;17451:6;;-1:-1:-1;;;;;17451:6:0;67964:10;17598:23;17590:68;;;;-1:-1:-1;;;17590:68:0;;;;;;;:::i;:::-;;;;;;;;;83073:24:::1;::::0;;-1:-1:-1;;83045:52:0;::::1;-1:-1:-1::0;;;83073:24:0;;;::::1;;;83072:25;83045:52:::0;;::::1;;::::0;;82975:130::o;48373:2817::-;48507:27;48537;48556:7;48537:18;:27::i;:::-;48507:57;;48622:4;-1:-1:-1;;;;;48581:45:0;48597:19;-1:-1:-1;;;;;48581:45:0;;48577:86;;48635:28;;-1:-1:-1;;;48635:28:0;;;;;;;;;;;48577:86;48677:27;47487:24;;;:15;:24;;;;;47709:26;;67964:10;47112:30;;;-1:-1:-1;;;;;46805:28:0;;47090:20;;;47087:56;48863:180;;48956:43;48973:4;67964:10;45689:164;:::i;48956:43::-;48951:92;;49008:35;;-1:-1:-1;;;49008:35:0;;;;;;;;;;;48951:92;-1:-1:-1;;;;;49060:16:0;;49056:52;;49085:23;;-1:-1:-1;;;49085:23:0;;;;;;;;;;;49056:52;49257:15;49254:160;;;49397:1;49376:19;49369:30;49254:160;-1:-1:-1;;;;;49794:24:0;;;;;;;:18;:24;;;;;;49792:26;;-1:-1:-1;;49792:26:0;;;49863:22;;;;;;;;;49861:24;;-1:-1:-1;49861:24:0;;;42965:11;42940:23;42936:41;42923:63;-1:-1:-1;;;42923:63:0;50156:26;;;;:17;:26;;;;;:175;;;;-1:-1:-1;;;50451:47:0;;:52;;50447:627;;50556:1;50546:11;;50524:19;50679:30;;;:17;:30;;;;;;:35;;50675:384;;50817:13;;50802:11;:28;50798:242;;50964:30;;;;:17;:30;;;;;:52;;;50798:242;50505:569;50447:627;51121:7;51117:2;-1:-1:-1;;;;;51102:27:0;51111:4;-1:-1:-1;;;;;51102:27:0;;;;;;;;;;;51140:42;48496:2694;;;48373:2817;;;:::o;81820:187::-;81883:6;79967:1;79958:6;:10;;;79950:55;;;;-1:-1:-1;;;79950:55:0;;11511:2:1;79950:55:0;;;11493:21:1;;;11530:18;;;11523:30;11589:34;11569:18;;;11562:62;11641:18;;79950:55:0;11309:356:1;79950:55:0;80055:12;;;;;;;80038:13;34208:12;;33995:7;34192:13;:28;;33934:323;80038:13;:29;;:95;;;;-1:-1:-1;80124:9:0;;;;;;;80088:32;;:23;67964:10;35118:233;:::i;80088:23::-;:32;;;;:::i;:::-;:45;;80038:95;80016:175;;;;-1:-1:-1;;;80016:175:0;;12137:2:1;80016:175:0;;;12119:21:1;12176:2;12156:18;;;12149:30;12215:32;12195:18;;;12188:60;12265:18;;80016:175:0;11935:354:1;80016:175:0;80235:6;80223:18;;:9;;:18;;;;:::i;:::-;80210:9;:31;;80202:54;;;;-1:-1:-1;;;80202:54:0;;12669:2:1;80202:54:0;;;12651:21:1;12708:2;12688:18;;;12681:30;-1:-1:-1;;;12727:18:1;;;12720:40;12777:18;;80202:54:0;12467:334:1;80202:54:0;81910:21:::1;::::0;-1:-1:-1;;;81910:21:0;::::1;;;81902:56;;;::::0;-1:-1:-1;;;81902:56:0;;13008:2:1;81902:56:0::1;::::0;::::1;12990:21:1::0;13047:2;13027:18;;;13020:30;-1:-1:-1;;;13066:18:1;;;13059:52;13128:18;;81902:56:0::1;12806:346:1::0;81902:56:0::1;81971:28;67964:10:::0;81992:6:::1;81971;:28::i;:::-;81820:187:::0;;:::o;86007:384::-;86134:16;86152:21;86213:17;86221:8;86213:7;:17::i;:::-;86191:125;;;;-1:-1:-1;;;86191:125:0;;13359:2:1;86191:125:0;;;13341:21:1;13398:2;13378:18;;;13371:30;13437:34;13417:18;;;13410:62;13508:28;13488:18;;;13481:56;13554:19;;86191:125:0;13157:422:1;86191:125:0;86364:9;;86343:4;;86377:5;;86351:22;;86364:9;;;;;86351:10;:22;:::i;:::-;86350:32;;;;:::i;:::-;86327:56;;;;86007:384;;;;;;:::o;85057:292::-;17451:6;;-1:-1:-1;;;;;17451:6:0;67964:10;17598:23;17590:68;;;;-1:-1:-1;;;17590:68:0;;;;;;;:::i;:::-;85172:47:::1;::::0;85125:21:::1;::::0;85107:15:::1;::::0;85180:10:::1;::::0;85197:21:::1;85172:47:::0;::::1;;;::::0;85107:15;85172:47;85107:15;85172:47;85197:21;85180:10;85172:47;::::1;;;;;;85157:62;;85238:7;85230:47;;;::::0;-1:-1:-1;;;85230:47:0;;14043:2:1;85230:47:0::1;::::0;::::1;14025:21:1::0;14082:2;14062:18;;;14055:30;14121:29;14101:18;;;14094:57;14168:18;;85230:47:0::1;13841:351:1::0;85230:47:0::1;85293:48;::::0;;85316:15:::1;14371:25:1::0;;14427:2;14412:18;;14405:34;;;85304:10:0::1;::::0;85293:48:::1;::::0;14344:18:1;85293:48:0::1;;;;;;;85096:253;;85057:292::o:0;51286:185::-;51424:39;51441:4;51447:2;51451:7;51424:39;;;;;;;;;;;;:16;:39::i;:::-;51286:185;;;:::o;84359:92::-;17451:6;;-1:-1:-1;;;;;17451:6:0;67964:10;17598:23;17590:68;;;;-1:-1:-1;;;17590:68:0;;;;;;;:::i;:::-;84429:7:::1;:14;84439:4:::0;84429:7;:14:::1;:::i;74285:528::-:0;74429:23;74520:8;74495:22;74520:8;-1:-1:-1;;;;;74587:36:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;74587:36:0;;-1:-1:-1;;74587:36:0;;;;;;;;;;;;74550:73;;74643:9;74638:125;74659:14;74654:1;:19;74638:125;;74715:32;74735:8;;74744:1;74735:11;;;;;;;:::i;:::-;;;;;;;74715:19;:32::i;:::-;74699:10;74710:1;74699:13;;;;;;;;:::i;:::-;;;;;;;;;;:48;74675:3;;74638:125;;;-1:-1:-1;74784:10:0;74285:528;-1:-1:-1;;;;74285:528:0:o;39576:152::-;39648:7;39691:27;39710:7;39691:18;:27::i;79835:21::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;35118:233::-;35190:7;-1:-1:-1;;;;;35214:19:0;;35210:60;;35242:28;;-1:-1:-1;;;35242:28:0;;;;;;;;;;;35210:60;-1:-1:-1;;;;;;35288:25:0;;;;;:18;:25;;;;;;-1:-1:-1;;;;;35288:55:0;;35118:233::o;18029:103::-;17451:6;;-1:-1:-1;;;;;17451:6:0;67964:10;17598:23;17590:68;;;;-1:-1:-1;;;17590:68:0;;;;;;;:::i;:::-;18094:30:::1;18121:1;18094:18;:30::i;:::-;18029:103::o:0;84138:106::-;17451:6;;-1:-1:-1;;;;;17451:6:0;67964:10;17598:23;17590:68;;;;-1:-1:-1;;;17590:68:0;;;;;;;:::i;:::-;84212:10:::1;:24:::0;84138:106::o;78161:900::-;78239:16;78293:19;78327:25;78367:22;78392:16;78402:5;78392:9;:16::i;:::-;78367:41;;78423:25;78465:14;-1:-1:-1;;;;;78451:29:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;78451:29:0;;78423:57;;78495:31;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;78495:31:0;78546:9;78541:472;78590:14;78575:11;:29;78541:472;;78642:15;78655:1;78642:12;:15::i;:::-;78630:27;;78680:9;:16;;;78721:8;78676:73;78771:14;;-1:-1:-1;;;;;78771:28:0;;78767:111;;78844:14;;;-1:-1:-1;78767:111:0;78921:5;-1:-1:-1;;;;;78900:26:0;:17;-1:-1:-1;;;;;78900:26:0;;78896:102;;78977:1;78951:8;78960:13;;;;;;78951:23;;;;;;;;:::i;:::-;;;;;;:27;;;;;78896:102;78606:3;;78541:472;;;-1:-1:-1;79034:8:0;;78161:900;-1:-1:-1;;;;;;78161:900:0:o;83367:236::-;17451:6;;-1:-1:-1;;;;;17451:6:0;67964:10;17598:23;17590:68;;;;-1:-1:-1;;;17590:68:0;;;;;;;:::i;:::-;83492:7:::1;::::0;83502:1:::1;83492:7;::::0;;;::::1;::::0;::::1;:11;83482:22:::0;::::1;::::0;;::::1;;83474:53;;;::::0;-1:-1:-1;;;83474:53:0;;16988:2:1;83474:53:0::1;::::0;::::1;16970:21:1::0;17027:2;17007:18;;;17000:30;-1:-1:-1;;;17046:18:1;;;17039:48;17104:18;;83474:53:0::1;16786:342:1::0;83474:53:0::1;83560:6;83549:7;;:17;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;83577:18;83584:2;83588:6;83577;:18::i;38359:104::-:0;38415:13;38448:7;38441:14;;;;;:::i;75201:2513::-;75344:16;75411:4;75402:5;:13;75398:45;;75424:19;;-1:-1:-1;;;75424:19:0;;;;;;;;;;;75398:45;75458:19;75492:17;75512:14;33676:7;33703:13;;33621:103;75512:14;75492:34;-1:-1:-1;75763:9:0;75756:4;:16;75752:73;;;75800:9;75793:16;;75752:73;75839:25;75867:16;75877:5;75867:9;:16::i;:::-;75839:44;;76061:4;76053:5;:12;76049:278;;;76108:12;;;76143:31;;;76139:111;;;76219:11;76199:31;;76139:111;76067:198;76049:278;;;-1:-1:-1;76310:1:0;76049:278;76341:25;76383:17;-1:-1:-1;;;;;76369:32:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;76369:32:0;;76341:60;;76420:17;76441:1;76420:22;76416:78;;76470:8;-1:-1:-1;76463:15:0;;-1:-1:-1;;;76463:15:0;76416:78;76638:31;76672:26;76692:5;76672:19;:26::i;:::-;76638:60;;76713:25;76958:9;:16;;;76953:92;;-1:-1:-1;77015:14:0;;76953:92;77076:5;77059:478;77088:4;77083:1;:9;;:45;;;;;77111:17;77096:11;:32;;77083:45;77059:478;;;77166:15;77179:1;77166:12;:15::i;:::-;77154:27;;77204:9;:16;;;77245:8;77200:73;77295:14;;-1:-1:-1;;;;;77295:28:0;;77291:111;;77368:14;;;-1:-1:-1;77291:111:0;77445:5;-1:-1:-1;;;;;77424:26:0;:17;-1:-1:-1;;;;;77424:26:0;;77420:102;;77501:1;77475:8;77484:13;;;;;;77475:23;;;;;;;;:::i;:::-;;;;;;:27;;;;;77420:102;77130:3;;77059:478;;;-1:-1:-1;;;77622:29:0;;;-1:-1:-1;77629:8:0;;-1:-1:-1;;75201:2513:0;;;;;;:::o;45224:308::-;67964:10;-1:-1:-1;;;;;45323:31:0;;;45319:61;;45363:17;;-1:-1:-1;;;45363:17:0;;;;;;;;;;;45319:61;67964:10;45393:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;45393:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;45393:60:0;;;;;;;;;;45469:55;;540:41:1;;;45393:49:0;;67964:10;45469:55;;513:18:1;45469:55:0;;;;;;;45224:308;;:::o;81208:455::-;81340:6;79967:1;79958:6;:10;;;79950:55;;;;-1:-1:-1;;;79950:55:0;;11511:2:1;79950:55:0;;;11493:21:1;;;11530:18;;;11523:30;11589:34;11569:18;;;11562:62;11641:18;;79950:55:0;11309:356:1;79950:55:0;80055:12;;;;;;;80038:13;34208:12;;33995:7;34192:13;:28;;33934:323;80038:13;:29;;:95;;;;-1:-1:-1;80124:9:0;;;;;;;80088:32;;:23;67964:10;35118:233;:::i;80088:23::-;:32;;;;:::i;:::-;:45;;80038:95;80016:175;;;;-1:-1:-1;;;80016:175:0;;12137:2:1;80016:175:0;;;12119:21:1;12176:2;12156:18;;;12149:30;12215:32;12195:18;;;12188:60;12265:18;;80016:175:0;11935:354:1;80016:175:0;80235:6;80223:18;;:9;;:18;;;;:::i;:::-;80210:9;:31;;80202:54;;;;-1:-1:-1;;;80202:54:0;;12669:2:1;80202:54:0;;;12651:21:1;12708:2;12688:18;;;12681:30;-1:-1:-1;;;12727:18:1;;;12720:40;12777:18;;80202:54:0;12467:334:1;80202:54:0;81372:24:::1;::::0;-1:-1:-1;;;81372:24:0;::::1;;;81364:59;;;::::0;-1:-1:-1;;;81364:59:0;;13008:2:1;81364:59:0::1;::::0;::::1;12990:21:1::0;13047:2;13027:18;;;13020:30;-1:-1:-1;;;13066:18:1;;;13059:52;13128:18;;81364:59:0::1;12806:346:1::0;81364:59:0::1;81459:30;::::0;-1:-1:-1;;67964:10:0;17504:2:1;17500:15;17496:53;81459:30:0::1;::::0;::::1;17484:66:1::0;81434:12:0::1;::::0;17566::1;;81459:30:0::1;;;;;;;;;;;;81449:41;;;;;;81434:56;;81523:50;81542:12;;81523:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;;81556:10:0::1;::::0;;-1:-1:-1;81568:4:0;;-1:-1:-1;81523:18:0::1;:50::i;:::-;81501:113;;;::::0;-1:-1:-1;;;81501:113:0;;17791:2:1;81501:113:0::1;::::0;::::1;17773:21:1::0;17830:2;17810:18;;;17803:30;-1:-1:-1;;;17849:18:1;;;17842:43;17902:18;;81501:113:0::1;17589:337:1::0;81501:113:0::1;81627:28;67964:10:::0;81648:6:::1;81627;:28::i;:::-;81353:310;81208:455:::0;;;;:::o;52069:399::-;52236:31;52249:4;52255:2;52259:7;52236:12;:31::i;:::-;-1:-1:-1;;;;;52282:14:0;;;:19;52278:183;;52321:56;52352:4;52358:2;52362:7;52371:5;52321:30;:56::i;:::-;52316:145;;52405:40;;-1:-1:-1;;;52405:40:0;;;;;;;;;;;52316:145;52069:399;;;;:::o;73698:428::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33676:7:0;33703:13;73891:7;:25;73858:103;;73940:9;73698:428;-1:-1:-1;;73698:428:0:o;73858:103::-;73983:21;73996:7;73983:12;:21::i;:::-;73971:33;;74019:9;:16;;;74015:65;;;74059:9;73698:428;-1:-1:-1;;73698:428:0:o;74015:65::-;74097:21;74110:7;74097:12;:21::i;82159:355::-;82280:13;82333:17;82341:8;82333:7;:17::i;:::-;82311:114;;;;-1:-1:-1;;;82311:114:0;;18133:2:1;82311:114:0;;;18115:21:1;18172:2;18152:18;;;18145:30;18211:34;18191:18;;;18184:62;-1:-1:-1;;;18262:18:1;;;18255:45;18317:19;;82311:114:0;17931:411:1;82311:114:0;82467:7;82476:19;:8;:17;:19::i;:::-;82450:55;;;;;;;;;:::i;:::-;;;;;;;;;;;;;82436:70;;82159:355;;;:::o;84029:101::-;17451:6;;-1:-1:-1;;;;;17451:6:0;67964:10;17598:23;17590:68;;;;-1:-1:-1;;;17590:68:0;;;;;;;:::i;:::-;84100:9:::1;:22:::0;;-1:-1:-1;;84100:22:0::1;;::::0;;;::::1;::::0;;;::::1;::::0;;84029:101::o;82736:121::-;17451:6;;-1:-1:-1;;;;;17451:6:0;67964:10;17598:23;17590:68;;;;-1:-1:-1;;;17590:68:0;;;;;;;:::i;:::-;82828:21:::1;::::0;;-1:-1:-1;;82803:46:0;::::1;-1:-1:-1::0;;;82828:21:0;;;::::1;;;82827:22;82803:46:::0;;::::1;;::::0;;82736:121::o;18287:201::-;17451:6;;-1:-1:-1;;;;;17451:6:0;67964:10;17598:23;17590:68;;;;-1:-1:-1;;;17590:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;18376:22:0;::::1;18368:73;;;::::0;-1:-1:-1;;;18368:73:0;;19728:2:1;18368:73:0::1;::::0;::::1;19710:21:1::0;19767:2;19747:18;;;19740:30;19806:34;19786:18;;;19779:62;-1:-1:-1;;;19857:18:1;;;19850:36;19903:19;;18368:73:0::1;19526:402:1::0;18368:73:0::1;18452:28;18471:8;18452:18;:28::i;:::-;18287:201:::0;:::o;83716:146::-;17451:6;;-1:-1:-1;;;;;17451:6:0;67964:10;17598:23;17590:68;;;;-1:-1:-1;;;17590:68:0;;;;;;;:::i;:::-;83788:9:::1;:22:::0;;;83826:28:::1;::::0;2319:25:1;;;83826:28:0::1;::::0;2307:2:1;2292:18;83826:28:0::1;;;;;;;;83716:146:::0;:::o;84625:318::-;17451:6;;-1:-1:-1;;;;;17451:6:0;67964:10;17598:23;17590:68;;;;-1:-1:-1;;;17590:68:0;;;;;;;:::i;:::-;84731:1:::1;84718:10;:14;;;:33;;;;;84749:2;84736:10;:15;;;84718:33;84696:119;;;::::0;-1:-1:-1;;;84696:119:0;;20135:2:1;84696:119:0::1;::::0;::::1;20117:21:1::0;20174:2;20154:18;;;20147:30;20213:34;20193:18;;;20186:62;-1:-1:-1;;;20264:18:1;;;20257:34;20308:19;;84696:119:0::1;19933:400:1::0;84696:119:0::1;84841:16;:10:::0;84854:3:::1;84841:16;:::i;:::-;84828:9;:30:::0;;-1:-1:-1;;84828:30:0::1;::::0;::::1;::::0;;::::1;;;::::0;;84907:28:::1;::::0;8131:19:1;;;8113:38;;84907:28:0::1;::::0;8101:2:1;8086:18;84907:28:0::1;7969:188:1::0;37281:639:0;37366:4;-1:-1:-1;;;;;;;;;37690:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;37767:25:0;;;37690:102;:179;;;-1:-1:-1;;;;;;;;37844:25:0;-1:-1:-1;;;37844:25:0;;37281:639::o;46111:282::-;46176:4;46266:13;;46256:7;:23;46213:153;;;;-1:-1:-1;;46317:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;46317:44:0;:49;;46111:282::o;40731:1275::-;40798:7;40833;40935:13;;40928:4;:20;40924:1015;;;40973:14;40990:23;;;:17;:23;;;;;;;-1:-1:-1;;;41079:24:0;;:29;;41075:845;;41744:113;41751:6;41761:1;41751:11;41744:113;;-1:-1:-1;;;41822:6:0;41804:25;;;;:17;:25;;;;;;41744:113;;41075:845;40950:989;40924:1015;41967:31;;-1:-1:-1;;;41967:31:0;;;;;;;;;;;80762:222;79506:5;80846:37;80847:22;;:13;34208:12;;33995:7;34192:13;:28;;33934:323;80847:13;:22;;;;:::i;:::-;80846:37;;80824:118;;;;-1:-1:-1;;;80824:118:0;;20997:2:1;80824:118:0;;;20979:21:1;21036:2;21016:18;;;21009:30;21075:33;21055:18;;;21048:61;21126:18;;80824:118:0;20795:355:1;80824:118:0;80955:21;80965:2;80969:6;80955:21;;:9;:21::i;18648:191::-;18741:6;;;-1:-1:-1;;;;;18758:17:0;;;-1:-1:-1;;;;;;18758:17:0;;;;;;;18791:40;;18741:6;;;18758:17;18741:6;;18791:40;;18722:16;;18791:40;18711:128;18648:191;:::o;40179:161::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40307:24:0;;;;:17;:24;;;;;;40288:44;;:18;:44::i;7917:190::-;8042:4;8095;8066:25;8079:5;8086:4;8066:12;:25::i;:::-;:33;;7917:190;-1:-1:-1;;;;7917:190:0:o;54552:716::-;54736:88;;-1:-1:-1;;;54736:88:0;;54715:4;;-1:-1:-1;;;;;54736:45:0;;;;;:88;;67964:10;;54803:4;;54809:7;;54818:5;;54736:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;54736:88:0;;;;;;;;-1:-1:-1;;54736:88:0;;;;;;;;;;;;:::i;:::-;;;54732:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55019:6;:13;55036:1;55019:18;55015:235;;55065:40;;-1:-1:-1;;;55065:40:0;;;;;;;;;;;55015:235;55208:6;55202:13;55193:6;55189:2;55185:15;55178:38;54732:529;-1:-1:-1;;;;;;54895:64:0;-1:-1:-1;;;54895:64:0;;-1:-1:-1;54732:529:0;54552:716;;;;;;:::o;39917:166::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40028:47:0;40047:27;40066:7;40047:18;:27::i;:::-;40028:18;:47::i;365:723::-;421:13;642:5;651:1;642:10;638:53;;-1:-1:-1;;669:10:0;;;;;;;;;;;;-1:-1:-1;;;669:10:0;;;;;365:723::o;638:53::-;716:5;701:12;757:78;764:9;;757:78;;790:8;;;;:::i;:::-;;-1:-1:-1;813:10:0;;-1:-1:-1;821:2:0;813:10;;:::i;:::-;;;757:78;;;845:19;877:6;-1:-1:-1;;;;;867:17:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;867:17:0;;845:39;;895:154;902:10;;895:154;;929:11;939:1;929:11;;:::i;:::-;;-1:-1:-1;998:10:0;1006:2;998:5;:10;:::i;:::-;985:24;;:2;:24;:::i;:::-;972:39;;955:6;962;955:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;955:56:0;;;;;;;;-1:-1:-1;1026:11:0;1035:2;1026:11;;:::i;:::-;;;895:154;;61709:112;61786:27;61796:2;61800:8;61786:27;;;;;;;;;;;;:9;:27::i;42105:366::-;-1:-1:-1;;;;;;;;;;;;;42215:41:0;;;;29936:3;42301:33;;;-1:-1:-1;;;;;42267:68:0;-1:-1:-1;;;42267:68:0;-1:-1:-1;;;42365:24:0;;:29;;-1:-1:-1;;;42346:48:0;;;;30457:3;42434:28;;;;-1:-1:-1;;;42405:58:0;-1:-1:-1;42105:366:0:o;8784:296::-;8867:7;8910:4;8867:7;8925:118;8949:5;:12;8945:1;:16;8925:118;;;8998:33;9008:12;9022:5;9028:1;9022:8;;;;;;;;:::i;:::-;;;;;;;8998:9;:33::i;:::-;8983:48;-1:-1:-1;8963:3:0;;;;:::i;:::-;;;;8925:118;;;-1:-1:-1;9060:12:0;8784:296;-1:-1:-1;;;8784:296:0:o;60936:689::-;61067:19;61073:2;61077:8;61067:5;:19::i;:::-;-1:-1:-1;;;;;61128:14:0;;;:19;61124:483;;61168:11;61182:13;61230:14;;;61263:233;61294:62;61333:1;61337:2;61341:7;;;;;;61350:5;61294:30;:62::i;:::-;61289:167;;61392:40;;-1:-1:-1;;;61392:40:0;;;;;;;;;;;61289:167;61491:3;61483:5;:11;61263:233;;61578:3;61561:13;;:20;61557:34;;61583:8;;;14991:149;15054:7;15085:1;15081;:5;:51;;15216:13;15310:15;;;15346:4;15339:15;;;15393:4;15377:21;;15081:51;;;-1:-1:-1;15216:13:0;15310:15;;;15346:4;15339:15;15393:4;15377:21;;;14991:149::o;55730:2454::-;55803:20;55826:13;;;55854;;;55850:44;;55876:18;;-1:-1:-1;;;55876:18:0;;;;;;;;;;;55850:44;-1:-1:-1;;;;;56382:22:0;;;;;;:18;:22;;;;29415:2;56382:22;;;:71;;56420:32;56408:45;;56382:71;;;56696:31;;;:17;:31;;;;;-1:-1:-1;43396:15:0;;43370:24;43366:46;42965:11;42940:23;42936:41;42933:52;42923:63;;56696:173;;56931:23;;;;56696:31;;56382:22;;57430:25;56382:22;;57283:335;57698:1;57684:12;57680:20;57638:346;57739:3;57730:7;57727:16;57638:346;;57957:7;57947:8;57944:1;57917:25;57914:1;57911;57906:59;57792:1;57779:15;57638:346;;;57642:77;58017:8;58029:1;58017:13;58013:45;;58039:19;;-1:-1:-1;;;58039:19:0;;;;;;;;;;;58013:45;58075:13;:19;-1:-1:-1;51286:185:0;;;:::o;14:131:1:-;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592: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:159::-;2755:20;;2815:6;2804:18;;2794:29;;2784:57;;2837:1;2834;2827:12;2852:184;2910:6;2963:2;2951:9;2942:7;2938:23;2934:32;2931:52;;;2979:1;2976;2969:12;2931:52;3002:28;3020:9;3002:28;:::i;3041:248::-;3109:6;3117;3170:2;3158:9;3149:7;3145:23;3141:32;3138:52;;;3186:1;3183;3176:12;3138:52;-1:-1:-1;;3209:23:1;;;3279:2;3264:18;;;3251:32;;-1:-1:-1;3041:248:1:o;3573:127::-;3634:10;3629:3;3625:20;3622:1;3615:31;3665:4;3662:1;3655:15;3689:4;3686:1;3679:15;3705:632;3770:5;-1:-1:-1;;;;;3841:2:1;3833:6;3830:14;3827:40;;;3847:18;;:::i;:::-;3922:2;3916:9;3890:2;3976:15;;-1:-1:-1;;3972:24:1;;;3998:2;3968:33;3964:42;3952:55;;;4022:18;;;4042:22;;;4019:46;4016:72;;;4068:18;;:::i;:::-;4108:10;4104:2;4097:22;4137:6;4128:15;;4167:6;4159;4152:22;4207:3;4198:6;4193:3;4189:16;4186:25;4183:45;;;4224:1;4221;4214:12;4183:45;4274:6;4269:3;4262:4;4254:6;4250:17;4237:44;4329:1;4322:4;4313:6;4305;4301:19;4297:30;4290:41;;;;3705:632;;;;;:::o;4342:451::-;4411:6;4464:2;4452:9;4443:7;4439:23;4435:32;4432:52;;;4480:1;4477;4470:12;4432:52;4520:9;4507:23;-1:-1:-1;;;;;4545:6:1;4542:30;4539:50;;;4585:1;4582;4575:12;4539:50;4608:22;;4661:4;4653:13;;4649:27;-1:-1:-1;4639:55:1;;4690:1;4687;4680:12;4639:55;4713:74;4779:7;4774:2;4761:16;4756:2;4752;4748:11;4713:74;:::i;4798:367::-;4861:8;4871:6;4925:3;4918:4;4910:6;4906:17;4902:27;4892:55;;4943:1;4940;4933:12;4892:55;-1:-1:-1;4966:20:1;;-1:-1:-1;;;;;4998:30:1;;4995:50;;;5041:1;5038;5031:12;4995:50;5078:4;5070:6;5066:17;5054:29;;5138:3;5131:4;5121:6;5118:1;5114:14;5106:6;5102:27;5098:38;5095:47;5092:67;;;5155:1;5152;5145:12;5170:437;5256:6;5264;5317:2;5305:9;5296:7;5292:23;5288:32;5285:52;;;5333:1;5330;5323:12;5285:52;5373:9;5360:23;-1:-1:-1;;;;;5398:6:1;5395:30;5392:50;;;5438:1;5435;5428:12;5392:50;5477:70;5539:7;5530:6;5519:9;5515:22;5477:70;:::i;:::-;5566:8;;5451:96;;-1:-1:-1;5170:437:1;-1:-1:-1;;;;5170:437:1:o;5612:349::-;5696:12;;-1:-1:-1;;;;;5692:38:1;5680:51;;5784:4;5773:16;;;5767:23;-1:-1:-1;;;;;5763:48:1;5747:14;;;5740:72;5875:4;5864:16;;;5858:23;5851:31;5844:39;5828:14;;;5821:63;5937:4;5926:16;;;5920:23;5945:8;5916:38;5900:14;;5893:62;5612:349::o;5966:722::-;6199:2;6251:21;;;6321:13;;6224:18;;;6343:22;;;6170:4;;6199:2;6422:15;;;;6396:2;6381:18;;;6170:4;6465:197;6479:6;6476:1;6473:13;6465:197;;;6528:52;6576:3;6567:6;6561:13;6528:52;:::i;:::-;6637:15;;;;6609:4;6600:14;;;;;6501:1;6494:9;6465:197;;6693:186;6752:6;6805:2;6793:9;6784:7;6780:23;6776:32;6773:52;;;6821:1;6818;6811:12;6773:52;6844:29;6863:9;6844:29;:::i;7069:632::-;7240:2;7292:21;;;7362:13;;7265:18;;;7384:22;;;7211:4;;7240:2;7463:15;;;;7437:2;7422:18;;;7211:4;7506:169;7520:6;7517:1;7514:13;7506:169;;;7581:13;;7569:26;;7650:15;;;;7615:12;;;;7542:1;7535:9;7506:169;;7706:258;7773:6;7781;7834:2;7822:9;7813:7;7809:23;7805:32;7802:52;;;7850:1;7847;7840:12;7802:52;7873:29;7892:9;7873:29;:::i;:::-;7863:39;;7921:37;7954:2;7943:9;7939:18;7921:37;:::i;:::-;7911:47;;7706:258;;;;;:::o;8162:322::-;8239:6;8247;8255;8308:2;8296:9;8287:7;8283:23;8279:32;8276:52;;;8324:1;8321;8314:12;8276:52;8347:29;8366:9;8347:29;:::i;:::-;8337:39;8423:2;8408:18;;8395:32;;-1:-1:-1;8474:2:1;8459:18;;;8446:32;;8162:322;-1:-1:-1;;;8162:322:1:o;8489:347::-;8554:6;8562;8615:2;8603:9;8594:7;8590:23;8586:32;8583:52;;;8631:1;8628;8621:12;8583:52;8654:29;8673:9;8654:29;:::i;:::-;8644:39;;8733:2;8722:9;8718:18;8705:32;8780:5;8773:13;8766:21;8759:5;8756:32;8746:60;;8802:1;8799;8792:12;8746:60;8825:5;8815:15;;;8489:347;;;;;:::o;8841:509::-;8935:6;8943;8951;9004:2;8992:9;8983:7;8979:23;8975:32;8972:52;;;9020:1;9017;9010:12;8972:52;9043:28;9061:9;9043:28;:::i;:::-;9033:38;;9122:2;9111:9;9107:18;9094:32;-1:-1:-1;;;;;9141:6:1;9138:30;9135:50;;;9181:1;9178;9171:12;9135:50;9220:70;9282:7;9273:6;9262:9;9258:22;9220:70;:::i;:::-;8841:509;;9309:8;;-1:-1:-1;9194:96:1;;-1:-1:-1;;;;8841:509:1:o;9355:667::-;9450:6;9458;9466;9474;9527:3;9515:9;9506:7;9502:23;9498:33;9495:53;;;9544:1;9541;9534:12;9495:53;9567:29;9586:9;9567:29;:::i;:::-;9557:39;;9615:38;9649:2;9638:9;9634:18;9615:38;:::i;:::-;9605:48;;9700:2;9689:9;9685:18;9672:32;9662:42;;9755:2;9744:9;9740:18;9727:32;-1:-1:-1;;;;;9774:6:1;9771:30;9768:50;;;9814:1;9811;9804:12;9768:50;9837:22;;9890:4;9882:13;;9878:27;-1:-1:-1;9868:55:1;;9919:1;9916;9909:12;9868:55;9942:74;10008:7;10003:2;9990:16;9985:2;9981;9977:11;9942:74;:::i;:::-;9932:84;;;9355:667;;;;;;;:::o;10027:266::-;10223:3;10208:19;;10236:51;10212:9;10269:6;10236:51;:::i;10298:260::-;10366:6;10374;10427:2;10415:9;10406:7;10402:23;10398:32;10395:52;;;10443:1;10440;10433:12;10395:52;10466:29;10485:9;10466:29;:::i;:::-;10456:39;;10514:38;10548:2;10537:9;10533:18;10514:38;:::i;10563:380::-;10642:1;10638:12;;;;10685;;;10706:61;;10760:4;10752:6;10748:17;10738:27;;10706:61;10813:2;10805:6;10802:14;10782:18;10779:38;10776:161;;10859:10;10854:3;10850:20;10847:1;10840:31;10894:4;10891:1;10884:15;10922:4;10919:1;10912:15;10776:161;;10563:380;;;:::o;10948:356::-;11150:2;11132:21;;;11169:18;;;11162:30;11228:34;11223:2;11208:18;;11201:62;11295:2;11280:18;;10948:356::o;11670:127::-;11731:10;11726:3;11722:20;11719:1;11712:31;11762:4;11759:1;11752:15;11786:4;11783:1;11776:15;11802:128;11842:3;11873:1;11869:6;11866:1;11863:13;11860:39;;;11879:18;;:::i;:::-;-1:-1:-1;11915:9:1;;11802:128::o;12294:168::-;12334:7;12400:1;12396;12392:6;12388:14;12385:1;12382:21;12377:1;12370:9;12363:17;12359:45;12356:71;;;12407:18;;:::i;:::-;-1:-1:-1;12447:9:1;;12294:168::o;13584:127::-;13645:10;13640:3;13636:20;13633:1;13626:31;13676:4;13673:1;13666:15;13700:4;13697:1;13690:15;13716:120;13756:1;13782;13772:35;;13787:18;;:::i;:::-;-1:-1:-1;13821:9:1;;13716:120::o;14576:545::-;14678:2;14673:3;14670:11;14667:448;;;14714:1;14739:5;14735:2;14728:17;14784:4;14780:2;14770:19;14854:2;14842:10;14838:19;14835:1;14831:27;14825:4;14821:38;14890:4;14878:10;14875:20;14872:47;;;-1:-1:-1;14913:4:1;14872:47;14968:2;14963:3;14959:12;14956:1;14952:20;14946:4;14942:31;14932:41;;15023:82;15041:2;15034:5;15031:13;15023:82;;;15086:17;;;15067:1;15056:13;15023:82;;15297:1352;15423:3;15417:10;-1:-1:-1;;;;;15442:6:1;15439:30;15436:56;;;15472:18;;:::i;:::-;15501:97;15591:6;15551:38;15583:4;15577:11;15551:38;:::i;:::-;15545:4;15501:97;:::i;:::-;15653:4;;15717:2;15706:14;;15734:1;15729:663;;;;16436:1;16453:6;16450:89;;;-1:-1:-1;16505:19:1;;;16499:26;16450:89;-1:-1:-1;;15254:1:1;15250:11;;;15246:24;15242:29;15232:40;15278:1;15274:11;;;15229:57;16552:81;;15699:944;;15729:663;14523:1;14516:14;;;14560:4;14547:18;;-1:-1:-1;;15765:20:1;;;15883:236;15897:7;15894:1;15891:14;15883:236;;;15986:19;;;15980:26;15965:42;;16078:27;;;;16046:1;16034:14;;;;15913:19;;15883:236;;;15887:3;16147:6;16138:7;16135:19;16132:201;;;16208:19;;;16202:26;-1:-1:-1;;16291:1:1;16287:14;;;16303:3;16283:24;16279:37;16275:42;16260:58;16245:74;;16132:201;-1:-1:-1;;;;;16379:1:1;16363:14;;;16359:22;16346:36;;-1:-1:-1;15297:1352:1:o;16654:127::-;16715:10;16710:3;16706:20;16703:1;16696:31;16746:4;16743:1;16736:15;16770:4;16767:1;16760:15;17133:217;17172:4;17201:6;17257:10;;;;17227;;17279:12;;;17276:38;;;17294:18;;:::i;:::-;17331:13;;17133:217;-1:-1:-1;;;17133:217:1:o;18347:1174::-;18624:3;18653:1;18686:6;18680:13;18716:36;18742:9;18716:36;:::i;:::-;18771:1;18788:18;;;18815:133;;;;18962:1;18957:356;;;;18781:532;;18815:133;-1:-1:-1;;18848:24:1;;18836:37;;18921:14;;18914:22;18902:35;;18893:45;;;-1:-1:-1;18815:133:1;;18957:356;18988:6;18985:1;18978:17;19018:4;19063:2;19060:1;19050:16;19088:1;19102:165;19116:6;19113:1;19110:13;19102:165;;;19194:14;;19181:11;;;19174:35;19237:16;;;;19131:10;;19102:165;;;19106:3;;;19296:6;19291:3;19287:16;19280:23;;18781:532;;;;;19344:6;19338:13;19360:55;19406:8;19401:3;19394:4;19386:6;19382:17;19360:55;:::i;:::-;-1:-1:-1;;;19437:18:1;;19464:22;;;19513:1;19502:13;;18347:1174;-1:-1:-1;;;;18347:1174:1:o;20338:258::-;20377:7;20409:6;20442:2;20439:1;20435:10;20472:2;20469:1;20465:10;20528:3;20524:2;20520:12;20515:3;20512:21;20505:3;20498:11;20491:19;20487:47;20484:73;;;20537:18;;:::i;:::-;20577:13;;20338:258;-1:-1:-1;;;;20338:258:1:o;21155:489::-;-1:-1:-1;;;;;21424:15:1;;;21406:34;;21476:15;;21471:2;21456:18;;21449:43;21523:2;21508:18;;21501:34;;;21571:3;21566:2;21551:18;;21544:31;;;21349:4;;21592:46;;21618:19;;21610:6;21592:46;:::i;:::-;21584:54;21155:489;-1:-1:-1;;;;;;21155:489:1:o;21649:249::-;21718:6;21771:2;21759:9;21750:7;21746:23;21742:32;21739:52;;;21787:1;21784;21777:12;21739:52;21819:9;21813:16;21838:30;21862:5;21838:30;:::i;21903:135::-;21942:3;21963:17;;;21960:43;;21983:18;;:::i;:::-;-1:-1:-1;22030:1:1;22019:13;;21903:135::o;22043:125::-;22083:4;22111:1;22108;22105:8;22102:34;;;22116:18;;:::i;:::-;-1:-1:-1;22153:9:1;;22043:125::o;22173:112::-;22205:1;22231;22221:35;;22236:18;;:::i;:::-;-1:-1:-1;22270:9:1;;22173:112::o
Swarm Source
ipfs://436810f974211d8b62bef3cc1836092527b846b7ecf2abca77daa48d90f110e6
Loading...
Loading
Loading...
Loading
[ 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.