ERC-721
Overview
Max Total Supply
306 CAKES
Holders
194
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 CAKESLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
YecheCakes
Compiler Version
v0.8.16+commit.07a7930e
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-08-23 */ // =@# .=. // =@@% =+: // #@@: =*: // %@% =*. // @@+ ++. // %@- *@%+. ++ // *@: =@@@@*. .+= // =@. #@-=#@: .+= // .@: .@= .*: :*: // *= :%: -+: // .* .%+ -+=-. =+ // *. *@+:. :#@@@@@@@*-+= // .# :%@@@@@@@@@@@@@@%*#: // +#. -#@@@@@@@%+-:-+#@@= // :@@%#=. -#@%+: =@* // #%@@@@@#: .+#- +# // @=@@@@@@@* =#- :%. // +*=@@@@@@@# -*#*=. +#- #= +%. // *+-%@@@@@@+ :@@@@@@%=. =#= :%@#+#@# // -#==*%@@@+ .@@==+%@@@#: =%+.+@@@@@. // :+**#*- +@- -*@@*. -#= :==: // *@= -%@* =%= // =@%- :#%: =#- // .=. :=. .*@%=. -@* .##. // *@* :*: %@* :#@@#=. +%: -@= // *@* *@* %@* :*@@@%+: -@= :@* // *@* *@* %@* .+@@@@@*==@= #@= // *@#----#@#-----%@* :+%@@@@@@#*+=+*@@@ // -#%%%. =%%%%%%%%%%%%%%%%= .:: .=*%@@@@@@@@@@* // .#@@@= .----------------. -@@@@@%*: :*@%+===-. // =@@. =%%%%%%@@@%%%%%%%= +@@@@@@@@%- =%+. // .+%=. %@+ .@@@%:.:=#@%: -##- // =@%=. %@+ .+%%=. .%@% +@* .#%- // ... %@+ ... +@%. .#%: @@#. // -######@@%#######- .+: .+@*. -@=:--=+*#@@@@+ // .================. -#%= =%#- .%@@@@@@@@%*- // :*#: *@*. .@%##@@*: :+%+: =+++=-: // :@@+ =@@: =@@@@@@@%*=-. :*%*- // *@# %@* :=+#@@@@@@@@@%#+*#%#=: // .@@#- :#@@: :-+*%@@@@@@@@@@@@#+-. // .+%@@%#**#%@@%= .+#@@@%@@@@@@@@@#+ // .-. :-====-: .-. -*%+-:-+*#%@@@= // *@* .=: #@* -*%+: .. // *@* *@* %@* . :+%#=. // *@* *@* %@* +@@@%#*+=-:. :*@*: // *@#::::#@#:::::%@* -@@#@@@@@@@@@@@%#*+=-::.:#@@- // =@@@@@@@@@@@@@@@@= %@- :-+*%@@@@@@@@@@@@@@@@@: // :+-. @@. :-+*%@%*+====-: // :#@@%+: #@%: :=*%#=. // :+#@@#=. :@@@#=. .=%%= // .*@@@@@@@@@+ :@@@@@%*=: :@@+ // .=#@@%=:...... +@@@@@@@@%#*==----=+#@@%. // :*%@%*- :*%@@@@@@@@@@@@@@@%*: -- // :*=. .-+*#%%%##*+-: .*#- // .:-=+**#######**+=-:. =*+. // .:-=++++++==-:. -+#@@@@@@@@%%######%%%@@@@@%*=- :**- // .=*#@@@@@@@@@@@@@@@@@@@#*=-. -*@%#*=-:.. .:-=+#%+: -+*- // :*@@#*=--::....::--==+*#%@@@@@@@@*. +@%*: // :%%=: .-%%#%@@#=. .-++-=@: // +#: *@ :=#@%=. .-+++-. #* // +* @% -%@#- .-+##+-. =%- // @. #@+ :*@%= .:=+###+-: :+%= // .@. .+% -#@%*+=----==#@@@#*=-. .-*@%= // @%. -#%=. :--==---::. -@* :=*%@@*: // =@@= -%#- +@* :=*%@@@@#- // *@@@###. :-*@@#%@@@@@@#= // +@@@@@#=: :-=+*%@@@@@@@@@@@@*- // =@#@@@@@@@@%*+==-:::::::::--==+*##%@@@@@@@@@@@@@@@@#+: // .##. =%@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%*%@ // -@+ .=#@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%*=: .@= // =%: -+#%@@@@@@@@@@@@@@@@@@@%#*+=:. *# // =% .:-==+++++++=-::. -@. // +%. :%. // +% :%. // -@. =#. // .@: *+ // #+ .#: // -@ =*. // @= :#- // +@. *+ // @# =#. // =@- :*- // %@ .*= // .@# .**. // =@+ +*. // *@- .+*. // %@- .+*: // @@= :**. // @@# =#+. // %@@. :*%= // *@@% .=%*: // :@@@# .=%%+. // *@@@%- :+%@*: // *@@@@%*=-::--+*%@@*- // -%@@@@@@@@@@@%*: // File: @openzeppelin/contracts/utils/Strings.sol // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } } // 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 v4.4.1 (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 Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // File: @openzeppelin/contracts/utils/introspection/IERC165.sol // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); } // File: @openzeppelin/contracts/token/ERC721/IERC721.sol // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @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); } // File: @openzeppelin/contracts/utils/cryptography/MerkleProof.sol // OpenZeppelin Contracts (last updated v4.7.0) (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Tree proofs. * * The proofs can be generated using the JavaScript library * https://github.com/miguelmota/merkletreejs[merkletreejs]. * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled. * * See `test/utils/cryptography/MerkleProof.test.js` for some examples. * * WARNING: You should avoid using leaf values that are 64 bytes long prior to * hashing, or use a hash function other than keccak256 for hashing leaves. * This is because the concatenation of a sorted pair of internal nodes in * the merkle tree could be reinterpreted as a leaf value. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Calldata version of {verify} * * _Available since v4.7._ */ function verifyCalldata( bytes32[] calldata proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProofCalldata(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merkle tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. * * _Available since v4.4._ */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Calldata version of {processProof} * * _Available since v4.7._ */ function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Returns true if the `leaves` can be proved to be a part of a Merkle tree defined by * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}. * * _Available since v4.7._ */ function multiProofVerify( bytes32[] memory proof, bool[] memory proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProof(proof, proofFlags, leaves) == root; } /** * @dev Calldata version of {multiProofVerify} * * _Available since v4.7._ */ function multiProofVerifyCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProofCalldata(proof, proofFlags, leaves) == root; } /** * @dev Returns the root of a tree reconstructed from `leaves` and the sibling nodes in `proof`, * consuming from one or the other at each step according to the instructions given by * `proofFlags`. * * _Available since v4.7._ */ function processMultiProof( bytes32[] memory proof, bool[] memory proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof"); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { return hashes[totalHashes - 1]; } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } /** * @dev Calldata version of {processMultiProof} * * _Available since v4.7._ */ function processMultiProofCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof"); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { return hashes[totalHashes - 1]; } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) { return a < b ? _efficientHash(a, b) : _efficientHash(b, a); } function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) { /// @solidity memory-safe-assembly assembly { mstore(0x00, a) mstore(0x20, b) value := keccak256(0x00, 0x40) } } } // File: @openzeppelin/contracts/utils/Counters.sol // OpenZeppelin Contracts v4.4.1 (utils/Counters.sol) pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } } // 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/YecheCakes.sol //SPDX-License-Identifier: MIT pragma solidity ^0.8.11; contract YecheCakes is ERC721A, Ownable, ReentrancyGuard { using Counters for Counters.Counter; Counters.Counter public numGiveawayMinted; bytes32 public giveawayMerkleRoot; string public baseURI; mapping (address => bool) private gifters; address public split; address public pieContractAddress = 0xfb5aceff3117ac013a387D383fD1643D573bd5b4; bool public mintPaused = true; bool public baseURILocked = false; uint256 private basePrice = 0.09 ether; mapping (uint256 => uint256) public quantityToDiscountPct; mapping (uint256 => uint256) public quantityToDiscountPctPie; mapping (uint256 => bool) public quantityHasDiscount; mapping (address => bool) public giveawayClaimed; uint256 private maxGiveaway = 111; uint256 private maxSupply = 777; uint256 private reservedGifts = 33; modifier onlyGifter() { require(gifters[msg.sender] == true, "only gifters can gift"); _; } modifier callerIsUser() { require(tx.origin == msg.sender, "the caller is another contract."); _; } constructor() ERC721A("YecheCakes", "CAKES") { gifters[msg.sender] = true; addQuantityDiscount(5, 5, 15); addQuantityDiscount(10, 10, 20); addQuantityDiscount(15, 15, 25); } function updateMerkleRoot(bytes32 _giveawayMerkleRoot) public onlyOwner { giveawayMerkleRoot = _giveawayMerkleRoot; } function updatePieContractAddress(address _address) public onlyOwner { pieContractAddress = _address; } function updateMintPaused(bool _mintPaused) public onlyOwner { mintPaused = _mintPaused; } function updateBasePrice(uint256 _basePrice) public onlyOwner { basePrice = _basePrice; } function addQuantityDiscount(uint256 _quantity, uint256 _discountPct, uint256 _discountPctPie) public onlyOwner { quantityToDiscountPct[_quantity] = _discountPct; quantityToDiscountPctPie[_quantity] = _discountPctPie; quantityHasDiscount[_quantity] = true; } function removeQuantityDiscount(uint256 _quantity) public onlyOwner { quantityHasDiscount[_quantity] = false; } function checkPieHolder(address user) public view returns (bool) { IERC721 pieContract = IERC721(pieContractAddress); bool hasPie = pieContract.balanceOf(user) > 0; return hasPie; } function tokenURI(uint256 tokenID) public view override returns (string memory) { require(_exists(tokenID), "ERC721Metadata: URI query for nonexistent token"); return string(abi.encodePacked(baseURI, Strings.toString(tokenID))); } function updateBaseURI(string calldata givenBaseURI) public onlyOwner { require(!baseURILocked, "base uri locked"); baseURI = givenBaseURI; } function lockBaseURI() public onlyOwner { baseURILocked = true; } function updateGifters(address _address, bool canGift) public onlyOwner { gifters[_address] = canGift; } function setSplitAddress(address _address) public onlyOwner { split = _address; } function checkPrice(uint256 quantity, address user) public view returns (uint256) { bool hasPie = checkPieHolder(user); uint256 price = basePrice; if(quantityHasDiscount[quantity]) { if(hasPie) { uint256 discountPctPie = quantityToDiscountPctPie[quantity]; price = basePrice * (100 - discountPctPie) / 100; } else { uint256 discountPct = quantityToDiscountPct[quantity]; price = basePrice * (100 - discountPct) / 100; } } uint256 total = price * quantity; return total; } function mintGiveaway(bytes32[] calldata merkleProof) public nonReentrant callerIsUser { require(!mintPaused, "minting paused"); require(giveawayClaimed[msg.sender] == false, "you have already claimed your giveaway"); require(numGiveawayMinted.current() < maxGiveaway, "giveaway limit reached"); require(numGiveawayMinted.current() < maxSupply - reservedGifts, "max supply reached"); bytes32 leaf = keccak256(abi.encodePacked(msg.sender)); require(MerkleProof.verify(merkleProof, giveawayMerkleRoot, leaf), "invalid proof"); giveawayClaimed[msg.sender] = true; numGiveawayMinted.increment(); _safeMint(msg.sender, 1); } function mint(uint256 quantity) public payable nonReentrant callerIsUser { require(!mintPaused, "minting paused"); uint256 totalPrice = checkPrice(quantity, msg.sender); require(totalPrice == msg.value, "did not send correct amount"); require(totalSupply() + quantity <= maxSupply - reservedGifts, "max supply reached"); _safeMint(msg.sender, quantity); } function gift(uint256 quantity, address to) public onlyGifter { require(totalSupply() + quantity <= maxSupply, "max supply reached"); _safeMint(to, quantity); } function withdraw() public onlyOwner { require(split != address(0), "split address not set"); (bool success, ) = split.call{value: address(this).balance}(""); require(success, "Transfer failed."); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"},{"internalType":"uint256","name":"_discountPct","type":"uint256"},{"internalType":"uint256","name":"_discountPctPie","type":"uint256"}],"name":"addQuantityDiscount","outputs":[],"stateMutability":"nonpayable","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":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURILocked","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"checkPieHolder","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"address","name":"user","type":"address"}],"name":"checkPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"address","name":"to","type":"address"}],"name":"gift","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"giveawayClaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"giveawayMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lockBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"mintGiveaway","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintPaused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"numGiveawayMinted","outputs":[{"internalType":"uint256","name":"_value","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pieContractAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"quantityHasDiscount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"quantityToDiscountPct","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"quantityToDiscountPctPie","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"removeQuantityDiscount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"setSplitAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"split","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenID","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_basePrice","type":"uint256"}],"name":"updateBasePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"givenBaseURI","type":"string"}],"name":"updateBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"bool","name":"canGift","type":"bool"}],"name":"updateGifters","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_giveawayMerkleRoot","type":"bytes32"}],"name":"updateMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_mintPaused","type":"bool"}],"name":"updateMintPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"updatePieContractAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6080604052600f80546001600160b01b0319167401fb5aceff3117ac013a387d383fd1643d573bd5b417905567013fbe85edc90000601055606f60155561030960165560216017553480156200005457600080fd5b506040518060400160405280600a815260200169596563686543616b657360b01b8152506040518060400160405280600581526020016443414b455360d81b8152508160029081620000a79190620002a5565b506003620000b68282620002a5565b50506000805550620000c8336200011c565b60016009819055336000908152600d60205260409020805460ff19169091179055620000f8600580600f6200016e565b62000107600a8060146200016e565b62000116600f8060196200016e565b62000371565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6008546001600160a01b03163314620001cd5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640160405180910390fd5b6000928352601160209081526040808520939093556012815282842091909155601390529020805460ff19166001179055565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200022b57607f821691505b6020821081036200024c57634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620002a057600081815260208120601f850160051c810160208610156200027b5750805b601f850160051c820191505b818110156200029c5782815560010162000287565b5050505b505050565b81516001600160401b03811115620002c157620002c162000200565b620002d981620002d2845462000216565b8462000252565b602080601f831160018114620003115760008415620002f85750858301515b600019600386901b1c1916600185901b1785556200029c565b600085815260208120601f198616915b82811015620003425788860151825594840194600190910190840162000321565b5085821015620003615787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b61259280620003816000396000f3fe6080604052600436106102675760003560e01c8063847e3d0d11610144578063c7d0db04116100b6578063e985e9c51161007a578063e985e9c51461074d578063ec3ccec214610796578063f229e194146107ac578063f2fde38b146107cc578063f7654176146107ec578063fd5baa881461080c57600080fd5b8063c7d0db04146106a0578063c87b56dd146106c0578063d56d44de146106e0578063e775920c14610700578063e7dcd3001461072057600080fd5b806395d89b411161010857806395d89b41146105db578063a0712d68146105f0578063a22cb46514610603578063a44acf1e14610623578063b88d4fde14610650578063c4c6be751461067057600080fd5b8063847e3d0d1461052d578063856e05041461054d57806385d9d0f81461056d5780638da5cb5b1461059d578063931688cb146105bb57600080fd5b80634783f0ef116101dd57806364c1caf8116101a157806364c1caf8146104825780636c0360eb146104a257806370a08231146104b7578063715018a6146104d75780637e4831d3146104ec57806383a076be1461050d57600080fd5b80634783f0ef146103ec5780634dba10b81461040c57806353df5c7c1461042c5780635d148e5c146104415780636352211e1461046257600080fd5b806318160ddd1161022f57806318160ddd1461033d57806323b872dd1461036057806325c8ee50146103805780633ccfd60b146103a05780633fa93761146103b557806342842e0e146103cc57600080fd5b806301ffc9a71461026c57806302acd088146102a157806306fdde03146102c3578063081812fc146102e5578063095ea7b31461031d575b600080fd5b34801561027857600080fd5b5061028c610287366004611e2f565b61082c565b60405190151581526020015b60405180910390f35b3480156102ad57600080fd5b506102c16102bc366004611e78565b61087e565b005b3480156102cf57600080fd5b506102d86108dc565b6040516102989190611efb565b3480156102f157600080fd5b50610305610300366004611f0e565b61096e565b6040516001600160a01b039091168152602001610298565b34801561032957600080fd5b506102c1610338366004611f27565b6109b2565b34801561034957600080fd5b50600154600054035b604051908152602001610298565b34801561036c57600080fd5b506102c161037b366004611f51565b610a52565b34801561038c57600080fd5b506102c161039b366004611f8d565b610beb565b3480156103ac57600080fd5b506102c1610c48565b3480156103c157600080fd5b50600a546103529081565b3480156103d857600080fd5b506102c16103e7366004611f51565b610d5b565b3480156103f857600080fd5b506102c1610407366004611f0e565b610d7b565b34801561041857600080fd5b50610352610427366004611fb9565b610daa565b34801561043857600080fd5b506102c1610e60565b34801561044d57600080fd5b50600f5461028c90600160a81b900460ff1681565b34801561046e57600080fd5b5061030561047d366004611f0e565b610e9f565b34801561048e57600080fd5b50600f54610305906001600160a01b031681565b3480156104ae57600080fd5b506102d8610eaa565b3480156104c357600080fd5b506103526104d2366004611fdc565b610f38565b3480156104e357600080fd5b506102c1610f87565b3480156104f857600080fd5b50600f5461028c90600160a01b900460ff1681565b34801561051957600080fd5b506102c1610528366004611fb9565b610fbd565b34801561053957600080fd5b5061028c610548366004611fdc565b611060565b34801561055957600080fd5b506102c1610568366004611fdc565b6110de565b34801561057957600080fd5b5061028c610588366004611fdc565b60146020526000908152604090205460ff1681565b3480156105a957600080fd5b506008546001600160a01b0316610305565b3480156105c757600080fd5b506102c16105d6366004611ff7565b61112a565b3480156105e757600080fd5b506102d86111ad565b6102c16105fe366004611f0e565b6111bc565b34801561060f57600080fd5b506102c161061e366004611e78565b611363565b34801561062f57600080fd5b5061035261063e366004611f0e565b60116020526000908152604090205481565b34801561065c57600080fd5b506102c161066b36600461207f565b6113f8565b34801561067c57600080fd5b5061028c61068b366004611f0e565b60136020526000908152604090205460ff1681565b3480156106ac57600080fd5b506102c16106bb36600461215b565b611442565b3480156106cc57600080fd5b506102d86106db366004611f0e565b61148a565b3480156106ec57600080fd5b506102c16106fb366004612176565b61152b565b34801561070c57600080fd5b506102c161071b366004611fdc565b6117fa565b34801561072c57600080fd5b5061035261073b366004611f0e565b60126020526000908152604090205481565b34801561075957600080fd5b5061028c6107683660046121d9565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156107a257600080fd5b50610352600b5481565b3480156107b857600080fd5b506102c16107c7366004611f0e565b611846565b3480156107d857600080fd5b506102c16107e7366004611fdc565b611888565b3480156107f857600080fd5b50600e54610305906001600160a01b031681565b34801561081857600080fd5b506102c1610827366004611f0e565b611920565b60006301ffc9a760e01b6001600160e01b03198316148061085d57506380ac58cd60e01b6001600160e01b03198316145b806108785750635b5e139f60e01b6001600160e01b03198316145b92915050565b6008546001600160a01b031633146108b15760405162461bcd60e51b81526004016108a890612203565b60405180910390fd5b6001600160a01b03919091166000908152600d60205260409020805460ff1916911515919091179055565b6060600280546108eb90612238565b80601f016020809104026020016040519081016040528092919081815260200182805461091790612238565b80156109645780601f1061093957610100808354040283529160200191610964565b820191906000526020600020905b81548152906001019060200180831161094757829003601f168201915b5050505050905090565b60006109798261194f565b610996576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006109bd82610e9f565b9050336001600160a01b038216146109f6576109d98133610768565b6109f6576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000610a5d82611976565b9050836001600160a01b0316816001600160a01b031614610a905760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b03881690911417610add57610ac08633610768565b610add57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610b0457604051633a954ecd60e21b815260040160405180910390fd5b8015610b0f57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b84169003610ba157600184016000818152600460205260408120549003610b9f576000548114610b9f5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b6008546001600160a01b03163314610c155760405162461bcd60e51b81526004016108a890612203565b6000928352601160209081526040808520939093556012815282842091909155601390529020805460ff19166001179055565b6008546001600160a01b03163314610c725760405162461bcd60e51b81526004016108a890612203565b600e546001600160a01b0316610cc25760405162461bcd60e51b81526020600482015260156024820152741cdc1b1a5d081859191c995cdcc81b9bdd081cd95d605a1b60448201526064016108a8565b600e546040516000916001600160a01b03169047908381818185875af1925050503d8060008114610d0f576040519150601f19603f3d011682016040523d82523d6000602084013e610d14565b606091505b5050905080610d585760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b60448201526064016108a8565b50565b610d76838383604051806020016040528060008152506113f8565b505050565b6008546001600160a01b03163314610da55760405162461bcd60e51b81526004016108a890612203565b600b55565b600080610db683611060565b6010546000868152601360205260409020549192509060ff1615610e4a578115610e14576000858152601260205260409020546064610df58282612288565b601054610e02919061229b565b610e0c91906122d0565b915050610e4a565b6000858152601160205260409020546064610e2f8282612288565b601054610e3c919061229b565b610e4691906122d0565b9150505b6000610e56868361229b565b9695505050505050565b6008546001600160a01b03163314610e8a5760405162461bcd60e51b81526004016108a890612203565b600f805460ff60a81b1916600160a81b179055565b600061087882611976565b600c8054610eb790612238565b80601f0160208091040260200160405190810160405280929190818152602001828054610ee390612238565b8015610f305780601f10610f0557610100808354040283529160200191610f30565b820191906000526020600020905b815481529060010190602001808311610f1357829003601f168201915b505050505081565b60006001600160a01b038216610f61576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b03163314610fb15760405162461bcd60e51b81526004016108a890612203565b610fbb60006119e4565b565b336000908152600d602052604090205460ff1615156001146110195760405162461bcd60e51b81526020600482015260156024820152741bdb9b1e4819da599d195c9cc818d85b8819da599d605a1b60448201526064016108a8565b6016548261102a6001546000540390565b61103491906122e4565b11156110525760405162461bcd60e51b81526004016108a8906122f7565b61105c8183611a36565b5050565b600f546040516370a0823160e01b81526001600160a01b03838116600483015260009216908290819083906370a0823190602401602060405180830381865afa1580156110b1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110d59190612323565b11949350505050565b6008546001600160a01b031633146111085760405162461bcd60e51b81526004016108a890612203565b600e80546001600160a01b0319166001600160a01b0392909216919091179055565b6008546001600160a01b031633146111545760405162461bcd60e51b81526004016108a890612203565b600f54600160a81b900460ff16156111a05760405162461bcd60e51b815260206004820152600f60248201526e18985cd9481d5c9a481b1bd8dad959608a1b60448201526064016108a8565b600c610d76828483612382565b6060600380546108eb90612238565b60026009540361120e5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016108a8565b60026009553233146112625760405162461bcd60e51b815260206004820152601f60248201527f7468652063616c6c657220697320616e6f7468657220636f6e74726163742e0060448201526064016108a8565b600f54600160a01b900460ff16156112ad5760405162461bcd60e51b815260206004820152600e60248201526d1b5a5b9d1a5b99c81c185d5cd95960921b60448201526064016108a8565b60006112b98233610daa565b905034811461130a5760405162461bcd60e51b815260206004820152601b60248201527f646964206e6f742073656e6420636f727265637420616d6f756e74000000000060448201526064016108a8565b60175460165461131a9190612288565b826113286001546000540390565b61133291906122e4565b11156113505760405162461bcd60e51b81526004016108a8906122f7565b61135a3383611a36565b50506001600955565b336001600160a01b0383160361138c5760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b611403848484610a52565b6001600160a01b0383163b1561143c5761141f84848484611a50565b61143c576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6008546001600160a01b0316331461146c5760405162461bcd60e51b81526004016108a890612203565b600f8054911515600160a01b0260ff60a01b19909216919091179055565b60606114958261194f565b6114f95760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016108a8565b600c61150483611b3c565b604051602001611515929190612442565b6040516020818303038152906040529050919050565b60026009540361157d5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016108a8565b60026009553233146115d15760405162461bcd60e51b815260206004820152601f60248201527f7468652063616c6c657220697320616e6f7468657220636f6e74726163742e0060448201526064016108a8565b600f54600160a01b900460ff161561161c5760405162461bcd60e51b815260206004820152600e60248201526d1b5a5b9d1a5b99c81c185d5cd95960921b60448201526064016108a8565b3360009081526014602052604090205460ff161561168b5760405162461bcd60e51b815260206004820152602660248201527f796f75206861766520616c726561647920636c61696d656420796f757220676960448201526576656177617960d01b60648201526084016108a8565b601554600a54106116d75760405162461bcd60e51b815260206004820152601660248201527519da5d99585dd85e481b1a5b5a5d081c995858da195960521b60448201526064016108a8565b6017546016546116e79190612288565b600a54106117075760405162461bcd60e51b81526004016108a8906122f7565b6040516bffffffffffffffffffffffff193360601b16602082015260009060340160405160208183030381529060405280519060200120905061178183838080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600b549150849050611c3d565b6117bd5760405162461bcd60e51b815260206004820152600d60248201526c34b73b30b634b210383937b7b360991b60448201526064016108a8565b336000908152601460205260409020805460ff191660011790556117e5600a80546001019055565b6117f0336001611a36565b5050600160095550565b6008546001600160a01b031633146118245760405162461bcd60e51b81526004016108a890612203565b600f80546001600160a01b0319166001600160a01b0392909216919091179055565b6008546001600160a01b031633146118705760405162461bcd60e51b81526004016108a890612203565b6000908152601360205260409020805460ff19169055565b6008546001600160a01b031633146118b25760405162461bcd60e51b81526004016108a890612203565b6001600160a01b0381166119175760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108a8565b610d58816119e4565b6008546001600160a01b0316331461194a5760405162461bcd60e51b81526004016108a890612203565b601055565b6000805482108015610878575050600090815260046020526040902054600160e01b161590565b6000816000548110156119cb5760008181526004602052604081205490600160e01b821690036119c9575b806000036119c25750600019016000818152600460205260409020546119a1565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b61105c828260405180602001604052806000815250611c53565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611a859033908990889088906004016124c9565b6020604051808303816000875af1925050508015611ac0575060408051601f3d908101601f19168201909252611abd918101906124fc565b60015b611b1e573d808015611aee576040519150601f19603f3d011682016040523d82523d6000602084013e611af3565b606091505b508051600003611b16576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b606081600003611b635750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611b8d5780611b7781612519565b9150611b869050600a836122d0565b9150611b67565b60008167ffffffffffffffff811115611ba857611ba8612069565b6040519080825280601f01601f191660200182016040528015611bd2576020820181803683370190505b5090505b8415611b3457611be7600183612288565b9150611bf4600a86612532565b611bff9060306122e4565b60f81b818381518110611c1457611c14612546565b60200101906001600160f81b031916908160001a905350611c36600a866122d0565b9450611bd6565b600082611c4a8584611cc0565b14949350505050565b611c5d8383611d0d565b6001600160a01b0383163b15610d76576000548281035b611c876000868380600101945086611a50565b611ca4576040516368d2bf6b60e11b815260040160405180910390fd5b818110611c74578160005414611cb957600080fd5b5050505050565b600081815b8451811015611d0557611cf182868381518110611ce457611ce4612546565b6020026020010151611ded565b915080611cfd81612519565b915050611cc5565b509392505050565b6000546001600160a01b038316611d3657604051622e076360e81b815260040160405180910390fd5b81600003611d575760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038316600081815260056020526040902080546801000000000000000185020190554260a01b6001841460e11b1717600082815260046020526040902055808281015b6040516001830192906001600160a01b038716906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808210611da15760005550505050565b6000818310611e095760008281526020849052604090206119c2565b5060009182526020526040902090565b6001600160e01b031981168114610d5857600080fd5b600060208284031215611e4157600080fd5b81356119c281611e19565b80356001600160a01b0381168114611e6357600080fd5b919050565b80358015158114611e6357600080fd5b60008060408385031215611e8b57600080fd5b611e9483611e4c565b9150611ea260208401611e68565b90509250929050565b60005b83811015611ec6578181015183820152602001611eae565b50506000910152565b60008151808452611ee7816020860160208601611eab565b601f01601f19169290920160200192915050565b6020815260006119c26020830184611ecf565b600060208284031215611f2057600080fd5b5035919050565b60008060408385031215611f3a57600080fd5b611f4383611e4c565b946020939093013593505050565b600080600060608486031215611f6657600080fd5b611f6f84611e4c565b9250611f7d60208501611e4c565b9150604084013590509250925092565b600080600060608486031215611fa257600080fd5b505081359360208301359350604090920135919050565b60008060408385031215611fcc57600080fd5b82359150611ea260208401611e4c565b600060208284031215611fee57600080fd5b6119c282611e4c565b6000806020838503121561200a57600080fd5b823567ffffffffffffffff8082111561202257600080fd5b818501915085601f83011261203657600080fd5b81358181111561204557600080fd5b86602082850101111561205757600080fd5b60209290920196919550909350505050565b634e487b7160e01b600052604160045260246000fd5b6000806000806080858703121561209557600080fd5b61209e85611e4c565b93506120ac60208601611e4c565b925060408501359150606085013567ffffffffffffffff808211156120d057600080fd5b818701915087601f8301126120e457600080fd5b8135818111156120f6576120f6612069565b604051601f8201601f19908116603f0116810190838211818310171561211e5761211e612069565b816040528281528a602084870101111561213757600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b60006020828403121561216d57600080fd5b6119c282611e68565b6000806020838503121561218957600080fd5b823567ffffffffffffffff808211156121a157600080fd5b818501915085601f8301126121b557600080fd5b8135818111156121c457600080fd5b8660208260051b850101111561205757600080fd5b600080604083850312156121ec57600080fd5b6121f583611e4c565b9150611ea260208401611e4c565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600181811c9082168061224c57607f821691505b60208210810361226c57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8181038181111561087857610878612272565b60008160001904831182151516156122b5576122b5612272565b500290565b634e487b7160e01b600052601260045260246000fd5b6000826122df576122df6122ba565b500490565b8082018082111561087857610878612272565b6020808252601290820152711b585e081cdd5c1c1b1e481c995858da195960721b604082015260600190565b60006020828403121561233557600080fd5b5051919050565b601f821115610d7657600081815260208120601f850160051c810160208610156123635750805b601f850160051c820191505b81811015610be35782815560010161236f565b67ffffffffffffffff83111561239a5761239a612069565b6123ae836123a88354612238565b8361233c565b6000601f8411600181146123e257600085156123ca5750838201355b600019600387901b1c1916600186901b178355611cb9565b600083815260209020601f19861690835b8281101561241357868501358255602094850194600190920191016123f3565b50868210156124305760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b600080845461245081612238565b60018281168015612468576001811461247d576124ac565b60ff19841687528215158302870194506124ac565b8860005260208060002060005b858110156124a35781548a82015290840190820161248a565b50505082870194505b5050505083516124c0818360208801611eab565b01949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090610e5690830184611ecf565b60006020828403121561250e57600080fd5b81516119c281611e19565b60006001820161252b5761252b612272565b5060010190565b600082612541576125416122ba565b500690565b634e487b7160e01b600052603260045260246000fdfea2646970667358221220a86ebecb177b05a5f914a921fb7de635ae81f31de81e159570295f0ec5bdc80d64736f6c63430008100033
Deployed Bytecode
0x6080604052600436106102675760003560e01c8063847e3d0d11610144578063c7d0db04116100b6578063e985e9c51161007a578063e985e9c51461074d578063ec3ccec214610796578063f229e194146107ac578063f2fde38b146107cc578063f7654176146107ec578063fd5baa881461080c57600080fd5b8063c7d0db04146106a0578063c87b56dd146106c0578063d56d44de146106e0578063e775920c14610700578063e7dcd3001461072057600080fd5b806395d89b411161010857806395d89b41146105db578063a0712d68146105f0578063a22cb46514610603578063a44acf1e14610623578063b88d4fde14610650578063c4c6be751461067057600080fd5b8063847e3d0d1461052d578063856e05041461054d57806385d9d0f81461056d5780638da5cb5b1461059d578063931688cb146105bb57600080fd5b80634783f0ef116101dd57806364c1caf8116101a157806364c1caf8146104825780636c0360eb146104a257806370a08231146104b7578063715018a6146104d75780637e4831d3146104ec57806383a076be1461050d57600080fd5b80634783f0ef146103ec5780634dba10b81461040c57806353df5c7c1461042c5780635d148e5c146104415780636352211e1461046257600080fd5b806318160ddd1161022f57806318160ddd1461033d57806323b872dd1461036057806325c8ee50146103805780633ccfd60b146103a05780633fa93761146103b557806342842e0e146103cc57600080fd5b806301ffc9a71461026c57806302acd088146102a157806306fdde03146102c3578063081812fc146102e5578063095ea7b31461031d575b600080fd5b34801561027857600080fd5b5061028c610287366004611e2f565b61082c565b60405190151581526020015b60405180910390f35b3480156102ad57600080fd5b506102c16102bc366004611e78565b61087e565b005b3480156102cf57600080fd5b506102d86108dc565b6040516102989190611efb565b3480156102f157600080fd5b50610305610300366004611f0e565b61096e565b6040516001600160a01b039091168152602001610298565b34801561032957600080fd5b506102c1610338366004611f27565b6109b2565b34801561034957600080fd5b50600154600054035b604051908152602001610298565b34801561036c57600080fd5b506102c161037b366004611f51565b610a52565b34801561038c57600080fd5b506102c161039b366004611f8d565b610beb565b3480156103ac57600080fd5b506102c1610c48565b3480156103c157600080fd5b50600a546103529081565b3480156103d857600080fd5b506102c16103e7366004611f51565b610d5b565b3480156103f857600080fd5b506102c1610407366004611f0e565b610d7b565b34801561041857600080fd5b50610352610427366004611fb9565b610daa565b34801561043857600080fd5b506102c1610e60565b34801561044d57600080fd5b50600f5461028c90600160a81b900460ff1681565b34801561046e57600080fd5b5061030561047d366004611f0e565b610e9f565b34801561048e57600080fd5b50600f54610305906001600160a01b031681565b3480156104ae57600080fd5b506102d8610eaa565b3480156104c357600080fd5b506103526104d2366004611fdc565b610f38565b3480156104e357600080fd5b506102c1610f87565b3480156104f857600080fd5b50600f5461028c90600160a01b900460ff1681565b34801561051957600080fd5b506102c1610528366004611fb9565b610fbd565b34801561053957600080fd5b5061028c610548366004611fdc565b611060565b34801561055957600080fd5b506102c1610568366004611fdc565b6110de565b34801561057957600080fd5b5061028c610588366004611fdc565b60146020526000908152604090205460ff1681565b3480156105a957600080fd5b506008546001600160a01b0316610305565b3480156105c757600080fd5b506102c16105d6366004611ff7565b61112a565b3480156105e757600080fd5b506102d86111ad565b6102c16105fe366004611f0e565b6111bc565b34801561060f57600080fd5b506102c161061e366004611e78565b611363565b34801561062f57600080fd5b5061035261063e366004611f0e565b60116020526000908152604090205481565b34801561065c57600080fd5b506102c161066b36600461207f565b6113f8565b34801561067c57600080fd5b5061028c61068b366004611f0e565b60136020526000908152604090205460ff1681565b3480156106ac57600080fd5b506102c16106bb36600461215b565b611442565b3480156106cc57600080fd5b506102d86106db366004611f0e565b61148a565b3480156106ec57600080fd5b506102c16106fb366004612176565b61152b565b34801561070c57600080fd5b506102c161071b366004611fdc565b6117fa565b34801561072c57600080fd5b5061035261073b366004611f0e565b60126020526000908152604090205481565b34801561075957600080fd5b5061028c6107683660046121d9565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156107a257600080fd5b50610352600b5481565b3480156107b857600080fd5b506102c16107c7366004611f0e565b611846565b3480156107d857600080fd5b506102c16107e7366004611fdc565b611888565b3480156107f857600080fd5b50600e54610305906001600160a01b031681565b34801561081857600080fd5b506102c1610827366004611f0e565b611920565b60006301ffc9a760e01b6001600160e01b03198316148061085d57506380ac58cd60e01b6001600160e01b03198316145b806108785750635b5e139f60e01b6001600160e01b03198316145b92915050565b6008546001600160a01b031633146108b15760405162461bcd60e51b81526004016108a890612203565b60405180910390fd5b6001600160a01b03919091166000908152600d60205260409020805460ff1916911515919091179055565b6060600280546108eb90612238565b80601f016020809104026020016040519081016040528092919081815260200182805461091790612238565b80156109645780601f1061093957610100808354040283529160200191610964565b820191906000526020600020905b81548152906001019060200180831161094757829003601f168201915b5050505050905090565b60006109798261194f565b610996576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006109bd82610e9f565b9050336001600160a01b038216146109f6576109d98133610768565b6109f6576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000610a5d82611976565b9050836001600160a01b0316816001600160a01b031614610a905760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b03881690911417610add57610ac08633610768565b610add57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610b0457604051633a954ecd60e21b815260040160405180910390fd5b8015610b0f57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b84169003610ba157600184016000818152600460205260408120549003610b9f576000548114610b9f5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b6008546001600160a01b03163314610c155760405162461bcd60e51b81526004016108a890612203565b6000928352601160209081526040808520939093556012815282842091909155601390529020805460ff19166001179055565b6008546001600160a01b03163314610c725760405162461bcd60e51b81526004016108a890612203565b600e546001600160a01b0316610cc25760405162461bcd60e51b81526020600482015260156024820152741cdc1b1a5d081859191c995cdcc81b9bdd081cd95d605a1b60448201526064016108a8565b600e546040516000916001600160a01b03169047908381818185875af1925050503d8060008114610d0f576040519150601f19603f3d011682016040523d82523d6000602084013e610d14565b606091505b5050905080610d585760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b60448201526064016108a8565b50565b610d76838383604051806020016040528060008152506113f8565b505050565b6008546001600160a01b03163314610da55760405162461bcd60e51b81526004016108a890612203565b600b55565b600080610db683611060565b6010546000868152601360205260409020549192509060ff1615610e4a578115610e14576000858152601260205260409020546064610df58282612288565b601054610e02919061229b565b610e0c91906122d0565b915050610e4a565b6000858152601160205260409020546064610e2f8282612288565b601054610e3c919061229b565b610e4691906122d0565b9150505b6000610e56868361229b565b9695505050505050565b6008546001600160a01b03163314610e8a5760405162461bcd60e51b81526004016108a890612203565b600f805460ff60a81b1916600160a81b179055565b600061087882611976565b600c8054610eb790612238565b80601f0160208091040260200160405190810160405280929190818152602001828054610ee390612238565b8015610f305780601f10610f0557610100808354040283529160200191610f30565b820191906000526020600020905b815481529060010190602001808311610f1357829003601f168201915b505050505081565b60006001600160a01b038216610f61576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b03163314610fb15760405162461bcd60e51b81526004016108a890612203565b610fbb60006119e4565b565b336000908152600d602052604090205460ff1615156001146110195760405162461bcd60e51b81526020600482015260156024820152741bdb9b1e4819da599d195c9cc818d85b8819da599d605a1b60448201526064016108a8565b6016548261102a6001546000540390565b61103491906122e4565b11156110525760405162461bcd60e51b81526004016108a8906122f7565b61105c8183611a36565b5050565b600f546040516370a0823160e01b81526001600160a01b03838116600483015260009216908290819083906370a0823190602401602060405180830381865afa1580156110b1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110d59190612323565b11949350505050565b6008546001600160a01b031633146111085760405162461bcd60e51b81526004016108a890612203565b600e80546001600160a01b0319166001600160a01b0392909216919091179055565b6008546001600160a01b031633146111545760405162461bcd60e51b81526004016108a890612203565b600f54600160a81b900460ff16156111a05760405162461bcd60e51b815260206004820152600f60248201526e18985cd9481d5c9a481b1bd8dad959608a1b60448201526064016108a8565b600c610d76828483612382565b6060600380546108eb90612238565b60026009540361120e5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016108a8565b60026009553233146112625760405162461bcd60e51b815260206004820152601f60248201527f7468652063616c6c657220697320616e6f7468657220636f6e74726163742e0060448201526064016108a8565b600f54600160a01b900460ff16156112ad5760405162461bcd60e51b815260206004820152600e60248201526d1b5a5b9d1a5b99c81c185d5cd95960921b60448201526064016108a8565b60006112b98233610daa565b905034811461130a5760405162461bcd60e51b815260206004820152601b60248201527f646964206e6f742073656e6420636f727265637420616d6f756e74000000000060448201526064016108a8565b60175460165461131a9190612288565b826113286001546000540390565b61133291906122e4565b11156113505760405162461bcd60e51b81526004016108a8906122f7565b61135a3383611a36565b50506001600955565b336001600160a01b0383160361138c5760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b611403848484610a52565b6001600160a01b0383163b1561143c5761141f84848484611a50565b61143c576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6008546001600160a01b0316331461146c5760405162461bcd60e51b81526004016108a890612203565b600f8054911515600160a01b0260ff60a01b19909216919091179055565b60606114958261194f565b6114f95760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016108a8565b600c61150483611b3c565b604051602001611515929190612442565b6040516020818303038152906040529050919050565b60026009540361157d5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016108a8565b60026009553233146115d15760405162461bcd60e51b815260206004820152601f60248201527f7468652063616c6c657220697320616e6f7468657220636f6e74726163742e0060448201526064016108a8565b600f54600160a01b900460ff161561161c5760405162461bcd60e51b815260206004820152600e60248201526d1b5a5b9d1a5b99c81c185d5cd95960921b60448201526064016108a8565b3360009081526014602052604090205460ff161561168b5760405162461bcd60e51b815260206004820152602660248201527f796f75206861766520616c726561647920636c61696d656420796f757220676960448201526576656177617960d01b60648201526084016108a8565b601554600a54106116d75760405162461bcd60e51b815260206004820152601660248201527519da5d99585dd85e481b1a5b5a5d081c995858da195960521b60448201526064016108a8565b6017546016546116e79190612288565b600a54106117075760405162461bcd60e51b81526004016108a8906122f7565b6040516bffffffffffffffffffffffff193360601b16602082015260009060340160405160208183030381529060405280519060200120905061178183838080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600b549150849050611c3d565b6117bd5760405162461bcd60e51b815260206004820152600d60248201526c34b73b30b634b210383937b7b360991b60448201526064016108a8565b336000908152601460205260409020805460ff191660011790556117e5600a80546001019055565b6117f0336001611a36565b5050600160095550565b6008546001600160a01b031633146118245760405162461bcd60e51b81526004016108a890612203565b600f80546001600160a01b0319166001600160a01b0392909216919091179055565b6008546001600160a01b031633146118705760405162461bcd60e51b81526004016108a890612203565b6000908152601360205260409020805460ff19169055565b6008546001600160a01b031633146118b25760405162461bcd60e51b81526004016108a890612203565b6001600160a01b0381166119175760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108a8565b610d58816119e4565b6008546001600160a01b0316331461194a5760405162461bcd60e51b81526004016108a890612203565b601055565b6000805482108015610878575050600090815260046020526040902054600160e01b161590565b6000816000548110156119cb5760008181526004602052604081205490600160e01b821690036119c9575b806000036119c25750600019016000818152600460205260409020546119a1565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b61105c828260405180602001604052806000815250611c53565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611a859033908990889088906004016124c9565b6020604051808303816000875af1925050508015611ac0575060408051601f3d908101601f19168201909252611abd918101906124fc565b60015b611b1e573d808015611aee576040519150601f19603f3d011682016040523d82523d6000602084013e611af3565b606091505b508051600003611b16576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b606081600003611b635750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611b8d5780611b7781612519565b9150611b869050600a836122d0565b9150611b67565b60008167ffffffffffffffff811115611ba857611ba8612069565b6040519080825280601f01601f191660200182016040528015611bd2576020820181803683370190505b5090505b8415611b3457611be7600183612288565b9150611bf4600a86612532565b611bff9060306122e4565b60f81b818381518110611c1457611c14612546565b60200101906001600160f81b031916908160001a905350611c36600a866122d0565b9450611bd6565b600082611c4a8584611cc0565b14949350505050565b611c5d8383611d0d565b6001600160a01b0383163b15610d76576000548281035b611c876000868380600101945086611a50565b611ca4576040516368d2bf6b60e11b815260040160405180910390fd5b818110611c74578160005414611cb957600080fd5b5050505050565b600081815b8451811015611d0557611cf182868381518110611ce457611ce4612546565b6020026020010151611ded565b915080611cfd81612519565b915050611cc5565b509392505050565b6000546001600160a01b038316611d3657604051622e076360e81b815260040160405180910390fd5b81600003611d575760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038316600081815260056020526040902080546801000000000000000185020190554260a01b6001841460e11b1717600082815260046020526040902055808281015b6040516001830192906001600160a01b038716906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808210611da15760005550505050565b6000818310611e095760008281526020849052604090206119c2565b5060009182526020526040902090565b6001600160e01b031981168114610d5857600080fd5b600060208284031215611e4157600080fd5b81356119c281611e19565b80356001600160a01b0381168114611e6357600080fd5b919050565b80358015158114611e6357600080fd5b60008060408385031215611e8b57600080fd5b611e9483611e4c565b9150611ea260208401611e68565b90509250929050565b60005b83811015611ec6578181015183820152602001611eae565b50506000910152565b60008151808452611ee7816020860160208601611eab565b601f01601f19169290920160200192915050565b6020815260006119c26020830184611ecf565b600060208284031215611f2057600080fd5b5035919050565b60008060408385031215611f3a57600080fd5b611f4383611e4c565b946020939093013593505050565b600080600060608486031215611f6657600080fd5b611f6f84611e4c565b9250611f7d60208501611e4c565b9150604084013590509250925092565b600080600060608486031215611fa257600080fd5b505081359360208301359350604090920135919050565b60008060408385031215611fcc57600080fd5b82359150611ea260208401611e4c565b600060208284031215611fee57600080fd5b6119c282611e4c565b6000806020838503121561200a57600080fd5b823567ffffffffffffffff8082111561202257600080fd5b818501915085601f83011261203657600080fd5b81358181111561204557600080fd5b86602082850101111561205757600080fd5b60209290920196919550909350505050565b634e487b7160e01b600052604160045260246000fd5b6000806000806080858703121561209557600080fd5b61209e85611e4c565b93506120ac60208601611e4c565b925060408501359150606085013567ffffffffffffffff808211156120d057600080fd5b818701915087601f8301126120e457600080fd5b8135818111156120f6576120f6612069565b604051601f8201601f19908116603f0116810190838211818310171561211e5761211e612069565b816040528281528a602084870101111561213757600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b60006020828403121561216d57600080fd5b6119c282611e68565b6000806020838503121561218957600080fd5b823567ffffffffffffffff808211156121a157600080fd5b818501915085601f8301126121b557600080fd5b8135818111156121c457600080fd5b8660208260051b850101111561205757600080fd5b600080604083850312156121ec57600080fd5b6121f583611e4c565b9150611ea260208401611e4c565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600181811c9082168061224c57607f821691505b60208210810361226c57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8181038181111561087857610878612272565b60008160001904831182151516156122b5576122b5612272565b500290565b634e487b7160e01b600052601260045260246000fd5b6000826122df576122df6122ba565b500490565b8082018082111561087857610878612272565b6020808252601290820152711b585e081cdd5c1c1b1e481c995858da195960721b604082015260600190565b60006020828403121561233557600080fd5b5051919050565b601f821115610d7657600081815260208120601f850160051c810160208610156123635750805b601f850160051c820191505b81811015610be35782815560010161236f565b67ffffffffffffffff83111561239a5761239a612069565b6123ae836123a88354612238565b8361233c565b6000601f8411600181146123e257600085156123ca5750838201355b600019600387901b1c1916600186901b178355611cb9565b600083815260209020601f19861690835b8281101561241357868501358255602094850194600190920191016123f3565b50868210156124305760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b600080845461245081612238565b60018281168015612468576001811461247d576124ac565b60ff19841687528215158302870194506124ac565b8860005260208060002060005b858110156124a35781548a82015290840190820161248a565b50505082870194505b5050505083516124c0818360208801611eab565b01949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090610e5690830184611ecf565b60006020828403121561250e57600080fd5b81516119c281611e19565b60006001820161252b5761252b612272565b5060010190565b600082612541576125416122ba565b500690565b634e487b7160e01b600052603260045260246000fdfea2646970667358221220a86ebecb177b05a5f914a921fb7de635ae81f31de81e159570295f0ec5bdc80d64736f6c63430008100033
Deployed Bytecode Sourcemap
79187:5514:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48938:615;;;;;;;;;;-1:-1:-1;48938:615:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;48938:615:0;;;;;;;;82231:118;;;;;;;;;;-1:-1:-1;82231:118:0;;;;;:::i;:::-;;:::i;:::-;;54585:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;56531:204::-;;;;;;;;;;-1:-1:-1;56531:204:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;2299:32:1;;;2281:51;;2269:2;2254:18;56531:204:0;2135:203:1;56079:386:0;;;;;;;;;;-1:-1:-1;56079:386:0;;;;;:::i;:::-;;:::i;47992:315::-;;;;;;;;;;-1:-1:-1;48258:12:0;;48045:7;48242:13;:28;47992:315;;;2748:25:1;;;2736:2;2721:18;47992:315:0;2602:177:1;65796:2800:0;;;;;;;;;;-1:-1:-1;65796:2800:0;;;;;:::i;:::-;;:::i;81057:290::-;;;;;;;;;;-1:-1:-1;81057:290:0;;;;;:::i;:::-;;:::i;84466:232::-;;;;;;;;;;;;;:::i;79299:41::-;;;;;;;;;;-1:-1:-1;79299:41:0;;;;;;57421:185;;;;;;;;;;-1:-1:-1;57421:185:0;;;;;:::i;:::-;;:::i;80570:131::-;;;;;;;;;;-1:-1:-1;80570:131:0;;;;;:::i;:::-;;:::i;82460:663::-;;;;;;;;;;-1:-1:-1;82460:663:0;;;;;:::i;:::-;;:::i;82144:79::-;;;;;;;;;;;;;:::i;79624:33::-;;;;;;;;;;-1:-1:-1;79624:33:0;;;;-1:-1:-1;;;79624:33:0;;;;;;54374:144;;;;;;;;;;-1:-1:-1;54374:144:0;;;;;:::i;:::-;;:::i;79501:78::-;;;;;;;;;;-1:-1:-1;79501:78:0;;;;-1:-1:-1;;;;;79501:78:0;;;79391:21;;;;;;;;;;;;;:::i;49617:224::-;;;;;;;;;;-1:-1:-1;49617:224:0;;;;;:::i;:::-;;:::i;17545:103::-;;;;;;;;;;;;;:::i;79588:29::-;;;;;;;;;;-1:-1:-1;79588:29:0;;;;-1:-1:-1;;;79588:29:0;;;;;;84271:183;;;;;;;;;;-1:-1:-1;84271:183:0;;;;;:::i;:::-;;:::i;81488:213::-;;;;;;;;;;-1:-1:-1;81488:213:0;;;;;:::i;:::-;;:::i;82357:95::-;;;;;;;;;;-1:-1:-1;82357:95:0;;;;;:::i;:::-;;:::i;79912:48::-;;;;;;;;;;-1:-1:-1;79912:48:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;16894:87;;;;;;;;;;-1:-1:-1;16967:6:0;;-1:-1:-1;;;;;16967:6:0;16894:87;;81972:164;;;;;;;;;;-1:-1:-1;81972:164:0;;;;;:::i;:::-;;:::i;54754:104::-;;;;;;;;;;;;;:::i;83850:413::-;;;;;;:::i;:::-;;:::i;56807:308::-;;;;;;;;;;-1:-1:-1;56807:308:0;;;;;:::i;:::-;;:::i;79713:58::-;;;;;;;;;;-1:-1:-1;79713:58:0;;;;;:::i;:::-;;;;;;;;;;;;;;57677:399;;;;;;;;;;-1:-1:-1;57677:399:0;;;;;:::i;:::-;;:::i;79851:52::-;;;;;;;;;;-1:-1:-1;79851:52:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;80834:104;;;;;;;;;;-1:-1:-1;80834:104:0;;;;;:::i;:::-;;:::i;81709:255::-;;;;;;;;;;-1:-1:-1;81709:255:0;;;;;:::i;:::-;;:::i;83131:711::-;;;;;;;;;;-1:-1:-1;83131:711:0;;;;;:::i;:::-;;:::i;80709:117::-;;;;;;;;;;-1:-1:-1;80709:117:0;;;;;:::i;:::-;;:::i;79778:60::-;;;;;;;;;;-1:-1:-1;79778:60:0;;;;;:::i;:::-;;;;;;;;;;;;;;57186:164;;;;;;;;;;-1:-1:-1;57186:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;57307:25:0;;;57283:4;57307:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;57186:164;79349:33;;;;;;;;;;;;;;;;81355:125;;;;;;;;;;-1:-1:-1;81355:125:0;;;;;:::i;:::-;;:::i;17803:201::-;;;;;;;;;;-1:-1:-1;17803:201:0;;;;;:::i;:::-;;:::i;79472:20::-;;;;;;;;;;-1:-1:-1;79472:20:0;;;;-1:-1:-1;;;;;79472:20:0;;;80946:103;;;;;;;;;;-1:-1:-1;80946:103:0;;;;;:::i;:::-;;:::i;48938:615::-;49023:4;-1:-1:-1;;;;;;;;;49323:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;49400:25:0;;;49323:102;:179;;;-1:-1:-1;;;;;;;;;;49477:25:0;;;49323:179;49303:199;48938:615;-1:-1:-1;;48938:615:0:o;82231:118::-;16967:6;;-1:-1:-1;;;;;16967:6:0;15698:10;17114:23;17106:68;;;;-1:-1:-1;;;17106:68:0;;;;;;;:::i;:::-;;;;;;;;;-1:-1:-1;;;;;82314:17:0;;;::::1;;::::0;;;:7:::1;:17;::::0;;;;:27;;-1:-1:-1;;82314:27:0::1;::::0;::::1;;::::0;;;::::1;::::0;;82231:118::o;54585:100::-;54639:13;54672:5;54665:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54585:100;:::o;56531:204::-;56599:7;56624:16;56632:7;56624;:16::i;:::-;56619:64;;56649:34;;-1:-1:-1;;;56649:34:0;;;;;;;;;;;56619:64;-1:-1:-1;56703:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;56703:24:0;;56531:204::o;56079:386::-;56152:13;56168:16;56176:7;56168;:16::i;:::-;56152:32;-1:-1:-1;15698:10:0;-1:-1:-1;;;;;56201:28:0;;;56197:175;;56249:44;56266:5;15698:10;57186:164;:::i;56249:44::-;56244:128;;56321:35;;-1:-1:-1;;;56321:35:0;;;;;;;;;;;56244:128;56384:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;56384:29:0;-1:-1:-1;;;;;56384:29:0;;;;;;;;;56429:28;;56384:24;;56429:28;;;;;;;56141:324;56079:386;;:::o;65796:2800::-;65930:27;65960;65979:7;65960:18;:27::i;:::-;65930:57;;66045:4;-1:-1:-1;;;;;66004:45:0;66020:19;-1:-1:-1;;;;;66004:45:0;;66000:86;;66058:28;;-1:-1:-1;;;66058:28:0;;;;;;;;;;;66000:86;66100:27;64526:21;;;64353:15;64568:4;64561:36;64650:4;64634:21;;64740:26;;15698:10;65493:30;;;-1:-1:-1;;;;;65191:26:0;;65472:19;;;65469:55;66279:174;;66366:43;66383:4;15698:10;57186:164;:::i;66366:43::-;66361:92;;66418:35;;-1:-1:-1;;;66418:35:0;;;;;;;;;;;66361:92;-1:-1:-1;;;;;66470:16:0;;66466:52;;66495:23;;-1:-1:-1;;;66495:23:0;;;;;;;;;;;66466:52;66667:15;66664:160;;;66807:1;66786:19;66779:30;66664:160;-1:-1:-1;;;;;67202:24:0;;;;;;;:18;:24;;;;;;67200:26;;-1:-1:-1;;67200:26:0;;;67271:22;;;;;;;;;67269:24;;-1:-1:-1;67269:24:0;;;54273:11;54249:22;54245:40;54232:62;-1:-1:-1;;;54232:62:0;67564:26;;;;:17;:26;;;;;:174;;;;-1:-1:-1;;;67858:46:0;;:51;;67854:626;;67962:1;67952:11;;67930:19;68085:30;;;:17;:30;;;;;;:35;;68081:384;;68223:13;;68208:11;:28;68204:242;;68370:30;;;;:17;:30;;;;;:52;;;68204:242;67911:569;67854:626;68527:7;68523:2;-1:-1:-1;;;;;68508:27:0;68517:4;-1:-1:-1;;;;;68508:27:0;;;;;;;;;;;68546:42;65919:2677;;;65796:2800;;;:::o;81057:290::-;16967:6;;-1:-1:-1;;;;;16967:6:0;15698:10;17114:23;17106:68;;;;-1:-1:-1;;;17106:68:0;;;;;;;:::i;:::-;81180:32:::1;::::0;;;:21:::1;:32;::::0;;;;;;;:47;;;;81238:24:::1;:35:::0;;;;;:53;;;;81302:19:::1;:30:::0;;;;:37;;-1:-1:-1;;81302:37:0::1;81335:4;81302:37;::::0;;81057:290::o;84466:232::-;16967:6;;-1:-1:-1;;;;;16967:6:0;15698:10;17114:23;17106:68;;;;-1:-1:-1;;;17106:68:0;;;;;;;:::i;:::-;84522:5:::1;::::0;-1:-1:-1;;;;;84522:5:0::1;84514:53;;;::::0;-1:-1:-1;;;84514:53:0;;8145:2:1;84514:53:0::1;::::0;::::1;8127:21:1::0;8184:2;8164:18;;;8157:30;-1:-1:-1;;;8203:18:1;;;8196:51;8264:18;;84514:53:0::1;7943:345:1::0;84514:53:0::1;84599:5;::::0;:44:::1;::::0;84581:12:::1;::::0;-1:-1:-1;;;;;84599:5:0::1;::::0;84617:21:::1;::::0;84581:12;84599:44;84581:12;84599:44;84617:21;84599:5;:44:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;84580:63;;;84662:7;84654:36;;;::::0;-1:-1:-1;;;84654:36:0;;8705:2:1;84654:36:0::1;::::0;::::1;8687:21:1::0;8744:2;8724:18;;;8717:30;-1:-1:-1;;;8763:18:1;;;8756:46;8819:18;;84654:36:0::1;8503:340:1::0;84654:36:0::1;84503:195;84466:232::o:0;57421:185::-;57559:39;57576:4;57582:2;57586:7;57559:39;;;;;;;;;;;;:16;:39::i;:::-;57421:185;;;:::o;80570:131::-;16967:6;;-1:-1:-1;;;;;16967:6:0;15698:10;17114:23;17106:68;;;;-1:-1:-1;;;17106:68:0;;;;;;;:::i;:::-;80653:18:::1;:40:::0;80570:131::o;82460:663::-;82533:7;82553:11;82567:20;82582:4;82567:14;:20::i;:::-;82616:9;;82600:13;82641:29;;;:19;:29;;;;;;82553:34;;-1:-1:-1;82616:9:0;82641:29;;82638:408;;;82690:6;82687:348;;;82717:22;82742:34;;;:24;:34;;;;;;82841:3;82817:20;82742:34;82841:3;82817:20;:::i;:::-;82804:9;;:34;;;;:::i;:::-;:40;;;;:::i;:::-;82796:48;;82698:162;82687:348;;;82902:19;82924:31;;;:21;:31;;;;;;83016:3;82995:17;82924:31;83016:3;82995:17;:::i;:::-;82982:9;;:31;;;;:::i;:::-;:37;;;;:::i;:::-;82974:45;;82883:152;82687:348;83058:13;83074:16;83082:8;83074:5;:16;:::i;:::-;83058:32;82460:663;-1:-1:-1;;;;;;82460:663:0:o;82144:79::-;16967:6;;-1:-1:-1;;;;;16967:6:0;15698:10;17114:23;17106:68;;;;-1:-1:-1;;;17106:68:0;;;;;;;:::i;:::-;82195:13:::1;:20:::0;;-1:-1:-1;;;;82195:20:0::1;-1:-1:-1::0;;;82195:20:0::1;::::0;;82144:79::o;54374:144::-;54438:7;54481:27;54500:7;54481:18;:27::i;79391:21::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;49617:224::-;49681:7;-1:-1:-1;;;;;49705:19:0;;49701:60;;49733:28;;-1:-1:-1;;;49733:28:0;;;;;;;;;;;49701:60;-1:-1:-1;;;;;;49779:25:0;;;;;:18;:25;;;;;;44172:13;49779:54;;49617:224::o;17545:103::-;16967:6;;-1:-1:-1;;;;;16967:6:0;15698:10;17114:23;17106:68;;;;-1:-1:-1;;;17106:68:0;;;;;;;:::i;:::-;17610:30:::1;17637:1;17610:18;:30::i;:::-;17545:103::o:0;84271:183::-;80142:10;80134:19;;;;:7;:19;;;;;;;;:27;;:19;:27;80126:61;;;;-1:-1:-1;;;80126:61:0;;9745:2:1;80126:61:0;;;9727:21:1;9784:2;9764:18;;;9757:30;-1:-1:-1;;;9803:18:1;;;9796:51;9864:18;;80126:61:0;9543:345:1;80126:61:0;84380:9:::1;;84368:8;84352:13;48258:12:::0;;48045:7;48242:13;:28;;47992:315;84352:13:::1;:24;;;;:::i;:::-;:37;;84344:68;;;;-1:-1:-1::0;;;84344:68:0::1;;;;;;;:::i;:::-;84423:23;84433:2;84437:8;84423:9;:23::i;:::-;84271:183:::0;;:::o;81488:213::-;81594:18;;81638:27;;-1:-1:-1;;;81638:27:0;;-1:-1:-1;;;;;2299:32:1;;;81638:27:0;;;2281:51:1;81547:4:0;;81594:18;;81547:4;;;;81594:18;;81638:21;;2254:18:1;;81638:27:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:31;;81488:213;-1:-1:-1;;;;81488:213:0:o;82357:95::-;16967:6;;-1:-1:-1;;;;;16967:6:0;15698:10;17114:23;17106:68;;;;-1:-1:-1;;;17106:68:0;;;;;;;:::i;:::-;82428:5:::1;:16:::0;;-1:-1:-1;;;;;;82428:16:0::1;-1:-1:-1::0;;;;;82428:16:0;;;::::1;::::0;;;::::1;::::0;;82357:95::o;81972:164::-;16967:6;;-1:-1:-1;;;;;16967:6:0;15698:10;17114:23;17106:68;;;;-1:-1:-1;;;17106:68:0;;;;;;;:::i;:::-;82062:13:::1;::::0;-1:-1:-1;;;82062:13:0;::::1;;;82061:14;82053:42;;;::::0;-1:-1:-1;;;82053:42:0;;10761:2:1;82053:42:0::1;::::0;::::1;10743:21:1::0;10800:2;10780:18;;;10773:30;-1:-1:-1;;;10819:18:1;;;10812:45;10874:18;;82053:42:0::1;10559:339:1::0;82053:42:0::1;82106:7;:22;82116:12:::0;;82106:7;:22:::1;:::i;54754:104::-:0;54810:13;54843:7;54836:14;;;;;:::i;83850:413::-;13992:1;14590:7;;:19;14582:63;;;;-1:-1:-1;;;14582:63:0;;13163:2:1;14582:63:0;;;13145:21:1;13202:2;13182:18;;;13175:30;13241:33;13221:18;;;13214:61;13292:18;;14582:63:0;12961:355:1;14582:63:0;13992:1;14723:7;:18;80258:9:::1;80271:10;80258:23;80250:67;;;::::0;-1:-1:-1;;;80250:67:0;;13523:2:1;80250:67:0::1;::::0;::::1;13505:21:1::0;13562:2;13542:18;;;13535:30;13601:33;13581:18;;;13574:61;13652:18;;80250:67:0::1;13321:355:1::0;80250:67:0::1;83943:10:::2;::::0;-1:-1:-1;;;83943:10:0;::::2;;;83942:11;83934:38;;;::::0;-1:-1:-1;;;83934:38:0;;13883:2:1;83934:38:0::2;::::0;::::2;13865:21:1::0;13922:2;13902:18;;;13895:30;-1:-1:-1;;;13941:18:1;;;13934:44;13995:18;;83934:38:0::2;13681:338:1::0;83934:38:0::2;83985:18;84006:32;84017:8;84027:10;84006;:32::i;:::-;83985:53;;84073:9;84059:10;:23;84051:63;;;::::0;-1:-1:-1;;;84051:63:0;;14226:2:1;84051:63:0::2;::::0;::::2;14208:21:1::0;14265:2;14245:18;;;14238:30;14304:29;14284:18;;;14277:57;14351:18;;84051:63:0::2;14024:351:1::0;84051:63:0::2;84175:13;;84163:9;;:25;;;;:::i;:::-;84151:8;84135:13;48258:12:::0;;48045:7;48242:13;:28;;47992:315;84135:13:::2;:24;;;;:::i;:::-;:53;;84127:84;;;;-1:-1:-1::0;;;84127:84:0::2;;;;;;;:::i;:::-;84224:31;84234:10;84246:8;84224:9;:31::i;:::-;-1:-1:-1::0;;13948:1:0;14902:7;:22;83850:413::o;56807:308::-;15698:10;-1:-1:-1;;;;;56906:31:0;;;56902:61;;56946:17;;-1:-1:-1;;;56946:17:0;;;;;;;;;;;56902:61;15698:10;56976:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;56976:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;56976:60:0;;;;;;;;;;57052:55;;540:41:1;;;56976:49:0;;15698:10;57052:55;;513:18:1;57052:55:0;;;;;;;56807:308;;:::o;57677:399::-;57844:31;57857:4;57863:2;57867:7;57844:12;:31::i;:::-;-1:-1:-1;;;;;57890:14:0;;;:19;57886:183;;57929:56;57960:4;57966:2;57970:7;57979:5;57929:30;:56::i;:::-;57924:145;;58013:40;;-1:-1:-1;;;58013:40:0;;;;;;;;;;;57924:145;57677:399;;;;:::o;80834:104::-;16967:6;;-1:-1:-1;;;;;16967:6:0;15698:10;17114:23;17106:68;;;;-1:-1:-1;;;17106:68:0;;;;;;;:::i;:::-;80906:10:::1;:24:::0;;;::::1;;-1:-1:-1::0;;;80906:24:0::1;-1:-1:-1::0;;;;80906:24:0;;::::1;::::0;;;::::1;::::0;;80834:104::o;81709:255::-;81774:13;81808:16;81816:7;81808;:16::i;:::-;81800:76;;;;-1:-1:-1;;;81800:76:0;;14582:2:1;81800:76:0;;;14564:21:1;14621:2;14601:18;;;14594:30;14660:34;14640:18;;;14633:62;-1:-1:-1;;;14711:18:1;;;14704:45;14766:19;;81800:76:0;14380:411:1;81800:76:0;81920:7;81929:25;81946:7;81929:16;:25::i;:::-;81903:52;;;;;;;;;:::i;:::-;;;;;;;;;;;;;81889:67;;81709:255;;;:::o;83131:711::-;13992:1;14590:7;;:19;14582:63;;;;-1:-1:-1;;;14582:63:0;;13163:2:1;14582:63:0;;;13145:21:1;13202:2;13182:18;;;13175:30;13241:33;13221:18;;;13214:61;13292:18;;14582:63:0;12961:355:1;14582:63:0;13992:1;14723:7;:18;80258:9:::1;80271:10;80258:23;80250:67;;;::::0;-1:-1:-1;;;80250:67:0;;13523:2:1;80250:67:0::1;::::0;::::1;13505:21:1::0;13562:2;13542:18;;;13535:30;13601:33;13581:18;;;13574:61;13652:18;;80250:67:0::1;13321:355:1::0;80250:67:0::1;83238:10:::2;::::0;-1:-1:-1;;;83238:10:0;::::2;;;83237:11;83229:38;;;::::0;-1:-1:-1;;;83229:38:0;;13883:2:1;83229:38:0::2;::::0;::::2;13865:21:1::0;13922:2;13902:18;;;13895:30;-1:-1:-1;;;13941:18:1;;;13934:44;13995:18;;83229:38:0::2;13681:338:1::0;83229:38:0::2;83304:10;83288:27;::::0;;;:15:::2;:27;::::0;;;;;::::2;;:36;83280:87;;;::::0;-1:-1:-1;;;83280:87:0;;16023:2:1;83280:87:0::2;::::0;::::2;16005:21:1::0;16062:2;16042:18;;;16035:30;16101:34;16081:18;;;16074:62;-1:-1:-1;;;16152:18:1;;;16145:36;16198:19;;83280:87:0::2;15821:402:1::0;83280:87:0::2;83416:11;::::0;83386:17:::2;33845:14:::0;83386:41:::2;83378:76;;;::::0;-1:-1:-1;;;83378:76:0;;16430:2:1;83378:76:0::2;::::0;::::2;16412:21:1::0;16469:2;16449:18;;;16442:30;-1:-1:-1;;;16488:18:1;;;16481:52;16550:18;;83378:76:0::2;16228:346:1::0;83378:76:0::2;83515:13;;83503:9;;:25;;;;:::i;:::-;83473:17;33845:14:::0;83473:55:::2;83465:86;;;;-1:-1:-1::0;;;83465:86:0::2;;;;;;;:::i;:::-;83589:28;::::0;-1:-1:-1;;83606:10:0::2;16728:2:1::0;16724:15;16720:53;83589:28:0::2;::::0;::::2;16708:66:1::0;83564:12:0::2;::::0;16790::1;;83589:28:0::2;;;;;;;;;;;;83579:39;;;;;;83564:54;;83637:57;83656:11;;83637:57;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::2;::::0;;;;-1:-1:-1;;83669:18:0::2;::::0;;-1:-1:-1;83689:4:0;;-1:-1:-1;83637:18:0::2;:57::i;:::-;83629:83;;;::::0;-1:-1:-1;;;83629:83:0;;17015:2:1;83629:83:0::2;::::0;::::2;16997:21:1::0;17054:2;17034:18;;;17027:30;-1:-1:-1;;;17073:18:1;;;17066:43;17126:18;;83629:83:0::2;16813:337:1::0;83629:83:0::2;83741:10;83725:27;::::0;;;:15:::2;:27;::::0;;;;:34;;-1:-1:-1;;83725:34:0::2;83755:4;83725:34;::::0;;83770:29:::2;:17;33964:19:::0;;33982:1;33964:19;;;33875:127;83770:29:::2;83810:24;83820:10;83832:1;83810:9;:24::i;:::-;-1:-1:-1::0;;13948:1:0;14902:7;:22;-1:-1:-1;83131:711:0:o;80709:117::-;16967:6;;-1:-1:-1;;;;;16967:6:0;15698:10;17114:23;17106:68;;;;-1:-1:-1;;;17106:68:0;;;;;;;:::i;:::-;80789:18:::1;:29:::0;;-1:-1:-1;;;;;;80789:29:0::1;-1:-1:-1::0;;;;;80789:29:0;;;::::1;::::0;;;::::1;::::0;;80709:117::o;81355:125::-;16967:6;;-1:-1:-1;;;;;16967:6:0;15698:10;17114:23;17106:68;;;;-1:-1:-1;;;17106:68:0;;;;;;;:::i;:::-;81467:5:::1;81434:30:::0;;;:19:::1;:30;::::0;;;;:38;;-1:-1:-1;;81434:38:0::1;::::0;;81355:125::o;17803:201::-;16967:6;;-1:-1:-1;;;;;16967:6:0;15698:10;17114:23;17106:68;;;;-1:-1:-1;;;17106:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;17892:22:0;::::1;17884:73;;;::::0;-1:-1:-1;;;17884:73:0;;17357:2:1;17884:73:0::1;::::0;::::1;17339:21:1::0;17396:2;17376:18;;;17369:30;17435:34;17415:18;;;17408:62;-1:-1:-1;;;17486:18:1;;;17479:36;17532:19;;17884:73:0::1;17155:402:1::0;17884:73:0::1;17968:28;17987:8;17968:18;:28::i;80946:103::-:0;16967:6;;-1:-1:-1;;;;;16967:6:0;15698:10;17114:23;17106:68;;;;-1:-1:-1;;;17106:68:0;;;;;;;:::i;:::-;81019:9:::1;:22:::0;80946:103::o;58331:273::-;58388:4;58478:13;;58468:7;:23;58425:152;;;;-1:-1:-1;;58529:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;58529:43:0;:48;;58331:273::o;51291:1129::-;51358:7;51393;51495:13;;51488:4;:20;51484:869;;;51533:14;51550:23;;;:17;:23;;;;;;;-1:-1:-1;;;51639:23:0;;:28;;51635:699;;52158:113;52165:6;52175:1;52165:11;52158:113;;-1:-1:-1;;;52236:6:0;52218:25;;;;:17;:25;;;;;;52158:113;;;52304:6;51291:1129;-1:-1:-1;;;51291:1129:0:o;51635:699::-;51510:843;51484:869;52381:31;;-1:-1:-1;;;52381:31:0;;;;;;;;;;;18164:191;18257:6;;;-1:-1:-1;;;;;18274:17:0;;;-1:-1:-1;;;;;;18274:17:0;;;;;;;18307:40;;18257:6;;;18274:17;18257:6;;18307:40;;18238:16;;18307:40;18227:128;18164:191;:::o;58688:104::-;58757:27;58767:2;58771:8;58757:27;;;;;;;;;;;;:9;:27::i;72547:716::-;72731:88;;-1:-1:-1;;;72731:88:0;;72710:4;;-1:-1:-1;;;;;72731:45:0;;;;;:88;;15698:10;;72798:4;;72804:7;;72813:5;;72731:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;72731:88:0;;;;;;;;-1:-1:-1;;72731:88:0;;;;;;;;;;;;:::i;:::-;;;72727:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;73014:6;:13;73031:1;73014:18;73010:235;;73060:40;;-1:-1:-1;;;73060:40:0;;;;;;;;;;;73010:235;73203:6;73197:13;73188:6;73184:2;73180:15;73173:38;72727:529;-1:-1:-1;;;;;;72890:64:0;-1:-1:-1;;;72890:64:0;;-1:-1:-1;72727:529:0;72547:716;;;;;;:::o;10421:723::-;10477:13;10698:5;10707:1;10698:10;10694:53;;-1:-1:-1;;10725:10:0;;;;;;;;;;;;-1:-1:-1;;;10725:10:0;;;;;10421:723::o;10694:53::-;10772:5;10757:12;10813:78;10820:9;;10813:78;;10846:8;;;;:::i;:::-;;-1:-1:-1;10869:10:0;;-1:-1:-1;10877:2:0;10869:10;;:::i;:::-;;;10813:78;;;10901:19;10933:6;10923:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;10923:17:0;;10901:39;;10951:154;10958:10;;10951:154;;10985:11;10995:1;10985:11;;:::i;:::-;;-1:-1:-1;11054:10:0;11062:2;11054:5;:10;:::i;:::-;11041:24;;:2;:24;:::i;:::-;11028:39;;11011:6;11018;11011:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;11011:56:0;;;;;;;;-1:-1:-1;11082:11:0;11091:2;11082:11;;:::i;:::-;;;10951:154;;25375:190;25500:4;25553;25524:25;25537:5;25544:4;25524:12;:25::i;:::-;:33;;25375:190;-1:-1:-1;;;;25375:190:0:o;59208:681::-;59331:19;59337:2;59341:8;59331:5;:19::i;:::-;-1:-1:-1;;;;;59392:14:0;;;:19;59388:483;;59432:11;59446:13;59494:14;;;59527:233;59558:62;59597:1;59601:2;59605:7;;;;;;59614:5;59558:30;:62::i;:::-;59553:167;;59656:40;;-1:-1:-1;;;59656:40:0;;;;;;;;;;;59553:167;59755:3;59747:5;:11;59527:233;;59842:3;59825:13;;:20;59821:34;;59847:8;;;59821:34;59413:458;;59208:681;;;:::o;26242:296::-;26325:7;26368:4;26325:7;26383:118;26407:5;:12;26403:1;:16;26383:118;;;26456:33;26466:12;26480:5;26486:1;26480:8;;;;;;;;:::i;:::-;;;;;;;26456:9;:33::i;:::-;26441:48;-1:-1:-1;26421:3:0;;;;:::i;:::-;;;;26383:118;;;-1:-1:-1;26518:12:0;26242:296;-1:-1:-1;;;26242:296:0:o;60162:1529::-;60227:20;60250:13;-1:-1:-1;;;;;60278:16:0;;60274:48;;60303:19;;-1:-1:-1;;;60303:19:0;;;;;;;;;;;60274:48;60337:8;60349:1;60337:13;60333:44;;60359:18;;-1:-1:-1;;;60359:18:0;;;;;;;;;;;60333:44;-1:-1:-1;;;;;60865:22:0;;;;;;:18;:22;;44309:2;60865:22;;:70;;60903:31;60891:44;;60865:70;;;54273:11;54249:22;54245:40;-1:-1:-1;55983:15:0;;55958:23;55954:45;54242:51;54232:62;61178:31;;;;:17;:31;;;;;:173;61196:12;61427:23;;;61465:101;61492:35;;61517:9;;;;;-1:-1:-1;;;;;61492:35:0;;;61509:1;;61492:35;;61509:1;;61492:35;61561:3;61551:7;:13;61465:101;;61582:13;:19;-1:-1:-1;57421:185:0;;;:::o;32449:149::-;32512:7;32543:1;32539;:5;:51;;32674:13;32768:15;;;32804:4;32797:15;;;32851:4;32835:21;;32539:51;;;-1:-1:-1;32674:13:0;32768:15;;;32804:4;32797:15;32851:4;32835:21;;;32449:149::o;14:131:1:-;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:173::-;660:20;;-1:-1:-1;;;;;709:31:1;;699:42;;689:70;;755:1;752;745:12;689:70;592:173;;;:::o;770:160::-;835:20;;891:13;;884:21;874:32;;864:60;;920:1;917;910:12;935:254;1000:6;1008;1061:2;1049:9;1040:7;1036:23;1032:32;1029:52;;;1077:1;1074;1067:12;1029:52;1100:29;1119:9;1100:29;:::i;:::-;1090:39;;1148:35;1179:2;1168:9;1164:18;1148:35;:::i;:::-;1138:45;;935:254;;;;;:::o;1194:250::-;1279:1;1289:113;1303:6;1300:1;1297:13;1289:113;;;1379:11;;;1373:18;1360:11;;;1353:39;1325:2;1318:10;1289:113;;;-1:-1:-1;;1436:1:1;1418:16;;1411:27;1194:250::o;1449:271::-;1491:3;1529:5;1523:12;1556:6;1551:3;1544:19;1572:76;1641:6;1634:4;1629:3;1625:14;1618:4;1611:5;1607:16;1572:76;:::i;:::-;1702:2;1681:15;-1:-1:-1;;1677:29:1;1668:39;;;;1709:4;1664:50;;1449:271;-1:-1:-1;;1449:271:1:o;1725:220::-;1874:2;1863:9;1856:21;1837:4;1894:45;1935:2;1924:9;1920:18;1912:6;1894:45;:::i;1950:180::-;2009:6;2062:2;2050:9;2041:7;2037:23;2033:32;2030:52;;;2078:1;2075;2068:12;2030:52;-1:-1:-1;2101:23:1;;1950:180;-1:-1:-1;1950:180:1:o;2343:254::-;2411:6;2419;2472:2;2460:9;2451:7;2447:23;2443:32;2440:52;;;2488:1;2485;2478:12;2440:52;2511:29;2530:9;2511:29;:::i;:::-;2501:39;2587:2;2572:18;;;;2559:32;;-1:-1:-1;;;2343:254:1:o;2784:328::-;2861:6;2869;2877;2930:2;2918:9;2909:7;2905:23;2901:32;2898:52;;;2946:1;2943;2936:12;2898:52;2969:29;2988:9;2969:29;:::i;:::-;2959:39;;3017:38;3051:2;3040:9;3036:18;3017:38;:::i;:::-;3007:48;;3102:2;3091:9;3087:18;3074:32;3064:42;;2784:328;;;;;:::o;3117:316::-;3194:6;3202;3210;3263:2;3251:9;3242:7;3238:23;3234:32;3231:52;;;3279:1;3276;3269:12;3231:52;-1:-1:-1;;3302:23:1;;;3372:2;3357:18;;3344:32;;-1:-1:-1;3423:2:1;3408:18;;;3395:32;;3117:316;-1:-1:-1;3117:316:1:o;3623:254::-;3691:6;3699;3752:2;3740:9;3731:7;3727:23;3723:32;3720:52;;;3768:1;3765;3758:12;3720:52;3804:9;3791:23;3781:33;;3833:38;3867:2;3856:9;3852:18;3833:38;:::i;3882:186::-;3941:6;3994:2;3982:9;3973:7;3969:23;3965:32;3962:52;;;4010:1;4007;4000:12;3962:52;4033:29;4052:9;4033:29;:::i;4073:592::-;4144:6;4152;4205:2;4193:9;4184:7;4180:23;4176:32;4173:52;;;4221:1;4218;4211:12;4173:52;4261:9;4248:23;4290:18;4331:2;4323:6;4320:14;4317:34;;;4347:1;4344;4337:12;4317:34;4385:6;4374:9;4370:22;4360:32;;4430:7;4423:4;4419:2;4415:13;4411:27;4401:55;;4452:1;4449;4442:12;4401:55;4492:2;4479:16;4518:2;4510:6;4507:14;4504:34;;;4534:1;4531;4524:12;4504:34;4579:7;4574:2;4565:6;4561:2;4557:15;4553:24;4550:37;4547:57;;;4600:1;4597;4590:12;4547:57;4631:2;4623:11;;;;;4653:6;;-1:-1:-1;4073:592:1;;-1:-1:-1;;;;4073:592:1:o;4670:127::-;4731:10;4726:3;4722:20;4719:1;4712:31;4762:4;4759:1;4752:15;4786:4;4783:1;4776:15;4802:1138;4897:6;4905;4913;4921;4974:3;4962:9;4953:7;4949:23;4945:33;4942:53;;;4991:1;4988;4981:12;4942:53;5014:29;5033:9;5014:29;:::i;:::-;5004:39;;5062:38;5096:2;5085:9;5081:18;5062:38;:::i;:::-;5052:48;;5147:2;5136:9;5132:18;5119:32;5109:42;;5202:2;5191:9;5187:18;5174:32;5225:18;5266:2;5258:6;5255:14;5252:34;;;5282:1;5279;5272:12;5252:34;5320:6;5309:9;5305:22;5295:32;;5365:7;5358:4;5354:2;5350:13;5346:27;5336:55;;5387:1;5384;5377:12;5336:55;5423:2;5410:16;5445:2;5441;5438:10;5435:36;;;5451:18;;:::i;:::-;5526:2;5520:9;5494:2;5580:13;;-1:-1:-1;;5576:22:1;;;5600:2;5572:31;5568:40;5556:53;;;5624:18;;;5644:22;;;5621:46;5618:72;;;5670:18;;:::i;:::-;5710:10;5706:2;5699:22;5745:2;5737:6;5730:18;5785:7;5780:2;5775;5771;5767:11;5763:20;5760:33;5757:53;;;5806:1;5803;5796:12;5757:53;5862:2;5857;5853;5849:11;5844:2;5836:6;5832:15;5819:46;5907:1;5902:2;5897;5889:6;5885:15;5881:24;5874:35;5928:6;5918:16;;;;;;;4802:1138;;;;;;;:::o;5945:180::-;6001:6;6054:2;6042:9;6033:7;6029:23;6025:32;6022:52;;;6070:1;6067;6060:12;6022:52;6093:26;6109:9;6093:26;:::i;6130:615::-;6216:6;6224;6277:2;6265:9;6256:7;6252:23;6248:32;6245:52;;;6293:1;6290;6283:12;6245:52;6333:9;6320:23;6362:18;6403:2;6395:6;6392:14;6389:34;;;6419:1;6416;6409:12;6389:34;6457:6;6446:9;6442:22;6432:32;;6502:7;6495:4;6491:2;6487:13;6483:27;6473:55;;6524:1;6521;6514:12;6473:55;6564:2;6551:16;6590:2;6582:6;6579:14;6576:34;;;6606:1;6603;6596:12;6576:34;6659:7;6654:2;6644:6;6641:1;6637:14;6633:2;6629:23;6625:32;6622:45;6619:65;;;6680:1;6677;6670:12;6750:260;6818:6;6826;6879:2;6867:9;6858:7;6854:23;6850:32;6847:52;;;6895:1;6892;6885:12;6847:52;6918:29;6937:9;6918:29;:::i;:::-;6908:39;;6966:38;7000:2;6989:9;6985:18;6966:38;:::i;7197:356::-;7399:2;7381:21;;;7418:18;;;7411:30;7477:34;7472:2;7457:18;;7450:62;7544:2;7529:18;;7197:356::o;7558:380::-;7637:1;7633:12;;;;7680;;;7701:61;;7755:4;7747:6;7743:17;7733:27;;7701:61;7808:2;7800:6;7797:14;7777:18;7774:38;7771:161;;7854:10;7849:3;7845:20;7842:1;7835:31;7889:4;7886:1;7879:15;7917:4;7914:1;7907:15;7771:161;;7558:380;;;:::o;8848:127::-;8909:10;8904:3;8900:20;8897:1;8890:31;8940:4;8937:1;8930:15;8964:4;8961:1;8954:15;8980:128;9047:9;;;9068:11;;;9065:37;;;9082:18;;:::i;9113:168::-;9153:7;9219:1;9215;9211:6;9207:14;9204:1;9201:21;9196:1;9189:9;9182:17;9178:45;9175:71;;;9226:18;;:::i;:::-;-1:-1:-1;9266:9:1;;9113:168::o;9286:127::-;9347:10;9342:3;9338:20;9335:1;9328:31;9378:4;9375:1;9368:15;9402:4;9399:1;9392:15;9418:120;9458:1;9484;9474:35;;9489:18;;:::i;:::-;-1:-1:-1;9523:9:1;;9418:120::o;9893:125::-;9958:9;;;9979:10;;;9976:36;;;9992:18;;:::i;10023:342::-;10225:2;10207:21;;;10264:2;10244:18;;;10237:30;-1:-1:-1;;;10298:2:1;10283:18;;10276:48;10356:2;10341:18;;10023:342::o;10370:184::-;10440:6;10493:2;10481:9;10472:7;10468:23;10464:32;10461:52;;;10509:1;10506;10499:12;10461:52;-1:-1:-1;10532:16:1;;10370:184;-1:-1:-1;10370:184:1:o;11029:545::-;11131:2;11126:3;11123:11;11120:448;;;11167:1;11192:5;11188:2;11181:17;11237:4;11233:2;11223:19;11307:2;11295:10;11291:19;11288:1;11284:27;11278:4;11274:38;11343:4;11331:10;11328:20;11325:47;;;-1:-1:-1;11366:4:1;11325:47;11421:2;11416:3;11412:12;11409:1;11405:20;11399:4;11395:31;11385:41;;11476:82;11494:2;11487:5;11484:13;11476:82;;;11539:17;;;11520:1;11509:13;11476:82;;11750:1206;11874:18;11869:3;11866:27;11863:53;;;11896:18;;:::i;:::-;11925:94;12015:3;11975:38;12007:4;12001:11;11975:38;:::i;:::-;11969:4;11925:94;:::i;:::-;12045:1;12070:2;12065:3;12062:11;12087:1;12082:616;;;;12742:1;12759:3;12756:93;;;-1:-1:-1;12815:19:1;;;12802:33;12756:93;-1:-1:-1;;11707:1:1;11703:11;;;11699:24;11695:29;11685:40;11731:1;11727:11;;;11682:57;12862:78;;12055:895;;12082:616;10976:1;10969:14;;;11013:4;11000:18;;-1:-1:-1;;12118:17:1;;;12219:9;12241:229;12255:7;12252:1;12249:14;12241:229;;;12344:19;;;12331:33;12316:49;;12451:4;12436:20;;;;12404:1;12392:14;;;;12271:12;12241:229;;;12245:3;12498;12489:7;12486:16;12483:159;;;12622:1;12618:6;12612:3;12606;12603:1;12599:11;12595:21;12591:34;12587:39;12574:9;12569:3;12565:19;12552:33;12548:79;12540:6;12533:95;12483:159;;;12685:1;12679:3;12676:1;12672:11;12668:19;12662:4;12655:33;12055:895;;11750:1206;;;:::o;14796:1020::-;14972:3;15001:1;15034:6;15028:13;15064:36;15090:9;15064:36;:::i;:::-;15119:1;15136:18;;;15163:133;;;;15310:1;15305:356;;;;15129:532;;15163:133;-1:-1:-1;;15196:24:1;;15184:37;;15269:14;;15262:22;15250:35;;15241:45;;;-1:-1:-1;15163:133:1;;15305:356;15336:6;15333:1;15326:17;15366:4;15411:2;15408:1;15398:16;15436:1;15450:165;15464:6;15461:1;15458:13;15450:165;;;15542:14;;15529:11;;;15522:35;15585:16;;;;15479:10;;15450:165;;;15454:3;;;15644:6;15639:3;15635:16;15628:23;;15129:532;;;;;15692:6;15686:13;15708:68;15767:8;15762:3;15755:4;15747:6;15743:17;15708:68;:::i;:::-;15792:18;;14796:1020;-1:-1:-1;;;;14796:1020:1:o;17562:489::-;-1:-1:-1;;;;;17831:15:1;;;17813:34;;17883:15;;17878:2;17863:18;;17856:43;17930:2;17915:18;;17908:34;;;17978:3;17973:2;17958:18;;17951:31;;;17756:4;;17999:46;;18025:19;;18017:6;17999:46;:::i;18056:249::-;18125:6;18178:2;18166:9;18157:7;18153:23;18149:32;18146:52;;;18194:1;18191;18184:12;18146:52;18226:9;18220:16;18245:30;18269:5;18245:30;:::i;18310:135::-;18349:3;18370:17;;;18367:43;;18390:18;;:::i;:::-;-1:-1:-1;18437:1:1;18426:13;;18310:135::o;18450:112::-;18482:1;18508;18498:35;;18513:18;;:::i;:::-;-1:-1:-1;18547:9:1;;18450:112::o;18567:127::-;18628:10;18623:3;18619:20;18616:1;18609:31;18659:4;18656:1;18649:15;18683:4;18680:1;18673:15
Swarm Source
ipfs://a86ebecb177b05a5f914a921fb7de635ae81f31de81e159570295f0ec5bdc80d
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.