ERC-721
Overview
Max Total Supply
67 Ghost
Holders
49
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 GhostLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
GhostGang
Compiler Version
v0.8.15+commit.e14f2714
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-08-12 */ // 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/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/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/GhostGang.sol //SPDX-License-Identifier: MIT pragma solidity ^0.8.12; /// @title Ghost Gang Smart Contract contract GhostGang is ERC721A, ReentrancyGuard, Ownable { /* Different states of the sale */ enum SaleWeek { One, Two, Three } SaleWeek private currentSaleWeek = SaleWeek.One; /* State Variables */ bytes32 private merkleRoot = 0x57db98774910ec3182923e14d0c9b5bcaed5989b802b316df8e1397067e5a764; string public baseURL; string public unrevealedURL; string public URLSuffix = ".json"; bool private revealed = false; bool private ownerNftsRevealed = false; uint256 private firstWeekQuantity = 33; uint256 private secondWeekQuantity = 33; uint256 private thirdWeekQuantity = 34; uint256 private mintPrice = 0.01 ether; bool private contractPaused = false; uint256 private maxPerWallet = 1; uint256 private constant TOTAL_SUPPLY = 100; mapping(address => uint) private nftsMinted; /* Runs when contract gets deployed */ constructor(string memory _baseURL, string memory _unrevealedURL) ERC721A("Ghost Gang", "Ghost"){ baseURL = _baseURL; unrevealedURL = _unrevealedURL; _safeMint(msg.sender, 1); } /* Public Functions */ function mint (uint256 _mintAmount, bytes32[] calldata _merkleProof) external payable nonReentrant mintRequirements(_mintAmount, _merkleProof) { _safeMint(msg.sender, _mintAmount); nftsMinted[msg.sender] += _mintAmount; } /* Inherited Functions */ //Returns the base URL. function _baseURI() internal view override returns (string memory) { return baseURL; } //Returns the url of an individual token. function tokenURI(uint256 tokenId) public view override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); //If the holder of the token is the owner it returns the unrevealed URL. If it is sold normal rules apply. if(ownerOf(tokenId) == owner() && !ownerNftsRevealed) return unrevealedURL; if(!revealed) return unrevealedURL; string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId), URLSuffix)) : ''; } //What token the collection starts at. function _startTokenId() internal pure override returns (uint256) { return 1; } /* Getters */ //Get the current sale week. function getCurrentSaleWeek() public view returns (SaleWeek) { return currentSaleWeek; } //Get the mint price. function getMintPrice() public view returns (uint256) { return mintPrice; } //Get max NFTs per wallet. function getMaxPerWallet() public view returns (uint256) { return maxPerWallet; } //Get the total supply. function getTotalSupply() public pure returns (uint256) { return TOTAL_SUPPLY; } //Get revealed status. function getRevealedStatus() public view returns (bool) { return revealed; } //Get NFTs minted by caller. function getNftsMintedByAddress() public view returns (uint256) { return nftsMinted[msg.sender]; } //Get total NFTs sold. function getTotalNftsLeft() public view returns (uint256) { return (TOTAL_SUPPLY - totalSupply()); } function getOwnerNftsRevealedStatus() public view returns (bool){ return ownerNftsRevealed; } /* Owner Functions */ //Set new URL for when the collection is revealed. function setNewBaseURL(string memory _newBaseURL) public onlyOwner { baseURL = _newBaseURL; } //Set new URL for the unrevealed collection. function setNewUnrevealedURL(string memory _newUnrevealedURL) public onlyOwner { unrevealedURL = _newUnrevealedURL; } //Set a new URL suffix. function setNewURLSuffix(string memory _newURLSuffix) public onlyOwner { URLSuffix = _newURLSuffix; } //Reveal the collection. function reveal() public onlyOwner { revealed = !revealed; } //Reveal owner NFTs. function revealOwnerNfts() public onlyOwner { ownerNftsRevealed = !ownerNftsRevealed; } //Set a new mintprice. function setNewMintPrice(uint256 _newMintPrice) public onlyOwner { mintPrice = _newMintPrice; } //Pause minting. function pauseContract() public onlyOwner { contractPaused = !contractPaused; } //Set a new max per wallet limit. function setNewMaxPerWallet(uint256 _newMaxPerWallet) public onlyOwner { maxPerWallet = _newMaxPerWallet; } //Set a new merkle root to update the whitelist. function setNewMerkleRoot(bytes32 _newMerkleRoot) public onlyOwner { merkleRoot = _newMerkleRoot; } //Start second sale week. function startSecondSaleWeek() public onlyOwner { currentSaleWeek = SaleWeek.Two; } //Start third sale week. function startThirdSaleWeek() public onlyOwner { currentSaleWeek = SaleWeek.Three; } //Mint unlimited amount to yourself for free, if you are the owner. function ownerMint(uint256 _mintAmount) public onlyOwner { _safeMint(msg.sender, _mintAmount); } //Makes owner able to mint to an address. function mintForAddress(address _addressToMintFor, uint256 _mintAmount) public onlyOwner { _safeMint(_addressToMintFor, _mintAmount); } //Withdraw the contract's funds. function withdrawContractFunds() public payable onlyOwner { (bool success, ) = payable(owner()).call{value: address(this).balance}(""); require(success, "Withdraw failed"); } /* Modifiers */ modifier mintRequirements(uint256 _mintAmount, bytes32[] calldata _merkleProof) { bytes32 leafNode = keccak256(abi.encodePacked(msg.sender)); require(!contractPaused, "Minting is currently paused"); require(_mintAmount > 0, "You can't mint 0 NFTs"); require(MerkleProof.verify(_merkleProof, merkleRoot, leafNode), "You are not whitelisted!"); require(nftsMinted[msg.sender] + _mintAmount <= maxPerWallet, "Max per wallet exceeded!"); require(nftsMinted[msg.sender] + _mintAmount <= TOTAL_SUPPLY, "All NFTs are sold out!"); require(msg.value >= _mintAmount * mintPrice, "You did not send enough ETH"); if(currentSaleWeek == SaleWeek.One){ require(_mintAmount + totalSupply() <= firstWeekQuantity, "First sale week is sold out!"); } else if(currentSaleWeek == SaleWeek.Two){ require(_mintAmount + totalSupply() <= secondWeekQuantity, "Second sale week is sold out!"); } else if(currentSaleWeek == SaleWeek.Three){ require(_mintAmount + totalSupply() <= thirdWeekQuantity, "Third sale week is sold out!"); } _; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_baseURL","type":"string"},{"internalType":"string","name":"_unrevealedURL","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"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":[],"name":"URLSuffix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"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":"baseURL","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getCurrentSaleWeek","outputs":[{"internalType":"enum GhostGang.SaleWeek","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMaxPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getNftsMintedByAddress","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getOwnerNftsRevealedStatus","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getRevealedStatus","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTotalNftsLeft","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTotalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","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":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"},{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_addressToMintFor","type":"address"},{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"mintForAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"ownerMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pauseContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealOwnerNfts","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":"string","name":"_newBaseURL","type":"string"}],"name":"setNewBaseURL","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newMaxPerWallet","type":"uint256"}],"name":"setNewMaxPerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_newMerkleRoot","type":"bytes32"}],"name":"setNewMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newMintPrice","type":"uint256"}],"name":"setNewMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newURLSuffix","type":"string"}],"name":"setNewURLSuffix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newUnrevealedURL","type":"string"}],"name":"setNewUnrevealedURL","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startSecondSaleWeek","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startThirdSaleWeek","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unrevealedURL","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawContractFunds","outputs":[],"stateMutability":"payable","type":"function"}]
Contract Creation Code
6009805460ff60a01b191690557f57db98774910ec3182923e14d0c9b5bcaed5989b802b316df8e1397067e5a764600a5560c06040526005608090815264173539b7b760d91b60a052600d90620000579082620004d8565b50600e805461ffff191690556021600f8190556010556022601155662386f26fc100006012556013805460ff1916905560016014553480156200009957600080fd5b506040516200285c3803806200285c833981016040819052620000bc9162000664565b6040518060400160405280600a81526020016947686f73742047616e6760b01b8152506040518060400160405280600581526020016411da1bdcdd60da1b81525081600290816200010e9190620004d8565b5060036200011d8282620004d8565b50600160005550506001600855620001353362000168565b600b620001438382620004d8565b50600c620001528282620004d8565b5062000160336001620001ba565b505062000757565b600980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b620001dc828260405180602001604052806000815250620001e060201b60201c565b5050565b620001ec838362000257565b6001600160a01b0383163b1562000252576000548281035b60018101906200021a906000908790866200033a565b62000238576040516368d2bf6b60e11b815260040160405180910390fd5b818110620002045781600054146200024f57600080fd5b50505b505050565b6000546001600160a01b0383166200028157604051622e076360e81b815260040160405180910390fd5b81600003620002a35760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038316600081815260056020526040902080546801000000000000000185020190554260a01b6001841460e11b1717600082815260046020526040902055808281015b6040516001830192906001600160a01b038716906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808210620002ed5760005550505050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029062000371903390899088908890600401620006ce565b6020604051808303816000875af1925050508015620003af575060408051601f3d908101601f19168201909252620003ac9181019062000724565b60015b62000411573d808015620003e0576040519150601f19603f3d011682016040523d82523d6000602084013e620003e5565b606091505b50805160000362000409576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b50505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200045f57607f821691505b6020821081036200048057634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200025257600081815260208120601f850160051c81016020861015620004af5750805b601f850160051c820191505b81811015620004d057828155600101620004bb565b505050505050565b81516001600160401b03811115620004f457620004f462000434565b6200050c816200050584546200044a565b8462000486565b602080601f8311600181146200054457600084156200052b5750858301515b600019600386901b1c1916600185901b178555620004d0565b600085815260208120601f198616915b82811015620005755788860151825594840194600190910190840162000554565b5085821015620005945787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60005b83811015620005c1578181015183820152602001620005a7565b838111156200042e5750506000910152565b600082601f830112620005e557600080fd5b81516001600160401b038082111562000602576200060262000434565b604051601f8301601f19908116603f011681019082821181831017156200062d576200062d62000434565b816040528381528660208588010111156200064757600080fd5b6200065a846020830160208901620005a4565b9695505050505050565b600080604083850312156200067857600080fd5b82516001600160401b03808211156200069057600080fd5b6200069e86838701620005d3565b93506020850151915080821115620006b557600080fd5b50620006c485828601620005d3565b9150509250929050565b600060018060a01b0380871683528086166020840152508360408301526080606083015282518060808401526200070d8160a0850160208701620005a4565b601f01601f19169190910160a00195945050505050565b6000602082840312156200073757600080fd5b81516001600160e01b0319811681146200075057600080fd5b9392505050565b6120f580620007676000396000f3fe60806040526004361061025c5760003560e01c806395d89b4111610144578063c4e41b22116100b6578063f19e75d41161007a578063f19e75d4146106a9578063f254933d146106c9578063f2c3b80d146106e9578063f2fde38b146106fe578063fdf067831461071e578063fe63b6c81461073357600080fd5b8063c4e41b22146105f4578063c87b56dd14610608578063cd90d61e14610628578063e2773c1a14610648578063e985e9c51461066057600080fd5b8063a475b5dd11610108578063a475b5dd14610562578063a784b24814610577578063a7f93ebd1461058c578063b88d4fde146105a1578063ba41b0c6146105c1578063bfa0e6de146105d457600080fd5b806395d89b41146104d85780639ab5ca16146104ed5780639b3303f314610502578063a0498bc214610522578063a22cb4651461054257600080fd5b80632c22830c116101dd5780636352211e116101a15780636352211e1461043b5780636bbc42911461045b57806370a0823114610470578063715018a61461049057806383bdd3a0146104a55780638da5cb5b146104ba57600080fd5b80632c22830c146103af57806340c84b0e146103d157806342842e0e146103e6578063439766ce14610406578063611236a41461041b57600080fd5b80630e0f188f116102245780630e0f188f1461032f57806318160ddd1461034f578063210094231461037257806323b872dd1461037a57806324b906e01461039a57600080fd5b806301ffc9a71461026157806306fdde031461029657806307ddd17c146102b8578063081812fc146102d5578063095ea7b31461030d575b600080fd5b34801561026d57600080fd5b5061028161027c366004611a37565b61075a565b60405190151581526020015b60405180910390f35b3480156102a257600080fd5b506102ab6107ac565b60405161028d9190611aac565b3480156102c457600080fd5b50600e54610100900460ff16610281565b3480156102e157600080fd5b506102f56102f0366004611abf565b61083e565b6040516001600160a01b03909116815260200161028d565b34801561031957600080fd5b5061032d610328366004611af4565b610882565b005b34801561033b57600080fd5b5061032d61034a366004611abf565b610922565b34801561035b57600080fd5b5061036461092f565b60405190815260200161028d565b61032d61093d565b34801561038657600080fd5b5061032d610395366004611b1e565b6109f3565b3480156103a657600080fd5b5061032d610b8c565b3480156103bb57600080fd5b5033600090815260156020526040902054610364565b3480156103dd57600080fd5b506102ab610bb1565b3480156103f257600080fd5b5061032d610401366004611b1e565b610c3f565b34801561041257600080fd5b5061032d610c5f565b34801561042757600080fd5b5061032d610436366004611abf565b610c7b565b34801561044757600080fd5b506102f5610456366004611abf565b610c88565b34801561046757600080fd5b50601454610364565b34801561047c57600080fd5b5061036461048b366004611b5a565b610c93565b34801561049c57600080fd5b5061032d610ce2565b3480156104b157600080fd5b5061032d610cf6565b3480156104c657600080fd5b506009546001600160a01b03166102f5565b3480156104e457600080fd5b506102ab610d18565b3480156104f957600080fd5b506102ab610d27565b34801561050e57600080fd5b5061032d61051d366004611c01565b610d34565b34801561052e57600080fd5b5061032d61053d366004611c01565b610d4c565b34801561054e57600080fd5b5061032d61055d366004611c4a565b610d60565b34801561056e57600080fd5b5061032d610df5565b34801561058357600080fd5b506102ab610e11565b34801561059857600080fd5b50601254610364565b3480156105ad57600080fd5b5061032d6105bc366004611c86565b610e1e565b61032d6105cf366004611d02565b610e68565b3480156105e057600080fd5b5061032d6105ef366004611abf565b61132f565b34801561060057600080fd5b506064610364565b34801561061457600080fd5b506102ab610623366004611abf565b61133c565b34801561063457600080fd5b5061032d610643366004611c01565b6114a4565b34801561065457600080fd5b50600e5460ff16610281565b34801561066c57600080fd5b5061028161067b366004611d81565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156106b557600080fd5b5061032d6106c4366004611abf565b6114b8565b3480156106d557600080fd5b5061032d6106e4366004611af4565b6114ca565b3480156106f557600080fd5b506103646114dc565b34801561070a57600080fd5b5061032d610719366004611b5a565b6114f6565b34801561072a57600080fd5b5061032d61156c565b34801561073f57600080fd5b50600954600160a01b900460ff1660405161028d9190611dca565b60006301ffc9a760e01b6001600160e01b03198316148061078b57506380ac58cd60e01b6001600160e01b03198316145b806107a65750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600280546107bb90611df2565b80601f01602080910402602001604051908101604052809291908181526020018280546107e790611df2565b80156108345780601f1061080957610100808354040283529160200191610834565b820191906000526020600020905b81548152906001019060200180831161081757829003601f168201915b5050505050905090565b600061084982611591565b610866576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061088d82610c88565b9050336001600160a01b038216146108c6576108a9813361067b565b6108c6576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b61092a6115c6565b601455565b600154600054036000190190565b6109456115c6565b60006109596009546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d80600081146109a3576040519150601f19603f3d011682016040523d82523d6000602084013e6109a8565b606091505b50509050806109f05760405162461bcd60e51b815260206004820152600f60248201526e15da5d1a191c985dc819985a5b1959608a1b60448201526064015b60405180910390fd5b50565b60006109fe82611620565b9050836001600160a01b0316816001600160a01b031614610a315760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b03881690911417610a7e57610a61863361067b565b610a7e57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610aa557604051633a954ecd60e21b815260040160405180910390fd5b8015610ab057600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b84169003610b4257600184016000818152600460205260408120549003610b40576000548114610b405760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b610b946115c6565b600980546002919060ff60a01b1916600160a01b835b0217905550565b600b8054610bbe90611df2565b80601f0160208091040260200160405190810160405280929190818152602001828054610bea90611df2565b8015610c375780601f10610c0c57610100808354040283529160200191610c37565b820191906000526020600020905b815481529060010190602001808311610c1a57829003601f168201915b505050505081565b610c5a83838360405180602001604052806000815250610e1e565b505050565b610c676115c6565b6013805460ff19811660ff90911615179055565b610c836115c6565b600a55565b60006107a682611620565b60006001600160a01b038216610cbc576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610cea6115c6565b610cf4600061168f565b565b610cfe6115c6565b600980546001919060ff60a01b1916600160a01b83610baa565b6060600380546107bb90611df2565b600d8054610bbe90611df2565b610d3c6115c6565b600c610d488282611e72565b5050565b610d546115c6565b600d610d488282611e72565b336001600160a01b03831603610d895760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610dfd6115c6565b600e805460ff19811660ff90911615179055565b600c8054610bbe90611df2565b610e298484846109f3565b6001600160a01b0383163b15610e6257610e45848484846116e1565b610e62576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b600260085403610eba5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016109e7565b60026008556040516bffffffffffffffffffffffff193360601b16602082015283908390839060009060340160408051601f19818403018152919052805160209091012060135490915060ff1615610f545760405162461bcd60e51b815260206004820152601b60248201527f4d696e74696e672069732063757272656e746c7920706175736564000000000060448201526064016109e7565b60008411610f9c5760405162461bcd60e51b8152602060048201526015602482015274596f752063616e2774206d696e742030204e46547360581b60448201526064016109e7565b610fdd83838080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600a5491508490506117cd565b6110295760405162461bcd60e51b815260206004820152601860248201527f596f7520617265206e6f742077686974656c697374656421000000000000000060448201526064016109e7565b60145433600090815260156020526040902054611047908690611f48565b11156110955760405162461bcd60e51b815260206004820152601860248201527f4d6178207065722077616c6c657420657863656564656421000000000000000060448201526064016109e7565b336000908152601560205260409020546064906110b3908690611f48565b11156110fa5760405162461bcd60e51b8152602060048201526016602482015275416c6c204e4654732061726520736f6c64206f75742160501b60448201526064016109e7565b6012546111079085611f60565b3410156111565760405162461bcd60e51b815260206004820152601b60248201527f596f7520646964206e6f742073656e6420656e6f75676820455448000000000060448201526064016109e7565b6000600954600160a01b900460ff16600281111561117657611176611db4565b036111e357600f5461118661092f565b6111909086611f48565b11156111de5760405162461bcd60e51b815260206004820152601c60248201527f46697273742073616c65207765656b20697320736f6c64206f7574210000000060448201526064016109e7565b6112f3565b6001600954600160a01b900460ff16600281111561120357611203611db4565b0361126b5760105461121361092f565b61121d9086611f48565b11156111de5760405162461bcd60e51b815260206004820152601d60248201527f5365636f6e642073616c65207765656b20697320736f6c64206f75742100000060448201526064016109e7565b6002600954600160a01b900460ff16600281111561128b5761128b611db4565b036112f35760115461129b61092f565b6112a59086611f48565b11156112f35760405162461bcd60e51b815260206004820152601c60248201527f54686972642073616c65207765656b20697320736f6c64206f7574210000000060448201526064016109e7565b6112fd33886117e3565b336000908152601560205260408120805489929061131c908490611f48565b9091555050600160085550505050505050565b6113376115c6565b601255565b606061134782611591565b61136457604051630a14c4b560e41b815260040160405180910390fd5b6009546001600160a01b031661137983610c88565b6001600160a01b03161480156113975750600e54610100900460ff16155b1561142e57600c80546113a990611df2565b80601f01602080910402602001604051908101604052809291908181526020018280546113d590611df2565b80156114225780601f106113f757610100808354040283529160200191611422565b820191906000526020600020905b81548152906001019060200180831161140557829003601f168201915b50505050509050919050565b600e5460ff1661144557600c80546113a990611df2565b600061144f6117fd565b9050805160000361146f576040518060200160405280600081525061149d565b806114798461180c565b600d60405160200161148d93929190611f7f565b6040516020818303038152906040525b9392505050565b6114ac6115c6565b600b610d488282611e72565b6114c06115c6565b6109f033826117e3565b6114d26115c6565b610d4882826117e3565b60006114e661092f565b6114f190606461201f565b905090565b6114fe6115c6565b6001600160a01b0381166115635760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016109e7565b6109f08161168f565b6115746115c6565b600e805461ff001981166101009182900460ff1615909102179055565b6000816001111580156115a5575060005482105b80156107a6575050600090815260046020526040902054600160e01b161590565b6009546001600160a01b03163314610cf45760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109e7565b60008180600111611676576000548110156116765760008181526004602052604081205490600160e01b82169003611674575b8060000361149d575060001901600081815260046020526040902054611653565b505b604051636f96cda160e11b815260040160405180910390fd5b600980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611716903390899088908890600401612036565b6020604051808303816000875af1925050508015611751575060408051601f3d908101601f1916820190925261174e91810190612073565b60015b6117af573d80801561177f576040519150601f19603f3d011682016040523d82523d6000602084013e611784565b606091505b5080516000036117a7576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6000826117da858461185b565b14949350505050565b610d488282604051806020016040528060008152506118a8565b6060600b80546107bb90611df2565b604080516080810191829052607f0190826030600a8206018353600a90045b801561184957600183039250600a81066030018353600a900461182b565b50819003601f19909101908152919050565b600081815b84518110156118a05761188c8286838151811061187f5761187f612090565b6020026020010151611915565b915080611898816120a6565b915050611860565b509392505050565b6118b28383611941565b6001600160a01b0383163b15610c5a576000548281035b6118dc60008683806001019450866116e1565b6118f9576040516368d2bf6b60e11b815260040160405180910390fd5b8181106118c957816000541461190e57600080fd5b5050505050565b600081831061193157600082815260208490526040902061149d565b5060009182526020526040902090565b6000546001600160a01b03831661196a57604051622e076360e81b815260040160405180910390fd5b8160000361198b5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038316600081815260056020526040902080546801000000000000000185020190554260a01b6001841460e11b1717600082815260046020526040902055808281015b6040516001830192906001600160a01b038716906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a48082106119d55760005550505050565b6001600160e01b0319811681146109f057600080fd5b600060208284031215611a4957600080fd5b813561149d81611a21565b60005b83811015611a6f578181015183820152602001611a57565b83811115610e625750506000910152565b60008151808452611a98816020860160208601611a54565b601f01601f19169290920160200192915050565b60208152600061149d6020830184611a80565b600060208284031215611ad157600080fd5b5035919050565b80356001600160a01b0381168114611aef57600080fd5b919050565b60008060408385031215611b0757600080fd5b611b1083611ad8565b946020939093013593505050565b600080600060608486031215611b3357600080fd5b611b3c84611ad8565b9250611b4a60208501611ad8565b9150604084013590509250925092565b600060208284031215611b6c57600080fd5b61149d82611ad8565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115611ba657611ba6611b75565b604051601f8501601f19908116603f01168101908282118183101715611bce57611bce611b75565b81604052809350858152868686011115611be757600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215611c1357600080fd5b813567ffffffffffffffff811115611c2a57600080fd5b8201601f81018413611c3b57600080fd5b6117c584823560208401611b8b565b60008060408385031215611c5d57600080fd5b611c6683611ad8565b915060208301358015158114611c7b57600080fd5b809150509250929050565b60008060008060808587031215611c9c57600080fd5b611ca585611ad8565b9350611cb360208601611ad8565b925060408501359150606085013567ffffffffffffffff811115611cd657600080fd5b8501601f81018713611ce757600080fd5b611cf687823560208401611b8b565b91505092959194509250565b600080600060408486031215611d1757600080fd5b83359250602084013567ffffffffffffffff80821115611d3657600080fd5b818601915086601f830112611d4a57600080fd5b813581811115611d5957600080fd5b8760208260051b8501011115611d6e57600080fd5b6020830194508093505050509250925092565b60008060408385031215611d9457600080fd5b611d9d83611ad8565b9150611dab60208401611ad8565b90509250929050565b634e487b7160e01b600052602160045260246000fd5b6020810160038310611dec57634e487b7160e01b600052602160045260246000fd5b91905290565b600181811c90821680611e0657607f821691505b602082108103611e2657634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115610c5a57600081815260208120601f850160051c81016020861015611e535750805b601f850160051c820191505b81811015610b8457828155600101611e5f565b815167ffffffffffffffff811115611e8c57611e8c611b75565b611ea081611e9a8454611df2565b84611e2c565b602080601f831160018114611ed55760008415611ebd5750858301515b600019600386901b1c1916600185901b178555610b84565b600085815260208120601f198616915b82811015611f0457888601518255948401946001909101908401611ee5565b5085821015611f225787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b60008219821115611f5b57611f5b611f32565b500190565b6000816000190483118215151615611f7a57611f7a611f32565b500290565b600084516020611f928285838a01611a54565b855191840191611fa58184848a01611a54565b8554920191600090611fb681611df2565b60018281168015611fce5760018114611fe35761200f565b60ff198416875282151583028701945061200f565b896000528560002060005b8481101561200757815489820152908301908701611fee565b505082870194505b50929a9950505050505050505050565b60008282101561203157612031611f32565b500390565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061206990830184611a80565b9695505050505050565b60006020828403121561208557600080fd5b815161149d81611a21565b634e487b7160e01b600052603260045260246000fd5b6000600182016120b8576120b8611f32565b506001019056fea2646970667358221220d93669e988823e032e59107cba3ecd33e323b9d4c0ab8eeefa0314698fddda7364736f6c634300080f0033000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d575a473734534d5474627038467078486532534c4d3362684c4b446266464d3450394c4c3253456864444d732f000000000000000000000000000000000000000000000000000000000000000000000000000000000035697066733a2f2f516d64646b4e6a324d6879535468693747764d486d797a3668537070586776416f717175476b48556651485a586d0000000000000000000000
Deployed Bytecode
0x60806040526004361061025c5760003560e01c806395d89b4111610144578063c4e41b22116100b6578063f19e75d41161007a578063f19e75d4146106a9578063f254933d146106c9578063f2c3b80d146106e9578063f2fde38b146106fe578063fdf067831461071e578063fe63b6c81461073357600080fd5b8063c4e41b22146105f4578063c87b56dd14610608578063cd90d61e14610628578063e2773c1a14610648578063e985e9c51461066057600080fd5b8063a475b5dd11610108578063a475b5dd14610562578063a784b24814610577578063a7f93ebd1461058c578063b88d4fde146105a1578063ba41b0c6146105c1578063bfa0e6de146105d457600080fd5b806395d89b41146104d85780639ab5ca16146104ed5780639b3303f314610502578063a0498bc214610522578063a22cb4651461054257600080fd5b80632c22830c116101dd5780636352211e116101a15780636352211e1461043b5780636bbc42911461045b57806370a0823114610470578063715018a61461049057806383bdd3a0146104a55780638da5cb5b146104ba57600080fd5b80632c22830c146103af57806340c84b0e146103d157806342842e0e146103e6578063439766ce14610406578063611236a41461041b57600080fd5b80630e0f188f116102245780630e0f188f1461032f57806318160ddd1461034f578063210094231461037257806323b872dd1461037a57806324b906e01461039a57600080fd5b806301ffc9a71461026157806306fdde031461029657806307ddd17c146102b8578063081812fc146102d5578063095ea7b31461030d575b600080fd5b34801561026d57600080fd5b5061028161027c366004611a37565b61075a565b60405190151581526020015b60405180910390f35b3480156102a257600080fd5b506102ab6107ac565b60405161028d9190611aac565b3480156102c457600080fd5b50600e54610100900460ff16610281565b3480156102e157600080fd5b506102f56102f0366004611abf565b61083e565b6040516001600160a01b03909116815260200161028d565b34801561031957600080fd5b5061032d610328366004611af4565b610882565b005b34801561033b57600080fd5b5061032d61034a366004611abf565b610922565b34801561035b57600080fd5b5061036461092f565b60405190815260200161028d565b61032d61093d565b34801561038657600080fd5b5061032d610395366004611b1e565b6109f3565b3480156103a657600080fd5b5061032d610b8c565b3480156103bb57600080fd5b5033600090815260156020526040902054610364565b3480156103dd57600080fd5b506102ab610bb1565b3480156103f257600080fd5b5061032d610401366004611b1e565b610c3f565b34801561041257600080fd5b5061032d610c5f565b34801561042757600080fd5b5061032d610436366004611abf565b610c7b565b34801561044757600080fd5b506102f5610456366004611abf565b610c88565b34801561046757600080fd5b50601454610364565b34801561047c57600080fd5b5061036461048b366004611b5a565b610c93565b34801561049c57600080fd5b5061032d610ce2565b3480156104b157600080fd5b5061032d610cf6565b3480156104c657600080fd5b506009546001600160a01b03166102f5565b3480156104e457600080fd5b506102ab610d18565b3480156104f957600080fd5b506102ab610d27565b34801561050e57600080fd5b5061032d61051d366004611c01565b610d34565b34801561052e57600080fd5b5061032d61053d366004611c01565b610d4c565b34801561054e57600080fd5b5061032d61055d366004611c4a565b610d60565b34801561056e57600080fd5b5061032d610df5565b34801561058357600080fd5b506102ab610e11565b34801561059857600080fd5b50601254610364565b3480156105ad57600080fd5b5061032d6105bc366004611c86565b610e1e565b61032d6105cf366004611d02565b610e68565b3480156105e057600080fd5b5061032d6105ef366004611abf565b61132f565b34801561060057600080fd5b506064610364565b34801561061457600080fd5b506102ab610623366004611abf565b61133c565b34801561063457600080fd5b5061032d610643366004611c01565b6114a4565b34801561065457600080fd5b50600e5460ff16610281565b34801561066c57600080fd5b5061028161067b366004611d81565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156106b557600080fd5b5061032d6106c4366004611abf565b6114b8565b3480156106d557600080fd5b5061032d6106e4366004611af4565b6114ca565b3480156106f557600080fd5b506103646114dc565b34801561070a57600080fd5b5061032d610719366004611b5a565b6114f6565b34801561072a57600080fd5b5061032d61156c565b34801561073f57600080fd5b50600954600160a01b900460ff1660405161028d9190611dca565b60006301ffc9a760e01b6001600160e01b03198316148061078b57506380ac58cd60e01b6001600160e01b03198316145b806107a65750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600280546107bb90611df2565b80601f01602080910402602001604051908101604052809291908181526020018280546107e790611df2565b80156108345780601f1061080957610100808354040283529160200191610834565b820191906000526020600020905b81548152906001019060200180831161081757829003601f168201915b5050505050905090565b600061084982611591565b610866576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061088d82610c88565b9050336001600160a01b038216146108c6576108a9813361067b565b6108c6576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b61092a6115c6565b601455565b600154600054036000190190565b6109456115c6565b60006109596009546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d80600081146109a3576040519150601f19603f3d011682016040523d82523d6000602084013e6109a8565b606091505b50509050806109f05760405162461bcd60e51b815260206004820152600f60248201526e15da5d1a191c985dc819985a5b1959608a1b60448201526064015b60405180910390fd5b50565b60006109fe82611620565b9050836001600160a01b0316816001600160a01b031614610a315760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b03881690911417610a7e57610a61863361067b565b610a7e57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610aa557604051633a954ecd60e21b815260040160405180910390fd5b8015610ab057600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b84169003610b4257600184016000818152600460205260408120549003610b40576000548114610b405760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b610b946115c6565b600980546002919060ff60a01b1916600160a01b835b0217905550565b600b8054610bbe90611df2565b80601f0160208091040260200160405190810160405280929190818152602001828054610bea90611df2565b8015610c375780601f10610c0c57610100808354040283529160200191610c37565b820191906000526020600020905b815481529060010190602001808311610c1a57829003601f168201915b505050505081565b610c5a83838360405180602001604052806000815250610e1e565b505050565b610c676115c6565b6013805460ff19811660ff90911615179055565b610c836115c6565b600a55565b60006107a682611620565b60006001600160a01b038216610cbc576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610cea6115c6565b610cf4600061168f565b565b610cfe6115c6565b600980546001919060ff60a01b1916600160a01b83610baa565b6060600380546107bb90611df2565b600d8054610bbe90611df2565b610d3c6115c6565b600c610d488282611e72565b5050565b610d546115c6565b600d610d488282611e72565b336001600160a01b03831603610d895760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610dfd6115c6565b600e805460ff19811660ff90911615179055565b600c8054610bbe90611df2565b610e298484846109f3565b6001600160a01b0383163b15610e6257610e45848484846116e1565b610e62576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b600260085403610eba5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016109e7565b60026008556040516bffffffffffffffffffffffff193360601b16602082015283908390839060009060340160408051601f19818403018152919052805160209091012060135490915060ff1615610f545760405162461bcd60e51b815260206004820152601b60248201527f4d696e74696e672069732063757272656e746c7920706175736564000000000060448201526064016109e7565b60008411610f9c5760405162461bcd60e51b8152602060048201526015602482015274596f752063616e2774206d696e742030204e46547360581b60448201526064016109e7565b610fdd83838080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600a5491508490506117cd565b6110295760405162461bcd60e51b815260206004820152601860248201527f596f7520617265206e6f742077686974656c697374656421000000000000000060448201526064016109e7565b60145433600090815260156020526040902054611047908690611f48565b11156110955760405162461bcd60e51b815260206004820152601860248201527f4d6178207065722077616c6c657420657863656564656421000000000000000060448201526064016109e7565b336000908152601560205260409020546064906110b3908690611f48565b11156110fa5760405162461bcd60e51b8152602060048201526016602482015275416c6c204e4654732061726520736f6c64206f75742160501b60448201526064016109e7565b6012546111079085611f60565b3410156111565760405162461bcd60e51b815260206004820152601b60248201527f596f7520646964206e6f742073656e6420656e6f75676820455448000000000060448201526064016109e7565b6000600954600160a01b900460ff16600281111561117657611176611db4565b036111e357600f5461118661092f565b6111909086611f48565b11156111de5760405162461bcd60e51b815260206004820152601c60248201527f46697273742073616c65207765656b20697320736f6c64206f7574210000000060448201526064016109e7565b6112f3565b6001600954600160a01b900460ff16600281111561120357611203611db4565b0361126b5760105461121361092f565b61121d9086611f48565b11156111de5760405162461bcd60e51b815260206004820152601d60248201527f5365636f6e642073616c65207765656b20697320736f6c64206f75742100000060448201526064016109e7565b6002600954600160a01b900460ff16600281111561128b5761128b611db4565b036112f35760115461129b61092f565b6112a59086611f48565b11156112f35760405162461bcd60e51b815260206004820152601c60248201527f54686972642073616c65207765656b20697320736f6c64206f7574210000000060448201526064016109e7565b6112fd33886117e3565b336000908152601560205260408120805489929061131c908490611f48565b9091555050600160085550505050505050565b6113376115c6565b601255565b606061134782611591565b61136457604051630a14c4b560e41b815260040160405180910390fd5b6009546001600160a01b031661137983610c88565b6001600160a01b03161480156113975750600e54610100900460ff16155b1561142e57600c80546113a990611df2565b80601f01602080910402602001604051908101604052809291908181526020018280546113d590611df2565b80156114225780601f106113f757610100808354040283529160200191611422565b820191906000526020600020905b81548152906001019060200180831161140557829003601f168201915b50505050509050919050565b600e5460ff1661144557600c80546113a990611df2565b600061144f6117fd565b9050805160000361146f576040518060200160405280600081525061149d565b806114798461180c565b600d60405160200161148d93929190611f7f565b6040516020818303038152906040525b9392505050565b6114ac6115c6565b600b610d488282611e72565b6114c06115c6565b6109f033826117e3565b6114d26115c6565b610d4882826117e3565b60006114e661092f565b6114f190606461201f565b905090565b6114fe6115c6565b6001600160a01b0381166115635760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016109e7565b6109f08161168f565b6115746115c6565b600e805461ff001981166101009182900460ff1615909102179055565b6000816001111580156115a5575060005482105b80156107a6575050600090815260046020526040902054600160e01b161590565b6009546001600160a01b03163314610cf45760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109e7565b60008180600111611676576000548110156116765760008181526004602052604081205490600160e01b82169003611674575b8060000361149d575060001901600081815260046020526040902054611653565b505b604051636f96cda160e11b815260040160405180910390fd5b600980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611716903390899088908890600401612036565b6020604051808303816000875af1925050508015611751575060408051601f3d908101601f1916820190925261174e91810190612073565b60015b6117af573d80801561177f576040519150601f19603f3d011682016040523d82523d6000602084013e611784565b606091505b5080516000036117a7576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6000826117da858461185b565b14949350505050565b610d488282604051806020016040528060008152506118a8565b6060600b80546107bb90611df2565b604080516080810191829052607f0190826030600a8206018353600a90045b801561184957600183039250600a81066030018353600a900461182b565b50819003601f19909101908152919050565b600081815b84518110156118a05761188c8286838151811061187f5761187f612090565b6020026020010151611915565b915080611898816120a6565b915050611860565b509392505050565b6118b28383611941565b6001600160a01b0383163b15610c5a576000548281035b6118dc60008683806001019450866116e1565b6118f9576040516368d2bf6b60e11b815260040160405180910390fd5b8181106118c957816000541461190e57600080fd5b5050505050565b600081831061193157600082815260208490526040902061149d565b5060009182526020526040902090565b6000546001600160a01b03831661196a57604051622e076360e81b815260040160405180910390fd5b8160000361198b5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038316600081815260056020526040902080546801000000000000000185020190554260a01b6001841460e11b1717600082815260046020526040902055808281015b6040516001830192906001600160a01b038716906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a48082106119d55760005550505050565b6001600160e01b0319811681146109f057600080fd5b600060208284031215611a4957600080fd5b813561149d81611a21565b60005b83811015611a6f578181015183820152602001611a57565b83811115610e625750506000910152565b60008151808452611a98816020860160208601611a54565b601f01601f19169290920160200192915050565b60208152600061149d6020830184611a80565b600060208284031215611ad157600080fd5b5035919050565b80356001600160a01b0381168114611aef57600080fd5b919050565b60008060408385031215611b0757600080fd5b611b1083611ad8565b946020939093013593505050565b600080600060608486031215611b3357600080fd5b611b3c84611ad8565b9250611b4a60208501611ad8565b9150604084013590509250925092565b600060208284031215611b6c57600080fd5b61149d82611ad8565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115611ba657611ba6611b75565b604051601f8501601f19908116603f01168101908282118183101715611bce57611bce611b75565b81604052809350858152868686011115611be757600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215611c1357600080fd5b813567ffffffffffffffff811115611c2a57600080fd5b8201601f81018413611c3b57600080fd5b6117c584823560208401611b8b565b60008060408385031215611c5d57600080fd5b611c6683611ad8565b915060208301358015158114611c7b57600080fd5b809150509250929050565b60008060008060808587031215611c9c57600080fd5b611ca585611ad8565b9350611cb360208601611ad8565b925060408501359150606085013567ffffffffffffffff811115611cd657600080fd5b8501601f81018713611ce757600080fd5b611cf687823560208401611b8b565b91505092959194509250565b600080600060408486031215611d1757600080fd5b83359250602084013567ffffffffffffffff80821115611d3657600080fd5b818601915086601f830112611d4a57600080fd5b813581811115611d5957600080fd5b8760208260051b8501011115611d6e57600080fd5b6020830194508093505050509250925092565b60008060408385031215611d9457600080fd5b611d9d83611ad8565b9150611dab60208401611ad8565b90509250929050565b634e487b7160e01b600052602160045260246000fd5b6020810160038310611dec57634e487b7160e01b600052602160045260246000fd5b91905290565b600181811c90821680611e0657607f821691505b602082108103611e2657634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115610c5a57600081815260208120601f850160051c81016020861015611e535750805b601f850160051c820191505b81811015610b8457828155600101611e5f565b815167ffffffffffffffff811115611e8c57611e8c611b75565b611ea081611e9a8454611df2565b84611e2c565b602080601f831160018114611ed55760008415611ebd5750858301515b600019600386901b1c1916600185901b178555610b84565b600085815260208120601f198616915b82811015611f0457888601518255948401946001909101908401611ee5565b5085821015611f225787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b60008219821115611f5b57611f5b611f32565b500190565b6000816000190483118215151615611f7a57611f7a611f32565b500290565b600084516020611f928285838a01611a54565b855191840191611fa58184848a01611a54565b8554920191600090611fb681611df2565b60018281168015611fce5760018114611fe35761200f565b60ff198416875282151583028701945061200f565b896000528560002060005b8481101561200757815489820152908301908701611fee565b505082870194505b50929a9950505050505050505050565b60008282101561203157612031611f32565b500390565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061206990830184611a80565b9695505050505050565b60006020828403121561208557600080fd5b815161149d81611a21565b634e487b7160e01b600052603260045260246000fd5b6000600182016120b8576120b8611f32565b506001019056fea2646970667358221220d93669e988823e032e59107cba3ecd33e323b9d4c0ab8eeefa0314698fddda7364736f6c634300080f0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d575a473734534d5474627038467078486532534c4d3362684c4b446266464d3450394c4c3253456864444d732f000000000000000000000000000000000000000000000000000000000000000000000000000000000035697066733a2f2f516d64646b4e6a324d6879535468693747764d486d797a3668537070586776416f717175476b48556651485a586d0000000000000000000000
-----Decoded View---------------
Arg [0] : _baseURL (string): ipfs://QmWZG74SMTtbp8FpxHe2SLM3bhLKDbfFM4P9LL2SEhdDMs/
Arg [1] : _unrevealedURL (string): ipfs://QmddkNj2MhySThi7GvMHmyz6hSppXgvAoqquGkHUfQHZXm
-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [3] : 697066733a2f2f516d575a473734534d5474627038467078486532534c4d3362
Arg [4] : 684c4b446266464d3450394c4c3253456864444d732f00000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000035
Arg [6] : 697066733a2f2f516d64646b4e6a324d6879535468693747764d486d797a3668
Arg [7] : 537070586776416f717175476b48556651485a586d0000000000000000000000
Deployed Bytecode Sourcemap
59943:7017: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;63329:107::-;;;;;;;;;;-1:-1:-1;63411:17:0;;;;;;;63329:107;;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;:::-;;64539:121;;;;;;;;;;-1:-1:-1;64539:121:0;;;;;:::i;:::-;;:::i;28723:315::-;;;;;;;;;;;;;:::i;:::-;;;2319:25:1;;;2307:2;2292:18;28723:315:0;2173:177:1;65548:197:0;;;:::i;46527:2800::-;;;;;;;;;;-1:-1:-1;46527:2800:0;;;;;:::i;:::-;;:::i;65009:98::-;;;;;;;;;;;;;:::i;63059:112::-;;;;;;;;;;-1:-1:-1;63152:10:0;63114:7;63141:22;;;:10;:22;;;;;;63059:112;;60310:21;;;;;;;;;;;;;:::i;38152:185::-;;;;;;;;;;-1:-1:-1;38152:185:0;;;;;:::i;:::-;;:::i;64399:93::-;;;;;;;;;;;;;:::i;64722:113::-;;;;;;;;;;-1:-1:-1;64722:113:0;;;;;:::i;:::-;;:::i;35105:144::-;;;;;;;;;;-1:-1:-1;35105:144:0;;;;;:::i;:::-;;:::i;62665:95::-;;;;;;;;;;-1:-1:-1;62740:12:0;;62665:95;;30348:224;;;;;;;;;;-1:-1:-1;30348:224:0;;;;;:::i;:::-;;:::i;14260:103::-;;;;;;;;;;;;;:::i;64874:97::-;;;;;;;;;;;;;:::i;13612:87::-;;;;;;;;;;-1:-1:-1;13685:6:0;;-1:-1:-1;;;;;13685:6:0;13612:87;;35485:104;;;;;;;;;;;;;:::i;60373:33::-;;;;;;;;;;;;;:::i;63694:131::-;;;;;;;;;;-1:-1:-1;63694:131:0;;;;;:::i;:::-;;:::i;63862:115::-;;;;;;;;;;-1:-1:-1;63862:115:0;;;;;:::i;:::-;;:::i;37538:308::-;;;;;;;;;;-1:-1:-1;37538:308:0;;;;;:::i;:::-;;:::i;64015:74::-;;;;;;;;;;;;;:::i;60339:27::-;;;;;;;;;;;;;:::i;62536:89::-;;;;;;;;;;-1:-1:-1;62608:9:0;;62536:89;;38408:399;;;;;;;;;;-1:-1:-1;38408:399:0;;;;;:::i;:::-;;:::i;61151:244::-;;;;;;:::i;:::-;;:::i;64260:109::-;;;;;;;;;;-1:-1:-1;64260:109:0;;;;;:::i;:::-;;:::i;62797:94::-;;;;;;;;;;-1:-1:-1;60796:3:0;62797:94;;61620:571;;;;;;;;;;-1:-1:-1;61620:571:0;;;;;:::i;:::-;;:::i;63529:107::-;;;;;;;;;;-1:-1:-1;63529:107:0;;;;;:::i;:::-;;:::i;62927:90::-;;;;;;;;;;-1:-1:-1;63001:8:0;;;;62927:90;;37917:164;;;;;;;;;;-1:-1:-1;37917:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;38038:25:0;;;38014:4;38038:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;37917:164;65188:110;;;;;;;;;;-1:-1:-1;65188:110:0;;;;;:::i;:::-;;:::i;65353:149::-;;;;;;;;;;-1:-1:-1;65353:149:0;;;;;:::i;:::-;;:::i;63207:114::-;;;;;;;;;;;;;:::i;14518:201::-;;;;;;;;;;-1:-1:-1;14518:201:0;;;;;:::i;:::-;;:::i;64123:101::-;;;;;;;;;;;;;:::i;62399:102::-;;;;;;;;;;-1:-1:-1;62478:15:0;;-1:-1:-1;;;62478:15:0;;;;62399:102;;;;;;:::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;37917:164;:::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;64539:121::-;13498:13;:11;:13::i;:::-;64621:12:::1;:31:::0;64539:121::o;28723:315::-;62327:1;28989:12;28776:7;28973:13;:28;-1:-1:-1;;28973:46:0;;28723:315::o;65548:197::-;13498:13;:11;:13::i;:::-;65618:12:::1;65644:7;13685:6:::0;;-1:-1:-1;;;;;13685:6:0;;13612:87;65644:7:::1;-1:-1:-1::0;;;;;65636:21:0::1;65665;65636:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;65617:74;;;65710:7;65702:35;;;::::0;-1:-1:-1;;;65702:35:0;;7541:2:1;65702:35:0::1;::::0;::::1;7523:21:1::0;7580:2;7560:18;;;7553:30;-1:-1:-1;;;7599:18:1;;;7592:45;7654:18;;65702:35:0::1;;;;;;;;;65606:139;65548:197::o:0;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;37917:164;:::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;;;;;;;;;;;49277:42;46650:2677;;;46527:2800;;;:::o;65009:98::-;13498:13;:11;:13::i;:::-;65067:15:::1;:32:::0;;65085:14:::1;::::0;65067:15;-1:-1:-1;;;;65067:32:0::1;-1:-1:-1::0;;;65085:14:0;65067:32:::1;;;;;;65009:98::o:0;60310:21::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;38152:185::-;38290:39;38307:4;38313:2;38317:7;38290:39;;;;;;;;;;;;:16;:39::i;:::-;38152:185;;;:::o;64399:93::-;13498:13;:11;:13::i;:::-;64470:14:::1;::::0;;-1:-1:-1;;64452:32:0;::::1;64470:14;::::0;;::::1;64469:15;64452:32;::::0;;64399:93::o;64722:113::-;13498:13;:11;:13::i;:::-;64800:10:::1;:27:::0;64722:113::o;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;64874:97::-;13498:13;:11;:13::i;:::-;64933:15:::1;:30:::0;;64951:12:::1;::::0;64933:15;-1:-1:-1;;;;64933:30:0::1;-1:-1:-1::0;;;64951:12:0;64933:30:::1;::::0;35485:104;35541:13;35574:7;35567:14;;;;;:::i;60373:33::-;;;;;;;:::i;63694:131::-;13498:13;:11;:13::i;:::-;63784::::1;:33;63800:17:::0;63784:13;:33:::1;:::i;:::-;;63694:131:::0;:::o;63862:115::-;13498:13;:11;:13::i;:::-;63944:9:::1;:25;63956:13:::0;63944:9;:25:::1;:::i;37538:308::-:0;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;64015:74::-;13498:13;:11;:13::i;:::-;64073:8:::1;::::0;;-1:-1:-1;;64061:20:0;::::1;64073:8;::::0;;::::1;64072:9;64061:20;::::0;;64015:74::o;60339:27::-;;;;;;;:::i;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;61151:244::-;10537:1;11135:7;;:19;11127:63;;;;-1:-1:-1;;;11127:63:0;;10089:2:1;11127:63:0;;;10071:21:1;10128:2;10108:18;;;10101:30;10167:33;10147:18;;;10140:61;10218:18;;11127:63:0;9887:355:1;11127:63:0;10537:1;11268:7;:18;65896:28:::1;::::0;-1:-1:-1;;65913:10:0::1;10396:2:1::0;10392:15;10388:53;65896:28:0::1;::::0;::::1;10376:66:1::0;61267:11:0;;61280:12;;;;65867:16:::1;::::0;10458:12:1;;65896:28:0::1;::::0;;-1:-1:-1;;65896:28:0;;::::1;::::0;;;;;;65886:39;;65896:28:::1;65886:39:::0;;::::1;::::0;65945:14:::1;::::0;65886:39;;-1:-1:-1;65945:14:0::1;;65944:15;65936:55;;;::::0;-1:-1:-1;;;65936:55:0;;10683:2:1;65936:55:0::1;::::0;::::1;10665:21:1::0;10722:2;10702:18;;;10695:30;10761:29;10741:18;;;10734:57;10808:18;;65936:55:0::1;10481:351:1::0;65936:55:0::1;66024:1;66010:11;:15;66002:49;;;::::0;-1:-1:-1;;;66002:49:0;;11039:2:1;66002:49:0::1;::::0;::::1;11021:21:1::0;11078:2;11058:18;;;11051:30;-1:-1:-1;;;11097:18:1;;;11090:51;11158:18;;66002:49:0::1;10837:345:1::0;66002:49:0::1;66070:54;66089:12;;66070:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;;66103:10:0::1;::::0;;-1:-1:-1;66115:8:0;;-1:-1:-1;66070:18:0::1;:54::i;:::-;66062:91;;;::::0;-1:-1:-1;;;66062:91:0;;11389:2:1;66062:91:0::1;::::0;::::1;11371:21:1::0;11428:2;11408:18;;;11401:30;11467:26;11447:18;;;11440:54;11511:18;;66062:91:0::1;11187:348:1::0;66062:91:0::1;66212:12;::::0;66183:10:::1;66172:22;::::0;;;:10:::1;:22;::::0;;;;;:36:::1;::::0;66197:11;;66172:36:::1;:::i;:::-;:52;;66164:89;;;::::0;-1:-1:-1;;;66164:89:0;;12007:2:1;66164:89:0::1;::::0;::::1;11989:21:1::0;12046:2;12026:18;;;12019:30;12085:26;12065:18;;;12058:54;12129:18;;66164:89:0::1;11805:348:1::0;66164:89:0::1;66283:10;66272:22;::::0;;;:10:::1;:22;::::0;;;;;60796:3:::1;::::0;66272:36:::1;::::0;66297:11;;66272:36:::1;:::i;:::-;:52;;66264:87;;;::::0;-1:-1:-1;;;66264:87:0;;12360:2:1;66264:87:0::1;::::0;::::1;12342:21:1::0;12399:2;12379:18;;;12372:30;-1:-1:-1;;;12418:18:1;;;12411:52;12480:18;;66264:87:0::1;12158:346:1::0;66264:87:0::1;66397:9;::::0;66383:23:::1;::::0;:11;:23:::1;:::i;:::-;66370:9;:36;;66362:76;;;::::0;-1:-1:-1;;;66362:76:0;;12884:2:1;66362:76:0::1;::::0;::::1;12866:21:1::0;12923:2;12903:18;;;12896:30;12962:29;12942:18;;;12935:57;13009:18;;66362:76:0::1;12682:351:1::0;66362:76:0::1;66473:12;66454:15;::::0;-1:-1:-1;;;66454:15:0;::::1;;;:31;::::0;::::1;;;;;;:::i;:::-;::::0;66451:487:::1;;66540:17;;66523:13;:11;:13::i;:::-;66509:27;::::0;:11;:27:::1;:::i;:::-;:48;;66501:89;;;::::0;-1:-1:-1;;;66501:89:0;;13240:2:1;66501:89:0::1;::::0;::::1;13222:21:1::0;13279:2;13259:18;;;13252:30;13318;13298:18;;;13291:58;13366:18;;66501:89:0::1;13038:352:1::0;66501:89:0::1;66451:487;;;66639:12;66620:15;::::0;-1:-1:-1;;;66620:15:0;::::1;;;:31;::::0;::::1;;;;;;:::i;:::-;::::0;66617:321:::1;;66706:18;;66689:13;:11;:13::i;:::-;66675:27;::::0;:11;:27:::1;:::i;:::-;:49;;66667:91;;;::::0;-1:-1:-1;;;66667:91:0;;13597:2:1;66667:91:0::1;::::0;::::1;13579:21:1::0;13636:2;13616:18;;;13609:30;13675:31;13655:18;;;13648:59;13724:18;;66667:91:0::1;13395:353:1::0;66617:321:0::1;66807:14;66788:15;::::0;-1:-1:-1;;;66788:15:0;::::1;;;:33;::::0;::::1;;;;;;:::i;:::-;::::0;66785:153:::1;;66876:17;;66859:13;:11;:13::i;:::-;66845:27;::::0;:11;:27:::1;:::i;:::-;:48;;66837:89;;;::::0;-1:-1:-1;;;66837:89:0;;13955:2:1;66837:89:0::1;::::0;::::1;13937:21:1::0;13994:2;13974:18;;;13967:30;14033;14013:18;;;14006:58;14081:18;;66837:89:0::1;13753:352:1::0;66837:89:0::1;61305:34:::2;61315:10;61327:11;61305:9;:34::i;:::-;61361:10;61350:22;::::0;;;:10:::2;:22;::::0;;;;:37;;61376:11;;61350:22;:37:::2;::::0;61376:11;;61350:37:::2;:::i;:::-;::::0;;;-1:-1:-1;;10493:1:0;11447:7;:22;-1:-1:-1;;;;;;;61151:244:0:o;64260:109::-;13498:13;:11;:13::i;:::-;64336:9:::1;:25:::0;64260:109::o;61620:571::-;61685:13;61716:16;61724:7;61716;:16::i;:::-;61711:59;;61741:29;;-1:-1:-1;;;61741:29:0;;;;;;;;;;;61711:59;13685:6;;-1:-1:-1;;;;;13685:6:0;61902:16;61910:7;61902;:16::i;:::-;-1:-1:-1;;;;;61902:27:0;;:49;;;;-1:-1:-1;61934:17:0;;;;;;;61933:18;61902:49;61899:74;;;61960:13;61953:20;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61620:571;;;:::o;61899:74::-;61990:8;;;;61986:34;;62007:13;62000:20;;;;;:::i;61986:34::-;62033:21;62057:10;:8;:10::i;:::-;62033:34;;62091:7;62085:21;62110:1;62085:26;:98;;;;;;;;;;;;;;;;;62138:7;62147:18;62157:7;62147:9;:18::i;:::-;62167:9;62121:56;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;62085:98;62078:105;61620:571;-1:-1:-1;;;61620:571:0:o;63529:107::-;13498:13;:11;:13::i;:::-;63607:7:::1;:21;63617:11:::0;63607:7;:21:::1;:::i;65188:110::-:0;13498:13;:11;:13::i;:::-;65256:34:::1;65266:10;65278:11;65256:9;:34::i;65353:149::-:0;13498:13;:11;:13::i;:::-;65453:41:::1;65463:17;65482:11;65453:9;:41::i;63207:114::-:0;63256:7;63299:13;:11;:13::i;:::-;63284:28;;60796:3;63284:28;:::i;:::-;63276:37;;63207:114;:::o;14518:201::-;13498:13;:11;:13::i;:::-;-1:-1:-1;;;;;14607:22:0;::::1;14599:73;;;::::0;-1:-1:-1;;;14599:73:0;;15677:2:1;14599:73:0::1;::::0;::::1;15659:21:1::0;15716:2;15696:18;;;15689:30;15755:34;15735:18;;;15728:62;-1:-1:-1;;;15806:18:1;;;15799:36;15852:19;;14599:73:0::1;15475:402:1::0;14599:73:0::1;14683:28;14702:8;14683:18;:28::i;64123:101::-:0;13498:13;:11;:13::i;:::-;64199:17:::1;::::0;;-1:-1:-1;;64178:38:0;::::1;64199:17;::::0;;;::::1;;;64198:18;64178:38:::0;;::::1;;::::0;;64123:101::o;39062:273::-;39119:4;39175:7;62327:1;39156:26;;:66;;;;;39209:13;;39199:7;:23;39156:66;: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;;16084:2:1;13833:68:0;;;16066:21:1;;;16103:18;;;16096:30;16162:34;16142:18;;;16135:62;16214:18;;13833:68:0;15882:356:1;32022:1129:0;32089:7;32124;;62327:1;32173:23;32169:915;;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;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;1219:190::-;1344:4;1397;1368:25;1381:5;1388:4;1368:12;:25::i;:::-;:33;;1219:190;-1:-1:-1;;;;1219:190:0:o;39419:104::-;39488:27;39498:2;39502:8;39488:27;;;;;;;;;;;;:9;:27::i;61465:100::-;61517:13;61550:7;61543:14;;;;;:::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;2086:296::-;2169:7;2212:4;2169:7;2227:118;2251:5;:12;2247:1;:16;2227:118;;;2300:33;2310:12;2324:5;2330:1;2324:8;;;;;;;;:::i;:::-;;;;;;;2300:9;:33::i;:::-;2285:48;-1:-1:-1;2265:3:0;;;;:::i;:::-;;;;2227:118;;;-1:-1:-1;2362:12:0;2086:296;-1:-1:-1;;;2086:296:0:o;39939:681::-;40062:19;40068:2;40072:8;40062:5;:19::i;:::-;-1:-1:-1;;;;;40123:14:0;;;:19;40119:483;;40163:11;40177:13;40225:14;;;40258:233;40289:62;40328:1;40332:2;40336:7;;;;;;40345:5;40289:30;:62::i;:::-;40284:167;;40387:40;;-1:-1:-1;;;40387:40:0;;;;;;;;;;;40284:167;40486:3;40478:5;:11;40258:233;;40573:3;40556:13;;:20;40552:34;;40578:8;;;40552:34;40144:458;;39939:681;;;:::o;8293:149::-;8356:7;8387:1;8383;:5;:51;;8518:13;8612:15;;;8648:4;8641:15;;;8695:4;8679:21;;8383:51;;;-1:-1:-1;8518:13:0;8612:15;;;8648:4;8641:15;8695:4;8679:21;;;8293:149::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;14:131:1:-;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:258::-;664:1;674:113;688:6;685:1;682:13;674:113;;;764:11;;;758:18;745:11;;;738:39;710:2;703:10;674:113;;;805:6;802:1;799:13;796:48;;;-1:-1:-1;;840:1:1;822:16;;815:27;592:258::o;855:::-;897:3;935:5;929:12;962:6;957:3;950:19;978:63;1034:6;1027:4;1022:3;1018:14;1011:4;1004:5;1000:16;978:63;:::i;:::-;1095:2;1074:15;-1:-1:-1;;1070:29:1;1061:39;;;;1102:4;1057:50;;855:258;-1:-1:-1;;855:258:1:o;1118:220::-;1267:2;1256:9;1249:21;1230:4;1287:45;1328:2;1317:9;1313:18;1305:6;1287:45;:::i;1343:180::-;1402:6;1455:2;1443:9;1434:7;1430:23;1426:32;1423:52;;;1471:1;1468;1461:12;1423:52;-1:-1:-1;1494:23:1;;1343:180;-1:-1:-1;1343:180:1:o;1736:173::-;1804:20;;-1:-1:-1;;;;;1853:31:1;;1843:42;;1833:70;;1899:1;1896;1889:12;1833:70;1736:173;;;:::o;1914:254::-;1982:6;1990;2043:2;2031:9;2022:7;2018:23;2014:32;2011:52;;;2059:1;2056;2049:12;2011:52;2082:29;2101:9;2082:29;:::i;:::-;2072:39;2158:2;2143:18;;;;2130:32;;-1:-1:-1;;;1914:254:1:o;2355:328::-;2432:6;2440;2448;2501:2;2489:9;2480:7;2476:23;2472:32;2469:52;;;2517:1;2514;2507:12;2469:52;2540:29;2559:9;2540:29;:::i;:::-;2530:39;;2588:38;2622:2;2611:9;2607:18;2588:38;:::i;:::-;2578:48;;2673:2;2662:9;2658:18;2645:32;2635:42;;2355:328;;;;;:::o;2873:186::-;2932:6;2985:2;2973:9;2964:7;2960:23;2956:32;2953:52;;;3001:1;2998;2991:12;2953:52;3024:29;3043:9;3024:29;:::i;3064:127::-;3125:10;3120:3;3116:20;3113:1;3106:31;3156:4;3153:1;3146:15;3180:4;3177:1;3170:15;3196:632;3261:5;3291:18;3332:2;3324:6;3321:14;3318:40;;;3338:18;;:::i;:::-;3413:2;3407:9;3381:2;3467:15;;-1:-1:-1;;3463:24:1;;;3489:2;3459:33;3455:42;3443:55;;;3513:18;;;3533:22;;;3510:46;3507:72;;;3559:18;;:::i;:::-;3599:10;3595:2;3588:22;3628:6;3619:15;;3658:6;3650;3643:22;3698:3;3689:6;3684:3;3680:16;3677:25;3674:45;;;3715:1;3712;3705:12;3674:45;3765:6;3760:3;3753:4;3745:6;3741:17;3728:44;3820:1;3813:4;3804:6;3796;3792:19;3788:30;3781:41;;;;3196:632;;;;;:::o;3833:451::-;3902:6;3955:2;3943:9;3934:7;3930:23;3926:32;3923:52;;;3971:1;3968;3961:12;3923:52;4011:9;3998:23;4044:18;4036:6;4033:30;4030:50;;;4076:1;4073;4066:12;4030:50;4099:22;;4152:4;4144:13;;4140:27;-1:-1:-1;4130:55:1;;4181:1;4178;4171:12;4130:55;4204:74;4270:7;4265:2;4252:16;4247:2;4243;4239:11;4204:74;:::i;4289:347::-;4354:6;4362;4415:2;4403:9;4394:7;4390:23;4386:32;4383:52;;;4431:1;4428;4421:12;4383:52;4454:29;4473:9;4454:29;:::i;:::-;4444:39;;4533:2;4522:9;4518:18;4505:32;4580:5;4573:13;4566:21;4559:5;4556:32;4546:60;;4602:1;4599;4592:12;4546:60;4625:5;4615:15;;;4289:347;;;;;:::o;4641:667::-;4736:6;4744;4752;4760;4813:3;4801:9;4792:7;4788:23;4784:33;4781:53;;;4830:1;4827;4820:12;4781:53;4853:29;4872:9;4853:29;:::i;:::-;4843:39;;4901:38;4935:2;4924:9;4920:18;4901:38;:::i;:::-;4891:48;;4986:2;4975:9;4971:18;4958:32;4948:42;;5041:2;5030:9;5026:18;5013:32;5068:18;5060:6;5057:30;5054:50;;;5100:1;5097;5090:12;5054:50;5123:22;;5176:4;5168:13;;5164:27;-1:-1:-1;5154:55:1;;5205:1;5202;5195:12;5154:55;5228:74;5294:7;5289:2;5276:16;5271:2;5267;5263:11;5228:74;:::i;:::-;5218:84;;;4641:667;;;;;;;:::o;5313:683::-;5408:6;5416;5424;5477:2;5465:9;5456:7;5452:23;5448:32;5445:52;;;5493:1;5490;5483:12;5445:52;5529:9;5516:23;5506:33;;5590:2;5579:9;5575:18;5562:32;5613:18;5654:2;5646:6;5643:14;5640:34;;;5670:1;5667;5660:12;5640:34;5708:6;5697:9;5693:22;5683:32;;5753:7;5746:4;5742:2;5738:13;5734:27;5724:55;;5775:1;5772;5765:12;5724:55;5815:2;5802:16;5841:2;5833:6;5830:14;5827:34;;;5857:1;5854;5847:12;5827:34;5910:7;5905:2;5895:6;5892:1;5888:14;5884:2;5880:23;5876:32;5873:45;5870:65;;;5931:1;5928;5921:12;5870:65;5962:2;5958;5954:11;5944:21;;5984:6;5974:16;;;;;5313:683;;;;;:::o;6001:260::-;6069:6;6077;6130:2;6118:9;6109:7;6105:23;6101:32;6098:52;;;6146:1;6143;6136:12;6098:52;6169:29;6188:9;6169:29;:::i;:::-;6159:39;;6217:38;6251:2;6240:9;6236:18;6217:38;:::i;:::-;6207:48;;6001:260;;;;;:::o;6266:127::-;6327:10;6322:3;6318:20;6315:1;6308:31;6358:4;6355:1;6348:15;6382:4;6379:1;6372:15;6398:341;6543:2;6528:18;;6576:1;6565:13;;6555:144;;6621:10;6616:3;6612:20;6609:1;6602:31;6656:4;6653:1;6646:15;6684:4;6681:1;6674:15;6555:144;6708:25;;;6398:341;:::o;6744:380::-;6823:1;6819:12;;;;6866;;;6887:61;;6941:4;6933:6;6929:17;6919:27;;6887:61;6994:2;6986:6;6983:14;6963:18;6960:38;6957:161;;7040:10;7035:3;7031:20;7028:1;7021:31;7075:4;7072:1;7065:15;7103:4;7100:1;7093:15;6957:161;;6744:380;;;:::o;7809:545::-;7911:2;7906:3;7903:11;7900:448;;;7947:1;7972:5;7968:2;7961:17;8017:4;8013:2;8003:19;8087:2;8075:10;8071:19;8068:1;8064:27;8058:4;8054:38;8123:4;8111:10;8108:20;8105:47;;;-1:-1:-1;8146:4:1;8105:47;8201:2;8196:3;8192:12;8189:1;8185:20;8179:4;8175:31;8165:41;;8256:82;8274:2;8267:5;8264:13;8256:82;;;8319:17;;;8300:1;8289:13;8256:82;;8530:1352;8656:3;8650:10;8683:18;8675:6;8672:30;8669:56;;;8705:18;;:::i;:::-;8734:97;8824:6;8784:38;8816:4;8810:11;8784:38;:::i;:::-;8778:4;8734:97;:::i;:::-;8886:4;;8950:2;8939:14;;8967:1;8962:663;;;;9669:1;9686:6;9683:89;;;-1:-1:-1;9738:19:1;;;9732:26;9683:89;-1:-1:-1;;8487:1:1;8483:11;;;8479:24;8475:29;8465:40;8511:1;8507:11;;;8462:57;9785:81;;8932:944;;8962:663;7756:1;7749:14;;;7793:4;7780:18;;-1:-1:-1;;8998:20:1;;;9116:236;9130:7;9127:1;9124:14;9116:236;;;9219:19;;;9213:26;9198:42;;9311:27;;;;9279:1;9267:14;;;;9146:19;;9116:236;;;9120:3;9380:6;9371:7;9368:19;9365:201;;;9441:19;;;9435:26;-1:-1:-1;;9524:1:1;9520:14;;;9536:3;9516:24;9512:37;9508:42;9493:58;9478:74;;9365:201;-1:-1:-1;;;;;9612:1:1;9596:14;;;9592:22;9579:36;;-1:-1:-1;8530:1352:1:o;11540:127::-;11601:10;11596:3;11592:20;11589:1;11582:31;11632:4;11629:1;11622:15;11656:4;11653:1;11646:15;11672:128;11712:3;11743:1;11739:6;11736:1;11733:13;11730:39;;;11749:18;;:::i;:::-;-1:-1:-1;11785:9:1;;11672:128::o;12509:168::-;12549:7;12615:1;12611;12607:6;12603:14;12600:1;12597:21;12592:1;12585:9;12578:17;12574:45;12571:71;;;12622:18;;:::i;:::-;-1:-1:-1;12662:9:1;;12509:168::o;14110:1230::-;14334:3;14372:6;14366:13;14398:4;14411:51;14455:6;14450:3;14445:2;14437:6;14433:15;14411:51;:::i;:::-;14525:13;;14484:16;;;;14547:55;14525:13;14484:16;14569:15;;;14547:55;:::i;:::-;14691:13;;14624:20;;;14664:1;;14729:36;14691:13;14729:36;:::i;:::-;14784:1;14801:18;;;14828:141;;;;14983:1;14978:337;;;;14794:521;;14828:141;-1:-1:-1;;14863:24:1;;14849:39;;14940:16;;14933:24;14919:39;;14908:51;;;-1:-1:-1;14828:141:1;;14978:337;15009:6;15006:1;14999:17;15057:2;15054:1;15044:16;15082:1;15096:169;15110:8;15107:1;15104:15;15096:169;;;15192:14;;15177:13;;;15170:37;15235:16;;;;15127:10;;15096:169;;;15100:3;;15296:8;15289:5;15285:20;15278:27;;14794:521;-1:-1:-1;15331:3:1;;14110:1230;-1:-1:-1;;;;;;;;;;14110:1230:1:o;15345:125::-;15385:4;15413:1;15410;15407:8;15404:34;;;15418:18;;:::i;:::-;-1:-1:-1;15455:9:1;;15345:125::o;16243:489::-;-1:-1:-1;;;;;16512:15:1;;;16494:34;;16564:15;;16559:2;16544:18;;16537:43;16611:2;16596:18;;16589:34;;;16659:3;16654:2;16639:18;;16632:31;;;16437:4;;16680:46;;16706:19;;16698:6;16680:46;:::i;:::-;16672:54;16243:489;-1:-1:-1;;;;;;16243:489:1:o;16737:249::-;16806:6;16859:2;16847:9;16838:7;16834:23;16830:32;16827:52;;;16875:1;16872;16865:12;16827:52;16907:9;16901:16;16926:30;16950:5;16926:30;:::i;16991:127::-;17052:10;17047:3;17043:20;17040:1;17033:31;17083:4;17080:1;17073:15;17107:4;17104:1;17097:15;17123:135;17162:3;17183:17;;;17180:43;;17203:18;;:::i;:::-;-1:-1:-1;17250:1:1;17239:13;;17123:135::o
Swarm Source
ipfs://d93669e988823e032e59107cba3ecd33e323b9d4c0ab8eeefa0314698fddda73
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.