ERC-721
Overview
Max Total Supply
607 Italians
Holders
331
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 ItaliansLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
TheItalians
Compiler Version
v0.8.9+commit.e5eed63a
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-07-23 */ // SPDX-License-Identifier: MIT // File: @openzeppelin/contracts/utils/Strings.sol // OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } } // File: @openzeppelin/contracts/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 (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // File: erc721a/contracts/IERC721A.sol // ERC721A Contracts v4.2.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: the italians/theitalians.sol pragma solidity >=0.8.9 <0.9.0; contract TheItalians is ERC721AQueryable, Ownable, ReentrancyGuard { using Strings for uint256; bytes32 public merkleRoot; mapping(address => bool) public mintClaimed; string public uriPrefix = ""; string public uriSuffix = ""; string public hiddenMetadataUri; uint256 public cost = 0.0059 ether; uint256 public maxSupply = 5555; uint256 public maxMintAmountPerTx = 8; bool public paused = true; bool public whitelistMintEnabled = false; bool public revealed = false; constructor() ERC721A("The Italians", "Italians"){} modifier mintPriceCompliance(uint256 _mintAmount) { require( msg.value >= updateMintCost(_mintAmount), "Insufficient funds!" ); _; } function whitelistMint(uint256 _mintAmount, bytes32[] calldata _merkleProof) public payable mintPriceCompliance(_mintAmount) { if (whitelistMintEnabled == true) { bytes32 leaf = keccak256(abi.encodePacked(_msgSender())); require( MerkleProof.verify(_merkleProof, merkleRoot, leaf), "Invalid proof!" ); } require(!paused, "The contract is paused!"); require( _mintAmount > 0 && _mintAmount <= maxMintAmountPerTx, "Invalid mint amount!" ); require( totalSupply() + _mintAmount <= (maxSupply), "Max supply exceeded!" ); require(!mintClaimed[_msgSender()], "Address already claimed!"); mintClaimed[_msgSender()] = true; _safeMint(_msgSender(), _mintAmount); } function mint(uint256 _mintAmount) public payable mintPriceCompliance(_mintAmount) { require(!paused, "The contract is paused!"); if (mintClaimed[msg.sender] == false) { mintClaimed[msg.sender] = true; } _safeMint(_msgSender(), _mintAmount); } function mintForAddress(uint256 _mintAmount, address _receiver) public onlyOwner { _safeMint(_receiver, _mintAmount); } function _startTokenId() internal view virtual override returns (uint256) { return 1; } function tokenURI(uint256 _tokenId) public view virtual override returns (string memory) { require(_exists(_tokenId), 'ERC721Metadata: URI query for nonexistent token'); if (revealed == false) { return hiddenMetadataUri; } string memory currentBaseURI = _baseURI(); return bytes(currentBaseURI).length > 0 ? string(abi.encodePacked(currentBaseURI, _tokenId.toString(), uriSuffix)) : ''; } function setRevealed(bool _state) public onlyOwner { revealed = _state; } function setCost(uint256 _cost) public onlyOwner { cost = _cost; } function setMaxMintAmountPerTx(uint256 _maxMintAmountPerTx) public onlyOwner { maxMintAmountPerTx = _maxMintAmountPerTx; } function setHiddenMetadataUri(string memory _hiddenMetadataUri) public onlyOwner { hiddenMetadataUri = _hiddenMetadataUri; } function setUriPrefix(string memory _uriPrefix) public onlyOwner { uriPrefix = _uriPrefix; } function setUriSuffix(string memory _uriSuffix) public onlyOwner { uriSuffix = _uriSuffix; } function setPaused(bool _state) public onlyOwner { paused = _state; } function setMerkleRoot(bytes32 _merkleRoot) public onlyOwner { merkleRoot = _merkleRoot; } function setWhitelistMintEnabled(bool _state) public onlyOwner { whitelistMintEnabled = _state; } function withdraw() public onlyOwner nonReentrant { (bool os, ) = payable(owner()).call{value: address(this).balance}(""); require(os); } function _baseURI() internal view virtual override returns (string memory) { return uriPrefix; } function getTotalCost(uint256 _amount) public view returns (uint256) { return updateMintCost(_amount); } function updateMintCost(uint256 _amount) internal view returns (uint256) { if (mintClaimed[msg.sender] == false) { if (_amount == 1) { return 0 ether; } else { uint256 ChargedAmt = _amount - 1; uint256 totalCost = ChargedAmt * cost; return totalCost; } } else { return cost * _amount; } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"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":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"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":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"explicitOwnershipOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"explicitOwnershipsOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"getTotalCost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"hiddenMetadataUri","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"maxMintAmountPerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"mintClaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"},{"internalType":"address","name":"_receiver","type":"address"}],"name":"mintForAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"uint256","name":"_cost","type":"uint256"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_hiddenMetadataUri","type":"string"}],"name":"setHiddenMetadataUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxMintAmountPerTx","type":"uint256"}],"name":"setMaxMintAmountPerTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setRevealed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uriPrefix","type":"string"}],"name":"setUriPrefix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uriSuffix","type":"string"}],"name":"setUriSuffix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setWhitelistMintEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"start","type":"uint256"},{"internalType":"uint256","name":"stop","type":"uint256"}],"name":"tokensOfOwnerIn","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uriPrefix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uriSuffix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"},{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"whitelistMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"whitelistMintEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60a06040819052600060808190526200001b91600c916200014a565b506040805160208101918290526000908190526200003c91600d916200014a565b506614f604cc2cc000600f556115b360105560086011556012805462ffffff191660011790553480156200006f57600080fd5b50604080518082018252600c81526b546865204974616c69616e7360a01b6020808301918252835180850190945260088452674974616c69616e7360c01b908401528151919291620000c4916002916200014a565b508051620000da9060039060208401906200014a565b5050600160005550620000ed33620000f8565b60016009556200022d565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200015890620001f0565b90600052602060002090601f0160209004810192826200017c5760008555620001c7565b82601f106200019757805160ff1916838001178555620001c7565b82800160010185558215620001c7579182015b82811115620001c7578251825591602001919060010190620001aa565b50620001d5929150620001d9565b5090565b5b80821115620001d55760008155600101620001da565b600181811c908216806200020557607f821691505b602082108114156200022757634e487b7160e01b600052602260045260246000fd5b50919050565b61277c806200023d6000396000f3fe60806040526004361061027d5760003560e01c8063715018a61161014f578063a45ba8e7116100c1578063d2cab0561161007a578063d2cab0561461077f578063d5abeb0114610792578063e0a80853146107a8578063e985e9c5146107c8578063efbd73f414610811578063f2fde38b1461083157600080fd5b8063a45ba8e7146106bd578063b071401b146106d2578063b767a098146106f2578063b88d4fde14610712578063c23dc68f14610732578063c87b56dd1461075f57600080fd5b80638da5cb5b116101135780638da5cb5b1461062157806394354fd01461063f57806395d89b411461065557806399a2557a1461066a578063a0712d681461068a578063a22cb4651461069d57600080fd5b8063715018a61461057f578063765f2079146105945780637cb64759146105b45780637ec4a659146105d45780638462151c146105f457600080fd5b80633ccfd60b116101f35780635bbb2177116101ac5780635bbb2177146104c45780635c975abb146104f157806362b99ad41461050b5780636352211e146105205780636caede3d1461054057806370a082311461055f57600080fd5b80633ccfd60b1461041a57806342842e0e1461042f57806344a0d68a1461044f5780634fdd43cb1461046f578063518302271461048f5780635503a0e8146104af57600080fd5b806313faede61161024557806313faede61461036357806316ba10e01461038757806316c38b3c146103a757806318160ddd146103c757806323b872dd146103e45780632eb4a7ab1461040457600080fd5b806301ffc9a71461028257806306fdde03146102b7578063081812fc146102d9578063095ea7b3146103115780631237e5e814610333575b600080fd5b34801561028e57600080fd5b506102a261029d36600461201a565b610851565b60405190151581526020015b60405180910390f35b3480156102c357600080fd5b506102cc6108a3565b6040516102ae919061208f565b3480156102e557600080fd5b506102f96102f43660046120a2565b610935565b6040516001600160a01b0390911681526020016102ae565b34801561031d57600080fd5b5061033161032c3660046120d2565b610979565b005b34801561033f57600080fd5b506102a261034e3660046120fc565b600b6020526000908152604090205460ff1681565b34801561036f57600080fd5b50610379600f5481565b6040519081526020016102ae565b34801561039357600080fd5b506103316103a23660046121a2565b610a19565b3480156103b357600080fd5b506103316103c23660046121fa565b610a38565b3480156103d357600080fd5b506001546000540360001901610379565b3480156103f057600080fd5b506103316103ff366004612215565b610a53565b34801561041057600080fd5b50610379600a5481565b34801561042657600080fd5b50610331610be4565b34801561043b57600080fd5b5061033161044a366004612215565b610cc2565b34801561045b57600080fd5b5061033161046a3660046120a2565b610ce2565b34801561047b57600080fd5b5061033161048a3660046121a2565b610cef565b34801561049b57600080fd5b506012546102a29062010000900460ff1681565b3480156104bb57600080fd5b506102cc610d0a565b3480156104d057600080fd5b506104e46104df36600461229c565b610d98565b6040516102ae9190612319565b3480156104fd57600080fd5b506012546102a29060ff1681565b34801561051757600080fd5b506102cc610e63565b34801561052c57600080fd5b506102f961053b3660046120a2565b610e70565b34801561054c57600080fd5b506012546102a290610100900460ff1681565b34801561056b57600080fd5b5061037961057a3660046120fc565b610e7b565b34801561058b57600080fd5b50610331610ec9565b3480156105a057600080fd5b506103796105af3660046120a2565b610edd565b3480156105c057600080fd5b506103316105cf3660046120a2565b610ee8565b3480156105e057600080fd5b506103316105ef3660046121a2565b610ef5565b34801561060057600080fd5b5061061461060f3660046120fc565b610f10565b6040516102ae919061235b565b34801561062d57600080fd5b506008546001600160a01b03166102f9565b34801561064b57600080fd5b5061037960115481565b34801561066157600080fd5b506102cc61101f565b34801561067657600080fd5b50610614610685366004612393565b61102e565b6103316106983660046120a2565b6111b9565b3480156106a957600080fd5b506103316106b83660046123c6565b611291565b3480156106c957600080fd5b506102cc611327565b3480156106de57600080fd5b506103316106ed3660046120a2565b611334565b3480156106fe57600080fd5b5061033161070d3660046121fa565b611341565b34801561071e57600080fd5b5061033161072d3660046123f9565b611363565b34801561073e57600080fd5b5061075261074d3660046120a2565b6113ad565b6040516102ae9190612474565b34801561076b57600080fd5b506102cc61077a3660046120a2565b611435565b61033161078d366004612482565b6115a4565b34801561079e57600080fd5b5061037960105481565b3480156107b457600080fd5b506103316107c33660046121fa565b611848565b3480156107d457600080fd5b506102a26107e33660046124cd565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561081d57600080fd5b5061033161082c3660046124f7565b61186c565b34801561083d57600080fd5b5061033161084c3660046120fc565b61187e565b60006301ffc9a760e01b6001600160e01b03198316148061088257506380ac58cd60e01b6001600160e01b03198316145b8061089d5750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600280546108b29061251a565b80601f01602080910402602001604051908101604052809291908181526020018280546108de9061251a565b801561092b5780601f106109005761010080835404028352916020019161092b565b820191906000526020600020905b81548152906001019060200180831161090e57829003601f168201915b5050505050905090565b6000610940826118f7565b61095d576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061098482610e70565b9050336001600160a01b038216146109bd576109a081336107e3565b6109bd576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b610a2161192c565b8051610a3490600d906020840190611f6b565b5050565b610a4061192c565b6012805460ff1916911515919091179055565b6000610a5e82611986565b9050836001600160a01b0316816001600160a01b031614610a915760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b03881690911417610ade57610ac186336107e3565b610ade57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610b0557604051633a954ecd60e21b815260040160405180910390fd5b8015610b1057600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040902055600160e11b8316610b9b5760018401600081815260046020526040902054610b99576000548114610b995760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b610bec61192c565b60026009541415610c445760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064015b60405180910390fd5b60026009556000610c5d6008546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d8060008114610ca7576040519150601f19603f3d011682016040523d82523d6000602084013e610cac565b606091505b5050905080610cba57600080fd5b506001600955565b610cdd83838360405180602001604052806000815250611363565b505050565b610cea61192c565b600f55565b610cf761192c565b8051610a3490600e906020840190611f6b565b600d8054610d179061251a565b80601f0160208091040260200160405190810160405280929190818152602001828054610d439061251a565b8015610d905780601f10610d6557610100808354040283529160200191610d90565b820191906000526020600020905b815481529060010190602001808311610d7357829003601f168201915b505050505081565b6060816000816001600160401b03811115610db557610db5612117565b604051908082528060200260200182016040528015610e0757816020015b604080516080810182526000808252602080830182905292820181905260608201528252600019909201910181610dd35790505b50905060005b828114610e5a57610e35868683818110610e2957610e29612555565b905060200201356113ad565b828281518110610e4757610e47612555565b6020908102919091010152600101610e0d565b50949350505050565b600c8054610d179061251a565b600061089d82611986565b60006001600160a01b038216610ea4576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600560205260409020546001600160401b031690565b610ed161192c565b610edb60006119ef565b565b600061089d82611a41565b610ef061192c565b600a55565b610efd61192c565b8051610a3490600c906020840190611f6b565b60606000806000610f2085610e7b565b90506000816001600160401b03811115610f3c57610f3c612117565b604051908082528060200260200182016040528015610f65578160200160208202803683370190505b509050610f9260408051608081018252600080825260208201819052918101829052606081019190915290565b60015b83861461101357610fa581611aa3565b9150816040015115610fb65761100b565b81516001600160a01b031615610fcb57815194505b876001600160a01b0316856001600160a01b0316141561100b5780838780600101985081518110610ffe57610ffe612555565b6020026020010181815250505b600101610f95565b50909695505050505050565b6060600380546108b29061251a565b606081831061105057604051631960ccad60e11b815260040160405180910390fd5b60008061105c60005490565b9050600185101561106c57600194505b80841115611078578093505b600061108387610e7b565b9050848610156110a2578585038181101561109c578091505b506110a6565b5060005b6000816001600160401b038111156110c0576110c0612117565b6040519080825280602002602001820160405280156110e9578160200160208202803683370190505b509050816110fc5793506111b292505050565b6000611107886113ad565b905060008160400151611118575080515b885b88811415801561112a5750848714155b156111a65761113881611aa3565b92508260400151156111495761119e565b82516001600160a01b03161561115e57825191505b8a6001600160a01b0316826001600160a01b0316141561119e578084888060010199508151811061119157611191612555565b6020026020010181815250505b60010161111a565b50505092835250909150505b9392505050565b806111c381611a41565b3410156112085760405162461bcd60e51b8152602060048201526013602482015272496e73756666696369656e742066756e64732160681b6044820152606401610c3b565b60125460ff16156112555760405162461bcd60e51b815260206004820152601760248201527654686520636f6e7472616374206973207061757365642160481b6044820152606401610c3b565b336000908152600b602052604090205460ff1661128757336000908152600b60205260409020805460ff191660011790555b610a343383611adf565b6001600160a01b0382163314156112bb5760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600e8054610d179061251a565b61133c61192c565b601155565b61134961192c565b601280549115156101000261ff0019909216919091179055565b61136e848484610a53565b6001600160a01b0383163b156113a75761138a84848484611af9565b6113a7576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b604080516080810182526000808252602082018190529181018290526060810191909152604080516080810182526000808252602082018190529181018290526060810191909152600183108061140657506000548310155b156114115792915050565b61141a83611aa3565b905080604001511561142c5792915050565b6111b283611bf0565b6060611440826118f7565b6114a45760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610c3b565b60125462010000900460ff1661154657600e80546114c19061251a565b80601f01602080910402602001604051908101604052809291908181526020018280546114ed9061251a565b801561153a5780601f1061150f5761010080835404028352916020019161153a565b820191906000526020600020905b81548152906001019060200180831161151d57829003601f168201915b50505050509050919050565b6000611550611c25565b9050600081511161157057604051806020016040528060008152506111b2565b8061157a84611c34565b600d60405160200161158e9392919061256b565b6040516020818303038152906040529392505050565b826115ae81611a41565b3410156115f35760405162461bcd60e51b8152602060048201526013602482015272496e73756666696369656e742066756e64732160681b6044820152606401610c3b565b60125460ff610100909104161515600114156116c2576040516bffffffffffffffffffffffff193360601b16602082015260009060340160405160208183030381529060405280519060200120905061168384848080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600a549150849050611d31565b6116c05760405162461bcd60e51b815260206004820152600e60248201526d496e76616c69642070726f6f662160901b6044820152606401610c3b565b505b60125460ff161561170f5760405162461bcd60e51b815260206004820152601760248201527654686520636f6e7472616374206973207061757365642160481b6044820152606401610c3b565b60008411801561172157506011548411155b6117645760405162461bcd60e51b8152602060048201526014602482015273496e76616c6964206d696e7420616d6f756e742160601b6044820152606401610c3b565b601054600154600054869190036000190161177f9190612645565b11156117c45760405162461bcd60e51b81526020600482015260146024820152734d617820737570706c792065786365656465642160601b6044820152606401610c3b565b336000908152600b602052604090205460ff16156118245760405162461bcd60e51b815260206004820152601860248201527f4164647265737320616c726561647920636c61696d65642100000000000000006044820152606401610c3b565b336000818152600b60205260409020805460ff191660011790556113a79085611adf565b61185061192c565b60128054911515620100000262ff000019909216919091179055565b61187461192c565b610a348183611adf565b61188661192c565b6001600160a01b0381166118eb5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610c3b565b6118f4816119ef565b50565b60008160011115801561190b575060005482105b801561089d575050600090815260046020526040902054600160e01b161590565b6008546001600160a01b03163314610edb5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c3b565b600081806001116119d6576000548110156119d657600081815260046020526040902054600160e01b81166119d4575b806111b25750600019016000818152600460205260409020546119b6565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b336000908152600b602052604081205460ff16611a90578160011415611a6957506000919050565b6000611a7660018461265d565b90506000600f5482611a889190612674565b949350505050565b81600f5461089d9190612674565b919050565b60408051608081018252600080825260208201819052918101829052606081019190915260008281526004602052604090205461089d90611d47565b610a34828260405180602001604052806000815250611d8e565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611b2e903390899088908890600401612693565b602060405180830381600087803b158015611b4857600080fd5b505af1925050508015611b78575060408051601f3d908101601f19168201909252611b75918101906126d0565b60015b611bd3573d808015611ba6576040519150601f19603f3d011682016040523d82523d6000602084013e611bab565b606091505b508051611bcb576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b60408051608081018252600080825260208201819052918101829052606081019190915261089d611c2083611986565b611d47565b6060600c80546108b29061251a565b606081611c585750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611c825780611c6c816126ed565b9150611c7b9050600a8361271e565b9150611c5c565b6000816001600160401b03811115611c9c57611c9c612117565b6040519080825280601f01601f191660200182016040528015611cc6576020820181803683370190505b5090505b8415611a8857611cdb60018361265d565b9150611ce8600a86612732565b611cf3906030612645565b60f81b818381518110611d0857611d08612555565b60200101906001600160f81b031916908160001a905350611d2a600a8661271e565b9450611cca565b600082611d3e8584611dfb565b14949350505050565b604080516080810182526001600160a01b038316815260a083901c6001600160401b03166020820152600160e01b831615159181019190915260e89190911c606082015290565b611d988383611e48565b6001600160a01b0383163b15610cdd576000548281035b611dc26000868380600101945086611af9565b611ddf576040516368d2bf6b60e11b815260040160405180910390fd5b818110611daf578160005414611df457600080fd5b5050505050565b600081815b8451811015611e4057611e2c82868381518110611e1f57611e1f612555565b6020026020010151611f3f565b915080611e38816126ed565b915050611e00565b509392505050565b60005481611e695760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b818114611f1857808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101611ee0565b5081611f3657604051622e076360e81b815260040160405180910390fd5b60005550505050565b6000818310611f5b5760008281526020849052604090206111b2565b5060009182526020526040902090565b828054611f779061251a565b90600052602060002090601f016020900481019282611f995760008555611fdf565b82601f10611fb257805160ff1916838001178555611fdf565b82800160010185558215611fdf579182015b82811115611fdf578251825591602001919060010190611fc4565b50611feb929150611fef565b5090565b5b80821115611feb5760008155600101611ff0565b6001600160e01b0319811681146118f457600080fd5b60006020828403121561202c57600080fd5b81356111b281612004565b60005b8381101561205257818101518382015260200161203a565b838111156113a75750506000910152565b6000815180845261207b816020860160208601612037565b601f01601f19169290920160200192915050565b6020815260006111b26020830184612063565b6000602082840312156120b457600080fd5b5035919050565b80356001600160a01b0381168114611a9e57600080fd5b600080604083850312156120e557600080fd5b6120ee836120bb565b946020939093013593505050565b60006020828403121561210e57600080fd5b6111b2826120bb565b634e487b7160e01b600052604160045260246000fd5b60006001600160401b038084111561214757612147612117565b604051601f8501601f19908116603f0116810190828211818310171561216f5761216f612117565b8160405280935085815286868601111561218857600080fd5b858560208301376000602087830101525050509392505050565b6000602082840312156121b457600080fd5b81356001600160401b038111156121ca57600080fd5b8201601f810184136121db57600080fd5b611a888482356020840161212d565b80358015158114611a9e57600080fd5b60006020828403121561220c57600080fd5b6111b2826121ea565b60008060006060848603121561222a57600080fd5b612233846120bb565b9250612241602085016120bb565b9150604084013590509250925092565b60008083601f84011261226357600080fd5b5081356001600160401b0381111561227a57600080fd5b6020830191508360208260051b850101111561229557600080fd5b9250929050565b600080602083850312156122af57600080fd5b82356001600160401b038111156122c557600080fd5b6122d185828601612251565b90969095509350505050565b80516001600160a01b031682526020808201516001600160401b03169083015260408082015115159083015260609081015162ffffff16910152565b6020808252825182820181905260009190848201906040850190845b81811015611013576123488385516122dd565b9284019260809290920191600101612335565b6020808252825182820181905260009190848201906040850190845b8181101561101357835183529284019291840191600101612377565b6000806000606084860312156123a857600080fd5b6123b1846120bb565b95602085013595506040909401359392505050565b600080604083850312156123d957600080fd5b6123e2836120bb565b91506123f0602084016121ea565b90509250929050565b6000806000806080858703121561240f57600080fd5b612418856120bb565b9350612426602086016120bb565b92506040850135915060608501356001600160401b0381111561244857600080fd5b8501601f8101871361245957600080fd5b6124688782356020840161212d565b91505092959194509250565b6080810161089d82846122dd565b60008060006040848603121561249757600080fd5b8335925060208401356001600160401b038111156124b457600080fd5b6124c086828701612251565b9497909650939450505050565b600080604083850312156124e057600080fd5b6124e9836120bb565b91506123f0602084016120bb565b6000806040838503121561250a57600080fd5b823591506123f0602084016120bb565b600181811c9082168061252e57607f821691505b6020821081141561254f57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b60008451602061257e8285838a01612037565b8551918401916125918184848a01612037565b8554920191600090600181811c90808316806125ae57607f831692505b8583108114156125cc57634e487b7160e01b85526022600452602485fd5b8080156125e057600181146125f15761261e565b60ff1985168852838801955061261e565b60008b81526020902060005b858110156126165781548a8201529084019088016125fd565b505083880195505b50939b9a5050505050505050505050565b634e487b7160e01b600052601160045260246000fd5b600082198211156126585761265861262f565b500190565b60008282101561266f5761266f61262f565b500390565b600081600019048311821515161561268e5761268e61262f565b500290565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906126c690830184612063565b9695505050505050565b6000602082840312156126e257600080fd5b81516111b281612004565b60006000198214156127015761270161262f565b5060010190565b634e487b7160e01b600052601260045260246000fd5b60008261272d5761272d612708565b500490565b60008261274157612741612708565b50069056fea26469706673582212205ce9629469a88a8dcb08615de8d6b6e71ebe2d620bd643f2bce8476a9542cf8964736f6c63430008090033
Deployed Bytecode
0x60806040526004361061027d5760003560e01c8063715018a61161014f578063a45ba8e7116100c1578063d2cab0561161007a578063d2cab0561461077f578063d5abeb0114610792578063e0a80853146107a8578063e985e9c5146107c8578063efbd73f414610811578063f2fde38b1461083157600080fd5b8063a45ba8e7146106bd578063b071401b146106d2578063b767a098146106f2578063b88d4fde14610712578063c23dc68f14610732578063c87b56dd1461075f57600080fd5b80638da5cb5b116101135780638da5cb5b1461062157806394354fd01461063f57806395d89b411461065557806399a2557a1461066a578063a0712d681461068a578063a22cb4651461069d57600080fd5b8063715018a61461057f578063765f2079146105945780637cb64759146105b45780637ec4a659146105d45780638462151c146105f457600080fd5b80633ccfd60b116101f35780635bbb2177116101ac5780635bbb2177146104c45780635c975abb146104f157806362b99ad41461050b5780636352211e146105205780636caede3d1461054057806370a082311461055f57600080fd5b80633ccfd60b1461041a57806342842e0e1461042f57806344a0d68a1461044f5780634fdd43cb1461046f578063518302271461048f5780635503a0e8146104af57600080fd5b806313faede61161024557806313faede61461036357806316ba10e01461038757806316c38b3c146103a757806318160ddd146103c757806323b872dd146103e45780632eb4a7ab1461040457600080fd5b806301ffc9a71461028257806306fdde03146102b7578063081812fc146102d9578063095ea7b3146103115780631237e5e814610333575b600080fd5b34801561028e57600080fd5b506102a261029d36600461201a565b610851565b60405190151581526020015b60405180910390f35b3480156102c357600080fd5b506102cc6108a3565b6040516102ae919061208f565b3480156102e557600080fd5b506102f96102f43660046120a2565b610935565b6040516001600160a01b0390911681526020016102ae565b34801561031d57600080fd5b5061033161032c3660046120d2565b610979565b005b34801561033f57600080fd5b506102a261034e3660046120fc565b600b6020526000908152604090205460ff1681565b34801561036f57600080fd5b50610379600f5481565b6040519081526020016102ae565b34801561039357600080fd5b506103316103a23660046121a2565b610a19565b3480156103b357600080fd5b506103316103c23660046121fa565b610a38565b3480156103d357600080fd5b506001546000540360001901610379565b3480156103f057600080fd5b506103316103ff366004612215565b610a53565b34801561041057600080fd5b50610379600a5481565b34801561042657600080fd5b50610331610be4565b34801561043b57600080fd5b5061033161044a366004612215565b610cc2565b34801561045b57600080fd5b5061033161046a3660046120a2565b610ce2565b34801561047b57600080fd5b5061033161048a3660046121a2565b610cef565b34801561049b57600080fd5b506012546102a29062010000900460ff1681565b3480156104bb57600080fd5b506102cc610d0a565b3480156104d057600080fd5b506104e46104df36600461229c565b610d98565b6040516102ae9190612319565b3480156104fd57600080fd5b506012546102a29060ff1681565b34801561051757600080fd5b506102cc610e63565b34801561052c57600080fd5b506102f961053b3660046120a2565b610e70565b34801561054c57600080fd5b506012546102a290610100900460ff1681565b34801561056b57600080fd5b5061037961057a3660046120fc565b610e7b565b34801561058b57600080fd5b50610331610ec9565b3480156105a057600080fd5b506103796105af3660046120a2565b610edd565b3480156105c057600080fd5b506103316105cf3660046120a2565b610ee8565b3480156105e057600080fd5b506103316105ef3660046121a2565b610ef5565b34801561060057600080fd5b5061061461060f3660046120fc565b610f10565b6040516102ae919061235b565b34801561062d57600080fd5b506008546001600160a01b03166102f9565b34801561064b57600080fd5b5061037960115481565b34801561066157600080fd5b506102cc61101f565b34801561067657600080fd5b50610614610685366004612393565b61102e565b6103316106983660046120a2565b6111b9565b3480156106a957600080fd5b506103316106b83660046123c6565b611291565b3480156106c957600080fd5b506102cc611327565b3480156106de57600080fd5b506103316106ed3660046120a2565b611334565b3480156106fe57600080fd5b5061033161070d3660046121fa565b611341565b34801561071e57600080fd5b5061033161072d3660046123f9565b611363565b34801561073e57600080fd5b5061075261074d3660046120a2565b6113ad565b6040516102ae9190612474565b34801561076b57600080fd5b506102cc61077a3660046120a2565b611435565b61033161078d366004612482565b6115a4565b34801561079e57600080fd5b5061037960105481565b3480156107b457600080fd5b506103316107c33660046121fa565b611848565b3480156107d457600080fd5b506102a26107e33660046124cd565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561081d57600080fd5b5061033161082c3660046124f7565b61186c565b34801561083d57600080fd5b5061033161084c3660046120fc565b61187e565b60006301ffc9a760e01b6001600160e01b03198316148061088257506380ac58cd60e01b6001600160e01b03198316145b8061089d5750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600280546108b29061251a565b80601f01602080910402602001604051908101604052809291908181526020018280546108de9061251a565b801561092b5780601f106109005761010080835404028352916020019161092b565b820191906000526020600020905b81548152906001019060200180831161090e57829003601f168201915b5050505050905090565b6000610940826118f7565b61095d576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061098482610e70565b9050336001600160a01b038216146109bd576109a081336107e3565b6109bd576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b610a2161192c565b8051610a3490600d906020840190611f6b565b5050565b610a4061192c565b6012805460ff1916911515919091179055565b6000610a5e82611986565b9050836001600160a01b0316816001600160a01b031614610a915760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b03881690911417610ade57610ac186336107e3565b610ade57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610b0557604051633a954ecd60e21b815260040160405180910390fd5b8015610b1057600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040902055600160e11b8316610b9b5760018401600081815260046020526040902054610b99576000548114610b995760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b610bec61192c565b60026009541415610c445760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064015b60405180910390fd5b60026009556000610c5d6008546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d8060008114610ca7576040519150601f19603f3d011682016040523d82523d6000602084013e610cac565b606091505b5050905080610cba57600080fd5b506001600955565b610cdd83838360405180602001604052806000815250611363565b505050565b610cea61192c565b600f55565b610cf761192c565b8051610a3490600e906020840190611f6b565b600d8054610d179061251a565b80601f0160208091040260200160405190810160405280929190818152602001828054610d439061251a565b8015610d905780601f10610d6557610100808354040283529160200191610d90565b820191906000526020600020905b815481529060010190602001808311610d7357829003601f168201915b505050505081565b6060816000816001600160401b03811115610db557610db5612117565b604051908082528060200260200182016040528015610e0757816020015b604080516080810182526000808252602080830182905292820181905260608201528252600019909201910181610dd35790505b50905060005b828114610e5a57610e35868683818110610e2957610e29612555565b905060200201356113ad565b828281518110610e4757610e47612555565b6020908102919091010152600101610e0d565b50949350505050565b600c8054610d179061251a565b600061089d82611986565b60006001600160a01b038216610ea4576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600560205260409020546001600160401b031690565b610ed161192c565b610edb60006119ef565b565b600061089d82611a41565b610ef061192c565b600a55565b610efd61192c565b8051610a3490600c906020840190611f6b565b60606000806000610f2085610e7b565b90506000816001600160401b03811115610f3c57610f3c612117565b604051908082528060200260200182016040528015610f65578160200160208202803683370190505b509050610f9260408051608081018252600080825260208201819052918101829052606081019190915290565b60015b83861461101357610fa581611aa3565b9150816040015115610fb65761100b565b81516001600160a01b031615610fcb57815194505b876001600160a01b0316856001600160a01b0316141561100b5780838780600101985081518110610ffe57610ffe612555565b6020026020010181815250505b600101610f95565b50909695505050505050565b6060600380546108b29061251a565b606081831061105057604051631960ccad60e11b815260040160405180910390fd5b60008061105c60005490565b9050600185101561106c57600194505b80841115611078578093505b600061108387610e7b565b9050848610156110a2578585038181101561109c578091505b506110a6565b5060005b6000816001600160401b038111156110c0576110c0612117565b6040519080825280602002602001820160405280156110e9578160200160208202803683370190505b509050816110fc5793506111b292505050565b6000611107886113ad565b905060008160400151611118575080515b885b88811415801561112a5750848714155b156111a65761113881611aa3565b92508260400151156111495761119e565b82516001600160a01b03161561115e57825191505b8a6001600160a01b0316826001600160a01b0316141561119e578084888060010199508151811061119157611191612555565b6020026020010181815250505b60010161111a565b50505092835250909150505b9392505050565b806111c381611a41565b3410156112085760405162461bcd60e51b8152602060048201526013602482015272496e73756666696369656e742066756e64732160681b6044820152606401610c3b565b60125460ff16156112555760405162461bcd60e51b815260206004820152601760248201527654686520636f6e7472616374206973207061757365642160481b6044820152606401610c3b565b336000908152600b602052604090205460ff1661128757336000908152600b60205260409020805460ff191660011790555b610a343383611adf565b6001600160a01b0382163314156112bb5760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600e8054610d179061251a565b61133c61192c565b601155565b61134961192c565b601280549115156101000261ff0019909216919091179055565b61136e848484610a53565b6001600160a01b0383163b156113a75761138a84848484611af9565b6113a7576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b604080516080810182526000808252602082018190529181018290526060810191909152604080516080810182526000808252602082018190529181018290526060810191909152600183108061140657506000548310155b156114115792915050565b61141a83611aa3565b905080604001511561142c5792915050565b6111b283611bf0565b6060611440826118f7565b6114a45760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610c3b565b60125462010000900460ff1661154657600e80546114c19061251a565b80601f01602080910402602001604051908101604052809291908181526020018280546114ed9061251a565b801561153a5780601f1061150f5761010080835404028352916020019161153a565b820191906000526020600020905b81548152906001019060200180831161151d57829003601f168201915b50505050509050919050565b6000611550611c25565b9050600081511161157057604051806020016040528060008152506111b2565b8061157a84611c34565b600d60405160200161158e9392919061256b565b6040516020818303038152906040529392505050565b826115ae81611a41565b3410156115f35760405162461bcd60e51b8152602060048201526013602482015272496e73756666696369656e742066756e64732160681b6044820152606401610c3b565b60125460ff610100909104161515600114156116c2576040516bffffffffffffffffffffffff193360601b16602082015260009060340160405160208183030381529060405280519060200120905061168384848080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600a549150849050611d31565b6116c05760405162461bcd60e51b815260206004820152600e60248201526d496e76616c69642070726f6f662160901b6044820152606401610c3b565b505b60125460ff161561170f5760405162461bcd60e51b815260206004820152601760248201527654686520636f6e7472616374206973207061757365642160481b6044820152606401610c3b565b60008411801561172157506011548411155b6117645760405162461bcd60e51b8152602060048201526014602482015273496e76616c6964206d696e7420616d6f756e742160601b6044820152606401610c3b565b601054600154600054869190036000190161177f9190612645565b11156117c45760405162461bcd60e51b81526020600482015260146024820152734d617820737570706c792065786365656465642160601b6044820152606401610c3b565b336000908152600b602052604090205460ff16156118245760405162461bcd60e51b815260206004820152601860248201527f4164647265737320616c726561647920636c61696d65642100000000000000006044820152606401610c3b565b336000818152600b60205260409020805460ff191660011790556113a79085611adf565b61185061192c565b60128054911515620100000262ff000019909216919091179055565b61187461192c565b610a348183611adf565b61188661192c565b6001600160a01b0381166118eb5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610c3b565b6118f4816119ef565b50565b60008160011115801561190b575060005482105b801561089d575050600090815260046020526040902054600160e01b161590565b6008546001600160a01b03163314610edb5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c3b565b600081806001116119d6576000548110156119d657600081815260046020526040902054600160e01b81166119d4575b806111b25750600019016000818152600460205260409020546119b6565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b336000908152600b602052604081205460ff16611a90578160011415611a6957506000919050565b6000611a7660018461265d565b90506000600f5482611a889190612674565b949350505050565b81600f5461089d9190612674565b919050565b60408051608081018252600080825260208201819052918101829052606081019190915260008281526004602052604090205461089d90611d47565b610a34828260405180602001604052806000815250611d8e565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611b2e903390899088908890600401612693565b602060405180830381600087803b158015611b4857600080fd5b505af1925050508015611b78575060408051601f3d908101601f19168201909252611b75918101906126d0565b60015b611bd3573d808015611ba6576040519150601f19603f3d011682016040523d82523d6000602084013e611bab565b606091505b508051611bcb576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b60408051608081018252600080825260208201819052918101829052606081019190915261089d611c2083611986565b611d47565b6060600c80546108b29061251a565b606081611c585750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611c825780611c6c816126ed565b9150611c7b9050600a8361271e565b9150611c5c565b6000816001600160401b03811115611c9c57611c9c612117565b6040519080825280601f01601f191660200182016040528015611cc6576020820181803683370190505b5090505b8415611a8857611cdb60018361265d565b9150611ce8600a86612732565b611cf3906030612645565b60f81b818381518110611d0857611d08612555565b60200101906001600160f81b031916908160001a905350611d2a600a8661271e565b9450611cca565b600082611d3e8584611dfb565b14949350505050565b604080516080810182526001600160a01b038316815260a083901c6001600160401b03166020820152600160e01b831615159181019190915260e89190911c606082015290565b611d988383611e48565b6001600160a01b0383163b15610cdd576000548281035b611dc26000868380600101945086611af9565b611ddf576040516368d2bf6b60e11b815260040160405180910390fd5b818110611daf578160005414611df457600080fd5b5050505050565b600081815b8451811015611e4057611e2c82868381518110611e1f57611e1f612555565b6020026020010151611f3f565b915080611e38816126ed565b915050611e00565b509392505050565b60005481611e695760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b818114611f1857808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101611ee0565b5081611f3657604051622e076360e81b815260040160405180910390fd5b60005550505050565b6000818310611f5b5760008281526020849052604090206111b2565b5060009182526020526040902090565b828054611f779061251a565b90600052602060002090601f016020900481019282611f995760008555611fdf565b82601f10611fb257805160ff1916838001178555611fdf565b82800160010185558215611fdf579182015b82811115611fdf578251825591602001919060010190611fc4565b50611feb929150611fef565b5090565b5b80821115611feb5760008155600101611ff0565b6001600160e01b0319811681146118f457600080fd5b60006020828403121561202c57600080fd5b81356111b281612004565b60005b8381101561205257818101518382015260200161203a565b838111156113a75750506000910152565b6000815180845261207b816020860160208601612037565b601f01601f19169290920160200192915050565b6020815260006111b26020830184612063565b6000602082840312156120b457600080fd5b5035919050565b80356001600160a01b0381168114611a9e57600080fd5b600080604083850312156120e557600080fd5b6120ee836120bb565b946020939093013593505050565b60006020828403121561210e57600080fd5b6111b2826120bb565b634e487b7160e01b600052604160045260246000fd5b60006001600160401b038084111561214757612147612117565b604051601f8501601f19908116603f0116810190828211818310171561216f5761216f612117565b8160405280935085815286868601111561218857600080fd5b858560208301376000602087830101525050509392505050565b6000602082840312156121b457600080fd5b81356001600160401b038111156121ca57600080fd5b8201601f810184136121db57600080fd5b611a888482356020840161212d565b80358015158114611a9e57600080fd5b60006020828403121561220c57600080fd5b6111b2826121ea565b60008060006060848603121561222a57600080fd5b612233846120bb565b9250612241602085016120bb565b9150604084013590509250925092565b60008083601f84011261226357600080fd5b5081356001600160401b0381111561227a57600080fd5b6020830191508360208260051b850101111561229557600080fd5b9250929050565b600080602083850312156122af57600080fd5b82356001600160401b038111156122c557600080fd5b6122d185828601612251565b90969095509350505050565b80516001600160a01b031682526020808201516001600160401b03169083015260408082015115159083015260609081015162ffffff16910152565b6020808252825182820181905260009190848201906040850190845b81811015611013576123488385516122dd565b9284019260809290920191600101612335565b6020808252825182820181905260009190848201906040850190845b8181101561101357835183529284019291840191600101612377565b6000806000606084860312156123a857600080fd5b6123b1846120bb565b95602085013595506040909401359392505050565b600080604083850312156123d957600080fd5b6123e2836120bb565b91506123f0602084016121ea565b90509250929050565b6000806000806080858703121561240f57600080fd5b612418856120bb565b9350612426602086016120bb565b92506040850135915060608501356001600160401b0381111561244857600080fd5b8501601f8101871361245957600080fd5b6124688782356020840161212d565b91505092959194509250565b6080810161089d82846122dd565b60008060006040848603121561249757600080fd5b8335925060208401356001600160401b038111156124b457600080fd5b6124c086828701612251565b9497909650939450505050565b600080604083850312156124e057600080fd5b6124e9836120bb565b91506123f0602084016120bb565b6000806040838503121561250a57600080fd5b823591506123f0602084016120bb565b600181811c9082168061252e57607f821691505b6020821081141561254f57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b60008451602061257e8285838a01612037565b8551918401916125918184848a01612037565b8554920191600090600181811c90808316806125ae57607f831692505b8583108114156125cc57634e487b7160e01b85526022600452602485fd5b8080156125e057600181146125f15761261e565b60ff1985168852838801955061261e565b60008b81526020902060005b858110156126165781548a8201529084019088016125fd565b505083880195505b50939b9a5050505050505050505050565b634e487b7160e01b600052601160045260246000fd5b600082198211156126585761265861262f565b500190565b60008282101561266f5761266f61262f565b500390565b600081600019048311821515161561268e5761268e61262f565b500290565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906126c690830184612063565b9695505050505050565b6000602082840312156126e257600080fd5b81516111b281612004565b60006000198214156127015761270161262f565b5060010190565b634e487b7160e01b600052601260045260246000fd5b60008261272d5761272d612708565b500490565b60008261274157612741612708565b50069056fea26469706673582212205ce9629469a88a8dcb08615de8d6b6e71ebe2d620bd643f2bce8476a9542cf8964736f6c63430008090033
Deployed Bytecode Sourcemap
77919:4708:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36042:639;;;;;;;;;;-1:-1:-1;36042:639:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;36042:639:0;;;;;;;;36944:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;43427:218::-;;;;;;;;;;-1:-1:-1;43427:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1692:32:1;;;1674:51;;1662:2;1647:18;43427:218:0;1528:203:1;42868:400:0;;;;;;;;;;-1:-1:-1;42868:400:0;;;;;:::i;:::-;;:::i;:::-;;78059:43;;;;;;;;;;-1:-1:-1;78059:43:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;78221:34;;;;;;;;;;;;;;;;;;;2510:25:1;;;2498:2;2483:18;78221:34:0;2364:177:1;81336:106:0;;;;;;;;;;-1:-1:-1;81336:106:0;;;;;:::i;:::-;;:::i;81450:83::-;;;;;;;;;;-1:-1:-1;81450:83:0;;;;;:::i;:::-;;:::i;32695:323::-;;;;;;;;;;-1:-1:-1;80231:1:0;32969:12;32756:7;32953:13;:28;-1:-1:-1;;32953:46:0;32695:323;;47134:2817;;;;;;;;;;-1:-1:-1;47134:2817:0;;;;;:::i;:::-;;:::i;78027:25::-;;;;;;;;;;;;;;;;81772:160;;;;;;;;;;;;;:::i;50047:185::-;;;;;;;;;;-1:-1:-1;50047:185:0;;;;;:::i;:::-;;:::i;80798:80::-;;;;;;;;;;-1:-1:-1;80798:80:0;;;;;:::i;:::-;;:::i;81053:161::-;;;;;;;;;;-1:-1:-1;81053:161:0;;;;;:::i;:::-;;:::i;78425:28::-;;;;;;;;;;-1:-1:-1;78425:28:0;;;;;;;;;;;78146;;;;;;;;;;;;;:::i;73046:528::-;;;;;;;;;;-1:-1:-1;73046:528:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;78346:25::-;;;;;;;;;;-1:-1:-1;78346:25:0;;;;;;;;78111:28;;;;;;;;;;;;;:::i;38337:152::-;;;;;;;;;;-1:-1:-1;38337:152:0;;;;;:::i;:::-;;:::i;78378:40::-;;;;;;;;;;-1:-1:-1;78378:40:0;;;;;;;;;;;33879:233;;;;;;;;;;-1:-1:-1;33879:233:0;;;;;:::i;:::-;;:::i;16790:103::-;;;;;;;;;;;;;:::i;82058:118::-;;;;;;;;;;-1:-1:-1;82058:118:0;;;;;:::i;:::-;;:::i;81541:104::-;;;;;;;;;;-1:-1:-1;81541:104:0;;;;;:::i;:::-;;:::i;81222:106::-;;;;;;;;;;-1:-1:-1;81222:106:0;;;;;:::i;:::-;;:::i;76922:900::-;;;;;;;;;;-1:-1:-1;76922:900:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;16142:87::-;;;;;;;;;;-1:-1:-1;16215:6:0;;-1:-1:-1;;;;;16215:6:0;16142:87;;78300:37;;;;;;;;;;;;;;;;37120:104;;;;;;;;;;;;;:::i;73962:2513::-;;;;;;;;;;-1:-1:-1;73962:2513:0;;;;;:::i;:::-;;:::i;79638:329::-;;;;;;:::i;:::-;;:::i;43985:308::-;;;;;;;;;;-1:-1:-1;43985:308:0;;;;;:::i;:::-;;:::i;78181:31::-;;;;;;;;;;;;;:::i;80886:159::-;;;;;;;;;;-1:-1:-1;80886:159:0;;;;;:::i;:::-;;:::i;81653:111::-;;;;;;;;;;-1:-1:-1;81653:111:0;;;;;:::i;:::-;;:::i;50830:399::-;;;;;;;;;;-1:-1:-1;50830:399:0;;;;;:::i;:::-;;:::i;72459:428::-;;;;;;;;;;-1:-1:-1;72459:428:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;80248:445::-;;;;;;;;;;-1:-1:-1;80248:445:0;;;;;:::i;:::-;;:::i;78719:911::-;;;;;;:::i;:::-;;:::i;78262:31::-;;;;;;;;;;;;;;;;80703:87;;;;;;;;;;-1:-1:-1;80703:87:0;;;;;:::i;:::-;;:::i;44450:164::-;;;;;;;;;;-1:-1:-1;44450:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;44571:25:0;;;44547:4;44571:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;44450:164;79975:156;;;;;;;;;;-1:-1:-1;79975:156:0;;;;;:::i;:::-;;:::i;17048:201::-;;;;;;;;;;-1:-1:-1;17048:201:0;;;;;:::i;:::-;;:::i;36042:639::-;36127:4;-1:-1:-1;;;;;;;;;36451:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;36528:25:0;;;36451:102;:179;;;-1:-1:-1;;;;;;;;;;36605:25:0;;;36451:179;36431:199;36042:639;-1:-1:-1;;36042:639:0:o;36944:100::-;36998:13;37031:5;37024:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36944:100;:::o;43427:218::-;43503:7;43528:16;43536:7;43528;:16::i;:::-;43523:64;;43553:34;;-1:-1:-1;;;43553:34:0;;;;;;;;;;;43523:64;-1:-1:-1;43607:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;43607:30:0;;43427:218::o;42868:400::-;42949:13;42965:16;42973:7;42965;:16::i;:::-;42949:32;-1:-1:-1;66725:10:0;-1:-1:-1;;;;;42998:28:0;;;42994:175;;43046:44;43063:5;66725:10;44450:164;:::i;43046:44::-;43041:128;;43118:35;;-1:-1:-1;;;43118:35:0;;;;;;;;;;;43041:128;43181:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;43181:35:0;-1:-1:-1;;;;;43181:35:0;;;;;;;;;43232:28;;43181:24;;43232:28;;;;;;;42938:330;42868:400;;:::o;81336:106::-;16028:13;:11;:13::i;:::-;81412:22;;::::1;::::0;:9:::1;::::0;:22:::1;::::0;::::1;::::0;::::1;:::i;:::-;;81336:106:::0;:::o;81450:83::-;16028:13;:11;:13::i;:::-;81510:6:::1;:15:::0;;-1:-1:-1;;81510:15:0::1;::::0;::::1;;::::0;;;::::1;::::0;;81450:83::o;47134:2817::-;47268:27;47298;47317:7;47298:18;:27::i;:::-;47268:57;;47383:4;-1:-1:-1;;;;;47342:45:0;47358:19;-1:-1:-1;;;;;47342:45:0;;47338:86;;47396:28;;-1:-1:-1;;;47396:28:0;;;;;;;;;;;47338:86;47438:27;46248:24;;;:15;:24;;;;;46470:26;;66725:10;45873:30;;;-1:-1:-1;;;;;45566:28:0;;45851:20;;;45848:56;47624:180;;47717:43;47734:4;66725:10;44450:164;:::i;47717:43::-;47712:92;;47769:35;;-1:-1:-1;;;47769:35:0;;;;;;;;;;;47712:92;-1:-1:-1;;;;;47821:16:0;;47817:52;;47846:23;;-1:-1:-1;;;47846:23:0;;;;;;;;;;;47817:52;48018:15;48015:160;;;48158:1;48137:19;48130:30;48015:160;-1:-1:-1;;;;;48555:24:0;;;;;;;:18;:24;;;;;;48553:26;;-1:-1:-1;;48553:26:0;;;48624:22;;;;;;;;;48622:24;;-1:-1:-1;48622:24:0;;;41726:11;41701:23;41697:41;41684:63;-1:-1:-1;;;41684:63:0;48917:26;;;;:17;:26;;;;;:175;-1:-1:-1;;;49212:47:0;;49208:627;;49317:1;49307:11;;49285:19;49440:30;;;:17;:30;;;;;;49436:384;;49578:13;;49563:11;:28;49559:242;;49725:30;;;;:17;:30;;;;;:52;;;49559:242;49266:569;49208:627;49882:7;49878:2;-1:-1:-1;;;;;49863:27:0;49872:4;-1:-1:-1;;;;;49863:27:0;;;;;;;;;;;47257:2694;;;47134:2817;;;:::o;81772:160::-;16028:13;:11;:13::i;:::-;4342:1:::1;4940:7;;:19;;4932:63;;;::::0;-1:-1:-1;;;4932:63:0;;10503:2:1;4932:63:0::1;::::0;::::1;10485:21:1::0;10542:2;10522:18;;;10515:30;10581:33;10561:18;;;10554:61;10632:18;;4932:63:0::1;;;;;;;;;4342:1;5073:7;:18:::0;81834:7:::2;81855;16215:6:::0;;-1:-1:-1;;;;;16215:6:0;;16142:87;81855:7:::2;-1:-1:-1::0;;;;;81847:21:0::2;81876;81847:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;81833:69;;;81921:2;81913:11;;;::::0;::::2;;-1:-1:-1::0;4298:1:0::1;5252:7;:22:::0;81772:160::o;50047:185::-;50185:39;50202:4;50208:2;50212:7;50185:39;;;;;;;;;;;;:16;:39::i;:::-;50047:185;;;:::o;80798:80::-;16028:13;:11;:13::i;:::-;80858:4:::1;:12:::0;80798:80::o;81053:161::-;16028:13;:11;:13::i;:::-;81168:38;;::::1;::::0;:17:::1;::::0;:38:::1;::::0;::::1;::::0;::::1;:::i;78146:28::-:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;73046:528::-;73190:23;73281:8;73256:22;73281:8;-1:-1:-1;;;;;73348:36:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;73348:36:0;;-1:-1:-1;;73348:36:0;;;;;;;;;;;;73311:73;;73404:9;73399:125;73420:14;73415:1;:19;73399:125;;73476:32;73496:8;;73505:1;73496:11;;;;;;;:::i;:::-;;;;;;;73476:19;:32::i;:::-;73460:10;73471:1;73460:13;;;;;;;;:::i;:::-;;;;;;;;;;:48;73436:3;;73399:125;;;-1:-1:-1;73545:10:0;73046:528;-1:-1:-1;;;;73046:528:0:o;78111:28::-;;;;;;;:::i;38337:152::-;38409:7;38452:27;38471:7;38452:18;:27::i;33879:233::-;33951:7;-1:-1:-1;;;;;33975:19:0;;33971:60;;34003:28;;-1:-1:-1;;;34003:28:0;;;;;;;;;;;33971:60;-1:-1:-1;;;;;;34049:25:0;;;;;:18;:25;;;;;;-1:-1:-1;;;;;34049:55:0;;33879:233::o;16790:103::-;16028:13;:11;:13::i;:::-;16855:30:::1;16882:1;16855:18;:30::i;:::-;16790:103::o:0;82058:118::-;82118:7;82145:23;82160:7;82145:14;:23::i;81541:104::-;16028:13;:11;:13::i;:::-;81613:10:::1;:24:::0;81541:104::o;81222:106::-;16028:13;:11;:13::i;:::-;81298:22;;::::1;::::0;:9:::1;::::0;:22:::1;::::0;::::1;::::0;::::1;:::i;76922:900::-:0;77000:16;77054:19;77088:25;77128:22;77153:16;77163:5;77153:9;:16::i;:::-;77128:41;;77184:25;77226:14;-1:-1:-1;;;;;77212:29:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;77212:29:0;;77184:57;;77256:31;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;77256:31:0;80231:1;77302:472;77351:14;77336:11;:29;77302:472;;77403:15;77416:1;77403:12;:15::i;:::-;77391:27;;77441:9;:16;;;77437:73;;;77482:8;;77437:73;77532:14;;-1:-1:-1;;;;;77532:28:0;;77528:111;;77605:14;;;-1:-1:-1;77528:111:0;77682:5;-1:-1:-1;;;;;77661:26:0;:17;-1:-1:-1;;;;;77661:26:0;;77657:102;;;77738:1;77712:8;77721:13;;;;;;77712:23;;;;;;;;:::i;:::-;;;;;;:27;;;;;77657:102;77367:3;;77302:472;;;-1:-1:-1;77795:8:0;;76922:900;-1:-1:-1;;;;;;76922:900:0:o;37120:104::-;37176:13;37209:7;37202:14;;;;;:::i;73962:2513::-;74105:16;74172:4;74163:5;:13;74159:45;;74185:19;;-1:-1:-1;;;74185:19:0;;;;;;;;;;;74159:45;74219:19;74253:17;74273:14;32437:7;32464:13;;32382:103;74273:14;74253:34;-1:-1:-1;80231:1:0;74365:5;:23;74361:87;;;80231:1;74409:23;;74361:87;74524:9;74517:4;:16;74513:73;;;74561:9;74554:16;;74513:73;74600:25;74628:16;74638:5;74628:9;:16::i;:::-;74600:44;;74822:4;74814:5;:12;74810:278;;;74869:12;;;74904:31;;;74900:111;;;74980:11;74960:31;;74900:111;74828:198;74810:278;;;-1:-1:-1;75071:1:0;74810:278;75102:25;75144:17;-1:-1:-1;;;;;75130:32:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;75130:32:0;-1:-1:-1;75102:60:0;-1:-1:-1;75181:22:0;75177:78;;75231:8;-1:-1:-1;75224:15:0;;-1:-1:-1;;;75224:15:0;75177:78;75399:31;75433:26;75453:5;75433:19;:26::i;:::-;75399:60;;75474:25;75719:9;:16;;;75714:92;;-1:-1:-1;75776:14:0;;75714:92;75837:5;75820:478;75849:4;75844:1;:9;;:45;;;;;75872:17;75857:11;:32;;75844:45;75820:478;;;75927:15;75940:1;75927:12;:15::i;:::-;75915:27;;75965:9;:16;;;75961:73;;;76006:8;;75961:73;76056:14;;-1:-1:-1;;;;;76056:28:0;;76052:111;;76129:14;;;-1:-1:-1;76052:111:0;76206:5;-1:-1:-1;;;;;76185:26:0;:17;-1:-1:-1;;;;;76185:26:0;;76181:102;;;76262:1;76236:8;76245:13;;;;;;76236:23;;;;;;;;:::i;:::-;;;;;;:27;;;;;76181:102;75891:3;;75820:478;;;-1:-1:-1;;;76383:29:0;;;-1:-1:-1;76390:8:0;;-1:-1:-1;;73962:2513:0;;;;;;:::o;79638:329::-;79735:11;78617:27;78632:11;78617:14;:27::i;:::-;78604:9;:40;;78582:109;;;;-1:-1:-1;;;78582:109:0;;11205:2:1;78582:109:0;;;11187:21:1;11244:2;11224:18;;;11217:30;-1:-1:-1;;;11263:18:1;;;11256:49;11322:18;;78582:109:0;11003:343:1;78582:109:0;79773:6:::1;::::0;::::1;;79772:7;79764:43;;;::::0;-1:-1:-1;;;79764:43:0;;11553:2:1;79764:43:0::1;::::0;::::1;11535:21:1::0;11592:2;11572:18;;;11565:30;-1:-1:-1;;;11611:18:1;;;11604:53;11674:18;;79764:43:0::1;11351:347:1::0;79764:43:0::1;79834:10;79822:23;::::0;;;:11:::1;:23;::::0;;;;;::::1;;79818:95;;79883:10;79871:23;::::0;;;:11:::1;:23;::::0;;;;:30;;-1:-1:-1;;79871:30:0::1;79897:4;79871:30;::::0;;79818:95:::1;79923:36;66725:10:::0;79947:11:::1;79923:9;:36::i;43985:308::-:0;-1:-1:-1;;;;;44084:31:0;;66725:10;44084:31;44080:61;;;44124:17;;-1:-1:-1;;;44124:17:0;;;;;;;;;;;44080:61;66725:10;44154:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;44154:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;44154:60:0;;;;;;;;;;44230:55;;540:41:1;;;44154:49:0;;66725:10;44230:55;;513:18:1;44230:55:0;;;;;;;43985:308;;:::o;78181:31::-;;;;;;;:::i;80886:159::-;16028:13;:11;:13::i;:::-;80997:18:::1;:40:::0;80886:159::o;81653:111::-;16028:13;:11;:13::i;:::-;81727:20:::1;:29:::0;;;::::1;;;;-1:-1:-1::0;;81727:29:0;;::::1;::::0;;;::::1;::::0;;81653:111::o;50830:399::-;50997:31;51010:4;51016:2;51020:7;50997:12;:31::i;:::-;-1:-1:-1;;;;;51043:14:0;;;:19;51039:183;;51082:56;51113:4;51119:2;51123:7;51132:5;51082:30;:56::i;:::-;51077:145;;51166:40;;-1:-1:-1;;;51166:40:0;;;;;;;;;;;51077:145;50830:399;;;;:::o;72459:428::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;80231:1:0;72623:7;:25;:54;;;-1:-1:-1;32437:7:0;32464:13;72652:7;:25;;72623:54;72619:103;;;72701:9;72459:428;-1:-1:-1;;72459:428:0:o;72619:103::-;72744:21;72757:7;72744:12;:21::i;:::-;72732:33;;72780:9;:16;;;72776:65;;;72820:9;72459:428;-1:-1:-1;;72459:428:0:o;72776:65::-;72858:21;72871:7;72858:12;:21::i;80248:445::-;80322:13;80352:17;80360:8;80352:7;:17::i;:::-;80344:77;;;;-1:-1:-1;;;80344:77:0;;11905:2:1;80344:77:0;;;11887:21:1;11944:2;11924:18;;;11917:30;11983:34;11963:18;;;11956:62;-1:-1:-1;;;12034:18:1;;;12027:45;12089:19;;80344:77:0;11703:411:1;80344:77:0;80434:8;;;;;;;80430:64;;80469:17;80462:24;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;80248:445;;;:::o;80430:64::-;80502:28;80533:10;:8;:10::i;:::-;80502:41;;80588:1;80563:14;80557:28;:32;:130;;;;;;;;;;;;;;;;;80625:14;80641:19;:8;:17;:19::i;:::-;80662:9;80608:64;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;80550:137;80248:445;-1:-1:-1;;;80248:445:0:o;78719:911::-;78858:11;78617:27;78632:11;78617:14;:27::i;:::-;78604:9;:40;;78582:109;;;;-1:-1:-1;;;78582:109:0;;11205:2:1;78582:109:0;;;11187:21:1;11244:2;11224:18;;;11217:30;-1:-1:-1;;;11263:18:1;;;11256:49;11322:18;;78582:109:0;11003:343:1;78582:109:0;78891:20:::1;::::0;::::1;;::::0;;::::1;;:28;;:20;:28;78887:258;;;78961:30;::::0;-1:-1:-1;;66725:10:0;13926:2:1;13922:15;13918:53;78961:30:0::1;::::0;::::1;13906:66:1::0;78936:12:0::1;::::0;13988::1;;78961:30:0::1;;;;;;;;;;;;78951:41;;;;;;78936:56;;79033:50;79052:12;;79033:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;;79066:10:0::1;::::0;;-1:-1:-1;79078:4:0;;-1:-1:-1;79033:18:0::1;:50::i;:::-;79007:126;;;::::0;-1:-1:-1;;;79007:126:0;;14213:2:1;79007:126:0::1;::::0;::::1;14195:21:1::0;14252:2;14232:18;;;14225:30;-1:-1:-1;;;14271:18:1;;;14264:44;14325:18;;79007:126:0::1;14011:338:1::0;79007:126:0::1;78921:224;78887:258;79166:6;::::0;::::1;;79165:7;79157:43;;;::::0;-1:-1:-1;;;79157:43:0;;11553:2:1;79157:43:0::1;::::0;::::1;11535:21:1::0;11592:2;11572:18;;;11565:30;-1:-1:-1;;;11611:18:1;;;11604:53;11674:18;;79157:43:0::1;11351:347:1::0;79157:43:0::1;79247:1;79233:11;:15;:52;;;;;79267:18;;79252:11;:33;;79233:52;79211:122;;;::::0;-1:-1:-1;;;79211:122:0;;14556:2:1;79211:122:0::1;::::0;::::1;14538:21:1::0;14595:2;14575:18;;;14568:30;-1:-1:-1;;;14614:18:1;;;14607:50;14674:18;;79211:122:0::1;14354:344:1::0;79211:122:0::1;79398:9;::::0;80231:1;32969:12;32756:7;32953:13;79382:11;;32953:28;;-1:-1:-1;;32953:46:0;79366:27:::1;;;;:::i;:::-;:42;;79344:112;;;::::0;-1:-1:-1;;;79344:112:0;;15170:2:1;79344:112:0::1;::::0;::::1;15152:21:1::0;15209:2;15189:18;;;15182:30;-1:-1:-1;;;15228:18:1;;;15221:50;15288:18;;79344:112:0::1;14968:344:1::0;79344:112:0::1;66725:10:::0;79476:25:::1;::::0;;;:11:::1;:25;::::0;;;;;::::1;;79475:26;79467:63;;;::::0;-1:-1:-1;;;79467:63:0;;15519:2:1;79467:63:0::1;::::0;::::1;15501:21:1::0;15558:2;15538:18;;;15531:30;15597:26;15577:18;;;15570:54;15641:18;;79467:63:0::1;15317:348:1::0;79467:63:0::1;66725:10:::0;79543:25:::1;::::0;;;:11:::1;:25;::::0;;;;:32;;-1:-1:-1;;79543:32:0::1;79571:4;79543:32;::::0;;79586:36:::1;::::0;79610:11;79586:9:::1;:36::i;80703:87::-:0;16028:13;:11;:13::i;:::-;80765:8:::1;:17:::0;;;::::1;;::::0;::::1;-1:-1:-1::0;;80765:17:0;;::::1;::::0;;;::::1;::::0;;80703:87::o;79975:156::-;16028:13;:11;:13::i;:::-;80090:33:::1;80100:9;80111:11;80090:9;:33::i;17048:201::-:0;16028:13;:11;:13::i;:::-;-1:-1:-1;;;;;17137:22:0;::::1;17129:73;;;::::0;-1:-1:-1;;;17129:73:0;;15872:2:1;17129:73:0::1;::::0;::::1;15854:21:1::0;15911:2;15891:18;;;15884:30;15950:34;15930:18;;;15923:62;-1:-1:-1;;;16001:18:1;;;15994:36;16047:19;;17129:73:0::1;15670:402:1::0;17129:73:0::1;17213:28;17232:8;17213:18;:28::i;:::-;17048:201:::0;:::o;44872:282::-;44937:4;44993:7;80231:1;44974:26;;:66;;;;;45027:13;;45017:7;:23;44974:66;:153;;;;-1:-1:-1;;45078:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;45078:44:0;:49;;44872:282::o;16307:132::-;16215:6;;-1:-1:-1;;;;;16215:6:0;66725:10;16371:23;16363:68;;;;-1:-1:-1;;;16363:68:0;;16279:2:1;16363:68:0;;;16261:21:1;;;16298:18;;;16291:30;16357:34;16337:18;;;16330:62;16409:18;;16363:68:0;16077:356:1;39492:1275:0;39559:7;39594;;80231:1;39643:23;39639:1061;;39696:13;;39689:4;:20;39685:1015;;;39734:14;39751:23;;;:17;:23;;;;;;-1:-1:-1;;;39840:24:0;;39836:845;;40505:113;40512:11;40505:113;;-1:-1:-1;;;40583:6:0;40565:25;;;;:17;:25;;;;;;40505:113;;39836:845;39711:989;39685:1015;40728:31;;-1:-1:-1;;;40728:31:0;;;;;;;;;;;17409:191;17502:6;;;-1:-1:-1;;;;;17519:17:0;;;-1:-1:-1;;;;;;17519:17:0;;;;;;;17552:40;;17502:6;;;17519:17;17502:6;;17552:40;;17483:16;;17552:40;17472:128;17409:191;:::o;82184:440::-;82284:10;82248:7;82272:23;;;:11;:23;;;;;;;;82268:349;;82325:7;82336:1;82325:12;82321:231;;;-1:-1:-1;82365:7:0;;82184:440;-1:-1:-1;82184:440:0:o;82321:231::-;82413:18;82434:11;82444:1;82434:7;:11;:::i;:::-;82413:32;;82464:17;82497:4;;82484:10;:17;;;;:::i;:::-;82464:37;82184:440;-1:-1:-1;;;;82184:440:0:o;82268:349::-;82598:7;82591:4;;:14;;;;:::i;82268:349::-;82184:440;;;:::o;38940:161::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39068:24:0;;;;:17;:24;;;;;;39049:44;;:18;:44::i;60470:112::-;60547:27;60557:2;60561:8;60547:27;;;;;;;;;;;;:9;:27::i;53313:716::-;53497:88;;-1:-1:-1;;;53497:88:0;;53476:4;;-1:-1:-1;;;;;53497:45:0;;;;;:88;;66725:10;;53564:4;;53570:7;;53579:5;;53497:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;53497:88:0;;;;;;;;-1:-1:-1;;53497:88:0;;;;;;;;;;;;:::i;:::-;;;53493:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;53780:13:0;;53776:235;;53826:40;;-1:-1:-1;;;53826:40:0;;;;;;;;;;;53776:235;53969:6;53963:13;53954:6;53950:2;53946:15;53939:38;53493:529;-1:-1:-1;;;;;;53656:64:0;-1:-1:-1;;;53656:64:0;;-1:-1:-1;53313:716:0;;;;;;:::o;38678:166::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38789:47:0;38808:27;38827:7;38808:18;:27::i;:::-;38789:18;:47::i;81940:110::-;82000:13;82033:9;82026:16;;;;;:::i;463:723::-;519:13;740:10;736:53;;-1:-1:-1;;767:10:0;;;;;;;;;;;;-1:-1:-1;;;767:10:0;;;;;463:723::o;736:53::-;814:5;799:12;855:78;862:9;;855:78;;888:8;;;;:::i;:::-;;-1:-1:-1;911:10:0;;-1:-1:-1;919:2:0;911:10;;:::i;:::-;;;855:78;;;943:19;975:6;-1:-1:-1;;;;;965:17:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;965:17:0;;943:39;;993:154;1000:10;;993:154;;1027:11;1037:1;1027:11;;:::i;:::-;;-1:-1:-1;1096:10:0;1104:2;1096:5;:10;:::i;:::-;1083:24;;:2;:24;:::i;:::-;1070:39;;1053:6;1060;1053:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;1053:56:0;;;;;;;;-1:-1:-1;1124:11:0;1133:2;1124:11;;:::i;:::-;;;993:154;;6508:190;6633:4;6686;6657:25;6670:5;6677:4;6657:12;:25::i;:::-;:33;;6508:190;-1:-1:-1;;;;6508:190:0:o;40866:366::-;-1:-1:-1;;;;;;;;;;;;;40976:41:0;;;;28697:3;41062:33;;;-1:-1:-1;;;;;41028:68:0;-1:-1:-1;;;41028:68:0;-1:-1:-1;;;41126:24:0;;:29;;-1:-1:-1;;;41107:48:0;;;;29218:3;41195:28;;;;-1:-1:-1;;;41166:58:0;-1:-1:-1;40866:366:0:o;59697:689::-;59828:19;59834:2;59838:8;59828:5;:19::i;:::-;-1:-1:-1;;;;;59889:14:0;;;:19;59885:483;;59929:11;59943:13;59991:14;;;60024:233;60055:62;60094:1;60098:2;60102:7;;;;;;60111:5;60055:30;:62::i;:::-;60050:167;;60153:40;;-1:-1:-1;;;60153:40:0;;;;;;;;;;;60050:167;60252:3;60244:5;:11;60024:233;;60339:3;60322:13;;:20;60318:34;;60344:8;;;60318:34;59910:458;;59697:689;;;:::o;7375:296::-;7458:7;7501:4;7458:7;7516:118;7540:5;:12;7536:1;:16;7516:118;;;7589:33;7599:12;7613:5;7619:1;7613:8;;;;;;;;:::i;:::-;;;;;;;7589:9;:33::i;:::-;7574:48;-1:-1:-1;7554:3:0;;;;:::i;:::-;;;;7516:118;;;-1:-1:-1;7651:12:0;7375:296;-1:-1:-1;;;7375:296:0:o;54491:2454::-;54564:20;54587:13;54615;54611:44;;54637:18;;-1:-1:-1;;;54637:18:0;;;;;;;;;;;54611:44;-1:-1:-1;;;;;55143:22:0;;;;;;:18;:22;;;;28176:2;55143:22;;;:71;;55181:32;55169:45;;55143:71;;;55457:31;;;:17;:31;;;;;-1:-1:-1;42157:15:0;;42131:24;42127:46;41726:11;41701:23;41697:41;41694:52;41684:63;;55457:173;;55692:23;;;;55457:31;;55143:22;;56191:25;55143:22;;56044:335;56459:1;56445:12;56441:20;56399:346;56500:3;56491:7;56488:16;56399:346;;56718:7;56708:8;56705:1;56678:25;56675:1;56672;56667:59;56553:1;56540:15;56399:346;;;-1:-1:-1;56778:13:0;56774:45;;56800:19;;-1:-1:-1;;;56800:19:0;;;;;;;;;;;56774:45;56836:13;:19;-1:-1:-1;50047:185:0;;;:::o;13582:149::-;13645:7;13676:1;13672;:5;:51;;13807:13;13901:15;;;13937:4;13930:15;;;13984:4;13968:21;;13672:51;;;-1:-1:-1;13807:13:0;13901:15;;;13937:4;13930:15;13984:4;13968:21;;;13582:149::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:131:1;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:258::-;664:1;674:113;688:6;685:1;682:13;674:113;;;764:11;;;758:18;745:11;;;738:39;710:2;703:10;674:113;;;805:6;802:1;799:13;796:48;;;-1:-1:-1;;840:1:1;822:16;;815:27;592:258::o;855:::-;897:3;935:5;929:12;962:6;957:3;950:19;978:63;1034:6;1027:4;1022:3;1018:14;1011:4;1004:5;1000:16;978:63;:::i;:::-;1095:2;1074:15;-1:-1:-1;;1070:29:1;1061:39;;;;1102:4;1057:50;;855:258;-1:-1:-1;;855:258:1:o;1118:220::-;1267:2;1256:9;1249:21;1230:4;1287:45;1328:2;1317:9;1313:18;1305:6;1287:45;:::i;1343:180::-;1402:6;1455:2;1443:9;1434:7;1430:23;1426:32;1423:52;;;1471:1;1468;1461:12;1423:52;-1:-1:-1;1494:23:1;;1343:180;-1:-1:-1;1343:180:1:o;1736:173::-;1804:20;;-1:-1:-1;;;;;1853:31:1;;1843:42;;1833:70;;1899:1;1896;1889:12;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;2173:186::-;2232:6;2285:2;2273:9;2264:7;2260:23;2256:32;2253:52;;;2301:1;2298;2291:12;2253:52;2324:29;2343:9;2324:29;:::i;2546:127::-;2607:10;2602:3;2598:20;2595:1;2588:31;2638:4;2635:1;2628:15;2662:4;2659:1;2652:15;2678:632;2743:5;-1:-1:-1;;;;;2814:2:1;2806:6;2803:14;2800:40;;;2820:18;;:::i;:::-;2895:2;2889:9;2863:2;2949:15;;-1:-1:-1;;2945:24:1;;;2971:2;2941:33;2937:42;2925:55;;;2995:18;;;3015:22;;;2992:46;2989:72;;;3041:18;;:::i;:::-;3081:10;3077:2;3070:22;3110:6;3101:15;;3140:6;3132;3125:22;3180:3;3171:6;3166:3;3162:16;3159:25;3156:45;;;3197:1;3194;3187:12;3156:45;3247:6;3242:3;3235:4;3227:6;3223:17;3210:44;3302:1;3295:4;3286:6;3278;3274:19;3270:30;3263:41;;;;2678:632;;;;;:::o;3315:451::-;3384:6;3437:2;3425:9;3416:7;3412:23;3408:32;3405:52;;;3453:1;3450;3443:12;3405:52;3493:9;3480:23;-1:-1:-1;;;;;3518:6:1;3515:30;3512:50;;;3558:1;3555;3548:12;3512:50;3581:22;;3634:4;3626:13;;3622:27;-1:-1:-1;3612:55:1;;3663:1;3660;3653:12;3612:55;3686:74;3752:7;3747:2;3734:16;3729:2;3725;3721:11;3686:74;:::i;3771:160::-;3836:20;;3892:13;;3885:21;3875:32;;3865:60;;3921:1;3918;3911:12;3936:180;3992:6;4045:2;4033:9;4024:7;4020:23;4016:32;4013:52;;;4061:1;4058;4051:12;4013:52;4084:26;4100:9;4084:26;:::i;4121:328::-;4198:6;4206;4214;4267:2;4255:9;4246:7;4242:23;4238:32;4235:52;;;4283:1;4280;4273:12;4235:52;4306:29;4325:9;4306:29;:::i;:::-;4296:39;;4354:38;4388:2;4377:9;4373:18;4354:38;:::i;:::-;4344:48;;4439:2;4428:9;4424:18;4411:32;4401:42;;4121:328;;;;;:::o;4636:367::-;4699:8;4709:6;4763:3;4756:4;4748:6;4744:17;4740:27;4730:55;;4781:1;4778;4771:12;4730:55;-1:-1:-1;4804:20:1;;-1:-1:-1;;;;;4836:30:1;;4833:50;;;4879:1;4876;4869:12;4833:50;4916:4;4908:6;4904:17;4892:29;;4976:3;4969:4;4959:6;4956:1;4952:14;4944:6;4940:27;4936:38;4933:47;4930:67;;;4993:1;4990;4983:12;4930:67;4636:367;;;;;:::o;5008:437::-;5094:6;5102;5155:2;5143:9;5134:7;5130:23;5126:32;5123:52;;;5171:1;5168;5161:12;5123:52;5211:9;5198:23;-1:-1:-1;;;;;5236:6:1;5233:30;5230:50;;;5276:1;5273;5266:12;5230:50;5315:70;5377:7;5368:6;5357:9;5353:22;5315:70;:::i;:::-;5404:8;;5289:96;;-1:-1:-1;5008:437:1;-1:-1:-1;;;;5008:437:1:o;5450:349::-;5534:12;;-1:-1:-1;;;;;5530:38:1;5518:51;;5622:4;5611:16;;;5605:23;-1:-1:-1;;;;;5601:48:1;5585:14;;;5578:72;5713:4;5702:16;;;5696:23;5689:31;5682:39;5666:14;;;5659:63;5775:4;5764:16;;;5758:23;5783:8;5754:38;5738:14;;5731:62;5450:349::o;5804:722::-;6037:2;6089:21;;;6159:13;;6062:18;;;6181:22;;;6008:4;;6037:2;6260:15;;;;6234:2;6219:18;;;6008:4;6303:197;6317:6;6314:1;6311:13;6303:197;;;6366:52;6414:3;6405:6;6399:13;6366:52;:::i;:::-;6475:15;;;;6447:4;6438:14;;;;;6339:1;6332:9;6303:197;;6716:632;6887:2;6939:21;;;7009:13;;6912:18;;;7031:22;;;6858:4;;6887:2;7110:15;;;;7084:2;7069:18;;;6858:4;7153:169;7167:6;7164:1;7161:13;7153:169;;;7228:13;;7216:26;;7297:15;;;;7262:12;;;;7189:1;7182:9;7153:169;;7353:322;7430:6;7438;7446;7499:2;7487:9;7478:7;7474:23;7470:32;7467:52;;;7515:1;7512;7505:12;7467:52;7538:29;7557:9;7538:29;:::i;:::-;7528:39;7614:2;7599:18;;7586:32;;-1:-1:-1;7665:2:1;7650:18;;;7637:32;;7353:322;-1:-1:-1;;;7353:322:1:o;7680:254::-;7745:6;7753;7806:2;7794:9;7785:7;7781:23;7777:32;7774:52;;;7822:1;7819;7812:12;7774:52;7845:29;7864:9;7845:29;:::i;:::-;7835:39;;7893:35;7924:2;7913:9;7909:18;7893:35;:::i;:::-;7883:45;;7680:254;;;;;:::o;7939:667::-;8034:6;8042;8050;8058;8111:3;8099:9;8090:7;8086:23;8082:33;8079:53;;;8128:1;8125;8118:12;8079:53;8151:29;8170:9;8151:29;:::i;:::-;8141:39;;8199:38;8233:2;8222:9;8218:18;8199:38;:::i;:::-;8189:48;;8284:2;8273:9;8269:18;8256:32;8246:42;;8339:2;8328:9;8324:18;8311:32;-1:-1:-1;;;;;8358:6:1;8355:30;8352:50;;;8398:1;8395;8388:12;8352:50;8421:22;;8474:4;8466:13;;8462:27;-1:-1:-1;8452:55:1;;8503:1;8500;8493:12;8452:55;8526:74;8592:7;8587:2;8574:16;8569:2;8565;8561:11;8526:74;:::i;:::-;8516:84;;;7939:667;;;;;;;:::o;8611:266::-;8807:3;8792:19;;8820:51;8796:9;8853:6;8820:51;:::i;8882:505::-;8977:6;8985;8993;9046:2;9034:9;9025:7;9021:23;9017:32;9014:52;;;9062:1;9059;9052:12;9014:52;9098:9;9085:23;9075:33;;9159:2;9148:9;9144:18;9131:32;-1:-1:-1;;;;;9178:6:1;9175:30;9172:50;;;9218:1;9215;9208:12;9172:50;9257:70;9319:7;9310:6;9299:9;9295:22;9257:70;:::i;:::-;8882:505;;9346:8;;-1:-1:-1;9231:96:1;;-1:-1:-1;;;;8882:505:1:o;9392:260::-;9460:6;9468;9521:2;9509:9;9500:7;9496:23;9492:32;9489:52;;;9537:1;9534;9527:12;9489:52;9560:29;9579:9;9560:29;:::i;:::-;9550:39;;9608:38;9642:2;9631:9;9627:18;9608:38;:::i;9657:254::-;9725:6;9733;9786:2;9774:9;9765:7;9761:23;9757:32;9754:52;;;9802:1;9799;9792:12;9754:52;9838:9;9825:23;9815:33;;9867:38;9901:2;9890:9;9886:18;9867:38;:::i;9916:380::-;9995:1;9991:12;;;;10038;;;10059:61;;10113:4;10105:6;10101:17;10091:27;;10059:61;10166:2;10158:6;10155:14;10135:18;10132:38;10129:161;;;10212:10;10207:3;10203:20;10200:1;10193:31;10247:4;10244:1;10237:15;10275:4;10272:1;10265:15;10129:161;;9916:380;;;:::o;10871:127::-;10932:10;10927:3;10923:20;10920:1;10913:31;10963:4;10960:1;10953:15;10987:4;10984:1;10977:15;12245:1527;12469:3;12507:6;12501:13;12533:4;12546:51;12590:6;12585:3;12580:2;12572:6;12568:15;12546:51;:::i;:::-;12660:13;;12619:16;;;;12682:55;12660:13;12619:16;12704:15;;;12682:55;:::i;:::-;12826:13;;12759:20;;;12799:1;;12886;12908:18;;;;12961;;;;12988:93;;13066:4;13056:8;13052:19;13040:31;;12988:93;13129:2;13119:8;13116:16;13096:18;13093:40;13090:167;;;-1:-1:-1;;;13156:33:1;;13212:4;13209:1;13202:15;13242:4;13163:3;13230:17;13090:167;13273:18;13300:110;;;;13424:1;13419:328;;;;13266:481;;13300:110;-1:-1:-1;;13335:24:1;;13321:39;;13380:20;;;;-1:-1:-1;13300:110:1;;13419:328;12192:1;12185:14;;;12229:4;12216:18;;13514:1;13528:169;13542:8;13539:1;13536:15;13528:169;;;13624:14;;13609:13;;;13602:37;13667:16;;;;13559:10;;13528:169;;;13532:3;;13728:8;13721:5;13717:20;13710:27;;13266:481;-1:-1:-1;13763:3:1;;12245:1527;-1:-1:-1;;;;;;;;;;;12245:1527:1:o;14703:127::-;14764:10;14759:3;14755:20;14752:1;14745:31;14795:4;14792:1;14785:15;14819:4;14816:1;14809:15;14835:128;14875:3;14906:1;14902:6;14899:1;14896:13;14893:39;;;14912:18;;:::i;:::-;-1:-1:-1;14948:9:1;;14835:128::o;16438:125::-;16478:4;16506:1;16503;16500:8;16497:34;;;16511:18;;:::i;:::-;-1:-1:-1;16548:9:1;;16438:125::o;16568:168::-;16608:7;16674:1;16670;16666:6;16662:14;16659:1;16656:21;16651:1;16644:9;16637:17;16633:45;16630:71;;;16681:18;;:::i;:::-;-1:-1:-1;16721:9:1;;16568:168::o;16741:489::-;-1:-1:-1;;;;;17010:15:1;;;16992:34;;17062:15;;17057:2;17042:18;;17035:43;17109:2;17094:18;;17087:34;;;17157:3;17152:2;17137:18;;17130:31;;;16935:4;;17178:46;;17204:19;;17196:6;17178:46;:::i;:::-;17170:54;16741:489;-1:-1:-1;;;;;;16741:489:1:o;17235:249::-;17304:6;17357:2;17345:9;17336:7;17332:23;17328:32;17325:52;;;17373:1;17370;17363:12;17325:52;17405:9;17399:16;17424:30;17448:5;17424:30;:::i;17489:135::-;17528:3;-1:-1:-1;;17549:17:1;;17546:43;;;17569:18;;:::i;:::-;-1:-1:-1;17616:1:1;17605:13;;17489:135::o;17629:127::-;17690:10;17685:3;17681:20;17678:1;17671:31;17721:4;17718:1;17711:15;17745:4;17742:1;17735:15;17761:120;17801:1;17827;17817:35;;17832:18;;:::i;:::-;-1:-1:-1;17866:9:1;;17761:120::o;17886:112::-;17918:1;17944;17934:35;;17949:18;;:::i;:::-;-1:-1:-1;17983:9:1;;17886:112::o
Swarm Source
ipfs://5ce9629469a88a8dcb08615de8d6b6e71ebe2d620bd643f2bce8476a9542cf89
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.