Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
1,000 TOE
Holders
557
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 TOELoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
ToeBeans
Compiler Version
v0.8.13+commit.abaa5c0e
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-07-15 */ // File: @openzeppelin/contracts/security/ReentrancyGuard.sol // OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } } // File: @openzeppelin/contracts/utils/cryptography/MerkleProof.sol // OpenZeppelin Contracts (last updated v4.7.0) (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Tree proofs. * * The proofs can be generated using the JavaScript library * https://github.com/miguelmota/merkletreejs[merkletreejs]. * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled. * * See `test/utils/cryptography/MerkleProof.test.js` for some examples. * * WARNING: You should avoid using leaf values that are 64 bytes long prior to * hashing, or use a hash function other than keccak256 for hashing leaves. * This is because the concatenation of a sorted pair of internal nodes in * the merkle tree could be reinterpreted as a leaf value. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Calldata version of {verify} * * _Available since v4.7._ */ function verifyCalldata( bytes32[] calldata proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProofCalldata(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merkle tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. * * _Available since v4.4._ */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Calldata version of {processProof} * * _Available since v4.7._ */ function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Returns true if the `leaves` can be proved to be a part of a Merkle tree defined by * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}. * * _Available since v4.7._ */ function multiProofVerify( bytes32[] memory proof, bool[] memory proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProof(proof, proofFlags, leaves) == root; } /** * @dev Calldata version of {multiProofVerify} * * _Available since v4.7._ */ function multiProofVerifyCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProofCalldata(proof, proofFlags, leaves) == root; } /** * @dev Returns the root of a tree reconstructed from `leaves` and the sibling nodes in `proof`, * consuming from one or the other at each step according to the instructions given by * `proofFlags`. * * _Available since v4.7._ */ function processMultiProof( bytes32[] memory proof, bool[] memory proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof"); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { return hashes[totalHashes - 1]; } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } /** * @dev Calldata version of {processMultiProof} * * _Available since v4.7._ */ function processMultiProofCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof"); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { return hashes[totalHashes - 1]; } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) { return a < b ? _efficientHash(a, b) : _efficientHash(b, a); } function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) { /// @solidity memory-safe-assembly assembly { mstore(0x00, a) mstore(0x20, b) value := keccak256(0x00, 0x40) } } } // File: @openzeppelin/contracts/utils/Context.sol // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File: @openzeppelin/contracts/access/Ownable.sol // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // File: erc721a/contracts/IERC721A.sol // ERC721A Contracts v4.1.0 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of an ERC721A compliant contract. */ interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * The caller cannot approve to their own address. */ error ApproveToCaller(); /** * Cannot query the balance for the zero address. */ error BalanceQueryForZeroAddress(); /** * Cannot mint to the zero address. */ error MintToZeroAddress(); /** * The quantity of tokens minted must be more than zero. */ error MintZeroQuantity(); /** * The token does not exist. */ error OwnerQueryForNonexistentToken(); /** * The caller must own the token or be an approved operator. */ error TransferCallerNotOwnerNorApproved(); /** * The token must be owned by `from`. */ error TransferFromIncorrectOwner(); /** * Cannot safely transfer to a contract that does not implement the ERC721Receiver interface. */ error TransferToNonERC721ReceiverImplementer(); /** * Cannot transfer to the zero address. */ error TransferToZeroAddress(); /** * The token does not exist. */ error URIQueryForNonexistentToken(); /** * The `quantity` minted with ERC2309 exceeds the safety limit. */ error MintERC2309QuantityExceedsLimit(); /** * The `extraData` cannot be set on an unintialized ownership slot. */ error OwnershipNotInitializedForExtraData(); struct TokenOwnership { // The address of the owner. address addr; // Keeps track of 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 through `_extraData`. uint24 extraData; } /** * @dev Returns the total amount of tokens stored by the contract. * * Burned tokens are calculated here, use `_totalMinted()` if you want to count just minted tokens. */ function totalSupply() external view returns (uint256); // ============================== // 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); // ============================== // 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`. * * 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 calldata data ) external; /** * @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 ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); // ============================== // IERC721Metadata // ============================== /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); // ============================== // IERC2309 // ============================== /** * @dev Emitted when tokens in `fromTokenId` to `toTokenId` (inclusive) is transferred from `from` to `to`, * as defined in the ERC2309 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.1.0 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev ERC721 token receiver interface. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, * including the Metadata extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at `_startTokenId()` * (defaults to 0, e.g. 0, 1, 2, 3..). * * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is IERC721A { // 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 tokenId of the next token 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 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } /** * @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 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 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 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 returns (uint256) { return _burnCounter; } /** * @dev See {IERC165-supportsInterface}. */ 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: 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. } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view 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 { 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; } /** * 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 ownership that has an address and is not burned // before an ownership that does not have an address and is not burned. // Hence, curr will not underflow. // // We can directly compare the packed value. // If the address is zero, packed is zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * 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); } /** * Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around in the collection over time. */ function _ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @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 See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ 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 ''; } /** * @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)) } } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public override { address owner = ownerOf(tokenId); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { if (operator == _msgSenderERC721A()) revert ApproveToCaller(); _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { transferFrom(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev 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 (`_mint`), */ function _exists(uint256 tokenId) internal view returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & BITMASK_BURNED == 0; // and not burned. } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal { _safeMint(to, 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 { _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 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 { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); 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 tokenId = startTokenId; uint256 end = startTokenId + quantity; do { emit Transfer(address(0), to, tokenId++); } while (tokenId < end); _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 { 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 Returns the storage slot and value for the approved address of `tokenId`. */ function _getApprovedAddress(uint256 tokenId) private view returns (uint256 approvedAddressSlot, address approvedAddress) { mapping(uint256 => address) storage tokenApprovalsPtr = _tokenApprovals; // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId]`. assembly { // Compute the slot. mstore(0x00, tokenId) mstore(0x20, tokenApprovalsPtr.slot) approvedAddressSlot := keccak256(0x00, 0x40) // Load the slot's value from storage. approvedAddress := sload(approvedAddressSlot) } } /** * @dev Returns whether the `approvedAddress` is equals to `from` or `msgSender`. */ function _isOwnerOrApproved( address approvedAddress, address from, address msgSender ) private pure returns (bool result) { assembly { // Mask `from` to the lower 160 bits, in case the upper bits somehow aren't clean. from := and(from, BITMASK_ADDRESS) // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean. msgSender := and(msgSender, BITMASK_ADDRESS) // `msgSender == from || msgSender == approvedAddress`. result := or(eq(msgSender, from), eq(msgSender, approvedAddress)) } } /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedAddress(tokenId); // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isOwnerOrApproved(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 `_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) = _getApprovedAddress(tokenId); if (approvalCheck) { // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isOwnerOrApproved(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++; } } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool 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)) } } } } /** * @dev Directly sets the extra data for the ownership data `index`. */ function _setExtraDataAt(uint256 index, uint24 extraData) internal { 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 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; } /** * @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 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 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 returns (string memory ptr) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), // but we allocate 128 bytes to keep the free memory pointer 32-byte word aliged. // We will need 1 32-byte word to store the length, // and 3 32-byte words to store a maximum of 78 digits. Total: 32 + 3 * 32 = 128. ptr := add(mload(0x40), 128) // Update the free memory pointer to allocate. mstore(0x40, ptr) // Cache the end of the memory to calculate the length later. let end := ptr // We write the string from the rightmost digit to the leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // Costs a bit more than early returning for the zero case, // but cheaper in terms of deployment and overall runtime costs. for { // Initialize and perform the first pass without check. let temp := value // Move the pointer 1 byte leftwards to point to an empty character slot. ptr := sub(ptr, 1) // Write the character to the pointer. 48 is the ASCII index of '0'. mstore8(ptr, add(48, mod(temp, 10))) temp := div(temp, 10) } temp { // Keep dividing `temp` until zero. temp := div(temp, 10) } { // Body of the for loop. ptr := sub(ptr, 1) mstore8(ptr, add(48, mod(temp, 10))) } let length := sub(end, ptr) // Move the pointer 32 bytes leftwards to make room for the length. ptr := sub(ptr, 32) // Store the length. mstore(ptr, length) } } } // File: contracts/erc721.sol pragma solidity >=0.8.9 <0.9.0; contract OwnableDelegateProxy {} contract ProxyRegistry { mapping(address => OwnableDelegateProxy) public proxies; } contract ToeBeans is ERC721A, Ownable, ReentrancyGuard { uint256 constant public maxSupply = 1000; uint256 public cost = 0.1 ether; uint256 public maxMintAmountPerTx = 10; uint256 public startSaleTime = 1657866600; // Fri Jul 15 2022 06:30:00 GMT+0000 string public uriPrefix = ""; string public uriSuffix = ".json"; constructor() ERC721A("TOE BEANS", "TOE") { _mint(msg.sender, 1); _burn(0); } function mint(uint256 _amt) public payable nonReentrant { require(block.timestamp > startSaleTime, "Mint is not start"); require(msg.value >= cost * _amt, "Insufficient funds"); require(_amt > 0 && _amt <= maxMintAmountPerTx, "Invalid mint amount"); require(totalSupply() + _amt <= maxSupply, "Max supply exceeded"); _mint(_msgSender(), _amt); } function tokenURI(uint256 _tokenId) public view virtual override returns (string memory) { string memory uri = super.tokenURI(_tokenId); return string(abi.encodePacked(uri, uriSuffix)); } function setCost(uint256 _cost) public onlyOwner { cost = _cost; } function setMaxMintAmountPerTx(uint256 _maxMintAmountPerTx) public onlyOwner { maxMintAmountPerTx = _maxMintAmountPerTx; } function setUriPrefix(string memory _uriPrefix) public onlyOwner { uriPrefix = _uriPrefix; } function setUriSuffix(string memory _uriSuffix) public onlyOwner { uriSuffix = _uriSuffix; } function setStartSaleTime(uint256 _time) public onlyOwner { startSaleTime = _time; } function withdraw() public onlyOwner { (bool os1, ) = payable(0xed08Ad1bb4916450b11633f577E93C5bB2E2eEF6).call{value: address(this).balance * 5 / 10}(""); require(os1); (bool os2, ) = payable(0x642B322F32f7D59EB25Cd6152D6bBA85BB55025A).call{value: address(this).balance * 5 / 10}(""); require(os2); } function _baseURI() internal view virtual override returns (string memory) { return uriPrefix; } address private openSeaRegistryAddress; function setOpenSeaRegistryAddress(address a) public onlyOwner { openSeaRegistryAddress = a; } function isApprovedForAll(address owner, address operator) public override view returns (bool) { if (openSeaRegistryAddress != address(0) && address(ProxyRegistry(openSeaRegistryAddress).proxies(owner)) == operator) { return true; } return super.isApprovedForAll(owner, operator); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintAmountPerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amt","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_cost","type":"uint256"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxMintAmountPerTx","type":"uint256"}],"name":"setMaxMintAmountPerTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"a","type":"address"}],"name":"setOpenSeaRegistryAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_time","type":"uint256"}],"name":"setStartSaleTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uriPrefix","type":"string"}],"name":"setUriPrefix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uriSuffix","type":"string"}],"name":"setUriSuffix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startSaleTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uriPrefix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uriSuffix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
67016345785d8a0000600a908155600b556362d10968600c5560a06040819052600060808190526200003491600d91620004e9565b5060408051808201909152600580825264173539b7b760d91b60209092019182526200006391600e91620004e9565b503480156200007157600080fd5b506040805180820182526009815268544f45204245414e5360b81b602080830191825283518085019094526003845262544f4560e81b908401528151919291620000be91600291620004e9565b508051620000d4906003906020840190620004e9565b50506000805550620000e6336200010c565b60016009819055620000fa9033906200015e565b62000106600062000230565b620005f6565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6000546001600160a01b0383166200018857604051622e076360e81b815260040160405180910390fd5b81600003620001aa5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038316600081815260056020526040902080546801000000000000000185020190554260a01b6001841460e11b1717600082815260046020526040902055808281015b6040516001830192906001600160a01b0387169060009060008051602062001f91833981519152908290a4808210620001f45760005550505050565b6200023d81600062000240565b50565b60006200024d8362000383565b9050806000806200026c86600090815260066020526040902080549091565b915091508415620002b857338082146001600160a01b03851690911417620002b8576200029a8333620003f5565b620002b857604051632ce44b5f60e11b815260040160405180910390fd5b8015620002c457600082555b6001600160a01b038316600081815260056020526040902080546001600160801b030190554260a01b17600360e01b17600087815260046020526040812091909155600160e11b851690036200034c576001860160008181526004602052604081205490036200034a5760005481146200034a5760008181526004602052604090208590555b505b60405186906000906001600160a01b0386169060008051602062001f91833981519152908390a45050600180548101905550505050565b600081600054811015620003dc5760008181526004602052604081205490600160e01b82169003620003da575b80600003620003d3575060001901600081815260046020526040902054620003b0565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b600f546000906001600160a01b0316158015906200048c5750600f5460405163c455279160e01b81526001600160a01b03858116600483015284811692169063c455279190602401602060405180830381865afa1580156200045b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200048191906200058f565b6001600160a01b0316145b156200049b57506001620004b5565b620004b28383620004bb60201b62000fa71760201c565b90505b92915050565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b828054620004f790620005ba565b90600052602060002090601f0160209004810192826200051b576000855562000566565b82601f106200053657805160ff191683800117855562000566565b8280016001018555821562000566579182015b828111156200056657825182559160200191906001019062000549565b506200057492915062000578565b5090565b5b8082111562000574576000815560010162000579565b600060208284031215620005a257600080fd5b81516001600160a01b0381168114620003d357600080fd5b600181811c90821680620005cf57607f821691505b602082108103620005f057634e487b7160e01b600052602260045260246000fd5b50919050565b61198b80620006066000396000f3fe6080604052600436106101d85760003560e01c8063715018a611610102578063a961e9e811610095578063d051e4f711610064578063d051e4f714610511578063d5abeb0114610531578063e985e9c514610547578063f2fde38b1461056757600080fd5b8063a961e9e81461049b578063b071401b146104b1578063b88d4fde146104d1578063c87b56dd146104f157600080fd5b806394354fd0116100d157806394354fd01461043d57806395d89b4114610453578063a0712d6814610468578063a22cb4651461047b57600080fd5b8063715018a6146103ca5780637d16a3d4146103df5780637ec4a659146103ff5780638da5cb5b1461041f57600080fd5b806323b872dd1161017a5780635503a0e8116101495780635503a0e81461036057806362b99ad4146103755780636352211e1461038a57806370a08231146103aa57600080fd5b806323b872dd146102eb5780633ccfd60b1461030b57806342842e0e1461032057806344a0d68a1461034057600080fd5b8063095ea7b3116101b6578063095ea7b31461026c57806313faede61461028e57806316ba10e0146102b257806318160ddd146102d257600080fd5b806301ffc9a7146101dd57806306fdde0314610212578063081812fc14610234575b600080fd5b3480156101e957600080fd5b506101fd6101f8366004611455565b610587565b60405190151581526020015b60405180910390f35b34801561021e57600080fd5b506102276105d9565b60405161020991906114ca565b34801561024057600080fd5b5061025461024f3660046114dd565b61066b565b6040516001600160a01b039091168152602001610209565b34801561027857600080fd5b5061028c61028736600461150b565b6106af565b005b34801561029a57600080fd5b506102a4600a5481565b604051908152602001610209565b3480156102be57600080fd5b5061028c6102cd3660046115c3565b61074f565b3480156102de57600080fd5b50600154600054036102a4565b3480156102f757600080fd5b5061028c61030636600461160c565b61076e565b34801561031757600080fd5b5061028c610906565b34801561032c57600080fd5b5061028c61033b36600461160c565b610a08565b34801561034c57600080fd5b5061028c61035b3660046114dd565b610a28565b34801561036c57600080fd5b50610227610a35565b34801561038157600080fd5b50610227610ac3565b34801561039657600080fd5b506102546103a53660046114dd565b610ad0565b3480156103b657600080fd5b506102a46103c536600461164d565b610adb565b3480156103d657600080fd5b5061028c610b2a565b3480156103eb57600080fd5b5061028c6103fa36600461164d565b610b3e565b34801561040b57600080fd5b5061028c61041a3660046115c3565b610b68565b34801561042b57600080fd5b506008546001600160a01b0316610254565b34801561044957600080fd5b506102a4600b5481565b34801561045f57600080fd5b50610227610b83565b61028c6104763660046114dd565b610b92565b34801561048757600080fd5b5061028c61049636600461166a565b610d4a565b3480156104a757600080fd5b506102a4600c5481565b3480156104bd57600080fd5b5061028c6104cc3660046114dd565b610ddf565b3480156104dd57600080fd5b5061028c6104ec3660046116a8565b610dec565b3480156104fd57600080fd5b5061022761050c3660046114dd565b610e36565b34801561051d57600080fd5b5061028c61052c3660046114dd565b610e70565b34801561053d57600080fd5b506102a46103e881565b34801561055357600080fd5b506101fd610562366004611728565b610e7d565b34801561057357600080fd5b5061028c61058236600461164d565b610f2e565b60006301ffc9a760e01b6001600160e01b0319831614806105b857506380ac58cd60e01b6001600160e01b03198316145b806105d35750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600280546105e890611756565b80601f016020809104026020016040519081016040528092919081815260200182805461061490611756565b80156106615780601f1061063657610100808354040283529160200191610661565b820191906000526020600020905b81548152906001019060200180831161064457829003601f168201915b5050505050905090565b600061067682610fd5565b610693576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006106ba82610ad0565b9050336001600160a01b038216146106f3576106d68133610e7d565b6106f3576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b610757610ffc565b805161076a90600e9060208401906113a6565b5050565b600061077982611056565b9050836001600160a01b0316816001600160a01b0316146107ac5760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b038816909114176107f9576107dc8633610e7d565b6107f957604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661082057604051633a954ecd60e21b815260040160405180910390fd5b801561082b57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b841690036108bd576001840160008181526004602052604081205490036108bb5760005481146108bb5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b61090e610ffc565b600073ed08ad1bb4916450b11633f577e93c5bb2e2eef6600a6109324760056117a6565b61093c91906117c5565b604051600081818185875af1925050503d8060008114610978576040519150601f19603f3d011682016040523d82523d6000602084013e61097d565b606091505b505090508061098b57600080fd5b600073642b322f32f7d59eb25cd6152d6bba85bb55025a600a6109af4760056117a6565b6109b991906117c5565b604051600081818185875af1925050503d80600081146109f5576040519150601f19603f3d011682016040523d82523d6000602084013e6109fa565b606091505b505090508061076a57600080fd5b610a2383838360405180602001604052806000815250610dec565b505050565b610a30610ffc565b600a55565b600e8054610a4290611756565b80601f0160208091040260200160405190810160405280929190818152602001828054610a6e90611756565b8015610abb5780601f10610a9057610100808354040283529160200191610abb565b820191906000526020600020905b815481529060010190602001808311610a9e57829003601f168201915b505050505081565b600d8054610a4290611756565b60006105d382611056565b60006001600160a01b038216610b04576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610b32610ffc565b610b3c60006110bd565b565b610b46610ffc565b600f80546001600160a01b0319166001600160a01b0392909216919091179055565b610b70610ffc565b805161076a90600d9060208401906113a6565b6060600380546105e890611756565b600260095403610be95760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064015b60405180910390fd5b6002600955600c544211610c335760405162461bcd60e51b8152602060048201526011602482015270135a5b9d081a5cc81b9bdd081cdd185c9d607a1b6044820152606401610be0565b80600a54610c4191906117a6565b341015610c855760405162461bcd60e51b8152602060048201526012602482015271496e73756666696369656e742066756e647360701b6044820152606401610be0565b600081118015610c975750600b548111155b610cd95760405162461bcd60e51b8152602060048201526013602482015272125b9d985b1a59081b5a5b9d08185b5bdd5b9d606a1b6044820152606401610be0565b6103e881610cea6001546000540390565b610cf491906117e7565b1115610d385760405162461bcd60e51b815260206004820152601360248201527213585e081cdd5c1c1b1e48195e18d959591959606a1b6044820152606401610be0565b610d42338261110f565b506001600955565b336001600160a01b03831603610d735760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610de7610ffc565b600b55565b610df784848461076e565b6001600160a01b0383163b15610e3057610e13848484846111ef565b610e30576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b60606000610e43836112db565b905080600e604051602001610e599291906117ff565b604051602081830303815290604052915050919050565b610e78610ffc565b600c55565b600f546000906001600160a01b031615801590610f105750600f5460405163c455279160e01b81526001600160a01b03858116600483015284811692169063c455279190602401602060405180830381865afa158015610ee1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f0591906118af565b6001600160a01b0316145b15610f1d575060016105d3565b610f278383610fa7565b9392505050565b610f36610ffc565b6001600160a01b038116610f9b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610be0565b610fa4816110bd565b50565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b60008054821080156105d3575050600090815260046020526040902054600160e01b161590565b6008546001600160a01b03163314610b3c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610be0565b6000816000548110156110a45760008181526004602052604081205490600160e01b821690036110a2575b80600003610f27575060001901600081815260046020526040902054611081565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6000546001600160a01b03831661113857604051622e076360e81b815260040160405180910390fd5b816000036111595760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038316600081815260056020526040902080546801000000000000000185020190554260a01b6001841460e11b1717600082815260046020526040902055808281015b6040516001830192906001600160a01b038716906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a48082106111a35760005550505050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906112249033908990889088906004016118cc565b6020604051808303816000875af192505050801561125f575060408051601f3d908101601f1916820190925261125c91810190611909565b60015b6112bd573d80801561128d576040519150601f19603f3d011682016040523d82523d6000602084013e611292565b606091505b5080516000036112b5576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b60606112e682610fd5565b61130357604051630a14c4b560e41b815260040160405180910390fd5b600061130d611348565b9050805160000361132d5760405180602001604052806000815250610f27565b8061133784611357565b604051602001610e59929190611926565b6060600d80546105e890611756565b604080516080810191829052607f0190826030600a8206018353600a90045b801561139457600183039250600a81066030018353600a9004611376565b50819003601f19909101908152919050565b8280546113b290611756565b90600052602060002090601f0160209004810192826113d4576000855561141a565b82601f106113ed57805160ff191683800117855561141a565b8280016001018555821561141a579182015b8281111561141a5782518255916020019190600101906113ff565b5061142692915061142a565b5090565b5b80821115611426576000815560010161142b565b6001600160e01b031981168114610fa457600080fd5b60006020828403121561146757600080fd5b8135610f278161143f565b60005b8381101561148d578181015183820152602001611475565b83811115610e305750506000910152565b600081518084526114b6816020860160208601611472565b601f01601f19169290920160200192915050565b602081526000610f27602083018461149e565b6000602082840312156114ef57600080fd5b5035919050565b6001600160a01b0381168114610fa457600080fd5b6000806040838503121561151e57600080fd5b8235611529816114f6565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561156857611568611537565b604051601f8501601f19908116603f0116810190828211818310171561159057611590611537565b816040528093508581528686860111156115a957600080fd5b858560208301376000602087830101525050509392505050565b6000602082840312156115d557600080fd5b813567ffffffffffffffff8111156115ec57600080fd5b8201601f810184136115fd57600080fd5b6112d38482356020840161154d565b60008060006060848603121561162157600080fd5b833561162c816114f6565b9250602084013561163c816114f6565b929592945050506040919091013590565b60006020828403121561165f57600080fd5b8135610f27816114f6565b6000806040838503121561167d57600080fd5b8235611688816114f6565b91506020830135801515811461169d57600080fd5b809150509250929050565b600080600080608085870312156116be57600080fd5b84356116c9816114f6565b935060208501356116d9816114f6565b925060408501359150606085013567ffffffffffffffff8111156116fc57600080fd5b8501601f8101871361170d57600080fd5b61171c8782356020840161154d565b91505092959194509250565b6000806040838503121561173b57600080fd5b8235611746816114f6565b9150602083013561169d816114f6565b600181811c9082168061176a57607f821691505b60208210810361178a57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60008160001904831182151516156117c0576117c0611790565b500290565b6000826117e257634e487b7160e01b600052601260045260246000fd5b500490565b600082198211156117fa576117fa611790565b500190565b6000835160206118128285838901611472565b845491840191600090600181811c908083168061183057607f831692505b858310810361184d57634e487b7160e01b85526022600452602485fd5b80801561186157600181146118725761189f565b60ff1985168852838801955061189f565b60008b81526020902060005b858110156118975781548a82015290840190880161187e565b505083880195505b50939a9950505050505050505050565b6000602082840312156118c157600080fd5b8151610f27816114f6565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906118ff9083018461149e565b9695505050505050565b60006020828403121561191b57600080fd5b8151610f278161143f565b60008351611938818460208801611472565b83519083019061194c818360208801611472565b0194935050505056fea2646970667358221220e0b7cd008c8fec8ce464d0f6631b9c80d9007fc9315c0d2583ce7ee56fda6a9564736f6c634300080d0033ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef
Deployed Bytecode
0x6080604052600436106101d85760003560e01c8063715018a611610102578063a961e9e811610095578063d051e4f711610064578063d051e4f714610511578063d5abeb0114610531578063e985e9c514610547578063f2fde38b1461056757600080fd5b8063a961e9e81461049b578063b071401b146104b1578063b88d4fde146104d1578063c87b56dd146104f157600080fd5b806394354fd0116100d157806394354fd01461043d57806395d89b4114610453578063a0712d6814610468578063a22cb4651461047b57600080fd5b8063715018a6146103ca5780637d16a3d4146103df5780637ec4a659146103ff5780638da5cb5b1461041f57600080fd5b806323b872dd1161017a5780635503a0e8116101495780635503a0e81461036057806362b99ad4146103755780636352211e1461038a57806370a08231146103aa57600080fd5b806323b872dd146102eb5780633ccfd60b1461030b57806342842e0e1461032057806344a0d68a1461034057600080fd5b8063095ea7b3116101b6578063095ea7b31461026c57806313faede61461028e57806316ba10e0146102b257806318160ddd146102d257600080fd5b806301ffc9a7146101dd57806306fdde0314610212578063081812fc14610234575b600080fd5b3480156101e957600080fd5b506101fd6101f8366004611455565b610587565b60405190151581526020015b60405180910390f35b34801561021e57600080fd5b506102276105d9565b60405161020991906114ca565b34801561024057600080fd5b5061025461024f3660046114dd565b61066b565b6040516001600160a01b039091168152602001610209565b34801561027857600080fd5b5061028c61028736600461150b565b6106af565b005b34801561029a57600080fd5b506102a4600a5481565b604051908152602001610209565b3480156102be57600080fd5b5061028c6102cd3660046115c3565b61074f565b3480156102de57600080fd5b50600154600054036102a4565b3480156102f757600080fd5b5061028c61030636600461160c565b61076e565b34801561031757600080fd5b5061028c610906565b34801561032c57600080fd5b5061028c61033b36600461160c565b610a08565b34801561034c57600080fd5b5061028c61035b3660046114dd565b610a28565b34801561036c57600080fd5b50610227610a35565b34801561038157600080fd5b50610227610ac3565b34801561039657600080fd5b506102546103a53660046114dd565b610ad0565b3480156103b657600080fd5b506102a46103c536600461164d565b610adb565b3480156103d657600080fd5b5061028c610b2a565b3480156103eb57600080fd5b5061028c6103fa36600461164d565b610b3e565b34801561040b57600080fd5b5061028c61041a3660046115c3565b610b68565b34801561042b57600080fd5b506008546001600160a01b0316610254565b34801561044957600080fd5b506102a4600b5481565b34801561045f57600080fd5b50610227610b83565b61028c6104763660046114dd565b610b92565b34801561048757600080fd5b5061028c61049636600461166a565b610d4a565b3480156104a757600080fd5b506102a4600c5481565b3480156104bd57600080fd5b5061028c6104cc3660046114dd565b610ddf565b3480156104dd57600080fd5b5061028c6104ec3660046116a8565b610dec565b3480156104fd57600080fd5b5061022761050c3660046114dd565b610e36565b34801561051d57600080fd5b5061028c61052c3660046114dd565b610e70565b34801561053d57600080fd5b506102a46103e881565b34801561055357600080fd5b506101fd610562366004611728565b610e7d565b34801561057357600080fd5b5061028c61058236600461164d565b610f2e565b60006301ffc9a760e01b6001600160e01b0319831614806105b857506380ac58cd60e01b6001600160e01b03198316145b806105d35750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600280546105e890611756565b80601f016020809104026020016040519081016040528092919081815260200182805461061490611756565b80156106615780601f1061063657610100808354040283529160200191610661565b820191906000526020600020905b81548152906001019060200180831161064457829003601f168201915b5050505050905090565b600061067682610fd5565b610693576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006106ba82610ad0565b9050336001600160a01b038216146106f3576106d68133610e7d565b6106f3576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b610757610ffc565b805161076a90600e9060208401906113a6565b5050565b600061077982611056565b9050836001600160a01b0316816001600160a01b0316146107ac5760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b038816909114176107f9576107dc8633610e7d565b6107f957604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661082057604051633a954ecd60e21b815260040160405180910390fd5b801561082b57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b841690036108bd576001840160008181526004602052604081205490036108bb5760005481146108bb5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b61090e610ffc565b600073ed08ad1bb4916450b11633f577e93c5bb2e2eef6600a6109324760056117a6565b61093c91906117c5565b604051600081818185875af1925050503d8060008114610978576040519150601f19603f3d011682016040523d82523d6000602084013e61097d565b606091505b505090508061098b57600080fd5b600073642b322f32f7d59eb25cd6152d6bba85bb55025a600a6109af4760056117a6565b6109b991906117c5565b604051600081818185875af1925050503d80600081146109f5576040519150601f19603f3d011682016040523d82523d6000602084013e6109fa565b606091505b505090508061076a57600080fd5b610a2383838360405180602001604052806000815250610dec565b505050565b610a30610ffc565b600a55565b600e8054610a4290611756565b80601f0160208091040260200160405190810160405280929190818152602001828054610a6e90611756565b8015610abb5780601f10610a9057610100808354040283529160200191610abb565b820191906000526020600020905b815481529060010190602001808311610a9e57829003601f168201915b505050505081565b600d8054610a4290611756565b60006105d382611056565b60006001600160a01b038216610b04576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610b32610ffc565b610b3c60006110bd565b565b610b46610ffc565b600f80546001600160a01b0319166001600160a01b0392909216919091179055565b610b70610ffc565b805161076a90600d9060208401906113a6565b6060600380546105e890611756565b600260095403610be95760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064015b60405180910390fd5b6002600955600c544211610c335760405162461bcd60e51b8152602060048201526011602482015270135a5b9d081a5cc81b9bdd081cdd185c9d607a1b6044820152606401610be0565b80600a54610c4191906117a6565b341015610c855760405162461bcd60e51b8152602060048201526012602482015271496e73756666696369656e742066756e647360701b6044820152606401610be0565b600081118015610c975750600b548111155b610cd95760405162461bcd60e51b8152602060048201526013602482015272125b9d985b1a59081b5a5b9d08185b5bdd5b9d606a1b6044820152606401610be0565b6103e881610cea6001546000540390565b610cf491906117e7565b1115610d385760405162461bcd60e51b815260206004820152601360248201527213585e081cdd5c1c1b1e48195e18d959591959606a1b6044820152606401610be0565b610d42338261110f565b506001600955565b336001600160a01b03831603610d735760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610de7610ffc565b600b55565b610df784848461076e565b6001600160a01b0383163b15610e3057610e13848484846111ef565b610e30576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b60606000610e43836112db565b905080600e604051602001610e599291906117ff565b604051602081830303815290604052915050919050565b610e78610ffc565b600c55565b600f546000906001600160a01b031615801590610f105750600f5460405163c455279160e01b81526001600160a01b03858116600483015284811692169063c455279190602401602060405180830381865afa158015610ee1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f0591906118af565b6001600160a01b0316145b15610f1d575060016105d3565b610f278383610fa7565b9392505050565b610f36610ffc565b6001600160a01b038116610f9b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610be0565b610fa4816110bd565b50565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b60008054821080156105d3575050600090815260046020526040902054600160e01b161590565b6008546001600160a01b03163314610b3c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610be0565b6000816000548110156110a45760008181526004602052604081205490600160e01b821690036110a2575b80600003610f27575060001901600081815260046020526040902054611081565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6000546001600160a01b03831661113857604051622e076360e81b815260040160405180910390fd5b816000036111595760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038316600081815260056020526040902080546801000000000000000185020190554260a01b6001841460e11b1717600082815260046020526040902055808281015b6040516001830192906001600160a01b038716906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a48082106111a35760005550505050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906112249033908990889088906004016118cc565b6020604051808303816000875af192505050801561125f575060408051601f3d908101601f1916820190925261125c91810190611909565b60015b6112bd573d80801561128d576040519150601f19603f3d011682016040523d82523d6000602084013e611292565b606091505b5080516000036112b5576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b60606112e682610fd5565b61130357604051630a14c4b560e41b815260040160405180910390fd5b600061130d611348565b9050805160000361132d5760405180602001604052806000815250610f27565b8061133784611357565b604051602001610e59929190611926565b6060600d80546105e890611756565b604080516080810191829052607f0190826030600a8206018353600a90045b801561139457600183039250600a81066030018353600a9004611376565b50819003601f19909101908152919050565b8280546113b290611756565b90600052602060002090601f0160209004810192826113d4576000855561141a565b82601f106113ed57805160ff191683800117855561141a565b8280016001018555821561141a579182015b8281111561141a5782518255916020019190600101906113ff565b5061142692915061142a565b5090565b5b80821115611426576000815560010161142b565b6001600160e01b031981168114610fa457600080fd5b60006020828403121561146757600080fd5b8135610f278161143f565b60005b8381101561148d578181015183820152602001611475565b83811115610e305750506000910152565b600081518084526114b6816020860160208601611472565b601f01601f19169290920160200192915050565b602081526000610f27602083018461149e565b6000602082840312156114ef57600080fd5b5035919050565b6001600160a01b0381168114610fa457600080fd5b6000806040838503121561151e57600080fd5b8235611529816114f6565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561156857611568611537565b604051601f8501601f19908116603f0116810190828211818310171561159057611590611537565b816040528093508581528686860111156115a957600080fd5b858560208301376000602087830101525050509392505050565b6000602082840312156115d557600080fd5b813567ffffffffffffffff8111156115ec57600080fd5b8201601f810184136115fd57600080fd5b6112d38482356020840161154d565b60008060006060848603121561162157600080fd5b833561162c816114f6565b9250602084013561163c816114f6565b929592945050506040919091013590565b60006020828403121561165f57600080fd5b8135610f27816114f6565b6000806040838503121561167d57600080fd5b8235611688816114f6565b91506020830135801515811461169d57600080fd5b809150509250929050565b600080600080608085870312156116be57600080fd5b84356116c9816114f6565b935060208501356116d9816114f6565b925060408501359150606085013567ffffffffffffffff8111156116fc57600080fd5b8501601f8101871361170d57600080fd5b61171c8782356020840161154d565b91505092959194509250565b6000806040838503121561173b57600080fd5b8235611746816114f6565b9150602083013561169d816114f6565b600181811c9082168061176a57607f821691505b60208210810361178a57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60008160001904831182151516156117c0576117c0611790565b500290565b6000826117e257634e487b7160e01b600052601260045260246000fd5b500490565b600082198211156117fa576117fa611790565b500190565b6000835160206118128285838901611472565b845491840191600090600181811c908083168061183057607f831692505b858310810361184d57634e487b7160e01b85526022600452602485fd5b80801561186157600181146118725761189f565b60ff1985168852838801955061189f565b60008b81526020902060005b858110156118975781548a82015290840190880161187e565b505083880195505b50939a9950505050505050505050565b6000602082840312156118c157600080fd5b8151610f27816114f6565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906118ff9083018461149e565b9695505050505050565b60006020828403121561191b57600080fd5b8151610f278161143f565b60008351611938818460208801611472565b83519083019061194c818360208801611472565b0194935050505056fea2646970667358221220e0b7cd008c8fec8ce464d0f6631b9c80d9007fc9315c0d2583ce7ee56fda6a9564736f6c634300080d0033
Deployed Bytecode Sourcemap
60008:2615:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29669:615;;;;;;;;;;-1:-1:-1;29669:615:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;29669:615:0;;;;;;;;35316:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;37262:204::-;;;;;;;;;;-1:-1:-1;37262:204:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1692:32:1;;;1674:51;;1662:2;1647:18;37262:204:0;1528:203:1;36810:386:0;;;;;;;;;;-1:-1:-1;36810:386:0;;;;;:::i;:::-;;:::i;:::-;;60119:31;;;;;;;;;;;;;;;;;;;2338:25:1;;;2326:2;2311:18;60119:31:0;2192:177:1;61443:106:0;;;;;;;;;;-1:-1:-1;61443:106:0;;;;;:::i;:::-;;:::i;28723:315::-;;;;;;;;;;-1:-1:-1;28989:12:0;;28776:7;28973:13;:28;28723:315;;46527:2800;;;;;;;;;;-1:-1:-1;46527:2800:0;;;;;:::i;:::-;;:::i;61663:341::-;;;;;;;;;;;;;:::i;38152:185::-;;;;;;;;;;-1:-1:-1;38152:185:0;;;;;:::i;:::-;;:::i;61097:80::-;;;;;;;;;;-1:-1:-1;61097:80:0;;;;;:::i;:::-;;:::i;60324:33::-;;;;;;;;;;;;;:::i;60289:28::-;;;;;;;;;;;;;:::i;35105:144::-;;;;;;;;;;-1:-1:-1;35105:144:0;;;;;:::i;:::-;;:::i;30348:224::-;;;;;;;;;;-1:-1:-1;30348:224:0;;;;;:::i;:::-;;:::i;14260:103::-;;;;;;;;;;;;;:::i;62175:108::-;;;;;;;;;;-1:-1:-1;62175:108:0;;;;;:::i;:::-;;:::i;61329:106::-;;;;;;;;;;-1:-1:-1;61329:106:0;;;;;:::i;:::-;;:::i;13612:87::-;;;;;;;;;;-1:-1:-1;13685:6:0;;-1:-1:-1;;;;;13685:6:0;13612:87;;60157:38;;;;;;;;;;;;;;;;35485:104;;;;;;;;;;;;;:::i;60474:397::-;;;;;;:::i;:::-;;:::i;37538:308::-;;;;;;;;;;-1:-1:-1;37538:308:0;;;;;:::i;:::-;;:::i;60202:41::-;;;;;;;;;;;;;;;;61185:136;;;;;;;;;;-1:-1:-1;61185:136:0;;;;;:::i;:::-;;:::i;38408:399::-;;;;;;;;;;-1:-1:-1;38408:399:0;;;;;:::i;:::-;;:::i;60879:210::-;;;;;;;;;;-1:-1:-1;60879:210:0;;;;;:::i;:::-;;:::i;61557:98::-;;;;;;;;;;-1:-1:-1;61557:98:0;;;;;:::i;:::-;;:::i;60072:40::-;;;;;;;;;;;;60108:4;60072:40;;62291:329;;;;;;;;;;-1:-1:-1;62291:329:0;;;;;:::i;:::-;;:::i;14518:201::-;;;;;;;;;;-1:-1:-1;14518:201:0;;;;;:::i;:::-;;:::i;29669:615::-;29754:4;-1:-1:-1;;;;;;;;;30054:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;30131:25:0;;;30054:102;:179;;;-1:-1:-1;;;;;;;;;;30208:25:0;;;30054:179;30034:199;29669:615;-1:-1:-1;;29669:615:0:o;35316:100::-;35370:13;35403:5;35396:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35316:100;:::o;37262:204::-;37330:7;37355:16;37363:7;37355;:16::i;:::-;37350:64;;37380:34;;-1:-1:-1;;;37380:34:0;;;;;;;;;;;37350:64;-1:-1:-1;37434:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;37434:24:0;;37262:204::o;36810:386::-;36883:13;36899:16;36907:7;36899;:16::i;:::-;36883:32;-1:-1:-1;57710:10:0;-1:-1:-1;;;;;36932:28:0;;;36928:175;;36980:44;36997:5;57710:10;62291:329;:::i;36980:44::-;36975:128;;37052:35;;-1:-1:-1;;;37052:35:0;;;;;;;;;;;36975:128;37115:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;37115:29:0;-1:-1:-1;;;;;37115:29:0;;;;;;;;;37160:28;;37115:24;;37160:28;;;;;;;36872:324;36810:386;;:::o;61443:106::-;13498:13;:11;:13::i;:::-;61519:22;;::::1;::::0;:9:::1;::::0;:22:::1;::::0;::::1;::::0;::::1;:::i;:::-;;61443:106:::0;:::o;46527:2800::-;46661:27;46691;46710:7;46691:18;:27::i;:::-;46661:57;;46776:4;-1:-1:-1;;;;;46735:45:0;46751:19;-1:-1:-1;;;;;46735:45:0;;46731:86;;46789:28;;-1:-1:-1;;;46789:28:0;;;;;;;;;;;46731:86;46831:27;45257:21;;;45084:15;45299:4;45292:36;45381:4;45365:21;;45471:26;;57710:10;46224:30;;;-1:-1:-1;;;;;45922:26:0;;46203:19;;;46200:55;47010:174;;47097:43;47114:4;57710:10;62291:329;:::i;47097:43::-;47092:92;;47149:35;;-1:-1:-1;;;47149:35:0;;;;;;;;;;;47092:92;-1:-1:-1;;;;;47201:16:0;;47197:52;;47226:23;;-1:-1:-1;;;47226:23:0;;;;;;;;;;;47197:52;47398:15;47395:160;;;47538:1;47517:19;47510:30;47395:160;-1:-1:-1;;;;;47933:24:0;;;;;;;:18;:24;;;;;;47931:26;;-1:-1:-1;;47931:26:0;;;48002:22;;;;;;;;;48000:24;;-1:-1:-1;48000:24:0;;;35004:11;34980:22;34976:40;34963:62;-1:-1:-1;;;34963:62:0;48295:26;;;;:17;:26;;;;;:174;;;;-1:-1:-1;;;48589:46:0;;:51;;48585:626;;48693:1;48683:11;;48661:19;48816:30;;;:17;:30;;;;;;:35;;48812:384;;48954:13;;48939:11;:28;48935:242;;49101:30;;;;:17;:30;;;;;:52;;;48935:242;48642:569;48585:626;49258:7;49254:2;-1:-1:-1;;;;;49239:27:0;49248:4;-1:-1:-1;;;;;49239:27:0;;;;;;;;;;;46650:2677;;;46527:2800;;;:::o;61663:341::-;13498:13;:11;:13::i;:::-;61712:8:::1;61734:42;61818:2;61790:25;:21;61814:1;61790:25;:::i;:::-;:30;;;;:::i;:::-;61726:99;::::0;::::1;::::0;;;;;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61711:114;;;61844:3;61836:12;;;::::0;::::1;;61860:8;61882:42;61966:2;61938:25;:21;61962:1;61938:25;:::i;:::-;:30;;;;:::i;:::-;61874:99;::::0;::::1;::::0;;;;;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61859:114;;;61992:3;61984:12;;;::::0;::::1;38152:185:::0;38290:39;38307:4;38313:2;38317:7;38290:39;;;;;;;;;;;;:16;:39::i;:::-;38152:185;;;:::o;61097:80::-;13498:13;:11;:13::i;:::-;61157:4:::1;:12:::0;61097:80::o;60324:33::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;60289:28::-;;;;;;;:::i;35105:144::-;35169:7;35212:27;35231:7;35212:18;:27::i;30348:224::-;30412:7;-1:-1:-1;;;;;30436:19:0;;30432:60;;30464:28;;-1:-1:-1;;;30464:28:0;;;;;;;;;;;30432:60;-1:-1:-1;;;;;;30510:25:0;;;;;:18;:25;;;;;;24903:13;30510:54;;30348:224::o;14260:103::-;13498:13;:11;:13::i;:::-;14325:30:::1;14352:1;14325:18;:30::i;:::-;14260:103::o:0;62175:108::-;13498:13;:11;:13::i;:::-;62249:22:::1;:26:::0;;-1:-1:-1;;;;;;62249:26:0::1;-1:-1:-1::0;;;;;62249:26:0;;;::::1;::::0;;;::::1;::::0;;62175:108::o;61329:106::-;13498:13;:11;:13::i;:::-;61405:22;;::::1;::::0;:9:::1;::::0;:22:::1;::::0;::::1;::::0;::::1;:::i;35485:104::-:0;35541:13;35574:7;35567:14;;;;;:::i;60474:397::-;1812:1;2410:7;;:19;2402:63;;;;-1:-1:-1;;;2402:63:0;;7250:2:1;2402:63:0;;;7232:21:1;7289:2;7269:18;;;7262:30;7328:33;7308:18;;;7301:61;7379:18;;2402:63:0;;;;;;;;;1812:1;2543:7;:18;60567:13:::1;::::0;60549:15:::1;:31;60541:61;;;::::0;-1:-1:-1;;;60541:61:0;;7610:2:1;60541:61:0::1;::::0;::::1;7592:21:1::0;7649:2;7629:18;;;7622:30;-1:-1:-1;;;7668:18:1;;;7661:47;7725:18;;60541:61:0::1;7408:341:1::0;60541:61:0::1;60641:4;60634;;:11;;;;:::i;:::-;60621:9;:24;;60613:55;;;::::0;-1:-1:-1;;;60613:55:0;;7956:2:1;60613:55:0::1;::::0;::::1;7938:21:1::0;7995:2;7975:18;;;7968:30;-1:-1:-1;;;8014:18:1;;;8007:48;8072:18;;60613:55:0::1;7754:342:1::0;60613:55:0::1;60694:1;60687:4;:8;:38;;;;;60707:18;;60699:4;:26;;60687:38;60679:70;;;::::0;-1:-1:-1;;;60679:70:0;;8303:2:1;60679:70:0::1;::::0;::::1;8285:21:1::0;8342:2;8322:18;;;8315:30;-1:-1:-1;;;8361:18:1;;;8354:49;8420:18;;60679:70:0::1;8101:343:1::0;60679:70:0::1;60108:4;60784;60768:13;28989:12:::0;;28776:7;28973:13;:28;;28723:315;60768:13:::1;:20;;;;:::i;:::-;:33;;60760:65;;;::::0;-1:-1:-1;;;60760:65:0;;8784:2:1;60760:65:0::1;::::0;::::1;8766:21:1::0;8823:2;8803:18;;;8796:30;-1:-1:-1;;;8842:18:1;;;8835:49;8901:18;;60760:65:0::1;8582:343:1::0;60760:65:0::1;60838:25;57710:10:::0;60858:4:::1;60838:5;:25::i;:::-;-1:-1:-1::0;1768:1:0;2722:7;:22;60474:397::o;37538:308::-;57710:10;-1:-1:-1;;;;;37637:31:0;;;37633:61;;37677:17;;-1:-1:-1;;;37677:17:0;;;;;;;;;;;37633:61;57710:10;37707:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;37707:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;37707:60:0;;;;;;;;;;37783:55;;540:41:1;;;37707:49:0;;57710:10;37783:55;;513:18:1;37783:55:0;;;;;;;37538:308;;:::o;61185:136::-;13498:13;:11;:13::i;:::-;61273:18:::1;:40:::0;61185:136::o;38408:399::-;38575:31;38588:4;38594:2;38598:7;38575:12;:31::i;:::-;-1:-1:-1;;;;;38621:14:0;;;:19;38617:183;;38660:56;38691:4;38697:2;38701:7;38710:5;38660:30;:56::i;:::-;38655:145;;38744:40;;-1:-1:-1;;;38744:40:0;;;;;;;;;;;38655:145;38408:399;;;;:::o;60879:210::-;60953:13;60979:17;60999:24;61014:8;60999:14;:24::i;:::-;60979:44;;61065:3;61070:9;61048:32;;;;;;;;;:::i;:::-;;;;;;;;;;;;;61034:47;;;60879:210;;;:::o;61557:98::-;13498:13;:11;:13::i;:::-;61626::::1;:21:::0;61557:98::o;62291:329::-;62401:22;;62380:4;;-1:-1:-1;;;;;62401:22:0;:36;;;;:113;;-1:-1:-1;62463:22:0;;62449:52;;-1:-1:-1;;;62449:52:0;;-1:-1:-1;;;;;1692:32:1;;;62449:52:0;;;1674:51:1;62441:73:0;;;;62463:22;;62449:45;;1647:18:1;;62449:52:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;62441:73:0;;62401:113;62397:157;;;-1:-1:-1;62538:4:0;62531:11;;62397:157;62573:39;62596:5;62603:8;62573:22;:39::i;:::-;62566:46;62291:329;-1:-1:-1;;;62291:329:0:o;14518:201::-;13498:13;:11;:13::i;:::-;-1:-1:-1;;;;;14607:22:0;::::1;14599:73;;;::::0;-1:-1:-1;;;14599:73:0;;10883:2:1;14599:73:0::1;::::0;::::1;10865:21:1::0;10922:2;10902:18;;;10895:30;10961:34;10941:18;;;10934:62;-1:-1:-1;;;11012:18:1;;;11005:36;11058:19;;14599:73:0::1;10681:402:1::0;14599:73:0::1;14683:28;14702:8;14683:18;:28::i;:::-;14518:201:::0;:::o;37917:164::-;-1:-1:-1;;;;;38038:25:0;;;38014:4;38038:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;37917:164::o;39062:273::-;39119:4;39209:13;;39199:7;:23;39156:152;;;;-1:-1:-1;;39260:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;39260:43:0;:48;;39062:273::o;13777:132::-;13685:6;;-1:-1:-1;;;;;13685:6:0;57710:10;13841:23;13833:68;;;;-1:-1:-1;;;13833:68:0;;11290:2:1;13833:68:0;;;11272:21:1;;;11309:18;;;11302:30;11368:34;11348:18;;;11341:62;11420:18;;13833:68:0;11088:356:1;32022:1129:0;32089:7;32124;32226:13;;32219:4;:20;32215:869;;;32264:14;32281:23;;;:17;:23;;;;;;;-1:-1:-1;;;32370:23:0;;:28;;32366:699;;32889:113;32896:6;32906:1;32896:11;32889:113;;-1:-1:-1;;;32967:6:0;32949:25;;;;:17;:25;;;;;;32889:113;;32366:699;32241:843;32215:869;33112:31;;-1:-1:-1;;;33112:31:0;;;;;;;;;;;14879:191;14972:6;;;-1:-1:-1;;;;;14989:17:0;;;-1:-1:-1;;;;;;14989:17:0;;;;;;;15022:40;;14972:6;;;14989:17;14972:6;;15022:40;;14953:16;;15022:40;14942:128;14879:191;:::o;40893:1529::-;40958:20;40981:13;-1:-1:-1;;;;;41009:16:0;;41005:48;;41034:19;;-1:-1:-1;;;41034:19:0;;;;;;;;;;;41005:48;41068:8;41080:1;41068:13;41064:44;;41090:18;;-1:-1:-1;;;41090:18:0;;;;;;;;;;;41064:44;-1:-1:-1;;;;;41596:22:0;;;;;;:18;:22;;25040:2;41596:22;;:70;;41634:31;41622:44;;41596:70;;;35004:11;34980:22;34976:40;-1:-1:-1;36714:15:0;;36689:23;36685:45;34973:51;34963:62;41909:31;;;;:17;:31;;;;;:173;41927:12;42158:23;;;42196:101;42223:35;;42248:9;;;;;-1:-1:-1;;;;;42223:35:0;;;42240:1;;42223:35;;42240:1;;42223:35;42292:3;42282:7;:13;42196:101;;42313:13;:19;-1:-1:-1;38152:185:0;;;:::o;53278:716::-;53462:88;;-1:-1:-1;;;53462:88:0;;53441:4;;-1:-1:-1;;;;;53462:45:0;;;;;:88;;57710:10;;53529:4;;53535:7;;53544:5;;53462:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;53462:88:0;;;;;;;;-1:-1:-1;;53462:88:0;;;;;;;;;;;;:::i;:::-;;;53458:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53745:6;:13;53762:1;53745:18;53741:235;;53791:40;;-1:-1:-1;;;53791:40:0;;;;;;;;;;;53741:235;53934:6;53928:13;53919:6;53915:2;53911:15;53904:38;53458:529;-1:-1:-1;;;;;;53621:64:0;-1:-1:-1;;;53621:64:0;;-1:-1:-1;53458:529:0;53278:716;;;;;;:::o;35660:318::-;35733:13;35764:16;35772:7;35764;:16::i;:::-;35759:59;;35789:29;;-1:-1:-1;;;35789:29:0;;;;;;;;;;;35759:59;35831:21;35855:10;:8;:10::i;:::-;35831:34;;35889:7;35883:21;35908:1;35883:26;:87;;;;;;;;;;;;;;;;;35936:7;35945:18;35955:7;35945:9;:18::i;:::-;35919:45;;;;;;;;;:::i;62012:110::-;62072:13;62105:9;62098:16;;;;;:::i;57834:1960::-;58303:4;58297:11;;58310:3;58293:21;;58388:17;;;;59084:11;;;58963:5;59216:2;59230;59220:13;;59212:22;59084:11;59199:36;59271:2;59261:13;;58855:697;59290:4;58855:697;;;59481:1;59476:3;59472:11;59465:18;;59532:2;59526:4;59522:13;59518:2;59514:22;59509:3;59501:36;59385:2;59375:13;;58855:697;;;-1:-1:-1;59582:13:0;;;-1:-1:-1;;59697:12:0;;;59757:19;;;59697:12;57834:1960;-1:-1:-1;57834:1960:0:o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:131:1;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:258::-;664:1;674:113;688:6;685:1;682:13;674:113;;;764:11;;;758:18;745:11;;;738:39;710:2;703:10;674:113;;;805:6;802:1;799:13;796:48;;;-1:-1:-1;;840:1:1;822:16;;815:27;592:258::o;855:::-;897:3;935:5;929:12;962:6;957:3;950:19;978:63;1034:6;1027:4;1022:3;1018:14;1011:4;1004:5;1000:16;978:63;:::i;:::-;1095:2;1074:15;-1:-1:-1;;1070:29:1;1061:39;;;;1102:4;1057:50;;855:258;-1:-1:-1;;855:258:1:o;1118:220::-;1267:2;1256:9;1249:21;1230:4;1287:45;1328:2;1317:9;1313:18;1305:6;1287:45;:::i;1343:180::-;1402:6;1455:2;1443:9;1434:7;1430:23;1426:32;1423:52;;;1471:1;1468;1461:12;1423:52;-1:-1:-1;1494:23:1;;1343:180;-1:-1:-1;1343:180:1:o;1736:131::-;-1:-1:-1;;;;;1811:31:1;;1801:42;;1791:70;;1857:1;1854;1847:12;1872:315;1940:6;1948;2001:2;1989:9;1980:7;1976:23;1972:32;1969:52;;;2017:1;2014;2007:12;1969:52;2056:9;2043:23;2075:31;2100:5;2075:31;:::i;:::-;2125:5;2177:2;2162:18;;;;2149:32;;-1:-1:-1;;;1872:315:1:o;2374:127::-;2435:10;2430:3;2426:20;2423:1;2416:31;2466:4;2463:1;2456:15;2490:4;2487:1;2480:15;2506:632;2571:5;2601:18;2642:2;2634:6;2631:14;2628:40;;;2648:18;;:::i;:::-;2723:2;2717:9;2691:2;2777:15;;-1:-1:-1;;2773:24:1;;;2799:2;2769:33;2765:42;2753:55;;;2823:18;;;2843:22;;;2820:46;2817:72;;;2869:18;;:::i;:::-;2909:10;2905:2;2898:22;2938:6;2929:15;;2968:6;2960;2953:22;3008:3;2999:6;2994:3;2990:16;2987:25;2984:45;;;3025:1;3022;3015:12;2984:45;3075:6;3070:3;3063:4;3055:6;3051:17;3038:44;3130:1;3123:4;3114:6;3106;3102:19;3098:30;3091:41;;;;2506:632;;;;;:::o;3143:451::-;3212:6;3265:2;3253:9;3244:7;3240:23;3236:32;3233:52;;;3281:1;3278;3271:12;3233:52;3321:9;3308:23;3354:18;3346:6;3343:30;3340:50;;;3386:1;3383;3376:12;3340:50;3409:22;;3462:4;3454:13;;3450:27;-1:-1:-1;3440:55:1;;3491:1;3488;3481:12;3440:55;3514:74;3580:7;3575:2;3562:16;3557:2;3553;3549:11;3514:74;:::i;3599:456::-;3676:6;3684;3692;3745:2;3733:9;3724:7;3720:23;3716:32;3713:52;;;3761:1;3758;3751:12;3713:52;3800:9;3787:23;3819:31;3844:5;3819:31;:::i;:::-;3869:5;-1:-1:-1;3926:2:1;3911:18;;3898:32;3939:33;3898:32;3939:33;:::i;:::-;3599:456;;3991:7;;-1:-1:-1;;;4045:2:1;4030:18;;;;4017:32;;3599:456::o;4060:247::-;4119:6;4172:2;4160:9;4151:7;4147:23;4143:32;4140:52;;;4188:1;4185;4178:12;4140:52;4227:9;4214:23;4246:31;4271:5;4246:31;:::i;4312:416::-;4377:6;4385;4438:2;4426:9;4417:7;4413:23;4409:32;4406:52;;;4454:1;4451;4444:12;4406:52;4493:9;4480:23;4512:31;4537:5;4512:31;:::i;:::-;4562:5;-1:-1:-1;4619:2:1;4604:18;;4591:32;4661:15;;4654:23;4642:36;;4632:64;;4692:1;4689;4682:12;4632:64;4715:7;4705:17;;;4312:416;;;;;:::o;4733:795::-;4828:6;4836;4844;4852;4905:3;4893:9;4884:7;4880:23;4876:33;4873:53;;;4922:1;4919;4912:12;4873:53;4961:9;4948:23;4980:31;5005:5;4980:31;:::i;:::-;5030:5;-1:-1:-1;5087:2:1;5072:18;;5059:32;5100:33;5059:32;5100:33;:::i;:::-;5152:7;-1:-1:-1;5206:2:1;5191:18;;5178:32;;-1:-1:-1;5261:2:1;5246:18;;5233:32;5288:18;5277:30;;5274:50;;;5320:1;5317;5310:12;5274:50;5343:22;;5396:4;5388:13;;5384:27;-1:-1:-1;5374:55:1;;5425:1;5422;5415:12;5374:55;5448:74;5514:7;5509:2;5496:16;5491:2;5487;5483:11;5448:74;:::i;:::-;5438:84;;;4733:795;;;;;;;:::o;5533:388::-;5601:6;5609;5662:2;5650:9;5641:7;5637:23;5633:32;5630:52;;;5678:1;5675;5668:12;5630:52;5717:9;5704:23;5736:31;5761:5;5736:31;:::i;:::-;5786:5;-1:-1:-1;5843:2:1;5828:18;;5815:32;5856:33;5815:32;5856:33;:::i;5926:380::-;6005:1;6001:12;;;;6048;;;6069:61;;6123:4;6115:6;6111:17;6101:27;;6069:61;6176:2;6168:6;6165:14;6145:18;6142:38;6139:161;;6222:10;6217:3;6213:20;6210:1;6203:31;6257:4;6254:1;6247:15;6285:4;6282:1;6275:15;6139:161;;5926:380;;;:::o;6311:127::-;6372:10;6367:3;6363:20;6360:1;6353:31;6403:4;6400:1;6393:15;6427:4;6424:1;6417:15;6443:168;6483:7;6549:1;6545;6541:6;6537:14;6534:1;6531:21;6526:1;6519:9;6512:17;6508:45;6505:71;;;6556:18;;:::i;:::-;-1:-1:-1;6596:9:1;;6443:168::o;6616:217::-;6656:1;6682;6672:132;;6726:10;6721:3;6717:20;6714:1;6707:31;6761:4;6758:1;6751:15;6789:4;6786:1;6779:15;6672:132;-1:-1:-1;6818:9:1;;6616:217::o;8449:128::-;8489:3;8520:1;8516:6;8513:1;8510:13;8507:39;;;8526:18;;:::i;:::-;-1:-1:-1;8562:9:1;;8449:128::o;9056:1335::-;9232:3;9270:6;9264:13;9296:4;9309:51;9353:6;9348:3;9343:2;9335:6;9331:15;9309:51;:::i;:::-;9445:13;;9382:16;;;;9418:1;;9505;9527:18;;;;9580;;;;9607:93;;9685:4;9675:8;9671:19;9659:31;;9607:93;9748:2;9738:8;9735:16;9715:18;9712:40;9709:167;;-1:-1:-1;;;9775:33:1;;9831:4;9828:1;9821:15;9861:4;9782:3;9849:17;9709:167;9892:18;9919:110;;;;10043:1;10038:328;;;;9885:481;;9919:110;-1:-1:-1;;9954:24:1;;9940:39;;9999:20;;;;-1:-1:-1;9919:110:1;;10038:328;9003:1;8996:14;;;9040:4;9027:18;;10133:1;10147:169;10161:8;10158:1;10155:15;10147:169;;;10243:14;;10228:13;;;10221:37;10286:16;;;;10178:10;;10147:169;;;10151:3;;10347:8;10340:5;10336:20;10329:27;;9885:481;-1:-1:-1;10382:3:1;;9056:1335;-1:-1:-1;;;;;;;;;;9056:1335:1:o;10396:280::-;10495:6;10548:2;10536:9;10527:7;10523:23;10519:32;10516:52;;;10564:1;10561;10554:12;10516:52;10596:9;10590:16;10615:31;10640:5;10615:31;:::i;11449:489::-;-1:-1:-1;;;;;11718:15:1;;;11700:34;;11770:15;;11765:2;11750:18;;11743:43;11817:2;11802:18;;11795:34;;;11865:3;11860:2;11845:18;;11838:31;;;11643:4;;11886:46;;11912:19;;11904:6;11886:46;:::i;:::-;11878:54;11449:489;-1:-1:-1;;;;;;11449:489:1:o;11943:249::-;12012:6;12065:2;12053:9;12044:7;12040:23;12036:32;12033:52;;;12081:1;12078;12071:12;12033:52;12113:9;12107:16;12132:30;12156:5;12132:30;:::i;12197:470::-;12376:3;12414:6;12408:13;12430:53;12476:6;12471:3;12464:4;12456:6;12452:17;12430:53;:::i;:::-;12546:13;;12505:16;;;;12568:57;12546:13;12505:16;12602:4;12590:17;;12568:57;:::i;:::-;12641:20;;12197:470;-1:-1:-1;;;;12197:470:1:o
Swarm Source
ipfs://e0b7cd008c8fec8ce464d0f6631b9c80d9007fc9315c0d2583ce7ee56fda6a95
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.