ERC-721
Overview
Max Total Supply
161 DPRSSD
Holders
30
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
2 DPRSSDLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
DPRSSD
Compiler Version
v0.8.19+commit.7dd6d404
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-06-29 */ // File: @openzeppelin/contracts/utils/introspection/IERC165.sol // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); } // File: @openzeppelin/contracts/utils/introspection/ERC165.sol // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } } // File: @openzeppelin/contracts/interfaces/IERC2981.sol // OpenZeppelin Contracts (last updated v4.9.0) (interfaces/IERC2981.sol) pragma solidity ^0.8.0; /** * @dev Interface for the NFT Royalty Standard. * * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal * support for royalty payments across all NFT marketplaces and ecosystem participants. * * _Available since v4.5._ */ interface IERC2981 is IERC165 { /** * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of * exchange. The royalty amount is denominated and should be paid in that same unit of exchange. */ function royaltyInfo( uint256 tokenId, uint256 salePrice ) external view returns (address receiver, uint256 royaltyAmount); } // File: @openzeppelin/contracts/token/common/ERC2981.sol // OpenZeppelin Contracts (last updated v4.9.0) (token/common/ERC2981.sol) pragma solidity ^0.8.0; /** * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information. * * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first. * * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the * fee is specified in basis points by default. * * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported. * * _Available since v4.5._ */ abstract contract ERC2981 is IERC2981, ERC165 { struct RoyaltyInfo { address receiver; uint96 royaltyFraction; } RoyaltyInfo private _defaultRoyaltyInfo; mapping(uint256 => RoyaltyInfo) private _tokenRoyaltyInfo; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC165) returns (bool) { return interfaceId == type(IERC2981).interfaceId || super.supportsInterface(interfaceId); } /** * @inheritdoc IERC2981 */ function royaltyInfo(uint256 tokenId, uint256 salePrice) public view virtual override returns (address, uint256) { RoyaltyInfo memory royalty = _tokenRoyaltyInfo[tokenId]; if (royalty.receiver == address(0)) { royalty = _defaultRoyaltyInfo; } uint256 royaltyAmount = (salePrice * royalty.royaltyFraction) / _feeDenominator(); return (royalty.receiver, royaltyAmount); } /** * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an * override. */ function _feeDenominator() internal pure virtual returns (uint96) { return 10000; } /** * @dev Sets the royalty information that all ids in this contract will default to. * * Requirements: * * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual { require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice"); require(receiver != address(0), "ERC2981: invalid receiver"); _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Removes default royalty information. */ function _deleteDefaultRoyalty() internal virtual { delete _defaultRoyaltyInfo; } /** * @dev Sets the royalty information for a specific token id, overriding the global default. * * Requirements: * * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setTokenRoyalty(uint256 tokenId, address receiver, uint96 feeNumerator) internal virtual { require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice"); require(receiver != address(0), "ERC2981: Invalid parameters"); _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Resets royalty information for the token id back to the global default. */ function _resetTokenRoyalty(uint256 tokenId) internal virtual { delete _tokenRoyaltyInfo[tokenId]; } } // File: operator-filter-registry/src/lib/Constants.sol pragma solidity ^0.8.13; address constant CANONICAL_OPERATOR_FILTER_REGISTRY_ADDRESS = 0x000000000000AAeB6D7670E522A718067333cd4E; address constant CANONICAL_CORI_SUBSCRIPTION = 0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6; // File: operator-filter-registry/src/IOperatorFilterRegistry.sol pragma solidity ^0.8.13; interface IOperatorFilterRegistry { /** * @notice Returns true if operator is not filtered for a given token, either by address or codeHash. Also returns * true if supplied registrant address is not registered. */ function isOperatorAllowed(address registrant, address operator) external view returns (bool); /** * @notice Registers an address with the registry. May be called by address itself or by EIP-173 owner. */ function register(address registrant) external; /** * @notice Registers an address with the registry and "subscribes" to another address's filtered operators and codeHashes. */ function registerAndSubscribe(address registrant, address subscription) external; /** * @notice Registers an address with the registry and copies the filtered operators and codeHashes from another * address without subscribing. */ function registerAndCopyEntries(address registrant, address registrantToCopy) external; /** * @notice Unregisters an address with the registry and removes its subscription. May be called by address itself or by EIP-173 owner. * Note that this does not remove any filtered addresses or codeHashes. * Also note that any subscriptions to this registrant will still be active and follow the existing filtered addresses and codehashes. */ function unregister(address addr) external; /** * @notice Update an operator address for a registered address - when filtered is true, the operator is filtered. */ function updateOperator(address registrant, address operator, bool filtered) external; /** * @notice Update multiple operators for a registered address - when filtered is true, the operators will be filtered. Reverts on duplicates. */ function updateOperators(address registrant, address[] calldata operators, bool filtered) external; /** * @notice Update a codeHash for a registered address - when filtered is true, the codeHash is filtered. */ function updateCodeHash(address registrant, bytes32 codehash, bool filtered) external; /** * @notice Update multiple codeHashes for a registered address - when filtered is true, the codeHashes will be filtered. Reverts on duplicates. */ function updateCodeHashes(address registrant, bytes32[] calldata codeHashes, bool filtered) external; /** * @notice Subscribe an address to another registrant's filtered operators and codeHashes. Will remove previous * subscription if present. * Note that accounts with subscriptions may go on to subscribe to other accounts - in this case, * subscriptions will not be forwarded. Instead the former subscription's existing entries will still be * used. */ function subscribe(address registrant, address registrantToSubscribe) external; /** * @notice Unsubscribe an address from its current subscribed registrant, and optionally copy its filtered operators and codeHashes. */ function unsubscribe(address registrant, bool copyExistingEntries) external; /** * @notice Get the subscription address of a given registrant, if any. */ function subscriptionOf(address addr) external returns (address registrant); /** * @notice Get the set of addresses subscribed to a given registrant. * Note that order is not guaranteed as updates are made. */ function subscribers(address registrant) external returns (address[] memory); /** * @notice Get the subscriber at a given index in the set of addresses subscribed to a given registrant. * Note that order is not guaranteed as updates are made. */ function subscriberAt(address registrant, uint256 index) external returns (address); /** * @notice Copy filtered operators and codeHashes from a different registrantToCopy to addr. */ function copyEntriesOf(address registrant, address registrantToCopy) external; /** * @notice Returns true if operator is filtered by a given address or its subscription. */ function isOperatorFiltered(address registrant, address operator) external returns (bool); /** * @notice Returns true if the hash of an address's code is filtered by a given address or its subscription. */ function isCodeHashOfFiltered(address registrant, address operatorWithCode) external returns (bool); /** * @notice Returns true if a codeHash is filtered by a given address or its subscription. */ function isCodeHashFiltered(address registrant, bytes32 codeHash) external returns (bool); /** * @notice Returns a list of filtered operators for a given address or its subscription. */ function filteredOperators(address addr) external returns (address[] memory); /** * @notice Returns the set of filtered codeHashes for a given address or its subscription. * Note that order is not guaranteed as updates are made. */ function filteredCodeHashes(address addr) external returns (bytes32[] memory); /** * @notice Returns the filtered operator at the given index of the set of filtered operators for a given address or * its subscription. * Note that order is not guaranteed as updates are made. */ function filteredOperatorAt(address registrant, uint256 index) external returns (address); /** * @notice Returns the filtered codeHash at the given index of the list of filtered codeHashes for a given address or * its subscription. * Note that order is not guaranteed as updates are made. */ function filteredCodeHashAt(address registrant, uint256 index) external returns (bytes32); /** * @notice Returns true if an address has registered */ function isRegistered(address addr) external returns (bool); /** * @dev Convenience method to compute the code hash of an arbitrary contract */ 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. * Please note that if your token contract does not provide an owner with EIP-173, it must provide * administration methods on the contract itself to interact with the registry otherwise the subscription * will be locked to the options set during construction. */ abstract contract OperatorFilterer { /// @dev Emitted when an operator is not allowed. error OperatorNotAllowed(address operator); IOperatorFilterRegistry public constant OPERATOR_FILTER_REGISTRY = IOperatorFilterRegistry(CANONICAL_OPERATOR_FILTER_REGISTRY_ADDRESS); /// @dev The constructor that is called when the contract is being deployed. 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)); } } } } /** * @dev A helper function to check if an operator is allowed. */ 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); } _; } /** * @dev A helper function to check if an operator approval is allowed. */ modifier onlyAllowedOperatorApproval(address operator) virtual { _checkFilterOperator(operator); _; } /** * @dev A helper function to check if an operator is allowed. */ 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) { // under normal circumstances, this function will revert rather than return false, but inheriting contracts // may specify their own OperatorFilterRegistry implementations, which may behave differently 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. * @dev Please note that if your token contract does not provide an owner with EIP-173, it must provide * administration methods on the contract itself to interact with the registry otherwise the subscription * will be locked to the options set during construction. */ abstract contract DefaultOperatorFilterer is OperatorFilterer { /// @dev The constructor that is called when the contract is being deployed. constructor() OperatorFilterer(CANONICAL_CORI_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: 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: @openzeppelin/contracts/utils/math/Math.sol // OpenZeppelin Contracts (last updated v4.8.0) (utils/math/Math.sol) pragma solidity ^0.8.0; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { enum Rounding { Down, // Toward negative infinity Up, // Toward infinity Zero // Toward zero } /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a > b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow. return (a & b) + (a ^ b) / 2; } /** * @dev Returns the ceiling of the division of two numbers. * * This differs from standard division with `/` in that it rounds up instead * of rounding down. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b - 1) / b can overflow on addition, so we distribute. return a == 0 ? 0 : (a - 1) / b + 1; } /** * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0 * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) * with further edits by Uniswap Labs also under MIT license. */ function mulDiv( uint256 x, uint256 y, uint256 denominator ) internal pure returns (uint256 result) { unchecked { // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256 // variables such that product = prod1 * 2^256 + prod0. uint256 prod0; // Least significant 256 bits of the product uint256 prod1; // Most significant 256 bits of the product assembly { let mm := mulmod(x, y, not(0)) prod0 := mul(x, y) prod1 := sub(sub(mm, prod0), lt(mm, prod0)) } // Handle non-overflow cases, 256 by 256 division. if (prod1 == 0) { return prod0 / denominator; } // Make sure the result is less than 2^256. Also prevents denominator == 0. require(denominator > prod1); /////////////////////////////////////////////// // 512 by 256 division. /////////////////////////////////////////////// // Make division exact by subtracting the remainder from [prod1 prod0]. uint256 remainder; assembly { // Compute remainder using mulmod. remainder := mulmod(x, y, denominator) // Subtract 256 bit number from 512 bit number. prod1 := sub(prod1, gt(remainder, prod0)) prod0 := sub(prod0, remainder) } // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1. // See https://cs.stackexchange.com/q/138556/92363. // Does not overflow because the denominator cannot be zero at this stage in the function. uint256 twos = denominator & (~denominator + 1); assembly { // Divide denominator by twos. denominator := div(denominator, twos) // Divide [prod1 prod0] by twos. prod0 := div(prod0, twos) // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one. twos := add(div(sub(0, twos), twos), 1) } // Shift in bits from prod1 into prod0. prod0 |= prod1 * twos; // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for // four bits. That is, denominator * inv = 1 mod 2^4. uint256 inverse = (3 * denominator) ^ 2; // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works // in modular arithmetic, doubling the correct bits in each step. inverse *= 2 - denominator * inverse; // inverse mod 2^8 inverse *= 2 - denominator * inverse; // inverse mod 2^16 inverse *= 2 - denominator * inverse; // inverse mod 2^32 inverse *= 2 - denominator * inverse; // inverse mod 2^64 inverse *= 2 - denominator * inverse; // inverse mod 2^128 inverse *= 2 - denominator * inverse; // inverse mod 2^256 // Because the division is now exact we can divide by multiplying with the modular inverse of denominator. // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1 // is no longer required. result = prod0 * inverse; return result; } } /** * @notice Calculates x * y / denominator with full precision, following the selected rounding direction. */ function mulDiv( uint256 x, uint256 y, uint256 denominator, Rounding rounding ) internal pure returns (uint256) { uint256 result = mulDiv(x, y, denominator); if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) { result += 1; } return result; } /** * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down. * * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11). */ function sqrt(uint256 a) internal pure returns (uint256) { if (a == 0) { return 0; } // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target. // // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`. // // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)` // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))` // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)` // // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit. uint256 result = 1 << (log2(a) >> 1); // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128, // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision // into the expected uint128 result. unchecked { result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; return min(result, a / result); } } /** * @notice Calculates sqrt(a), following the selected rounding direction. */ function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = sqrt(a); return result + (rounding == Rounding.Up && result * result < a ? 1 : 0); } } /** * @dev Return the log in base 2, rounded down, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 128; } if (value >> 64 > 0) { value >>= 64; result += 64; } if (value >> 32 > 0) { value >>= 32; result += 32; } if (value >> 16 > 0) { value >>= 16; result += 16; } if (value >> 8 > 0) { value >>= 8; result += 8; } if (value >> 4 > 0) { value >>= 4; result += 4; } if (value >> 2 > 0) { value >>= 2; result += 2; } if (value >> 1 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 2, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log2(value); return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0); } } /** * @dev Return the log in base 10, rounded down, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >= 10**64) { value /= 10**64; result += 64; } if (value >= 10**32) { value /= 10**32; result += 32; } if (value >= 10**16) { value /= 10**16; result += 16; } if (value >= 10**8) { value /= 10**8; result += 8; } if (value >= 10**4) { value /= 10**4; result += 4; } if (value >= 10**2) { value /= 10**2; result += 2; } if (value >= 10**1) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log10(value); return result + (rounding == Rounding.Up && 10**result < value ? 1 : 0); } } /** * @dev Return the log in base 256, rounded down, of a positive value. * Returns 0 if given 0. * * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string. */ function log256(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 16; } if (value >> 64 > 0) { value >>= 64; result += 8; } if (value >> 32 > 0) { value >>= 32; result += 4; } if (value >> 16 > 0) { value >>= 16; result += 2; } if (value >> 8 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log256(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log256(value); return result + (rounding == Rounding.Up && 1 << (result * 8) < value ? 1 : 0); } } } // File: @openzeppelin/contracts/utils/Strings.sol // OpenZeppelin Contracts (last updated v4.8.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { unchecked { uint256 length = Math.log10(value) + 1; string memory buffer = new string(length); uint256 ptr; /// @solidity memory-safe-assembly assembly { ptr := add(buffer, add(32, length)) } while (true) { ptr--; /// @solidity memory-safe-assembly assembly { mstore8(ptr, byte(mod(value, 10), _SYMBOLS)) } value /= 10; if (value == 0) break; } return buffer; } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { unchecked { return toHexString(value, Math.log256(value) + 1); } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } } // File: @openzeppelin/contracts/utils/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: @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: contracts/contr.sol //SPDX-License-Identifier: MIT // royalties addition: from snow :D pragma solidity ^0.8.19; contract DPRSSD is ERC721A, Ownable, ReentrancyGuard, DefaultOperatorFilterer, ERC2981 { using Strings for uint256; uint256 public maxSupply = 5555; uint256 public treasury = 55; uint256 public guaranteedSupply = 760; uint256 public FCFSsupply = 3740; uint256 public guaranteedWLPrice = 0.0079 ether; uint256 public FCFSPrice = 0.0079 ether; uint256 public publicPrice = 0.0099 ether; uint256 public guaranteedFreeBalance = 2; uint256 public maxGuaranteed = 10; uint256 public maxFCFS = 5; uint256 public maxPublic = 5; bool public pause = false; bool public guaranteedWL = true; bool public FCFS = true; string private baseURL = ""; string public hiddenMetadataUrl = "ipfs://QmaLKWQcmDS7MMJU94wUZ1fhSzwzRWco2EJLsJve1Pvjas/hidden.json"; mapping(address => uint256) public guaranteedWLBalance; mapping(address => uint256) public FCFSBalance; mapping(address => uint256) public publicBalance; uint256 public royaltyPercentage; mapping(uint256 => bool) private revealed; bytes32 public guaranteedWLList; bytes32 public FCFSList; // royalties stuff uint96 internal royaltyFraction = 700; // 100 = 1% , 1000 = 10% address internal royaltiesReciever = 0xd4578a6692ED53A6A507254f83984B2Ca393b513; uint256 public guaranteedWLCounter; uint256 public FCFSCounter; constructor( string memory _baseMetadataUrl, bytes32 _guaranteedWLList, bytes32 _FCFSList ) ERC721A("DPRSSD", "DPRSSD") { setBaseUri(_baseMetadataUrl); guaranteedWLList = _guaranteedWLList; FCFSList = _FCFSList; setRoyaltyInfo(royaltiesReciever, royaltyFraction); _safeMint(msg.sender, treasury); } function _baseURI() internal view override returns (string memory) { return baseURL; } function setBaseUri(string memory _baseURL) public onlyOwner { baseURL = _baseURL; } modifier generalRequirments(uint256 mintAmount) { require(!pause, "The sale is paused"); require( _totalMinted() + mintAmount <= maxSupply, "Exceeds collection supply" ); _; } function publicMint(uint256 mintAmount) external payable generalRequirments(mintAmount) { require(!guaranteedWL && !FCFS, "Public sale has not started"); require( publicBalance[msg.sender] + mintAmount <= maxPublic, "Exceeds max per wallet" ); require(msg.value >= publicPrice * mintAmount, "Not enough funds"); _safeMint(msg.sender, mintAmount); publicBalance[msg.sender] += mintAmount; } function guaranteedMint(uint256 mintAmount, bytes32[] calldata _merkleProof) public payable generalRequirments(mintAmount) { require(guaranteedWL, "Guaranteed mint has not started"); bytes32 leaf = keccak256(abi.encodePacked(msg.sender)); require( MerkleProof.verify(_merkleProof, guaranteedWLList, leaf), "Invalid proof!" ); require( guaranteedWLBalance[msg.sender] + mintAmount <= maxGuaranteed, "Exceeds max per wallet" ); require( guaranteedWLCounter + mintAmount <= guaranteedSupply, "Exceeds guaranteed amount" ); if (guaranteedWLBalance[msg.sender] >= guaranteedFreeBalance) { require(msg.value >= guaranteedWLPrice * mintAmount, "Not enough funds"); } else { uint256 currentlyOwned = guaranteedWLBalance[msg.sender] + mintAmount; if (currentlyOwned > guaranteedFreeBalance) { uint256 toBePaid = currentlyOwned - guaranteedFreeBalance; require(msg.value >= guaranteedWLPrice * toBePaid, "Not enough funds"); } } _safeMint(msg.sender, mintAmount); guaranteedWLBalance[msg.sender] += mintAmount; guaranteedWLCounter += mintAmount; if (guaranteedWLCounter == guaranteedSupply) guaranteedWL = false; } function FCFSMint(uint256 mintAmount, bytes32[] calldata _merkleProof) public payable generalRequirments(mintAmount) { require(FCFS, "FCFS mint has not started"); bytes32 leaf = keccak256(abi.encodePacked(msg.sender)); require( MerkleProof.verify(_merkleProof, FCFSList, leaf), "Invalid proof!" ); require( FCFSBalance[msg.sender] + mintAmount <= maxFCFS, "Exceeds max per wallet" ); require( FCFSCounter + mintAmount <= FCFSsupply, "Exceeds guaranteed amount" ); require(msg.value >= FCFSPrice * mintAmount, "Not enough funds"); _safeMint(msg.sender, mintAmount); FCFSBalance[msg.sender] += mintAmount; FCFSCounter += mintAmount; if (FCFSCounter == FCFSsupply) FCFS = false; } function sethiddenMetadataUrl(string memory _hiddenMetadataUrl) public onlyOwner { hiddenMetadataUrl = _hiddenMetadataUrl; } // set royalties info // setting of a particular token id function setRoyaltyTokens( uint256 _tokenId, address _receiver, uint96 _royaltyFeesInBips ) public onlyOwner { _setTokenRoyalty(_tokenId, _receiver, _royaltyFeesInBips); } // setting for whole collection function setRoyaltyInfo(address _receiver, uint96 _royaltyFeesInBips) public onlyOwner { _setDefaultRoyalty(_receiver, _royaltyFeesInBips); } function reveal(uint256 tokenId) external { require( ownerOf(tokenId) == msg.sender, "You're not the owner of this NFT" ); require(!revealed[tokenId], "NFT is already revealed"); revealed[tokenId] = true; } function _startTokenId() internal view virtual override returns (uint256) { return 1; } function tokenURI(uint256 tokenId) public view override returns (string memory) { require(_exists(tokenId), "That token doesn't exist"); if (!revealed[tokenId]) return hiddenMetadataUrl; else return bytes(_baseURI()).length > 0 ? string( abi.encodePacked( _baseURI(), tokenId.toString(), ".json" ) ) : ""; } function walletOfOwner(address _owner) public view returns (uint256[] memory) { uint256 ownerTokenCount = balanceOf(_owner); uint256[] memory ownedTokenIds = new uint256[](ownerTokenCount); uint256 currentTokenId = _startTokenId(); uint256 ownedTokenIndex = 0; address latestOwnerAddress; while ( ownedTokenIndex < ownerTokenCount && currentTokenId <= maxSupply ) { TokenOwnership memory ownership = _ownershipOf(currentTokenId); if (!ownership.burned && ownership.addr != address(0)) { latestOwnerAddress = ownership.addr; } if (latestOwnerAddress == _owner) { ownedTokenIds[ownedTokenIndex] = currentTokenId; ownedTokenIndex++; } currentTokenId++; } return ownedTokenIds; } function setPause(bool _state) public onlyOwner { pause = _state; } function setGuaranteedWLPrice(uint256 _newCost) public onlyOwner { guaranteedWLPrice = _newCost; } function setFCFSPrice(uint256 _newCost) public onlyOwner { FCFSPrice = _newCost; } function setPublicPrice(uint256 _newCost) public onlyOwner { publicPrice = _newCost; } function setMaxPublic(uint256 _newMax) public onlyOwner { maxPublic = _newMax; } function setGuaranteedWL(bool _state) public onlyOwner { guaranteedWL = _state; } function setFCFS(bool _state) public onlyOwner { FCFS = _state; } function setGuaranteedWLList(bytes32 _list) public onlyOwner { guaranteedWLList = _list; } function setFCFSList(bytes32 _list) public onlyOwner { FCFSList = _list; } function setRoyalty(uint256 _royaltyPercentage) public onlyOwner { royaltyPercentage = _royaltyPercentage; } 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); } function setApprovalForAll(address operator, bool approved) public override onlyAllowedOperatorApproval(operator) { super.setApprovalForAll(operator, approved); } function approve(address operator, uint256 tokenId) public payable override onlyAllowedOperatorApproval(operator) { super.approve(operator, tokenId); } function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721A, ERC2981) returns (bool) { return ERC721A.supportsInterface(interfaceId) || ERC2981.supportsInterface(interfaceId); } function withdraw() external onlyOwner { (bool dev, ) = payable(0xfc16449c03250f0580C7a330A9389044F350B6Bb).call{ value: (address(this).balance * 15) / 100 }(""); require(dev); (bool success, ) = payable(owner()).call{value: address(this).balance}( "" ); require(success); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_baseMetadataUrl","type":"string"},{"internalType":"bytes32","name":"_guaranteedWLList","type":"bytes32"},{"internalType":"bytes32","name":"_FCFSList","type":"bytes32"}],"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":"FCFS","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"FCFSBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"FCFSCounter","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"FCFSList","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"mintAmount","type":"uint256"},{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"FCFSMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"FCFSPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"FCFSsupply","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":"operator","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"guaranteedFreeBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"mintAmount","type":"uint256"},{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"guaranteedMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"guaranteedSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"guaranteedWL","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"guaranteedWLBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"guaranteedWLCounter","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"guaranteedWLList","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"guaranteedWLPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"hiddenMetadataUrl","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxFCFS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxGuaranteed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPublic","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"publicBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"mintAmount","type":"uint256"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"publicPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"reveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"royaltyPercentage","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":"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":"_baseURL","type":"string"}],"name":"setBaseUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setFCFS","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_list","type":"bytes32"}],"name":"setFCFSList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newCost","type":"uint256"}],"name":"setFCFSPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setGuaranteedWL","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_list","type":"bytes32"}],"name":"setGuaranteedWLList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newCost","type":"uint256"}],"name":"setGuaranteedWLPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newMax","type":"uint256"}],"name":"setMaxPublic","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setPause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newCost","type":"uint256"}],"name":"setPublicPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_royaltyPercentage","type":"uint256"}],"name":"setRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_receiver","type":"address"},{"internalType":"uint96","name":"_royaltyFeesInBips","type":"uint96"}],"name":"setRoyaltyInfo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"address","name":"_receiver","type":"address"},{"internalType":"uint96","name":"_royaltyFeesInBips","type":"uint96"}],"name":"setRoyaltyTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_hiddenMetadataUrl","type":"string"}],"name":"sethiddenMetadataUrl","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"treasury","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6115b3600c556037600d556102f8600e55610e9c600f55661c110215b9c000601081905560115566232bff5f46c0006012556002601355600a601455600560158190556016556017805462ffffff19166201010017905560a06040526000608090815260189062000071908262000820565b5060405180608001604052806041815260200162003a12604191396019906200009b908262000820565b507fd4578a6692ed53a6a507254f83984b2ca393b5130000000000000000000002bc602155348015620000cd57600080fd5b5060405162003a7338038062003a73833981016040819052620000f09162000912565b733cc6cdda760b79bafa08df41ecfa224f810dceb660016040518060400160405280600681526020016511141494d4d160d21b8152506040518060400160405280600681526020016511141494d4d160d21b815250816002908162000156919062000820565b50600362000165828262000820565b5050600160005550620001783362000328565b60016009556daaeb6d7670e522a718067333cd4e3b15620002c25780156200021057604051633e9f1edf60e11b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e90637d3e3dbe906044015b600060405180830381600087803b158015620001f157600080fd5b505af115801562000206573d6000803e3d6000fd5b50505050620002c2565b6001600160a01b03821615620002615760405163a0af290360e01b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e9063a0af290390604401620001d6565b604051632210724360e11b81523060048201526daaeb6d7670e522a718067333cd4e90634420e48690602401600060405180830381600087803b158015620002a857600080fd5b505af1158015620002bd573d6000803e3d6000fd5b505050505b50620002d09050836200037a565b601f82905560208190556021546200030b906001600160a01b036c01000000000000000000000000820416906001600160601b031662000396565b6200031f33600d54620003ac60201b60201c565b50505062000a66565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b62000384620003ce565b601862000392828262000820565b5050565b620003a0620003ce565b62000392828262000430565b620003928282604051806020016040528060008152506200053160201b60201c565b6008546001600160a01b031633146200042e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b565b6127106001600160601b0382161115620004a05760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b606482015260840162000425565b6001600160a01b038216620004f85760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c696420726563656976657200000000000000604482015260640162000425565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600a55565b6200053d8383620005a8565b6001600160a01b0383163b15620005a3576000548281035b60018101906200056b9060009087908662000688565b62000589576040516368d2bf6b60e11b815260040160405180910390fd5b81811062000555578160005414620005a057600080fd5b50505b505050565b6000805490829003620005ce5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b1783179055828401908390839060008051602062003a538339815191528180a4600183015b8181146200065d578083600060008051602062003a53833981519152600080a460010162000634565b50816000036200067f57604051622e076360e81b815260040160405180910390fd5b60005550505050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290620006bf903390899088908890600401620009dd565b6020604051808303816000875af1925050508015620006fd575060408051601f3d908101601f19168201909252620006fa9181019062000a33565b60015b6200075f573d8080156200072e576040519150601f19603f3d011682016040523d82523d6000602084013e62000733565b606091505b50805160000362000757576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620007a757607f821691505b602082108103620007c857634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620005a357600081815260208120601f850160051c81016020861015620007f75750805b601f850160051c820191505b81811015620008185782815560010162000803565b505050505050565b81516001600160401b038111156200083c576200083c6200077c565b62000854816200084d845462000792565b84620007ce565b602080601f8311600181146200088c5760008415620008735750858301515b600019600386901b1c1916600185901b17855562000818565b600085815260208120601f198616915b82811015620008bd578886015182559484019460019091019084016200089c565b5085821015620008dc5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60005b8381101562000909578181015183820152602001620008ef565b50506000910152565b6000806000606084860312156200092857600080fd5b83516001600160401b03808211156200094057600080fd5b818601915086601f8301126200095557600080fd5b8151818111156200096a576200096a6200077c565b604051601f8201601f19908116603f011681019083821181831017156200099557620009956200077c565b81604052828152896020848701011115620009af57600080fd5b620009c2836020830160208801620008ec565b6020890151604090990151909a989950979650505050505050565b600060018060a01b03808716835280861660208401525083604083015260806060830152825180608084015262000a1c8160a0850160208701620008ec565b601f01601f19169190910160a00195945050505050565b60006020828403121562000a4657600080fd5b81516001600160e01b03198116811462000a5f57600080fd5b9392505050565b612f9c8062000a766000396000f3fe6080604052600436106103ad5760003560e01c80636c42c897116101e7578063c03ca8f21161010d578063e2668425116100a0578063f2fde38b1161006f578063f2fde38b14610a54578063f3bb1b6014610a74578063f6525e5514610a93578063fbdb849414610ab357600080fd5b8063e2668425146109de578063e985e9c5146109fe578063ec92cd5d14610a1e578063ee05688c14610a3457600080fd5b8063cb2b1c5e116100dc578063cb2b1c5e14610968578063d0393ce914610988578063d5abeb01146109a8578063daaaa4ed146109be57600080fd5b8063c03ca8f2146108f2578063c2ca0ac514610908578063c627525514610928578063c87b56dd1461094857600080fd5b80638f6c644011610185578063a435ef2c11610154578063a435ef2c1461087c578063a945bf80146108a9578063b88d4fde146108bf578063bedb86fb146108d257600080fd5b80638f6c64401461081157806395d89b4114610827578063a0bcfc7f1461083c578063a22cb4651461085c57600080fd5b80637dc42975116101c15780637dc42975146107ad5780638456cb59146107c35780638a71bb2d146107dd5780638da5cb5b146107f357600080fd5b80636c42c8971461074b57806370a0823114610778578063715018a61461079857600080fd5b80633ccfd60b116102d757806347d7c7971161026a57806361d027b31161023957806361d027b3146106ec5780636352211e1461070257806366ee8d7b146107225780636b0db8711461073557600080fd5b806347d7c797146106805780634a18a663146106965780635b373b35146106a95780635f7b56cd146106d657600080fd5b806341f43434116102a657806341f43434146105fe5780634209a2e11461062057806342842e0e14610640578063438b63001461065357600080fd5b80633ccfd60b146105935780633dfc167f146105a85780634151e617146105c857806341d13c74146105e857600080fd5b806318160ddd1161034f5780632a55205a1161031e5780632a55205a1461050b5780632acc08df1461054a5780632db115441461056a5780632f6c1acd1461057d57600080fd5b806318160ddd146104af57806323b872dd146104cc578063278dbfd6146104df578063299a5300146104f557600080fd5b8063081812fc1161038b578063081812fc1461042b578063095ea7b31461046357806312f6c00a146104765780631638fef01461049a57600080fd5b806301ffc9a7146103b257806302fa7c47146103e757806306fdde0314610409575b600080fd5b3480156103be57600080fd5b506103d26103cd36600461274c565b610ad3565b60405190151581526020015b60405180910390f35b3480156103f357600080fd5b50610407610402366004612797565b610af3565b005b34801561041557600080fd5b5061041e610b09565b6040516103de919061281a565b34801561043757600080fd5b5061044b61044636600461282d565b610b9b565b6040516001600160a01b0390911681526020016103de565b610407610471366004612846565b610bdf565b34801561048257600080fd5b5061048c60235481565b6040519081526020016103de565b3480156104a657600080fd5b5061041e610bf8565b3480156104bb57600080fd5b50600154600054036000190161048c565b6104076104da366004612870565b610c86565b3480156104eb57600080fd5b5061048c601f5481565b34801561050157600080fd5b5061048c60225481565b34801561051757600080fd5b5061052b6105263660046128ac565b610cb1565b604080516001600160a01b0390931683526020830191909152016103de565b34801561055657600080fd5b506017546103d29062010000900460ff1681565b61040761057836600461282d565b610d5d565b34801561058957600080fd5b5061048c60105481565b34801561059f57600080fd5b50610407610ecc565b3480156105b457600080fd5b506104076105c33660046128dc565b610fc2565b3480156105d457600080fd5b506104076105e336600461282d565b610fe6565b3480156105f457600080fd5b5061048c600f5481565b34801561060a57600080fd5b5061044b6daaeb6d7670e522a718067333cd4e81565b34801561062c57600080fd5b5061040761063b36600461282d565b610ff3565b61040761064e366004612870565b611000565b34801561065f57600080fd5b5061067361066e3660046128f9565b611025565b6040516103de9190612914565b34801561068c57600080fd5b5061048c60135481565b6104076106a4366004612958565b61112c565b3480156106b557600080fd5b5061048c6106c43660046128f9565b601a6020526000908152604090205481565b3480156106e257600080fd5b5061048c60145481565b3480156106f857600080fd5b5061048c600d5481565b34801561070e57600080fd5b5061044b61071d36600461282d565b611448565b610407610730366004612958565b611453565b34801561074157600080fd5b5061048c60155481565b34801561075757600080fd5b5061048c6107663660046128f9565b601b6020526000908152604090205481565b34801561078457600080fd5b5061048c6107933660046128f9565b6116e9565b3480156107a457600080fd5b50610407611738565b3480156107b957600080fd5b5061048c60165481565b3480156107cf57600080fd5b506017546103d29060ff1681565b3480156107e957600080fd5b5061048c601d5481565b3480156107ff57600080fd5b506008546001600160a01b031661044b565b34801561081d57600080fd5b5061048c60205481565b34801561083357600080fd5b5061041e61174c565b34801561084857600080fd5b50610407610857366004612a63565b61175b565b34801561086857600080fd5b50610407610877366004612aac565b61176f565b34801561088857600080fd5b5061048c6108973660046128f9565b601c6020526000908152604090205481565b3480156108b557600080fd5b5061048c60125481565b6104076108cd366004612ae3565b611783565b3480156108de57600080fd5b506104076108ed3660046128dc565b6117a9565b3480156108fe57600080fd5b5061048c600e5481565b34801561091457600080fd5b5061040761092336600461282d565b6117c4565b34801561093457600080fd5b5061040761094336600461282d565b61189e565b34801561095457600080fd5b5061041e61096336600461282d565b6118ab565b34801561097457600080fd5b50610407610983366004612a63565b611a0b565b34801561099457600080fd5b506104076109a33660046128dc565b611a1f565b3480156109b457600080fd5b5061048c600c5481565b3480156109ca57600080fd5b506104076109d936600461282d565b611a41565b3480156109ea57600080fd5b506104076109f9366004612b5f565b611a4e565b348015610a0a57600080fd5b506103d2610a19366004612b9b565b611a61565b348015610a2a57600080fd5b5061048c60115481565b348015610a4057600080fd5b50610407610a4f36600461282d565b611a8f565b348015610a6057600080fd5b50610407610a6f3660046128f9565b611a9c565b348015610a8057600080fd5b506017546103d290610100900460ff1681565b348015610a9f57600080fd5b50610407610aae36600461282d565b611b15565b348015610abf57600080fd5b50610407610ace36600461282d565b611b22565b6000610ade82611b2f565b80610aed5750610aed82611b7d565b92915050565b610afb611bb2565b610b058282611c0c565b5050565b606060028054610b1890612bc5565b80601f0160208091040260200160405190810160405280929190818152602001828054610b4490612bc5565b8015610b915780601f10610b6657610100808354040283529160200191610b91565b820191906000526020600020905b815481529060010190602001808311610b7457829003601f168201915b5050505050905090565b6000610ba682611cc6565b610bc3576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b81610be981611cfb565b610bf38383611db4565b505050565b60198054610c0590612bc5565b80601f0160208091040260200160405190810160405280929190818152602001828054610c3190612bc5565b8015610c7e5780601f10610c5357610100808354040283529160200191610c7e565b820191906000526020600020905b815481529060010190602001808311610c6157829003601f168201915b505050505081565b826001600160a01b0381163314610ca057610ca033611cfb565b610cab848484611e54565b50505050565b6000828152600b602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b0316928201929092528291610d26575060408051808201909152600a546001600160a01b0381168252600160a01b90046001600160601b031660208201525b602081015160009061271090610d45906001600160601b031687612c15565b610d4f9190612c2c565b915196919550909350505050565b601754819060ff1615610d8b5760405162461bcd60e51b8152600401610d8290612c4e565b60405180910390fd5b600c5481610d9c6000546000190190565b610da69190612c7a565b1115610dc45760405162461bcd60e51b8152600401610d8290612c8d565b601754610100900460ff16158015610de5575060175462010000900460ff16155b610e315760405162461bcd60e51b815260206004820152601b60248201527f5075626c69632073616c6520686173206e6f74207374617274656400000000006044820152606401610d82565b601654336000908152601c6020526040902054610e4f908490612c7a565b1115610e6d5760405162461bcd60e51b8152600401610d8290612cc4565b81601254610e7b9190612c15565b341015610e9a5760405162461bcd60e51b8152600401610d8290612cf4565b610ea43383611fed565b336000908152601c602052604081208054849290610ec3908490612c7a565b90915550505050565b610ed4611bb2565b600073fc16449c03250f0580c7a330a9389044f350b6bb6064610ef847600f612c15565b610f029190612c2c565b604051600081818185875af1925050503d8060008114610f3e576040519150601f19603f3d011682016040523d82523d6000602084013e610f43565b606091505b5050905080610f5157600080fd5b6000610f656008546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d8060008114610faf576040519150601f19603f3d011682016040523d82523d6000602084013e610fb4565b606091505b5050905080610b0557600080fd5b610fca611bb2565b60178054911515620100000262ff000019909216919091179055565b610fee611bb2565b601f55565b610ffb611bb2565b601d55565b826001600160a01b038116331461101a5761101a33611cfb565b610cab848484612007565b60606000611032836116e9565b905060008167ffffffffffffffff81111561104f5761104f6129d7565b604051908082528060200260200182016040528015611078578160200160208202803683370190505b50905060016000805b84821080156110925750600c548311155b156111215760006110a284612022565b905080604001511580156110bf575080516001600160a01b031615155b156110c957805191505b876001600160a01b0316826001600160a01b03160361110e57838584815181106110f5576110f5612d1e565b60209081029190910101528261110a81612d34565b9350505b8361111881612d34565b94505050611081565b509195945050505050565b601754839060ff16156111515760405162461bcd60e51b8152600401610d8290612c4e565b600c54816111626000546000190190565b61116c9190612c7a565b111561118a5760405162461bcd60e51b8152600401610d8290612c8d565b601754610100900460ff166111e15760405162461bcd60e51b815260206004820152601f60248201527f47756172616e74656564206d696e7420686173206e6f742073746172746564006044820152606401610d82565b6040516bffffffffffffffffffffffff193360601b16602082015260009060340160405160208183030381529060405280519060200120905061125b84848080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050601f54915084905061209a565b6112985760405162461bcd60e51b815260206004820152600e60248201526d496e76616c69642070726f6f662160901b6044820152606401610d82565b601454336000908152601a60205260409020546112b6908790612c7a565b11156112d45760405162461bcd60e51b8152600401610d8290612cc4565b600e54856022546112e59190612c7a565b111561132f5760405162461bcd60e51b8152602060048201526019602482015278115e18d959591cc819dd585c985b9d19595908185b5bdd5b9d603a1b6044820152606401610d82565b601354336000908152601a60205260409020541061137957846010546113559190612c15565b3410156113745760405162461bcd60e51b8152600401610d8290612cf4565b6113e3565b336000908152601a6020526040812054611394908790612c7a565b90506013548111156113e1576000601354826113b09190612d4d565b9050806010546113c09190612c15565b3410156113df5760405162461bcd60e51b8152600401610d8290612cf4565b505b505b6113ed3386611fed565b336000908152601a60205260408120805487929061140c908490612c7a565b9250508190555084602260008282546114259190612c7a565b9091555050600e5460225403611441576017805461ff00191690555b5050505050565b6000610aed826120b0565b601754839060ff16156114785760405162461bcd60e51b8152600401610d8290612c4e565b600c54816114896000546000190190565b6114939190612c7a565b11156114b15760405162461bcd60e51b8152600401610d8290612c8d565b60175462010000900460ff166115095760405162461bcd60e51b815260206004820152601960248201527f46434653206d696e7420686173206e6f742073746172746564000000000000006044820152606401610d82565b6040516bffffffffffffffffffffffff193360601b16602082015260009060340160405160208183030381529060405280519060200120905061158384848080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050602054915084905061209a565b6115c05760405162461bcd60e51b815260206004820152600e60248201526d496e76616c69642070726f6f662160901b6044820152606401610d82565b601554336000908152601b60205260409020546115de908790612c7a565b11156115fc5760405162461bcd60e51b8152600401610d8290612cc4565b600f548560235461160d9190612c7a565b11156116575760405162461bcd60e51b8152602060048201526019602482015278115e18d959591cc819dd585c985b9d19595908185b5bdd5b9d603a1b6044820152606401610d82565b846011546116659190612c15565b3410156116845760405162461bcd60e51b8152600401610d8290612cf4565b61168e3386611fed565b336000908152601b6020526040812080548792906116ad908490612c7a565b9250508190555084602360008282546116c69190612c7a565b9091555050600f5460235403611441576017805462ff0000191690555050505050565b60006001600160a01b038216611712576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b611740611bb2565b61174a6000612126565b565b606060038054610b1890612bc5565b611763611bb2565b6018610b058282612da6565b8161177981611cfb565b610bf38383612178565b836001600160a01b038116331461179d5761179d33611cfb565b611441858585856121e4565b6117b1611bb2565b6017805460ff1916911515919091179055565b336117ce82611448565b6001600160a01b0316146118245760405162461bcd60e51b815260206004820181905260248201527f596f75277265206e6f7420746865206f776e6572206f662074686973204e46546044820152606401610d82565b6000818152601e602052604090205460ff16156118835760405162461bcd60e51b815260206004820152601760248201527f4e465420697320616c72656164792072657665616c65640000000000000000006044820152606401610d82565b6000908152601e60205260409020805460ff19166001179055565b6118a6611bb2565b601255565b60606118b682611cc6565b6119025760405162461bcd60e51b815260206004820152601860248201527f5468617420746f6b656e20646f65736e277420657869737400000000000000006044820152606401610d82565b6000828152601e602052604090205460ff166119aa576019805461192590612bc5565b80601f016020809104026020016040519081016040528092919081815260200182805461195190612bc5565b801561199e5780601f106119735761010080835404028352916020019161199e565b820191906000526020600020905b81548152906001019060200180831161198157829003601f168201915b50505050509050919050565b60006119b4612228565b51116119cf5760405180602001604052806000815250610aed565b6119d7612228565b6119e083612237565b6040516020016119f1929190612e66565b60405160208183030381529060405292915050565b919050565b611a13611bb2565b6019610b058282612da6565b611a27611bb2565b601780549115156101000261ff0019909216919091179055565b611a49611bb2565b602055565b611a56611bb2565b610bf38383836122ca565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b611a97611bb2565b601055565b611aa4611bb2565b6001600160a01b038116611b095760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610d82565b611b1281612126565b50565b611b1d611bb2565b601155565b611b2a611bb2565b601655565b60006301ffc9a760e01b6001600160e01b031983161480611b6057506380ac58cd60e01b6001600160e01b03198316145b80610aed5750506001600160e01b031916635b5e139f60e01b1490565b60006001600160e01b0319821663152a902d60e11b1480610aed57506301ffc9a760e01b6001600160e01b0319831614610aed565b6008546001600160a01b0316331461174a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610d82565b6127106001600160601b0382161115611c375760405162461bcd60e51b8152600401610d8290612ea5565b6001600160a01b038216611c8d5760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606401610d82565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600a55565b600081600111158015611cda575060005482105b8015610aed575050600090815260046020526040902054600160e01b161590565b6daaeb6d7670e522a718067333cd4e3b15611b1257604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015611d68573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d8c9190612eef565b611b1257604051633b79c77360e21b81526001600160a01b0382166004820152602401610d82565b6000611dbf82611448565b9050336001600160a01b03821614611df857611ddb8133611a61565b611df8576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000611e5f826120b0565b9050836001600160a01b0316816001600160a01b031614611e925760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b03881690911417611edf57611ec28633611a61565b611edf57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516611f0657604051633a954ecd60e21b815260040160405180910390fd5b8015611f1157600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b84169003611fa357600184016000818152600460205260408120549003611fa1576000548114611fa15760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b610b05828260405180602001604052806000815250612395565b610bf383838360405180602001604052806000815250611783565b604080516080810182526000808252602082018190529181018290526060810191909152610aed612052836120b0565b604080516080810182526001600160a01b038316815260a083901c67ffffffffffffffff166020820152600160e01b831615159181019190915260e89190911c606082015290565b6000826120a785846123fb565b14949350505050565b6000818060011161210d5760005481101561210d5760008181526004602052604081205490600160e01b8216900361210b575b806000036121045750600019016000818152600460205260409020546120e3565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6121ef848484610c86565b6001600160a01b0383163b15610cab5761220b84848484612448565b610cab576040516368d2bf6b60e11b815260040160405180910390fd5b606060188054610b1890612bc5565b6060600061224483612534565b600101905060008167ffffffffffffffff811115612264576122646129d7565b6040519080825280601f01601f19166020018201604052801561228e576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461229857509392505050565b6127106001600160601b03821611156122f55760405162461bcd60e51b8152600401610d8290612ea5565b6001600160a01b03821661234b5760405162461bcd60e51b815260206004820152601b60248201527f455243323938313a20496e76616c696420706172616d657465727300000000006044820152606401610d82565b6040805180820182526001600160a01b0393841681526001600160601b0392831660208083019182526000968752600b90529190942093519051909116600160a01b029116179055565b61239f838361260c565b6001600160a01b0383163b15610bf3576000548281035b6123c96000868380600101945086612448565b6123e6576040516368d2bf6b60e11b815260040160405180910390fd5b8181106123b657816000541461144157600080fd5b600081815b84518110156124405761242c8286838151811061241f5761241f612d1e565b602002602001015161270a565b91508061243881612d34565b915050612400565b509392505050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029061247d903390899088908890600401612f0c565b6020604051808303816000875af19250505080156124b8575060408051601f3d908101601f191682019092526124b591810190612f49565b60015b612516573d8080156124e6576040519150601f19603f3d011682016040523d82523d6000602084013e6124eb565b606091505b50805160000361250e576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106125735772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef8100000000831061259f576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc1000083106125bd57662386f26fc10000830492506010015b6305f5e10083106125d5576305f5e100830492506008015b61271083106125e957612710830492506004015b606483106125fb576064830492506002015b600a8310610aed5760010192915050565b60008054908290036126315760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b8181146126e057808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a46001016126a8565b508160000361270157604051622e076360e81b815260040160405180910390fd5b60005550505050565b6000818310612726576000828152602084905260409020612104565b5060009182526020526040902090565b6001600160e01b031981168114611b1257600080fd5b60006020828403121561275e57600080fd5b813561210481612736565b80356001600160a01b0381168114611a0657600080fd5b80356001600160601b0381168114611a0657600080fd5b600080604083850312156127aa57600080fd5b6127b383612769565b91506127c160208401612780565b90509250929050565b60005b838110156127e55781810151838201526020016127cd565b50506000910152565b600081518084526128068160208601602086016127ca565b601f01601f19169290920160200192915050565b60208152600061210460208301846127ee565b60006020828403121561283f57600080fd5b5035919050565b6000806040838503121561285957600080fd5b61286283612769565b946020939093013593505050565b60008060006060848603121561288557600080fd5b61288e84612769565b925061289c60208501612769565b9150604084013590509250925092565b600080604083850312156128bf57600080fd5b50508035926020909101359150565b8015158114611b1257600080fd5b6000602082840312156128ee57600080fd5b8135612104816128ce565b60006020828403121561290b57600080fd5b61210482612769565b6020808252825182820181905260009190848201906040850190845b8181101561294c57835183529284019291840191600101612930565b50909695505050505050565b60008060006040848603121561296d57600080fd5b83359250602084013567ffffffffffffffff8082111561298c57600080fd5b818601915086601f8301126129a057600080fd5b8135818111156129af57600080fd5b8760208260051b85010111156129c457600080fd5b6020830194508093505050509250925092565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115612a0857612a086129d7565b604051601f8501601f19908116603f01168101908282118183101715612a3057612a306129d7565b81604052809350858152868686011115612a4957600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215612a7557600080fd5b813567ffffffffffffffff811115612a8c57600080fd5b8201601f81018413612a9d57600080fd5b61252c848235602084016129ed565b60008060408385031215612abf57600080fd5b612ac883612769565b91506020830135612ad8816128ce565b809150509250929050565b60008060008060808587031215612af957600080fd5b612b0285612769565b9350612b1060208601612769565b925060408501359150606085013567ffffffffffffffff811115612b3357600080fd5b8501601f81018713612b4457600080fd5b612b53878235602084016129ed565b91505092959194509250565b600080600060608486031215612b7457600080fd5b83359250612b8460208501612769565b9150612b9260408501612780565b90509250925092565b60008060408385031215612bae57600080fd5b612bb783612769565b91506127c160208401612769565b600181811c90821680612bd957607f821691505b602082108103612bf957634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8082028115828204841417610aed57610aed612bff565b600082612c4957634e487b7160e01b600052601260045260246000fd5b500490565b602080825260129082015271151a19481cd85b19481a5cc81c185d5cd95960721b604082015260600190565b80820180821115610aed57610aed612bff565b60208082526019908201527f4578636565647320636f6c6c656374696f6e20737570706c7900000000000000604082015260600190565b602080825260169082015275115e18d959591cc81b585e081c195c881dd85b1b195d60521b604082015260600190565b60208082526010908201526f4e6f7420656e6f7567682066756e647360801b604082015260600190565b634e487b7160e01b600052603260045260246000fd5b600060018201612d4657612d46612bff565b5060010190565b81810381811115610aed57610aed612bff565b601f821115610bf357600081815260208120601f850160051c81016020861015612d875750805b601f850160051c820191505b81811015611fe557828155600101612d93565b815167ffffffffffffffff811115612dc057612dc06129d7565b612dd481612dce8454612bc5565b84612d60565b602080601f831160018114612e095760008415612df15750858301515b600019600386901b1c1916600185901b178555611fe5565b600085815260208120601f198616915b82811015612e3857888601518255948401946001909101908401612e19565b5085821015612e565787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60008351612e788184602088016127ca565b835190830190612e8c8183602088016127ca565b64173539b7b760d91b9101908152600501949350505050565b6020808252602a908201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646040820152692073616c65507269636560b01b606082015260800190565b600060208284031215612f0157600080fd5b8151612104816128ce565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612f3f908301846127ee565b9695505050505050565b600060208284031215612f5b57600080fd5b81516121048161273656fea26469706673582212200d731517094f7459c88fd5875a234fb9fdce761e32fd0c4ddc6e90de110f01ad64736f6c63430008130033697066733a2f2f516d614c4b5751636d4453374d4d4a55393477555a316668537a777a5257636f32454a4c734a76653150766a61732f68696464656e2e6a736f6eddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef00000000000000000000000000000000000000000000000000000000000000602c2406bf48dafefe74404514ddbcb6c60f1cb9d0dd7ddde88bbe338442f4a0d3960fa4a2b63d77f4bef0934e6ab3bcfefa2802d009b24de3078ad22075a6f41c0000000000000000000000000000000000000000000000000000000000000003706c630000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106103ad5760003560e01c80636c42c897116101e7578063c03ca8f21161010d578063e2668425116100a0578063f2fde38b1161006f578063f2fde38b14610a54578063f3bb1b6014610a74578063f6525e5514610a93578063fbdb849414610ab357600080fd5b8063e2668425146109de578063e985e9c5146109fe578063ec92cd5d14610a1e578063ee05688c14610a3457600080fd5b8063cb2b1c5e116100dc578063cb2b1c5e14610968578063d0393ce914610988578063d5abeb01146109a8578063daaaa4ed146109be57600080fd5b8063c03ca8f2146108f2578063c2ca0ac514610908578063c627525514610928578063c87b56dd1461094857600080fd5b80638f6c644011610185578063a435ef2c11610154578063a435ef2c1461087c578063a945bf80146108a9578063b88d4fde146108bf578063bedb86fb146108d257600080fd5b80638f6c64401461081157806395d89b4114610827578063a0bcfc7f1461083c578063a22cb4651461085c57600080fd5b80637dc42975116101c15780637dc42975146107ad5780638456cb59146107c35780638a71bb2d146107dd5780638da5cb5b146107f357600080fd5b80636c42c8971461074b57806370a0823114610778578063715018a61461079857600080fd5b80633ccfd60b116102d757806347d7c7971161026a57806361d027b31161023957806361d027b3146106ec5780636352211e1461070257806366ee8d7b146107225780636b0db8711461073557600080fd5b806347d7c797146106805780634a18a663146106965780635b373b35146106a95780635f7b56cd146106d657600080fd5b806341f43434116102a657806341f43434146105fe5780634209a2e11461062057806342842e0e14610640578063438b63001461065357600080fd5b80633ccfd60b146105935780633dfc167f146105a85780634151e617146105c857806341d13c74146105e857600080fd5b806318160ddd1161034f5780632a55205a1161031e5780632a55205a1461050b5780632acc08df1461054a5780632db115441461056a5780632f6c1acd1461057d57600080fd5b806318160ddd146104af57806323b872dd146104cc578063278dbfd6146104df578063299a5300146104f557600080fd5b8063081812fc1161038b578063081812fc1461042b578063095ea7b31461046357806312f6c00a146104765780631638fef01461049a57600080fd5b806301ffc9a7146103b257806302fa7c47146103e757806306fdde0314610409575b600080fd5b3480156103be57600080fd5b506103d26103cd36600461274c565b610ad3565b60405190151581526020015b60405180910390f35b3480156103f357600080fd5b50610407610402366004612797565b610af3565b005b34801561041557600080fd5b5061041e610b09565b6040516103de919061281a565b34801561043757600080fd5b5061044b61044636600461282d565b610b9b565b6040516001600160a01b0390911681526020016103de565b610407610471366004612846565b610bdf565b34801561048257600080fd5b5061048c60235481565b6040519081526020016103de565b3480156104a657600080fd5b5061041e610bf8565b3480156104bb57600080fd5b50600154600054036000190161048c565b6104076104da366004612870565b610c86565b3480156104eb57600080fd5b5061048c601f5481565b34801561050157600080fd5b5061048c60225481565b34801561051757600080fd5b5061052b6105263660046128ac565b610cb1565b604080516001600160a01b0390931683526020830191909152016103de565b34801561055657600080fd5b506017546103d29062010000900460ff1681565b61040761057836600461282d565b610d5d565b34801561058957600080fd5b5061048c60105481565b34801561059f57600080fd5b50610407610ecc565b3480156105b457600080fd5b506104076105c33660046128dc565b610fc2565b3480156105d457600080fd5b506104076105e336600461282d565b610fe6565b3480156105f457600080fd5b5061048c600f5481565b34801561060a57600080fd5b5061044b6daaeb6d7670e522a718067333cd4e81565b34801561062c57600080fd5b5061040761063b36600461282d565b610ff3565b61040761064e366004612870565b611000565b34801561065f57600080fd5b5061067361066e3660046128f9565b611025565b6040516103de9190612914565b34801561068c57600080fd5b5061048c60135481565b6104076106a4366004612958565b61112c565b3480156106b557600080fd5b5061048c6106c43660046128f9565b601a6020526000908152604090205481565b3480156106e257600080fd5b5061048c60145481565b3480156106f857600080fd5b5061048c600d5481565b34801561070e57600080fd5b5061044b61071d36600461282d565b611448565b610407610730366004612958565b611453565b34801561074157600080fd5b5061048c60155481565b34801561075757600080fd5b5061048c6107663660046128f9565b601b6020526000908152604090205481565b34801561078457600080fd5b5061048c6107933660046128f9565b6116e9565b3480156107a457600080fd5b50610407611738565b3480156107b957600080fd5b5061048c60165481565b3480156107cf57600080fd5b506017546103d29060ff1681565b3480156107e957600080fd5b5061048c601d5481565b3480156107ff57600080fd5b506008546001600160a01b031661044b565b34801561081d57600080fd5b5061048c60205481565b34801561083357600080fd5b5061041e61174c565b34801561084857600080fd5b50610407610857366004612a63565b61175b565b34801561086857600080fd5b50610407610877366004612aac565b61176f565b34801561088857600080fd5b5061048c6108973660046128f9565b601c6020526000908152604090205481565b3480156108b557600080fd5b5061048c60125481565b6104076108cd366004612ae3565b611783565b3480156108de57600080fd5b506104076108ed3660046128dc565b6117a9565b3480156108fe57600080fd5b5061048c600e5481565b34801561091457600080fd5b5061040761092336600461282d565b6117c4565b34801561093457600080fd5b5061040761094336600461282d565b61189e565b34801561095457600080fd5b5061041e61096336600461282d565b6118ab565b34801561097457600080fd5b50610407610983366004612a63565b611a0b565b34801561099457600080fd5b506104076109a33660046128dc565b611a1f565b3480156109b457600080fd5b5061048c600c5481565b3480156109ca57600080fd5b506104076109d936600461282d565b611a41565b3480156109ea57600080fd5b506104076109f9366004612b5f565b611a4e565b348015610a0a57600080fd5b506103d2610a19366004612b9b565b611a61565b348015610a2a57600080fd5b5061048c60115481565b348015610a4057600080fd5b50610407610a4f36600461282d565b611a8f565b348015610a6057600080fd5b50610407610a6f3660046128f9565b611a9c565b348015610a8057600080fd5b506017546103d290610100900460ff1681565b348015610a9f57600080fd5b50610407610aae36600461282d565b611b15565b348015610abf57600080fd5b50610407610ace36600461282d565b611b22565b6000610ade82611b2f565b80610aed5750610aed82611b7d565b92915050565b610afb611bb2565b610b058282611c0c565b5050565b606060028054610b1890612bc5565b80601f0160208091040260200160405190810160405280929190818152602001828054610b4490612bc5565b8015610b915780601f10610b6657610100808354040283529160200191610b91565b820191906000526020600020905b815481529060010190602001808311610b7457829003601f168201915b5050505050905090565b6000610ba682611cc6565b610bc3576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b81610be981611cfb565b610bf38383611db4565b505050565b60198054610c0590612bc5565b80601f0160208091040260200160405190810160405280929190818152602001828054610c3190612bc5565b8015610c7e5780601f10610c5357610100808354040283529160200191610c7e565b820191906000526020600020905b815481529060010190602001808311610c6157829003601f168201915b505050505081565b826001600160a01b0381163314610ca057610ca033611cfb565b610cab848484611e54565b50505050565b6000828152600b602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b0316928201929092528291610d26575060408051808201909152600a546001600160a01b0381168252600160a01b90046001600160601b031660208201525b602081015160009061271090610d45906001600160601b031687612c15565b610d4f9190612c2c565b915196919550909350505050565b601754819060ff1615610d8b5760405162461bcd60e51b8152600401610d8290612c4e565b60405180910390fd5b600c5481610d9c6000546000190190565b610da69190612c7a565b1115610dc45760405162461bcd60e51b8152600401610d8290612c8d565b601754610100900460ff16158015610de5575060175462010000900460ff16155b610e315760405162461bcd60e51b815260206004820152601b60248201527f5075626c69632073616c6520686173206e6f74207374617274656400000000006044820152606401610d82565b601654336000908152601c6020526040902054610e4f908490612c7a565b1115610e6d5760405162461bcd60e51b8152600401610d8290612cc4565b81601254610e7b9190612c15565b341015610e9a5760405162461bcd60e51b8152600401610d8290612cf4565b610ea43383611fed565b336000908152601c602052604081208054849290610ec3908490612c7a565b90915550505050565b610ed4611bb2565b600073fc16449c03250f0580c7a330a9389044f350b6bb6064610ef847600f612c15565b610f029190612c2c565b604051600081818185875af1925050503d8060008114610f3e576040519150601f19603f3d011682016040523d82523d6000602084013e610f43565b606091505b5050905080610f5157600080fd5b6000610f656008546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d8060008114610faf576040519150601f19603f3d011682016040523d82523d6000602084013e610fb4565b606091505b5050905080610b0557600080fd5b610fca611bb2565b60178054911515620100000262ff000019909216919091179055565b610fee611bb2565b601f55565b610ffb611bb2565b601d55565b826001600160a01b038116331461101a5761101a33611cfb565b610cab848484612007565b60606000611032836116e9565b905060008167ffffffffffffffff81111561104f5761104f6129d7565b604051908082528060200260200182016040528015611078578160200160208202803683370190505b50905060016000805b84821080156110925750600c548311155b156111215760006110a284612022565b905080604001511580156110bf575080516001600160a01b031615155b156110c957805191505b876001600160a01b0316826001600160a01b03160361110e57838584815181106110f5576110f5612d1e565b60209081029190910101528261110a81612d34565b9350505b8361111881612d34565b94505050611081565b509195945050505050565b601754839060ff16156111515760405162461bcd60e51b8152600401610d8290612c4e565b600c54816111626000546000190190565b61116c9190612c7a565b111561118a5760405162461bcd60e51b8152600401610d8290612c8d565b601754610100900460ff166111e15760405162461bcd60e51b815260206004820152601f60248201527f47756172616e74656564206d696e7420686173206e6f742073746172746564006044820152606401610d82565b6040516bffffffffffffffffffffffff193360601b16602082015260009060340160405160208183030381529060405280519060200120905061125b84848080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050601f54915084905061209a565b6112985760405162461bcd60e51b815260206004820152600e60248201526d496e76616c69642070726f6f662160901b6044820152606401610d82565b601454336000908152601a60205260409020546112b6908790612c7a565b11156112d45760405162461bcd60e51b8152600401610d8290612cc4565b600e54856022546112e59190612c7a565b111561132f5760405162461bcd60e51b8152602060048201526019602482015278115e18d959591cc819dd585c985b9d19595908185b5bdd5b9d603a1b6044820152606401610d82565b601354336000908152601a60205260409020541061137957846010546113559190612c15565b3410156113745760405162461bcd60e51b8152600401610d8290612cf4565b6113e3565b336000908152601a6020526040812054611394908790612c7a565b90506013548111156113e1576000601354826113b09190612d4d565b9050806010546113c09190612c15565b3410156113df5760405162461bcd60e51b8152600401610d8290612cf4565b505b505b6113ed3386611fed565b336000908152601a60205260408120805487929061140c908490612c7a565b9250508190555084602260008282546114259190612c7a565b9091555050600e5460225403611441576017805461ff00191690555b5050505050565b6000610aed826120b0565b601754839060ff16156114785760405162461bcd60e51b8152600401610d8290612c4e565b600c54816114896000546000190190565b6114939190612c7a565b11156114b15760405162461bcd60e51b8152600401610d8290612c8d565b60175462010000900460ff166115095760405162461bcd60e51b815260206004820152601960248201527f46434653206d696e7420686173206e6f742073746172746564000000000000006044820152606401610d82565b6040516bffffffffffffffffffffffff193360601b16602082015260009060340160405160208183030381529060405280519060200120905061158384848080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050602054915084905061209a565b6115c05760405162461bcd60e51b815260206004820152600e60248201526d496e76616c69642070726f6f662160901b6044820152606401610d82565b601554336000908152601b60205260409020546115de908790612c7a565b11156115fc5760405162461bcd60e51b8152600401610d8290612cc4565b600f548560235461160d9190612c7a565b11156116575760405162461bcd60e51b8152602060048201526019602482015278115e18d959591cc819dd585c985b9d19595908185b5bdd5b9d603a1b6044820152606401610d82565b846011546116659190612c15565b3410156116845760405162461bcd60e51b8152600401610d8290612cf4565b61168e3386611fed565b336000908152601b6020526040812080548792906116ad908490612c7a565b9250508190555084602360008282546116c69190612c7a565b9091555050600f5460235403611441576017805462ff0000191690555050505050565b60006001600160a01b038216611712576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b611740611bb2565b61174a6000612126565b565b606060038054610b1890612bc5565b611763611bb2565b6018610b058282612da6565b8161177981611cfb565b610bf38383612178565b836001600160a01b038116331461179d5761179d33611cfb565b611441858585856121e4565b6117b1611bb2565b6017805460ff1916911515919091179055565b336117ce82611448565b6001600160a01b0316146118245760405162461bcd60e51b815260206004820181905260248201527f596f75277265206e6f7420746865206f776e6572206f662074686973204e46546044820152606401610d82565b6000818152601e602052604090205460ff16156118835760405162461bcd60e51b815260206004820152601760248201527f4e465420697320616c72656164792072657665616c65640000000000000000006044820152606401610d82565b6000908152601e60205260409020805460ff19166001179055565b6118a6611bb2565b601255565b60606118b682611cc6565b6119025760405162461bcd60e51b815260206004820152601860248201527f5468617420746f6b656e20646f65736e277420657869737400000000000000006044820152606401610d82565b6000828152601e602052604090205460ff166119aa576019805461192590612bc5565b80601f016020809104026020016040519081016040528092919081815260200182805461195190612bc5565b801561199e5780601f106119735761010080835404028352916020019161199e565b820191906000526020600020905b81548152906001019060200180831161198157829003601f168201915b50505050509050919050565b60006119b4612228565b51116119cf5760405180602001604052806000815250610aed565b6119d7612228565b6119e083612237565b6040516020016119f1929190612e66565b60405160208183030381529060405292915050565b919050565b611a13611bb2565b6019610b058282612da6565b611a27611bb2565b601780549115156101000261ff0019909216919091179055565b611a49611bb2565b602055565b611a56611bb2565b610bf38383836122ca565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b611a97611bb2565b601055565b611aa4611bb2565b6001600160a01b038116611b095760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610d82565b611b1281612126565b50565b611b1d611bb2565b601155565b611b2a611bb2565b601655565b60006301ffc9a760e01b6001600160e01b031983161480611b6057506380ac58cd60e01b6001600160e01b03198316145b80610aed5750506001600160e01b031916635b5e139f60e01b1490565b60006001600160e01b0319821663152a902d60e11b1480610aed57506301ffc9a760e01b6001600160e01b0319831614610aed565b6008546001600160a01b0316331461174a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610d82565b6127106001600160601b0382161115611c375760405162461bcd60e51b8152600401610d8290612ea5565b6001600160a01b038216611c8d5760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606401610d82565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600a55565b600081600111158015611cda575060005482105b8015610aed575050600090815260046020526040902054600160e01b161590565b6daaeb6d7670e522a718067333cd4e3b15611b1257604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015611d68573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d8c9190612eef565b611b1257604051633b79c77360e21b81526001600160a01b0382166004820152602401610d82565b6000611dbf82611448565b9050336001600160a01b03821614611df857611ddb8133611a61565b611df8576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000611e5f826120b0565b9050836001600160a01b0316816001600160a01b031614611e925760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b03881690911417611edf57611ec28633611a61565b611edf57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516611f0657604051633a954ecd60e21b815260040160405180910390fd5b8015611f1157600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b84169003611fa357600184016000818152600460205260408120549003611fa1576000548114611fa15760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b610b05828260405180602001604052806000815250612395565b610bf383838360405180602001604052806000815250611783565b604080516080810182526000808252602082018190529181018290526060810191909152610aed612052836120b0565b604080516080810182526001600160a01b038316815260a083901c67ffffffffffffffff166020820152600160e01b831615159181019190915260e89190911c606082015290565b6000826120a785846123fb565b14949350505050565b6000818060011161210d5760005481101561210d5760008181526004602052604081205490600160e01b8216900361210b575b806000036121045750600019016000818152600460205260409020546120e3565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6121ef848484610c86565b6001600160a01b0383163b15610cab5761220b84848484612448565b610cab576040516368d2bf6b60e11b815260040160405180910390fd5b606060188054610b1890612bc5565b6060600061224483612534565b600101905060008167ffffffffffffffff811115612264576122646129d7565b6040519080825280601f01601f19166020018201604052801561228e576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461229857509392505050565b6127106001600160601b03821611156122f55760405162461bcd60e51b8152600401610d8290612ea5565b6001600160a01b03821661234b5760405162461bcd60e51b815260206004820152601b60248201527f455243323938313a20496e76616c696420706172616d657465727300000000006044820152606401610d82565b6040805180820182526001600160a01b0393841681526001600160601b0392831660208083019182526000968752600b90529190942093519051909116600160a01b029116179055565b61239f838361260c565b6001600160a01b0383163b15610bf3576000548281035b6123c96000868380600101945086612448565b6123e6576040516368d2bf6b60e11b815260040160405180910390fd5b8181106123b657816000541461144157600080fd5b600081815b84518110156124405761242c8286838151811061241f5761241f612d1e565b602002602001015161270a565b91508061243881612d34565b915050612400565b509392505050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029061247d903390899088908890600401612f0c565b6020604051808303816000875af19250505080156124b8575060408051601f3d908101601f191682019092526124b591810190612f49565b60015b612516573d8080156124e6576040519150601f19603f3d011682016040523d82523d6000602084013e6124eb565b606091505b50805160000361250e576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106125735772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef8100000000831061259f576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc1000083106125bd57662386f26fc10000830492506010015b6305f5e10083106125d5576305f5e100830492506008015b61271083106125e957612710830492506004015b606483106125fb576064830492506002015b600a8310610aed5760010192915050565b60008054908290036126315760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b8181146126e057808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a46001016126a8565b508160000361270157604051622e076360e81b815260040160405180910390fd5b60005550505050565b6000818310612726576000828152602084905260409020612104565b5060009182526020526040902090565b6001600160e01b031981168114611b1257600080fd5b60006020828403121561275e57600080fd5b813561210481612736565b80356001600160a01b0381168114611a0657600080fd5b80356001600160601b0381168114611a0657600080fd5b600080604083850312156127aa57600080fd5b6127b383612769565b91506127c160208401612780565b90509250929050565b60005b838110156127e55781810151838201526020016127cd565b50506000910152565b600081518084526128068160208601602086016127ca565b601f01601f19169290920160200192915050565b60208152600061210460208301846127ee565b60006020828403121561283f57600080fd5b5035919050565b6000806040838503121561285957600080fd5b61286283612769565b946020939093013593505050565b60008060006060848603121561288557600080fd5b61288e84612769565b925061289c60208501612769565b9150604084013590509250925092565b600080604083850312156128bf57600080fd5b50508035926020909101359150565b8015158114611b1257600080fd5b6000602082840312156128ee57600080fd5b8135612104816128ce565b60006020828403121561290b57600080fd5b61210482612769565b6020808252825182820181905260009190848201906040850190845b8181101561294c57835183529284019291840191600101612930565b50909695505050505050565b60008060006040848603121561296d57600080fd5b83359250602084013567ffffffffffffffff8082111561298c57600080fd5b818601915086601f8301126129a057600080fd5b8135818111156129af57600080fd5b8760208260051b85010111156129c457600080fd5b6020830194508093505050509250925092565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115612a0857612a086129d7565b604051601f8501601f19908116603f01168101908282118183101715612a3057612a306129d7565b81604052809350858152868686011115612a4957600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215612a7557600080fd5b813567ffffffffffffffff811115612a8c57600080fd5b8201601f81018413612a9d57600080fd5b61252c848235602084016129ed565b60008060408385031215612abf57600080fd5b612ac883612769565b91506020830135612ad8816128ce565b809150509250929050565b60008060008060808587031215612af957600080fd5b612b0285612769565b9350612b1060208601612769565b925060408501359150606085013567ffffffffffffffff811115612b3357600080fd5b8501601f81018713612b4457600080fd5b612b53878235602084016129ed565b91505092959194509250565b600080600060608486031215612b7457600080fd5b83359250612b8460208501612769565b9150612b9260408501612780565b90509250925092565b60008060408385031215612bae57600080fd5b612bb783612769565b91506127c160208401612769565b600181811c90821680612bd957607f821691505b602082108103612bf957634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8082028115828204841417610aed57610aed612bff565b600082612c4957634e487b7160e01b600052601260045260246000fd5b500490565b602080825260129082015271151a19481cd85b19481a5cc81c185d5cd95960721b604082015260600190565b80820180821115610aed57610aed612bff565b60208082526019908201527f4578636565647320636f6c6c656374696f6e20737570706c7900000000000000604082015260600190565b602080825260169082015275115e18d959591cc81b585e081c195c881dd85b1b195d60521b604082015260600190565b60208082526010908201526f4e6f7420656e6f7567682066756e647360801b604082015260600190565b634e487b7160e01b600052603260045260246000fd5b600060018201612d4657612d46612bff565b5060010190565b81810381811115610aed57610aed612bff565b601f821115610bf357600081815260208120601f850160051c81016020861015612d875750805b601f850160051c820191505b81811015611fe557828155600101612d93565b815167ffffffffffffffff811115612dc057612dc06129d7565b612dd481612dce8454612bc5565b84612d60565b602080601f831160018114612e095760008415612df15750858301515b600019600386901b1c1916600185901b178555611fe5565b600085815260208120601f198616915b82811015612e3857888601518255948401946001909101908401612e19565b5085821015612e565787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60008351612e788184602088016127ca565b835190830190612e8c8183602088016127ca565b64173539b7b760d91b9101908152600501949350505050565b6020808252602a908201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646040820152692073616c65507269636560b01b606082015260800190565b600060208284031215612f0157600080fd5b8151612104816128ce565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612f3f908301846127ee565b9695505050505050565b600060208284031215612f5b57600080fd5b81516121048161273656fea26469706673582212200d731517094f7459c88fd5875a234fb9fdce761e32fd0c4ddc6e90de110f01ad64736f6c63430008130033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000602c2406bf48dafefe74404514ddbcb6c60f1cb9d0dd7ddde88bbe338442f4a0d3960fa4a2b63d77f4bef0934e6ab3bcfefa2802d009b24de3078ad22075a6f41c0000000000000000000000000000000000000000000000000000000000000003706c630000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _baseMetadataUrl (string): plc
Arg [1] : _guaranteedWLList (bytes32): 0x2c2406bf48dafefe74404514ddbcb6c60f1cb9d0dd7ddde88bbe338442f4a0d3
Arg [2] : _FCFSList (bytes32): 0x960fa4a2b63d77f4bef0934e6ab3bcfefa2802d009b24de3078ad22075a6f41c
-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 2c2406bf48dafefe74404514ddbcb6c60f1cb9d0dd7ddde88bbe338442f4a0d3
Arg [2] : 960fa4a2b63d77f4bef0934e6ab3bcfefa2802d009b24de3078ad22075a6f41c
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [4] : 706c630000000000000000000000000000000000000000000000000000000000
Deployed Bytecode Sourcemap
100922:10693:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;110954:291;;;;;;;;;;-1:-1:-1;110954:291:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;110954:291:0;;;;;;;;106633:178;;;;;;;;;;-1:-1:-1;106633:178:0;;;;;:::i;:::-;;:::i;:::-;;46912:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;53403:218::-;;;;;;;;;;-1:-1:-1;53403:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;2322:32:1;;;2304:51;;2292:2;2277:18;53403:218:0;2158:203:1;110740:206:0;;;;;;:::i;:::-;;:::i;102348:26::-;;;;;;;;;;;;;;;;;;;2771:25:1;;;2759:2;2744:18;102348:26:0;2625:177:1;101677:101:0;;;;;;;;;;;;;:::i;42663:323::-;;;;;;;;;;-1:-1:-1;107194:1:0;42937:12;42724:7;42921:13;:28;-1:-1:-1;;42921:46:0;42663:323;;109835:205;;;;;;:::i;:::-;;:::i;102047:31::-;;;;;;;;;;;;;;;;102307:34;;;;;;;;;;;;;;;;4498:438;;;;;;;;;;-1:-1:-1;4498:438:0;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;3767:32:1;;;3749:51;;3831:2;3816:18;;3809:34;;;;3722:18;4498:438:0;3575:274:1;101611:23:0;;;;;;;;;;-1:-1:-1;101611:23:0;;;;;;;;;;;103237:508;;;;;;:::i;:::-;;:::i;101234:47::-;;;;;;;;;;;;;;;;111253:359;;;;;;;;;;;;;:::i;109410:79::-;;;;;;;;;;-1:-1:-1;109410:79:0;;;;;:::i;:::-;;:::i;109497:104::-;;;;;;;;;;-1:-1:-1;109497:104:0;;;;;:::i;:::-;;:::i;101193:32::-;;;;;;;;;;;;;;;;14692:143;;;;;;;;;;;;7108:42;14692:143;;109705:122;;;;;;;;;;-1:-1:-1;109705:122:0;;;;;:::i;:::-;;:::i;110048:213::-;;;;;;:::i;:::-;;:::i;107831:945::-;;;;;;;;;;-1:-1:-1;107831:945:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;101384:40::-;;;;;;;;;;;;;;;;103753:1446;;;;;;:::i;:::-;;:::i;101787:54::-;;;;;;;;;;-1:-1:-1;101787:54:0;;;;;:::i;:::-;;;;;;;;;;;;;;101431:33;;;;;;;;;;;;;;;;101114:28;;;;;;;;;;;;;;;;48305:152;;;;;;;;;;-1:-1:-1;48305:152:0;;;;;:::i;:::-;;:::i;105207:915::-;;;;;;:::i;:::-;;:::i;101471:26::-;;;;;;;;;;;;;;;;101848:46;;;;;;;;;;-1:-1:-1;101848:46:0;;;;;:::i;:::-;;;;;;;;;;;;;;43847:233;;;;;;;;;;-1:-1:-1;43847:233:0;;;;;:::i;:::-;;:::i;97016:103::-;;;;;;;;;;;;;:::i;101504:28::-;;;;;;;;;;;;;;;;101541:25;;;;;;;;;;-1:-1:-1;101541:25:0;;;;;;;;101956:32;;;;;;;;;;;;;;;;96368:87;;;;;;;;;;-1:-1:-1;96441:6:0;;-1:-1:-1;;;;;96441:6:0;96368:87;;102085:23;;;;;;;;;;;;;;;;47088:104;;;;;;;;;;;;;:::i;102881:98::-;;;;;;;;;;-1:-1:-1;102881:98:0;;;;;:::i;:::-;;:::i;110524:208::-;;;;;;;;;;-1:-1:-1;110524:208:0;;;;;:::i;:::-;;:::i;101901:48::-;;;;;;;;;;-1:-1:-1;101901:48:0;;;;;:::i;:::-;;;;;;;;;;;;;;101334:41;;;;;;;;;;;;;;;;110269:247;;;;;;:::i;:::-;;:::i;108784:81::-;;;;;;;;;;-1:-1:-1;108784:81:0;;;;;:::i;:::-;;:::i;101149:37::-;;;;;;;;;;;;;;;;106819:275;;;;;;;;;;-1:-1:-1;106819:275:0;;;;;:::i;:::-;;:::i;109097:100::-;;;;;;;;;;-1:-1:-1;109097:100:0;;;;;:::i;:::-;;:::i;107211:612::-;;;;;;;;;;-1:-1:-1;107211:612:0;;;;;:::i;:::-;;:::i;106130:161::-;;;;;;;;;;-1:-1:-1;106130:161:0;;;;;:::i;:::-;;:::i;109307:95::-;;;;;;;;;;-1:-1:-1;109307:95:0;;;;;:::i;:::-;;:::i;101076:31::-;;;;;;;;;;;;;;;;109609:88;;;;;;;;;;-1:-1:-1;109609:88:0;;;;;:::i;:::-;;:::i;106369:217::-;;;;;;;;;;-1:-1:-1;106369:217:0;;;;;:::i;:::-;;:::i;54352:164::-;;;;;;;;;;-1:-1:-1;54352:164:0;;;;;:::i;:::-;;:::i;101288:39::-;;;;;;;;;;;;;;;;108873:112;;;;;;;;;;-1:-1:-1;108873:112:0;;;;;:::i;:::-;;:::i;97274:201::-;;;;;;;;;;-1:-1:-1;97274:201:0;;;;;:::i;:::-;;:::i;101573:31::-;;;;;;;;;;-1:-1:-1;101573:31:0;;;;;;;;;;;108993:96;;;;;;;;;;-1:-1:-1;108993:96:0;;;;;:::i;:::-;;:::i;109205:94::-;;;;;;;;;;-1:-1:-1;109205:94:0;;;;;:::i;:::-;;:::i;110954:291::-;111102:4;111144:38;111170:11;111144:25;:38::i;:::-;:93;;;;111199:38;111225:11;111199:25;:38::i;:::-;111124:113;110954:291;-1:-1:-1;;110954:291:0:o;106633:178::-;96254:13;:11;:13::i;:::-;106754:49:::1;106773:9;106784:18;106754;:49::i;:::-;106633:178:::0;;:::o;46912:100::-;46966:13;46999:5;46992:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46912:100;:::o;53403:218::-;53479:7;53504:16;53512:7;53504;:16::i;:::-;53499:64;;53529:34;;-1:-1:-1;;;53529:34:0;;;;;;;;;;;53499:64;-1:-1:-1;53583:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;53583:30:0;;53403:218::o;110740:206::-;110880:8;16474:30;16495:8;16474:20;:30::i;:::-;110906:32:::1;110920:8;110930:7;110906:13;:32::i;:::-;110740:206:::0;;;:::o;101677:101::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;109835:205::-;109978:4;-1:-1:-1;;;;;16200:18:0;;16208:10;16200:18;16196:83;;16235:32;16256:10;16235:20;:32::i;:::-;109995:37:::1;110014:4;110020:2;110024:7;109995:18;:37::i;:::-;109835:205:::0;;;;:::o;4498:438::-;4593:7;4651:26;;;:17;:26;;;;;;;;4622:55;;;;;;;;;-1:-1:-1;;;;;4622:55:0;;;;;-1:-1:-1;;;4622:55:0;;;-1:-1:-1;;;;;4622:55:0;;;;;;;;4593:7;;4690:92;;-1:-1:-1;4741:29:0;;;;;;;;;4751:19;4741:29;-1:-1:-1;;;;;4741:29:0;;;;-1:-1:-1;;;4741:29:0;;-1:-1:-1;;;;;4741:29:0;;;;;4690:92;4831:23;;;;4794:21;;5302:5;;4819:35;;-1:-1:-1;;;;;4819:35:0;:9;:35;:::i;:::-;4818:57;;;;:::i;:::-;4896:16;;;;;-1:-1:-1;4498:438:0;;-1:-1:-1;;;;4498:438:0:o;103237:508::-;103055:5;;103340:10;;103055:5;;103054:6;103046:37;;;;-1:-1:-1;;;103046:37:0;;;;;;;:::i;:::-;;;;;;;;;103147:9;;103133:10;103116:14;43139:7;43330:13;-1:-1:-1;;43330:31:0;;43084:296;103116:14;:27;;;;:::i;:::-;:40;;103094:115;;;;-1:-1:-1;;;103094:115:0;;;;;;;:::i;:::-;103377:12:::1;::::0;::::1;::::0;::::1;;;103376:13;:22:::0;::::1;;;-1:-1:-1::0;103394:4:0::1;::::0;;;::::1;;;103393:5;103376:22;103368:62;;;::::0;-1:-1:-1;;;103368:62:0;;11053:2:1;103368:62:0::1;::::0;::::1;11035:21:1::0;11092:2;11072:18;;;11065:30;11131:29;11111:18;;;11104:57;11178:18;;103368:62:0::1;10851:351:1::0;103368:62:0::1;103505:9;::::0;103477:10:::1;103463:25;::::0;;;:13:::1;:25;::::0;;;;;:38:::1;::::0;103491:10;;103463:38:::1;:::i;:::-;:51;;103441:123;;;;-1:-1:-1::0;;;103441:123:0::1;;;;;;;:::i;:::-;103610:10;103596:11;;:24;;;;:::i;:::-;103583:9;:37;;103575:66;;;;-1:-1:-1::0;;;103575:66:0::1;;;;;;;:::i;:::-;103654:33;103664:10;103676;103654:9;:33::i;:::-;103712:10;103698:25;::::0;;;:13:::1;:25;::::0;;;;:39;;103727:10;;103698:25;:39:::1;::::0;103727:10;;103698:39:::1;:::i;:::-;::::0;;;-1:-1:-1;;;;103237:508:0:o;111253:359::-;96254:13;:11;:13::i;:::-;111304:8:::1;111326:42;111427:3;111397:26;:21;111421:2;111397:26;:::i;:::-;111396:34;;;;:::i;:::-;111318:127;::::0;::::1;::::0;;;;;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;111303:142;;;111464:3;111456:12;;;::::0;::::1;;111480;111506:7;96441:6:::0;;-1:-1:-1;;;;;96441:6:0;;96368:87;111506:7:::1;-1:-1:-1::0;;;;;111498:21:0::1;111527;111498:79;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;111479:98;;;111596:7;111588:16;;;::::0;::::1;109410:79:::0;96254:13;:11;:13::i;:::-;109468:4:::1;:13:::0;;;::::1;;::::0;::::1;-1:-1:-1::0;;109468:13:0;;::::1;::::0;;;::::1;::::0;;109410:79::o;109497:104::-;96254:13;:11;:13::i;:::-;109569:16:::1;:24:::0;109497:104::o;109705:122::-;96254:13;:11;:13::i;:::-;109781:17:::1;:38:::0;109705:122::o;110048:213::-;110195:4;-1:-1:-1;;;;;16200:18:0;;16208:10;16200:18;16196:83;;16235:32;16256:10;16235:20;:32::i;:::-;110212:41:::1;110235:4;110241:2;110245:7;110212:22;:41::i;107831:945::-:0;107918:16;107952:23;107978:17;107988:6;107978:9;:17::i;:::-;107952:43;;108006:30;108053:15;108039:30;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;108039:30:0;-1:-1:-1;108006:63:0;-1:-1:-1;107194:1:0;108080:22;;108208:528;108247:15;108229;:33;:64;;;;;108284:9;;108266:14;:27;;108229:64;108208:528;;;108320:31;108354:28;108367:14;108354:12;:28::i;:::-;108320:62;;108404:9;:16;;;108403:17;:49;;;;-1:-1:-1;108424:14:0;;-1:-1:-1;;;;;108424:28:0;;;108403:49;108399:125;;;108494:14;;;-1:-1:-1;108399:125:0;108566:6;-1:-1:-1;;;;;108544:28:0;:18;-1:-1:-1;;;;;108544:28:0;;108540:152;;108626:14;108593:13;108607:15;108593:30;;;;;;;;:::i;:::-;;;;;;;;;;:47;108659:17;;;;:::i;:::-;;;;108540:152;108708:16;;;;:::i;:::-;;;;108305:431;108208:528;;;-1:-1:-1;108755:13:0;;107831:945;-1:-1:-1;;;;;107831:945:0:o;103753:1446::-;103055:5;;103891:10;;103055:5;;103054:6;103046:37;;;;-1:-1:-1;;;103046:37:0;;;;;;;:::i;:::-;103147:9;;103133:10;103116:14;43139:7;43330:13;-1:-1:-1;;43330:31:0;;43084:296;103116:14;:27;;;;:::i;:::-;:40;;103094:115;;;;-1:-1:-1;;;103094:115:0;;;;;;;:::i;:::-;103927:12:::1;::::0;::::1;::::0;::::1;;;103919:56;;;::::0;-1:-1:-1;;;103919:56:0;;12587:2:1;103919:56:0::1;::::0;::::1;12569:21:1::0;12626:2;12606:18;;;12599:30;12665:33;12645:18;;;12638:61;12716:18;;103919:56:0::1;12385:355:1::0;103919:56:0::1;104011:28;::::0;-1:-1:-1;;104028:10:0::1;12894:2:1::0;12890:15;12886:53;104011:28:0::1;::::0;::::1;12874:66:1::0;103986:12:0::1;::::0;12956::1;;104011:28:0::1;;;;;;;;;;;;104001:39;;;;;;103986:54;;104073:56;104092:12;;104073:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;;104073:56:0::1;104106:16:::0;;-1:-1:-1;104124:4:0;;-1:-1:-1;104073:18:0::1;:56::i;:::-;104051:120;;;::::0;-1:-1:-1;;;104051:120:0;;13181:2:1;104051:120:0::1;::::0;::::1;13163:21:1::0;13220:2;13200:18;;;13193:30;-1:-1:-1;;;13239:18:1;;;13232:44;13293:18;;104051:120:0::1;12979:338:1::0;104051:120:0::1;104252:13;::::0;104224:10:::1;104204:31;::::0;;;:19:::1;:31;::::0;;;;;:44:::1;::::0;104238:10;;104204:44:::1;:::i;:::-;:61;;104182:133;;;;-1:-1:-1::0;;;104182:133:0::1;;;;;;;:::i;:::-;104384:16;;104370:10;104348:19;;:32;;;;:::i;:::-;:52;;104326:127;;;::::0;-1:-1:-1;;;104326:127:0;;13524:2:1;104326:127:0::1;::::0;::::1;13506:21:1::0;13563:2;13543:18;;;13536:30;-1:-1:-1;;;13582:18:1;;;13575:55;13647:18;;104326:127:0::1;13322:349:1::0;104326:127:0::1;104505:21;::::0;104490:10:::1;104470:31;::::0;;;:19:::1;:31;::::0;;;;;:56:::1;104466:502;;104584:10;104564:17;;:30;;;;:::i;:::-;104551:9;:43;;104543:72;;;;-1:-1:-1::0;;;104543:72:0::1;;;;;;;:::i;:::-;104466:502;;;104693:10;104648:22;104673:31:::0;;;:19:::1;:31;::::0;;;;;:44:::1;::::0;104707:10;;104673:44:::1;:::i;:::-;104648:69;;104753:21;;104736:14;:38;104732:225;;;104795:16;104831:21;;104814:14;:38;;;;:::i;:::-;104795:57;;104912:8;104892:17;;:28;;;;:::i;:::-;104879:9;:41;;104871:70;;;;-1:-1:-1::0;;;104871:70:0::1;;;;;;;:::i;:::-;104776:181;104732:225;104633:335;104466:502;104980:33;104990:10;105002;104980:9;:33::i;:::-;105046:10;105026:31;::::0;;;:19:::1;:31;::::0;;;;:45;;105061:10;;105026:31;:45:::1;::::0;105061:10;;105026:45:::1;:::i;:::-;;;;;;;;105105:10;105082:19;;:33;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;;105153:16:0::1;::::0;105130:19:::1;::::0;:39;105126:65:::1;;105171:12;:20:::0;;-1:-1:-1;;105171:20:0::1;::::0;;105126:65:::1;103908:1291;103753:1446:::0;;;;:::o;48305:152::-;48377:7;48420:27;48439:7;48420:18;:27::i;105207:915::-;103055:5;;105339:10;;103055:5;;103054:6;103046:37;;;;-1:-1:-1;;;103046:37:0;;;;;;;:::i;:::-;103147:9;;103133:10;103116:14;43139:7;43330:13;-1:-1:-1;;43330:31:0;;43084:296;103116:14;:27;;;;:::i;:::-;:40;;103094:115;;;;-1:-1:-1;;;103094:115:0;;;;;;;:::i;:::-;105375:4:::1;::::0;;;::::1;;;105367:42;;;::::0;-1:-1:-1;;;105367:42:0;;14011:2:1;105367:42:0::1;::::0;::::1;13993:21:1::0;14050:2;14030:18;;;14023:30;14089:27;14069:18;;;14062:55;14134:18;;105367:42:0::1;13809:349:1::0;105367:42:0::1;105445:28;::::0;-1:-1:-1;;105462:10:0::1;12894:2:1::0;12890:15;12886:53;105445:28:0::1;::::0;::::1;12874:66:1::0;105420:12:0::1;::::0;12956::1;;105445:28:0::1;;;;;;;;;;;;105435:39;;;;;;105420:54;;105507:48;105526:12;;105507:48;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;;105540:8:0::1;::::0;;-1:-1:-1;105550:4:0;;-1:-1:-1;105507:18:0::1;:48::i;:::-;105485:112;;;::::0;-1:-1:-1;;;105485:112:0;;13181:2:1;105485:112:0::1;::::0;::::1;13163:21:1::0;13220:2;13200:18;;;13193:30;-1:-1:-1;;;13239:18:1;;;13232:44;13293:18;;105485:112:0::1;12979:338:1::0;105485:112:0::1;105670:7;::::0;105642:10:::1;105630:23;::::0;;;:11:::1;:23;::::0;;;;;:36:::1;::::0;105656:10;;105630:36:::1;:::i;:::-;:47;;105608:119;;;;-1:-1:-1::0;;;105608:119:0::1;;;;;;;:::i;:::-;105788:10;;105774;105760:11;;:24;;;;:::i;:::-;:38;;105738:113;;;::::0;-1:-1:-1;;;105738:113:0;;13524:2:1;105738:113:0::1;::::0;::::1;13506:21:1::0;13563:2;13543:18;;;13536:30;-1:-1:-1;;;13582:18:1;;;13575:55;13647:18;;105738:113:0::1;13322:349:1::0;105738:113:0::1;105897:10;105885:9;;:22;;;;:::i;:::-;105872:9;:35;;105864:64;;;;-1:-1:-1::0;;;105864:64:0::1;;;;;;;:::i;:::-;105941:33;105951:10;105963;105941:9;:33::i;:::-;105999:10;105987:23;::::0;;;:11:::1;:23;::::0;;;;:37;;106014:10;;105987:23;:37:::1;::::0;106014:10;;105987:37:::1;:::i;:::-;;;;;;;;106050:10;106035:11;;:25;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;;106090:10:0::1;::::0;106075:11:::1;::::0;:25;106071:43:::1;;106102:4;:12:::0;;-1:-1:-1;;106102:12:0::1;::::0;;105356:766:::1;105207:915:::0;;;;:::o;43847:233::-;43919:7;-1:-1:-1;;;;;43943:19:0;;43939:60;;43971:28;;-1:-1:-1;;;43971:28:0;;;;;;;;;;;43939:60;-1:-1:-1;;;;;;44017:25:0;;;;;:18;:25;;;;;;38006:13;44017:55;;43847:233::o;97016:103::-;96254:13;:11;:13::i;:::-;97081:30:::1;97108:1;97081:18;:30::i;:::-;97016:103::o:0;47088:104::-;47144:13;47177:7;47170:14;;;;;:::i;102881:98::-;96254:13;:11;:13::i;:::-;102953:7:::1;:18;102963:8:::0;102953:7;:18:::1;:::i;110524:208::-:0;110655:8;16474:30;16495:8;16474:20;:30::i;:::-;110681:43:::1;110705:8;110715;110681:23;:43::i;110269:247::-:0;110444:4;-1:-1:-1;;;;;16200:18:0;;16208:10;16200:18;16196:83;;16235:32;16256:10;16235:20;:32::i;:::-;110461:47:::1;110484:4;110490:2;110494:7;110503:4;110461:22;:47::i;108784:81::-:0;96254:13;:11;:13::i;:::-;108843:5:::1;:14:::0;;-1:-1:-1;;108843:14:0::1;::::0;::::1;;::::0;;;::::1;::::0;;108784:81::o;106819:275::-;106914:10;106894:16;106902:7;106894;:16::i;:::-;-1:-1:-1;;;;;106894:30:0;;106872:112;;;;-1:-1:-1;;;106872:112:0;;16569:2:1;106872:112:0;;;16551:21:1;;;16588:18;;;16581:30;16647:34;16627:18;;;16620:62;16699:18;;106872:112:0;16367:356:1;106872:112:0;107004:17;;;;:8;:17;;;;;;;;107003:18;106995:54;;;;-1:-1:-1;;;106995:54:0;;16930:2:1;106995:54:0;;;16912:21:1;16969:2;16949:18;;;16942:30;17008:25;16988:18;;;16981:53;17051:18;;106995:54:0;16728:347:1;106995:54:0;107062:17;;;;:8;:17;;;;;:24;;-1:-1:-1;;107062:24:0;107082:4;107062:24;;;106819:275::o;109097:100::-;96254:13;:11;:13::i;:::-;109167:11:::1;:22:::0;109097:100::o;107211:612::-;107312:13;107351:16;107359:7;107351;:16::i;:::-;107343:53;;;;-1:-1:-1;;;107343:53:0;;17282:2:1;107343:53:0;;;17264:21:1;17321:2;17301:18;;;17294:30;17360:26;17340:18;;;17333:54;17404:18;;107343:53:0;17080:348:1;107343:53:0;107414:17;;;;:8;:17;;;;;;;;107409:406;;107440:17;107433:24;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;107211:612;;;:::o;107409:406::-;107537:1;107516:10;:8;:10::i;:::-;107510:24;:28;:305;;;;;;;;;;;;;;;;;107642:10;:8;:10::i;:::-;107683:18;:7;:16;:18::i;:::-;107595:171;;;;;;;;;:::i;:::-;;;;;;;;;;;;;107486:329;107211:612;-1:-1:-1;;107211:612:0:o;107409:406::-;107211:612;;;:::o;106130:161::-;96254:13;:11;:13::i;:::-;106245:17:::1;:38;106265:18:::0;106245:17;:38:::1;:::i;109307:95::-:0;96254:13;:11;:13::i;:::-;109373:12:::1;:21:::0;;;::::1;;;;-1:-1:-1::0;;109373:21:0;;::::1;::::0;;;::::1;::::0;;109307:95::o;109609:88::-;96254:13;:11;:13::i;:::-;109673:8:::1;:16:::0;109609:88::o;106369:217::-;96254:13;:11;:13::i;:::-;106521:57:::1;106538:8;106548:9;106559:18;106521:16;:57::i;54352:164::-:0;-1:-1:-1;;;;;54473:25:0;;;54449:4;54473:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;54352:164::o;108873:112::-;96254:13;:11;:13::i;:::-;108949:17:::1;:28:::0;108873:112::o;97274:201::-;96254:13;:11;:13::i;:::-;-1:-1:-1;;;;;97363:22:0;::::1;97355:73;;;::::0;-1:-1:-1;;;97355:73:0;;18303:2:1;97355:73:0::1;::::0;::::1;18285:21:1::0;18342:2;18322:18;;;18315:30;18381:34;18361:18;;;18354:62;-1:-1:-1;;;18432:18:1;;;18425:36;18478:19;;97355:73:0::1;18101:402:1::0;97355:73:0::1;97439:28;97458:8;97439:18;:28::i;:::-;97274:201:::0;:::o;108993:96::-;96254:13;:11;:13::i;:::-;109061:9:::1;:20:::0;108993:96::o;109205:94::-;96254:13;:11;:13::i;:::-;109272:9:::1;:19:::0;109205:94::o;46010:639::-;46095:4;-1:-1:-1;;;;;;;;;46419:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;46496:25:0;;;46419:102;:179;;;-1:-1:-1;;;;;;;;46573:25:0;-1:-1:-1;;;46573:25:0;;46010:639::o;4228:215::-;4330:4;-1:-1:-1;;;;;;4354:41:0;;-1:-1:-1;;;4354:41:0;;:81;;-1:-1:-1;;;;;;;;;;1891:40:0;;;4399:36;1782:157;96533:132;96441:6;;-1:-1:-1;;;;;96441:6:0;94999:10;96597:23;96589:68;;;;-1:-1:-1;;;96589:68:0;;18710:2:1;96589:68:0;;;18692:21:1;;;18729:18;;;18722:30;18788:34;18768:18;;;18761:62;18840:18;;96589:68:0;18508:356:1;5586:332:0;5302:5;-1:-1:-1;;;;;5689:33:0;;;;5681:88;;;;-1:-1:-1;;;5681:88:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;5788:22:0;;5780:60;;;;-1:-1:-1;;;5780:60:0;;19482:2:1;5780:60:0;;;19464:21:1;19521:2;19501:18;;;19494:30;19560:27;19540:18;;;19533:55;19605:18;;5780:60:0;19280:349:1;5780:60:0;5875:35;;;;;;;;;-1:-1:-1;;;;;5875:35:0;;;;;;-1:-1:-1;;;;;5875:35:0;;;;;;;;;;-1:-1:-1;;;5853:57:0;;;;:19;:57;5586:332::o;54774:282::-;54839:4;54895:7;107194:1;54876:26;;:66;;;;;54929:13;;54919:7;:23;54876:66;:153;;;;-1:-1:-1;;54980:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;54980:44:0;:49;;54774:282::o;16617:647::-;7108:42;16808:45;:49;16804:453;;17107:67;;-1:-1:-1;;;17107:67:0;;17158:4;17107:67;;;19846:34:1;-1:-1:-1;;;;;19916:15:1;;19896:18;;;19889:43;7108:42:0;;17107;;19781:18:1;;17107:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;17102:144;;17202:28;;-1:-1:-1;;;17202:28:0;;-1:-1:-1;;;;;2322:32:1;;17202:28:0;;;2304:51:1;2277:18;;17202:28:0;2158:203:1;52836:408:0;52925:13;52941:16;52949:7;52941;:16::i;:::-;52925:32;-1:-1:-1;94999:10:0;-1:-1:-1;;;;;52974:28:0;;;52970:175;;53022:44;53039:5;94999:10;54352:164;:::i;53022:44::-;53017:128;;53094:35;;-1:-1:-1;;;53094:35:0;;;;;;;;;;;53017:128;53157:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;53157:35:0;-1:-1:-1;;;;;53157:35:0;;;;;;;;;53208:28;;53157:24;;53208:28;;;;;;;52914:330;52836:408;;:::o;57042:2825::-;57184:27;57214;57233:7;57214:18;:27::i;:::-;57184:57;;57299:4;-1:-1:-1;;;;;57258:45:0;57274:19;-1:-1:-1;;;;;57258:45:0;;57254:86;;57312:28;;-1:-1:-1;;;57312:28:0;;;;;;;;;;;57254:86;57354:27;56150:24;;;:15;:24;;;;;56378:26;;94999:10;55775:30;;;-1:-1:-1;;;;;55468:28:0;;55753:20;;;55750:56;57540:180;;57633:43;57650:4;94999:10;54352:164;:::i;57633:43::-;57628:92;;57685:35;;-1:-1:-1;;;57685:35:0;;;;;;;;;;;57628:92;-1:-1:-1;;;;;57737:16:0;;57733:52;;57762:23;;-1:-1:-1;;;57762:23:0;;;;;;;;;;;57733:52;57934:15;57931:160;;;58074:1;58053:19;58046:30;57931:160;-1:-1:-1;;;;;58471:24:0;;;;;;;:18;:24;;;;;;58469:26;;-1:-1:-1;;58469:26:0;;;58540:22;;;;;;;;;58538:24;;-1:-1:-1;58538:24:0;;;51694:11;51669:23;51665:41;51652:63;-1:-1:-1;;;51652:63:0;58833:26;;;;:17;:26;;;;;:175;;;;-1:-1:-1;;;59128:47:0;;:52;;59124:627;;59233:1;59223:11;;59201:19;59356:30;;;:17;:30;;;;;;:35;;59352:384;;59494:13;;59479:11;:28;59475:242;;59641:30;;;;:17;:30;;;;;:52;;;59475:242;59182:569;59124:627;59798:7;59794:2;-1:-1:-1;;;;;59779:27:0;59788:4;-1:-1:-1;;;;;59779:27:0;;;;;;;;;;;59817:42;57173:2694;;;57042:2825;;;:::o;70914:112::-;70991:27;71001:2;71005:8;70991:27;;;;;;;;;;;;:9;:27::i;59963:193::-;60109:39;60126:4;60132:2;60136:7;60109:39;;;;;;;;;;;;:16;:39::i;48646:166::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48757:47:0;48776:27;48795:7;48776:18;:27::i;:::-;-1:-1:-1;;;;;;;;;;;;;50944:41:0;;;;38665:3;51030:33;;;50996:68;;-1:-1:-1;;;50996:68:0;-1:-1:-1;;;51094:24:0;;:29;;-1:-1:-1;;;51075:48:0;;;;39186:3;51163:28;;;;-1:-1:-1;;;51134:58:0;-1:-1:-1;50834:366:0;19267:190;19392:4;19445;19416:25;19429:5;19436:4;19416:12;:25::i;:::-;:33;;19267:190;-1:-1:-1;;;;19267:190:0:o;49460:1275::-;49527:7;49562;;107194:1;49611:23;49607:1061;;49664:13;;49657:4;:20;49653:1015;;;49702:14;49719:23;;;:17;:23;;;;;;;-1:-1:-1;;;49808:24:0;;:29;;49804:845;;50473:113;50480:6;50490:1;50480:11;50473:113;;-1:-1:-1;;;50551:6:0;50533:25;;;;:17;:25;;;;;;50473:113;;;50619:6;49460:1275;-1:-1:-1;;;49460:1275:0:o;49804:845::-;49679:989;49653:1015;50696:31;;-1:-1:-1;;;50696:31:0;;;;;;;;;;;97635:191;97728:6;;;-1:-1:-1;;;;;97745:17:0;;;-1:-1:-1;;;;;;97745:17:0;;;;;;;97778:40;;97728:6;;;97745:17;97728:6;;97778:40;;97709:16;;97778:40;97698:128;97635:191;:::o;53961:234::-;94999:10;54056:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;54056:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;54056:60:0;;;;;;;;;;54132:55;;540:41:1;;;54056:49:0;;94999:10;54132:55;;513:18:1;54132:55:0;;;;;;;53961:234;;:::o;60754:407::-;60929:31;60942:4;60948:2;60952:7;60929:12;:31::i;:::-;-1:-1:-1;;;;;60975:14:0;;;:19;60971:183;;61014:56;61045:4;61051:2;61055:7;61064:5;61014:30;:56::i;:::-;61009:145;;61098:40;;-1:-1:-1;;;61098:40:0;;;;;;;;;;;102773:100;102825:13;102858:7;102851:14;;;;;:::i;92346:716::-;92402:13;92453:14;92470:17;92481:5;92470:10;:17::i;:::-;92490:1;92470:21;92453:38;;92506:20;92540:6;92529:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;92529:18:0;-1:-1:-1;92506:41:0;-1:-1:-1;92671:28:0;;;92687:2;92671:28;92728:288;-1:-1:-1;;92760:5:0;-1:-1:-1;;;92897:2:0;92886:14;;92881:30;92760:5;92868:44;92958:2;92949:11;;;-1:-1:-1;92979:21:0;92728:288;92979:21;-1:-1:-1;93037:6:0;92346:716;-1:-1:-1;;;92346:716:0:o;6369:356::-;5302:5;-1:-1:-1;;;;;6487:33:0;;;;6479:88;;;;-1:-1:-1;;;6479:88:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;6586:22:0;;6578:62;;;;-1:-1:-1;;;6578:62:0;;20395:2:1;6578:62:0;;;20377:21:1;20434:2;20414:18;;;20407:30;20473:29;20453:18;;;20446:57;20520:18;;6578:62:0;20193:351:1;6578:62:0;6682:35;;;;;;;;-1:-1:-1;;;;;6682:35:0;;;;;-1:-1:-1;;;;;6682:35:0;;;;;;;;;;-1:-1:-1;6653:26:0;;;:17;:26;;;;;;:64;;;;;;;-1:-1:-1;;;6653:64:0;;;;;;6369:356::o;70141:689::-;70272:19;70278:2;70282:8;70272:5;:19::i;:::-;-1:-1:-1;;;;;70333:14:0;;;:19;70329:483;;70373:11;70387:13;70435:14;;;70468:233;70499:62;70538:1;70542:2;70546:7;;;;;;70555:5;70499:30;:62::i;:::-;70494:167;;70597:40;;-1:-1:-1;;;70597:40:0;;;;;;;;;;;70494:167;70696:3;70688:5;:11;70468:233;;70783:3;70766:13;;:20;70762:34;;70788:8;;;20134:296;20217:7;20260:4;20217:7;20275:118;20299:5;:12;20295:1;:16;20275:118;;;20348:33;20358:12;20372:5;20378:1;20372:8;;;;;;;;:::i;:::-;;;;;;;20348:9;:33::i;:::-;20333:48;-1:-1:-1;20313:3:0;;;;:::i;:::-;;;;20275:118;;;-1:-1:-1;20410:12:0;20134:296;-1:-1:-1;;;20134:296:0:o;63245:716::-;63429:88;;-1:-1:-1;;;63429:88:0;;63408:4;;-1:-1:-1;;;;;63429:45:0;;;;;:88;;94999:10;;63496:4;;63502:7;;63511:5;;63429:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;63429:88:0;;;;;;;;-1:-1:-1;;63429:88:0;;;;;;;;;;;;:::i;:::-;;;63425:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;63712:6;:13;63729:1;63712:18;63708:235;;63758:40;;-1:-1:-1;;;63758:40:0;;;;;;;;;;;63708:235;63901:6;63895:13;63886:6;63882:2;63878:15;63871:38;63425:529;-1:-1:-1;;;;;;63588:64:0;-1:-1:-1;;;63588:64:0;;-1:-1:-1;63425:529:0;63245:716;;;;;;:::o;89212:922::-;89265:7;;-1:-1:-1;;;89343:15:0;;89339:102;;-1:-1:-1;;;89379:15:0;;;-1:-1:-1;89423:2:0;89413:12;89339:102;89468:6;89459:5;:15;89455:102;;89504:6;89495:15;;;-1:-1:-1;89539:2:0;89529:12;89455:102;89584:6;89575:5;:15;89571:102;;89620:6;89611:15;;;-1:-1:-1;89655:2:0;89645:12;89571:102;89700:5;89691;:14;89687:99;;89735:5;89726:14;;;-1:-1:-1;89769:1:0;89759:11;89687:99;89813:5;89804;:14;89800:99;;89848:5;89839:14;;;-1:-1:-1;89882:1:0;89872:11;89800:99;89926:5;89917;:14;89913:99;;89961:5;89952:14;;;-1:-1:-1;89995:1:0;89985:11;89913:99;90039:5;90030;:14;90026:66;;90075:1;90065:11;90120:6;89212:922;-1:-1:-1;;89212:922:0:o;64423:2966::-;64496:20;64519:13;;;64547;;;64543:44;;64569:18;;-1:-1:-1;;;64569:18:0;;;;;;;;;;;64543:44;-1:-1:-1;;;;;65075:22:0;;;;;;:18;:22;;;;38144:2;65075:22;;;:71;;65113:32;65101:45;;65075:71;;;65389:31;;;:17;:31;;;;;-1:-1:-1;52125:15:0;;52099:24;52095:46;51694:11;51669:23;51665:41;51662:52;51652:63;;65389:173;;65624:23;;;;65389:31;;65075:22;;66389:25;65075:22;;66242:335;66903:1;66889:12;66885:20;66843:346;66944:3;66935:7;66932:16;66843:346;;67162:7;67152:8;67149:1;67122:25;67119:1;67116;67111:59;66997:1;66984:15;66843:346;;;66847:77;67222:8;67234:1;67222:13;67218:45;;67244:19;;-1:-1:-1;;;67244:19:0;;;;;;;;;;;67218:45;67280:13;:19;-1:-1:-1;110740:206:0;;;:::o;27174:149::-;27237:7;27268:1;27264;:5;:51;;27399:13;27493:15;;;27529:4;27522:15;;;27576:4;27560:21;;27264:51;;;-1:-1:-1;27399:13:0;27493:15;;;27529:4;27522:15;27576:4;27560:21;;;27174:149::o;14:131:1:-;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:173::-;660:20;;-1:-1:-1;;;;;709:31:1;;699:42;;689:70;;755:1;752;745:12;770:179;837:20;;-1:-1:-1;;;;;886:38:1;;876:49;;866:77;;939:1;936;929:12;954:258;1021:6;1029;1082:2;1070:9;1061:7;1057:23;1053:32;1050:52;;;1098:1;1095;1088:12;1050:52;1121:29;1140:9;1121:29;:::i;:::-;1111:39;;1169:37;1202:2;1191:9;1187:18;1169:37;:::i;:::-;1159:47;;954:258;;;;;:::o;1217:250::-;1302:1;1312:113;1326:6;1323:1;1320:13;1312:113;;;1402:11;;;1396:18;1383:11;;;1376:39;1348:2;1341:10;1312:113;;;-1:-1:-1;;1459:1:1;1441:16;;1434:27;1217:250::o;1472:271::-;1514:3;1552:5;1546:12;1579:6;1574:3;1567:19;1595:76;1664:6;1657:4;1652:3;1648:14;1641:4;1634:5;1630:16;1595:76;:::i;:::-;1725:2;1704:15;-1:-1:-1;;1700:29:1;1691:39;;;;1732:4;1687:50;;1472:271;-1:-1:-1;;1472:271:1:o;1748:220::-;1897:2;1886:9;1879:21;1860:4;1917:45;1958:2;1947:9;1943:18;1935:6;1917:45;:::i;1973:180::-;2032:6;2085:2;2073:9;2064:7;2060:23;2056:32;2053:52;;;2101:1;2098;2091:12;2053:52;-1:-1:-1;2124:23:1;;1973:180;-1:-1:-1;1973:180:1:o;2366:254::-;2434:6;2442;2495:2;2483:9;2474:7;2470:23;2466:32;2463:52;;;2511:1;2508;2501:12;2463:52;2534:29;2553:9;2534:29;:::i;:::-;2524:39;2610:2;2595:18;;;;2582:32;;-1:-1:-1;;;2366:254:1:o;2807:328::-;2884:6;2892;2900;2953:2;2941:9;2932:7;2928:23;2924:32;2921:52;;;2969:1;2966;2959:12;2921:52;2992:29;3011:9;2992:29;:::i;:::-;2982:39;;3040:38;3074:2;3063:9;3059:18;3040:38;:::i;:::-;3030:48;;3125:2;3114:9;3110:18;3097:32;3087:42;;2807:328;;;;;:::o;3322:248::-;3390:6;3398;3451:2;3439:9;3430:7;3426:23;3422:32;3419:52;;;3467:1;3464;3457:12;3419:52;-1:-1:-1;;3490:23:1;;;3560:2;3545:18;;;3532:32;;-1:-1:-1;3322:248:1:o;3854:118::-;3940:5;3933:13;3926:21;3919:5;3916:32;3906:60;;3962:1;3959;3952:12;3977:241;4033:6;4086:2;4074:9;4065:7;4061:23;4057:32;4054:52;;;4102:1;4099;4092:12;4054:52;4141:9;4128:23;4160:28;4182:5;4160:28;:::i;4647:186::-;4706:6;4759:2;4747:9;4738:7;4734:23;4730:32;4727:52;;;4775:1;4772;4765:12;4727:52;4798:29;4817:9;4798:29;:::i;4838:632::-;5009:2;5061:21;;;5131:13;;5034:18;;;5153:22;;;4980:4;;5009:2;5232:15;;;;5206:2;5191:18;;;4980:4;5275:169;5289:6;5286:1;5283:13;5275:169;;;5350:13;;5338:26;;5419:15;;;;5384:12;;;;5311:1;5304:9;5275:169;;;-1:-1:-1;5461:3:1;;4838:632;-1:-1:-1;;;;;;4838:632:1:o;5475:683::-;5570:6;5578;5586;5639:2;5627:9;5618:7;5614:23;5610:32;5607:52;;;5655:1;5652;5645:12;5607:52;5691:9;5678:23;5668:33;;5752:2;5741:9;5737:18;5724:32;5775:18;5816:2;5808:6;5805:14;5802:34;;;5832:1;5829;5822:12;5802:34;5870:6;5859:9;5855:22;5845:32;;5915:7;5908:4;5904:2;5900:13;5896:27;5886:55;;5937:1;5934;5927:12;5886:55;5977:2;5964:16;6003:2;5995:6;5992:14;5989:34;;;6019:1;6016;6009:12;5989:34;6072:7;6067:2;6057:6;6054:1;6050:14;6046:2;6042:23;6038:32;6035:45;6032:65;;;6093:1;6090;6083:12;6032:65;6124:2;6120;6116:11;6106:21;;6146:6;6136:16;;;;;5475:683;;;;;:::o;6163:127::-;6224:10;6219:3;6215:20;6212:1;6205:31;6255:4;6252:1;6245:15;6279:4;6276:1;6269:15;6295:632;6360:5;6390:18;6431:2;6423:6;6420:14;6417:40;;;6437:18;;:::i;:::-;6512:2;6506:9;6480:2;6566:15;;-1:-1:-1;;6562:24:1;;;6588:2;6558:33;6554:42;6542:55;;;6612:18;;;6632:22;;;6609:46;6606:72;;;6658:18;;:::i;:::-;6698:10;6694:2;6687:22;6727:6;6718:15;;6757:6;6749;6742:22;6797:3;6788:6;6783:3;6779:16;6776:25;6773:45;;;6814:1;6811;6804:12;6773:45;6864:6;6859:3;6852:4;6844:6;6840:17;6827:44;6919:1;6912:4;6903:6;6895;6891:19;6887:30;6880:41;;;;6295:632;;;;;:::o;6932:451::-;7001:6;7054:2;7042:9;7033:7;7029:23;7025:32;7022:52;;;7070:1;7067;7060:12;7022:52;7110:9;7097:23;7143:18;7135:6;7132:30;7129:50;;;7175:1;7172;7165:12;7129:50;7198:22;;7251:4;7243:13;;7239:27;-1:-1:-1;7229:55:1;;7280:1;7277;7270:12;7229:55;7303:74;7369:7;7364:2;7351:16;7346:2;7342;7338:11;7303:74;:::i;7388:315::-;7453:6;7461;7514:2;7502:9;7493:7;7489:23;7485:32;7482:52;;;7530:1;7527;7520:12;7482:52;7553:29;7572:9;7553:29;:::i;:::-;7543:39;;7632:2;7621:9;7617:18;7604:32;7645:28;7667:5;7645:28;:::i;:::-;7692:5;7682:15;;;7388:315;;;;;:::o;7708:667::-;7803:6;7811;7819;7827;7880:3;7868:9;7859:7;7855:23;7851:33;7848:53;;;7897:1;7894;7887:12;7848:53;7920:29;7939:9;7920:29;:::i;:::-;7910:39;;7968:38;8002:2;7991:9;7987:18;7968:38;:::i;:::-;7958:48;;8053:2;8042:9;8038:18;8025:32;8015:42;;8108:2;8097:9;8093:18;8080:32;8135:18;8127:6;8124:30;8121:50;;;8167:1;8164;8157:12;8121:50;8190:22;;8243:4;8235:13;;8231:27;-1:-1:-1;8221:55:1;;8272:1;8269;8262:12;8221:55;8295:74;8361:7;8356:2;8343:16;8338:2;8334;8330:11;8295:74;:::i;:::-;8285:84;;;7708:667;;;;;;;:::o;8380:326::-;8456:6;8464;8472;8525:2;8513:9;8504:7;8500:23;8496:32;8493:52;;;8541:1;8538;8531:12;8493:52;8577:9;8564:23;8554:33;;8606:38;8640:2;8629:9;8625:18;8606:38;:::i;:::-;8596:48;;8663:37;8696:2;8685:9;8681:18;8663:37;:::i;:::-;8653:47;;8380:326;;;;;:::o;8711:260::-;8779:6;8787;8840:2;8828:9;8819:7;8815:23;8811:32;8808:52;;;8856:1;8853;8846:12;8808:52;8879:29;8898:9;8879:29;:::i;:::-;8869:39;;8927:38;8961:2;8950:9;8946:18;8927:38;:::i;8976:380::-;9055:1;9051:12;;;;9098;;;9119:61;;9173:4;9165:6;9161:17;9151:27;;9119:61;9226:2;9218:6;9215:14;9195:18;9192:38;9189:161;;9272:10;9267:3;9263:20;9260:1;9253:31;9307:4;9304:1;9297:15;9335:4;9332:1;9325:15;9189:161;;8976:380;;;:::o;9361:127::-;9422:10;9417:3;9413:20;9410:1;9403:31;9453:4;9450:1;9443:15;9477:4;9474:1;9467:15;9493:168;9566:9;;;9597;;9614:15;;;9608:22;;9594:37;9584:71;;9635:18;;:::i;9798:217::-;9838:1;9864;9854:132;;9908:10;9903:3;9899:20;9896:1;9889:31;9943:4;9940:1;9933:15;9971:4;9968:1;9961:15;9854:132;-1:-1:-1;10000:9:1;;9798:217::o;10020:342::-;10222:2;10204:21;;;10261:2;10241:18;;;10234:30;-1:-1:-1;;;10295:2:1;10280:18;;10273:48;10353:2;10338:18;;10020:342::o;10367:125::-;10432:9;;;10453:10;;;10450:36;;;10466:18;;:::i;10497:349::-;10699:2;10681:21;;;10738:2;10718:18;;;10711:30;10777:27;10772:2;10757:18;;10750:55;10837:2;10822:18;;10497:349::o;11207:346::-;11409:2;11391:21;;;11448:2;11428:18;;;11421:30;-1:-1:-1;;;11482:2:1;11467:18;;11460:52;11544:2;11529:18;;11207:346::o;11558:340::-;11760:2;11742:21;;;11799:2;11779:18;;;11772:30;-1:-1:-1;;;11833:2:1;11818:18;;11811:46;11889:2;11874:18;;11558:340::o;12113:127::-;12174:10;12169:3;12165:20;12162:1;12155:31;12205:4;12202:1;12195:15;12229:4;12226:1;12219:15;12245:135;12284:3;12305:17;;;12302:43;;12325:18;;:::i;:::-;-1:-1:-1;12372:1:1;12361:13;;12245:135::o;13676:128::-;13743:9;;;13764:11;;;13761:37;;;13778:18;;:::i;14289:545::-;14391:2;14386:3;14383:11;14380:448;;;14427:1;14452:5;14448:2;14441:17;14497:4;14493:2;14483:19;14567:2;14555:10;14551:19;14548:1;14544:27;14538:4;14534:38;14603:4;14591:10;14588:20;14585:47;;;-1:-1:-1;14626:4:1;14585:47;14681:2;14676:3;14672:12;14669:1;14665:20;14659:4;14655:31;14645:41;;14736:82;14754:2;14747:5;14744:13;14736:82;;;14799:17;;;14780:1;14769:13;14736:82;;15010:1352;15136:3;15130:10;15163:18;15155:6;15152:30;15149:56;;;15185:18;;:::i;:::-;15214:97;15304:6;15264:38;15296:4;15290:11;15264:38;:::i;:::-;15258:4;15214:97;:::i;:::-;15366:4;;15430:2;15419:14;;15447:1;15442:663;;;;16149:1;16166:6;16163:89;;;-1:-1:-1;16218:19:1;;;16212:26;16163:89;-1:-1:-1;;14967:1:1;14963:11;;;14959:24;14955:29;14945:40;14991:1;14987:11;;;14942:57;16265:81;;15412:944;;15442:663;14236:1;14229:14;;;14273:4;14260:18;;-1:-1:-1;;15478:20:1;;;15596:236;15610:7;15607:1;15604:14;15596:236;;;15699:19;;;15693:26;15678:42;;15791:27;;;;15759:1;15747:14;;;;15626:19;;15596:236;;;15600:3;15860:6;15851:7;15848:19;15845:201;;;15921:19;;;15915:26;-1:-1:-1;;16004:1:1;16000:14;;;16016:3;15996:24;15992:37;15988:42;15973:58;15958:74;;15845:201;-1:-1:-1;;;;;16092:1:1;16076:14;;;16072:22;16059:36;;-1:-1:-1;15010:1352:1:o;17433:663::-;17713:3;17751:6;17745:13;17767:66;17826:6;17821:3;17814:4;17806:6;17802:17;17767:66;:::i;:::-;17896:13;;17855:16;;;;17918:70;17896:13;17855:16;17965:4;17953:17;;17918:70;:::i;:::-;-1:-1:-1;;;18010:20:1;;18039:22;;;18088:1;18077:13;;17433:663;-1:-1:-1;;;;17433:663:1:o;18869:406::-;19071:2;19053:21;;;19110:2;19090:18;;;19083:30;19149:34;19144:2;19129:18;;19122:62;-1:-1:-1;;;19215:2:1;19200:18;;19193:40;19265:3;19250:19;;18869:406::o;19943:245::-;20010:6;20063:2;20051:9;20042:7;20038:23;20034:32;20031:52;;;20079:1;20076;20069:12;20031:52;20111:9;20105:16;20130:28;20152:5;20130:28;:::i;20549:489::-;-1:-1:-1;;;;;20818:15:1;;;20800:34;;20870:15;;20865:2;20850:18;;20843:43;20917:2;20902:18;;20895:34;;;20965:3;20960:2;20945:18;;20938:31;;;20743:4;;20986:46;;21012:19;;21004:6;20986:46;:::i;:::-;20978:54;20549:489;-1:-1:-1;;;;;;20549:489:1:o;21043:249::-;21112:6;21165:2;21153:9;21144:7;21140:23;21136:32;21133:52;;;21181:1;21178;21171:12;21133:52;21213:9;21207:16;21232:30;21256:5;21232:30;:::i
Swarm Source
ipfs://0d731517094f7459c88fd5875a234fb9fdce761e32fd0c4ddc6e90de110f01ad
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.