Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
355 MOGCATS
Holders
51
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
3 MOGCATSLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
MOGCATS
Compiler Version
v0.8.21+commit.d9974bed
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2024-03-06 */ // SPDX-License-Identifier: MIT // File: @openzeppelin/contracts/utils/introspection/IERC165.sol // OpenZeppelin Contracts (last updated v5.0.0) (utils/introspection/IERC165.sol) pragma solidity ^0.8.20; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); } // File: @openzeppelin/contracts/utils/introspection/ERC165.sol // OpenZeppelin Contracts (last updated v5.0.0) (utils/introspection/ERC165.sol) pragma solidity ^0.8.20; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual returns (bool) { return interfaceId == type(IERC165).interfaceId; } } // File: @openzeppelin/contracts/interfaces/IERC2981.sol // OpenZeppelin Contracts (last updated v5.0.0) (interfaces/IERC2981.sol) pragma solidity ^0.8.20; /** * @dev Interface for the NFT Royalty Standard. * * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal * support for royalty payments across all NFT marketplaces and ecosystem participants. */ interface IERC2981 is IERC165 { /** * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of * exchange. The royalty amount is denominated and should be paid in that same unit of exchange. */ function royaltyInfo( uint256 tokenId, uint256 salePrice ) external view returns (address receiver, uint256 royaltyAmount); } // File: @openzeppelin/contracts/token/common/ERC2981.sol // OpenZeppelin Contracts (last updated v5.0.0) (token/common/ERC2981.sol) pragma solidity ^0.8.20; /** * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information. * * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first. * * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the * fee is specified in basis points by default. * * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported. */ abstract contract ERC2981 is IERC2981, ERC165 { struct RoyaltyInfo { address receiver; uint96 royaltyFraction; } RoyaltyInfo private _defaultRoyaltyInfo; mapping(uint256 tokenId => RoyaltyInfo) private _tokenRoyaltyInfo; /** * @dev The default royalty set is invalid (eg. (numerator / denominator) >= 1). */ error ERC2981InvalidDefaultRoyalty(uint256 numerator, uint256 denominator); /** * @dev The default royalty receiver is invalid. */ error ERC2981InvalidDefaultRoyaltyReceiver(address receiver); /** * @dev The royalty set for an specific `tokenId` is invalid (eg. (numerator / denominator) >= 1). */ error ERC2981InvalidTokenRoyalty(uint256 tokenId, uint256 numerator, uint256 denominator); /** * @dev The royalty receiver for `tokenId` is invalid. */ error ERC2981InvalidTokenRoyaltyReceiver(uint256 tokenId, address receiver); /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC165) returns (bool) { return interfaceId == type(IERC2981).interfaceId || super.supportsInterface(interfaceId); } /** * @inheritdoc IERC2981 */ function royaltyInfo(uint256 tokenId, uint256 salePrice) public view virtual returns (address, uint256) { RoyaltyInfo memory royalty = _tokenRoyaltyInfo[tokenId]; if (royalty.receiver == address(0)) { royalty = _defaultRoyaltyInfo; } uint256 royaltyAmount = (salePrice * royalty.royaltyFraction) / _feeDenominator(); return (royalty.receiver, royaltyAmount); } /** * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an * override. */ function _feeDenominator() internal pure virtual returns (uint96) { return 10000; } /** * @dev Sets the royalty information that all ids in this contract will default to. * * Requirements: * * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual { uint256 denominator = _feeDenominator(); if (feeNumerator > denominator) { // Royalty fee will exceed the sale price revert ERC2981InvalidDefaultRoyalty(feeNumerator, denominator); } if (receiver == address(0)) { revert ERC2981InvalidDefaultRoyaltyReceiver(address(0)); } _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Removes default royalty information. */ function _deleteDefaultRoyalty() internal virtual { delete _defaultRoyaltyInfo; } /** * @dev Sets the royalty information for a specific token id, overriding the global default. * * Requirements: * * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setTokenRoyalty(uint256 tokenId, address receiver, uint96 feeNumerator) internal virtual { uint256 denominator = _feeDenominator(); if (feeNumerator > denominator) { // Royalty fee will exceed the sale price revert ERC2981InvalidTokenRoyalty(tokenId, feeNumerator, denominator); } if (receiver == address(0)) { revert ERC2981InvalidTokenRoyaltyReceiver(tokenId, address(0)); } _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Resets royalty information for the token id back to the global default. */ function _resetTokenRoyalty(uint256 tokenId) internal virtual { delete _tokenRoyaltyInfo[tokenId]; } } // File: @openzeppelin/contracts/utils/cryptography/MerkleProof.sol // OpenZeppelin Contracts (last updated v5.0.0) (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.20; /** * @dev These functions deal with verification of Merkle Tree proofs. * * The tree and the proofs can be generated using our * https://github.com/OpenZeppelin/merkle-tree[JavaScript library]. * You will find a quickstart guide in the readme. * * WARNING: You should avoid using leaf values that are 64 bytes long prior to * hashing, or use a hash function other than keccak256 for hashing leaves. * This is because the concatenation of a sorted pair of internal nodes in * the Merkle tree could be reinterpreted as a leaf value. * OpenZeppelin's JavaScript library generates Merkle trees that are safe * against this attack out of the box. */ library MerkleProof { /** *@dev The multiproof provided is not valid. */ error MerkleProofInvalidMultiproof(); /** * @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} */ 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. */ 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} */ function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Returns true if the `leaves` can be simultaneously proven to be a part of a Merkle tree defined by * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}. * * CAUTION: Not all Merkle trees admit multiproofs. See {processMultiProof} for details. */ function multiProofVerify( bytes32[] memory proof, bool[] memory proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProof(proof, proofFlags, leaves) == root; } /** * @dev Calldata version of {multiProofVerify} * * CAUTION: Not all Merkle trees admit multiproofs. See {processMultiProof} for details. */ function multiProofVerifyCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProofCalldata(proof, proofFlags, leaves) == root; } /** * @dev Returns the root of a tree reconstructed from `leaves` and sibling nodes in `proof`. The reconstruction * proceeds by incrementally reconstructing all inner nodes by combining a leaf/inner node with either another * leaf/inner node or a proof sibling node, depending on whether each `proofFlags` item is true or false * respectively. * * CAUTION: Not all Merkle trees admit multiproofs. To use multiproofs, it is sufficient to ensure that: 1) the tree * is complete (but not necessarily perfect), 2) the leaves to be proven are in the opposite order they are in the * tree (i.e., as seen from right to left starting at the deepest layer and continuing at the next layer). */ function processMultiProof( bytes32[] memory proof, bool[] memory proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuilds 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 proofLen = proof.length; uint256 totalHashes = proofFlags.length; // Check proof validity. if (leavesLen + proofLen != totalHashes + 1) { revert MerkleProofInvalidMultiproof(); } // 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 from 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) { if (proofPos != proofLen) { revert MerkleProofInvalidMultiproof(); } unchecked { return hashes[totalHashes - 1]; } } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } /** * @dev Calldata version of {processMultiProof}. * * CAUTION: Not all Merkle trees admit multiproofs. See {processMultiProof} for details. */ function processMultiProofCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuilds 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 proofLen = proof.length; uint256 totalHashes = proofFlags.length; // Check proof validity. if (leavesLen + proofLen != totalHashes + 1) { revert MerkleProofInvalidMultiproof(); } // 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 from 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) { if (proofPos != proofLen) { revert MerkleProofInvalidMultiproof(); } unchecked { return hashes[totalHashes - 1]; } } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } /** * @dev Sorts the pair (a, b) and hashes the result. */ function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) { return a < b ? _efficientHash(a, b) : _efficientHash(b, a); } /** * @dev Implementation of keccak256(abi.encode(a, b)) that doesn't allocate or expand memory. */ function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) { /// @solidity memory-safe-assembly assembly { mstore(0x00, a) mstore(0x20, b) value := keccak256(0x00, 0x40) } } } // File: @openzeppelin/contracts/security/ReentrancyGuard.sol // OpenZeppelin Contracts (last updated v4.9.0) (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { _nonReentrantBefore(); _; _nonReentrantAfter(); } function _nonReentrantBefore() private { // On the first call to nonReentrant, _status will be _NOT_ENTERED require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; } function _nonReentrantAfter() private { // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } /** * @dev Returns true if the reentrancy guard is currently set to "entered", which indicates there is a * `nonReentrant` function in the call stack. */ function _reentrancyGuardEntered() internal view returns (bool) { return _status == _ENTERED; } } // File: @openzeppelin/contracts/utils/Context.sol // OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol) pragma solidity ^0.8.20; /** * @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; } function _contextSuffixLength() internal view virtual returns (uint256) { return 0; } } // File: @openzeppelin/contracts/access/Ownable.sol // OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol) pragma solidity ^0.8.20; /** * @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. * * The initial owner is set to the address provided by the deployer. 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; /** * @dev The caller account is not authorized to perform an operation. */ error OwnableUnauthorizedAccount(address account); /** * @dev The owner is not a valid owner account. (eg. `address(0)`) */ error OwnableInvalidOwner(address owner); event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the address provided by the deployer as the initial owner. */ constructor(address initialOwner) { if (initialOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _transferOwnership(initialOwner); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { if (owner() != _msgSender()) { revert OwnableUnauthorizedAccount(_msgSender()); } } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling 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 { if (newOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // File: erc721a/contracts/IERC721A.sol // ERC721A Contracts v4.3.0 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721A. */ interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * Cannot query the balance for the zero address. */ error BalanceQueryForZeroAddress(); /** * Cannot mint to the zero address. */ error MintToZeroAddress(); /** * The quantity of tokens minted must be more than zero. */ error MintZeroQuantity(); /** * The token does not exist. */ error OwnerQueryForNonexistentToken(); /** * The caller must own the token or be an approved operator. */ error TransferCallerNotOwnerNorApproved(); /** * The token must be owned by `from`. */ error TransferFromIncorrectOwner(); /** * Cannot safely transfer to a contract that does not implement the * ERC721Receiver interface. */ error TransferToNonERC721ReceiverImplementer(); /** * Cannot transfer to the zero address. */ error TransferToZeroAddress(); /** * The token does not exist. */ error URIQueryForNonexistentToken(); /** * The `quantity` minted with ERC2309 exceeds the safety limit. */ error MintERC2309QuantityExceedsLimit(); /** * The `extraData` cannot be set on an unintialized ownership slot. */ error OwnershipNotInitializedForExtraData(); /** * `_sequentialUpTo()` must be greater than `_startTokenId()`. */ error SequentialUpToTooSmall(); /** * The `tokenId` of a sequential mint exceeds `_sequentialUpTo()`. */ error SequentialMintExceedsLimit(); /** * Spot minting requires a `tokenId` greater than `_sequentialUpTo()`. */ error SpotMintTokenIdTooSmall(); /** * Cannot mint over a token that already exists. */ error TokenAlreadyExists(); /** * The feature is not compatible with spot mints. */ error NotCompatibleWithSpotMints(); // ============================================================= // STRUCTS // ============================================================= struct TokenOwnership { // The address of the owner. address addr; // Stores the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; // Arbitrary data similar to `startTimestamp` that can be set via {_extraData}. uint24 extraData; } // ============================================================= // TOKEN COUNTERS // ============================================================= /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() external view returns (uint256); // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); // ============================================================= // IERC721 // ============================================================= /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables * (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, * checking first that contract recipients are aware of the ERC721 protocol * to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move * this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external payable; /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external payable; /** * @dev Transfers `tokenId` from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} * whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external payable; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the * zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external payable; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) external view returns (bool); // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); // ============================================================= // IERC2309 // ============================================================= /** * @dev Emitted when tokens in `fromTokenId` to `toTokenId` * (inclusive) is transferred from `from` to `to`, as defined in the * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309) standard. * * See {_mintERC2309} for more details. */ event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to); } // File: erc721a/contracts/ERC721A.sol // ERC721A Contracts v4.3.0 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721 token receiver. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @title ERC721A * * @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721) * Non-Fungible Token Standard, including the Metadata extension. * Optimized for lower gas during batch mints. * * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...) * starting from `_startTokenId()`. * * The `_sequentialUpTo()` function can be overriden to enable spot mints * (i.e. non-consecutive mints) for `tokenId`s greater than `_sequentialUpTo()`. * * Assumptions: * * - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is IERC721A { // Bypass for a `--via-ir` bug (https://github.com/chiru-labs/ERC721A/pull/364). struct TokenApprovalRef { address value; } // ============================================================= // CONSTANTS // ============================================================= // Mask of an entry in packed address data. uint256 private constant _BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1; // The bit position of `numberMinted` in packed address data. uint256 private constant _BITPOS_NUMBER_MINTED = 64; // The bit position of `numberBurned` in packed address data. uint256 private constant _BITPOS_NUMBER_BURNED = 128; // The bit position of `aux` in packed address data. uint256 private constant _BITPOS_AUX = 192; // Mask of all 256 bits in packed address data except the 64 bits for `aux`. uint256 private constant _BITMASK_AUX_COMPLEMENT = (1 << 192) - 1; // The bit position of `startTimestamp` in packed ownership. uint256 private constant _BITPOS_START_TIMESTAMP = 160; // The bit mask of the `burned` bit in packed ownership. uint256 private constant _BITMASK_BURNED = 1 << 224; // The bit position of the `nextInitialized` bit in packed ownership. uint256 private constant _BITPOS_NEXT_INITIALIZED = 225; // The bit mask of the `nextInitialized` bit in packed ownership. uint256 private constant _BITMASK_NEXT_INITIALIZED = 1 << 225; // The bit position of `extraData` in packed ownership. uint256 private constant _BITPOS_EXTRA_DATA = 232; // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`. uint256 private constant _BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1; // The mask of the lower 160 bits for addresses. uint256 private constant _BITMASK_ADDRESS = (1 << 160) - 1; // The maximum `quantity` that can be minted with {_mintERC2309}. // This limit is to prevent overflows on the address data entries. // For a limit of 5000, a total of 3.689e15 calls to {_mintERC2309} // is required to cause an overflow, which is unrealistic. uint256 private constant _MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000; // The `Transfer` event signature is given by: // `keccak256(bytes("Transfer(address,address,uint256)"))`. bytes32 private constant _TRANSFER_EVENT_SIGNATURE = 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef; // ============================================================= // STORAGE // ============================================================= // The next token ID to be minted. uint256 private _currentIndex; // The number of tokens burned. uint256 private _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. // See {_packedOwnershipOf} implementation for details. // // Bits Layout: // - [0..159] `addr` // - [160..223] `startTimestamp` // - [224] `burned` // - [225] `nextInitialized` // - [232..255] `extraData` mapping(uint256 => uint256) private _packedOwnerships; // Mapping owner address to address data. // // Bits Layout: // - [0..63] `balance` // - [64..127] `numberMinted` // - [128..191] `numberBurned` // - [192..255] `aux` mapping(address => uint256) private _packedAddressData; // Mapping from token ID to approved address. mapping(uint256 => TokenApprovalRef) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // The amount of tokens minted above `_sequentialUpTo()`. // We call these spot mints (i.e. non-sequential mints). uint256 private _spotMinted; // ============================================================= // CONSTRUCTOR // ============================================================= constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); if (_sequentialUpTo() < _startTokenId()) _revert(SequentialUpToTooSmall.selector); } // ============================================================= // TOKEN COUNTING OPERATIONS // ============================================================= /** * @dev Returns the starting token ID for sequential mints. * * Override this function to change the starting token ID for sequential mints. * * Note: The value returned must never change after any tokens have been minted. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Returns the maximum token ID (inclusive) for sequential mints. * * Override this function to return a value less than 2**256 - 1, * but greater than `_startTokenId()`, to enable spot (non-sequential) mints. * * Note: The value returned must never change after any tokens have been minted. */ function _sequentialUpTo() internal view virtual returns (uint256) { return type(uint256).max; } /** * @dev Returns the next token ID to be minted. */ function _nextTokenId() internal view virtual returns (uint256) { return _currentIndex; } /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() public view virtual override returns (uint256 result) { // Counter underflow is impossible as `_burnCounter` cannot be incremented // more than `_currentIndex + _spotMinted - _startTokenId()` times. unchecked { // With spot minting, the intermediate `result` can be temporarily negative, // and the computation must be unchecked. result = _currentIndex - _burnCounter - _startTokenId(); if (_sequentialUpTo() != type(uint256).max) result += _spotMinted; } } /** * @dev Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view virtual returns (uint256 result) { // Counter underflow is impossible as `_currentIndex` does not decrement, // and it is initialized to `_startTokenId()`. unchecked { result = _currentIndex - _startTokenId(); if (_sequentialUpTo() != type(uint256).max) result += _spotMinted; } } /** * @dev Returns the total number of tokens burned. */ function _totalBurned() internal view virtual returns (uint256) { return _burnCounter; } /** * @dev Returns the total number of tokens that are spot-minted. */ function _totalSpotMinted() internal view virtual returns (uint256) { return _spotMinted; } // ============================================================= // ADDRESS DATA OPERATIONS // ============================================================= /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) public view virtual override returns (uint256) { if (owner == address(0)) _revert(BalanceQueryForZeroAddress.selector); return _packedAddressData[owner] & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_MINTED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_BURNED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return uint64(_packedAddressData[owner] >> _BITPOS_AUX); } /** * Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal virtual { uint256 packed = _packedAddressData[owner]; uint256 auxCasted; // Cast `aux` with assembly to avoid redundant masking. assembly { auxCasted := aux } packed = (packed & _BITMASK_AUX_COMPLEMENT) | (auxCasted << _BITPOS_AUX); _packedAddressData[owner] = packed; } // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { // The interface IDs are constants representing the first 4 bytes // of the XOR of all function selectors in the interface. // See: [ERC165](https://eips.ethereum.org/EIPS/eip-165) // (e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`) return interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165. interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721. interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata. } // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the token collection symbol. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) _revert(URIQueryForNonexistentToken.selector); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, it can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } // ============================================================= // OWNERSHIPS OPERATIONS // ============================================================= /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around over time. */ function _ownershipOf(uint256 tokenId) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @dev Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Returns whether the ownership slot at `index` is initialized. * An uninitialized slot does not necessarily mean that the slot has no owner. */ function _ownershipIsInitialized(uint256 index) internal view virtual returns (bool) { return _packedOwnerships[index] != 0; } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal virtual { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * @dev Returns the packed ownership data of `tokenId`. */ function _packedOwnershipOf(uint256 tokenId) private view returns (uint256 packed) { if (_startTokenId() <= tokenId) { packed = _packedOwnerships[tokenId]; if (tokenId > _sequentialUpTo()) { if (_packedOwnershipExists(packed)) return packed; _revert(OwnerQueryForNonexistentToken.selector); } // If the data at the starting slot does not exist, start the scan. if (packed == 0) { if (tokenId >= _currentIndex) _revert(OwnerQueryForNonexistentToken.selector); // Invariant: // There will always be an initialized ownership slot // (i.e. `ownership.addr != address(0) && ownership.burned == false`) // before an unintialized ownership slot // (i.e. `ownership.addr == address(0) && ownership.burned == false`) // Hence, `tokenId` will not underflow. // // We can directly compare the packed value. // If the address is zero, packed will be zero. for (;;) { unchecked { packed = _packedOwnerships[--tokenId]; } if (packed == 0) continue; if (packed & _BITMASK_BURNED == 0) return packed; // Otherwise, the token is burned, and we must revert. // This handles the case of batch burned tokens, where only the burned bit // of the starting slot is set, and remaining slots are left uninitialized. _revert(OwnerQueryForNonexistentToken.selector); } } // Otherwise, the data exists and we can skip the scan. // This is possible because we have already achieved the target condition. // This saves 2143 gas on transfers of initialized tokens. // If the token is not burned, return `packed`. Otherwise, revert. if (packed & _BITMASK_BURNED == 0) return packed; } _revert(OwnerQueryForNonexistentToken.selector); } /** * @dev Returns the unpacked `TokenOwnership` struct from `packed`. */ function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) { ownership.addr = address(uint160(packed)); ownership.startTimestamp = uint64(packed >> _BITPOS_START_TIMESTAMP); ownership.burned = packed & _BITMASK_BURNED != 0; ownership.extraData = uint24(packed >> _BITPOS_EXTRA_DATA); } /** * @dev Packs ownership data into a single uint256. */ function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // `owner | (block.timestamp << _BITPOS_START_TIMESTAMP) | flags`. result := or(owner, or(shl(_BITPOS_START_TIMESTAMP, timestamp()), flags)) } } /** * @dev Returns the `nextInitialized` flag set if `quantity` equals 1. */ function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) { // For branchless setting of the `nextInitialized` flag. assembly { // `(quantity == 1) << _BITPOS_NEXT_INITIALIZED`. result := shl(_BITPOS_NEXT_INITIALIZED, eq(quantity, 1)) } } // ============================================================= // APPROVAL OPERATIONS // ============================================================= /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. See {ERC721A-_approve}. * * Requirements: * * - The caller must own the token or be an approved operator. */ function approve(address to, uint256 tokenId) public payable virtual override { _approve(to, tokenId, true); } /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { if (!_exists(tokenId)) _revert(ApprovalQueryForNonexistentToken.selector); return _tokenApprovals[tokenId].value; } /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool approved) public virtual override { _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), operator, approved); } /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted. See {_mint}. */ function _exists(uint256 tokenId) internal view virtual returns (bool result) { if (_startTokenId() <= tokenId) { if (tokenId > _sequentialUpTo()) return _packedOwnershipExists(_packedOwnerships[tokenId]); if (tokenId < _currentIndex) { uint256 packed; while ((packed = _packedOwnerships[tokenId]) == 0) --tokenId; result = packed & _BITMASK_BURNED == 0; } } } /** * @dev Returns whether `packed` represents a token that exists. */ function _packedOwnershipExists(uint256 packed) private pure returns (bool result) { assembly { // The following is equivalent to `owner != address(0) && burned == false`. // Symbolically tested. result := gt(and(packed, _BITMASK_ADDRESS), and(packed, _BITMASK_BURNED)) } } /** * @dev Returns whether `msgSender` is equal to `approvedAddress` or `owner`. */ function _isSenderApprovedOrOwner( address approvedAddress, address owner, address msgSender ) private pure returns (bool result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean. msgSender := and(msgSender, _BITMASK_ADDRESS) // `msgSender == owner || msgSender == approvedAddress`. result := or(eq(msgSender, owner), eq(msgSender, approvedAddress)) } } /** * @dev Returns the storage slot and value for the approved address of `tokenId`. */ function _getApprovedSlotAndAddress(uint256 tokenId) private view returns (uint256 approvedAddressSlot, address approvedAddress) { TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId]; // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId].value`. assembly { approvedAddressSlot := tokenApproval.slot approvedAddress := sload(approvedAddressSlot) } } // ============================================================= // TRANSFER OPERATIONS // ============================================================= /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) public payable virtual override { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); // Mask `from` to the lower 160 bits, in case the upper bits somehow aren't clean. from = address(uint160(uint256(uint160(from)) & _BITMASK_ADDRESS)); if (address(uint160(prevOwnershipPacked)) != from) _revert(TransferFromIncorrectOwner.selector); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) _revert(TransferCallerNotOwnerNorApproved.selector); _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; } } } } // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean. uint256 toMasked = uint256(uint160(to)) & _BITMASK_ADDRESS; assembly { // Emit the `Transfer` event. log4( 0, // Start of data (0, since no data). 0, // End of data (0, since no data). _TRANSFER_EVENT_SIGNATURE, // Signature. from, // `from`. toMasked, // `to`. tokenId // `tokenId`. ) } if (toMasked == 0) _revert(TransferToZeroAddress.selector); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public payable virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public payable virtual override { transferFrom(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { _revert(TransferToNonERC721ReceiverImplementer.selector); } } /** * @dev Hook that is called before a set of serially-ordered token IDs * are about to be transferred. This includes minting. * And also called before burning one token. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token IDs * have been transferred. This includes minting. * And also called after one token has been burned. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Private function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * `from` - Previous owner of the given token ID. * `to` - Target address that will receive the token. * `tokenId` - Token ID to be transferred. * `_data` - Optional data to send along with the call. * * Returns whether the call correctly returned the expected magic value. */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns ( bytes4 retval ) { return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { _revert(TransferToNonERC721ReceiverImplementer.selector); } assembly { revert(add(32, reason), mload(reason)) } } } // ============================================================= // MINT OPERATIONS // ============================================================= /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event for each mint. */ function _mint(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (quantity == 0) _revert(MintZeroQuantity.selector); _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: // - `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) ); // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean. uint256 toMasked = uint256(uint160(to)) & _BITMASK_ADDRESS; if (toMasked == 0) _revert(MintToZeroAddress.selector); uint256 end = startTokenId + quantity; uint256 tokenId = startTokenId; if (end - 1 > _sequentialUpTo()) _revert(SequentialMintExceedsLimit.selector); do { assembly { // Emit the `Transfer` event. log4( 0, // Start of data (0, since no data). 0, // End of data (0, since no data). _TRANSFER_EVENT_SIGNATURE, // Signature. 0, // `address(0)`. toMasked, // `to`. tokenId // `tokenId`. ) } // The `!=` check ensures that large values of `quantity` // that overflows uint256 will make the loop run out of gas. } 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 virtual { uint256 startTokenId = _currentIndex; if (to == address(0)) _revert(MintToZeroAddress.selector); if (quantity == 0) _revert(MintZeroQuantity.selector); if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) _revert(MintERC2309QuantityExceedsLimit.selector); _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) ); if (startTokenId + quantity - 1 > _sequentialUpTo()) _revert(SequentialMintExceedsLimit.selector); emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to); _currentIndex = startTokenId + quantity; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * See {_mint}. * * Emits a {Transfer} event for each mint. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal virtual { _mint(to, quantity); unchecked { if (to.code.length != 0) { uint256 end = _currentIndex; uint256 index = end - quantity; do { if (!_checkContractOnERC721Received(address(0), to, index++, _data)) { _revert(TransferToNonERC721ReceiverImplementer.selector); } } while (index < end); // This prevents reentrancy to `_safeMint`. // It does not prevent reentrancy to `_safeMintSpot`. if (_currentIndex != end) revert(); } } } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal virtual { _safeMint(to, quantity, ''); } /** * @dev Mints a single token at `tokenId`. * * Note: A spot-minted `tokenId` that has been burned can be re-minted again. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` must be greater than `_sequentialUpTo()`. * - `tokenId` must not exist. * * Emits a {Transfer} event for each mint. */ function _mintSpot(address to, uint256 tokenId) internal virtual { if (tokenId <= _sequentialUpTo()) _revert(SpotMintTokenIdTooSmall.selector); uint256 prevOwnershipPacked = _packedOwnerships[tokenId]; if (_packedOwnershipExists(prevOwnershipPacked)) _revert(TokenAlreadyExists.selector); _beforeTokenTransfers(address(0), to, tokenId, 1); // Overflows are incredibly unrealistic. // The `numberMinted` for `to` is incremented by 1, and has a max limit of 2**64 - 1. // `_spotMinted` is incremented by 1, and has a max limit of 2**256 - 1. unchecked { // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `true` (as `quantity == 1`). _packedOwnerships[tokenId] = _packOwnershipData( to, _nextInitializedFlag(1) | _nextExtraData(address(0), to, prevOwnershipPacked) ); // Updates: // - `balance += 1`. // - `numberMinted += 1`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += (1 << _BITPOS_NUMBER_MINTED) | 1; // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean. uint256 toMasked = uint256(uint160(to)) & _BITMASK_ADDRESS; if (toMasked == 0) _revert(MintToZeroAddress.selector); assembly { // Emit the `Transfer` event. log4( 0, // Start of data (0, since no data). 0, // End of data (0, since no data). _TRANSFER_EVENT_SIGNATURE, // Signature. 0, // `address(0)`. toMasked, // `to`. tokenId // `tokenId`. ) } ++_spotMinted; } _afterTokenTransfers(address(0), to, tokenId, 1); } /** * @dev Safely mints a single token at `tokenId`. * * Note: A spot-minted `tokenId` that has been burned can be re-minted again. * * Requirements: * * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}. * - `tokenId` must be greater than `_sequentialUpTo()`. * - `tokenId` must not exist. * * See {_mintSpot}. * * Emits a {Transfer} event. */ function _safeMintSpot( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mintSpot(to, tokenId); unchecked { if (to.code.length != 0) { uint256 currentSpotMinted = _spotMinted; if (!_checkContractOnERC721Received(address(0), to, tokenId, _data)) { _revert(TransferToNonERC721ReceiverImplementer.selector); } // This prevents reentrancy to `_safeMintSpot`. // It does not prevent reentrancy to `_safeMint`. if (_spotMinted != currentSpotMinted) revert(); } } } /** * @dev Equivalent to `_safeMintSpot(to, tokenId, '')`. */ function _safeMintSpot(address to, uint256 tokenId) internal virtual { _safeMintSpot(to, tokenId, ''); } // ============================================================= // APPROVAL OPERATIONS // ============================================================= /** * @dev Equivalent to `_approve(to, tokenId, false)`. */ function _approve(address to, uint256 tokenId) internal virtual { _approve(to, tokenId, false); } /** * @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: * * - `tokenId` must exist. * * Emits an {Approval} event. */ function _approve( address to, uint256 tokenId, bool approvalCheck ) internal virtual { address owner = ownerOf(tokenId); if (approvalCheck && _msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { _revert(ApprovalCallerNotOwnerNorApproved.selector); } _tokenApprovals[tokenId].value = to; emit Approval(owner, to, tokenId); } // ============================================================= // BURN OPERATIONS // ============================================================= /** * @dev Equivalent to `_burn(tokenId, false)`. */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); address from = address(uint160(prevOwnershipPacked)); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); if (approvalCheck) { // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) _revert(TransferCallerNotOwnerNorApproved.selector); } _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 + _spotMinted` times. unchecked { _burnCounter++; } } // ============================================================= // EXTRA DATA OPERATIONS // ============================================================= /** * @dev Directly sets the extra data for the ownership data `index`. */ function _setExtraDataAt(uint256 index, uint24 extraData) internal virtual { uint256 packed = _packedOwnerships[index]; if (packed == 0) _revert(OwnershipNotInitializedForExtraData.selector); uint256 extraDataCasted; // Cast `extraData` with assembly to avoid redundant masking. assembly { extraDataCasted := extraData } packed = (packed & _BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << _BITPOS_EXTRA_DATA); _packedOwnerships[index] = packed; } /** * @dev Called during each token transfer to set the 24bit `extraData` field. * Intended to be overridden by the cosumer contract. * * `previousExtraData` - the value of `extraData` before transfer. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _extraData( address from, address to, uint24 previousExtraData ) internal view virtual returns (uint24) {} /** * @dev Returns the next extra data for the packed ownership data. * The returned result is shifted into position. */ function _nextExtraData( address from, address to, uint256 prevOwnershipPacked ) private view returns (uint256) { uint24 extraData = uint24(prevOwnershipPacked >> _BITPOS_EXTRA_DATA); return uint256(_extraData(from, to, extraData)) << _BITPOS_EXTRA_DATA; } // ============================================================= // OTHER OPERATIONS // ============================================================= /** * @dev Returns the message sender (defaults to `msg.sender`). * * If you are writing GSN compatible contracts, you need to override this function. */ function _msgSenderERC721A() internal view virtual returns (address) { return msg.sender; } /** * @dev Converts a uint256 to its ASCII string decimal representation. */ function _toString(uint256 value) internal pure virtual returns (string memory str) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), but // we allocate 0xa0 bytes to keep the free memory pointer 32-byte word aligned. // We will need 1 word for the trailing zeros padding, 1 word for the length, // and 3 words for a maximum of 78 digits. Total: 5 * 0x20 = 0xa0. let m := add(mload(0x40), 0xa0) // Update the free memory pointer to allocate. mstore(0x40, m) // Assign the `str` to the end. str := sub(m, 0x20) // Zeroize the slot after the string. mstore(str, 0) // Cache the end of the memory to calculate the length later. let end := str // We write the string from rightmost digit to leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // prettier-ignore for { let temp := value } 1 {} { str := sub(str, 1) // Write the character to the pointer. // The ASCII index of the '0' character is 48. mstore8(str, add(48, mod(temp, 10))) // Keep dividing `temp` until zero. temp := div(temp, 10) // prettier-ignore if iszero(temp) { break } } let length := sub(end, str) // Move the pointer 32 bytes leftwards to make room for the length. str := sub(str, 0x20) // Store the length. mstore(str, length) } } /** * @dev For more efficient reverts. */ function _revert(bytes4 errorSelector) internal pure { assembly { mstore(0x00, errorSelector) revert(0x00, 0x04) } } } // File: MOGCATS.sol pragma solidity >=0.7.0 <0.9.0; contract MOGCATS is ERC721A, Ownable, ReentrancyGuard, ERC2981 { string public baseURI = "ipfs://QmeNifUhLXy8B2o8Ndvt5pvhZZzru3dVjU5178G9FM6Thr/"; string public notRevealedUri; uint256 public cost = 0.01 ether; uint256 public wlcost = 0.01 ether; uint256 public ogcost = 0.01 ether; uint256 public maxSupply = 6969; bool public paused = true; bool public revealed = true; bool public preSale = true; bool public publicSale = true; bool public ogSale = true; uint256 public wlFree = 1; uint256 public ogFree = 3; bytes32 public WLmerkleRoot; bytes32 public OGmerkleRoot; mapping(address => uint256) public PublicMintofUser; mapping(address => uint256) public WhitelistedMintofUser; mapping(address => uint256) public OGMintofUser; constructor() ERC721A("MOGCATS", "MOGCATS") Ownable(msg.sender) {} // internal function _baseURI() internal view virtual override returns (string memory) { return baseURI; } function _startTokenId() internal view virtual override returns (uint256) { return 1; } /// @dev Public mint function mint(uint256 tokens) public payable nonReentrant { require(!paused, "Sale is paused"); require(_msgSenderERC721A() == tx.origin, "BOTS Are not Allowed"); require(publicSale, "Public Sale Hasn't started yet"); require(totalSupply() + tokens <= maxSupply, "Soldout"); require(msg.value >= cost * tokens, "insufficient funds"); PublicMintofUser[_msgSenderERC721A()] += tokens; _safeMint(_msgSenderERC721A(), tokens); } /// @dev presale mint for whitelisted users function presalemint(uint256 tokens, bytes32[] calldata merkleProof) public payable nonReentrant { require(!paused, "Sale is paused"); require(preSale, "Presale Hasn't started yet"); require(_msgSenderERC721A() == tx.origin, "BOTS Are not Allowed"); require( MerkleProof.verify( merkleProof, WLmerkleRoot, keccak256(abi.encodePacked(msg.sender)) ), "You are not Whitelisted" ); require( totalSupply() + tokens <= maxSupply, "Whitelist MaxSupply exceeded" ); uint256 pricetoPay = 0; if (WhitelistedMintofUser[_msgSenderERC721A()] > wlFree) { pricetoPay = tokens; } else { uint256 freeAllocation = wlFree - WhitelistedMintofUser[_msgSenderERC721A()]; if (freeAllocation > 0) { if (freeAllocation >= tokens) { pricetoPay = 0; } else { pricetoPay = tokens - freeAllocation; } } else { pricetoPay = tokens; } } require(msg.value >= wlcost * pricetoPay, "insufficient funds"); WhitelistedMintofUser[_msgSenderERC721A()] += tokens; _safeMint(_msgSenderERC721A(), tokens); } /// @dev presale mint for whitelisted users function ogmint(uint256 tokens, bytes32[] calldata merkleProof) public payable nonReentrant { require(!paused, "Sale is paused"); require(ogSale, "OGsale Hasn't started yet"); require(_msgSenderERC721A() == tx.origin, "BOTS Are not Allowed"); require( MerkleProof.verify( merkleProof, OGmerkleRoot, keccak256(abi.encodePacked(msg.sender)) ), "You are not Whitelisted" ); require( totalSupply() + tokens <= maxSupply, "Whitelist MaxSupply exceeded" ); uint256 pricetoPay = 0; if (OGMintofUser[_msgSenderERC721A()] > ogFree) { pricetoPay = tokens; } else { uint256 freeAllocation = ogFree - OGMintofUser[_msgSenderERC721A()]; if (freeAllocation > 0) { if (freeAllocation >= tokens) { pricetoPay = 0; } else { pricetoPay = tokens - freeAllocation; } } else { pricetoPay = tokens; } } require(msg.value >= ogcost * pricetoPay, "insufficient funds"); OGMintofUser[_msgSenderERC721A()] += tokens; _safeMint(_msgSenderERC721A(), tokens); } /// @dev use it for giveaway and team mint function airdrop(uint256 _mintAmount, address[] calldata destination) public onlyOwner nonReentrant { uint256 totalnft = _mintAmount * destination.length; require( totalSupply() + totalnft <= maxSupply, "max NFT limit exceeded" ); for (uint256 i = 0; i < destination.length; i++) { _safeMint(destination[i], _mintAmount); } } /// @dev use it To Burn NFTs function burn(uint256[] calldata tokenID) public nonReentrant { for (uint256 id = 0; id < tokenID.length; id++) { require(_exists(tokenID[id]), "Burning for nonexistent token"); require( ownerOf(tokenID[id]) == _msgSenderERC721A(), "You are not owner of this NFT" ); _burn(tokenID[id]); } } /// @notice returns metadata link of tokenid function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require( _exists(tokenId), "ERC721AMetadata: URI query for nonexistent token" ); if (revealed == false) { return notRevealedUri; } string memory currentBaseURI = _baseURI(); return bytes(currentBaseURI).length > 0 ? string( abi.encodePacked( currentBaseURI, _toString(tokenId), ".json" ) ) : ""; } /// @notice return the total number minted by an address function numberMinted(address owner) public view returns (uint256) { return _numberMinted(owner); } /// @notice return all tokens owned by an address function tokensOfOwner(address owner) public view returns (uint256[] memory) { unchecked { uint256 tokenIdsIdx; address currOwnershipAddr; uint256 tokenIdsLength = balanceOf(owner); uint256[] memory tokenIds = new uint256[](tokenIdsLength); TokenOwnership memory ownership; for ( uint256 i = _startTokenId(); tokenIdsIdx != tokenIdsLength; ++i ) { ownership = _ownershipAt(i); if (ownership.burned) { continue; } if (ownership.addr != address(0)) { currOwnershipAddr = ownership.addr; } if (currOwnershipAddr == owner) { tokenIds[tokenIdsIdx++] = i; } } return tokenIds; } } /// @dev to reveal collection, true for reveal function reveal(bool _state) public onlyOwner { revealed = _state; } /// @dev change the merkle roots function setMerkleRoots(bytes32 _WLRoot, bytes32 _OGRoot) external onlyOwner { WLmerkleRoot = _WLRoot; OGmerkleRoot = _OGRoot; } /// @dev change the free per wallet function setFreePerWallet(uint256 _wllimit, uint256 _oglimit) public onlyOwner { wlFree = _wllimit; ogFree = _oglimit; } /// @dev change the nft price(amount need to be in wei) function setCosts( uint256 _publicCost, uint256 _WLCost, uint256 _ogCost ) public onlyOwner { cost = _publicCost; wlcost = _WLCost; ogcost = _ogCost; } /// @dev cut the supply if we dont sold out function setMaxsupply(uint256 _newsupply) public onlyOwner { maxSupply = _newsupply; } /// @dev set your baseuri function setBaseURI(string memory _newBaseURI) public onlyOwner { baseURI = _newBaseURI; } /// @dev set hidden uri function setNotRevealedURI(string memory _notRevealedURI) public onlyOwner { notRevealedUri = _notRevealedURI; } /// @dev to pause and unpause your contract(use booleans true or false) function pause(bool _state) public onlyOwner { paused = _state; } /// @dev activate sales(use booleans true or false) function togglesalePhases( bool _public, bool _wl, bool _og ) public onlyOwner { ogSale = _og; publicSale = _public; preSale = _wl; } /// @dev withdraw funds from contract function withdraw() public payable onlyOwner nonReentrant { uint256 balance = address(this).balance; payable(_msgSenderERC721A()).transfer(balance); } // ERC2981 functions function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721A, ERC2981) returns (bool) { return ERC721A.supportsInterface(interfaceId) || ERC2981.supportsInterface(interfaceId); } /// @dev set royalty %, eg. 500 = 5% function setRoyaltyInfo(address _receiver, uint96 _feeNumerator) external onlyOwner { _setDefaultRoyalty(_receiver, _feeNumerator); } function deleteRoyalty() external onlyOwner { _deleteDefaultRoyalty(); } }
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":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[{"internalType":"uint256","name":"numerator","type":"uint256"},{"internalType":"uint256","name":"denominator","type":"uint256"}],"name":"ERC2981InvalidDefaultRoyalty","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC2981InvalidDefaultRoyaltyReceiver","type":"error"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"numerator","type":"uint256"},{"internalType":"uint256","name":"denominator","type":"uint256"}],"name":"ERC2981InvalidTokenRoyalty","type":"error"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC2981InvalidTokenRoyaltyReceiver","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"NotCompatibleWithSpotMints","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"SequentialMintExceedsLimit","type":"error"},{"inputs":[],"name":"SequentialUpToTooSmall","type":"error"},{"inputs":[],"name":"SpotMintTokenIdTooSmall","type":"error"},{"inputs":[],"name":"TokenAlreadyExists","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"OGMintofUser","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OGmerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"PublicMintofUser","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WLmerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"WhitelistedMintofUser","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"},{"internalType":"address[]","name":"destination","type":"address[]"}],"name":"airdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenID","type":"uint256[]"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"deleteRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokens","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"notRevealedUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"numberMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ogFree","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ogSale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ogcost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokens","type":"uint256"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"ogmint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"preSale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokens","type":"uint256"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"presalemint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"publicSale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"reveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_publicCost","type":"uint256"},{"internalType":"uint256","name":"_WLCost","type":"uint256"},{"internalType":"uint256","name":"_ogCost","type":"uint256"}],"name":"setCosts","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_wllimit","type":"uint256"},{"internalType":"uint256","name":"_oglimit","type":"uint256"}],"name":"setFreePerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newsupply","type":"uint256"}],"name":"setMaxsupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_WLRoot","type":"bytes32"},{"internalType":"bytes32","name":"_OGRoot","type":"bytes32"}],"name":"setMerkleRoots","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_notRevealedURI","type":"string"}],"name":"setNotRevealedURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_receiver","type":"address"},{"internalType":"uint96","name":"_feeNumerator","type":"uint96"}],"name":"setRoyaltyInfo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"_public","type":"bool"},{"internalType":"bool","name":"_wl","type":"bool"},{"internalType":"bool","name":"_og","type":"bool"}],"name":"togglesalePhases","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"result","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"wlFree","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"wlcost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
60e0604052603660808181529062002e5f60a039600d90620000229082620001f6565b50662386f26fc10000600f8190556010819055601155611b396012556013805464ffffffffff19166401010101011790556001601455600360155534801562000069575f80fd5b506040805180820182526007808252664d4f474341545360c81b602080840182905284518086019095529184529083015233916002620000aa8382620001f6565b506003620000b98282620001f6565b5060015f5550506001600160a01b038116620000ee57604051631e4fbdf760e01b81525f600482015260240160405180910390fd5b620000f98162000105565b506001600a55620002be565b600980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b634e487b7160e01b5f52604160045260245ffd5b600181811c908216806200017f57607f821691505b6020821081036200019e57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f821115620001f1575f81815260208120601f850160051c81016020861015620001cc5750805b601f850160051c820191505b81811015620001ed57828155600101620001d8565b5050505b505050565b81516001600160401b0381111562000212576200021262000156565b6200022a816200022384546200016a565b84620001a4565b602080601f83116001811462000260575f8415620002485750858301515b5f19600386901b1c1916600185901b178555620001ed565b5f85815260208120601f198616915b8281101562000290578886015182559484019460019091019084016200026f565b5085821015620002ae57878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b612b9380620002cc5f395ff3fe608060405260043610610341575f3560e01c806382785214116101bd578063b80f55c9116100f2578063dc33e68111610092578063f2c4ce1e1161006d578063f2c4ce1e146108e6578063f2fde38b14610905578063fb6afe2414610924578063fff8d2fc1461094f575f80fd5b8063dc33e68114610889578063e05988d4146108a8578063e985e9c5146108c7575f80fd5b8063bdf7a8e6116100cd578063bdf7a8e614610821578063c87b56dd14610840578063d2931cf91461085f578063d5abeb0114610874575f80fd5b8063b80f55c9146107da578063b88d4fde146107f9578063bd8c54011461080c575f80fd5b806395d89b411161015d578063a0712d6811610138578063a0712d6814610780578063a22cb46514610793578063a58c063b146107b2578063b7509690146107c7575f80fd5b806395d89b411461072e5780639a48eb51146107425780639c07507614610761575f80fd5b80638b14966b116101985780638b14966b146106a85780638b1cb4cb146106d35780638da5cb5b146106f2578063940cd05b1461070f575f80fd5b806382785214146106475780638462151c1461065b57806388b71fc014610687575f80fd5b80632a55205a116102935780635c975abb116102335780636c0360eb1161020e5780636c0360eb146105eb5780636c2d3c4f146105ff57806370a0823114610614578063715018a614610633575f80fd5b80635c975abb1461059e5780635ef3bd8b146105b75780636352211e146105cc575f80fd5b806342842e0e1161026e57806342842e0e1461052f578063518302271461054257806355f804b3146105605780635a7adf7f1461057f575f80fd5b80632a55205a146104c957806333bc1c5c146105075780633ccfd60b14610527575f80fd5b8063081812fc116102fe57806313faede6116102d957806313faede61461046e578063149835a01461048357806318160ddd146104a257806323b872dd146104b6575f80fd5b8063081812fc14610410578063081c8c4414610447578063095ea7b31461045b575f80fd5b806301ffc9a71461034557806302329a291461037957806302fa7c471461039a578063036e4cb5146103b957806306141bb1146103cc57806306fdde03146103ef575b5f80fd5b348015610350575f80fd5b5061036461035f3660046123a7565b61097a565b60405190151581526020015b60405180910390f35b348015610384575f80fd5b506103986103933660046123d1565b610999565b005b3480156103a5575f80fd5b506103986103b4366004612400565b6109b4565b6103986103c7366004612481565b6109ca565b3480156103d7575f80fd5b506103e160165481565b604051908152602001610370565b3480156103fa575f80fd5b50610403610c99565b6040516103709190612516565b34801561041b575f80fd5b5061042f61042a366004612528565b610d29565b6040516001600160a01b039091168152602001610370565b348015610452575f80fd5b50610403610d62565b61039861046936600461253f565b610dee565b348015610479575f80fd5b506103e1600f5481565b34801561048e575f80fd5b5061039861049d366004612528565b610dfa565b3480156104ad575f80fd5b506103e1610e07565b6103986104c4366004612567565b610e13565b3480156104d4575f80fd5b506104e86104e33660046125a0565b610f77565b604080516001600160a01b039093168352602083019190915201610370565b348015610512575f80fd5b50601354610364906301000000900460ff1681565b610398611023565b61039861053d366004612567565b61106d565b34801561054d575f80fd5b5060135461036490610100900460ff1681565b34801561056b575f80fd5b5061039861057a366004612647565b611087565b34801561058a575f80fd5b506013546103649062010000900460ff1681565b3480156105a9575f80fd5b506013546103649060ff1681565b3480156105c2575f80fd5b506103e160175481565b3480156105d7575f80fd5b5061042f6105e6366004612528565b61109b565b3480156105f6575f80fd5b506104036110a5565b34801561060a575f80fd5b506103e160105481565b34801561061f575f80fd5b506103e161062e36600461268c565b6110b2565b34801561063e575f80fd5b506103986110f6565b348015610652575f80fd5b50610398611107565b348015610666575f80fd5b5061067a61067536600461268c565b611118565b60405161037091906126a5565b348015610692575f80fd5b5060135461036490640100000000900460ff1681565b3480156106b3575f80fd5b506103e16106c236600461268c565b60196020525f908152604090205481565b3480156106de575f80fd5b506103986106ed3660046126dc565b61121d565b3480156106fd575f80fd5b506009546001600160a01b031661042f565b34801561071a575f80fd5b506103986107293660046123d1565b611233565b348015610739575f80fd5b50610403611255565b34801561074d575f80fd5b5061039861075c3660046125a0565b611264565b34801561076c575f80fd5b5061039861077b3660046125a0565b611277565b61039861078e366004612528565b61128a565b34801561079e575f80fd5b506103986107ad366004612705565b6113e3565b3480156107bd575f80fd5b506103e160145481565b6103986107d5366004612481565b61144e565b3480156107e5575f80fd5b506103986107f4366004612736565b6116b6565b610398610807366004612775565b6117eb565b348015610817575f80fd5b506103e160115481565b34801561082c575f80fd5b5061039861083b366004612481565b61182c565b34801561084b575f80fd5b5061040361085a366004612528565b6118fe565b34801561086a575f80fd5b506103e160155481565b34801561087f575f80fd5b506103e160125481565b348015610894575f80fd5b506103e16108a336600461268c565b611a6a565b3480156108b3575f80fd5b506103986108c23660046127ec565b611a94565b3480156108d2575f80fd5b506103646108e136600461282c565b611ae5565b3480156108f1575f80fd5b50610398610900366004612647565b611b12565b348015610910575f80fd5b5061039861091f36600461268c565b611b26565b34801561092f575f80fd5b506103e161093e36600461268c565b601a6020525f908152604090205481565b34801561095a575f80fd5b506103e161096936600461268c565b60186020525f908152604090205481565b5f61098482611b60565b80610993575061099382611bad565b92915050565b6109a1611be1565b6013805460ff1916911515919091179055565b6109bc611be1565b6109c68282611c0e565b5050565b6109d2611cb0565b60135460ff16156109fe5760405162461bcd60e51b81526004016109f590612854565b60405180910390fd5b60135462010000900460ff16610a565760405162461bcd60e51b815260206004820152601a60248201527f50726573616c65204861736e277420737461727465642079657400000000000060448201526064016109f5565b333214610a755760405162461bcd60e51b81526004016109f59061287c565b610aea8282808060200260200160405190810160405280939291908181526020018383602002808284375f92019190915250506016546040516bffffffffffffffffffffffff193360601b16602082015290925060340190505b60405160208183030381529060405280519060200120611d09565b610b305760405162461bcd60e51b8152602060048201526017602482015276165bdd48185c99481b9bdd0815da1a5d195b1a5cdd1959604a1b60448201526064016109f5565b60125483610b3c610e07565b610b4691906128be565b1115610b945760405162461bcd60e51b815260206004820152601c60248201527f57686974656c697374204d6178537570706c792065786365656465640000000060448201526064016109f5565b5f60145460195f610ba23390565b6001600160a01b03166001600160a01b031681526020019081526020015f20541115610bcf575082610c19565b335f90815260196020526040812054601454610beb91906128d1565b90508015610c1357848110610c02575f9150610c17565b610c0c81866128d1565b9150610c17565b8491505b505b80601054610c2791906128e4565b341015610c465760405162461bcd60e51b81526004016109f5906128fb565b8360195f335b6001600160a01b03166001600160a01b031681526020019081526020015f205f828254610c7991906128be565b90915550610c8990503385611d1e565b50610c946001600a55565b505050565b606060028054610ca890612927565b80601f0160208091040260200160405190810160405280929190818152602001828054610cd490612927565b8015610d1f5780601f10610cf657610100808354040283529160200191610d1f565b820191905f5260205f20905b815481529060010190602001808311610d0257829003601f168201915b5050505050905090565b5f610d3382611d37565b610d4757610d476333d1c03960e21b611d81565b505f908152600660205260409020546001600160a01b031690565b600e8054610d6f90612927565b80601f0160208091040260200160405190810160405280929190818152602001828054610d9b90612927565b8015610de65780601f10610dbd57610100808354040283529160200191610de6565b820191905f5260205f20905b815481529060010190602001808311610dc957829003601f168201915b505050505081565b6109c682826001611d89565b610e02611be1565b601255565b6001545f54035f190190565b5f610e1d82611e2a565b6001600160a01b039485169490915081168414610e4357610e4362a1148160e81b611d81565b5f8281526006602052604090208054610e6e8187335b6001600160a01b039081169116811491141790565b610e9057610e7c8633611ae5565b610e9057610e90632ce44b5f60e11b611d81565b8015610e9a575f82555b6001600160a01b038681165f9081526005602052604080822080545f19019055918716808252919020805460010190554260a01b17600160e11b175f85815260046020526040812091909155600160e11b84169003610f2657600184015f818152600460205260408120549003610f24575f548114610f24575f8181526004602052604090208490555b505b6001600160a01b0385168481887fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a4805f03610f6e57610f6e633a954ecd60e21b611d81565b50505050505050565b5f828152600c602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b0316928201929092528291610feb575060408051808201909152600b546001600160a01b0381168252600160a01b90046001600160601b031660208201525b60208101515f9061271090611009906001600160601b0316876128e4565b611013919061295f565b91519350909150505b9250929050565b61102b611be1565b611033611cb0565b6040514790339082156108fc029083905f818181858888f1935050505015801561105f573d5f803e3d5ffd5b505061106b6001600a55565b565b610c9483838360405180602001604052805f8152506117eb565b61108f611be1565b600d6109c682826129cb565b5f61099382611e2a565b600d8054610d6f90612927565b5f6001600160a01b0382166110d1576110d16323d3ad8160e21b611d81565b506001600160a01b03165f9081526005602052604090205467ffffffffffffffff1690565b6110fe611be1565b61106b5f611ec3565b61110f611be1565b61106b5f600b55565b60605f805f611126856110b2565b90505f8167ffffffffffffffff811115611142576111426125c0565b60405190808252806020026020018201604052801561116b578160200160208202803683370190505b509050611197604080516080810182525f80825260208201819052918101829052606081019190915290565b60015b838614611211576111aa81611f14565b915081604001516112095781516001600160a01b0316156111ca57815194505b876001600160a01b0316856001600160a01b03160361120957808387806001019850815181106111fc576111fc612a87565b6020026020010181815250505b60010161119a565b50909695505050505050565b611225611be1565b600f92909255601055601155565b61123b611be1565b601380549115156101000261ff0019909216919091179055565b606060038054610ca890612927565b61126c611be1565b601691909155601755565b61127f611be1565b601491909155601555565b611292611cb0565b60135460ff16156112b55760405162461bcd60e51b81526004016109f590612854565b3332146112d45760405162461bcd60e51b81526004016109f59061287c565b6013546301000000900460ff1661132d5760405162461bcd60e51b815260206004820152601e60248201527f5075626c69632053616c65204861736e2774207374617274656420796574000060448201526064016109f5565b60125481611339610e07565b61134391906128be565b111561137b5760405162461bcd60e51b815260206004820152600760248201526614dbdb191bdd5d60ca1b60448201526064016109f5565b80600f5461138991906128e4565b3410156113a85760405162461bcd60e51b81526004016109f5906128fb565b335f90815260186020526040812080548392906113c69084906128be565b909155506113d690503382611d1e565b6113e06001600a55565b50565b335f8181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b611456611cb0565b60135460ff16156114795760405162461bcd60e51b81526004016109f590612854565b601354640100000000900460ff166114d35760405162461bcd60e51b815260206004820152601960248201527f4f4773616c65204861736e27742073746172746564207965740000000000000060448201526064016109f5565b3332146114f25760405162461bcd60e51b81526004016109f59061287c565b6115508282808060200260200160405190810160405280939291908181526020018383602002808284375f92019190915250506017546040516bffffffffffffffffffffffff193360601b1660208201529092506034019050610acf565b6115965760405162461bcd60e51b8152602060048201526017602482015276165bdd48185c99481b9bdd0815da1a5d195b1a5cdd1959604a1b60448201526064016109f5565b601254836115a2610e07565b6115ac91906128be565b11156115fa5760405162461bcd60e51b815260206004820152601c60248201527f57686974656c697374204d6178537570706c792065786365656465640000000060448201526064016109f5565b5f601554601a5f6116083390565b6001600160a01b03166001600160a01b031681526020019081526020015f2054111561163557508261167f565b335f908152601a602052604081205460155461165191906128d1565b9050801561167957848110611668575f915061167d565b61167281866128d1565b915061167d565b8491505b505b8060115461168d91906128e4565b3410156116ac5760405162461bcd60e51b81526004016109f5906128fb565b83601a5f33610c4c565b6116be611cb0565b5f5b818110156117e0576116e98383838181106116dd576116dd612a87565b90506020020135611d37565b6117355760405162461bcd60e51b815260206004820152601d60248201527f4275726e696e6720666f72206e6f6e6578697374656e7420746f6b656e00000060448201526064016109f5565b3361175784848481811061174b5761174b612a87565b9050602002013561109b565b6001600160a01b0316146117ad5760405162461bcd60e51b815260206004820152601d60248201527f596f7520617265206e6f74206f776e6572206f662074686973204e465400000060448201526064016109f5565b6117ce8383838181106117c2576117c2612a87565b90506020020135611f91565b806117d881612a9b565b9150506116c0565b506109c66001600a55565b6117f6848484610e13565b6001600160a01b0383163b156118265761181284848484611f9b565b611826576118266368d2bf6b60e11b611d81565b50505050565b611834611be1565b61183c611cb0565b5f61184782856128e4565b905060125481611855610e07565b61185f91906128be565b11156118a65760405162461bcd60e51b81526020600482015260166024820152751b585e08139195081b1a5b5a5d08195e18d95959195960521b60448201526064016109f5565b5f5b828110156118f2576118e08484838181106118c5576118c5612a87565b90506020020160208101906118da919061268c565b86611d1e565b806118ea81612a9b565b9150506118a8565b5050610c946001600a55565b606061190982611d37565b61196e5760405162461bcd60e51b815260206004820152603060248201527f455243373231414d657461646174613a2055524920717565727920666f72206e60448201526f37b732bc34b9ba32b73a103a37b5b2b760811b60648201526084016109f5565b601354610100900460ff1615155f03611a1157600e805461198e90612927565b80601f01602080910402602001604051908101604052809291908181526020018280546119ba90612927565b8015611a055780601f106119dc57610100808354040283529160200191611a05565b820191905f5260205f20905b8154815290600101906020018083116119e857829003601f168201915b50505050509050919050565b5f611a1a61207a565b90505f815111611a385760405180602001604052805f815250611a63565b80611a4284612089565b604051602001611a53929190612ab3565b6040516020818303038152906040525b9392505050565b6001600160a01b0381165f908152600560205260408082205467ffffffffffffffff911c16610993565b611a9c611be1565b60138054921515620100000262ff00001994151563010000000263ff00000019931515640100000000029390931664ffff00000019909416939093179190911792909216179055565b6001600160a01b039182165f90815260076020908152604080832093909416825291909152205460ff1690565b611b1a611be1565b600e6109c682826129cb565b611b2e611be1565b6001600160a01b038116611b5757604051631e4fbdf760e01b81525f60048201526024016109f5565b6113e081611ec3565b5f6301ffc9a760e01b6001600160e01b031983161480611b9057506380ac58cd60e01b6001600160e01b03198316145b806109935750506001600160e01b031916635b5e139f60e01b1490565b5f6001600160e01b0319821663152a902d60e11b148061099357506301ffc9a760e01b6001600160e01b0319831614610993565b6009546001600160a01b0316331461106b5760405163118cdaa760e01b81523360048201526024016109f5565b6127106001600160601b038216811015611c4d57604051636f483d0960e01b81526001600160601b0383166004820152602481018290526044016109f5565b6001600160a01b038316611c7657604051635b6cc80560e11b81525f60048201526024016109f5565b50604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600b55565b6002600a5403611d025760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016109f5565b6002600a55565b5f82611d1585846120cc565b14949350505050565b6109c6828260405180602001604052805f815250612118565b5f81600111611d7c575f54821015611d7c575f5b505f8281526004602052604081205490819003611d7257611d6b83612af1565b9250611d4b565b600160e01b161590505b919050565b805f5260045ffd5b5f611d938361109b565b9050818015611dab5750336001600160a01b03821614155b15611dce57611dba8133611ae5565b611dce57611dce6367d9dca160e11b611d81565b5f8381526006602052604080822080546001600160a01b0319166001600160a01b0388811691821790925591518693918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a450505050565b5f81600111611eb357505f81815260046020526040902054805f03611ea1575f548210611e6157611e61636f96cda160e11b611d81565b5b505f19015f818152600460205260409020548015611e6257600160e01b81165f03611e8c57919050565b611e9c636f96cda160e11b611d81565b611e62565b600160e01b81165f03611eb357919050565b611d7c636f96cda160e11b611d81565b600980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b604080516080810182525f8082526020820181905291810182905260608101919091525f8281526004602052604090205461099390604080516080810182526001600160a01b038316815260a083901c67ffffffffffffffff166020820152600160e01b831615159181019190915260e89190911c606082015290565b6113e0815f612178565b604051630a85bd0160e11b81525f906001600160a01b0385169063150b7a0290611fcf903390899088908890600401612b06565b6020604051808303815f875af1925050508015612009575060408051601f3d908101601f1916820190925261200691810190612b42565b60015b61205c573d808015612036576040519150601f19603f3d011682016040523d82523d5f602084013e61203b565b606091505b5080515f03612054576120546368d2bf6b60e11b611d81565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600d8054610ca890612927565b606060a06040510180604052602081039150505f815280825b600183039250600a81066030018353600a9004806120a25750819003601f19909101908152919050565b5f81815b8451811015612110576120fc828683815181106120ef576120ef612a87565b60200260200101516122af565b91508061210881612a9b565b9150506120d0565b509392505050565b61212283836122d8565b6001600160a01b0383163b15610c94575f548281035b61214a5f868380600101945086611f9b565b61215e5761215e6368d2bf6b60e11b611d81565b81811061213857815f5414612171575f80fd5b5050505050565b5f61218283611e2a565b9050805f8061219e865f90815260066020526040902080549091565b9150915084156121d5576121b3818433610e59565b6121d5576121c18333611ae5565b6121d5576121d5632ce44b5f60e11b611d81565b80156121df575f82555b6001600160a01b0383165f81815260056020526040902080546fffffffffffffffffffffffffffffffff0190554260a01b17600360e01b175f87815260046020526040812091909155600160e11b8516900361226857600186015f818152600460205260408120549003612266575f548114612266575f8181526004602052604090208590555b505b60405186905f906001600160a01b038616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050600180548101905550505050565b5f8183106122c9575f828152602084905260409020611a63565b505f9182526020526040902090565b5f8054908290036122f3576122f363b562e8dd60e01b611d81565b5f8181526004602090815260408083206001600160a01b0387164260a01b6001881460e11b1781179091558084526005909252822080546801000000000000000186020190559081900361235057612350622e076360e81b611d81565b818301825b80835f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a481816001019150810361235557505f5550505050565b6001600160e01b0319811681146113e0575f80fd5b5f602082840312156123b7575f80fd5b8135611a6381612392565b80358015158114611d7c575f80fd5b5f602082840312156123e1575f80fd5b611a63826123c2565b80356001600160a01b0381168114611d7c575f80fd5b5f8060408385031215612411575f80fd5b61241a836123ea565b915060208301356001600160601b0381168114612435575f80fd5b809150509250929050565b5f8083601f840112612450575f80fd5b50813567ffffffffffffffff811115612467575f80fd5b6020830191508360208260051b850101111561101c575f80fd5b5f805f60408486031215612493575f80fd5b83359250602084013567ffffffffffffffff8111156124b0575f80fd5b6124bc86828701612440565b9497909650939450505050565b5f5b838110156124e35781810151838201526020016124cb565b50505f910152565b5f81518084526125028160208601602086016124c9565b601f01601f19169290920160200192915050565b602081525f611a6360208301846124eb565b5f60208284031215612538575f80fd5b5035919050565b5f8060408385031215612550575f80fd5b612559836123ea565b946020939093013593505050565b5f805f60608486031215612579575f80fd5b612582846123ea565b9250612590602085016123ea565b9150604084013590509250925092565b5f80604083850312156125b1575f80fd5b50508035926020909101359150565b634e487b7160e01b5f52604160045260245ffd5b5f67ffffffffffffffff808411156125ee576125ee6125c0565b604051601f8501601f19908116603f01168101908282118183101715612616576126166125c0565b8160405280935085815286868601111561262e575f80fd5b858560208301375f602087830101525050509392505050565b5f60208284031215612657575f80fd5b813567ffffffffffffffff81111561266d575f80fd5b8201601f8101841361267d575f80fd5b612072848235602084016125d4565b5f6020828403121561269c575f80fd5b611a63826123ea565b602080825282518282018190525f9190848201906040850190845b81811015611211578351835292840192918401916001016126c0565b5f805f606084860312156126ee575f80fd5b505081359360208301359350604090920135919050565b5f8060408385031215612716575f80fd5b61271f836123ea565b915061272d602084016123c2565b90509250929050565b5f8060208385031215612747575f80fd5b823567ffffffffffffffff81111561275d575f80fd5b61276985828601612440565b90969095509350505050565b5f805f8060808587031215612788575f80fd5b612791856123ea565b935061279f602086016123ea565b925060408501359150606085013567ffffffffffffffff8111156127c1575f80fd5b8501601f810187136127d1575f80fd5b6127e0878235602084016125d4565b91505092959194509250565b5f805f606084860312156127fe575f80fd5b612807846123c2565b9250612815602085016123c2565b9150612823604085016123c2565b90509250925092565b5f806040838503121561283d575f80fd5b612846836123ea565b915061272d602084016123ea565b6020808252600e908201526d14d85b19481a5cc81c185d5cd95960921b604082015260600190565b6020808252601490820152731093d514c8105c99481b9bdd08105b1b1bddd95960621b604082015260600190565b634e487b7160e01b5f52601160045260245ffd5b80820180821115610993576109936128aa565b81810381811115610993576109936128aa565b8082028115828204841417610993576109936128aa565b602080825260129082015271696e73756666696369656e742066756e647360701b604082015260600190565b600181811c9082168061293b57607f821691505b60208210810361295957634e487b7160e01b5f52602260045260245ffd5b50919050565b5f8261297957634e487b7160e01b5f52601260045260245ffd5b500490565b601f821115610c94575f81815260208120601f850160051c810160208610156129a45750805b601f850160051c820191505b818110156129c3578281556001016129b0565b505050505050565b815167ffffffffffffffff8111156129e5576129e56125c0565b6129f9816129f38454612927565b8461297e565b602080601f831160018114612a2c575f8415612a155750858301515b5f19600386901b1c1916600185901b1785556129c3565b5f85815260208120601f198616915b82811015612a5a57888601518255948401946001909101908401612a3b565b5085821015612a7757878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b5f52603260045260245ffd5b5f60018201612aac57612aac6128aa565b5060010190565b5f8351612ac48184602088016124c9565b835190830190612ad88183602088016124c9565b64173539b7b760d91b9101908152600501949350505050565b5f81612aff57612aff6128aa565b505f190190565b6001600160a01b03858116825284166020820152604081018390526080606082018190525f90612b38908301846124eb565b9695505050505050565b5f60208284031215612b52575f80fd5b8151611a638161239256fea264697066735822122007ebe31c967f8d63bcdf6958fdc1a2b4d938d67aa020d159e8204184c10d631f64736f6c63430008150033697066733a2f2f516d654e696655684c58793842326f384e647674357076685a5a7a72753364566a55353137384739464d365468722f
Deployed Bytecode
0x608060405260043610610341575f3560e01c806382785214116101bd578063b80f55c9116100f2578063dc33e68111610092578063f2c4ce1e1161006d578063f2c4ce1e146108e6578063f2fde38b14610905578063fb6afe2414610924578063fff8d2fc1461094f575f80fd5b8063dc33e68114610889578063e05988d4146108a8578063e985e9c5146108c7575f80fd5b8063bdf7a8e6116100cd578063bdf7a8e614610821578063c87b56dd14610840578063d2931cf91461085f578063d5abeb0114610874575f80fd5b8063b80f55c9146107da578063b88d4fde146107f9578063bd8c54011461080c575f80fd5b806395d89b411161015d578063a0712d6811610138578063a0712d6814610780578063a22cb46514610793578063a58c063b146107b2578063b7509690146107c7575f80fd5b806395d89b411461072e5780639a48eb51146107425780639c07507614610761575f80fd5b80638b14966b116101985780638b14966b146106a85780638b1cb4cb146106d35780638da5cb5b146106f2578063940cd05b1461070f575f80fd5b806382785214146106475780638462151c1461065b57806388b71fc014610687575f80fd5b80632a55205a116102935780635c975abb116102335780636c0360eb1161020e5780636c0360eb146105eb5780636c2d3c4f146105ff57806370a0823114610614578063715018a614610633575f80fd5b80635c975abb1461059e5780635ef3bd8b146105b75780636352211e146105cc575f80fd5b806342842e0e1161026e57806342842e0e1461052f578063518302271461054257806355f804b3146105605780635a7adf7f1461057f575f80fd5b80632a55205a146104c957806333bc1c5c146105075780633ccfd60b14610527575f80fd5b8063081812fc116102fe57806313faede6116102d957806313faede61461046e578063149835a01461048357806318160ddd146104a257806323b872dd146104b6575f80fd5b8063081812fc14610410578063081c8c4414610447578063095ea7b31461045b575f80fd5b806301ffc9a71461034557806302329a291461037957806302fa7c471461039a578063036e4cb5146103b957806306141bb1146103cc57806306fdde03146103ef575b5f80fd5b348015610350575f80fd5b5061036461035f3660046123a7565b61097a565b60405190151581526020015b60405180910390f35b348015610384575f80fd5b506103986103933660046123d1565b610999565b005b3480156103a5575f80fd5b506103986103b4366004612400565b6109b4565b6103986103c7366004612481565b6109ca565b3480156103d7575f80fd5b506103e160165481565b604051908152602001610370565b3480156103fa575f80fd5b50610403610c99565b6040516103709190612516565b34801561041b575f80fd5b5061042f61042a366004612528565b610d29565b6040516001600160a01b039091168152602001610370565b348015610452575f80fd5b50610403610d62565b61039861046936600461253f565b610dee565b348015610479575f80fd5b506103e1600f5481565b34801561048e575f80fd5b5061039861049d366004612528565b610dfa565b3480156104ad575f80fd5b506103e1610e07565b6103986104c4366004612567565b610e13565b3480156104d4575f80fd5b506104e86104e33660046125a0565b610f77565b604080516001600160a01b039093168352602083019190915201610370565b348015610512575f80fd5b50601354610364906301000000900460ff1681565b610398611023565b61039861053d366004612567565b61106d565b34801561054d575f80fd5b5060135461036490610100900460ff1681565b34801561056b575f80fd5b5061039861057a366004612647565b611087565b34801561058a575f80fd5b506013546103649062010000900460ff1681565b3480156105a9575f80fd5b506013546103649060ff1681565b3480156105c2575f80fd5b506103e160175481565b3480156105d7575f80fd5b5061042f6105e6366004612528565b61109b565b3480156105f6575f80fd5b506104036110a5565b34801561060a575f80fd5b506103e160105481565b34801561061f575f80fd5b506103e161062e36600461268c565b6110b2565b34801561063e575f80fd5b506103986110f6565b348015610652575f80fd5b50610398611107565b348015610666575f80fd5b5061067a61067536600461268c565b611118565b60405161037091906126a5565b348015610692575f80fd5b5060135461036490640100000000900460ff1681565b3480156106b3575f80fd5b506103e16106c236600461268c565b60196020525f908152604090205481565b3480156106de575f80fd5b506103986106ed3660046126dc565b61121d565b3480156106fd575f80fd5b506009546001600160a01b031661042f565b34801561071a575f80fd5b506103986107293660046123d1565b611233565b348015610739575f80fd5b50610403611255565b34801561074d575f80fd5b5061039861075c3660046125a0565b611264565b34801561076c575f80fd5b5061039861077b3660046125a0565b611277565b61039861078e366004612528565b61128a565b34801561079e575f80fd5b506103986107ad366004612705565b6113e3565b3480156107bd575f80fd5b506103e160145481565b6103986107d5366004612481565b61144e565b3480156107e5575f80fd5b506103986107f4366004612736565b6116b6565b610398610807366004612775565b6117eb565b348015610817575f80fd5b506103e160115481565b34801561082c575f80fd5b5061039861083b366004612481565b61182c565b34801561084b575f80fd5b5061040361085a366004612528565b6118fe565b34801561086a575f80fd5b506103e160155481565b34801561087f575f80fd5b506103e160125481565b348015610894575f80fd5b506103e16108a336600461268c565b611a6a565b3480156108b3575f80fd5b506103986108c23660046127ec565b611a94565b3480156108d2575f80fd5b506103646108e136600461282c565b611ae5565b3480156108f1575f80fd5b50610398610900366004612647565b611b12565b348015610910575f80fd5b5061039861091f36600461268c565b611b26565b34801561092f575f80fd5b506103e161093e36600461268c565b601a6020525f908152604090205481565b34801561095a575f80fd5b506103e161096936600461268c565b60186020525f908152604090205481565b5f61098482611b60565b80610993575061099382611bad565b92915050565b6109a1611be1565b6013805460ff1916911515919091179055565b6109bc611be1565b6109c68282611c0e565b5050565b6109d2611cb0565b60135460ff16156109fe5760405162461bcd60e51b81526004016109f590612854565b60405180910390fd5b60135462010000900460ff16610a565760405162461bcd60e51b815260206004820152601a60248201527f50726573616c65204861736e277420737461727465642079657400000000000060448201526064016109f5565b333214610a755760405162461bcd60e51b81526004016109f59061287c565b610aea8282808060200260200160405190810160405280939291908181526020018383602002808284375f92019190915250506016546040516bffffffffffffffffffffffff193360601b16602082015290925060340190505b60405160208183030381529060405280519060200120611d09565b610b305760405162461bcd60e51b8152602060048201526017602482015276165bdd48185c99481b9bdd0815da1a5d195b1a5cdd1959604a1b60448201526064016109f5565b60125483610b3c610e07565b610b4691906128be565b1115610b945760405162461bcd60e51b815260206004820152601c60248201527f57686974656c697374204d6178537570706c792065786365656465640000000060448201526064016109f5565b5f60145460195f610ba23390565b6001600160a01b03166001600160a01b031681526020019081526020015f20541115610bcf575082610c19565b335f90815260196020526040812054601454610beb91906128d1565b90508015610c1357848110610c02575f9150610c17565b610c0c81866128d1565b9150610c17565b8491505b505b80601054610c2791906128e4565b341015610c465760405162461bcd60e51b81526004016109f5906128fb565b8360195f335b6001600160a01b03166001600160a01b031681526020019081526020015f205f828254610c7991906128be565b90915550610c8990503385611d1e565b50610c946001600a55565b505050565b606060028054610ca890612927565b80601f0160208091040260200160405190810160405280929190818152602001828054610cd490612927565b8015610d1f5780601f10610cf657610100808354040283529160200191610d1f565b820191905f5260205f20905b815481529060010190602001808311610d0257829003601f168201915b5050505050905090565b5f610d3382611d37565b610d4757610d476333d1c03960e21b611d81565b505f908152600660205260409020546001600160a01b031690565b600e8054610d6f90612927565b80601f0160208091040260200160405190810160405280929190818152602001828054610d9b90612927565b8015610de65780601f10610dbd57610100808354040283529160200191610de6565b820191905f5260205f20905b815481529060010190602001808311610dc957829003601f168201915b505050505081565b6109c682826001611d89565b610e02611be1565b601255565b6001545f54035f190190565b5f610e1d82611e2a565b6001600160a01b039485169490915081168414610e4357610e4362a1148160e81b611d81565b5f8281526006602052604090208054610e6e8187335b6001600160a01b039081169116811491141790565b610e9057610e7c8633611ae5565b610e9057610e90632ce44b5f60e11b611d81565b8015610e9a575f82555b6001600160a01b038681165f9081526005602052604080822080545f19019055918716808252919020805460010190554260a01b17600160e11b175f85815260046020526040812091909155600160e11b84169003610f2657600184015f818152600460205260408120549003610f24575f548114610f24575f8181526004602052604090208490555b505b6001600160a01b0385168481887fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a4805f03610f6e57610f6e633a954ecd60e21b611d81565b50505050505050565b5f828152600c602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b0316928201929092528291610feb575060408051808201909152600b546001600160a01b0381168252600160a01b90046001600160601b031660208201525b60208101515f9061271090611009906001600160601b0316876128e4565b611013919061295f565b91519350909150505b9250929050565b61102b611be1565b611033611cb0565b6040514790339082156108fc029083905f818181858888f1935050505015801561105f573d5f803e3d5ffd5b505061106b6001600a55565b565b610c9483838360405180602001604052805f8152506117eb565b61108f611be1565b600d6109c682826129cb565b5f61099382611e2a565b600d8054610d6f90612927565b5f6001600160a01b0382166110d1576110d16323d3ad8160e21b611d81565b506001600160a01b03165f9081526005602052604090205467ffffffffffffffff1690565b6110fe611be1565b61106b5f611ec3565b61110f611be1565b61106b5f600b55565b60605f805f611126856110b2565b90505f8167ffffffffffffffff811115611142576111426125c0565b60405190808252806020026020018201604052801561116b578160200160208202803683370190505b509050611197604080516080810182525f80825260208201819052918101829052606081019190915290565b60015b838614611211576111aa81611f14565b915081604001516112095781516001600160a01b0316156111ca57815194505b876001600160a01b0316856001600160a01b03160361120957808387806001019850815181106111fc576111fc612a87565b6020026020010181815250505b60010161119a565b50909695505050505050565b611225611be1565b600f92909255601055601155565b61123b611be1565b601380549115156101000261ff0019909216919091179055565b606060038054610ca890612927565b61126c611be1565b601691909155601755565b61127f611be1565b601491909155601555565b611292611cb0565b60135460ff16156112b55760405162461bcd60e51b81526004016109f590612854565b3332146112d45760405162461bcd60e51b81526004016109f59061287c565b6013546301000000900460ff1661132d5760405162461bcd60e51b815260206004820152601e60248201527f5075626c69632053616c65204861736e2774207374617274656420796574000060448201526064016109f5565b60125481611339610e07565b61134391906128be565b111561137b5760405162461bcd60e51b815260206004820152600760248201526614dbdb191bdd5d60ca1b60448201526064016109f5565b80600f5461138991906128e4565b3410156113a85760405162461bcd60e51b81526004016109f5906128fb565b335f90815260186020526040812080548392906113c69084906128be565b909155506113d690503382611d1e565b6113e06001600a55565b50565b335f8181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b611456611cb0565b60135460ff16156114795760405162461bcd60e51b81526004016109f590612854565b601354640100000000900460ff166114d35760405162461bcd60e51b815260206004820152601960248201527f4f4773616c65204861736e27742073746172746564207965740000000000000060448201526064016109f5565b3332146114f25760405162461bcd60e51b81526004016109f59061287c565b6115508282808060200260200160405190810160405280939291908181526020018383602002808284375f92019190915250506017546040516bffffffffffffffffffffffff193360601b1660208201529092506034019050610acf565b6115965760405162461bcd60e51b8152602060048201526017602482015276165bdd48185c99481b9bdd0815da1a5d195b1a5cdd1959604a1b60448201526064016109f5565b601254836115a2610e07565b6115ac91906128be565b11156115fa5760405162461bcd60e51b815260206004820152601c60248201527f57686974656c697374204d6178537570706c792065786365656465640000000060448201526064016109f5565b5f601554601a5f6116083390565b6001600160a01b03166001600160a01b031681526020019081526020015f2054111561163557508261167f565b335f908152601a602052604081205460155461165191906128d1565b9050801561167957848110611668575f915061167d565b61167281866128d1565b915061167d565b8491505b505b8060115461168d91906128e4565b3410156116ac5760405162461bcd60e51b81526004016109f5906128fb565b83601a5f33610c4c565b6116be611cb0565b5f5b818110156117e0576116e98383838181106116dd576116dd612a87565b90506020020135611d37565b6117355760405162461bcd60e51b815260206004820152601d60248201527f4275726e696e6720666f72206e6f6e6578697374656e7420746f6b656e00000060448201526064016109f5565b3361175784848481811061174b5761174b612a87565b9050602002013561109b565b6001600160a01b0316146117ad5760405162461bcd60e51b815260206004820152601d60248201527f596f7520617265206e6f74206f776e6572206f662074686973204e465400000060448201526064016109f5565b6117ce8383838181106117c2576117c2612a87565b90506020020135611f91565b806117d881612a9b565b9150506116c0565b506109c66001600a55565b6117f6848484610e13565b6001600160a01b0383163b156118265761181284848484611f9b565b611826576118266368d2bf6b60e11b611d81565b50505050565b611834611be1565b61183c611cb0565b5f61184782856128e4565b905060125481611855610e07565b61185f91906128be565b11156118a65760405162461bcd60e51b81526020600482015260166024820152751b585e08139195081b1a5b5a5d08195e18d95959195960521b60448201526064016109f5565b5f5b828110156118f2576118e08484838181106118c5576118c5612a87565b90506020020160208101906118da919061268c565b86611d1e565b806118ea81612a9b565b9150506118a8565b5050610c946001600a55565b606061190982611d37565b61196e5760405162461bcd60e51b815260206004820152603060248201527f455243373231414d657461646174613a2055524920717565727920666f72206e60448201526f37b732bc34b9ba32b73a103a37b5b2b760811b60648201526084016109f5565b601354610100900460ff1615155f03611a1157600e805461198e90612927565b80601f01602080910402602001604051908101604052809291908181526020018280546119ba90612927565b8015611a055780601f106119dc57610100808354040283529160200191611a05565b820191905f5260205f20905b8154815290600101906020018083116119e857829003601f168201915b50505050509050919050565b5f611a1a61207a565b90505f815111611a385760405180602001604052805f815250611a63565b80611a4284612089565b604051602001611a53929190612ab3565b6040516020818303038152906040525b9392505050565b6001600160a01b0381165f908152600560205260408082205467ffffffffffffffff911c16610993565b611a9c611be1565b60138054921515620100000262ff00001994151563010000000263ff00000019931515640100000000029390931664ffff00000019909416939093179190911792909216179055565b6001600160a01b039182165f90815260076020908152604080832093909416825291909152205460ff1690565b611b1a611be1565b600e6109c682826129cb565b611b2e611be1565b6001600160a01b038116611b5757604051631e4fbdf760e01b81525f60048201526024016109f5565b6113e081611ec3565b5f6301ffc9a760e01b6001600160e01b031983161480611b9057506380ac58cd60e01b6001600160e01b03198316145b806109935750506001600160e01b031916635b5e139f60e01b1490565b5f6001600160e01b0319821663152a902d60e11b148061099357506301ffc9a760e01b6001600160e01b0319831614610993565b6009546001600160a01b0316331461106b5760405163118cdaa760e01b81523360048201526024016109f5565b6127106001600160601b038216811015611c4d57604051636f483d0960e01b81526001600160601b0383166004820152602481018290526044016109f5565b6001600160a01b038316611c7657604051635b6cc80560e11b81525f60048201526024016109f5565b50604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600b55565b6002600a5403611d025760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016109f5565b6002600a55565b5f82611d1585846120cc565b14949350505050565b6109c6828260405180602001604052805f815250612118565b5f81600111611d7c575f54821015611d7c575f5b505f8281526004602052604081205490819003611d7257611d6b83612af1565b9250611d4b565b600160e01b161590505b919050565b805f5260045ffd5b5f611d938361109b565b9050818015611dab5750336001600160a01b03821614155b15611dce57611dba8133611ae5565b611dce57611dce6367d9dca160e11b611d81565b5f8381526006602052604080822080546001600160a01b0319166001600160a01b0388811691821790925591518693918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a450505050565b5f81600111611eb357505f81815260046020526040902054805f03611ea1575f548210611e6157611e61636f96cda160e11b611d81565b5b505f19015f818152600460205260409020548015611e6257600160e01b81165f03611e8c57919050565b611e9c636f96cda160e11b611d81565b611e62565b600160e01b81165f03611eb357919050565b611d7c636f96cda160e11b611d81565b600980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b604080516080810182525f8082526020820181905291810182905260608101919091525f8281526004602052604090205461099390604080516080810182526001600160a01b038316815260a083901c67ffffffffffffffff166020820152600160e01b831615159181019190915260e89190911c606082015290565b6113e0815f612178565b604051630a85bd0160e11b81525f906001600160a01b0385169063150b7a0290611fcf903390899088908890600401612b06565b6020604051808303815f875af1925050508015612009575060408051601f3d908101601f1916820190925261200691810190612b42565b60015b61205c573d808015612036576040519150601f19603f3d011682016040523d82523d5f602084013e61203b565b606091505b5080515f03612054576120546368d2bf6b60e11b611d81565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600d8054610ca890612927565b606060a06040510180604052602081039150505f815280825b600183039250600a81066030018353600a9004806120a25750819003601f19909101908152919050565b5f81815b8451811015612110576120fc828683815181106120ef576120ef612a87565b60200260200101516122af565b91508061210881612a9b565b9150506120d0565b509392505050565b61212283836122d8565b6001600160a01b0383163b15610c94575f548281035b61214a5f868380600101945086611f9b565b61215e5761215e6368d2bf6b60e11b611d81565b81811061213857815f5414612171575f80fd5b5050505050565b5f61218283611e2a565b9050805f8061219e865f90815260066020526040902080549091565b9150915084156121d5576121b3818433610e59565b6121d5576121c18333611ae5565b6121d5576121d5632ce44b5f60e11b611d81565b80156121df575f82555b6001600160a01b0383165f81815260056020526040902080546fffffffffffffffffffffffffffffffff0190554260a01b17600360e01b175f87815260046020526040812091909155600160e11b8516900361226857600186015f818152600460205260408120549003612266575f548114612266575f8181526004602052604090208590555b505b60405186905f906001600160a01b038616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050600180548101905550505050565b5f8183106122c9575f828152602084905260409020611a63565b505f9182526020526040902090565b5f8054908290036122f3576122f363b562e8dd60e01b611d81565b5f8181526004602090815260408083206001600160a01b0387164260a01b6001881460e11b1781179091558084526005909252822080546801000000000000000186020190559081900361235057612350622e076360e81b611d81565b818301825b80835f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a481816001019150810361235557505f5550505050565b6001600160e01b0319811681146113e0575f80fd5b5f602082840312156123b7575f80fd5b8135611a6381612392565b80358015158114611d7c575f80fd5b5f602082840312156123e1575f80fd5b611a63826123c2565b80356001600160a01b0381168114611d7c575f80fd5b5f8060408385031215612411575f80fd5b61241a836123ea565b915060208301356001600160601b0381168114612435575f80fd5b809150509250929050565b5f8083601f840112612450575f80fd5b50813567ffffffffffffffff811115612467575f80fd5b6020830191508360208260051b850101111561101c575f80fd5b5f805f60408486031215612493575f80fd5b83359250602084013567ffffffffffffffff8111156124b0575f80fd5b6124bc86828701612440565b9497909650939450505050565b5f5b838110156124e35781810151838201526020016124cb565b50505f910152565b5f81518084526125028160208601602086016124c9565b601f01601f19169290920160200192915050565b602081525f611a6360208301846124eb565b5f60208284031215612538575f80fd5b5035919050565b5f8060408385031215612550575f80fd5b612559836123ea565b946020939093013593505050565b5f805f60608486031215612579575f80fd5b612582846123ea565b9250612590602085016123ea565b9150604084013590509250925092565b5f80604083850312156125b1575f80fd5b50508035926020909101359150565b634e487b7160e01b5f52604160045260245ffd5b5f67ffffffffffffffff808411156125ee576125ee6125c0565b604051601f8501601f19908116603f01168101908282118183101715612616576126166125c0565b8160405280935085815286868601111561262e575f80fd5b858560208301375f602087830101525050509392505050565b5f60208284031215612657575f80fd5b813567ffffffffffffffff81111561266d575f80fd5b8201601f8101841361267d575f80fd5b612072848235602084016125d4565b5f6020828403121561269c575f80fd5b611a63826123ea565b602080825282518282018190525f9190848201906040850190845b81811015611211578351835292840192918401916001016126c0565b5f805f606084860312156126ee575f80fd5b505081359360208301359350604090920135919050565b5f8060408385031215612716575f80fd5b61271f836123ea565b915061272d602084016123c2565b90509250929050565b5f8060208385031215612747575f80fd5b823567ffffffffffffffff81111561275d575f80fd5b61276985828601612440565b90969095509350505050565b5f805f8060808587031215612788575f80fd5b612791856123ea565b935061279f602086016123ea565b925060408501359150606085013567ffffffffffffffff8111156127c1575f80fd5b8501601f810187136127d1575f80fd5b6127e0878235602084016125d4565b91505092959194509250565b5f805f606084860312156127fe575f80fd5b612807846123c2565b9250612815602085016123c2565b9150612823604085016123c2565b90509250925092565b5f806040838503121561283d575f80fd5b612846836123ea565b915061272d602084016123ea565b6020808252600e908201526d14d85b19481a5cc81c185d5cd95960921b604082015260600190565b6020808252601490820152731093d514c8105c99481b9bdd08105b1b1bddd95960621b604082015260600190565b634e487b7160e01b5f52601160045260245ffd5b80820180821115610993576109936128aa565b81810381811115610993576109936128aa565b8082028115828204841417610993576109936128aa565b602080825260129082015271696e73756666696369656e742066756e647360701b604082015260600190565b600181811c9082168061293b57607f821691505b60208210810361295957634e487b7160e01b5f52602260045260245ffd5b50919050565b5f8261297957634e487b7160e01b5f52601260045260245ffd5b500490565b601f821115610c94575f81815260208120601f850160051c810160208610156129a45750805b601f850160051c820191505b818110156129c3578281556001016129b0565b505050505050565b815167ffffffffffffffff8111156129e5576129e56125c0565b6129f9816129f38454612927565b8461297e565b602080601f831160018114612a2c575f8415612a155750858301515b5f19600386901b1c1916600185901b1785556129c3565b5f85815260208120601f198616915b82811015612a5a57888601518255948401946001909101908401612a3b565b5085821015612a7757878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b5f52603260045260245ffd5b5f60018201612aac57612aac6128aa565b5060010190565b5f8351612ac48184602088016124c9565b835190830190612ad88183602088016124c9565b64173539b7b760d91b9101908152600501949350505050565b5f81612aff57612aff6128aa565b505f190190565b6001600160a01b03858116825284166020820152604081018390526080606082018190525f90612b38908301846124eb565b9695505050505050565b5f60208284031215612b52575f80fd5b8151611a638161239256fea264697066735822122007ebe31c967f8d63bcdf6958fdc1a2b4d938d67aa020d159e8204184c10d631f64736f6c63430008150033
Deployed Bytecode Sourcemap
86285:10172:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;95849:291;;;;;;;;;;-1:-1:-1;95849:291:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;95849:291:0;;;;;;;;95250:79;;;;;;;;;;-1:-1:-1;95250:79:0;;;;;:::i;:::-;;:::i;:::-;;96190:170;;;;;;;;;;-1:-1:-1;96190:170:0;;;;;:::i;:::-;;:::i;88005:1443::-;;;;;;:::i;:::-;;:::i;86867:27::-;;;;;;;;;;;;;;;;;;;2519:25:1;;;2507:2;2492:18;86867:27:0;2373:177:1;46907:100:0;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;54147:227::-;;;;;;;;;;-1:-1:-1;54147:227:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;3660:32:1;;;3642:51;;3630:2;3615:18;54147:227:0;3496:203:1;86442:28:0;;;;;;;;;;;;;:::i;53864:124::-;;;;;;:::i;:::-;;:::i;86477:32::-;;;;;;;;;;;;;;;;94759:100;;;;;;;;;;-1:-1:-1;94759:100:0;;;;;:::i;:::-;;:::i;42109:573::-;;;;;;;;;;;;;:::i;58419:3523::-;;;;;;:::i;:::-;;:::i;5112:429::-;;;;;;;;;;-1:-1:-1;5112:429:0;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;4923:32:1;;;4905:51;;4987:2;4972:18;;4965:34;;;;4878:18;5112:429:0;4731:274:1;86735:29:0;;;;;;;;;;-1:-1:-1;86735:29:0;;;;;;;;;;;95642:173;;;:::i;62038:193::-;;;;;;:::i;:::-;;:::i;86668:27::-;;;;;;;;;;-1:-1:-1;86668:27:0;;;;;;;;;;;94898:104;;;;;;;;;;-1:-1:-1;94898:104:0;;;;;:::i;:::-;;:::i;86702:26::-;;;;;;;;;;-1:-1:-1;86702:26:0;;;;;;;;;;;86636:25;;;;;;;;;;-1:-1:-1;86636:25:0;;;;;;;;86901:27;;;;;;;;;;;;;;;;48309:152;;;;;;;;;;-1:-1:-1;48309:152:0;;;;;:::i;:::-;;:::i;86355:80::-;;;;;;;;;;;;;:::i;86516:34::-;;;;;;;;;;;;;;;;43833:242;;;;;;;;;;-1:-1:-1;43833:242:0;;;;;:::i;:::-;;:::i;24581:103::-;;;;;;;;;;;;;:::i;96368:86::-;;;;;;;;;;;;;:::i;92862:979::-;;;;;;;;;;-1:-1:-1;92862:979:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;86771:25::-;;;;;;;;;;-1:-1:-1;86771:25:0;;;;;;;;;;;86993:56;;;;;;;;;;-1:-1:-1;86993:56:0;;;;;:::i;:::-;;;;;;;;;;;;;;94487:215;;;;;;;;;;-1:-1:-1;94487:215:0;;;;;:::i;:::-;;:::i;23906:87::-;;;;;;;;;;-1:-1:-1;23979:6:0;;-1:-1:-1;;;;;23979:6:0;23906:87;;93901:82;;;;;;;;;;-1:-1:-1;93901:82:0;;;;;:::i;:::-;;:::i;47083:104::-;;;;;;;;;;;;;:::i;94029:174::-;;;;;;;;;;-1:-1:-1;94029:174:0;;;;;:::i;:::-;;:::i;94252:166::-;;;;;;;;;;-1:-1:-1;94252:166:0;;;;;:::i;:::-;;:::i;87454:494::-;;;;;;:::i;:::-;;:::i;54714:234::-;;;;;;;;;;-1:-1:-1;54714:234:0;;;;;:::i;:::-;;:::i;86803:25::-;;;;;;;;;;;;;;;;89505:1392;;;;;;:::i;:::-;;:::i;91441:399::-;;;;;;;;;;-1:-1:-1;91441:399:0;;;;;:::i;:::-;;:::i;62829:416::-;;;;;;:::i;:::-;;:::i;86557:34::-;;;;;;;;;;;;;;;;90953:446;;;;;;;;;;-1:-1:-1;90953:446:0;;;;;:::i;:::-;;:::i;91898:718::-;;;;;;;;;;-1:-1:-1;91898:718:0;;;;;:::i;:::-;;:::i;86835:25::-;;;;;;;;;;;;;;;;86598:31;;;;;;;;;;;;;;;;92686:113;;;;;;;;;;-1:-1:-1;92686:113:0;;;;;:::i;:::-;;:::i;95394:197::-;;;;;;;;;;-1:-1:-1;95394:197:0;;;;;:::i;:::-;;:::i;55105:164::-;;;;;;;;;;-1:-1:-1;55105:164:0;;;;;:::i;:::-;;:::i;95039:126::-;;;;;;;;;;-1:-1:-1;95039:126:0;;;;;:::i;:::-;;:::i;24839:220::-;;;;;;;;;;-1:-1:-1;24839:220:0;;;;;:::i;:::-;;:::i;87056:47::-;;;;;;;;;;-1:-1:-1;87056:47:0;;;;;:::i;:::-;;;;;;;;;;;;;;86935:51;;;;;;;;;;-1:-1:-1;86935:51:0;;;;;:::i;:::-;;;;;;;;;;;;;;95849:291;95997:4;96039:38;96065:11;96039:25;:38::i;:::-;:93;;;;96094:38;96120:11;96094:25;:38::i;:::-;96019:113;95849:291;-1:-1:-1;;95849:291:0:o;95250:79::-;23792:13;:11;:13::i;:::-;95306:6:::1;:15:::0;;-1:-1:-1;;95306:15:0::1;::::0;::::1;;::::0;;;::::1;::::0;;95250:79::o;96190:170::-;23792:13;:11;:13::i;:::-;96308:44:::1;96327:9;96338:13;96308:18;:44::i;:::-;96190:170:::0;;:::o;88005:1443::-;20325:21;:19;:21::i;:::-;88154:6:::1;::::0;::::1;;88153:7;88145:34;;;;-1:-1:-1::0;;;88145:34:0::1;;;;;;;:::i;:::-;;;;;;;;;88198:7;::::0;;;::::1;;;88190:46;;;::::0;-1:-1:-1;;;88190:46:0;;10651:2:1;88190:46:0::1;::::0;::::1;10633:21:1::0;10690:2;10670:18;;;10663:30;10729:28;10709:18;;;10702:56;10775:18;;88190:46:0::1;10449:350:1::0;88190:46:0::1;84104:10:::0;88278:9:::1;88255:32;88247:65;;;;-1:-1:-1::0;;;88247:65:0::1;;;;;;;:::i;:::-;88345:152;88382:11;;88345:152;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;;88412:12:0::1;::::0;88453:28:::1;::::0;-1:-1:-1;;88470:10:0::1;11302:2:1::0;11298:15;11294:53;88453:28:0::1;::::0;::::1;11282:66:1::0;88412:12:0;;-1:-1:-1;11364:12:1;;;-1:-1:-1;88453:28:0::1;;;;;;;;;;;;;88443:39;;;;;;88345:18;:152::i;:::-;88323:225;;;::::0;-1:-1:-1;;;88323:225:0;;11589:2:1;88323:225:0::1;::::0;::::1;11571:21:1::0;11628:2;11608:18;;;11601:30;-1:-1:-1;;;11647:18:1;;;11640:53;11710:18;;88323:225:0::1;11387:347:1::0;88323:225:0::1;88607:9;;88597:6;88581:13;:11;:13::i;:::-;:22;;;;:::i;:::-;:35;;88559:113;;;::::0;-1:-1:-1;;;88559:113:0;;12203:2:1;88559:113:0::1;::::0;::::1;12185:21:1::0;12242:2;12222:18;;;12215:30;12281;12261:18;;;12254:58;12329:18;;88559:113:0::1;12001:352:1::0;88559:113:0::1;88683:18;88765:6;;88720:21;:42;88742:19;84104:10:::0;;84017:105;88742:19:::1;-1:-1:-1::0;;;;;88720:42:0::1;-1:-1:-1::0;;;;;88720:42:0::1;;;;;;;;;;;;;:51;88716:535;;;-1:-1:-1::0;88801:6:0;88716:535:::1;;;84104:10:::0;88840:22:::1;88891:42:::0;;;:21:::1;:42;::::0;;;;;88865:6:::1;::::0;:68:::1;::::0;88891:42;88865:68:::1;:::i;:::-;88840:93:::0;-1:-1:-1;88954:18:0;;88950:290:::1;;89015:6;88997:14;:24;88993:172;;89059:1;89046:14;;88950:290;;88993:172;89122:23;89131:14:::0;89122:6;:23:::1;:::i;:::-;89109:36;;88950:290;;;89218:6;89205:19;;88950:290;88825:426;88716:535;89293:10;89284:6;;:19;;;;:::i;:::-;89271:9;:32;;89263:63;;;;-1:-1:-1::0;;;89263:63:0::1;;;;;;;:::i;:::-;89385:6:::0;89339:21:::1;:42;84104:10:::0;89361:19:::1;-1:-1:-1::0;;;;;89339:42:0::1;-1:-1:-1::0;;;;;89339:42:0::1;;;;;;;;;;;;;:52;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;89402:38:0::1;::::0;-1:-1:-1;84104:10:0;89433:6:::1;89402:9;:38::i;:::-;88134:1314;20369:20:::0;19763:1;20889:7;:22;20706:213;20369:20;88005:1443;;;:::o;46907:100::-;46961:13;46994:5;46987:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46907:100;:::o;54147:227::-;54223:7;54248:16;54256:7;54248;:16::i;:::-;54243:73;;54266:50;-1:-1:-1;;;54266:7:0;:50::i;:::-;-1:-1:-1;54336:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;54336:30:0;;54147:227::o;86442:28::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;53864:124::-;53953:27;53962:2;53966:7;53975:4;53953:8;:27::i;94759:100::-;23792:13;:11;:13::i;:::-;94829:9:::1;:22:::0;94759:100::o;42109:573::-;87411:1;42553:12;42170:14;42537:13;:28;-1:-1:-1;;42537:46:0;;42109:573::o;58419:3523::-;58561:27;58591;58610:7;58591:18;:27::i;:::-;-1:-1:-1;;;;;58746:22:0;;;;58561:57;;-1:-1:-1;58806:45:0;;;;58802:95;;58853:44;-1:-1:-1;;;58853:7:0;:44::i;:::-;58911:27;57527:24;;;:15;:24;;;;;57755:26;;59102:68;57755:26;59144:4;84104:10;59150:19;-1:-1:-1;;;;;57001:32:0;;;56845:28;;57130:20;;57152:30;;57127:56;;56542:659;59102:68;59097:189;;59190:43;59207:4;84104:10;55105:164;:::i;59190:43::-;59185:101;;59235:51;-1:-1:-1;;;59235:7:0;:51::i;:::-;59435:15;59432:160;;;59575:1;59554:19;59547:30;59432:160;-1:-1:-1;;;;;59972:24:0;;;;;;;:18;:24;;;;;;59970:26;;-1:-1:-1;;59970:26:0;;;60041:22;;;;;;;;;60039:24;;-1:-1:-1;60039:24:0;;;52966:11;52941:23;52937:41;52924:63;-1:-1:-1;;;52924:63:0;60334:26;;;;:17;:26;;;;;:175;;;;-1:-1:-1;;;60629:47:0;;:52;;60625:627;;60734:1;60724:11;;60702:19;60857:30;;;:17;:30;;;;;;:35;;60853:384;;60995:13;;60980:11;:28;60976:242;;61142:30;;;;:17;:30;;;;;:52;;;60976:242;60683:569;60625:627;-1:-1:-1;;;;;61384:20:0;;61764:7;61384:20;61694:4;61636:25;61365:16;;61501:299;61825:8;61837:1;61825:13;61821:58;;61840:39;-1:-1:-1;;;61840:7:0;:39::i;:::-;58550:3392;;;;58419:3523;;;:::o;5112:429::-;5198:7;5256:26;;;:17;:26;;;;;;;;5227:55;;;;;;;;;-1:-1:-1;;;;;5227:55:0;;;;;-1:-1:-1;;;5227:55:0;;;-1:-1:-1;;;;;5227:55:0;;;;;;;;5198:7;;5295:92;;-1:-1:-1;5346:29:0;;;;;;;;;5356:19;5346:29;-1:-1:-1;;;;;5346:29:0;;;;-1:-1:-1;;;5346:29:0;;-1:-1:-1;;;;;5346:29:0;;;;;5295:92;5436:23;;;;5399:21;;5907:5;;5424:35;;-1:-1:-1;;;;;5424:35:0;:9;:35;:::i;:::-;5423:57;;;;:::i;:::-;5501:16;;;-1:-1:-1;5399:81:0;;-1:-1:-1;;5112:429:0;;;;;;:::o;95642:173::-;23792:13;:11;:13::i;:::-;20325:21:::1;:19;:21::i;:::-;95761:46:::2;::::0;95729:21:::2;::::0;84104:10;;95761:46;::::2;;;::::0;95729:21;;95761:46:::2;::::0;;;95729:21;84104:10;95761:46;::::2;;;;;;;;;;;;;::::0;::::2;;;;;;95700:115;20369:20:::1;19763:1:::0;20889:7;:22;20706:213;20369:20:::1;95642:173::o:0;62038:193::-;62184:39;62201:4;62207:2;62211:7;62184:39;;;;;;;;;;;;:16;:39::i;94898:104::-;23792:13;:11;:13::i;:::-;94973:7:::1;:21;94983:11:::0;94973:7;:21:::1;:::i;48309:152::-:0;48381:7;48424:27;48443:7;48424:18;:27::i;86355:80::-;;;;;;;:::i;43833:242::-;43905:7;-1:-1:-1;;;;;43929:19:0;;43925:69;;43950:44;-1:-1:-1;;;43950:7:0;:44::i;:::-;-1:-1:-1;;;;;;44012:25:0;;;;;:18;:25;;;;;;36593:13;44012:55;;43833:242::o;24581:103::-;23792:13;:11;:13::i;:::-;24646:30:::1;24673:1;24646:18;:30::i;96368:86::-:0;23792:13;:11;:13::i;:::-;96423:23:::1;6853:19:::0;;6846:26;6785:95;92862:979;92948:16;93007:19;93041:25;93081:22;93106:16;93116:5;93106:9;:16::i;:::-;93081:41;;93137:25;93179:14;93165:29;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;93165:29:0;;93137:57;;93209:31;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;93209:31:0;87411:1;93255:538;93339:14;93324:11;:29;93255:538;;93422:15;93435:1;93422:12;:15::i;:::-;93410:27;;93460:9;:16;;;93501:8;93456:73;93551:14;;-1:-1:-1;;;;;93551:28:0;;93547:111;;93624:14;;;-1:-1:-1;93547:111:0;93701:5;-1:-1:-1;;;;;93680:26:0;:17;-1:-1:-1;;;;;93680:26:0;;93676:102;;93757:1;93731:8;93740:13;;;;;;93731:23;;;;;;;;:::i;:::-;;;;;;:27;;;;;93676:102;93372:3;;93255:538;;;-1:-1:-1;93814:8:0;;92862:979;-1:-1:-1;;;;;;92862:979:0:o;94487:215::-;23792:13;:11;:13::i;:::-;94622:4:::1;:18:::0;;;;94651:6:::1;:16:::0;94678:6:::1;:16:::0;94487:215::o;93901:82::-;23792:13;:11;:13::i;:::-;93958:8:::1;:17:::0;;;::::1;;;;-1:-1:-1::0;;93958:17:0;;::::1;::::0;;;::::1;::::0;;93901:82::o;47083:104::-;47139:13;47172:7;47165:14;;;;;:::i;94029:174::-;23792:13;:11;:13::i;:::-;94140:12:::1;:22:::0;;;;94173:12:::1;:22:::0;94029:174::o;94252:166::-;23792:13;:11;:13::i;:::-;94365:6:::1;:17:::0;;;;94393:6:::1;:17:::0;94252:166::o;87454:494::-;20325:21;:19;:21::i;:::-;87532:6:::1;::::0;::::1;;87531:7;87523:34;;;;-1:-1:-1::0;;;87523:34:0::1;;;;;;;:::i;:::-;84104:10:::0;87599:9:::1;87576:32;87568:65;;;;-1:-1:-1::0;;;87568:65:0::1;;;;;;;:::i;:::-;87652:10;::::0;;;::::1;;;87644:53;;;::::0;-1:-1:-1;;;87644:53:0;;16156:2:1;87644:53:0::1;::::0;::::1;16138:21:1::0;16195:2;16175:18;;;16168:30;16234:32;16214:18;;;16207:60;16284:18;;87644:53:0::1;15954:354:1::0;87644:53:0::1;87742:9;;87732:6;87716:13;:11;:13::i;:::-;:22;;;;:::i;:::-;:35;;87708:55;;;::::0;-1:-1:-1;;;87708:55:0;;16515:2:1;87708:55:0::1;::::0;::::1;16497:21:1::0;16554:1;16534:18;;;16527:29;-1:-1:-1;;;16572:18:1;;;16565:37;16619:18;;87708:55:0::1;16313:330:1::0;87708:55:0::1;87802:6;87795:4;;:13;;;;:::i;:::-;87782:9;:26;;87774:57;;;;-1:-1:-1::0;;;87774:57:0::1;;;;;;;:::i;:::-;84104:10:::0;87844:37:::1;::::0;;;:16:::1;:37;::::0;;;;:47;;87885:6;;87844:37;:47:::1;::::0;87885:6;;87844:47:::1;:::i;:::-;::::0;;;-1:-1:-1;87902:38:0::1;::::0;-1:-1:-1;84104:10:0;87933:6:::1;87902:9;:38::i;:::-;20369:20:::0;19763:1;20889:7;:22;20706:213;20369:20;87454:494;:::o;54714:234::-;84104:10;54809:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;54809:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;54809:60:0;;;;;;;;;;54885:55;;540:41:1;;;54809:49:0;;84104:10;54885:55;;513:18:1;54885:55:0;;;;;;;54714:234;;:::o;89505:1392::-;20325:21;:19;:21::i;:::-;89649:6:::1;::::0;::::1;;89648:7;89640:34;;;;-1:-1:-1::0;;;89640:34:0::1;;;;;;;:::i;:::-;89693:6;::::0;;;::::1;;;89685:44;;;::::0;-1:-1:-1;;;89685:44:0;;16850:2:1;89685:44:0::1;::::0;::::1;16832:21:1::0;16889:2;16869:18;;;16862:30;16928:27;16908:18;;;16901:55;16973:18;;89685:44:0::1;16648:349:1::0;89685:44:0::1;84104:10:::0;89771:9:::1;89748:32;89740:65;;;;-1:-1:-1::0;;;89740:65:0::1;;;;;;;:::i;:::-;89838:152;89875:11;;89838:152;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;;89905:12:0::1;::::0;89946:28:::1;::::0;-1:-1:-1;;89963:10:0::1;11302:2:1::0;11298:15;11294:53;89946:28:0::1;::::0;::::1;11282:66:1::0;89905:12:0;;-1:-1:-1;11364:12:1;;;-1:-1:-1;89946:28:0::1;11153:229:1::0;89838:152:0::1;89816:225;;;::::0;-1:-1:-1;;;89816:225:0;;11589:2:1;89816:225:0::1;::::0;::::1;11571:21:1::0;11628:2;11608:18;;;11601:30;-1:-1:-1;;;11647:18:1;;;11640:53;11710:18;;89816:225:0::1;11387:347:1::0;89816:225:0::1;90100:9;;90090:6;90074:13;:11;:13::i;:::-;:22;;;;:::i;:::-;:35;;90052:113;;;::::0;-1:-1:-1;;;90052:113:0;;12203:2:1;90052:113:0::1;::::0;::::1;12185:21:1::0;12242:2;12222:18;;;12215:30;12281;12261:18;;;12254:58;12329:18;;90052:113:0::1;12001:352:1::0;90052:113:0::1;90176:18;90249:6;;90213:12;:33;90226:19;84104:10:::0;;84017:105;90226:19:::1;-1:-1:-1::0;;;;;90213:33:0::1;-1:-1:-1::0;;;;;90213:33:0::1;;;;;;;;;;;;;:42;90209:500;;;-1:-1:-1::0;90285:6:0;90209:500:::1;;;84104:10:::0;90324:22:::1;90358:33:::0;;;:12:::1;:33;::::0;;;;;90349:6:::1;::::0;:42:::1;::::0;90358:33;90349:42:::1;:::i;:::-;90324:67:::0;-1:-1:-1;90412:18:0;;90408:290:::1;;90473:6;90455:14;:24;90451:172;;90517:1;90504:14;;90408:290;;90451:172;90580:23;90589:14:::0;90580:6;:23:::1;:::i;:::-;90567:36;;90408:290;;;90676:6;90663:19;;90408:290;90309:400;90209:500;90751:10;90742:6;;:19;;;;:::i;:::-;90729:9;:32;;90721:63;;;;-1:-1:-1::0;;;90721:63:0::1;;;;;;;:::i;:::-;90834:6:::0;90797:12:::1;:33;84104:10:::0;90810:19:::1;84017:105:::0;91441:399;20325:21;:19;:21::i;:::-;91519:10:::1;91514:319;91535:19:::0;;::::1;91514:319;;;91585:20;91593:7;;91601:2;91593:11;;;;;;;:::i;:::-;;;;;;;91585:7;:20::i;:::-;91577:62;;;::::0;-1:-1:-1;;;91577:62:0;;17204:2:1;91577:62:0::1;::::0;::::1;17186:21:1::0;17243:2;17223:18;;;17216:30;17282:31;17262:18;;;17255:59;17331:18;;91577:62:0::1;17002:353:1::0;91577:62:0::1;84104:10:::0;91680:20:::1;91688:7:::0;;91696:2;91688:11;;::::1;;;;;:::i;:::-;;;;;;;91680:7;:20::i;:::-;-1:-1:-1::0;;;;;91680:43:0::1;;91654:134;;;::::0;-1:-1:-1;;;91654:134:0;;17562:2:1;91654:134:0::1;::::0;::::1;17544:21:1::0;17601:2;17581:18;;;17574:30;17640:31;17620:18;;;17613:59;17689:18;;91654:134:0::1;17360:353:1::0;91654:134:0::1;91803:18;91809:7;;91817:2;91809:11;;;;;;;:::i;:::-;;;;;;;91803:5;:18::i;:::-;91556:4:::0;::::1;::::0;::::1;:::i;:::-;;;;91514:319;;;;20369:20:::0;19763:1;20889:7;:22;20706:213;62829:416;63004:31;63017:4;63023:2;63027:7;63004:12;:31::i;:::-;-1:-1:-1;;;;;63050:14:0;;;:19;63046:192;;63089:56;63120:4;63126:2;63130:7;63139:5;63089:30;:56::i;:::-;63084:154;;63166:56;-1:-1:-1;;;63166:7:0;:56::i;:::-;62829:416;;;;:::o;90953:446::-;23792:13;:11;:13::i;:::-;20325:21:::1;:19;:21::i;:::-;91096:16:::2;91115:32;91129:11:::0;91115;:32:::2;:::i;:::-;91096:51;;91208:9;;91196:8;91180:13;:11;:13::i;:::-;:24;;;;:::i;:::-;:37;;91158:109;;;::::0;-1:-1:-1;;;91158:109:0;;18060:2:1;91158:109:0::2;::::0;::::2;18042:21:1::0;18099:2;18079:18;;;18072:30;-1:-1:-1;;;18118:18:1;;;18111:52;18180:18;;91158:109:0::2;17858:346:1::0;91158:109:0::2;91283:9;91278:114;91298:22:::0;;::::2;91278:114;;;91342:38;91352:11;;91364:1;91352:14;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;91368:11;91342:9;:38::i;:::-;91322:3:::0;::::2;::::0;::::2;:::i;:::-;;;;91278:114;;;;91085:314;20369:20:::1;19763:1:::0;20889:7;:22;20706:213;91898:718;92016:13;92069:16;92077:7;92069;:16::i;:::-;92047:114;;;;-1:-1:-1;;;92047:114:0;;18411:2:1;92047:114:0;;;18393:21:1;18450:2;18430:18;;;18423:30;18489:34;18469:18;;;18462:62;-1:-1:-1;;;18540:18:1;;;18533:46;18596:19;;92047:114:0;18209:412:1;92047:114:0;92178:8;;;;;;;:17;;92190:5;92178:17;92174:71;;92219:14;92212:21;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;91898:718;;;:::o;92174:71::-;92255:28;92286:10;:8;:10::i;:::-;92255:41;;92358:1;92333:14;92327:28;:32;:281;;;;;;;;;;;;;;;;;92451:14;92492:18;92502:7;92492:9;:18::i;:::-;92408:159;;;;;;;;;:::i;:::-;;;;;;;;;;;;;92327:281;92307:301;91898:718;-1:-1:-1;;;91898:718:0:o;92686:113::-;-1:-1:-1;;;;;44246:25:0;;92744:7;44246:25;;;:18;:25;;36731:2;44246:25;;;;36593:13;44246:50;;44245:82;92771:20;44157:178;95394:197;23792:13;:11;:13::i;:::-;95516:6:::1;:12:::0;;95570:13;::::1;;::::0;::::1;-1:-1:-1::0;;95539:20:0;::::1;;::::0;::::1;-1:-1:-1::0;;95516:12:0;::::1;;::::0;::::1;95539:20:::0;;;;-1:-1:-1;;95539:20:0;;;;;;;;;;::::1;95570:13:::0;;;::::1;;::::0;;95394:197::o;55105:164::-;-1:-1:-1;;;;;55226:25:0;;;55202:4;55226:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;55105:164::o;95039:126::-;23792:13;:11;:13::i;:::-;95125:14:::1;:32;95142:15:::0;95125:14;:32:::1;:::i;24839:220::-:0;23792:13;:11;:13::i;:::-;-1:-1:-1;;;;;24924:22:0;::::1;24920:93;;24970:31;::::0;-1:-1:-1;;;24970:31:0;;24998:1:::1;24970:31;::::0;::::1;3642:51:1::0;3615:18;;24970:31:0::1;3496:203:1::0;24920:93:0::1;25023:28;25042:8;25023:18;:28::i;46005:639::-:0;46090:4;-1:-1:-1;;;;;;;;;46414:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;46491:25:0;;;46414:102;:179;;;-1:-1:-1;;;;;;;;46568:25:0;-1:-1:-1;;;46568:25:0;;46005:639::o;4842:215::-;4944:4;-1:-1:-1;;;;;;4968:41:0;;-1:-1:-1;;;4968:41:0;;:81;;-1:-1:-1;;;;;;;;;;1849:40:0;;;5013:36;1749:148;24071:166;23979:6;;-1:-1:-1;;;;;23979:6:0;84104:10;24131:23;24127:103;;24178:40;;-1:-1:-1;;;24178:40:0;;84104:10;24178:40;;;3642:51:1;3615:18;;24178:40:0;3496:203:1;6191:518:0;5907:5;-1:-1:-1;;;;;6340:26:0;;;-1:-1:-1;6336:176:0;;;6445:55;;-1:-1:-1;;;6445:55:0;;-1:-1:-1;;;;;19485:39:1;;6445:55:0;;;19467:58:1;19541:18;;;19534:34;;;19440:18;;6445:55:0;19294:280:1;6336:176:0;-1:-1:-1;;;;;6526:22:0;;6522:110;;6572:48;;-1:-1:-1;;;6572:48:0;;6617:1;6572:48;;;3642:51:1;3615:18;;6572:48:0;3496:203:1;6522:110:0;-1:-1:-1;6666:35:0;;;;;;;;;-1:-1:-1;;;;;6666:35:0;;;;;;-1:-1:-1;;;;;6666:35:0;;;;;;;;;;-1:-1:-1;;;6644:57:0;;;;:19;:57;6191:518::o;20405:293::-;19807:1;20539:7;;:19;20531:63;;;;-1:-1:-1;;;20531:63:0;;19781:2:1;20531:63:0;;;19763:21:1;19820:2;19800:18;;;19793:30;19859:33;19839:18;;;19832:61;19910:18;;20531:63:0;19579:355:1;20531:63:0;19807:1;20672:7;:18;20405:293::o;9282:156::-;9373:4;9426;9397:25;9410:5;9417:4;9397:12;:25::i;:::-;:33;;9282:156;-1:-1:-1;;;;9282:156:0:o;72645:112::-;72722:27;72732:2;72736:8;72722:27;;;;;;;;;;;;:9;:27::i;55527:475::-;55592:11;55639:7;87411:1;55620:26;55616:379;;55784:13;;55774:7;:23;55770:214;;;55818:14;55851:60;-1:-1:-1;55868:26:0;;;;:17;:26;;;;;;;55858:42;;;55851:60;;55902:9;;;:::i;:::-;;;55851:60;;;-1:-1:-1;;;55939:24:0;:29;;-1:-1:-1;55770:214:0;55527:475;;;:::o;86036:165::-;86137:13;86131:4;86124:27;86178:4;86172;86165:18;77451:474;77580:13;77596:16;77604:7;77596;:16::i;:::-;77580:32;;77629:13;:45;;;;-1:-1:-1;84104:10:0;-1:-1:-1;;;;;77646:28:0;;;;77629:45;77625:201;;;77694:44;77711:5;84104:10;55105:164;:::i;77694:44::-;77689:137;;77759:51;-1:-1:-1;;;77759:7:0;:51::i;:::-;77838:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;77838:35:0;-1:-1:-1;;;;;77838:35:0;;;;;;;;;77889:28;;77838:24;;77889:28;;;;;;;77569:356;77451:474;;;:::o;49794:2213::-;49861:14;49911:7;87411:1;49892:26;49888:2054;;-1:-1:-1;49944:26:0;;;;:17;:26;;;;;;50271:6;50281:1;50271:11;50267:1292;;50318:13;;50307:7;:24;50303:77;;50333:47;-1:-1:-1;;;50333:7:0;:47::i;:::-;50937:607;-1:-1:-1;;;51033:9:0;51015:28;;;;:17;:28;;;;;;51089:25;;50937:607;51089:25;-1:-1:-1;;;51141:6:0;:24;51169:1;51141:29;51137:48;;49794:2213;;;:::o;51137:48::-;51477:47;-1:-1:-1;;;51477:7:0;:47::i;:::-;50937:607;;50267:1292;-1:-1:-1;;;51886:6:0;:24;51914:1;51886:29;51882:48;;49794:2213;;;:::o;51882:48::-;51952:47;-1:-1:-1;;;51952:7:0;:47::i;25219:191::-;25312:6;;;-1:-1:-1;;;;;25329:17:0;;;-1:-1:-1;;;;;;25329:17:0;;;;;;;25362:40;;25312:6;;;25329:17;25312:6;;25362:40;;25293:16;;25362:40;25282:128;25219:191;:::o;48912:161::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49040:24:0;;;;:17;:24;;;;;;49021:44;;-1:-1:-1;;;;;;;;;;;;;52216:41:0;;;;37252:3;52302:33;;;52268:68;;-1:-1:-1;;;52268:68:0;-1:-1:-1;;;52366:24:0;;:29;;-1:-1:-1;;;52347:48:0;;;;37773:3;52435:28;;;;-1:-1:-1;;;52406:58:0;-1:-1:-1;52106:366:0;78192:89;78252:21;78258:7;78267:5;78252;:21::i;65329:691::-;65513:88;;-1:-1:-1;;;65513:88:0;;65492:4;;-1:-1:-1;;;;;65513:45:0;;;;;:88;;84104:10;;65580:4;;65586:7;;65595:5;;65513:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;65513:88:0;;;;;;;;-1:-1:-1;;65513:88:0;;;;;;;;;;;;:::i;:::-;;;65509:504;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;65796:6;:13;65813:1;65796:18;65792:115;;65835:56;-1:-1:-1;;;65835:7:0;:56::i;:::-;65979:6;65973:13;65964:6;65960:2;65956:15;65949:38;65509:504;-1:-1:-1;;;;;;65672:64:0;-1:-1:-1;;;65672:64:0;;-1:-1:-1;65509:504:0;65329:691;;;;;;:::o;87203:108::-;87263:13;87296:7;87289:14;;;;;:::i;84224:1745::-;84289:17;84723:4;84716;84710:11;84706:22;84815:1;84809:4;84802:15;84890:4;84887:1;84883:12;84876:19;;;84972:1;84967:3;84960:14;85076:3;85315:5;85297:428;85363:1;85358:3;85354:11;85347:18;;85534:2;85528:4;85524:13;85520:2;85516:22;85511:3;85503:36;85628:2;85618:13;;85685:25;85297:428;85685:25;-1:-1:-1;85755:13:0;;;-1:-1:-1;;85870:14:0;;;85932:19;;;85870:14;84224:1745;-1:-1:-1;84224:1745:0:o;10001:296::-;10084:7;10127:4;10084:7;10142:118;10166:5;:12;10162:1;:16;10142:118;;;10215:33;10225:12;10239:5;10245:1;10239:8;;;;;;;;:::i;:::-;;;;;;;10215:9;:33::i;:::-;10200:48;-1:-1:-1;10180:3:0;;;;:::i;:::-;;;;10142:118;;;-1:-1:-1;10277:12:0;10001:296;-1:-1:-1;;;10001:296:0:o;71774:787::-;71905:19;71911:2;71915:8;71905:5;:19::i;:::-;-1:-1:-1;;;;;71966:14:0;;;:19;71962:581;;72006:11;72020:13;72068:14;;;72101:242;72132:62;72171:1;72175:2;72179:7;;;;;;72188:5;72132:30;:62::i;:::-;72127:176;;72223:56;-1:-1:-1;;;72223:7:0;:56::i;:::-;72338:3;72330:5;:11;72101:242;;72514:3;72497:13;;:20;72493:34;;72519:8;;;72493:34;71987:556;;71774:787;;;:::o;78510:3108::-;78590:27;78620;78639:7;78620:18;:27::i;:::-;78590:57;-1:-1:-1;78590:57:0;78660:12;;78782:35;78809:7;57416:27;57527:24;;;:15;:24;;;;;57755:26;;57527:24;;57314:485;78782:35;78725:92;;;;78834:13;78830:325;;;78955:68;78980:15;78997:4;84104:10;79003:19;84017:105;78955:68;78950:193;;79047:43;79064:4;84104:10;55105:164;:::i;79047:43::-;79042:101;;79092:51;-1:-1:-1;;;79092:7:0;:51::i;:::-;79311:15;79308:160;;;79451:1;79430:19;79423:30;79308:160;-1:-1:-1;;;;;80070:24:0;;;;;;:18;:24;;;;;:60;;80098:32;80070:60;;;52966:11;52941:23;52937:41;52924:63;-1:-1:-1;;;52924:63:0;80368:26;;;;:17;:26;;;;;:205;;;;-1:-1:-1;;;80693:47:0;;:52;;80689:627;;80798:1;80788:11;;80766:19;80921:30;;;:17;:30;;;;;;:35;;80917:384;;81059:13;;81044:11;:28;81040:242;;81206:30;;;;:17;:30;;;;;:52;;;81040:242;80747:569;80689:627;81344:35;;81371:7;;81367:1;;-1:-1:-1;;;;;81344:35:0;;;;;81367:1;;81344:35;-1:-1:-1;;81585:12:0;:14;;;;;;-1:-1:-1;;;;78510:3108:0:o;17431:149::-;17494:7;17525:1;17521;:5;:51;;17773:13;17867:15;;;17903:4;17896:15;;;17950:4;17934:21;;17521:51;;;-1:-1:-1;17773:13:0;17867:15;;;17903:4;17896:15;17950:4;17934:21;;;17431:149::o;66482:2399::-;66555:20;66578:13;;;66606;;;66602:53;;66621:34;-1:-1:-1;;;66621:7:0;:34::i;:::-;67168:31;;;;:17;:31;;;;;;;;-1:-1:-1;;;;;52792:28:0;;52966:11;52941:23;52937:41;53410:1;53397:15;;53371:24;53367:46;52934:52;52924:63;;67168:173;;;67559:22;;;:18;:22;;;;;:71;;67597:32;67585:45;;67559:71;;;52792:28;67820:13;;;67816:54;;67835:35;-1:-1:-1;;;67835:7:0;:35::i;:::-;67901:23;;;;68080:676;68499:7;68455:8;68410:1;68344:25;68281:1;68216;68185:358;68751:3;68738:9;;;;;;:16;68080:676;;-1:-1:-1;68772:13:0;:19;-1:-1:-1;88005:1443:0;;;:::o;14:131:1:-;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:160::-;657:20;;713:13;;706:21;696:32;;686:60;;742:1;739;732:12;757:180;813:6;866:2;854:9;845:7;841:23;837:32;834:52;;;882:1;879;872:12;834:52;905:26;921:9;905:26;:::i;942:173::-;1010:20;;-1:-1:-1;;;;;1059:31:1;;1049:42;;1039:70;;1105:1;1102;1095:12;1120:366;1187:6;1195;1248:2;1236:9;1227:7;1223:23;1219:32;1216:52;;;1264:1;1261;1254:12;1216:52;1287:29;1306:9;1287:29;:::i;:::-;1277:39;;1366:2;1355:9;1351:18;1338:32;-1:-1:-1;;;;;1403:5:1;1399:38;1392:5;1389:49;1379:77;;1452:1;1449;1442:12;1379:77;1475:5;1465:15;;;1120:366;;;;;:::o;1491:367::-;1554:8;1564:6;1618:3;1611:4;1603:6;1599:17;1595:27;1585:55;;1636:1;1633;1626:12;1585:55;-1:-1:-1;1659:20:1;;1702:18;1691:30;;1688:50;;;1734:1;1731;1724:12;1688:50;1771:4;1763:6;1759:17;1747:29;;1831:3;1824:4;1814:6;1811:1;1807:14;1799:6;1795:27;1791:38;1788:47;1785:67;;;1848:1;1845;1838:12;1863:505;1958:6;1966;1974;2027:2;2015:9;2006:7;2002:23;1998:32;1995:52;;;2043:1;2040;2033:12;1995:52;2079:9;2066:23;2056:33;;2140:2;2129:9;2125:18;2112:32;2167:18;2159:6;2156:30;2153:50;;;2199:1;2196;2189:12;2153:50;2238:70;2300:7;2291:6;2280:9;2276:22;2238:70;:::i;:::-;1863:505;;2327:8;;-1:-1:-1;2212:96:1;;-1:-1:-1;;;;1863:505:1:o;2555:250::-;2640:1;2650:113;2664:6;2661:1;2658:13;2650:113;;;2740:11;;;2734:18;2721:11;;;2714:39;2686:2;2679:10;2650:113;;;-1:-1:-1;;2797:1:1;2779:16;;2772:27;2555:250::o;2810:271::-;2852:3;2890:5;2884:12;2917:6;2912:3;2905:19;2933:76;3002:6;2995:4;2990:3;2986:14;2979:4;2972:5;2968:16;2933:76;:::i;:::-;3063:2;3042:15;-1:-1:-1;;3038:29:1;3029:39;;;;3070:4;3025:50;;2810:271;-1:-1:-1;;2810:271:1:o;3086:220::-;3235:2;3224:9;3217:21;3198:4;3255:45;3296:2;3285:9;3281:18;3273:6;3255:45;:::i;3311:180::-;3370:6;3423:2;3411:9;3402:7;3398:23;3394:32;3391:52;;;3439:1;3436;3429:12;3391:52;-1:-1:-1;3462:23:1;;3311:180;-1:-1:-1;3311:180:1:o;3704:254::-;3772:6;3780;3833:2;3821:9;3812:7;3808:23;3804:32;3801:52;;;3849:1;3846;3839:12;3801:52;3872:29;3891:9;3872:29;:::i;:::-;3862:39;3948:2;3933:18;;;;3920:32;;-1:-1:-1;;;3704:254:1:o;4145:328::-;4222:6;4230;4238;4291:2;4279:9;4270:7;4266:23;4262:32;4259:52;;;4307:1;4304;4297:12;4259:52;4330:29;4349:9;4330:29;:::i;:::-;4320:39;;4378:38;4412:2;4401:9;4397:18;4378:38;:::i;:::-;4368:48;;4463:2;4452:9;4448:18;4435:32;4425:42;;4145:328;;;;;:::o;4478:248::-;4546:6;4554;4607:2;4595:9;4586:7;4582:23;4578:32;4575:52;;;4623:1;4620;4613:12;4575:52;-1:-1:-1;;4646:23:1;;;4716:2;4701:18;;;4688:32;;-1:-1:-1;4478:248:1:o;5010:127::-;5071:10;5066:3;5062:20;5059:1;5052:31;5102:4;5099:1;5092:15;5126:4;5123:1;5116:15;5142:632;5207:5;5237:18;5278:2;5270:6;5267:14;5264:40;;;5284:18;;:::i;:::-;5359:2;5353:9;5327:2;5413:15;;-1:-1:-1;;5409:24:1;;;5435:2;5405:33;5401:42;5389:55;;;5459:18;;;5479:22;;;5456:46;5453:72;;;5505:18;;:::i;:::-;5545:10;5541:2;5534:22;5574:6;5565:15;;5604:6;5596;5589:22;5644:3;5635:6;5630:3;5626:16;5623:25;5620:45;;;5661:1;5658;5651:12;5620:45;5711:6;5706:3;5699:4;5691:6;5687:17;5674:44;5766:1;5759:4;5750:6;5742;5738:19;5734:30;5727:41;;;;5142:632;;;;;:::o;5779:451::-;5848:6;5901:2;5889:9;5880:7;5876:23;5872:32;5869:52;;;5917:1;5914;5907:12;5869:52;5957:9;5944:23;5990:18;5982:6;5979:30;5976:50;;;6022:1;6019;6012:12;5976:50;6045:22;;6098:4;6090:13;;6086:27;-1:-1:-1;6076:55:1;;6127:1;6124;6117:12;6076:55;6150:74;6216:7;6211:2;6198:16;6193:2;6189;6185:11;6150:74;:::i;6235:186::-;6294:6;6347:2;6335:9;6326:7;6322:23;6318:32;6315:52;;;6363:1;6360;6353:12;6315:52;6386:29;6405:9;6386:29;:::i;6426:632::-;6597:2;6649:21;;;6719:13;;6622:18;;;6741:22;;;6568:4;;6597:2;6820:15;;;;6794:2;6779:18;;;6568:4;6863:169;6877:6;6874:1;6871:13;6863:169;;;6938:13;;6926:26;;7007:15;;;;6972:12;;;;6899:1;6892:9;6863:169;;7063:316;7140:6;7148;7156;7209:2;7197:9;7188:7;7184:23;7180:32;7177:52;;;7225:1;7222;7215:12;7177:52;-1:-1:-1;;7248:23:1;;;7318:2;7303:18;;7290:32;;-1:-1:-1;7369:2:1;7354:18;;;7341:32;;7063:316;-1:-1:-1;7063:316:1:o;7637:254::-;7702:6;7710;7763:2;7751:9;7742:7;7738:23;7734:32;7731:52;;;7779:1;7776;7769:12;7731:52;7802:29;7821:9;7802:29;:::i;:::-;7792:39;;7850:35;7881:2;7870:9;7866:18;7850:35;:::i;:::-;7840:45;;7637:254;;;;;:::o;7896:437::-;7982:6;7990;8043:2;8031:9;8022:7;8018:23;8014:32;8011:52;;;8059:1;8056;8049:12;8011:52;8099:9;8086:23;8132:18;8124:6;8121:30;8118:50;;;8164:1;8161;8154:12;8118:50;8203:70;8265:7;8256:6;8245:9;8241:22;8203:70;:::i;:::-;8292:8;;8177:96;;-1:-1:-1;7896:437:1;-1:-1:-1;;;;7896:437:1:o;8338:667::-;8433:6;8441;8449;8457;8510:3;8498:9;8489:7;8485:23;8481:33;8478:53;;;8527:1;8524;8517:12;8478:53;8550:29;8569:9;8550:29;:::i;:::-;8540:39;;8598:38;8632:2;8621:9;8617:18;8598:38;:::i;:::-;8588:48;;8683:2;8672:9;8668:18;8655:32;8645:42;;8738:2;8727:9;8723:18;8710:32;8765:18;8757:6;8754:30;8751:50;;;8797:1;8794;8787:12;8751:50;8820:22;;8873:4;8865:13;;8861:27;-1:-1:-1;8851:55:1;;8902:1;8899;8892:12;8851:55;8925:74;8991:7;8986:2;8973:16;8968:2;8964;8960:11;8925:74;:::i;:::-;8915:84;;;8338:667;;;;;;;:::o;9520:316::-;9588:6;9596;9604;9657:2;9645:9;9636:7;9632:23;9628:32;9625:52;;;9673:1;9670;9663:12;9625:52;9696:26;9712:9;9696:26;:::i;:::-;9686:36;;9741:35;9772:2;9761:9;9757:18;9741:35;:::i;:::-;9731:45;;9795:35;9826:2;9815:9;9811:18;9795:35;:::i;:::-;9785:45;;9520:316;;;;;:::o;9841:260::-;9909:6;9917;9970:2;9958:9;9949:7;9945:23;9941:32;9938:52;;;9986:1;9983;9976:12;9938:52;10009:29;10028:9;10009:29;:::i;:::-;9999:39;;10057:38;10091:2;10080:9;10076:18;10057:38;:::i;10106:338::-;10308:2;10290:21;;;10347:2;10327:18;;;10320:30;-1:-1:-1;;;10381:2:1;10366:18;;10359:44;10435:2;10420:18;;10106:338::o;10804:344::-;11006:2;10988:21;;;11045:2;11025:18;;;11018:30;-1:-1:-1;;;11079:2:1;11064:18;;11057:50;11139:2;11124:18;;10804:344::o;11739:127::-;11800:10;11795:3;11791:20;11788:1;11781:31;11831:4;11828:1;11821:15;11855:4;11852:1;11845:15;11871:125;11936:9;;;11957:10;;;11954:36;;;11970:18;;:::i;12358:128::-;12425:9;;;12446:11;;;12443:37;;;12460:18;;:::i;12491:168::-;12564:9;;;12595;;12612:15;;;12606:22;;12592:37;12582:71;;12633:18;;:::i;12664:342::-;12866:2;12848:21;;;12905:2;12885:18;;;12878:30;-1:-1:-1;;;12939:2:1;12924:18;;12917:48;12997:2;12982:18;;12664:342::o;13011:380::-;13090:1;13086:12;;;;13133;;;13154:61;;13208:4;13200:6;13196:17;13186:27;;13154:61;13261:2;13253:6;13250:14;13230:18;13227:38;13224:161;;13307:10;13302:3;13298:20;13295:1;13288:31;13342:4;13339:1;13332:15;13370:4;13367:1;13360:15;13224:161;;13011:380;;;:::o;13396:217::-;13436:1;13462;13452:132;;13506:10;13501:3;13497:20;13494:1;13487:31;13541:4;13538:1;13531:15;13569:4;13566:1;13559:15;13452:132;-1:-1:-1;13598:9:1;;13396:217::o;13744:545::-;13846:2;13841:3;13838:11;13835:448;;;13882:1;13907:5;13903:2;13896:17;13952:4;13948:2;13938:19;14022:2;14010:10;14006:19;14003:1;13999:27;13993:4;13989:38;14058:4;14046:10;14043:20;14040:47;;;-1:-1:-1;14081:4:1;14040:47;14136:2;14131:3;14127:12;14124:1;14120:20;14114:4;14110:31;14100:41;;14191:82;14209:2;14202:5;14199:13;14191:82;;;14254:17;;;14235:1;14224:13;14191:82;;;14195:3;;;13744:545;;;:::o;14465:1352::-;14591:3;14585:10;14618:18;14610:6;14607:30;14604:56;;;14640:18;;:::i;:::-;14669:97;14759:6;14719:38;14751:4;14745:11;14719:38;:::i;:::-;14713:4;14669:97;:::i;:::-;14821:4;;14885:2;14874:14;;14902:1;14897:663;;;;15604:1;15621:6;15618:89;;;-1:-1:-1;15673:19:1;;;15667:26;15618:89;-1:-1:-1;;14422:1:1;14418:11;;;14414:24;14410:29;14400:40;14446:1;14442:11;;;14397:57;15720:81;;14867:944;;14897:663;13691:1;13684:14;;;13728:4;13715:18;;-1:-1:-1;;14933:20:1;;;15051:236;15065:7;15062:1;15059:14;15051:236;;;15154:19;;;15148:26;15133:42;;15246:27;;;;15214:1;15202:14;;;;15081:19;;15051:236;;;15055:3;15315:6;15306:7;15303:19;15300:201;;;15376:19;;;15370:26;-1:-1:-1;;15459:1:1;15455:14;;;15471:3;15451:24;15447:37;15443:42;15428:58;15413:74;;15300:201;-1:-1:-1;;;;;15547:1:1;15531:14;;;15527:22;15514:36;;-1:-1:-1;14465:1352:1:o;15822:127::-;15883:10;15878:3;15874:20;15871:1;15864:31;15914:4;15911:1;15904:15;15938:4;15935:1;15928:15;17718:135;17757:3;17778:17;;;17775:43;;17798:18;;:::i;:::-;-1:-1:-1;17845:1:1;17834:13;;17718:135::o;18626:663::-;18906:3;18944:6;18938:13;18960:66;19019:6;19014:3;19007:4;18999:6;18995:17;18960:66;:::i;:::-;19089:13;;19048:16;;;;19111:70;19089:13;19048:16;19158:4;19146:17;;19111:70;:::i;:::-;-1:-1:-1;;;19203:20:1;;19232:22;;;19281:1;19270:13;;18626:663;-1:-1:-1;;;;18626:663:1:o;19939:136::-;19978:3;20006:5;19996:39;;20015:18;;:::i;:::-;-1:-1:-1;;;20051:18:1;;19939:136::o;20080:489::-;-1:-1:-1;;;;;20349:15:1;;;20331:34;;20401:15;;20396:2;20381:18;;20374:43;20448:2;20433:18;;20426:34;;;20496:3;20491:2;20476:18;;20469:31;;;20274:4;;20517:46;;20543:19;;20535:6;20517:46;:::i;:::-;20509:54;20080:489;-1:-1:-1;;;;;;20080:489:1:o;20574:249::-;20643:6;20696:2;20684:9;20675:7;20671:23;20667:32;20664:52;;;20712:1;20709;20702:12;20664:52;20744:9;20738:16;20763:30;20787:5;20763:30;:::i
Swarm Source
ipfs://07ebe31c967f8d63bcdf6958fdc1a2b4d938d67aa020d159e8204184c10d631f
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.