Feature Tip: Add private address tag to any address under My Name Tag !
Overview
TokenID
3935
Total Transfers
-
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
ProjectFox
Compiler Version
v0.8.17+commit.8df45f5f
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-01-18 */ // SPDX-License-Identifier: MIT // File: operator-filter-registry/src/IOperatorFilterRegistry.sol pragma solidity ^0.8.13; interface IOperatorFilterRegistry { function isOperatorAllowed(address registrant, address operator) external view returns (bool); function register(address registrant) external; function registerAndSubscribe(address registrant, address subscription) external; function registerAndCopyEntries(address registrant, address registrantToCopy) external; function unregister(address addr) external; function updateOperator(address registrant, address operator, bool filtered) external; function updateOperators(address registrant, address[] calldata operators, bool filtered) external; function updateCodeHash(address registrant, bytes32 codehash, bool filtered) external; function updateCodeHashes(address registrant, bytes32[] calldata codeHashes, bool filtered) external; function subscribe(address registrant, address registrantToSubscribe) external; function unsubscribe(address registrant, bool copyExistingEntries) external; function subscriptionOf(address addr) external returns (address registrant); function subscribers(address registrant) external returns (address[] memory); function subscriberAt(address registrant, uint256 index) external returns (address); function copyEntriesOf(address registrant, address registrantToCopy) external; function isOperatorFiltered(address registrant, address operator) external returns (bool); function isCodeHashOfFiltered(address registrant, address operatorWithCode) external returns (bool); function isCodeHashFiltered(address registrant, bytes32 codeHash) external returns (bool); function filteredOperators(address addr) external returns (address[] memory); function filteredCodeHashes(address addr) external returns (bytes32[] memory); function filteredOperatorAt(address registrant, uint256 index) external returns (address); function filteredCodeHashAt(address registrant, uint256 index) external returns (bytes32); function isRegistered(address addr) external returns (bool); function codeHashOf(address addr) external returns (bytes32); } // File: operator-filter-registry/src/OperatorFilterer.sol pragma solidity ^0.8.13; /** * @title OperatorFilterer * @notice Abstract contract whose constructor automatically registers and optionally subscribes to or copies another * registrant's entries in the OperatorFilterRegistry. * @dev This smart contract is meant to be inherited by token contracts so they can use the following: * - `onlyAllowedOperator` modifier for `transferFrom` and `safeTransferFrom` methods. * - `onlyAllowedOperatorApproval` modifier for `approve` and `setApprovalForAll` methods. */ abstract contract OperatorFilterer { error OperatorNotAllowed(address operator); IOperatorFilterRegistry public constant OPERATOR_FILTER_REGISTRY = IOperatorFilterRegistry(0x000000000000AAeB6D7670E522A718067333cd4E); constructor(address subscriptionOrRegistrantToCopy, bool subscribe) { // If an inheriting token contract is deployed to a network without the registry deployed, the modifier // will not revert, but the contract will need to be registered with the registry once it is deployed in // order for the modifier to filter addresses. if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) { if (subscribe) { OPERATOR_FILTER_REGISTRY.registerAndSubscribe(address(this), subscriptionOrRegistrantToCopy); } else { if (subscriptionOrRegistrantToCopy != address(0)) { OPERATOR_FILTER_REGISTRY.registerAndCopyEntries(address(this), subscriptionOrRegistrantToCopy); } else { OPERATOR_FILTER_REGISTRY.register(address(this)); } } } } modifier onlyAllowedOperator(address from) virtual { // Allow spending tokens from addresses with balance // Note that this still allows listings and marketplaces with escrow to transfer tokens if transferred // from an EOA. if (from != msg.sender) { _checkFilterOperator(msg.sender); } _; } modifier onlyAllowedOperatorApproval(address operator) virtual { _checkFilterOperator(operator); _; } function _checkFilterOperator(address operator) internal view virtual { // Check registry code length to facilitate testing in environments without a deployed registry. if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) { if (!OPERATOR_FILTER_REGISTRY.isOperatorAllowed(address(this), operator)) { revert OperatorNotAllowed(operator); } } } } // File: operator-filter-registry/src/DefaultOperatorFilterer.sol pragma solidity ^0.8.13; /** * @title DefaultOperatorFilterer * @notice Inherits from OperatorFilterer and automatically subscribes to the default OpenSea subscription. */ abstract contract DefaultOperatorFilterer is OperatorFilterer { address constant DEFAULT_SUBSCRIPTION = address(0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6); constructor() OperatorFilterer(DEFAULT_SUBSCRIPTION, true) {} } // File: @openzeppelin/contracts/utils/cryptography/MerkleProof.sol // OpenZeppelin Contracts (last updated v4.8.0) (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Tree proofs. * * The tree and the proofs can be generated using our * https://github.com/OpenZeppelin/merkle-tree[JavaScript library]. * You will find a quickstart guide in the readme. * * WARNING: You should avoid using leaf values that are 64 bytes long prior to * hashing, or use a hash function other than keccak256 for hashing leaves. * This is because the concatenation of a sorted pair of internal nodes in * the merkle tree could be reinterpreted as a leaf value. * OpenZeppelin's JavaScript library generates merkle trees that are safe * against this attack out of the box. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Calldata version of {verify} * * _Available since v4.7._ */ function verifyCalldata( bytes32[] calldata proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProofCalldata(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merkle tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. * * _Available since v4.4._ */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Calldata version of {processProof} * * _Available since v4.7._ */ function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Returns true if the `leaves` can be simultaneously proven to be a part of a merkle tree defined by * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}. * * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details. * * _Available since v4.7._ */ function multiProofVerify( bytes32[] memory proof, bool[] memory proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProof(proof, proofFlags, leaves) == root; } /** * @dev Calldata version of {multiProofVerify} * * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details. * * _Available since v4.7._ */ function multiProofVerifyCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProofCalldata(proof, proofFlags, leaves) == root; } /** * @dev Returns the root of a tree reconstructed from `leaves` and sibling nodes in `proof`. The reconstruction * proceeds by incrementally reconstructing all inner nodes by combining a leaf/inner node with either another * leaf/inner node or a proof sibling node, depending on whether each `proofFlags` item is true or false * respectively. * * CAUTION: Not all merkle trees admit multiproofs. To use multiproofs, it is sufficient to ensure that: 1) the tree * is complete (but not necessarily perfect), 2) the leaves to be proven are in the opposite order they are in the * tree (i.e., as seen from right to left starting at the deepest layer and continuing at the next layer). * * _Available since v4.7._ */ function processMultiProof( bytes32[] memory proof, bool[] memory proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof"); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { return hashes[totalHashes - 1]; } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } /** * @dev Calldata version of {processMultiProof}. * * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details. * * _Available since v4.7._ */ function processMultiProofCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof"); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { return hashes[totalHashes - 1]; } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) { return a < b ? _efficientHash(a, b) : _efficientHash(b, a); } function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) { /// @solidity memory-safe-assembly assembly { mstore(0x00, a) mstore(0x20, b) value := keccak256(0x00, 0x40) } } } // File: @openzeppelin/contracts/security/ReentrancyGuard.sol // OpenZeppelin Contracts (last updated v4.8.0) (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() { _nonReentrantBefore(); _; _nonReentrantAfter(); } function _nonReentrantBefore() private { // On the first call to nonReentrant, _status will be _NOT_ENTERED require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; } function _nonReentrantAfter() private { // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } } // File: @openzeppelin/contracts/utils/Context.sol // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File: @openzeppelin/contracts/access/Ownable.sol // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // File: erc721a/contracts/IERC721A.sol // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721A. */ interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * Cannot query the balance for the zero address. */ error BalanceQueryForZeroAddress(); /** * Cannot mint to the zero address. */ error MintToZeroAddress(); /** * The quantity of tokens minted must be more than zero. */ error MintZeroQuantity(); /** * The token does not exist. */ error OwnerQueryForNonexistentToken(); /** * The caller must own the token or be an approved operator. */ error TransferCallerNotOwnerNorApproved(); /** * The token must be owned by `from`. */ error TransferFromIncorrectOwner(); /** * Cannot safely transfer to a contract that does not implement the * ERC721Receiver interface. */ error TransferToNonERC721ReceiverImplementer(); /** * Cannot transfer to the zero address. */ error TransferToZeroAddress(); /** * The token does not exist. */ error URIQueryForNonexistentToken(); /** * The `quantity` minted with ERC2309 exceeds the safety limit. */ error MintERC2309QuantityExceedsLimit(); /** * The `extraData` cannot be set on an unintialized ownership slot. */ error OwnershipNotInitializedForExtraData(); // ============================================================= // STRUCTS // ============================================================= struct TokenOwnership { // The address of the owner. address addr; // Stores the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; // Arbitrary data similar to `startTimestamp` that can be set via {_extraData}. uint24 extraData; } // ============================================================= // TOKEN COUNTERS // ============================================================= /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() external view returns (uint256); // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); // ============================================================= // IERC721 // ============================================================= /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables * (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, * checking first that contract recipients are aware of the ERC721 protocol * to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move * this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external payable; /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external payable; /** * @dev Transfers `tokenId` from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} * whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external payable; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the * zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external payable; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) external view returns (bool); // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); // ============================================================= // IERC2309 // ============================================================= /** * @dev Emitted when tokens in `fromTokenId` to `toTokenId` * (inclusive) is transferred from `from` to `to`, as defined in the * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309) standard. * * See {_mintERC2309} for more details. */ event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to); } // File: erc721a/contracts/ERC721A.sol // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721 token receiver. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @title ERC721A * * @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721) * Non-Fungible Token Standard, including the Metadata extension. * Optimized for lower gas during batch mints. * * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...) * starting from `_startTokenId()`. * * Assumptions: * * - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is IERC721A { // Bypass for a `--via-ir` bug (https://github.com/chiru-labs/ERC721A/pull/364). struct TokenApprovalRef { address value; } // ============================================================= // CONSTANTS // ============================================================= // Mask of an entry in packed address data. uint256 private constant _BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1; // The bit position of `numberMinted` in packed address data. uint256 private constant _BITPOS_NUMBER_MINTED = 64; // The bit position of `numberBurned` in packed address data. uint256 private constant _BITPOS_NUMBER_BURNED = 128; // The bit position of `aux` in packed address data. uint256 private constant _BITPOS_AUX = 192; // Mask of all 256 bits in packed address data except the 64 bits for `aux`. uint256 private constant _BITMASK_AUX_COMPLEMENT = (1 << 192) - 1; // The bit position of `startTimestamp` in packed ownership. uint256 private constant _BITPOS_START_TIMESTAMP = 160; // The bit mask of the `burned` bit in packed ownership. uint256 private constant _BITMASK_BURNED = 1 << 224; // The bit position of the `nextInitialized` bit in packed ownership. uint256 private constant _BITPOS_NEXT_INITIALIZED = 225; // The bit mask of the `nextInitialized` bit in packed ownership. uint256 private constant _BITMASK_NEXT_INITIALIZED = 1 << 225; // The bit position of `extraData` in packed ownership. uint256 private constant _BITPOS_EXTRA_DATA = 232; // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`. uint256 private constant _BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1; // The mask of the lower 160 bits for addresses. uint256 private constant _BITMASK_ADDRESS = (1 << 160) - 1; // The maximum `quantity` that can be minted with {_mintERC2309}. // This limit is to prevent overflows on the address data entries. // For a limit of 5000, a total of 3.689e15 calls to {_mintERC2309} // is required to cause an overflow, which is unrealistic. uint256 private constant _MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000; // The `Transfer` event signature is given by: // `keccak256(bytes("Transfer(address,address,uint256)"))`. bytes32 private constant _TRANSFER_EVENT_SIGNATURE = 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef; // ============================================================= // STORAGE // ============================================================= // The next token ID to be minted. uint256 private _currentIndex; // The number of tokens burned. uint256 private _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. // See {_packedOwnershipOf} implementation for details. // // Bits Layout: // - [0..159] `addr` // - [160..223] `startTimestamp` // - [224] `burned` // - [225] `nextInitialized` // - [232..255] `extraData` mapping(uint256 => uint256) private _packedOwnerships; // Mapping owner address to address data. // // Bits Layout: // - [0..63] `balance` // - [64..127] `numberMinted` // - [128..191] `numberBurned` // - [192..255] `aux` mapping(address => uint256) private _packedAddressData; // Mapping from token ID to approved address. mapping(uint256 => TokenApprovalRef) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // ============================================================= // CONSTRUCTOR // ============================================================= constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } // ============================================================= // TOKEN COUNTING OPERATIONS // ============================================================= /** * @dev Returns the starting token ID. * To change the starting token ID, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Returns the next token ID to be minted. */ function _nextTokenId() internal view virtual returns (uint256) { return _currentIndex; } /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() public view virtual override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than `_currentIndex - _startTokenId()` times. unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * @dev Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view virtual returns (uint256) { // Counter underflow is impossible as `_currentIndex` does not decrement, // and it is initialized to `_startTokenId()`. unchecked { return _currentIndex - _startTokenId(); } } /** * @dev Returns the total number of tokens burned. */ function _totalBurned() internal view virtual returns (uint256) { return _burnCounter; } // ============================================================= // ADDRESS DATA OPERATIONS // ============================================================= /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) public view virtual override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return _packedAddressData[owner] & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_MINTED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_BURNED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return uint64(_packedAddressData[owner] >> _BITPOS_AUX); } /** * Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal virtual { uint256 packed = _packedAddressData[owner]; uint256 auxCasted; // Cast `aux` with assembly to avoid redundant masking. assembly { auxCasted := aux } packed = (packed & _BITMASK_AUX_COMPLEMENT) | (auxCasted << _BITPOS_AUX); _packedAddressData[owner] = packed; } // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { // The interface IDs are constants representing the first 4 bytes // of the XOR of all function selectors in the interface. // See: [ERC165](https://eips.ethereum.org/EIPS/eip-165) // (e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`) return interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165. interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721. interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata. } // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the token collection symbol. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, it can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } // ============================================================= // OWNERSHIPS OPERATIONS // ============================================================= /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around over time. */ function _ownershipOf(uint256 tokenId) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @dev Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal virtual { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * Returns the packed ownership data of `tokenId`. */ function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr) if (curr < _currentIndex) { uint256 packed = _packedOwnerships[curr]; // If not burned. if (packed & _BITMASK_BURNED == 0) { // Invariant: // There will always be an initialized ownership slot // (i.e. `ownership.addr != address(0) && ownership.burned == false`) // before an unintialized ownership slot // (i.e. `ownership.addr == address(0) && ownership.burned == false`) // Hence, `curr` will not underflow. // // We can directly compare the packed value. // If the address is zero, packed will be zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * @dev Returns the unpacked `TokenOwnership` struct from `packed`. */ function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) { ownership.addr = address(uint160(packed)); ownership.startTimestamp = uint64(packed >> _BITPOS_START_TIMESTAMP); ownership.burned = packed & _BITMASK_BURNED != 0; ownership.extraData = uint24(packed >> _BITPOS_EXTRA_DATA); } /** * @dev Packs ownership data into a single uint256. */ function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // `owner | (block.timestamp << _BITPOS_START_TIMESTAMP) | flags`. result := or(owner, or(shl(_BITPOS_START_TIMESTAMP, timestamp()), flags)) } } /** * @dev Returns the `nextInitialized` flag set if `quantity` equals 1. */ function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) { // For branchless setting of the `nextInitialized` flag. assembly { // `(quantity == 1) << _BITPOS_NEXT_INITIALIZED`. result := shl(_BITPOS_NEXT_INITIALIZED, eq(quantity, 1)) } } // ============================================================= // APPROVAL OPERATIONS // ============================================================= /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the * zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) public payable virtual override { address owner = ownerOf(tokenId); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId].value = to; emit Approval(owner, to, tokenId); } /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId].value; } /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool approved) public virtual override { _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), operator, approved); } /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted. See {_mint}. */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned. } /** * @dev Returns whether `msgSender` is equal to `approvedAddress` or `owner`. */ function _isSenderApprovedOrOwner( address approvedAddress, address owner, address msgSender ) private pure returns (bool result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean. msgSender := and(msgSender, _BITMASK_ADDRESS) // `msgSender == owner || msgSender == approvedAddress`. result := or(eq(msgSender, owner), eq(msgSender, approvedAddress)) } } /** * @dev Returns the storage slot and value for the approved address of `tokenId`. */ function _getApprovedSlotAndAddress(uint256 tokenId) private view returns (uint256 approvedAddressSlot, address approvedAddress) { TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId]; // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId].value`. assembly { approvedAddressSlot := tokenApproval.slot approvedAddress := sload(approvedAddressSlot) } } // ============================================================= // TRANSFER OPERATIONS // ============================================================= /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) public payable virtual override { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // We can directly increment and decrement the balances. --_packedAddressData[from]; // Updates: `balance -= 1`. ++_packedAddressData[to]; // Updates: `balance += 1`. // Updates: // - `address` to the next owner. // - `startTimestamp` to the timestamp of transfering. // - `burned` to `false`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( to, _BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public payable virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public payable virtual override { transferFrom(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Hook that is called before a set of serially-ordered token IDs * are about to be transferred. This includes minting. * And also called before burning one token. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token IDs * have been transferred. This includes minting. * And also called after one token has been burned. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Private function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * `from` - Previous owner of the given token ID. * `to` - Target address that will receive the token. * `tokenId` - Token ID to be transferred. * `_data` - Optional data to send along with the call. * * Returns whether the call correctly returned the expected magic value. */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns ( bytes4 retval ) { return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } // ============================================================= // MINT OPERATIONS // ============================================================= /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event for each mint. */ function _mint(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // `balance` and `numberMinted` have a maximum limit of 2**64. // `tokenId` has a maximum limit of 2**256. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); uint256 toMasked; uint256 end = startTokenId + quantity; // Use assembly to loop and emit the `Transfer` event for gas savings. // The duplicated `log4` removes an extra check and reduces stack juggling. // The assembly, together with the surrounding Solidity code, have been // delicately arranged to nudge the compiler into producing optimized opcodes. assembly { // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean. toMasked := and(to, _BITMASK_ADDRESS) // Emit the `Transfer` event. log4( 0, // Start of data (0, since no data). 0, // End of data (0, since no data). _TRANSFER_EVENT_SIGNATURE, // Signature. 0, // `address(0)`. toMasked, // `to`. startTokenId // `tokenId`. ) // The `iszero(eq(,))` check ensures that large values of `quantity` // that overflows uint256 will make the loop run out of gas. // The compiler will optimize the `iszero` away for performance. for { let tokenId := add(startTokenId, 1) } iszero(eq(tokenId, end)) { tokenId := add(tokenId, 1) } { // Emit the `Transfer` event. Similar to above. log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId) } } if (toMasked == 0) revert MintToZeroAddress(); _currentIndex = end; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * This function is intended for efficient minting only during contract creation. * * It emits only one {ConsecutiveTransfer} as defined in * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309), * instead of a sequence of {Transfer} event(s). * * Calling this function outside of contract creation WILL make your contract * non-compliant with the ERC721 standard. * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309 * {ConsecutiveTransfer} event is only permissible during contract creation. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {ConsecutiveTransfer} event. */ function _mintERC2309(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are unrealistic due to the above check for `quantity` to be below the limit. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to); _currentIndex = startTokenId + quantity; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * See {_mint}. * * Emits a {Transfer} event for each mint. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal virtual { _mint(to, quantity); unchecked { if (to.code.length != 0) { uint256 end = _currentIndex; uint256 index = end - quantity; do { if (!_checkContractOnERC721Received(address(0), to, index++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (index < end); // Reentrancy protection. if (_currentIndex != end) revert(); } } } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal virtual { _safeMint(to, quantity, ''); } // ============================================================= // BURN OPERATIONS // ============================================================= /** * @dev Equivalent to `_burn(tokenId, false)`. */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); address from = address(uint160(prevOwnershipPacked)); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); if (approvalCheck) { // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // Updates: // - `balance -= 1`. // - `numberBurned += 1`. // // We can directly decrement the balance, and increment the number burned. // This is equivalent to `packed -= 1; packed += 1 << _BITPOS_NUMBER_BURNED;`. _packedAddressData[from] += (1 << _BITPOS_NUMBER_BURNED) - 1; // Updates: // - `address` to the last owner. // - `startTimestamp` to the timestamp of burning. // - `burned` to `true`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( from, (_BITMASK_BURNED | _BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } // ============================================================= // EXTRA DATA OPERATIONS // ============================================================= /** * @dev Directly sets the extra data for the ownership data `index`. */ function _setExtraDataAt(uint256 index, uint24 extraData) internal virtual { uint256 packed = _packedOwnerships[index]; if (packed == 0) revert OwnershipNotInitializedForExtraData(); uint256 extraDataCasted; // Cast `extraData` with assembly to avoid redundant masking. assembly { extraDataCasted := extraData } packed = (packed & _BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << _BITPOS_EXTRA_DATA); _packedOwnerships[index] = packed; } /** * @dev Called during each token transfer to set the 24bit `extraData` field. * Intended to be overridden by the cosumer contract. * * `previousExtraData` - the value of `extraData` before transfer. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _extraData( address from, address to, uint24 previousExtraData ) internal view virtual returns (uint24) {} /** * @dev Returns the next extra data for the packed ownership data. * The returned result is shifted into position. */ function _nextExtraData( address from, address to, uint256 prevOwnershipPacked ) private view returns (uint256) { uint24 extraData = uint24(prevOwnershipPacked >> _BITPOS_EXTRA_DATA); return uint256(_extraData(from, to, extraData)) << _BITPOS_EXTRA_DATA; } // ============================================================= // OTHER OPERATIONS // ============================================================= /** * @dev Returns the message sender (defaults to `msg.sender`). * * If you are writing GSN compatible contracts, you need to override this function. */ function _msgSenderERC721A() internal view virtual returns (address) { return msg.sender; } /** * @dev Converts a uint256 to its ASCII string decimal representation. */ function _toString(uint256 value) internal pure virtual returns (string memory str) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), but // we allocate 0xa0 bytes to keep the free memory pointer 32-byte word aligned. // We will need 1 word for the trailing zeros padding, 1 word for the length, // and 3 words for a maximum of 78 digits. Total: 5 * 0x20 = 0xa0. let m := add(mload(0x40), 0xa0) // Update the free memory pointer to allocate. mstore(0x40, m) // Assign the `str` to the end. str := sub(m, 0x20) // Zeroize the slot after the string. mstore(str, 0) // Cache the end of the memory to calculate the length later. let end := str // We write the string from rightmost digit to leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // prettier-ignore for { let temp := value } 1 {} { str := sub(str, 1) // Write the character to the pointer. // The ASCII index of the '0' character is 48. mstore8(str, add(48, mod(temp, 10))) // Keep dividing `temp` until zero. temp := div(temp, 10) // prettier-ignore if iszero(temp) { break } } let length := sub(end, str) // Move the pointer 32 bytes leftwards to make room for the length. str := sub(str, 0x20) // Store the length. mstore(str, length) } } } // File: contracts/ProjectFox.sol //Developer : FazelPejmanfar , Twitter :@Pejmanfarfazel pragma solidity >=0.7.0 <0.9.0; contract ProjectFox is ERC721A, Ownable, ReentrancyGuard, DefaultOperatorFilterer { string public baseURI; string public notRevealedUri; uint256 public cost = 0.0089 ether; uint256 public wlcost = 0.0069 ether; uint256 public maxSupply = 3300; uint256 public WlSupply = 1000; uint256 public teamreserve = 120; uint256 public MaxperWallet = 5; uint256 public MaxperWalletWl = 2; bool public paused = false; bool public revealed = false; bool public preSale = true; bytes32 public merkleRoot; mapping (address => uint256) public PublicMintofUser; mapping (address => uint256) public WhitelistedMintofUser; uint256 public teamminted; constructor( string memory _initBaseURI, string memory _notRevealedUri ) ERC721A("Project Fox", "FOX") { setBaseURI(_initBaseURI); setNotRevealedURI(_notRevealedUri); } // internal function _baseURI() internal view virtual override returns (string memory) { return baseURI; } function _startTokenId() internal view virtual override returns (uint256) { return 1; } // public /// @dev Public mint function mint(uint256 tokens) public payable nonReentrant { require(!paused, "FOX: oops contract is paused"); require(!preSale, "FOX: Sale Hasn't started yet"); require(tokens <= MaxperWallet, "FOX: max mint amount per tx exceeded"); require(totalSupply() + tokens <= maxSupply, "FOX: We Soldout"); require(PublicMintofUser[_msgSenderERC721A()] + tokens <= MaxperWallet, "FOX: Max NFT Per Wallet exceeded"); require(msg.value >= cost * tokens, "FOX: insufficient funds"); PublicMintofUser[_msgSenderERC721A()] += tokens; _safeMint(_msgSenderERC721A(), tokens); } /// @dev presale mint for whitelisted function presalemint(uint256 tokens, bytes32[] calldata merkleProof) public payable nonReentrant { require(!paused, "FOX: oops contract is paused"); require(preSale, "FOX: Presale Hasn't started yet"); require(MerkleProof.verify(merkleProof, merkleRoot, keccak256(abi.encodePacked(msg.sender))), "FOX: You are not Whitelisted"); require(WhitelistedMintofUser[_msgSenderERC721A()] + tokens <= MaxperWalletWl, "FOX: Max NFT Per Wallet exceeded"); require(tokens <= MaxperWalletWl, "FOX: max mint per Tx exceeded"); require(totalSupply() + tokens <= WlSupply, "FOX: Whitelist MaxSupply exceeded"); require(msg.value >= wlcost * tokens, "FOX: insufficient funds"); WhitelistedMintofUser[_msgSenderERC721A()] += tokens; _safeMint(_msgSenderERC721A(), tokens); } /// @dev use it for giveaway and team mint function airdrop(uint256 _mintAmount, address destination) public onlyOwner nonReentrant { require(teamminted + _mintAmount <= teamreserve, "max NFT limit exceeded"); teamminted += _mintAmount; _safeMint(destination, _mintAmount); } /// @notice returns metadata link of tokenid function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require( _exists(tokenId), "ERC721AMetadata: URI query for nonexistent token" ); if(revealed == false) { return notRevealedUri; } string memory currentBaseURI = _baseURI(); return bytes(currentBaseURI).length > 0 ? string(abi.encodePacked(currentBaseURI, _toString(tokenId), ".json")) : ""; } /// @notice return the number minted by an address function numberMinted(address owner) public view returns (uint256) { return _numberMinted(owner); } /// @notice return the tokens owned by an address function tokensOfOwner(address owner) public view 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; } } //only owner function reveal(bool _state) public onlyOwner { revealed = _state; } /// @dev change the merkle root for the whitelist phase function setMerkleRoot(bytes32 _merkleRoot) external onlyOwner { merkleRoot = _merkleRoot; } /// @dev change the public max per wallet function setMaxPerWallet(uint256 _limit) public onlyOwner { MaxperWallet = _limit; } /// @dev change the whitelist max per wallet function setWlMaxPerWallet(uint256 _limit) public onlyOwner { MaxperWalletWl = _limit; } /// @dev change the public price(amount need to be in wei) function setCost(uint256 _newCost) public onlyOwner { cost = _newCost; } /// @dev change the whitelist price(amount need to be in wei) function setWlCost(uint256 _newWlCost) public onlyOwner { wlcost = _newWlCost; } /// @dev cut the supply if we dont sold out function setMaxsupply(uint256 _newsupply) public onlyOwner { maxSupply = _newsupply; } /// @dev cut the whitelist supply if we dont sold out function setwlsupply(uint256 _newsupply) public onlyOwner { WlSupply = _newsupply; } /// @dev set your baseuri function setBaseURI(string memory _newBaseURI) public onlyOwner { baseURI = _newBaseURI; } /// @dev set hidden uri function setNotRevealedURI(string memory _notRevealedURI) public onlyOwner { notRevealedUri = _notRevealedURI; } /// @dev to pause and unpause your contract(use booleans true or false) function pause(bool _state) public onlyOwner { paused = _state; } /// @dev activate whitelist sale(use booleans true or false) function togglepreSale(bool _state) external onlyOwner { preSale = _state; } /// @dev withdraw funds from contract function withdraw() public payable onlyOwner nonReentrant { uint256 balance = address(this).balance; payable(_msgSenderERC721A()).transfer(balance); } /// Opensea Royalties function transferFrom(address from, address to, uint256 tokenId) public payable override onlyAllowedOperator(from) { super.transferFrom(from, to, tokenId); } function safeTransferFrom(address from, address to, uint256 tokenId) public payable override onlyAllowedOperator(from) { super.safeTransferFrom(from, to, tokenId); } function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory data) public payable override onlyAllowedOperator(from) { super.safeTransferFrom(from, to, tokenId, data); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_initBaseURI","type":"string"},{"internalType":"string","name":"_notRevealedUri","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MaxperWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MaxperWalletWl","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OPERATOR_FILTER_REGISTRY","outputs":[{"internalType":"contract IOperatorFilterRegistry","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"PublicMintofUser","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"WhitelistedMintofUser","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WlSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"},{"internalType":"address","name":"destination","type":"address"}],"name":"airdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"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":"tokens","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"notRevealedUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"numberMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"preSale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokens","type":"uint256"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"presalemint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"reveal","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":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newCost","type":"uint256"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_limit","type":"uint256"}],"name":"setMaxPerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newsupply","type":"uint256"}],"name":"setMaxsupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_notRevealedURI","type":"string"}],"name":"setNotRevealedURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newWlCost","type":"uint256"}],"name":"setWlCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_limit","type":"uint256"}],"name":"setWlMaxPerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newsupply","type":"uint256"}],"name":"setwlsupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"teamminted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"teamreserve","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"togglepreSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"wlcost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
6080604052661f9e80ba804000600c556618838370f34000600d55610ce4600e556103e8600f556078601055600560115560026012556013805462ffffff1916620100001790553480156200005357600080fd5b5060405162002c3038038062002c30833981016040819052620000769162000417565b733cc6cdda760b79bafa08df41ecfa224f810dceb660016040518060400160405280600b81526020016a0a0e4ded4cac6e8408cdef60ab1b8152506040518060400160405280600381526020016208c9eb60eb1b8152508160029081620000de919062000510565b506003620000ed828262000510565b505060016000555062000100336200026b565b60016009556daaeb6d7670e522a718067333cd4e3b156200024a5780156200019857604051633e9f1edf60e11b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e90637d3e3dbe906044015b600060405180830381600087803b1580156200017957600080fd5b505af11580156200018e573d6000803e3d6000fd5b505050506200024a565b6001600160a01b03821615620001e95760405163a0af290360e01b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e9063a0af2903906044016200015e565b604051632210724360e11b81523060048201526daaeb6d7670e522a718067333cd4e90634420e48690602401600060405180830381600087803b1580156200023057600080fd5b505af115801562000245573d6000803e3d6000fd5b505050505b5062000258905082620002bd565b6200026381620002d9565b5050620005dc565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b620002c7620002f1565b600a620002d5828262000510565b5050565b620002e3620002f1565b600b620002d5828262000510565b6008546001600160a01b03163314620003505760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640160405180910390fd5b565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200037a57600080fd5b81516001600160401b038082111562000397576200039762000352565b604051601f8301601f19908116603f01168101908282118183101715620003c257620003c262000352565b81604052838152602092508683858801011115620003df57600080fd5b600091505b83821015620004035785820183015181830184015290820190620003e4565b600093810190920192909252949350505050565b600080604083850312156200042b57600080fd5b82516001600160401b03808211156200044357600080fd5b620004518683870162000368565b935060208501519150808211156200046857600080fd5b50620004778582860162000368565b9150509250929050565b600181811c908216806200049657607f821691505b602082108103620004b757634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200050b57600081815260208120601f850160051c81016020861015620004e65750805b601f850160051c820191505b818110156200050757828155600101620004f2565b5050505b505050565b81516001600160401b038111156200052c576200052c62000352565b62000544816200053d845462000481565b84620004bd565b602080601f8311600181146200057c5760008415620005635750858301515b600019600386901b1c1916600185901b17855562000507565b600085815260208120601f198616915b82811015620005ad578886015182559484019460019091019084016200058c565b5085821015620005cc5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b61264480620005ec6000396000f3fe6080604052600436106102fe5760003560e01c80636c2d3c4f11610190578063bc63f02e116100dc578063e268e4d311610095578063f2c4ce1e1161006f578063f2c4ce1e14610866578063f2fde38b14610886578063fea0e058146108a6578063fff8d2fc146108c657600080fd5b8063e268e4d314610806578063e985e9c514610826578063f12f6d5d1461084657600080fd5b8063bc63f02e1461075a578063bd7a19981461077a578063bde0608a14610790578063c87b56dd146107b0578063d5abeb01146107d0578063dc33e681146107e657600080fd5b80638da5cb5b11610149578063a0712d6811610123578063a0712d68146106fe578063a22cb46514610711578063a96199f614610731578063b88d4fde1461074757600080fd5b80638da5cb5b146106ab578063940cd05b146106c957806395d89b41146106e957600080fd5b80636c2d3c4f146105e657806370a08231146105fc578063715018a61461061c5780637cb64759146106315780638462151c146106515780638b14966b1461067e57600080fd5b80632eb4a7ab1161024f57806351830227116102085780635c975abb116101e25780635c975abb146105815780636352211e1461059b5780636826bca8146105bb5780636c0360eb146105d157600080fd5b8063518302271461052257806355f804b3146105415780635a7adf7f1461056157600080fd5b80632eb4a7ab1461048f5780633ccfd60b146104a557806341f43434146104ad57806342842e0e146104cf57806344a0d68a146104e2578063458c4f9e1461050257600080fd5b8063081c8c44116102bc57806313faede61161029657806313faede614610429578063149835a01461043f57806318160ddd1461045f57806323b872dd1461047c57600080fd5b8063081c8c44146103eb578063095ea7b3146104005780630bddb6131461041357600080fd5b806277ec051461030357806301ffc9a71461032c57806302329a291461035c578063036e4cb51461037e57806306fdde0314610391578063081812fc146103b3575b600080fd5b34801561030f57600080fd5b5061031960125481565b6040519081526020015b60405180910390f35b34801561033857600080fd5b5061034c610347366004611fb3565b6108f3565b6040519015158152602001610323565b34801561036857600080fd5b5061037c610377366004611fde565b610945565b005b61037c61038c366004611ffb565b610960565b34801561039d57600080fd5b506103a6610c9f565b60405161032391906120ca565b3480156103bf57600080fd5b506103d36103ce3660046120dd565b610d31565b6040516001600160a01b039091168152602001610323565b3480156103f757600080fd5b506103a6610d75565b61037c61040e366004612112565b610e03565b34801561041f57600080fd5b50610319600f5481565b34801561043557600080fd5b50610319600c5481565b34801561044b57600080fd5b5061037c61045a3660046120dd565b610ea3565b34801561046b57600080fd5b506001546000540360001901610319565b61037c61048a36600461213c565b610eb0565b34801561049b57600080fd5b5061031960145481565b61037c610edb565b3480156104b957600080fd5b506103d36daaeb6d7670e522a718067333cd4e81565b61037c6104dd36600461213c565b610f28565b3480156104ee57600080fd5b5061037c6104fd3660046120dd565b610f4d565b34801561050e57600080fd5b5061037c61051d3660046120dd565b610f5a565b34801561052e57600080fd5b5060135461034c90610100900460ff1681565b34801561054d57600080fd5b5061037c61055c366004612204565b610f67565b34801561056d57600080fd5b5060135461034c9062010000900460ff1681565b34801561058d57600080fd5b5060135461034c9060ff1681565b3480156105a757600080fd5b506103d36105b63660046120dd565b610f7f565b3480156105c757600080fd5b5061031960105481565b3480156105dd57600080fd5b506103a6610f8a565b3480156105f257600080fd5b50610319600d5481565b34801561060857600080fd5b5061031961061736600461224d565b610f97565b34801561062857600080fd5b5061037c610fe6565b34801561063d57600080fd5b5061037c61064c3660046120dd565b610ff8565b34801561065d57600080fd5b5061067161066c36600461224d565b611005565b6040516103239190612268565b34801561068a57600080fd5b5061031961069936600461224d565b60166020526000908152604090205481565b3480156106b757600080fd5b506008546001600160a01b03166103d3565b3480156106d557600080fd5b5061037c6106e4366004611fde565b61110e565b3480156106f557600080fd5b506103a6611130565b61037c61070c3660046120dd565b61113f565b34801561071d57600080fd5b5061037c61072c3660046122a0565b6113ab565b34801561073d57600080fd5b5061031960175481565b61037c6107553660046122d7565b611417565b34801561076657600080fd5b5061037c610775366004612353565b611444565b34801561078657600080fd5b5061031960115481565b34801561079c57600080fd5b5061037c6107ab3660046120dd565b6114d8565b3480156107bc57600080fd5b506103a66107cb3660046120dd565b6114e5565b3480156107dc57600080fd5b50610319600e5481565b3480156107f257600080fd5b5061031961080136600461224d565b611657565b34801561081257600080fd5b5061037c6108213660046120dd565b611682565b34801561083257600080fd5b5061034c61084136600461237f565b61168f565b34801561085257600080fd5b5061037c6108613660046120dd565b6116bd565b34801561087257600080fd5b5061037c610881366004612204565b6116ca565b34801561089257600080fd5b5061037c6108a136600461224d565b6116de565b3480156108b257600080fd5b5061037c6108c1366004611fde565b611754565b3480156108d257600080fd5b506103196108e136600461224d565b60156020526000908152604090205481565b60006301ffc9a760e01b6001600160e01b03198316148061092457506380ac58cd60e01b6001600160e01b03198316145b8061093f5750635b5e139f60e01b6001600160e01b03198316145b92915050565b61094d611778565b6013805460ff1916911515919091179055565b6109686117d2565b60135460ff16156109c05760405162461bcd60e51b815260206004820152601c60248201527f464f583a206f6f707320636f6e7472616374206973207061757365640000000060448201526064015b60405180910390fd5b60135462010000900460ff16610a185760405162461bcd60e51b815260206004820152601f60248201527f464f583a2050726573616c65204861736e27742073746172746564207965740060448201526064016109b7565b610a8d828280806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506014546040516bffffffffffffffffffffffff193360601b16602082015290925060340190506040516020818303038152906040528051906020012061182b565b610ad95760405162461bcd60e51b815260206004820152601c60248201527f464f583a20596f7520617265206e6f742057686974656c69737465640000000060448201526064016109b7565b60125433600090815260166020526040902054610af79085906123bf565b1115610b455760405162461bcd60e51b815260206004820181905260248201527f464f583a204d6178204e4654205065722057616c6c657420657863656564656460448201526064016109b7565b601254831115610b975760405162461bcd60e51b815260206004820152601d60248201527f464f583a206d6178206d696e742070657220547820657863656564656400000060448201526064016109b7565b600f546001546000548591900360001901610bb291906123bf565b1115610c0a5760405162461bcd60e51b815260206004820152602160248201527f464f583a2057686974656c697374204d6178537570706c7920657863656564656044820152601960fa1b60648201526084016109b7565b82600d54610c1891906123d2565b341015610c615760405162461bcd60e51b8152602060048201526017602482015276464f583a20696e73756666696369656e742066756e647360481b60448201526064016109b7565b3360009081526016602052604081208054859290610c809084906123bf565b90915550610c9090503384611841565b610c9a6001600955565b505050565b606060028054610cae906123e9565b80601f0160208091040260200160405190810160405280929190818152602001828054610cda906123e9565b8015610d275780601f10610cfc57610100808354040283529160200191610d27565b820191906000526020600020905b815481529060010190602001808311610d0a57829003601f168201915b5050505050905090565b6000610d3c8261185b565b610d59576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600b8054610d82906123e9565b80601f0160208091040260200160405190810160405280929190818152602001828054610dae906123e9565b8015610dfb5780601f10610dd057610100808354040283529160200191610dfb565b820191906000526020600020905b815481529060010190602001808311610dde57829003601f168201915b505050505081565b6000610e0e82610f7f565b9050336001600160a01b03821614610e4757610e2a813361168f565b610e47576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b610eab611778565b600e55565b826001600160a01b0381163314610eca57610eca33611890565b610ed5848484611949565b50505050565b610ee3611778565b610eeb6117d2565b6040514790339082156108fc029083906000818181858888f19350505050158015610f1a573d6000803e3d6000fd5b5050610f266001600955565b565b826001600160a01b0381163314610f4257610f4233611890565b610ed5848484611ae2565b610f55611778565b600c55565b610f62611778565b600f55565b610f6f611778565b600a610f7b8282612469565b5050565b600061093f82611afd565b600a8054610d82906123e9565b60006001600160a01b038216610fc0576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610fee611778565b610f266000611b6c565b611000611778565b601455565b6060600080600061101585610f97565b905060008167ffffffffffffffff81111561103257611032612178565b60405190808252806020026020018201604052801561105b578160200160208202803683370190505b50905061108860408051608081018252600080825260208201819052918101829052606081019190915290565b60015b8386146111025761109b81611bbe565b915081604001516110fa5781516001600160a01b0316156110bb57815194505b876001600160a01b0316856001600160a01b0316036110fa57808387806001019850815181106110ed576110ed612529565b6020026020010181815250505b60010161108b565b50909695505050505050565b611116611778565b601380549115156101000261ff0019909216919091179055565b606060038054610cae906123e9565b6111476117d2565b60135460ff161561119a5760405162461bcd60e51b815260206004820152601c60248201527f464f583a206f6f707320636f6e7472616374206973207061757365640000000060448201526064016109b7565b60135462010000900460ff16156111f35760405162461bcd60e51b815260206004820152601c60248201527f464f583a2053616c65204861736e27742073746172746564207965740000000060448201526064016109b7565b6011548111156112515760405162461bcd60e51b8152602060048201526024808201527f464f583a206d6178206d696e7420616d6f756e742070657220747820657863656044820152631959195960e21b60648201526084016109b7565b600e54600154600054839190036000190161126c91906123bf565b11156112ac5760405162461bcd60e51b815260206004820152600f60248201526e1193d60e8815d94814dbdb191bdd5d608a1b60448201526064016109b7565b601154336000908152601560205260409020546112ca9083906123bf565b11156113185760405162461bcd60e51b815260206004820181905260248201527f464f583a204d6178204e4654205065722057616c6c657420657863656564656460448201526064016109b7565b80600c5461132691906123d2565b34101561136f5760405162461bcd60e51b8152602060048201526017602482015276464f583a20696e73756666696369656e742066756e647360481b60448201526064016109b7565b336000908152601560205260408120805483929061138e9084906123bf565b9091555061139e90503382611841565b6113a86001600955565b50565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b836001600160a01b03811633146114315761143133611890565b61143d85858585611c3d565b5050505050565b61144c611778565b6114546117d2565b6010548260175461146591906123bf565b11156114ac5760405162461bcd60e51b81526020600482015260166024820152751b585e08139195081b1a5b5a5d08195e18d95959195960521b60448201526064016109b7565b81601760008282546114be91906123bf565b909155506114ce90508183611841565b610f7b6001600955565b6114e0611778565b601255565b60606114f08261185b565b6115555760405162461bcd60e51b815260206004820152603060248201527f455243373231414d657461646174613a2055524920717565727920666f72206e60448201526f37b732bc34b9ba32b73a103a37b5b2b760811b60648201526084016109b7565b601354610100900460ff1615156000036115fb57600b8054611576906123e9565b80601f01602080910402602001604051908101604052809291908181526020018280546115a2906123e9565b80156115ef5780601f106115c4576101008083540402835291602001916115ef565b820191906000526020600020905b8154815290600101906020018083116115d257829003601f168201915b50505050509050919050565b6000611605611c81565b905060008151116116255760405180602001604052806000815250611650565b8061162f84611c90565b60405160200161164092919061253f565b6040516020818303038152906040525b9392505050565b6001600160a01b0381166000908152600560205260408082205467ffffffffffffffff911c1661093f565b61168a611778565b601155565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b6116c5611778565b600d55565b6116d2611778565b600b610f7b8282612469565b6116e6611778565b6001600160a01b03811661174b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016109b7565b6113a881611b6c565b61175c611778565b60138054911515620100000262ff000019909216919091179055565b6008546001600160a01b03163314610f265760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109b7565b6002600954036118245760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016109b7565b6002600955565b6000826118388584611cd4565b14949350505050565b610f7b828260405180602001604052806000815250611d21565b60008160011115801561186f575060005482105b801561093f575050600090815260046020526040902054600160e01b161590565b6daaeb6d7670e522a718067333cd4e3b156113a857604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa1580156118fd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611921919061257e565b6113a857604051633b79c77360e21b81526001600160a01b03821660048201526024016109b7565b600061195482611afd565b9050836001600160a01b0316816001600160a01b0316146119875760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b038816909114176119d4576119b7863361168f565b6119d457604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0385166119fb57604051633a954ecd60e21b815260040160405180910390fd5b8015611a0657600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b84169003611a9857600184016000818152600460205260408120549003611a96576000548114611a965760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b610c9a83838360405180602001604052806000815250611417565b60008180600111611b5357600054811015611b535760008181526004602052604081205490600160e01b82169003611b51575b80600003611650575060001901600081815260046020526040902054611b30565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60408051608081018252600080825260208201819052918101829052606081019190915260008281526004602052604090205461093f90604080516080810182526001600160a01b038316815260a083901c67ffffffffffffffff166020820152600160e01b831615159181019190915260e89190911c606082015290565b611c48848484610eb0565b6001600160a01b0383163b15610ed557611c6484848484611d87565b610ed5576040516368d2bf6b60e11b815260040160405180910390fd5b6060600a8054610cae906123e9565b606060a06040510180604052602081039150506000815280825b600183039250600a81066030018353600a900480611caa5750819003601f19909101908152919050565b600081815b8451811015611d1957611d0582868381518110611cf857611cf8612529565b6020026020010151611e73565b915080611d118161259b565b915050611cd9565b509392505050565b611d2b8383611e9f565b6001600160a01b0383163b15610c9a576000548281035b611d556000868380600101945086611d87565b611d72576040516368d2bf6b60e11b815260040160405180910390fd5b818110611d4257816000541461143d57600080fd5b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611dbc9033908990889088906004016125b4565b6020604051808303816000875af1925050508015611df7575060408051601f3d908101601f19168201909252611df4918101906125f1565b60015b611e55573d808015611e25576040519150601f19603f3d011682016040523d82523d6000602084013e611e2a565b606091505b508051600003611e4d576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6000818310611e8f576000828152602084905260409020611650565b5060009182526020526040902090565b6000805490829003611ec45760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b818114611f7357808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101611f3b565b5081600003611f9457604051622e076360e81b815260040160405180910390fd5b60005550505050565b6001600160e01b0319811681146113a857600080fd5b600060208284031215611fc557600080fd5b813561165081611f9d565b80151581146113a857600080fd5b600060208284031215611ff057600080fd5b813561165081611fd0565b60008060006040848603121561201057600080fd5b83359250602084013567ffffffffffffffff8082111561202f57600080fd5b818601915086601f83011261204357600080fd5b81358181111561205257600080fd5b8760208260051b850101111561206757600080fd5b6020830194508093505050509250925092565b60005b8381101561209557818101518382015260200161207d565b50506000910152565b600081518084526120b681602086016020860161207a565b601f01601f19169290920160200192915050565b602081526000611650602083018461209e565b6000602082840312156120ef57600080fd5b5035919050565b80356001600160a01b038116811461210d57600080fd5b919050565b6000806040838503121561212557600080fd5b61212e836120f6565b946020939093013593505050565b60008060006060848603121561215157600080fd5b61215a846120f6565b9250612168602085016120f6565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff808411156121a9576121a9612178565b604051601f8501601f19908116603f011681019082821181831017156121d1576121d1612178565b816040528093508581528686860111156121ea57600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561221657600080fd5b813567ffffffffffffffff81111561222d57600080fd5b8201601f8101841361223e57600080fd5b611e6b8482356020840161218e565b60006020828403121561225f57600080fd5b611650826120f6565b6020808252825182820181905260009190848201906040850190845b8181101561110257835183529284019291840191600101612284565b600080604083850312156122b357600080fd5b6122bc836120f6565b915060208301356122cc81611fd0565b809150509250929050565b600080600080608085870312156122ed57600080fd5b6122f6856120f6565b9350612304602086016120f6565b925060408501359150606085013567ffffffffffffffff81111561232757600080fd5b8501601f8101871361233857600080fd5b6123478782356020840161218e565b91505092959194509250565b6000806040838503121561236657600080fd5b82359150612376602084016120f6565b90509250929050565b6000806040838503121561239257600080fd5b61239b836120f6565b9150612376602084016120f6565b634e487b7160e01b600052601160045260246000fd5b8082018082111561093f5761093f6123a9565b808202811582820484141761093f5761093f6123a9565b600181811c908216806123fd57607f821691505b60208210810361241d57634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115610c9a57600081815260208120601f850160051c8101602086101561244a5750805b601f850160051c820191505b81811015611ada57828155600101612456565b815167ffffffffffffffff81111561248357612483612178565b6124978161249184546123e9565b84612423565b602080601f8311600181146124cc57600084156124b45750858301515b600019600386901b1c1916600185901b178555611ada565b600085815260208120601f198616915b828110156124fb578886015182559484019460019091019084016124dc565b50858210156125195787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052603260045260246000fd5b6000835161255181846020880161207a565b83519083019061256581836020880161207a565b64173539b7b760d91b9101908152600501949350505050565b60006020828403121561259057600080fd5b815161165081611fd0565b6000600182016125ad576125ad6123a9565b5060010190565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906125e79083018461209e565b9695505050505050565b60006020828403121561260357600080fd5b815161165081611f9d56fea26469706673582212205714a24d6fcc7477d29f22dba864726612888c3edca4e2a3261647cbbd1119f564736f6c63430008110033000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000041697066733a2f2f516d546867547461766d63504d78477961767a3366507755776d654e4a697a543551615a4663366b614d6e4756322f68696464656e2e6a736f6e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106102fe5760003560e01c80636c2d3c4f11610190578063bc63f02e116100dc578063e268e4d311610095578063f2c4ce1e1161006f578063f2c4ce1e14610866578063f2fde38b14610886578063fea0e058146108a6578063fff8d2fc146108c657600080fd5b8063e268e4d314610806578063e985e9c514610826578063f12f6d5d1461084657600080fd5b8063bc63f02e1461075a578063bd7a19981461077a578063bde0608a14610790578063c87b56dd146107b0578063d5abeb01146107d0578063dc33e681146107e657600080fd5b80638da5cb5b11610149578063a0712d6811610123578063a0712d68146106fe578063a22cb46514610711578063a96199f614610731578063b88d4fde1461074757600080fd5b80638da5cb5b146106ab578063940cd05b146106c957806395d89b41146106e957600080fd5b80636c2d3c4f146105e657806370a08231146105fc578063715018a61461061c5780637cb64759146106315780638462151c146106515780638b14966b1461067e57600080fd5b80632eb4a7ab1161024f57806351830227116102085780635c975abb116101e25780635c975abb146105815780636352211e1461059b5780636826bca8146105bb5780636c0360eb146105d157600080fd5b8063518302271461052257806355f804b3146105415780635a7adf7f1461056157600080fd5b80632eb4a7ab1461048f5780633ccfd60b146104a557806341f43434146104ad57806342842e0e146104cf57806344a0d68a146104e2578063458c4f9e1461050257600080fd5b8063081c8c44116102bc57806313faede61161029657806313faede614610429578063149835a01461043f57806318160ddd1461045f57806323b872dd1461047c57600080fd5b8063081c8c44146103eb578063095ea7b3146104005780630bddb6131461041357600080fd5b806277ec051461030357806301ffc9a71461032c57806302329a291461035c578063036e4cb51461037e57806306fdde0314610391578063081812fc146103b3575b600080fd5b34801561030f57600080fd5b5061031960125481565b6040519081526020015b60405180910390f35b34801561033857600080fd5b5061034c610347366004611fb3565b6108f3565b6040519015158152602001610323565b34801561036857600080fd5b5061037c610377366004611fde565b610945565b005b61037c61038c366004611ffb565b610960565b34801561039d57600080fd5b506103a6610c9f565b60405161032391906120ca565b3480156103bf57600080fd5b506103d36103ce3660046120dd565b610d31565b6040516001600160a01b039091168152602001610323565b3480156103f757600080fd5b506103a6610d75565b61037c61040e366004612112565b610e03565b34801561041f57600080fd5b50610319600f5481565b34801561043557600080fd5b50610319600c5481565b34801561044b57600080fd5b5061037c61045a3660046120dd565b610ea3565b34801561046b57600080fd5b506001546000540360001901610319565b61037c61048a36600461213c565b610eb0565b34801561049b57600080fd5b5061031960145481565b61037c610edb565b3480156104b957600080fd5b506103d36daaeb6d7670e522a718067333cd4e81565b61037c6104dd36600461213c565b610f28565b3480156104ee57600080fd5b5061037c6104fd3660046120dd565b610f4d565b34801561050e57600080fd5b5061037c61051d3660046120dd565b610f5a565b34801561052e57600080fd5b5060135461034c90610100900460ff1681565b34801561054d57600080fd5b5061037c61055c366004612204565b610f67565b34801561056d57600080fd5b5060135461034c9062010000900460ff1681565b34801561058d57600080fd5b5060135461034c9060ff1681565b3480156105a757600080fd5b506103d36105b63660046120dd565b610f7f565b3480156105c757600080fd5b5061031960105481565b3480156105dd57600080fd5b506103a6610f8a565b3480156105f257600080fd5b50610319600d5481565b34801561060857600080fd5b5061031961061736600461224d565b610f97565b34801561062857600080fd5b5061037c610fe6565b34801561063d57600080fd5b5061037c61064c3660046120dd565b610ff8565b34801561065d57600080fd5b5061067161066c36600461224d565b611005565b6040516103239190612268565b34801561068a57600080fd5b5061031961069936600461224d565b60166020526000908152604090205481565b3480156106b757600080fd5b506008546001600160a01b03166103d3565b3480156106d557600080fd5b5061037c6106e4366004611fde565b61110e565b3480156106f557600080fd5b506103a6611130565b61037c61070c3660046120dd565b61113f565b34801561071d57600080fd5b5061037c61072c3660046122a0565b6113ab565b34801561073d57600080fd5b5061031960175481565b61037c6107553660046122d7565b611417565b34801561076657600080fd5b5061037c610775366004612353565b611444565b34801561078657600080fd5b5061031960115481565b34801561079c57600080fd5b5061037c6107ab3660046120dd565b6114d8565b3480156107bc57600080fd5b506103a66107cb3660046120dd565b6114e5565b3480156107dc57600080fd5b50610319600e5481565b3480156107f257600080fd5b5061031961080136600461224d565b611657565b34801561081257600080fd5b5061037c6108213660046120dd565b611682565b34801561083257600080fd5b5061034c61084136600461237f565b61168f565b34801561085257600080fd5b5061037c6108613660046120dd565b6116bd565b34801561087257600080fd5b5061037c610881366004612204565b6116ca565b34801561089257600080fd5b5061037c6108a136600461224d565b6116de565b3480156108b257600080fd5b5061037c6108c1366004611fde565b611754565b3480156108d257600080fd5b506103196108e136600461224d565b60156020526000908152604090205481565b60006301ffc9a760e01b6001600160e01b03198316148061092457506380ac58cd60e01b6001600160e01b03198316145b8061093f5750635b5e139f60e01b6001600160e01b03198316145b92915050565b61094d611778565b6013805460ff1916911515919091179055565b6109686117d2565b60135460ff16156109c05760405162461bcd60e51b815260206004820152601c60248201527f464f583a206f6f707320636f6e7472616374206973207061757365640000000060448201526064015b60405180910390fd5b60135462010000900460ff16610a185760405162461bcd60e51b815260206004820152601f60248201527f464f583a2050726573616c65204861736e27742073746172746564207965740060448201526064016109b7565b610a8d828280806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506014546040516bffffffffffffffffffffffff193360601b16602082015290925060340190506040516020818303038152906040528051906020012061182b565b610ad95760405162461bcd60e51b815260206004820152601c60248201527f464f583a20596f7520617265206e6f742057686974656c69737465640000000060448201526064016109b7565b60125433600090815260166020526040902054610af79085906123bf565b1115610b455760405162461bcd60e51b815260206004820181905260248201527f464f583a204d6178204e4654205065722057616c6c657420657863656564656460448201526064016109b7565b601254831115610b975760405162461bcd60e51b815260206004820152601d60248201527f464f583a206d6178206d696e742070657220547820657863656564656400000060448201526064016109b7565b600f546001546000548591900360001901610bb291906123bf565b1115610c0a5760405162461bcd60e51b815260206004820152602160248201527f464f583a2057686974656c697374204d6178537570706c7920657863656564656044820152601960fa1b60648201526084016109b7565b82600d54610c1891906123d2565b341015610c615760405162461bcd60e51b8152602060048201526017602482015276464f583a20696e73756666696369656e742066756e647360481b60448201526064016109b7565b3360009081526016602052604081208054859290610c809084906123bf565b90915550610c9090503384611841565b610c9a6001600955565b505050565b606060028054610cae906123e9565b80601f0160208091040260200160405190810160405280929190818152602001828054610cda906123e9565b8015610d275780601f10610cfc57610100808354040283529160200191610d27565b820191906000526020600020905b815481529060010190602001808311610d0a57829003601f168201915b5050505050905090565b6000610d3c8261185b565b610d59576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600b8054610d82906123e9565b80601f0160208091040260200160405190810160405280929190818152602001828054610dae906123e9565b8015610dfb5780601f10610dd057610100808354040283529160200191610dfb565b820191906000526020600020905b815481529060010190602001808311610dde57829003601f168201915b505050505081565b6000610e0e82610f7f565b9050336001600160a01b03821614610e4757610e2a813361168f565b610e47576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b610eab611778565b600e55565b826001600160a01b0381163314610eca57610eca33611890565b610ed5848484611949565b50505050565b610ee3611778565b610eeb6117d2565b6040514790339082156108fc029083906000818181858888f19350505050158015610f1a573d6000803e3d6000fd5b5050610f266001600955565b565b826001600160a01b0381163314610f4257610f4233611890565b610ed5848484611ae2565b610f55611778565b600c55565b610f62611778565b600f55565b610f6f611778565b600a610f7b8282612469565b5050565b600061093f82611afd565b600a8054610d82906123e9565b60006001600160a01b038216610fc0576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610fee611778565b610f266000611b6c565b611000611778565b601455565b6060600080600061101585610f97565b905060008167ffffffffffffffff81111561103257611032612178565b60405190808252806020026020018201604052801561105b578160200160208202803683370190505b50905061108860408051608081018252600080825260208201819052918101829052606081019190915290565b60015b8386146111025761109b81611bbe565b915081604001516110fa5781516001600160a01b0316156110bb57815194505b876001600160a01b0316856001600160a01b0316036110fa57808387806001019850815181106110ed576110ed612529565b6020026020010181815250505b60010161108b565b50909695505050505050565b611116611778565b601380549115156101000261ff0019909216919091179055565b606060038054610cae906123e9565b6111476117d2565b60135460ff161561119a5760405162461bcd60e51b815260206004820152601c60248201527f464f583a206f6f707320636f6e7472616374206973207061757365640000000060448201526064016109b7565b60135462010000900460ff16156111f35760405162461bcd60e51b815260206004820152601c60248201527f464f583a2053616c65204861736e27742073746172746564207965740000000060448201526064016109b7565b6011548111156112515760405162461bcd60e51b8152602060048201526024808201527f464f583a206d6178206d696e7420616d6f756e742070657220747820657863656044820152631959195960e21b60648201526084016109b7565b600e54600154600054839190036000190161126c91906123bf565b11156112ac5760405162461bcd60e51b815260206004820152600f60248201526e1193d60e8815d94814dbdb191bdd5d608a1b60448201526064016109b7565b601154336000908152601560205260409020546112ca9083906123bf565b11156113185760405162461bcd60e51b815260206004820181905260248201527f464f583a204d6178204e4654205065722057616c6c657420657863656564656460448201526064016109b7565b80600c5461132691906123d2565b34101561136f5760405162461bcd60e51b8152602060048201526017602482015276464f583a20696e73756666696369656e742066756e647360481b60448201526064016109b7565b336000908152601560205260408120805483929061138e9084906123bf565b9091555061139e90503382611841565b6113a86001600955565b50565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b836001600160a01b03811633146114315761143133611890565b61143d85858585611c3d565b5050505050565b61144c611778565b6114546117d2565b6010548260175461146591906123bf565b11156114ac5760405162461bcd60e51b81526020600482015260166024820152751b585e08139195081b1a5b5a5d08195e18d95959195960521b60448201526064016109b7565b81601760008282546114be91906123bf565b909155506114ce90508183611841565b610f7b6001600955565b6114e0611778565b601255565b60606114f08261185b565b6115555760405162461bcd60e51b815260206004820152603060248201527f455243373231414d657461646174613a2055524920717565727920666f72206e60448201526f37b732bc34b9ba32b73a103a37b5b2b760811b60648201526084016109b7565b601354610100900460ff1615156000036115fb57600b8054611576906123e9565b80601f01602080910402602001604051908101604052809291908181526020018280546115a2906123e9565b80156115ef5780601f106115c4576101008083540402835291602001916115ef565b820191906000526020600020905b8154815290600101906020018083116115d257829003601f168201915b50505050509050919050565b6000611605611c81565b905060008151116116255760405180602001604052806000815250611650565b8061162f84611c90565b60405160200161164092919061253f565b6040516020818303038152906040525b9392505050565b6001600160a01b0381166000908152600560205260408082205467ffffffffffffffff911c1661093f565b61168a611778565b601155565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b6116c5611778565b600d55565b6116d2611778565b600b610f7b8282612469565b6116e6611778565b6001600160a01b03811661174b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016109b7565b6113a881611b6c565b61175c611778565b60138054911515620100000262ff000019909216919091179055565b6008546001600160a01b03163314610f265760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109b7565b6002600954036118245760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016109b7565b6002600955565b6000826118388584611cd4565b14949350505050565b610f7b828260405180602001604052806000815250611d21565b60008160011115801561186f575060005482105b801561093f575050600090815260046020526040902054600160e01b161590565b6daaeb6d7670e522a718067333cd4e3b156113a857604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa1580156118fd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611921919061257e565b6113a857604051633b79c77360e21b81526001600160a01b03821660048201526024016109b7565b600061195482611afd565b9050836001600160a01b0316816001600160a01b0316146119875760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b038816909114176119d4576119b7863361168f565b6119d457604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0385166119fb57604051633a954ecd60e21b815260040160405180910390fd5b8015611a0657600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b84169003611a9857600184016000818152600460205260408120549003611a96576000548114611a965760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b610c9a83838360405180602001604052806000815250611417565b60008180600111611b5357600054811015611b535760008181526004602052604081205490600160e01b82169003611b51575b80600003611650575060001901600081815260046020526040902054611b30565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60408051608081018252600080825260208201819052918101829052606081019190915260008281526004602052604090205461093f90604080516080810182526001600160a01b038316815260a083901c67ffffffffffffffff166020820152600160e01b831615159181019190915260e89190911c606082015290565b611c48848484610eb0565b6001600160a01b0383163b15610ed557611c6484848484611d87565b610ed5576040516368d2bf6b60e11b815260040160405180910390fd5b6060600a8054610cae906123e9565b606060a06040510180604052602081039150506000815280825b600183039250600a81066030018353600a900480611caa5750819003601f19909101908152919050565b600081815b8451811015611d1957611d0582868381518110611cf857611cf8612529565b6020026020010151611e73565b915080611d118161259b565b915050611cd9565b509392505050565b611d2b8383611e9f565b6001600160a01b0383163b15610c9a576000548281035b611d556000868380600101945086611d87565b611d72576040516368d2bf6b60e11b815260040160405180910390fd5b818110611d4257816000541461143d57600080fd5b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611dbc9033908990889088906004016125b4565b6020604051808303816000875af1925050508015611df7575060408051601f3d908101601f19168201909252611df4918101906125f1565b60015b611e55573d808015611e25576040519150601f19603f3d011682016040523d82523d6000602084013e611e2a565b606091505b508051600003611e4d576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6000818310611e8f576000828152602084905260409020611650565b5060009182526020526040902090565b6000805490829003611ec45760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b818114611f7357808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101611f3b565b5081600003611f9457604051622e076360e81b815260040160405180910390fd5b60005550505050565b6001600160e01b0319811681146113a857600080fd5b600060208284031215611fc557600080fd5b813561165081611f9d565b80151581146113a857600080fd5b600060208284031215611ff057600080fd5b813561165081611fd0565b60008060006040848603121561201057600080fd5b83359250602084013567ffffffffffffffff8082111561202f57600080fd5b818601915086601f83011261204357600080fd5b81358181111561205257600080fd5b8760208260051b850101111561206757600080fd5b6020830194508093505050509250925092565b60005b8381101561209557818101518382015260200161207d565b50506000910152565b600081518084526120b681602086016020860161207a565b601f01601f19169290920160200192915050565b602081526000611650602083018461209e565b6000602082840312156120ef57600080fd5b5035919050565b80356001600160a01b038116811461210d57600080fd5b919050565b6000806040838503121561212557600080fd5b61212e836120f6565b946020939093013593505050565b60008060006060848603121561215157600080fd5b61215a846120f6565b9250612168602085016120f6565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff808411156121a9576121a9612178565b604051601f8501601f19908116603f011681019082821181831017156121d1576121d1612178565b816040528093508581528686860111156121ea57600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561221657600080fd5b813567ffffffffffffffff81111561222d57600080fd5b8201601f8101841361223e57600080fd5b611e6b8482356020840161218e565b60006020828403121561225f57600080fd5b611650826120f6565b6020808252825182820181905260009190848201906040850190845b8181101561110257835183529284019291840191600101612284565b600080604083850312156122b357600080fd5b6122bc836120f6565b915060208301356122cc81611fd0565b809150509250929050565b600080600080608085870312156122ed57600080fd5b6122f6856120f6565b9350612304602086016120f6565b925060408501359150606085013567ffffffffffffffff81111561232757600080fd5b8501601f8101871361233857600080fd5b6123478782356020840161218e565b91505092959194509250565b6000806040838503121561236657600080fd5b82359150612376602084016120f6565b90509250929050565b6000806040838503121561239257600080fd5b61239b836120f6565b9150612376602084016120f6565b634e487b7160e01b600052601160045260246000fd5b8082018082111561093f5761093f6123a9565b808202811582820484141761093f5761093f6123a9565b600181811c908216806123fd57607f821691505b60208210810361241d57634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115610c9a57600081815260208120601f850160051c8101602086101561244a5750805b601f850160051c820191505b81811015611ada57828155600101612456565b815167ffffffffffffffff81111561248357612483612178565b6124978161249184546123e9565b84612423565b602080601f8311600181146124cc57600084156124b45750858301515b600019600386901b1c1916600185901b178555611ada565b600085815260208120601f198616915b828110156124fb578886015182559484019460019091019084016124dc565b50858210156125195787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052603260045260246000fd5b6000835161255181846020880161207a565b83519083019061256581836020880161207a565b64173539b7b760d91b9101908152600501949350505050565b60006020828403121561259057600080fd5b815161165081611fd0565b6000600182016125ad576125ad6123a9565b5060010190565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906125e79083018461209e565b9695505050505050565b60006020828403121561260357600080fd5b815161165081611f9d56fea26469706673582212205714a24d6fcc7477d29f22dba864726612888c3edca4e2a3261647cbbd1119f564736f6c63430008110033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000041697066733a2f2f516d546867547461766d63504d78477961767a3366507755776d654e4a697a543551615a4663366b614d6e4756322f68696464656e2e6a736f6e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _initBaseURI (string): ipfs://QmThgTtavmcPMxGyavz3fPwUwmeNJizT5QaZFc6kaMnGV2/hidden.json
Arg [1] : _notRevealedUri (string):
-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000041
Arg [3] : 697066733a2f2f516d546867547461766d63504d78477961767a336650775577
Arg [4] : 6d654e4a697a543551615a4663366b614d6e4756322f68696464656e2e6a736f
Arg [5] : 6e00000000000000000000000000000000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000000
Deployed Bytecode Sourcemap
73144:7211:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;73520:33;;;;;;;;;;;;;;;;;;;160:25:1;;;148:2;133:18;73520:33:0;;;;;;;;39964:639;;;;;;;;;;-1:-1:-1;39964:639:0;;;;;:::i;:::-;;:::i;:::-;;;747:14:1;;740:22;722:41;;710:2;695:18;39964:639:0;582:187:1;79309:73:0;;;;;;;;;;-1:-1:-1;79309:73:0;;;;;:::i;:::-;;:::i;:::-;;74967:817;;;;;;:::i;:::-;;:::i;40866:100::-;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;47357:218::-;;;;;;;;;;-1:-1:-1;47357:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;2936:32:1;;;2918:51;;2906:2;2891:18;47357:218:0;2772:203:1;73263:28:0;;;;;;;;;;;;;:::i;46790:408::-;;;;;;:::i;:::-;;:::i;73412:30::-;;;;;;;;;;;;;;;;73296:34;;;;;;;;;;;;;;;;78693:94;;;;;;;;;;-1:-1:-1;78693:94:0;;;;;:::i;:::-;;:::i;36617:323::-;;;;;;;;;;-1:-1:-1;74251:1:0;36891:12;36678:7;36875:13;:28;-1:-1:-1;;36875:46:0;36617:323;;79802:165;;;;;;:::i;:::-;;:::i;73653:25::-;;;;;;;;;;;;;;;;79598:167;;;:::i;2962:143::-;;;;;;;;;;;;3062:42;2962:143;;79973:173;;;;;;:::i;:::-;;:::i;78396:80::-;;;;;;;;;;-1:-1:-1;78396:80:0;;;;;:::i;:::-;;:::i;78851:92::-;;;;;;;;;;-1:-1:-1;78851:92:0;;;;;:::i;:::-;;:::i;73589:28::-;;;;;;;;;;-1:-1:-1;73589:28:0;;;;;;;;;;;78977:98;;;;;;;;;;-1:-1:-1;78977:98:0;;;;;:::i;:::-;;:::i;73622:26::-;;;;;;;;;;-1:-1:-1;73622:26:0;;;;;;;;;;;73558;;;;;;;;;;-1:-1:-1;73558:26:0;;;;;;;;42259:152;;;;;;;;;;-1:-1:-1;42259:152:0;;;;;:::i;:::-;;:::i;73447:32::-;;;;;;;;;;;;;;;;73237:21;;;;;;;;;;;;;:::i;73335:36::-;;;;;;;;;;;;;;;;37801:233;;;;;;;;;;-1:-1:-1;37801:233:0;;;;;:::i;:::-;;:::i;20743:103::-;;;;;;;;;;;;;:::i;77926:106::-;;;;;;;;;;-1:-1:-1;77926:106:0;;;;;:::i;:::-;;:::i;76878:881::-;;;;;;;;;;-1:-1:-1;76878:881:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;73740:57::-;;;;;;;;;;-1:-1:-1;73740:57:0;;;;;:::i;:::-;;;;;;;;;;;;;;20095:87;;;;;;;;;;-1:-1:-1;20168:6:0;;-1:-1:-1;;;;;20168:6:0;20095:87;;77781:78;;;;;;;;;;-1:-1:-1;77781:78:0;;;;;:::i;:::-;;:::i;41042:104::-;;;;;;;;;;;;;:::i;74304:618::-;;;;;;:::i;:::-;;:::i;47915:234::-;;;;;;;;;;-1:-1:-1;47915:234:0;;;;;:::i;:::-;;:::i;73802:25::-;;;;;;;;;;;;;;;;80152:198;;;;;;:::i;:::-;;:::i;75839:258::-;;;;;;;;;;-1:-1:-1;75839:258:0;;;;;:::i;:::-;;:::i;73484:31::-;;;;;;;;;;;;;;;;78231:96;;;;;;;;;;-1:-1:-1;78231:96:0;;;;;:::i;:::-;;:::i;76149:492::-;;;;;;;;;;-1:-1:-1;76149:492:0;;;;;:::i;:::-;;:::i;73376:31::-;;;;;;;;;;;;;;;;76706:107;;;;;;;;;;-1:-1:-1;76706:107:0;;;;;:::i;:::-;;:::i;78083:92::-;;;;;;;;;;-1:-1:-1;78083:92:0;;;;;:::i;:::-;;:::i;48306:164::-;;;;;;;;;;-1:-1:-1;48306:164:0;;;;;:::i;:::-;;:::i;78550:88::-;;;;;;;;;;-1:-1:-1;78550:88:0;;;;;:::i;:::-;;:::i;79109:120::-;;;;;;;;;;-1:-1:-1;79109:120:0;;;;;:::i;:::-;;:::i;21001:201::-;;;;;;;;;;-1:-1:-1;21001:201:0;;;;;:::i;:::-;;:::i;79457:90::-;;;;;;;;;;-1:-1:-1;79457:90:0;;;;;:::i;:::-;;:::i;73683:52::-;;;;;;;;;;-1:-1:-1;73683:52:0;;;;;:::i;:::-;;;;;;;;;;;;;;39964:639;40049:4;-1:-1:-1;;;;;;;;;40373:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;40450:25:0;;;40373:102;:179;;;-1:-1:-1;;;;;;;;;;40527:25:0;;;40373:179;40353:199;39964:639;-1:-1:-1;;39964:639:0:o;79309:73::-;19981:13;:11;:13::i;:::-;79361:6:::1;:15:::0;;-1:-1:-1;;79361:15:0::1;::::0;::::1;;::::0;;;::::1;::::0;;79309:73::o;74967:817::-;17366:21;:19;:21::i;:::-;75080:6:::1;::::0;::::1;;75079:7;75071:48;;;::::0;-1:-1:-1;;;75071:48:0;;8127:2:1;75071:48:0::1;::::0;::::1;8109:21:1::0;8166:2;8146:18;;;8139:30;8205;8185:18;;;8178:58;8253:18;;75071:48:0::1;;;;;;;;;75134:7;::::0;;;::::1;;;75126:51;;;::::0;-1:-1:-1;;;75126:51:0;;8484:2:1;75126:51:0::1;::::0;::::1;8466:21:1::0;8523:2;8503:18;;;8496:30;8562:33;8542:18;;;8535:61;8613:18;;75126:51:0::1;8282:355:1::0;75126:51:0::1;75192:84;75211:11;;75192:84;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;;75224:10:0::1;::::0;75246:28:::1;::::0;-1:-1:-1;;75263:10:0::1;8791:2:1::0;8787:15;8783:53;75246:28:0::1;::::0;::::1;8771:66:1::0;75224:10:0;;-1:-1:-1;8853:12:1;;;-1:-1:-1;75246:28:0::1;;;;;;;;;;;;75236:39;;;;;;75192:18;:84::i;:::-;75184:125;;;::::0;-1:-1:-1;;;75184:125:0;;9078:2:1;75184:125:0::1;::::0;::::1;9060:21:1::0;9117:2;9097:18;;;9090:30;9156;9136:18;;;9129:58;9204:18;;75184:125:0::1;8876:352:1::0;75184:125:0::1;75379:14;::::0;71123:10;75324:42:::1;::::0;;;:21:::1;:42;::::0;;;;;:51:::1;::::0;75369:6;;75324:51:::1;:::i;:::-;:69;;75316:114;;;::::0;-1:-1:-1;;;75316:114:0;;9697:2:1;75316:114:0::1;::::0;::::1;9679:21:1::0;;;9716:18;;;9709:30;9775:34;9755:18;;;9748:62;9827:18;;75316:114:0::1;9495:356:1::0;75316:114:0::1;75455:14;;75445:6;:24;;75437:66;;;::::0;-1:-1:-1;;;75437:66:0;;10058:2:1;75437:66:0::1;::::0;::::1;10040:21:1::0;10097:2;10077:18;;;10070:30;10136:31;10116:18;;;10109:59;10185:18;;75437:66:0::1;9856:353:1::0;75437:66:0::1;75544:8;::::0;74251:1;36891:12;36678:7;36875:13;75534:6;;36875:28;;-1:-1:-1;;36875:46:0;75518:22:::1;;;;:::i;:::-;:34;;75510:80;;;::::0;-1:-1:-1;;;75510:80:0;;10416:2:1;75510:80:0::1;::::0;::::1;10398:21:1::0;10455:2;10435:18;;;10428:30;10494:34;10474:18;;;10467:62;-1:-1:-1;;;10545:18:1;;;10538:31;10586:19;;75510:80:0::1;10214:397:1::0;75510:80:0::1;75627:6;75618;;:15;;;;:::i;:::-;75605:9;:28;;75597:64;;;::::0;-1:-1:-1;;;75597:64:0;;10991:2:1;75597:64:0::1;::::0;::::1;10973:21:1::0;11030:2;11010:18;;;11003:30;-1:-1:-1;;;11049:18:1;;;11042:53;11112:18;;75597:64:0::1;10789:347:1::0;75597:64:0::1;71123:10:::0;75673:42:::1;::::0;;;:21:::1;:42;::::0;;;;:52;;75719:6;;75673:42;:52:::1;::::0;75719:6;;75673:52:::1;:::i;:::-;::::0;;;-1:-1:-1;75734:38:0::1;::::0;-1:-1:-1;71123:10:0;75765:6:::1;75734:9;:38::i;:::-;17410:20:::0;16804:1;17930:7;:22;17747:213;17410:20;74967:817;;;:::o;40866:100::-;40920:13;40953:5;40946:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40866:100;:::o;47357:218::-;47433:7;47458:16;47466:7;47458;:16::i;:::-;47453:64;;47483:34;;-1:-1:-1;;;47483:34:0;;;;;;;;;;;47453:64;-1:-1:-1;47537:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;47537:30:0;;47357:218::o;73263:28::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;46790:408::-;46879:13;46895:16;46903:7;46895;:16::i;:::-;46879:32;-1:-1:-1;71123:10:0;-1:-1:-1;;;;;46928:28:0;;;46924:175;;46976:44;46993:5;71123:10;48306:164;:::i;46976:44::-;46971:128;;47048:35;;-1:-1:-1;;;47048:35:0;;;;;;;;;;;46971:128;47111:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;47111:35:0;-1:-1:-1;;;;;47111:35:0;;;;;;;;;47162:28;;47111:24;;47162:28;;;;;;;46868:330;46790:408;;:::o;78693:94::-;19981:13;:11;:13::i;:::-;78759:9:::1;:22:::0;78693:94::o;79802:165::-;79911:4;-1:-1:-1;;;;;4303:18:0;;4311:10;4303:18;4299:83;;4338:32;4359:10;4338:20;:32::i;:::-;79924:37:::1;79943:4;79949:2;79953:7;79924:18;:37::i;:::-;79802:165:::0;;;;:::o;79598:167::-;19981:13;:11;:13::i;:::-;17366:21:::1;:19;:21::i;:::-;79713:46:::2;::::0;79683:21:::2;::::0;71123:10;;79713:46;::::2;;;::::0;79683:21;;79713:46:::2;::::0;;;79683:21;71123:10;79713:46;::::2;;;;;;;;;;;;;::::0;::::2;;;;;;79656:109;17410:20:::1;16804:1:::0;17930:7;:22;17747:213;17410:20:::1;79598:167::o:0;79973:173::-;80086:4;-1:-1:-1;;;;;4303:18:0;;4311:10;4303:18;4299:83;;4338:32;4359:10;4338:20;:32::i;:::-;80099:41:::1;80122:4;80128:2;80132:7;80099:22;:41::i;78396:80::-:0;19981:13;:11;:13::i;:::-;78455:4:::1;:15:::0;78396:80::o;78851:92::-;19981:13;:11;:13::i;:::-;78916:8:::1;:21:::0;78851:92::o;78977:98::-;19981:13;:11;:13::i;:::-;79048:7:::1;:21;79058:11:::0;79048:7;:21:::1;:::i;:::-;;78977:98:::0;:::o;42259:152::-;42331:7;42374:27;42393:7;42374:18;:27::i;73237:21::-;;;;;;;:::i;37801:233::-;37873:7;-1:-1:-1;;;;;37897:19:0;;37893:60;;37925:28;;-1:-1:-1;;;37925:28:0;;;;;;;;;;;37893:60;-1:-1:-1;;;;;;37971:25:0;;;;;:18;:25;;;;;;31960:13;37971:55;;37801:233::o;20743:103::-;19981:13;:11;:13::i;:::-;20808:30:::1;20835:1;20808:18;:30::i;77926:106::-:0;19981:13;:11;:13::i;:::-;78000:10:::1;:24:::0;77926:106::o;76878:881::-;76937:16;76991:19;77025:25;77065:22;77090:16;77100:5;77090:9;:16::i;:::-;77065:41;;77121:25;77163:14;77149:29;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;77149:29:0;;77121:57;;77193:31;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;77193:31:0;74251:1;77239:472;77288:14;77273:11;:29;77239:472;;77340:15;77353:1;77340:12;:15::i;:::-;77328:27;;77378:9;:16;;;77419:8;77374:73;77469:14;;-1:-1:-1;;;;;77469:28:0;;77465:111;;77542:14;;;-1:-1:-1;77465:111:0;77619:5;-1:-1:-1;;;;;77598:26:0;:17;-1:-1:-1;;;;;77598:26:0;;77594:102;;77675:1;77649:8;77658:13;;;;;;77649:23;;;;;;;;:::i;:::-;;;;;;:27;;;;;77594:102;77304:3;;77239:472;;;-1:-1:-1;77732:8:0;;76878:881;-1:-1:-1;;;;;;76878:881:0:o;77781:78::-;19981:13;:11;:13::i;:::-;77836:8:::1;:17:::0;;;::::1;;;;-1:-1:-1::0;;77836:17:0;;::::1;::::0;;;::::1;::::0;;77781:78::o;41042:104::-;41098:13;41131:7;41124:14;;;;;:::i;74304:618::-;17366:21;:19;:21::i;:::-;74378:6:::1;::::0;::::1;;74377:7;74369:48;;;::::0;-1:-1:-1;;;74369:48:0;;8127:2:1;74369:48:0::1;::::0;::::1;8109:21:1::0;8166:2;8146:18;;;8139:30;8205;8185:18;;;8178:58;8253:18;;74369:48:0::1;7925:352:1::0;74369:48:0::1;74433:7;::::0;;;::::1;;;74432:8;74424:49;;;::::0;-1:-1:-1;;;74424:49:0;;14064:2:1;74424:49:0::1;::::0;::::1;14046:21:1::0;14103:2;14083:18;;;14076:30;14142;14122:18;;;14115:58;14190:18;;74424:49:0::1;13862:352:1::0;74424:49:0::1;74498:12;;74488:6;:22;;74480:71;;;::::0;-1:-1:-1;;;74480:71:0;;14421:2:1;74480:71:0::1;::::0;::::1;14403:21:1::0;14460:2;14440:18;;;14433:30;14499:34;14479:18;;;14472:62;-1:-1:-1;;;14550:18:1;;;14543:34;14594:19;;74480:71:0::1;14219:400:1::0;74480:71:0::1;74592:9;::::0;74251:1;36891:12;36678:7;36875:13;74582:6;;36875:28;;-1:-1:-1;;36875:46:0;74566:22:::1;;;;:::i;:::-;:35;;74558:63;;;::::0;-1:-1:-1;;;74558:63:0;;14826:2:1;74558:63:0::1;::::0;::::1;14808:21:1::0;14865:2;14845:18;;;14838:30;-1:-1:-1;;;14884:18:1;;;14877:45;14939:18;;74558:63:0::1;14624:339:1::0;74558:63:0::1;74686:12;::::0;71123:10;74636:37:::1;::::0;;;:16:::1;:37;::::0;;;;;:46:::1;::::0;74676:6;;74636:46:::1;:::i;:::-;:62;;74628:107;;;::::0;-1:-1:-1;;;74628:107:0;;9697:2:1;74628:107:0::1;::::0;::::1;9679:21:1::0;;;9716:18;;;9709:30;9775:34;9755:18;;;9748:62;9827:18;;74628:107:0::1;9495:356:1::0;74628:107:0::1;74770:6;74763:4;;:13;;;;:::i;:::-;74750:9;:26;;74742:62;;;::::0;-1:-1:-1;;;74742:62:0;;10991:2:1;74742:62:0::1;::::0;::::1;10973:21:1::0;11030:2;11010:18;;;11003:30;-1:-1:-1;;;11049:18:1;;;11042:53;11112:18;;74742:62:0::1;10789:347:1::0;74742:62:0::1;71123:10:::0;74816:37:::1;::::0;;;:16:::1;:37;::::0;;;;:47;;74857:6;;74816:37;:47:::1;::::0;74857:6;;74816:47:::1;:::i;:::-;::::0;;;-1:-1:-1;74872:38:0::1;::::0;-1:-1:-1;71123:10:0;74903:6:::1;74872:9;:38::i;:::-;17410:20:::0;16804:1;17930:7;:22;17747:213;17410:20;74304:618;:::o;47915:234::-;71123:10;48010:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;48010:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;48010:60:0;;;;;;;;;;48086:55;;722:41:1;;;48010:49:0;;71123:10;48086:55;;695:18:1;48086:55:0;;;;;;;47915:234;;:::o;80152:198::-;80284:4;-1:-1:-1;;;;;4303:18:0;;4311:10;4303:18;4299:83;;4338:32;4359:10;4338:20;:32::i;:::-;80297:47:::1;80320:4;80326:2;80330:7;80339:4;80297:22;:47::i;:::-;80152:198:::0;;;;;:::o;75839:258::-;19981:13;:11;:13::i;:::-;17366:21:::1;:19;:21::i;:::-;75971:11:::2;;75956;75943:10;;:24;;;;:::i;:::-;:39;;75935:74;;;::::0;-1:-1:-1;;;75935:74:0;;15170:2:1;75935:74:0::2;::::0;::::2;15152:21:1::0;15209:2;15189:18;;;15182:30;-1:-1:-1;;;15228:18:1;;;15221:52;15290:18;;75935:74:0::2;14968:346:1::0;75935:74:0::2;76036:11;76022:10;;:25;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;76056:35:0::2;::::0;-1:-1:-1;76066:11:0;76079;76056:9:::2;:35::i;:::-;17410:20:::1;16804:1:::0;17930:7;:22;17747:213;78231:96;19981:13;:11;:13::i;:::-;78298:14:::1;:23:::0;78231:96::o;76149:492::-;76247:13;76288:16;76296:7;76288;:16::i;:::-;76272:98;;;;-1:-1:-1;;;76272:98:0;;15521:2:1;76272:98:0;;;15503:21:1;15560:2;15540:18;;;15533:30;15599:34;15579:18;;;15572:62;-1:-1:-1;;;15650:18:1;;;15643:46;15706:19;;76272:98:0;15319:412:1;76272:98:0;76386:8;;;;;;;:17;;76398:5;76386:17;76383:62;;76423:14;76416:21;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;76149:492;;;:::o;76383:62::-;76453:28;76484:10;:8;:10::i;:::-;76453:41;;76539:1;76514:14;76508:28;:32;:127;;;;;;;;;;;;;;;;;76576:14;76592:18;76602:7;76592:9;:18::i;:::-;76559:61;;;;;;;;;:::i;:::-;;;;;;;;;;;;;76508:127;76501:134;76149:492;-1:-1:-1;;;76149:492:0:o;76706:107::-;-1:-1:-1;;;;;38205:25:0;;76764:7;38205:25;;;:18;:25;;32098:2;38205:25;;;;31960:13;38205:50;;38204:82;76787:20;38116:178;78083:92;19981:13;:11;:13::i;:::-;78148:12:::1;:21:::0;78083:92::o;48306:164::-;-1:-1:-1;;;;;48427:25:0;;;48403:4;48427:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;48306:164::o;78550:88::-;19981:13;:11;:13::i;:::-;78613:6:::1;:19:::0;78550:88::o;79109:120::-;19981:13;:11;:13::i;:::-;79191:14:::1;:32;79208:15:::0;79191:14;:32:::1;:::i;21001:201::-:0;19981:13;:11;:13::i;:::-;-1:-1:-1;;;;;21090:22:0;::::1;21082:73;;;::::0;-1:-1:-1;;;21082:73:0;;16606:2:1;21082:73:0::1;::::0;::::1;16588:21:1::0;16645:2;16625:18;;;16618:30;16684:34;16664:18;;;16657:62;-1:-1:-1;;;16735:18:1;;;16728:36;16781:19;;21082:73:0::1;16404:402:1::0;21082:73:0::1;21166:28;21185:8;21166:18;:28::i;79457:90::-:0;19981:13;:11;:13::i;:::-;79523:7:::1;:16:::0;;;::::1;;::::0;::::1;-1:-1:-1::0;;79523:16:0;;::::1;::::0;;;::::1;::::0;;79457:90::o;20260:132::-;20168:6;;-1:-1:-1;;;;;20168:6:0;71123:10;20324:23;20316:68;;;;-1:-1:-1;;;20316:68:0;;17013:2:1;20316:68:0;;;16995:21:1;;;17032:18;;;17025:30;17091:34;17071:18;;;17064:62;17143:18;;20316:68:0;16811:356:1;17446:293:0;16848:1;17580:7;;:19;17572:63;;;;-1:-1:-1;;;17572:63:0;;17374:2:1;17572:63:0;;;17356:21:1;17413:2;17393:18;;;17386:30;17452:33;17432:18;;;17425:61;17503:18;;17572:63:0;17172:355:1;17572:63:0;16848:1;17713:7;:18;17446:293::o;6682:190::-;6807:4;6860;6831:25;6844:5;6851:4;6831:12;:25::i;:::-;:33;;6682:190;-1:-1:-1;;;;6682:190:0:o;64868:112::-;64945:27;64955:2;64959:8;64945:27;;;;;;;;;;;;:9;:27::i;48728:282::-;48793:4;48849:7;74251:1;48830:26;;:66;;;;;48883:13;;48873:7;:23;48830:66;:153;;;;-1:-1:-1;;48934:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;48934:44:0;:49;;48728:282::o;4541:419::-;3062:42;4732:45;:49;4728:225;;4803:67;;-1:-1:-1;;;4803:67:0;;4854:4;4803:67;;;17744:34:1;-1:-1:-1;;;;;17814:15:1;;17794:18;;;17787:43;3062:42:0;;4803;;17679:18:1;;4803:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;4798:144;;4898:28;;-1:-1:-1;;;4898:28:0;;-1:-1:-1;;;;;2936:32:1;;4898:28:0;;;2918:51:1;2891:18;;4898:28:0;2772:203:1;50996:2825:0;51138:27;51168;51187:7;51168:18;:27::i;:::-;51138:57;;51253:4;-1:-1:-1;;;;;51212:45:0;51228:19;-1:-1:-1;;;;;51212:45:0;;51208:86;;51266:28;;-1:-1:-1;;;51266:28:0;;;;;;;;;;;51208:86;51308:27;50104:24;;;:15;:24;;;;;50332:26;;71123:10;49729:30;;;-1:-1:-1;;;;;49422:28:0;;49707:20;;;49704:56;51494:180;;51587:43;51604:4;71123:10;48306:164;:::i;51587:43::-;51582:92;;51639:35;;-1:-1:-1;;;51639:35:0;;;;;;;;;;;51582:92;-1:-1:-1;;;;;51691:16:0;;51687:52;;51716:23;;-1:-1:-1;;;51716:23:0;;;;;;;;;;;51687:52;51888:15;51885:160;;;52028:1;52007:19;52000:30;51885:160;-1:-1:-1;;;;;52425:24:0;;;;;;;:18;:24;;;;;;52423:26;;-1:-1:-1;;52423:26:0;;;52494:22;;;;;;;;;52492:24;;-1:-1:-1;52492:24:0;;;45648:11;45623:23;45619:41;45606:63;-1:-1:-1;;;45606:63:0;52787:26;;;;:17;:26;;;;;:175;;;;-1:-1:-1;;;53082:47:0;;:52;;53078:627;;53187:1;53177:11;;53155:19;53310:30;;;:17;:30;;;;;;:35;;53306:384;;53448:13;;53433:11;:28;53429:242;;53595:30;;;;:17;:30;;;;;:52;;;53429:242;53136:569;53078:627;53752:7;53748:2;-1:-1:-1;;;;;53733:27:0;53742:4;-1:-1:-1;;;;;53733:27:0;;;;;;;;;;;53771:42;51127:2694;;;50996:2825;;;:::o;53917:193::-;54063:39;54080:4;54086:2;54090:7;54063:39;;;;;;;;;;;;:16;:39::i;43414:1275::-;43481:7;43516;;74251:1;43565:23;43561:1061;;43618:13;;43611:4;:20;43607:1015;;;43656:14;43673:23;;;:17;:23;;;;;;;-1:-1:-1;;;43762:24:0;;:29;;43758:845;;44427:113;44434:6;44444:1;44434:11;44427:113;;-1:-1:-1;;;44505:6:0;44487:25;;;;:17;:25;;;;;;44427:113;;43758:845;43633:989;43607:1015;44650:31;;-1:-1:-1;;;44650:31:0;;;;;;;;;;;21362:191;21455:6;;;-1:-1:-1;;;;;21472:17:0;;;-1:-1:-1;;;;;;21472:17:0;;;;;;;21505:40;;21455:6;;;21472:17;21455:6;;21505:40;;21436:16;;21505:40;21425:128;21362:191;:::o;42862:161::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42990:24:0;;;;:17;:24;;;;;;42971:44;;-1:-1:-1;;;;;;;;;;;;;44898:41:0;;;;32619:3;44984:33;;;44950:68;;-1:-1:-1;;;44950:68:0;-1:-1:-1;;;45048:24:0;;:29;;-1:-1:-1;;;45029:48:0;;;;33140:3;45117:28;;;;-1:-1:-1;;;45088:58:0;-1:-1:-1;44788:366:0;54708:407;54883:31;54896:4;54902:2;54906:7;54883:12;:31::i;:::-;-1:-1:-1;;;;;54929:14:0;;;:19;54925:183;;54968:56;54999:4;55005:2;55009:7;55018:5;54968:30;:56::i;:::-;54963:145;;55052:40;;-1:-1:-1;;;55052:40:0;;;;;;;;;;;74049:102;74109:13;74138:7;74131:14;;;;;:::i;71243:1745::-;71308:17;71742:4;71735;71729:11;71725:22;71834:1;71828:4;71821:15;71909:4;71906:1;71902:12;71895:19;;;71991:1;71986:3;71979:14;72095:3;72334:5;72316:428;72382:1;72377:3;72373:11;72366:18;;72553:2;72547:4;72543:13;72539:2;72535:22;72530:3;72522:36;72647:2;72637:13;;72704:25;72316:428;72704:25;-1:-1:-1;72774:13:0;;;-1:-1:-1;;72889:14:0;;;72951:19;;;72889:14;71243:1745;-1:-1:-1;71243:1745:0:o;7549:296::-;7632:7;7675:4;7632:7;7690:118;7714:5;:12;7710:1;:16;7690:118;;;7763:33;7773:12;7787:5;7793:1;7787:8;;;;;;;;:::i;:::-;;;;;;;7763:9;:33::i;:::-;7748:48;-1:-1:-1;7728:3:0;;;;:::i;:::-;;;;7690:118;;;-1:-1:-1;7825:12:0;7549:296;-1:-1:-1;;;7549:296:0:o;64095:689::-;64226:19;64232:2;64236:8;64226:5;:19::i;:::-;-1:-1:-1;;;;;64287:14:0;;;:19;64283:483;;64327:11;64341:13;64389:14;;;64422:233;64453:62;64492:1;64496:2;64500:7;;;;;;64509:5;64453:30;:62::i;:::-;64448:167;;64551:40;;-1:-1:-1;;;64551:40:0;;;;;;;;;;;64448:167;64650:3;64642:5;:11;64422:233;;64737:3;64720:13;;:20;64716:34;;64742:8;;;57199:716;57383:88;;-1:-1:-1;;;57383:88:0;;57362:4;;-1:-1:-1;;;;;57383:45:0;;;;;:88;;71123:10;;57450:4;;57456:7;;57465:5;;57383:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;57383:88:0;;;;;;;;-1:-1:-1;;57383:88:0;;;;;;;;;;;;:::i;:::-;;;57379:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57666:6;:13;57683:1;57666:18;57662:235;;57712:40;;-1:-1:-1;;;57712:40:0;;;;;;;;;;;57662:235;57855:6;57849:13;57840:6;57836:2;57832:15;57825:38;57379:529;-1:-1:-1;;;;;;57542:64:0;-1:-1:-1;;;57542:64:0;;-1:-1:-1;57379:529:0;57199:716;;;;;;:::o;14589:149::-;14652:7;14683:1;14679;:5;:51;;14814:13;14908:15;;;14944:4;14937:15;;;14991:4;14975:21;;14679:51;;;-1:-1:-1;14814:13:0;14908:15;;;14944:4;14937:15;14991:4;14975:21;;;14589:149::o;58377:2966::-;58450:20;58473:13;;;58501;;;58497:44;;58523:18;;-1:-1:-1;;;58523:18:0;;;;;;;;;;;58497:44;-1:-1:-1;;;;;59029:22:0;;;;;;:18;:22;;;;32098:2;59029:22;;;:71;;59067:32;59055:45;;59029:71;;;59343:31;;;:17;:31;;;;;-1:-1:-1;46079:15:0;;46053:24;46049:46;45648:11;45623:23;45619:41;45616:52;45606:63;;59343:173;;59578:23;;;;59343:31;;59029:22;;60343:25;59029:22;;60196:335;60857:1;60843:12;60839:20;60797:346;60898:3;60889:7;60886:16;60797:346;;61116:7;61106:8;61103:1;61076:25;61073:1;61070;61065:59;60951:1;60938:15;60797:346;;;60801:77;61176:8;61188:1;61176:13;61172:45;;61198:19;;-1:-1:-1;;;61198:19:0;;;;;;;;;;;61172:45;61234:13;:19;-1:-1:-1;74967:817:0;;;:::o;196:131:1:-;-1:-1:-1;;;;;;270:32:1;;260:43;;250:71;;317:1;314;307:12;332:245;390:6;443:2;431:9;422:7;418:23;414:32;411:52;;;459:1;456;449:12;411:52;498:9;485:23;517:30;541:5;517:30;:::i;774:118::-;860:5;853:13;846:21;839:5;836:32;826:60;;882:1;879;872:12;897:241;953:6;1006:2;994:9;985:7;981:23;977:32;974:52;;;1022:1;1019;1012:12;974:52;1061:9;1048:23;1080:28;1102:5;1080:28;:::i;1143:683::-;1238:6;1246;1254;1307:2;1295:9;1286:7;1282:23;1278:32;1275:52;;;1323:1;1320;1313:12;1275:52;1359:9;1346:23;1336:33;;1420:2;1409:9;1405:18;1392:32;1443:18;1484:2;1476:6;1473:14;1470:34;;;1500:1;1497;1490:12;1470:34;1538:6;1527:9;1523:22;1513:32;;1583:7;1576:4;1572:2;1568:13;1564:27;1554:55;;1605:1;1602;1595:12;1554:55;1645:2;1632:16;1671:2;1663:6;1660:14;1657:34;;;1687:1;1684;1677:12;1657:34;1740:7;1735:2;1725:6;1722:1;1718:14;1714:2;1710:23;1706:32;1703:45;1700:65;;;1761:1;1758;1751:12;1700:65;1792:2;1788;1784:11;1774:21;;1814:6;1804:16;;;;;1143:683;;;;;:::o;1831:250::-;1916:1;1926:113;1940:6;1937:1;1934:13;1926:113;;;2016:11;;;2010:18;1997:11;;;1990:39;1962:2;1955:10;1926:113;;;-1:-1:-1;;2073:1:1;2055:16;;2048:27;1831:250::o;2086:271::-;2128:3;2166:5;2160:12;2193:6;2188:3;2181:19;2209:76;2278:6;2271:4;2266:3;2262:14;2255:4;2248:5;2244:16;2209:76;:::i;:::-;2339:2;2318:15;-1:-1:-1;;2314:29:1;2305:39;;;;2346:4;2301:50;;2086:271;-1:-1:-1;;2086:271:1:o;2362:220::-;2511:2;2500:9;2493:21;2474:4;2531:45;2572:2;2561:9;2557:18;2549:6;2531:45;:::i;2587:180::-;2646:6;2699:2;2687:9;2678:7;2674:23;2670:32;2667:52;;;2715:1;2712;2705:12;2667:52;-1:-1:-1;2738:23:1;;2587:180;-1:-1:-1;2587:180:1:o;2980:173::-;3048:20;;-1:-1:-1;;;;;3097:31:1;;3087:42;;3077:70;;3143:1;3140;3133:12;3077:70;2980:173;;;:::o;3158:254::-;3226:6;3234;3287:2;3275:9;3266:7;3262:23;3258:32;3255:52;;;3303:1;3300;3293:12;3255:52;3326:29;3345:9;3326:29;:::i;:::-;3316:39;3402:2;3387:18;;;;3374:32;;-1:-1:-1;;;3158:254:1:o;3417:328::-;3494:6;3502;3510;3563:2;3551:9;3542:7;3538:23;3534:32;3531:52;;;3579:1;3576;3569:12;3531:52;3602:29;3621:9;3602:29;:::i;:::-;3592:39;;3650:38;3684:2;3673:9;3669:18;3650:38;:::i;:::-;3640:48;;3735:2;3724:9;3720:18;3707:32;3697:42;;3417:328;;;;;:::o;4171:127::-;4232:10;4227:3;4223:20;4220:1;4213:31;4263:4;4260:1;4253:15;4287:4;4284:1;4277:15;4303:632;4368:5;4398:18;4439:2;4431:6;4428:14;4425:40;;;4445:18;;:::i;:::-;4520:2;4514:9;4488:2;4574:15;;-1:-1:-1;;4570:24:1;;;4596:2;4566:33;4562:42;4550:55;;;4620:18;;;4640:22;;;4617:46;4614:72;;;4666:18;;:::i;:::-;4706:10;4702:2;4695:22;4735:6;4726:15;;4765:6;4757;4750:22;4805:3;4796:6;4791:3;4787:16;4784:25;4781:45;;;4822:1;4819;4812:12;4781:45;4872:6;4867:3;4860:4;4852:6;4848:17;4835:44;4927:1;4920:4;4911:6;4903;4899:19;4895:30;4888:41;;;;4303:632;;;;;:::o;4940:451::-;5009:6;5062:2;5050:9;5041:7;5037:23;5033:32;5030:52;;;5078:1;5075;5068:12;5030:52;5118:9;5105:23;5151:18;5143:6;5140:30;5137:50;;;5183:1;5180;5173:12;5137:50;5206:22;;5259:4;5251:13;;5247:27;-1:-1:-1;5237:55:1;;5288:1;5285;5278:12;5237:55;5311:74;5377:7;5372:2;5359:16;5354:2;5350;5346:11;5311:74;:::i;5396:186::-;5455:6;5508:2;5496:9;5487:7;5483:23;5479:32;5476:52;;;5524:1;5521;5514:12;5476:52;5547:29;5566:9;5547:29;:::i;5772:632::-;5943:2;5995:21;;;6065:13;;5968:18;;;6087:22;;;5914:4;;5943:2;6166:15;;;;6140:2;6125:18;;;5914:4;6209:169;6223:6;6220:1;6217:13;6209:169;;;6284:13;;6272:26;;6353:15;;;;6318:12;;;;6245:1;6238:9;6209:169;;6409:315;6474:6;6482;6535:2;6523:9;6514:7;6510:23;6506:32;6503:52;;;6551:1;6548;6541:12;6503:52;6574:29;6593:9;6574:29;:::i;:::-;6564:39;;6653:2;6642:9;6638:18;6625:32;6666:28;6688:5;6666:28;:::i;:::-;6713:5;6703:15;;;6409:315;;;;;:::o;6729:667::-;6824:6;6832;6840;6848;6901:3;6889:9;6880:7;6876:23;6872:33;6869:53;;;6918:1;6915;6908:12;6869:53;6941:29;6960:9;6941:29;:::i;:::-;6931:39;;6989:38;7023:2;7012:9;7008:18;6989:38;:::i;:::-;6979:48;;7074:2;7063:9;7059:18;7046:32;7036:42;;7129:2;7118:9;7114:18;7101:32;7156:18;7148:6;7145:30;7142:50;;;7188:1;7185;7178:12;7142:50;7211:22;;7264:4;7256:13;;7252:27;-1:-1:-1;7242:55:1;;7293:1;7290;7283:12;7242:55;7316:74;7382:7;7377:2;7364:16;7359:2;7355;7351:11;7316:74;:::i;:::-;7306:84;;;6729:667;;;;;;;:::o;7401:254::-;7469:6;7477;7530:2;7518:9;7509:7;7505:23;7501:32;7498:52;;;7546:1;7543;7536:12;7498:52;7582:9;7569:23;7559:33;;7611:38;7645:2;7634:9;7630:18;7611:38;:::i;:::-;7601:48;;7401:254;;;;;:::o;7660:260::-;7728:6;7736;7789:2;7777:9;7768:7;7764:23;7760:32;7757:52;;;7805:1;7802;7795:12;7757:52;7828:29;7847:9;7828:29;:::i;:::-;7818:39;;7876:38;7910:2;7899:9;7895:18;7876:38;:::i;9233:127::-;9294:10;9289:3;9285:20;9282:1;9275:31;9325:4;9322:1;9315:15;9349:4;9346:1;9339:15;9365:125;9430:9;;;9451:10;;;9448:36;;;9464:18;;:::i;10616:168::-;10689:9;;;10720;;10737:15;;;10731:22;;10717:37;10707:71;;10758:18;;:::i;11141:380::-;11220:1;11216:12;;;;11263;;;11284:61;;11338:4;11330:6;11326:17;11316:27;;11284:61;11391:2;11383:6;11380:14;11360:18;11357:38;11354:161;;11437:10;11432:3;11428:20;11425:1;11418:31;11472:4;11469:1;11462:15;11500:4;11497:1;11490:15;11354:161;;11141:380;;;:::o;11652:545::-;11754:2;11749:3;11746:11;11743:448;;;11790:1;11815:5;11811:2;11804:17;11860:4;11856:2;11846:19;11930:2;11918:10;11914:19;11911:1;11907:27;11901:4;11897:38;11966:4;11954:10;11951:20;11948:47;;;-1:-1:-1;11989:4:1;11948:47;12044:2;12039:3;12035:12;12032:1;12028:20;12022:4;12018:31;12008:41;;12099:82;12117:2;12110:5;12107:13;12099:82;;;12162:17;;;12143:1;12132:13;12099:82;;12373:1352;12499:3;12493:10;12526:18;12518:6;12515:30;12512:56;;;12548:18;;:::i;:::-;12577:97;12667:6;12627:38;12659:4;12653:11;12627:38;:::i;:::-;12621:4;12577:97;:::i;:::-;12729:4;;12793:2;12782:14;;12810:1;12805:663;;;;13512:1;13529:6;13526:89;;;-1:-1:-1;13581:19:1;;;13575:26;13526:89;-1:-1:-1;;12330:1:1;12326:11;;;12322:24;12318:29;12308:40;12354:1;12350:11;;;12305:57;13628:81;;12775:944;;12805:663;11599:1;11592:14;;;11636:4;11623:18;;-1:-1:-1;;12841:20:1;;;12959:236;12973:7;12970:1;12967:14;12959:236;;;13062:19;;;13056:26;13041:42;;13154:27;;;;13122:1;13110:14;;;;12989:19;;12959:236;;;12963:3;13223:6;13214:7;13211:19;13208:201;;;13284:19;;;13278:26;-1:-1:-1;;13367:1:1;13363:14;;;13379:3;13359:24;13355:37;13351:42;13336:58;13321:74;;13208:201;-1:-1:-1;;;;;13455:1:1;13439:14;;;13435:22;13422:36;;-1:-1:-1;12373:1352:1:o;13730:127::-;13791:10;13786:3;13782:20;13779:1;13772:31;13822:4;13819:1;13812:15;13846:4;13843:1;13836:15;15736:663;16016:3;16054:6;16048:13;16070:66;16129:6;16124:3;16117:4;16109:6;16105:17;16070:66;:::i;:::-;16199:13;;16158:16;;;;16221:70;16199:13;16158:16;16268:4;16256:17;;16221:70;:::i;:::-;-1:-1:-1;;;16313:20:1;;16342:22;;;16391:1;16380:13;;15736:663;-1:-1:-1;;;;15736:663:1:o;17841:245::-;17908:6;17961:2;17949:9;17940:7;17936:23;17932:32;17929:52;;;17977:1;17974;17967:12;17929:52;18009:9;18003:16;18028:28;18050:5;18028:28;:::i;18091:135::-;18130:3;18151:17;;;18148:43;;18171:18;;:::i;:::-;-1:-1:-1;18218:1:1;18207:13;;18091:135::o;18231:489::-;-1:-1:-1;;;;;18500:15:1;;;18482:34;;18552:15;;18547:2;18532:18;;18525:43;18599:2;18584:18;;18577:34;;;18647:3;18642:2;18627:18;;18620:31;;;18425:4;;18668:46;;18694:19;;18686:6;18668:46;:::i;:::-;18660:54;18231:489;-1:-1:-1;;;;;;18231:489:1:o;18725:249::-;18794:6;18847:2;18835:9;18826:7;18822:23;18818:32;18815:52;;;18863:1;18860;18853:12;18815:52;18895:9;18889:16;18914:30;18938:5;18914:30;:::i
Swarm Source
ipfs://5714a24d6fcc7477d29f22dba864726612888c3edca4e2a3261647cbbd1119f5
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.