ERC-721
Overview
Max Total Supply
542 NARK
Holders
171
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
5 NARKLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
NoahArk
Compiler Version
v0.8.15+commit.e14f2714
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-07-24 */ // SPDX-License-Identifier: MIT // File: @openzeppelin/contracts/utils/Address.sol /* ________ ________ ________ ___ ___ ________ ________ ________ ________ ___ ___ _______ ___ ___ ________ ________ ________ |\ ____\|\ __ \|\ __ \|\ \ |\ \|\ ___ \ |\ ____\|\ __ \|\ __ \|\ \ / /|\ ___ \ |\ \ / /|\ __ \|\ __ \|\ ___ \ \ \ \___|\ \ \|\ \ \ \|\ /\ \ \ \ \ \ \ \\ \ \ \ \ \___|\ \ \|\ \ \ \|\ \ \ \ / / | \ __/| \ \ \/ / | \ \|\ \ \ \|\ \ \ \_|\ \ \ \ \ __\ \ \\\ \ \ __ \ \ \ \ \ \ \ \\ \ \ \ \ \ __\ \ _ _\ \ __ \ \ \/ / / \ \ \_|/__ \ \ / / \ \ __ \ \ _ _\ \ \ \\ \ \ \ \|\ \ \ \\\ \ \ \|\ \ \ \____\ \ \ \ \\ \ \ \ \ \|\ \ \ \\ \\ \ \ \ \ \ / / \ \ \_|\ \ \/ / / \ \ \ \ \ \ \\ \\ \ \_\\ \ \ \_______\ \_______\ \_______\ \_______\ \__\ \__\\ \__\ \ \_______\ \__\\ _\\ \__\ \__\ \__/ / \ \_______\__/ / / \ \__\ \__\ \__\\ _\\ \_______\ \|_______|\|_______|\|_______|\|_______|\|__|\|__| \|__| \|_______|\|__|\|__|\|__|\|__|\|__|/ \|_______|\___/ / \|__|\|__|\|__|\|__|\|_______| \|___|/ */ // OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } // File: @openzeppelin/contracts/utils/introspection/IERC165.sol // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); } // File: @openzeppelin/contracts/utils/introspection/ERC165.sol // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } } // File: @openzeppelin/contracts/token/ERC721/IERC721.sol // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); } // File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); } // File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @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); } // File: @openzeppelin/contracts/utils/Strings.sol // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } } // File: @openzeppelin/contracts/utils/cryptography/ECDSA.sol // OpenZeppelin Contracts (last updated v4.5.0) (utils/cryptography/ECDSA.sol) pragma solidity ^0.8.0; /** * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations. * * These functions can be used to verify that a message was signed by the holder * of the private keys of a given address. */ library ECDSA { enum RecoverError { NoError, InvalidSignature, InvalidSignatureLength, InvalidSignatureS, InvalidSignatureV } function _throwError(RecoverError error) private pure { if (error == RecoverError.NoError) { return; // no error: do nothing } else if (error == RecoverError.InvalidSignature) { revert("ECDSA: invalid signature"); } else if (error == RecoverError.InvalidSignatureLength) { revert("ECDSA: invalid signature length"); } else if (error == RecoverError.InvalidSignatureS) { revert("ECDSA: invalid signature 's' value"); } else if (error == RecoverError.InvalidSignatureV) { revert("ECDSA: invalid signature 'v' value"); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature` or error string. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. * * Documentation for signature generation: * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js] * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers] * * _Available since v4.3._ */ function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) { // Check the signature length // - case 65: r,s,v signature (standard) // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._ if (signature.length == 65) { bytes32 r; bytes32 s; uint8 v; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) s := mload(add(signature, 0x40)) v := byte(0, mload(add(signature, 0x60))) } return tryRecover(hash, v, r, s); } else if (signature.length == 64) { bytes32 r; bytes32 vs; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) vs := mload(add(signature, 0x40)) } return tryRecover(hash, r, vs); } else { return (address(0), RecoverError.InvalidSignatureLength); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature`. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. */ function recover(bytes32 hash, bytes memory signature) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, signature); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately. * * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures] * * _Available since v4.3._ */ function tryRecover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address, RecoverError) { bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff); uint8 v = uint8((uint256(vs) >> 255) + 27); return tryRecover(hash, v, r, s); } /** * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately. * * _Available since v4.2._ */ function recover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, r, vs); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `v`, * `r` and `s` signature fields separately. * * _Available since v4.3._ */ function tryRecover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address, RecoverError) { // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most // signatures from current libraries generate a unique signature with an s-value in the lower half order. // // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept // these malleable signatures as well. if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) { return (address(0), RecoverError.InvalidSignatureS); } if (v != 27 && v != 28) { return (address(0), RecoverError.InvalidSignatureV); } // If the signature is valid (and not malleable), return the signer address address signer = ecrecover(hash, v, r, s); if (signer == address(0)) { return (address(0), RecoverError.InvalidSignature); } return (signer, RecoverError.NoError); } /** * @dev Overload of {ECDSA-recover} that receives the `v`, * `r` and `s` signature fields separately. */ function recover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, v, r, s); _throwError(error); return recovered; } /** * @dev Returns an Ethereum Signed Message, created from a `hash`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) { // 32 is the length in bytes of hash, // enforced by the type signature above return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash)); } /** * @dev Returns an Ethereum Signed Message, created from `s`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s)); } /** * @dev Returns an Ethereum Signed Typed Data, created from a * `domainSeparator` and a `structHash`. This produces hash corresponding * to the one signed with the * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`] * JSON-RPC method as part of EIP-712. * * See {recover}. */ function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash)); } } // File: @openzeppelin/contracts/utils/Context.sol // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File: contracts/ERC721A.sol // Creator: Chiru Labs pragma solidity ^0.8.4; error ApprovalCallerNotOwnerNorApproved(); error ApprovalQueryForNonexistentToken(); error ApproveToCaller(); error ApprovalToCurrentOwner(); error BalanceQueryForZeroAddress(); error MintToZeroAddress(); error MintZeroQuantity(); error OwnerQueryForNonexistentToken(); error TransferCallerNotOwnerNorApproved(); error TransferFromIncorrectOwner(); error TransferToNonERC721ReceiverImplementer(); error TransferToZeroAddress(); error URIQueryForNonexistentToken(); /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at _startTokenId() (defaults to 0, e.g. 0, 1, 2, 3..). * * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Compiler will pack this into a single 256bit word. struct TokenOwnership { // The address of the owner. address addr; // Keeps track of the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; } // Compiler will pack this into a single 256bit word. struct AddressData { // Realistically, 2**64-1 is more than enough. uint64 balance; // Keeps track of mint count with minimal overhead for tokenomics. uint64 numberMinted; // Keeps track of burn count with minimal overhead for tokenomics. uint64 numberBurned; // For miscellaneous variable(s) pertaining to the address // (e.g. number of whitelist mint slots used). // If there are multiple variables, please pack them into a uint64. uint64 aux; } // The tokenId of the next token to be minted. uint256 internal _currentIndex; // The number of tokens burned. uint256 internal _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 _ownershipOf implementation for details. mapping(uint256 => TokenOwnership) internal _ownerships; // Mapping owner address to address data mapping(address => AddressData) private _addressData; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } /** * To change the starting tokenId, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev See {IERC721Enumerable-totalSupply}. * @dev Burned tokens are calculated here, use _totalMinted() if you want to count just minted tokens. */ function totalSupply() public view returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than _currentIndex - _startTokenId() times unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view returns (uint256) { // Counter underflow is impossible as _currentIndex does not decrement, // and it is initialized to _startTokenId() unchecked { return _currentIndex - _startTokenId(); } } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return uint256(_addressData[owner].balance); } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return uint256(_addressData[owner].numberMinted); } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return uint256(_addressData[owner].numberBurned); } /** * Returns the auxillary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return _addressData[owner].aux; } /** * Sets the auxillary 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 { _addressData[owner].aux = aux; } /** * Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around in the collection over time. */ function _ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr && curr < _currentIndex) { TokenOwnership memory ownership = _ownerships[curr]; if (!ownership.burned) { if (ownership.addr != address(0)) { return ownership; } // Invariant: // There will always be an ownership that has an address and is not burned // before an ownership that does not have an address and is not burned. // Hence, curr will not underflow. while (true) { curr--; ownership = _ownerships[curr]; if (ownership.addr != address(0)) { return ownership; } } } } } revert OwnerQueryForNonexistentToken(); } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return _ownershipOf(tokenId).addr; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ''; } /** * @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, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public override { address owner = ERC721A.ownerOf(tokenId); if (to == owner) revert ApprovalToCurrentOwner(); if (_msgSender() != owner && !isApprovedForAll(owner, _msgSender())) { revert ApprovalCallerNotOwnerNorApproved(); } _approve(to, tokenId, owner); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { if (operator == _msgSender()) revert ApproveToCaller(); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { _transfer(from, to, tokenId); if (to.isContract() && !_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), */ function _exists(uint256 tokenId) internal view returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && !_ownerships[tokenId].burned; } function _safeMint(address to, uint256 quantity) internal { _safeMint(to, quantity, ''); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal { _mint(to, quantity, _data, true); } /** * @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. */ function _mint( address to, uint256 quantity, bytes memory _data, bool safe ) internal { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1 // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1 unchecked { _addressData[to].balance += uint64(quantity); _addressData[to].numberMinted += uint64(quantity); _ownerships[startTokenId].addr = to; _ownerships[startTokenId].startTimestamp = uint64(block.timestamp); uint256 updatedIndex = startTokenId; uint256 end = updatedIndex + quantity; if (safe && to.isContract()) { do { emit Transfer(address(0), to, updatedIndex); if (!_checkContractOnERC721Received(address(0), to, updatedIndex++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (updatedIndex != end); // Reentrancy protection if (_currentIndex != startTokenId) revert(); } else { do { emit Transfer(address(0), to, updatedIndex++); } while (updatedIndex != end); } _currentIndex = updatedIndex; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) private { TokenOwnership memory prevOwnership = _ownershipOf(tokenId); if (prevOwnership.addr != from) revert TransferFromIncorrectOwner(); bool isApprovedOrOwner = (_msgSender() == from || isApprovedForAll(from, _msgSender()) || getApproved(tokenId) == _msgSender()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, from); // 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 { _addressData[from].balance -= 1; _addressData[to].balance += 1; TokenOwnership storage currSlot = _ownerships[tokenId]; currSlot.addr = to; currSlot.startTimestamp = uint64(block.timestamp); // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; TokenOwnership storage nextSlot = _ownerships[nextTokenId]; if (nextSlot.addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId != _currentIndex) { nextSlot.addr = from; nextSlot.startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev This is 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 { TokenOwnership memory prevOwnership = _ownershipOf(tokenId); address from = prevOwnership.addr; if (approvalCheck) { bool isApprovedOrOwner = (_msgSender() == from || isApprovedForAll(from, _msgSender()) || getApproved(tokenId) == _msgSender()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, from); // 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 { AddressData storage addressData = _addressData[from]; addressData.balance -= 1; addressData.numberBurned += 1; // Keep track of who burned the token, and the timestamp of burning. TokenOwnership storage currSlot = _ownerships[tokenId]; currSlot.addr = from; currSlot.startTimestamp = uint64(block.timestamp); currSlot.burned = true; // If the ownership slot of tokenId+1 is not explicitly set, that means the burn initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; TokenOwnership storage nextSlot = _ownerships[nextTokenId]; if (nextSlot.addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId != _currentIndex) { nextSlot.addr = from; nextSlot.startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve( address to, uint256 tokenId, address owner ) private { _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } /** * @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 {} } // File: @openzeppelin/contracts/access/Ownable.sol // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // File: contracts/NoahArk.sol pragma solidity ^0.8.9; /* _______ .__ /\ _____ __ _________ .__ __ \ \ _________ | |_)/ ______ / _ \_______| | __ \_ ___ \| |__ _____ _______/ |_ ___________ ____ ____ ____ / | \ / _ \__ \ | | \ / ___/ / /_\ \_ __ \ |/ / ______ / \ \/| | \\__ \ \____ \ __\/ __ \_ __ \ / _ \ / \_/ __ \ / | ( <_> ) __ \| Y \\___ \ / | \ | \/ < /_____/ \ \___| Y \/ __ \| |_> > | \ ___/| | \/ ( <_> ) | \ ___/ \____|__ /\____(____ /___| /____ > \____|__ /__| |__|_ \ \______ /___| (____ / __/|__| \___ >__| \____/|___| /\___ > \/ \/ \/ \/ \/ \/ \/ \/ \/|__| \/ \/ \/ */ contract NoahArk is ERC721A, Ownable { using Strings for uint256; address private constant TEAM_ADDRESS = 0xdA7A4E05Ac3fD281e55FC4a9d189A307A26d0a21; uint256 public constant TOTAL_MAX_SUPPLY = 966; uint256 public constant TOTAL_FREE_SUPPLY = 100; uint256 public constant TEAM_CLAIM_AMOUNT = 30; uint256 public MAX_FREE_MINT_PER_WALLET = 2; uint256 public MAX_PUBLIC_PER_TX = 5; uint256 public MAX_PUBLIC_MINT_PER_WALLET = 5; uint256 public token_price = 0.01 ether; bool public publicSaleActive; bool public freeMintActive; bool public claimed = false; uint256 public freeMintCount; mapping(address => uint256) public freeMintClaimed; string private _baseTokenURI; constructor() ERC721A("Noah's Ark", "NARK") { _safeMint(msg.sender, 10); } modifier callerIsUser() { require(tx.origin == msg.sender, "The caller is another contract"); _; } modifier underMaxSupply(uint256 _quantity) { require( _totalMinted() + _quantity <= TOTAL_MAX_SUPPLY, "Purchase would exceed max supply" ); _; } modifier validateFreeMintStatus(uint256 _quantity) { require(freeMintActive, "free claim is not active"); require(freeMintCount + _quantity <= TOTAL_FREE_SUPPLY, "Purchase would exceed max supply of free mints"); require(freeMintClaimed[msg.sender] + _quantity <= MAX_FREE_MINT_PER_WALLET, "wallet has exceeded free mint amount"); _; } modifier validatePublicStatus(uint256 _quantity) { require(publicSaleActive, "public sale is not active"); require(msg.value >= token_price * _quantity, "Need to send more ETH."); require(_quantity > 0 && _quantity <= MAX_PUBLIC_PER_TX, "Invalid mint amount."); require( _numberMinted(msg.sender) -freeMintClaimed[msg.sender] + _quantity <= MAX_PUBLIC_MINT_PER_WALLET, "This purchase would exceed maximum allocation for public mints for this wallet" ); _; } function freeMint(uint256 _quantity) external callerIsUser validateFreeMintStatus(_quantity) underMaxSupply(_quantity) { freeMintClaimed[msg.sender] += _quantity; freeMintCount += _quantity; _mint(msg.sender, _quantity, "", false); } function mint(uint256 _quantity) external payable callerIsUser validatePublicStatus(_quantity) underMaxSupply(_quantity) { _mint(msg.sender, _quantity, "", false); } function _baseURI() internal view virtual override returns (string memory) { return _baseTokenURI; } function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, tokenId.toString(), ".json")) : ''; } function numberMinted(address owner) public view returns (uint256) { return _numberMinted(owner); } function ownerMint(uint256 _numberToMint) external onlyOwner underMaxSupply(_numberToMint) { _mint(msg.sender, _numberToMint, "", false); } function teamClaim() external onlyOwner { require(!claimed, "Team already claimed"); // claim _safeMint(TEAM_ADDRESS, TEAM_CLAIM_AMOUNT); claimed = true; } function setVault(address _recipient, uint256 _numberToMint) external onlyOwner underMaxSupply(_numberToMint) { _mint(_recipient, _numberToMint, "", false); } function setFreeMintCount(uint256 _count) external onlyOwner { freeMintCount = _count; } function setMaxFreePerWallet(uint256 _num) external onlyOwner { require(_num >= 0, "Num must be greater than zero"); MAX_FREE_MINT_PER_WALLET = _num; } function setMaxPerTxn(uint256 _num) external onlyOwner { require(_num >= 0, "Num must be greater than zero"); MAX_PUBLIC_PER_TX = _num; } function setMaxPerWallet(uint256 _num) external onlyOwner { require(_num >= 0, "Num must be greater than zero"); MAX_PUBLIC_MINT_PER_WALLET = _num; } function setTokenPrice(uint256 newPrice) external onlyOwner { require(newPrice >= 0, "Token price must be greater than zero"); token_price = newPrice; } function setBaseURI(string calldata baseURI) external onlyOwner { _baseTokenURI = baseURI; } function withdrawFunds() external onlyOwner { (bool success, ) = msg.sender.call{value: address(this).balance}(""); require(success, "Transfer failed."); } function withdrawFundsToAddress(address _address, uint256 amount) external onlyOwner { (bool success, ) =_address.call{value: amount}(""); require(success, "Transfer failed."); } function flipFreeMintActive() external onlyOwner { freeMintActive = !freeMintActive; } function flipPublicSaleActive() external onlyOwner { publicSaleActive = !publicSaleActive; } }
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":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","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":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_FREE_MINT_PER_WALLET","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_PUBLIC_MINT_PER_WALLET","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_PUBLIC_PER_TX","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TEAM_CLAIM_AMOUNT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TOTAL_FREE_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TOTAL_MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"flipFreeMintActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"flipPublicSaleActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"freeMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"freeMintActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"freeMintClaimed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"freeMintCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","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":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_numberToMint","type":"uint256"}],"name":"ownerMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_count","type":"uint256"}],"name":"setFreeMintCount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_num","type":"uint256"}],"name":"setMaxFreePerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_num","type":"uint256"}],"name":"setMaxPerTxn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_num","type":"uint256"}],"name":"setMaxPerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setTokenPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_recipient","type":"address"},{"internalType":"uint256","name":"_numberToMint","type":"uint256"}],"name":"setVault","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":[],"name":"teamClaim","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":[],"name":"token_price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawFunds","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdrawFundsToAddress","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405260026009556005600a819055600b55662386f26fc10000600c55600d805462ff0000191690553480156200003757600080fd5b506040518060400160405280600a8152602001694e6f616827732041726b60b01b815250604051806040016040528060048152602001634e41524b60e01b8152508160029081620000899190620004b4565b506003620000988282620004b4565b50506000805550620000aa33620000bd565b620000b733600a6200010f565b6200062e565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b620001318282604051806020016040528060008152506200013560201b60201c565b5050565b62000144838383600162000149565b505050565b6000546001600160a01b0385166200017357604051622e076360e81b815260040160405180910390fd5b83600003620001955760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260056020908152604080832080546001600160801b031981166001600160401b038083168c018116918217680100000000000000006001600160401b031990941690921783900481168c01811690920217909155858452600490925290912080546001600160e01b031916909217600160a01b4290921691909102179055808085018380156200024e57506200024e876001600160a01b03166200030d60201b620015ef1760201c565b15620002cd575b60405182906001600160a01b0389169060009060008051602062002a8a833981519152908290a4600182019162000292906000908990886200031c565b620002b0576040516368d2bf6b60e11b815260040160405180910390fd5b80820362000255578260005414620002c757600080fd5b62000302565b5b6040516001830192906001600160a01b0389169060009060008051602062002a8a833981519152908290a4808203620002ce575b506000555050505050565b6001600160a01b03163b151590565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906200035390339089908890889060040162000580565b6020604051808303816000875af192505050801562000391575060408051601f3d908101601f191682019092526200038e91810190620005fb565b60015b620003f3573d808015620003c2576040519150601f19603f3d011682016040523d82523d6000602084013e620003c7565b606091505b508051600003620003eb576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200043b57607f821691505b6020821081036200045c57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200014457600081815260208120601f850160051c810160208610156200048b5750805b601f850160051c820191505b81811015620004ac5782815560010162000497565b505050505050565b81516001600160401b03811115620004d057620004d062000410565b620004e881620004e1845462000426565b8462000462565b602080601f831160018114620005205760008415620005075750858301515b600019600386901b1c1916600185901b178555620004ac565b600085815260208120601f198616915b82811015620005515788860151825594840194600190910190840162000530565b5085821015620005705787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060018060a01b038087168352602081871681850152856040850152608060608501528451915081608085015260005b82811015620005cf5785810182015185820160a001528101620005b1565b82811115620005e257600060a084870101525b5050601f01601f19169190910160a00195945050505050565b6000602082840312156200060e57600080fd5b81516001600160e01b0319811681146200062757600080fd5b9392505050565b61244c806200063e6000396000f3fe6080604052600436106102725760003560e01c80637c928fe91161014f578063c87b56dd116100c1578063e55f58bb1161007a578063e55f58bb14610703578063e834a83414610719578063e985e9c514610739578063f03c889114610782578063f19e75d414610797578063f2fde38b146107b757600080fd5b8063c87b56dd14610641578063c8d5ed6814610661578063cb5bc2aa14610677578063dc33e68114610696578063e0ec7c36146106b6578063e268e4d3146106e357600080fd5b8063a0712d6811610113578063a0712d681461059e578063a22cb465146105b1578063a6eb27e2146105d1578063b6f3ce00146105e7578063b88d4fde14610607578063bc8893b41461062757600080fd5b80637c928fe9146105205780638da5cb5b146105405780638f430db01461055e57806395d89b41146105735780639f55252e1461058857600080fd5b806342842e0e116101e85780636a61e5fc116101ac5780636a61e5fc146104805780636ae146c2146104a05780636d7c4a4b146104b557806370a08231146104d5578063715018a6146104f55780637b4fd96e1461050a57600080fd5b806342842e0e146103ea5780634f7f89761461040a57806355f804b31461042a5780636352211e1461044a57806365b1de201461046a57600080fd5b80631b5cb7f31161023a5780631b5cb7f31461034b57806323b872dd1461036057806324600fc314610380578063253ca9341461039557806336f61bd9146103b5578063411c8daf146103d557600080fd5b806301ffc9a71461027757806306fdde03146102ac578063081812fc146102ce578063095ea7b31461030657806318160ddd14610328575b600080fd5b34801561028357600080fd5b50610297610292366004611de9565b6107d7565b60405190151581526020015b60405180910390f35b3480156102b857600080fd5b506102c1610829565b6040516102a39190611e5e565b3480156102da57600080fd5b506102ee6102e9366004611e71565b6108bb565b6040516001600160a01b0390911681526020016102a3565b34801561031257600080fd5b50610326610321366004611ea6565b6108ff565b005b34801561033457600080fd5b50600154600054035b6040519081526020016102a3565b34801561035757600080fd5b5061032661098c565b34801561036c57600080fd5b5061032661037b366004611ed0565b6109d3565b34801561038c57600080fd5b506103266109de565b3480156103a157600080fd5b506103266103b0366004611e71565b610a96565b3480156103c157600080fd5b506103266103d0366004611ea6565b610ac5565b3480156103e157600080fd5b5061033d606481565b3480156103f657600080fd5b50610326610405366004611ed0565b610b41565b34801561041657600080fd5b50610326610425366004611ea6565b610b5c565b34801561043657600080fd5b50610326610445366004611f0c565b610c1c565b34801561045657600080fd5b506102ee610465366004611e71565b610c53565b34801561047657600080fd5b5061033d6103c681565b34801561048c57600080fd5b5061032661049b366004611e71565b610c65565b3480156104ac57600080fd5b50610326610c94565b3480156104c157600080fd5b506103266104d0366004611e71565b610d40565b3480156104e157600080fd5b5061033d6104f0366004611f7e565b610d6f565b34801561050157600080fd5b50610326610dbe565b34801561051657600080fd5b5061033d600c5481565b34801561052c57600080fd5b5061032661053b366004611e71565b610df4565b34801561054c57600080fd5b506008546001600160a01b03166102ee565b34801561056a57600080fd5b5061032661101a565b34801561057f57600080fd5b506102c1611061565b34801561059457600080fd5b5061033d600a5481565b6103266105ac366004611e71565b611070565b3480156105bd57600080fd5b506103266105cc366004611f99565b6112e0565b3480156105dd57600080fd5b5061033d60095481565b3480156105f357600080fd5b50610326610602366004611e71565b611375565b34801561061357600080fd5b50610326610622366004611feb565b6113a4565b34801561063357600080fd5b50600d546102979060ff1681565b34801561064d57600080fd5b506102c161065c366004611e71565b6113f5565b34801561066d57600080fd5b5061033d600b5481565b34801561068357600080fd5b50600d5461029790610100900460ff1681565b3480156106a257600080fd5b5061033d6106b1366004611f7e565b611479565b3480156106c257600080fd5b5061033d6106d1366004611f7e565b600f6020526000908152604090205481565b3480156106ef57600080fd5b506103266106fe366004611e71565b6114a8565b34801561070f57600080fd5b5061033d600e5481565b34801561072557600080fd5b50600d546102979062010000900460ff1681565b34801561074557600080fd5b506102976107543660046120c7565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561078e57600080fd5b5061033d601e81565b3480156107a357600080fd5b506103266107b2366004611e71565b6114d7565b3480156107c357600080fd5b506103266107d2366004611f7e565b611557565b60006001600160e01b031982166380ac58cd60e01b148061080857506001600160e01b03198216635b5e139f60e01b145b8061082357506301ffc9a760e01b6001600160e01b03198316145b92915050565b606060028054610838906120fa565b80601f0160208091040260200160405190810160405280929190818152602001828054610864906120fa565b80156108b15780601f10610886576101008083540402835291602001916108b1565b820191906000526020600020905b81548152906001019060200180831161089457829003601f168201915b5050505050905090565b60006108c6826115fe565b6108e3576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061090a82610c53565b9050806001600160a01b0316836001600160a01b03160361093e5760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b0382161480159061095e575061095c8133610754565b155b1561097c576040516367d9dca160e11b815260040160405180910390fd5b610987838383611629565b505050565b6008546001600160a01b031633146109bf5760405162461bcd60e51b81526004016109b690612134565b60405180910390fd5b600d805460ff19811660ff90911615179055565b610987838383611685565b6008546001600160a01b03163314610a085760405162461bcd60e51b81526004016109b690612134565b604051600090339047908381818185875af1925050503d8060008114610a4a576040519150601f19603f3d011682016040523d82523d6000602084013e610a4f565b606091505b5050905080610a935760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b60448201526064016109b6565b50565b6008546001600160a01b03163314610ac05760405162461bcd60e51b81526004016109b690612134565b600e55565b6008546001600160a01b03163314610aef5760405162461bcd60e51b81526004016109b690612134565b806103c681610afd60005490565b610b07919061217f565b1115610b255760405162461bcd60e51b81526004016109b690612197565b6109878383604051806020016040528060008152506000611875565b610987838383604051806020016040528060008152506113a4565b6008546001600160a01b03163314610b865760405162461bcd60e51b81526004016109b690612134565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114610bd3576040519150601f19603f3d011682016040523d82523d6000602084013e610bd8565b606091505b50509050806109875760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b60448201526064016109b6565b6008546001600160a01b03163314610c465760405162461bcd60e51b81526004016109b690612134565b601061098782848361221a565b6000610c5e82611a42565b5192915050565b6008546001600160a01b03163314610c8f5760405162461bcd60e51b81526004016109b690612134565b600c55565b6008546001600160a01b03163314610cbe5760405162461bcd60e51b81526004016109b690612134565b600d5462010000900460ff1615610d0e5760405162461bcd60e51b81526020600482015260146024820152731519585b48185b1c9958591e4818db185a5b595960621b60448201526064016109b6565b610d2d73da7a4e05ac3fd281e55fc4a9d189a307a26d0a21601e611b5e565b600d805462ff0000191662010000179055565b6008546001600160a01b03163314610d6a5760405162461bcd60e51b81526004016109b690612134565b600955565b60006001600160a01b038216610d98576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b03163314610de85760405162461bcd60e51b81526004016109b690612134565b610df26000611b78565b565b323314610e435760405162461bcd60e51b815260206004820152601e60248201527f5468652063616c6c657220697320616e6f7468657220636f6e7472616374000060448201526064016109b6565b600d548190610100900460ff16610e9c5760405162461bcd60e51b815260206004820152601860248201527f6672656520636c61696d206973206e6f7420616374697665000000000000000060448201526064016109b6565b606481600e54610eac919061217f565b1115610f115760405162461bcd60e51b815260206004820152602e60248201527f507572636861736520776f756c6420657863656564206d617820737570706c7960448201526d206f662066726565206d696e747360901b60648201526084016109b6565b600954336000908152600f6020526040902054610f2f90839061217f565b1115610f895760405162461bcd60e51b8152602060048201526024808201527f77616c6c6574206861732065786365656465642066726565206d696e7420616d6044820152631bdd5b9d60e21b60648201526084016109b6565b816103c681610f9760005490565b610fa1919061217f565b1115610fbf5760405162461bcd60e51b81526004016109b690612197565b336000908152600f602052604081208054859290610fde90849061217f565b9250508190555082600e6000828254610ff7919061217f565b925050819055506109873384604051806020016040528060008152506000611875565b6008546001600160a01b031633146110445760405162461bcd60e51b81526004016109b690612134565b600d805461ff001981166101009182900460ff1615909102179055565b606060038054610838906120fa565b3233146110bf5760405162461bcd60e51b815260206004820152601e60248201527f5468652063616c6c657220697320616e6f7468657220636f6e7472616374000060448201526064016109b6565b600d54819060ff166111135760405162461bcd60e51b815260206004820152601960248201527f7075626c69632073616c65206973206e6f74206163746976650000000000000060448201526064016109b6565b80600c5461112191906122da565b3410156111695760405162461bcd60e51b81526020600482015260166024820152752732b2b2103a379039b2b7321036b7b9329022aa241760511b60448201526064016109b6565b60008111801561117b5750600a548111155b6111be5760405162461bcd60e51b815260206004820152601460248201527324b73b30b634b21036b4b73a1030b6b7bab73a1760611b60448201526064016109b6565b600b54336000908152600f602090815260408083205460059092529091205483916111f991600160401b900467ffffffffffffffff166122f9565b611203919061217f565b111561128e5760405162461bcd60e51b815260206004820152604e60248201527f5468697320707572636861736520776f756c6420657863656564206d6178696d60448201527f756d20616c6c6f636174696f6e20666f72207075626c6963206d696e7473206660648201526d1bdc881d1a1a5cc81dd85b1b195d60921b608482015260a4016109b6565b816103c68161129c60005490565b6112a6919061217f565b11156112c45760405162461bcd60e51b81526004016109b690612197565b6109873384604051806020016040528060008152506000611875565b336001600160a01b038316036113095760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6008546001600160a01b0316331461139f5760405162461bcd60e51b81526004016109b690612134565b600a55565b6113af848484611685565b6001600160a01b0383163b151580156113d157506113cf84848484611bca565b155b156113ef576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060611400826115fe565b61141d57604051630a14c4b560e41b815260040160405180910390fd5b6000611427611cb6565b905080516000036114475760405180602001604052806000815250611472565b8061145184611cc5565b604051602001611462929190612310565b6040516020818303038152906040525b9392505050565b6001600160a01b038116600090815260056020526040812054600160401b900467ffffffffffffffff16610823565b6008546001600160a01b031633146114d25760405162461bcd60e51b81526004016109b690612134565b600b55565b6008546001600160a01b031633146115015760405162461bcd60e51b81526004016109b690612134565b806103c68161150f60005490565b611519919061217f565b11156115375760405162461bcd60e51b81526004016109b690612197565b6115533383604051806020016040528060008152506000611875565b5050565b6008546001600160a01b031633146115815760405162461bcd60e51b81526004016109b690612134565b6001600160a01b0381166115e65760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016109b6565b610a9381611b78565b6001600160a01b03163b151590565b6000805482108015610823575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061169082611a42565b9050836001600160a01b031681600001516001600160a01b0316146116c75760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b03861614806116e557506116e58533610754565b806117005750336116f5846108bb565b6001600160a01b0316145b90508061172057604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03841661174757604051633a954ecd60e21b815260040160405180910390fd5b61175360008487611629565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff1980821667ffffffffffffffff92831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b42909216919091021783558701808452922080549193909116611829576000548214611829578054602086015167ffffffffffffffff16600160a01b026001600160e01b03199091166001600160a01b038a16171781555b50505082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b6000546001600160a01b03851661189e57604051622e076360e81b815260040160405180910390fd5b836000036118bf5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260056020908152604080832080546fffffffffffffffffffffffffffffffff19811667ffffffffffffffff8083168c018116918217600160401b67ffffffffffffffff1990941690921783900481168c01811690920217909155858452600490925290912080546001600160e01b031916909217600160a01b42909216919091021790558080850183801561196c57506001600160a01b0387163b15155b156119f4575b60405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46119bd6000888480600101955088611bca565b6119da576040516368d2bf6b60e11b815260040160405180910390fd5b8082036119725782600054146119ef57600080fd5b611a39565b5b6040516001830192906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a48082036119f5575b5060005561186e565b604080516060810182526000808252602082018190529181019190915281600054811015611b4557600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b810467ffffffffffffffff1692820192909252600160e01b90910460ff16151591810182905290611b435780516001600160a01b031615611ad9579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b820467ffffffffffffffff1693830193909352600160e01b900460ff1615159281019290925215611b3e579392505050565b611ad9565b505b604051636f96cda160e11b815260040160405180910390fd5b611553828260405180602001604052806000815250611dc6565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611bff90339089908890889060040161234f565b6020604051808303816000875af1925050508015611c3a575060408051601f3d908101601f19168201909252611c379181019061238c565b60015b611c98573d808015611c68576040519150601f19603f3d011682016040523d82523d6000602084013e611c6d565b606091505b508051600003611c90576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b606060108054610838906120fa565b606081600003611cec5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611d165780611d00816123a9565b9150611d0f9050600a836123d8565b9150611cf0565b60008167ffffffffffffffff811115611d3157611d31611fd5565b6040519080825280601f01601f191660200182016040528015611d5b576020820181803683370190505b5090505b8415611cae57611d706001836122f9565b9150611d7d600a866123ec565b611d8890603061217f565b60f81b818381518110611d9d57611d9d612400565b60200101906001600160f81b031916908160001a905350611dbf600a866123d8565b9450611d5f565b6109878383836001611875565b6001600160e01b031981168114610a9357600080fd5b600060208284031215611dfb57600080fd5b813561147281611dd3565b60005b83811015611e21578181015183820152602001611e09565b838111156113ef5750506000910152565b60008151808452611e4a816020860160208601611e06565b601f01601f19169290920160200192915050565b6020815260006114726020830184611e32565b600060208284031215611e8357600080fd5b5035919050565b80356001600160a01b0381168114611ea157600080fd5b919050565b60008060408385031215611eb957600080fd5b611ec283611e8a565b946020939093013593505050565b600080600060608486031215611ee557600080fd5b611eee84611e8a565b9250611efc60208501611e8a565b9150604084013590509250925092565b60008060208385031215611f1f57600080fd5b823567ffffffffffffffff80821115611f3757600080fd5b818501915085601f830112611f4b57600080fd5b813581811115611f5a57600080fd5b866020828501011115611f6c57600080fd5b60209290920196919550909350505050565b600060208284031215611f9057600080fd5b61147282611e8a565b60008060408385031215611fac57600080fd5b611fb583611e8a565b915060208301358015158114611fca57600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b6000806000806080858703121561200157600080fd5b61200a85611e8a565b935061201860208601611e8a565b925060408501359150606085013567ffffffffffffffff8082111561203c57600080fd5b818701915087601f83011261205057600080fd5b81358181111561206257612062611fd5565b604051601f8201601f19908116603f0116810190838211818310171561208a5761208a611fd5565b816040528281528a60208487010111156120a357600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b600080604083850312156120da57600080fd5b6120e383611e8a565b91506120f160208401611e8a565b90509250929050565b600181811c9082168061210e57607f821691505b60208210810361212e57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b6000821982111561219257612192612169565b500190565b6020808252818101527f507572636861736520776f756c6420657863656564206d617820737570706c79604082015260600190565b601f82111561098757600081815260208120601f850160051c810160208610156121f35750805b601f850160051c820191505b81811015612212578281556001016121ff565b505050505050565b67ffffffffffffffff83111561223257612232611fd5565b6122468361224083546120fa565b836121cc565b6000601f84116001811461227a57600085156122625750838201355b600019600387901b1c1916600186901b17835561186e565b600083815260209020601f19861690835b828110156122ab578685013582556020948501946001909201910161228b565b50868210156122c85760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b60008160001904831182151516156122f4576122f4612169565b500290565b60008282101561230b5761230b612169565b500390565b60008351612322818460208801611e06565b835190830190612336818360208801611e06565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061238290830184611e32565b9695505050505050565b60006020828403121561239e57600080fd5b815161147281611dd3565b6000600182016123bb576123bb612169565b5060010190565b634e487b7160e01b600052601260045260246000fd5b6000826123e7576123e76123c2565b500490565b6000826123fb576123fb6123c2565b500690565b634e487b7160e01b600052603260045260246000fdfea26469706673582212205b01931f57699c38871d976814890dda340e4d6475f6615f08f97215c7e3dd3764736f6c634300080f0033ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef
Deployed Bytecode
0x6080604052600436106102725760003560e01c80637c928fe91161014f578063c87b56dd116100c1578063e55f58bb1161007a578063e55f58bb14610703578063e834a83414610719578063e985e9c514610739578063f03c889114610782578063f19e75d414610797578063f2fde38b146107b757600080fd5b8063c87b56dd14610641578063c8d5ed6814610661578063cb5bc2aa14610677578063dc33e68114610696578063e0ec7c36146106b6578063e268e4d3146106e357600080fd5b8063a0712d6811610113578063a0712d681461059e578063a22cb465146105b1578063a6eb27e2146105d1578063b6f3ce00146105e7578063b88d4fde14610607578063bc8893b41461062757600080fd5b80637c928fe9146105205780638da5cb5b146105405780638f430db01461055e57806395d89b41146105735780639f55252e1461058857600080fd5b806342842e0e116101e85780636a61e5fc116101ac5780636a61e5fc146104805780636ae146c2146104a05780636d7c4a4b146104b557806370a08231146104d5578063715018a6146104f55780637b4fd96e1461050a57600080fd5b806342842e0e146103ea5780634f7f89761461040a57806355f804b31461042a5780636352211e1461044a57806365b1de201461046a57600080fd5b80631b5cb7f31161023a5780631b5cb7f31461034b57806323b872dd1461036057806324600fc314610380578063253ca9341461039557806336f61bd9146103b5578063411c8daf146103d557600080fd5b806301ffc9a71461027757806306fdde03146102ac578063081812fc146102ce578063095ea7b31461030657806318160ddd14610328575b600080fd5b34801561028357600080fd5b50610297610292366004611de9565b6107d7565b60405190151581526020015b60405180910390f35b3480156102b857600080fd5b506102c1610829565b6040516102a39190611e5e565b3480156102da57600080fd5b506102ee6102e9366004611e71565b6108bb565b6040516001600160a01b0390911681526020016102a3565b34801561031257600080fd5b50610326610321366004611ea6565b6108ff565b005b34801561033457600080fd5b50600154600054035b6040519081526020016102a3565b34801561035757600080fd5b5061032661098c565b34801561036c57600080fd5b5061032661037b366004611ed0565b6109d3565b34801561038c57600080fd5b506103266109de565b3480156103a157600080fd5b506103266103b0366004611e71565b610a96565b3480156103c157600080fd5b506103266103d0366004611ea6565b610ac5565b3480156103e157600080fd5b5061033d606481565b3480156103f657600080fd5b50610326610405366004611ed0565b610b41565b34801561041657600080fd5b50610326610425366004611ea6565b610b5c565b34801561043657600080fd5b50610326610445366004611f0c565b610c1c565b34801561045657600080fd5b506102ee610465366004611e71565b610c53565b34801561047657600080fd5b5061033d6103c681565b34801561048c57600080fd5b5061032661049b366004611e71565b610c65565b3480156104ac57600080fd5b50610326610c94565b3480156104c157600080fd5b506103266104d0366004611e71565b610d40565b3480156104e157600080fd5b5061033d6104f0366004611f7e565b610d6f565b34801561050157600080fd5b50610326610dbe565b34801561051657600080fd5b5061033d600c5481565b34801561052c57600080fd5b5061032661053b366004611e71565b610df4565b34801561054c57600080fd5b506008546001600160a01b03166102ee565b34801561056a57600080fd5b5061032661101a565b34801561057f57600080fd5b506102c1611061565b34801561059457600080fd5b5061033d600a5481565b6103266105ac366004611e71565b611070565b3480156105bd57600080fd5b506103266105cc366004611f99565b6112e0565b3480156105dd57600080fd5b5061033d60095481565b3480156105f357600080fd5b50610326610602366004611e71565b611375565b34801561061357600080fd5b50610326610622366004611feb565b6113a4565b34801561063357600080fd5b50600d546102979060ff1681565b34801561064d57600080fd5b506102c161065c366004611e71565b6113f5565b34801561066d57600080fd5b5061033d600b5481565b34801561068357600080fd5b50600d5461029790610100900460ff1681565b3480156106a257600080fd5b5061033d6106b1366004611f7e565b611479565b3480156106c257600080fd5b5061033d6106d1366004611f7e565b600f6020526000908152604090205481565b3480156106ef57600080fd5b506103266106fe366004611e71565b6114a8565b34801561070f57600080fd5b5061033d600e5481565b34801561072557600080fd5b50600d546102979062010000900460ff1681565b34801561074557600080fd5b506102976107543660046120c7565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561078e57600080fd5b5061033d601e81565b3480156107a357600080fd5b506103266107b2366004611e71565b6114d7565b3480156107c357600080fd5b506103266107d2366004611f7e565b611557565b60006001600160e01b031982166380ac58cd60e01b148061080857506001600160e01b03198216635b5e139f60e01b145b8061082357506301ffc9a760e01b6001600160e01b03198316145b92915050565b606060028054610838906120fa565b80601f0160208091040260200160405190810160405280929190818152602001828054610864906120fa565b80156108b15780601f10610886576101008083540402835291602001916108b1565b820191906000526020600020905b81548152906001019060200180831161089457829003601f168201915b5050505050905090565b60006108c6826115fe565b6108e3576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061090a82610c53565b9050806001600160a01b0316836001600160a01b03160361093e5760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b0382161480159061095e575061095c8133610754565b155b1561097c576040516367d9dca160e11b815260040160405180910390fd5b610987838383611629565b505050565b6008546001600160a01b031633146109bf5760405162461bcd60e51b81526004016109b690612134565b60405180910390fd5b600d805460ff19811660ff90911615179055565b610987838383611685565b6008546001600160a01b03163314610a085760405162461bcd60e51b81526004016109b690612134565b604051600090339047908381818185875af1925050503d8060008114610a4a576040519150601f19603f3d011682016040523d82523d6000602084013e610a4f565b606091505b5050905080610a935760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b60448201526064016109b6565b50565b6008546001600160a01b03163314610ac05760405162461bcd60e51b81526004016109b690612134565b600e55565b6008546001600160a01b03163314610aef5760405162461bcd60e51b81526004016109b690612134565b806103c681610afd60005490565b610b07919061217f565b1115610b255760405162461bcd60e51b81526004016109b690612197565b6109878383604051806020016040528060008152506000611875565b610987838383604051806020016040528060008152506113a4565b6008546001600160a01b03163314610b865760405162461bcd60e51b81526004016109b690612134565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114610bd3576040519150601f19603f3d011682016040523d82523d6000602084013e610bd8565b606091505b50509050806109875760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b60448201526064016109b6565b6008546001600160a01b03163314610c465760405162461bcd60e51b81526004016109b690612134565b601061098782848361221a565b6000610c5e82611a42565b5192915050565b6008546001600160a01b03163314610c8f5760405162461bcd60e51b81526004016109b690612134565b600c55565b6008546001600160a01b03163314610cbe5760405162461bcd60e51b81526004016109b690612134565b600d5462010000900460ff1615610d0e5760405162461bcd60e51b81526020600482015260146024820152731519585b48185b1c9958591e4818db185a5b595960621b60448201526064016109b6565b610d2d73da7a4e05ac3fd281e55fc4a9d189a307a26d0a21601e611b5e565b600d805462ff0000191662010000179055565b6008546001600160a01b03163314610d6a5760405162461bcd60e51b81526004016109b690612134565b600955565b60006001600160a01b038216610d98576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b03163314610de85760405162461bcd60e51b81526004016109b690612134565b610df26000611b78565b565b323314610e435760405162461bcd60e51b815260206004820152601e60248201527f5468652063616c6c657220697320616e6f7468657220636f6e7472616374000060448201526064016109b6565b600d548190610100900460ff16610e9c5760405162461bcd60e51b815260206004820152601860248201527f6672656520636c61696d206973206e6f7420616374697665000000000000000060448201526064016109b6565b606481600e54610eac919061217f565b1115610f115760405162461bcd60e51b815260206004820152602e60248201527f507572636861736520776f756c6420657863656564206d617820737570706c7960448201526d206f662066726565206d696e747360901b60648201526084016109b6565b600954336000908152600f6020526040902054610f2f90839061217f565b1115610f895760405162461bcd60e51b8152602060048201526024808201527f77616c6c6574206861732065786365656465642066726565206d696e7420616d6044820152631bdd5b9d60e21b60648201526084016109b6565b816103c681610f9760005490565b610fa1919061217f565b1115610fbf5760405162461bcd60e51b81526004016109b690612197565b336000908152600f602052604081208054859290610fde90849061217f565b9250508190555082600e6000828254610ff7919061217f565b925050819055506109873384604051806020016040528060008152506000611875565b6008546001600160a01b031633146110445760405162461bcd60e51b81526004016109b690612134565b600d805461ff001981166101009182900460ff1615909102179055565b606060038054610838906120fa565b3233146110bf5760405162461bcd60e51b815260206004820152601e60248201527f5468652063616c6c657220697320616e6f7468657220636f6e7472616374000060448201526064016109b6565b600d54819060ff166111135760405162461bcd60e51b815260206004820152601960248201527f7075626c69632073616c65206973206e6f74206163746976650000000000000060448201526064016109b6565b80600c5461112191906122da565b3410156111695760405162461bcd60e51b81526020600482015260166024820152752732b2b2103a379039b2b7321036b7b9329022aa241760511b60448201526064016109b6565b60008111801561117b5750600a548111155b6111be5760405162461bcd60e51b815260206004820152601460248201527324b73b30b634b21036b4b73a1030b6b7bab73a1760611b60448201526064016109b6565b600b54336000908152600f602090815260408083205460059092529091205483916111f991600160401b900467ffffffffffffffff166122f9565b611203919061217f565b111561128e5760405162461bcd60e51b815260206004820152604e60248201527f5468697320707572636861736520776f756c6420657863656564206d6178696d60448201527f756d20616c6c6f636174696f6e20666f72207075626c6963206d696e7473206660648201526d1bdc881d1a1a5cc81dd85b1b195d60921b608482015260a4016109b6565b816103c68161129c60005490565b6112a6919061217f565b11156112c45760405162461bcd60e51b81526004016109b690612197565b6109873384604051806020016040528060008152506000611875565b336001600160a01b038316036113095760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6008546001600160a01b0316331461139f5760405162461bcd60e51b81526004016109b690612134565b600a55565b6113af848484611685565b6001600160a01b0383163b151580156113d157506113cf84848484611bca565b155b156113ef576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060611400826115fe565b61141d57604051630a14c4b560e41b815260040160405180910390fd5b6000611427611cb6565b905080516000036114475760405180602001604052806000815250611472565b8061145184611cc5565b604051602001611462929190612310565b6040516020818303038152906040525b9392505050565b6001600160a01b038116600090815260056020526040812054600160401b900467ffffffffffffffff16610823565b6008546001600160a01b031633146114d25760405162461bcd60e51b81526004016109b690612134565b600b55565b6008546001600160a01b031633146115015760405162461bcd60e51b81526004016109b690612134565b806103c68161150f60005490565b611519919061217f565b11156115375760405162461bcd60e51b81526004016109b690612197565b6115533383604051806020016040528060008152506000611875565b5050565b6008546001600160a01b031633146115815760405162461bcd60e51b81526004016109b690612134565b6001600160a01b0381166115e65760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016109b6565b610a9381611b78565b6001600160a01b03163b151590565b6000805482108015610823575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061169082611a42565b9050836001600160a01b031681600001516001600160a01b0316146116c75760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b03861614806116e557506116e58533610754565b806117005750336116f5846108bb565b6001600160a01b0316145b90508061172057604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03841661174757604051633a954ecd60e21b815260040160405180910390fd5b61175360008487611629565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff1980821667ffffffffffffffff92831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b42909216919091021783558701808452922080549193909116611829576000548214611829578054602086015167ffffffffffffffff16600160a01b026001600160e01b03199091166001600160a01b038a16171781555b50505082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b6000546001600160a01b03851661189e57604051622e076360e81b815260040160405180910390fd5b836000036118bf5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260056020908152604080832080546fffffffffffffffffffffffffffffffff19811667ffffffffffffffff8083168c018116918217600160401b67ffffffffffffffff1990941690921783900481168c01811690920217909155858452600490925290912080546001600160e01b031916909217600160a01b42909216919091021790558080850183801561196c57506001600160a01b0387163b15155b156119f4575b60405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46119bd6000888480600101955088611bca565b6119da576040516368d2bf6b60e11b815260040160405180910390fd5b8082036119725782600054146119ef57600080fd5b611a39565b5b6040516001830192906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a48082036119f5575b5060005561186e565b604080516060810182526000808252602082018190529181019190915281600054811015611b4557600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b810467ffffffffffffffff1692820192909252600160e01b90910460ff16151591810182905290611b435780516001600160a01b031615611ad9579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b820467ffffffffffffffff1693830193909352600160e01b900460ff1615159281019290925215611b3e579392505050565b611ad9565b505b604051636f96cda160e11b815260040160405180910390fd5b611553828260405180602001604052806000815250611dc6565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611bff90339089908890889060040161234f565b6020604051808303816000875af1925050508015611c3a575060408051601f3d908101601f19168201909252611c379181019061238c565b60015b611c98573d808015611c68576040519150601f19603f3d011682016040523d82523d6000602084013e611c6d565b606091505b508051600003611c90576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b606060108054610838906120fa565b606081600003611cec5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611d165780611d00816123a9565b9150611d0f9050600a836123d8565b9150611cf0565b60008167ffffffffffffffff811115611d3157611d31611fd5565b6040519080825280601f01601f191660200182016040528015611d5b576020820181803683370190505b5090505b8415611cae57611d706001836122f9565b9150611d7d600a866123ec565b611d8890603061217f565b60f81b818381518110611d9d57611d9d612400565b60200101906001600160f81b031916908160001a905350611dbf600a866123d8565b9450611d5f565b6109878383836001611875565b6001600160e01b031981168114610a9357600080fd5b600060208284031215611dfb57600080fd5b813561147281611dd3565b60005b83811015611e21578181015183820152602001611e09565b838111156113ef5750506000910152565b60008151808452611e4a816020860160208601611e06565b601f01601f19169290920160200192915050565b6020815260006114726020830184611e32565b600060208284031215611e8357600080fd5b5035919050565b80356001600160a01b0381168114611ea157600080fd5b919050565b60008060408385031215611eb957600080fd5b611ec283611e8a565b946020939093013593505050565b600080600060608486031215611ee557600080fd5b611eee84611e8a565b9250611efc60208501611e8a565b9150604084013590509250925092565b60008060208385031215611f1f57600080fd5b823567ffffffffffffffff80821115611f3757600080fd5b818501915085601f830112611f4b57600080fd5b813581811115611f5a57600080fd5b866020828501011115611f6c57600080fd5b60209290920196919550909350505050565b600060208284031215611f9057600080fd5b61147282611e8a565b60008060408385031215611fac57600080fd5b611fb583611e8a565b915060208301358015158114611fca57600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b6000806000806080858703121561200157600080fd5b61200a85611e8a565b935061201860208601611e8a565b925060408501359150606085013567ffffffffffffffff8082111561203c57600080fd5b818701915087601f83011261205057600080fd5b81358181111561206257612062611fd5565b604051601f8201601f19908116603f0116810190838211818310171561208a5761208a611fd5565b816040528281528a60208487010111156120a357600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b600080604083850312156120da57600080fd5b6120e383611e8a565b91506120f160208401611e8a565b90509250929050565b600181811c9082168061210e57607f821691505b60208210810361212e57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b6000821982111561219257612192612169565b500190565b6020808252818101527f507572636861736520776f756c6420657863656564206d617820737570706c79604082015260600190565b601f82111561098757600081815260208120601f850160051c810160208610156121f35750805b601f850160051c820191505b81811015612212578281556001016121ff565b505050505050565b67ffffffffffffffff83111561223257612232611fd5565b6122468361224083546120fa565b836121cc565b6000601f84116001811461227a57600085156122625750838201355b600019600387901b1c1916600186901b17835561186e565b600083815260209020601f19861690835b828110156122ab578685013582556020948501946001909201910161228b565b50868210156122c85760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b60008160001904831182151516156122f4576122f4612169565b500290565b60008282101561230b5761230b612169565b500390565b60008351612322818460208801611e06565b835190830190612336818360208801611e06565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061238290830184611e32565b9695505050505050565b60006020828403121561239e57600080fd5b815161147281611dd3565b6000600182016123bb576123bb612169565b5060010190565b634e487b7160e01b600052601260045260246000fd5b6000826123e7576123e76123c2565b500490565b6000826123fb576123fb6123c2565b500690565b634e487b7160e01b600052603260045260246000fdfea26469706673582212205b01931f57699c38871d976814890dda340e4d6475f6615f08f97215c7e3dd3764736f6c634300080f0033
Deployed Bytecode Sourcemap
58429:5471:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36861:305;;;;;;;;;;-1:-1:-1;36861:305:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;36861:305:0;;;;;;;;39974:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;41477:204::-;;;;;;;;;;-1:-1:-1;41477:204:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1692:32:1;;;1674:51;;1662:2;1647:18;41477:204:0;1528:203:1;41040:371:0;;;;;;;;;;-1:-1:-1;41040:371:0;;;;;:::i;:::-;;:::i;:::-;;36110:303;;;;;;;;;;-1:-1:-1;36364:12:0;;36154:7;36348:13;:28;36110:303;;;2319:25:1;;;2307:2;2292:18;36110:303:0;2173:177:1;63789:106:0;;;;;;;;;;;;;:::i;42342:170::-;;;;;;;;;;-1:-1:-1;42342:170:0;;;;;:::i;:::-;;:::i;63282:178::-;;;;;;;;;;;;;:::i;62338:102::-;;;;;;;;;;-1:-1:-1;62338:102:0;;;;;:::i;:::-;;:::i;62126:204::-;;;;;;;;;;-1:-1:-1;62126:204:0;;;;;:::i;:::-;;:::i;58651:47::-;;;;;;;;;;;;58695:3;58651:47;;42583:185;;;;;;;;;;-1:-1:-1;42583:185:0;;;;;:::i;:::-;;:::i;63468:201::-;;;;;;;;;;-1:-1:-1;63468:201:0;;;;;:::i;:::-;;:::i;63168:106::-;;;;;;;;;;-1:-1:-1;63168:106:0;;;;;:::i;:::-;;:::i;39782:125::-;;;;;;;;;;-1:-1:-1;39782:125:0;;;;;:::i;:::-;;:::i;58598:46::-;;;;;;;;;;;;58641:3;58598:46;;62985:175;;;;;;;;;;-1:-1:-1;62985:175:0;;;;;:::i;:::-;;:::i;61924:194::-;;;;;;;;;;;;;:::i;62448:174::-;;;;;;;;;;-1:-1:-1;62448:174:0;;;;;:::i;:::-;;:::i;37230:206::-;;;;;;;;;;-1:-1:-1;37230:206:0;;;;;:::i;:::-;;:::i;56330:103::-;;;;;;;;;;;;;:::i;58921:39::-;;;;;;;;;;;;;;;;60595:311;;;;;;;;;;-1:-1:-1;60595:311:0;;;;;:::i;:::-;;:::i;55679:87::-;;;;;;;;;;-1:-1:-1;55752:6:0;;-1:-1:-1;;;;;55752:6:0;55679:87;;63681:100;;;;;;;;;;;;;:::i;40143:104::-;;;;;;;;;;;;;:::i;58814:37::-;;;;;;;;;;;;;;;;60914:229;;;;;;:::i;:::-;;:::i;41753:287::-;;;;;;;;;;-1:-1:-1;41753:287:0;;;;;:::i;:::-;;:::i;58763:44::-;;;;;;;;;;;;;;;;62635:160;;;;;;;;;;-1:-1:-1;62635:160:0;;;;;:::i;:::-;;:::i;42839:369::-;;;;;;;;;;-1:-1:-1;42839:369:0;;;;;:::i;:::-;;:::i;58967:28::-;;;;;;;;;;-1:-1:-1;58967:28:0;;;;;;;;61273:327;;;;;;;;;;-1:-1:-1;61273:327:0;;;;;:::i;:::-;;:::i;58858:46::-;;;;;;;;;;;;;;;;59002:26;;;;;;;;;;-1:-1:-1;59002:26:0;;;;;;;;;;;61608:113;;;;;;;;;;-1:-1:-1;61608:113:0;;;;;:::i;:::-;;:::i;59106:50::-;;;;;;;;;;-1:-1:-1;59106:50:0;;;;;:::i;:::-;;;;;;;;;;;;;;62804:172;;;;;;;;;;-1:-1:-1;62804:172:0;;;;;:::i;:::-;;:::i;59069:28::-;;;;;;;;;;;;;;;;59035:27;;;;;;;;;;-1:-1:-1;59035:27:0;;;;;;;;;;;42111:164;;;;;;;;;;-1:-1:-1;42111:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;42232:25:0;;;42208:4;42232:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;42111:164;58706:46;;;;;;;;;;;;58750:2;58706:46;;61729:185;;;;;;;;;;-1:-1:-1;61729:185:0;;;;;:::i;:::-;;:::i;56588:201::-;;;;;;;;;;-1:-1:-1;56588:201:0;;;;;:::i;:::-;;:::i;36861:305::-;36963:4;-1:-1:-1;;;;;;37000:40:0;;-1:-1:-1;;;37000:40:0;;:105;;-1:-1:-1;;;;;;;37057:48:0;;-1:-1:-1;;;37057:48:0;37000:105;:158;;;-1:-1:-1;;;;;;;;;;13171:40:0;;;37122:36;36980:178;36861:305;-1:-1:-1;;36861:305:0:o;39974:100::-;40028:13;40061:5;40054:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39974:100;:::o;41477:204::-;41545:7;41570:16;41578:7;41570;:16::i;:::-;41565:64;;41595:34;;-1:-1:-1;;;41595:34:0;;;;;;;;;;;41565:64;-1:-1:-1;41649:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;41649:24:0;;41477:204::o;41040:371::-;41113:13;41129:24;41145:7;41129:15;:24::i;:::-;41113:40;;41174:5;-1:-1:-1;;;;;41168:11:0;:2;-1:-1:-1;;;;;41168:11:0;;41164:48;;41188:24;;-1:-1:-1;;;41188:24:0;;;;;;;;;;;41164:48;32413:10;-1:-1:-1;;;;;41229:21:0;;;;;;:63;;-1:-1:-1;41255:37:0;41272:5;32413:10;42111:164;:::i;41255:37::-;41254:38;41229:63;41225:138;;;41316:35;;-1:-1:-1;;;41316:35:0;;;;;;;;;;;41225:138;41375:28;41384:2;41388:7;41397:5;41375:8;:28::i;:::-;41102:309;41040:371;;:::o;63789:106::-;55752:6;;-1:-1:-1;;;;;55752:6:0;32413:10;55899:23;55891:68;;;;-1:-1:-1;;;55891:68:0;;;;;;;:::i;:::-;;;;;;;;;63871:16:::1;::::0;;-1:-1:-1;;63851:36:0;::::1;63871:16;::::0;;::::1;63870:17;63851:36;::::0;;63789:106::o;42342:170::-;42476:28;42486:4;42492:2;42496:7;42476:9;:28::i;63282:178::-;55752:6;;-1:-1:-1;;;;;55752:6:0;32413:10;55899:23;55891:68;;;;-1:-1:-1;;;55891:68:0;;;;;;;:::i;:::-;63356:49:::1;::::0;63338:12:::1;::::0;63356:10:::1;::::0;63379:21:::1;::::0;63338:12;63356:49;63338:12;63356:49;63379:21;63356:10;:49:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;63337:68;;;63424:7;63416:36;;;::::0;-1:-1:-1;;;63416:36:0;;6526:2:1;63416:36:0::1;::::0;::::1;6508:21:1::0;6565:2;6545:18;;;6538:30;-1:-1:-1;;;6584:18:1;;;6577:46;6640:18;;63416:36:0::1;6324:340:1::0;63416:36:0::1;63326:134;63282:178::o:0;62338:102::-;55752:6;;-1:-1:-1;;;;;55752:6:0;32413:10;55899:23;55891:68;;;;-1:-1:-1;;;55891:68:0;;;;;;;:::i;:::-;62410:13:::1;:22:::0;62338:102::o;62126:204::-;55752:6;;-1:-1:-1;;;;;55752:6:0;32413:10;55899:23;55891:68;;;;-1:-1:-1;;;55891:68:0;;;;;;;:::i;:::-;62248:13:::1;58641:3;59522:9;59505:14;36553:7:::0;36739:13;;36506:283;59505:14:::1;:26;;;;:::i;:::-;:46;;59483:128;;;;-1:-1:-1::0;;;59483:128:0::1;;;;;;;:::i;:::-;62279:43:::2;62285:10;62297:13;62279:43;;;;;;;;;;;::::0;62316:5:::2;62279;:43::i;42583:185::-:0;42721:39;42738:4;42744:2;42748:7;42721:39;;;;;;;;;;;;:16;:39::i;63468:201::-;55752:6;;-1:-1:-1;;;;;55752:6:0;32413:10;55899:23;55891:68;;;;-1:-1:-1;;;55891:68:0;;;;;;;:::i;:::-;63565:12:::1;63582:8;-1:-1:-1::0;;;;;63582:13:0::1;63603:6;63582:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;63564:50;;;63633:7;63625:36;;;::::0;-1:-1:-1;;;63625:36:0;;6526:2:1;63625:36:0::1;::::0;::::1;6508:21:1::0;6565:2;6545:18;;;6538:30;-1:-1:-1;;;6584:18:1;;;6577:46;6640:18;;63625:36:0::1;6324:340:1::0;63168:106:0;55752:6;;-1:-1:-1;;;;;55752:6:0;32413:10;55899:23;55891:68;;;;-1:-1:-1;;;55891:68:0;;;;;;;:::i;:::-;63243:13:::1;:23;63259:7:::0;;63243:13;:23:::1;:::i;39782:125::-:0;39846:7;39873:21;39886:7;39873:12;:21::i;:::-;:26;;39782:125;-1:-1:-1;;39782:125:0:o;62985:175::-;55752:6;;-1:-1:-1;;;;;55752:6:0;32413:10;55899:23;55891:68;;;;-1:-1:-1;;;55891:68:0;;;;;;;:::i;:::-;63130:11:::1;:22:::0;62985:175::o;61924:194::-;55752:6;;-1:-1:-1;;;;;55752:6:0;32413:10;55899:23;55891:68;;;;-1:-1:-1;;;55891:68:0;;;;;;;:::i;:::-;61984:7:::1;::::0;;;::::1;;;61983:8;61975:41;;;::::0;-1:-1:-1;;;61975:41:0;;9961:2:1;61975:41:0::1;::::0;::::1;9943:21:1::0;10000:2;9980:18;;;9973:30;-1:-1:-1;;;10019:18:1;;;10012:50;10079:18;;61975:41:0::1;9759:344:1::0;61975:41:0::1;62045:42;58547;58750:2;62045:9;:42::i;:::-;62098:7;:14:::0;;-1:-1:-1;;62098:14:0::1;::::0;::::1;::::0;;61924:194::o;62448:174::-;55752:6;;-1:-1:-1;;;;;55752:6:0;32413:10;55899:23;55891:68;;;;-1:-1:-1;;;55891:68:0;;;;;;;:::i;:::-;62583:24:::1;:31:::0;62448:174::o;37230:206::-;37294:7;-1:-1:-1;;;;;37318:19:0;;37314:60;;37346:28;;-1:-1:-1;;;37346:28:0;;;;;;;;;;;37314:60;-1:-1:-1;;;;;;37400:19:0;;;;;:12;:19;;;;;:27;;;;37230:206::o;56330:103::-;55752:6;;-1:-1:-1;;;;;55752:6:0;32413:10;55899:23;55891:68;;;;-1:-1:-1;;;55891:68:0;;;;;;;:::i;:::-;56395:30:::1;56422:1;56395:18;:30::i;:::-;56330:103::o:0;60595:311::-;59343:9;59356:10;59343:23;59335:66;;;;-1:-1:-1;;;59335:66:0;;10668:2:1;59335:66:0;;;10650:21:1;10707:2;10687:18;;;10680:30;10746:32;10726:18;;;10719:60;10796:18;;59335:66:0;10466:354:1;59335:66:0;59711:14:::1;::::0;60707:9;;59711:14:::1;::::0;::::1;;;59703:51;;;::::0;-1:-1:-1;;;59703:51:0;;11027:2:1;59703:51:0::1;::::0;::::1;11009:21:1::0;11066:2;11046:18;;;11039:30;11105:26;11085:18;;;11078:54;11149:18;;59703:51:0::1;10825:348:1::0;59703:51:0::1;58695:3;59789:9;59773:13;;:25;;;;:::i;:::-;:46;;59765:105;;;::::0;-1:-1:-1;;;59765:105:0;;11380:2:1;59765:105:0::1;::::0;::::1;11362:21:1::0;11419:2;11399:18;;;11392:30;11458:34;11438:18;;;11431:62;-1:-1:-1;;;11509:18:1;;;11502:44;11563:19;;59765:105:0::1;11178:410:1::0;59765:105:0::1;59932:24;::::0;59905:10:::1;59889:27;::::0;;;:15:::1;:27;::::0;;;;;:39:::1;::::0;59919:9;;59889:39:::1;:::i;:::-;:67;;59881:116;;;::::0;-1:-1:-1;;;59881:116:0;;11795:2:1;59881:116:0::1;::::0;::::1;11777:21:1::0;11834:2;11814:18;;;11807:30;11873:34;11853:18;;;11846:62;-1:-1:-1;;;11924:18:1;;;11917:34;11968:19;;59881:116:0::1;11593:400:1::0;59881:116:0::1;60742:9:::2;58641:3;59522:9;59505:14;36553:7:::0;36739:13;;36506:283;59505:14:::2;:26;;;;:::i;:::-;:46;;59483:128;;;;-1:-1:-1::0;;;59483:128:0::2;;;;;;;:::i;:::-;60785:10:::3;60769:27;::::0;;;:15:::3;:27;::::0;;;;:40;;60800:9;;60769:27;:40:::3;::::0;60800:9;;60769:40:::3;:::i;:::-;;;;;;;;60837:9;60820:13;;:26;;;;;;;:::i;:::-;;;;;;;;60859:39;60865:10;60877:9;60859:39;;;;;;;;;;;::::0;60892:5:::3;60859;:39::i;63681:100::-:0;55752:6;;-1:-1:-1;;;;;55752:6:0;32413:10;55899:23;55891:68;;;;-1:-1:-1;;;55891:68:0;;;;;;;:::i;:::-;63759:14:::1;::::0;;-1:-1:-1;;63741:32:0;::::1;63759:14;::::0;;;::::1;;;63758:15;63741:32:::0;;::::1;;::::0;;63681:100::o;40143:104::-;40199:13;40232:7;40225:14;;;;;:::i;60914:229::-;59343:9;59356:10;59343:23;59335:66;;;;-1:-1:-1;;;59335:66:0;;10668:2:1;59335:66:0;;;10650:21:1;10707:2;10687:18;;;10680:30;10746:32;10726:18;;;10719:60;10796:18;;59335:66:0;10466:354:1;59335:66:0;60111:16:::1;::::0;61034:9;;60111:16:::1;;60103:54;;;::::0;-1:-1:-1;;;60103:54:0;;12200:2:1;60103:54:0::1;::::0;::::1;12182:21:1::0;12239:2;12219:18;;;12212:30;12278:27;12258:18;;;12251:55;12323:18;;60103:54:0::1;11998:349:1::0;60103:54:0::1;60203:9;60189:11;;:23;;;;:::i;:::-;60176:9;:36;;60168:71;;;::::0;-1:-1:-1;;;60168:71:0;;12727:2:1;60168:71:0::1;::::0;::::1;12709:21:1::0;12766:2;12746:18;;;12739:30;-1:-1:-1;;;12785:18:1;;;12778:52;12847:18;;60168:71:0::1;12525:346:1::0;60168:71:0::1;60270:1;60258:9;:13;:47;;;;;60288:17;;60275:9;:30;;60258:47;60250:80;;;::::0;-1:-1:-1;;;60250:80:0;;13078:2:1;60250:80:0::1;::::0;::::1;13060:21:1::0;13117:2;13097:18;;;13090:30;-1:-1:-1;;;13136:18:1;;;13129:50;13196:18;;60250:80:0::1;12876:344:1::0;60250:80:0::1;60433:26;::::0;60406:10:::1;60390:27;::::0;;;:15:::1;:27;::::0;;;;;;;;37614:12;:19;;;;;;:32;60420:9;;60363:54:::1;::::0;-1:-1:-1;;;37614:32:0;;;;60363:54:::1;:::i;:::-;:66;;;;:::i;:::-;:96;;60341:224;;;::::0;-1:-1:-1;;;60341:224:0;;13557:2:1;60341:224:0::1;::::0;::::1;13539:21:1::0;13596:2;13576:18;;;13569:30;13635:34;13615:18;;;13608:62;13706:34;13686:18;;;13679:62;-1:-1:-1;;;13757:19:1;;;13750:45;13812:19;;60341:224:0::1;13355:482:1::0;60341:224:0::1;61069:9:::2;58641:3;59522:9;59505:14;36553:7:::0;36739:13;;36506:283;59505:14:::2;:26;;;;:::i;:::-;:46;;59483:128;;;;-1:-1:-1::0;;;59483:128:0::2;;;;;;;:::i;:::-;61096:39:::3;61102:10;61114:9;61096:39;;;;;;;;;;;::::0;61129:5:::3;61096;:39::i;41753:287::-:0;32413:10;-1:-1:-1;;;;;41852:24:0;;;41848:54;;41885:17;;-1:-1:-1;;;41885:17:0;;;;;;;;;;;41848:54;32413:10;41915:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;41915:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;41915:53:0;;;;;;;;;;41984:48;;540:41:1;;;41915:42:0;;32413:10;41984:48;;513:18:1;41984:48:0;;;;;;;41753:287;;:::o;62635:160::-;55752:6;;-1:-1:-1;;;;;55752:6:0;32413:10;55899:23;55891:68;;;;-1:-1:-1;;;55891:68:0;;;;;;;:::i;:::-;62763:17:::1;:24:::0;62635:160::o;42839:369::-;43006:28;43016:4;43022:2;43026:7;43006:9;:28::i;:::-;-1:-1:-1;;;;;43049:13:0;;3251:19;:23;;43049:76;;;;;43069:56;43100:4;43106:2;43110:7;43119:5;43069:30;:56::i;:::-;43068:57;43049:76;43045:156;;;43149:40;;-1:-1:-1;;;43149:40:0;;;;;;;;;;;43045:156;42839:369;;;;:::o;61273:327::-;61346:13;61377:16;61385:7;61377;:16::i;:::-;61372:59;;61402:29;;-1:-1:-1;;;61402:29:0;;;;;;;;;;;61372:59;61444:21;61468:10;:8;:10::i;:::-;61444:34;;61502:7;61496:21;61521:1;61496:26;:96;;;;;;;;;;;;;;;;;61549:7;61558:18;:7;:16;:18::i;:::-;61532:54;;;;;;;;;:::i;:::-;;;;;;;;;;;;;61496:96;61489:103;61273:327;-1:-1:-1;;;61273:327:0:o;61608:113::-;-1:-1:-1;;;;;37614:19:0;;61666:7;37614:19;;;:12;:19;;;;;:32;-1:-1:-1;;;37614:32:0;;;;61693:20;37518:137;62804:172;55752:6;;-1:-1:-1;;;;;55752:6:0;32413:10;55899:23;55891:68;;;;-1:-1:-1;;;55891:68:0;;;;;;;:::i;:::-;62935:26:::1;:33:::0;62804:172::o;61729:185::-;55752:6;;-1:-1:-1;;;;;55752:6:0;32413:10;55899:23;55891:68;;;;-1:-1:-1;;;55891:68:0;;;;;;;:::i;:::-;61832:13:::1;58641:3;59522:9;59505:14;36553:7:::0;36739:13;;36506:283;59505:14:::1;:26;;;;:::i;:::-;:46;;59483:128;;;;-1:-1:-1::0;;;59483:128:0::1;;;;;;;:::i;:::-;61863:43:::2;61869:10;61881:13;61863:43;;;;;;;;;;;::::0;61900:5:::2;61863;:43::i;:::-;55970:1:::1;61729:185:::0;:::o;56588:201::-;55752:6;;-1:-1:-1;;;;;55752:6:0;32413:10;55899:23;55891:68;;;;-1:-1:-1;;;55891:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;56677:22:0;::::1;56669:73;;;::::0;-1:-1:-1;;;56669:73:0;;14686:2:1;56669:73:0::1;::::0;::::1;14668:21:1::0;14725:2;14705:18;;;14698:30;14764:34;14744:18;;;14737:62;-1:-1:-1;;;14815:18:1;;;14808:36;14861:19;;56669:73:0::1;14484:402:1::0;56669:73:0::1;56753:28;56772:8;56753:18;:28::i;2956:326::-:0;-1:-1:-1;;;;;3251:19:0;;:23;;;2956:326::o;43463:187::-;43520:4;43584:13;;43574:7;:23;43544:98;;;;-1:-1:-1;;43615:20:0;;;;:11;:20;;;;;:27;-1:-1:-1;;;43615:27:0;;;;43614:28;;43463:187::o;51633:196::-;51748:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;51748:29:0;-1:-1:-1;;;;;51748:29:0;;;;;;;;;51793:28;;51748:24;;51793:28;;;;;;;51633:196;;;:::o;46576:2130::-;46691:35;46729:21;46742:7;46729:12;:21::i;:::-;46691:59;;46789:4;-1:-1:-1;;;;;46767:26:0;:13;:18;;;-1:-1:-1;;;;;46767:26:0;;46763:67;;46802:28;;-1:-1:-1;;;46802:28:0;;;;;;;;;;;46763:67;46843:22;32413:10;-1:-1:-1;;;;;46869:20:0;;;;:73;;-1:-1:-1;46906:36:0;46923:4;32413:10;42111:164;:::i;46906:36::-;46869:126;;;-1:-1:-1;32413:10:0;46959:20;46971:7;46959:11;:20::i;:::-;-1:-1:-1;;;;;46959:36:0;;46869:126;46843:153;;47014:17;47009:66;;47040:35;;-1:-1:-1;;;47040:35:0;;;;;;;;;;;47009:66;-1:-1:-1;;;;;47090:16:0;;47086:52;;47115:23;;-1:-1:-1;;;47115:23:0;;;;;;;;;;;47086:52;47259:35;47276:1;47280:7;47289:4;47259:8;:35::i;:::-;-1:-1:-1;;;;;47590:18:0;;;;;;;:12;:18;;;;;;;;:31;;-1:-1:-1;;47590:31:0;;;;;;;-1:-1:-1;;47590:31:0;;;;;;;47636:16;;;;;;;;;:29;;;;;;;;-1:-1:-1;47636:29:0;;;;;;;;;;;47716:20;;;:11;:20;;;;;;47751:18;;-1:-1:-1;;;;;;47784:49:0;;;;-1:-1:-1;;;47817:15:0;47784:49;;;;;;;;;;48107:11;;48167:24;;;;;48210:13;;47716:20;;48167:24;;48210:13;48206:384;;48420:13;;48405:11;:28;48401:174;;48458:20;;48527:28;;;;48501:54;;-1:-1:-1;;;48501:54:0;-1:-1:-1;;;;;;48501:54:0;;;-1:-1:-1;;;;;48458:20:0;;48501:54;;;;48401:174;47565:1036;;;48637:7;48633:2;-1:-1:-1;;;;;48618:27:0;48627:4;-1:-1:-1;;;;;48618:27:0;;;;;;;;;;;48656:42;46680:2026;;46576:2130;;;:::o;44547:1775::-;44686:20;44709:13;-1:-1:-1;;;;;44737:16:0;;44733:48;;44762:19;;-1:-1:-1;;;44762:19:0;;;;;;;;;;;44733:48;44796:8;44808:1;44796:13;44792:44;;44818:18;;-1:-1:-1;;;44818:18:0;;;;;;;;;;;44792:44;-1:-1:-1;;;;;45187:16:0;;;;;;:12;:16;;;;;;;;:44;;-1:-1:-1;;45246:49:0;;45187:44;;;;;;;;45246:49;;;-1:-1:-1;;;;;45187:44:0;;;;;;45246:49;;;;;;;;;;;;;;;;45312:25;;;:11;:25;;;;;;:35;;-1:-1:-1;;;;;;45362:66:0;;;;-1:-1:-1;;;45412:15:0;45362:66;;;;;;;;;;45312:25;45509:23;;;45553:4;:23;;;;-1:-1:-1;;;;;;45561:13:0;;3251:19;:23;;45561:15;45549:641;;;45597:314;45628:38;;45653:12;;-1:-1:-1;;;;;45628:38:0;;;45645:1;;45628:38;;45645:1;;45628:38;45694:69;45733:1;45737:2;45741:14;;;;;;45757:5;45694:30;:69::i;:::-;45689:174;;45799:40;;-1:-1:-1;;;45799:40:0;;;;;;;;;;;45689:174;45906:3;45890:12;:19;45597:314;;45992:12;45975:13;;:29;45971:43;;46006:8;;;45971:43;45549:641;;;46055:120;46086:40;;46111:14;;;;;-1:-1:-1;;;;;46086:40:0;;;46103:1;;46086:40;;46103:1;;46086:40;46170:3;46154:12;:19;46055:120;;45549:641;-1:-1:-1;46204:13:0;:28;46254:60;42839:369;38611:1109;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;38722:7:0;38805:13;;38798:4;:20;38767:886;;;38839:31;38873:17;;;:11;:17;;;;;;;;;38839:51;;;;;;;;;-1:-1:-1;;;;;38839:51:0;;;;-1:-1:-1;;;38839:51:0;;;;;;;;;;;-1:-1:-1;;;38839:51:0;;;;;;;;;;;;;;38909:729;;38959:14;;-1:-1:-1;;;;;38959:28:0;;38955:101;;39023:9;38611:1109;-1:-1:-1;;;38611:1109:0:o;38955:101::-;-1:-1:-1;;;39398:6:0;39443:17;;;;:11;:17;;;;;;;;;39431:29;;;;;;;;;-1:-1:-1;;;;;39431:29:0;;;;;-1:-1:-1;;;39431:29:0;;;;;;;;;;;-1:-1:-1;;;39431:29:0;;;;;;;;;;;;;39491:28;39487:109;;39559:9;38611:1109;-1:-1:-1;;;38611:1109:0:o;39487:109::-;39358:261;;;38820:833;38767:886;39681:31;;-1:-1:-1;;;39681:31:0;;;;;;;;;;;43658:104;43727:27;43737:2;43741:8;43727:27;;;;;;;;;;;;:9;:27::i;56949:191::-;57042:6;;;-1:-1:-1;;;;;57059:17:0;;;-1:-1:-1;;;;;;57059:17:0;;;;;;;57092:40;;57042:6;;;57059:17;57042:6;;57092:40;;57023:16;;57092:40;57012:128;56949:191;:::o;52321:667::-;52505:72;;-1:-1:-1;;;52505:72:0;;52484:4;;-1:-1:-1;;;;;52505:36:0;;;;;:72;;32413:10;;52556:4;;52562:7;;52571:5;;52505:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;52505:72:0;;;;;;;;-1:-1:-1;;52505:72:0;;;;;;;;;;;;:::i;:::-;;;52501:480;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52739:6;:13;52756:1;52739:18;52735:235;;52785:40;;-1:-1:-1;;;52785:40:0;;;;;;;;;;;52735:235;52928:6;52922:13;52913:6;52909:2;52905:15;52898:38;52501:480;-1:-1:-1;;;;;;52624:55:0;-1:-1:-1;;;52624:55:0;;-1:-1:-1;52501:480:0;52321:667;;;;;;:::o;61151:114::-;61211:13;61244;61237:20;;;;;:::i;20361:723::-;20417:13;20638:5;20647:1;20638:10;20634:53;;-1:-1:-1;;20665:10:0;;;;;;;;;;;;-1:-1:-1;;;20665:10:0;;;;;20361:723::o;20634:53::-;20712:5;20697:12;20753:78;20760:9;;20753:78;;20786:8;;;;:::i;:::-;;-1:-1:-1;20809:10:0;;-1:-1:-1;20817:2:0;20809:10;;:::i;:::-;;;20753:78;;;20841:19;20873:6;20863:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;20863:17:0;;20841:39;;20891:154;20898:10;;20891:154;;20925:11;20935:1;20925:11;;:::i;:::-;;-1:-1:-1;20994:10:0;21002:2;20994:5;:10;:::i;:::-;20981:24;;:2;:24;:::i;:::-;20968:39;;20951:6;20958;20951:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;20951:56:0;;;;;;;;-1:-1:-1;21022:11:0;21031:2;21022:11;;:::i;:::-;;;20891:154;;44125:163;44248:32;44254:2;44258:8;44268:5;44275:4;44248:5;:32::i;14:131:1:-;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:258::-;664:1;674:113;688:6;685:1;682:13;674:113;;;764:11;;;758:18;745:11;;;738:39;710:2;703:10;674:113;;;805:6;802:1;799:13;796:48;;;-1:-1:-1;;840:1:1;822:16;;815:27;592:258::o;855:::-;897:3;935:5;929:12;962:6;957:3;950:19;978:63;1034:6;1027:4;1022:3;1018:14;1011:4;1004:5;1000:16;978:63;:::i;:::-;1095:2;1074:15;-1:-1:-1;;1070:29:1;1061:39;;;;1102:4;1057:50;;855:258;-1:-1:-1;;855:258:1:o;1118:220::-;1267:2;1256:9;1249:21;1230:4;1287:45;1328:2;1317:9;1313:18;1305:6;1287:45;:::i;1343:180::-;1402:6;1455:2;1443:9;1434:7;1430:23;1426:32;1423:52;;;1471:1;1468;1461:12;1423:52;-1:-1:-1;1494:23:1;;1343:180;-1:-1:-1;1343:180:1:o;1736:173::-;1804:20;;-1:-1:-1;;;;;1853:31:1;;1843:42;;1833:70;;1899:1;1896;1889:12;1833:70;1736:173;;;:::o;1914:254::-;1982:6;1990;2043:2;2031:9;2022:7;2018:23;2014:32;2011:52;;;2059:1;2056;2049:12;2011:52;2082:29;2101:9;2082:29;:::i;:::-;2072:39;2158:2;2143:18;;;;2130:32;;-1:-1:-1;;;1914:254:1:o;2355:328::-;2432:6;2440;2448;2501:2;2489:9;2480:7;2476:23;2472:32;2469:52;;;2517:1;2514;2507:12;2469:52;2540:29;2559:9;2540:29;:::i;:::-;2530:39;;2588:38;2622:2;2611:9;2607:18;2588:38;:::i;:::-;2578:48;;2673:2;2662:9;2658:18;2645:32;2635:42;;2355:328;;;;;:::o;2688:592::-;2759:6;2767;2820:2;2808:9;2799:7;2795:23;2791:32;2788:52;;;2836:1;2833;2826:12;2788:52;2876:9;2863:23;2905:18;2946:2;2938:6;2935:14;2932:34;;;2962:1;2959;2952:12;2932:34;3000:6;2989:9;2985:22;2975:32;;3045:7;3038:4;3034:2;3030:13;3026:27;3016:55;;3067:1;3064;3057:12;3016:55;3107:2;3094:16;3133:2;3125:6;3122:14;3119:34;;;3149:1;3146;3139:12;3119:34;3194:7;3189:2;3180:6;3176:2;3172:15;3168:24;3165:37;3162:57;;;3215:1;3212;3205:12;3162:57;3246:2;3238:11;;;;;3268:6;;-1:-1:-1;2688:592:1;;-1:-1:-1;;;;2688:592:1:o;3285:186::-;3344:6;3397:2;3385:9;3376:7;3372:23;3368:32;3365:52;;;3413:1;3410;3403:12;3365:52;3436:29;3455:9;3436:29;:::i;3476:347::-;3541:6;3549;3602:2;3590:9;3581:7;3577:23;3573:32;3570:52;;;3618:1;3615;3608:12;3570:52;3641:29;3660:9;3641:29;:::i;:::-;3631:39;;3720:2;3709:9;3705:18;3692:32;3767:5;3760:13;3753:21;3746:5;3743:32;3733:60;;3789:1;3786;3779:12;3733:60;3812:5;3802:15;;;3476:347;;;;;:::o;3828:127::-;3889:10;3884:3;3880:20;3877:1;3870:31;3920:4;3917:1;3910:15;3944:4;3941:1;3934:15;3960:1138;4055:6;4063;4071;4079;4132:3;4120:9;4111:7;4107:23;4103:33;4100:53;;;4149:1;4146;4139:12;4100:53;4172:29;4191:9;4172:29;:::i;:::-;4162:39;;4220:38;4254:2;4243:9;4239:18;4220:38;:::i;:::-;4210:48;;4305:2;4294:9;4290:18;4277:32;4267:42;;4360:2;4349:9;4345:18;4332:32;4383:18;4424:2;4416:6;4413:14;4410:34;;;4440:1;4437;4430:12;4410:34;4478:6;4467:9;4463:22;4453:32;;4523:7;4516:4;4512:2;4508:13;4504:27;4494:55;;4545:1;4542;4535:12;4494:55;4581:2;4568:16;4603:2;4599;4596:10;4593:36;;;4609:18;;:::i;:::-;4684:2;4678:9;4652:2;4738:13;;-1:-1:-1;;4734:22:1;;;4758:2;4730:31;4726:40;4714:53;;;4782:18;;;4802:22;;;4779:46;4776:72;;;4828:18;;:::i;:::-;4868:10;4864:2;4857:22;4903:2;4895:6;4888:18;4943:7;4938:2;4933;4929;4925:11;4921:20;4918:33;4915:53;;;4964:1;4961;4954:12;4915:53;5020:2;5015;5011;5007:11;5002:2;4994:6;4990:15;4977:46;5065:1;5060:2;5055;5047:6;5043:15;5039:24;5032:35;5086:6;5076:16;;;;;;;3960:1138;;;;;;;:::o;5103:260::-;5171:6;5179;5232:2;5220:9;5211:7;5207:23;5203:32;5200:52;;;5248:1;5245;5238:12;5200:52;5271:29;5290:9;5271:29;:::i;:::-;5261:39;;5319:38;5353:2;5342:9;5338:18;5319:38;:::i;:::-;5309:48;;5103:260;;;;;:::o;5368:380::-;5447:1;5443:12;;;;5490;;;5511:61;;5565:4;5557:6;5553:17;5543:27;;5511:61;5618:2;5610:6;5607:14;5587:18;5584:38;5581:161;;5664:10;5659:3;5655:20;5652:1;5645:31;5699:4;5696:1;5689:15;5727:4;5724:1;5717:15;5581:161;;5368:380;;;:::o;5753:356::-;5955:2;5937:21;;;5974:18;;;5967:30;6033:34;6028:2;6013:18;;6006:62;6100:2;6085:18;;5753:356::o;6669:127::-;6730:10;6725:3;6721:20;6718:1;6711:31;6761:4;6758:1;6751:15;6785:4;6782:1;6775:15;6801:128;6841:3;6872:1;6868:6;6865:1;6862:13;6859:39;;;6878:18;;:::i;:::-;-1:-1:-1;6914:9:1;;6801:128::o;6934:356::-;7136:2;7118:21;;;7155:18;;;7148:30;7214:34;7209:2;7194:18;;7187:62;7281:2;7266:18;;6934:356::o;7421:545::-;7523:2;7518:3;7515:11;7512:448;;;7559:1;7584:5;7580:2;7573:17;7629:4;7625:2;7615:19;7699:2;7687:10;7683:19;7680:1;7676:27;7670:4;7666:38;7735:4;7723:10;7720:20;7717:47;;;-1:-1:-1;7758:4:1;7717:47;7813:2;7808:3;7804:12;7801:1;7797:20;7791:4;7787:31;7777:41;;7868:82;7886:2;7879:5;7876:13;7868:82;;;7931:17;;;7912:1;7901:13;7868:82;;;7872:3;;;7421:545;;;:::o;8142:1206::-;8266:18;8261:3;8258:27;8255:53;;;8288:18;;:::i;:::-;8317:94;8407:3;8367:38;8399:4;8393:11;8367:38;:::i;:::-;8361:4;8317:94;:::i;:::-;8437:1;8462:2;8457:3;8454:11;8479:1;8474:616;;;;9134:1;9151:3;9148:93;;;-1:-1:-1;9207:19:1;;;9194:33;9148:93;-1:-1:-1;;8099:1:1;8095:11;;;8091:24;8087:29;8077:40;8123:1;8119:11;;;8074:57;9254:78;;8447:895;;8474:616;7368:1;7361:14;;;7405:4;7392:18;;-1:-1:-1;;8510:17:1;;;8611:9;8633:229;8647:7;8644:1;8641:14;8633:229;;;8736:19;;;8723:33;8708:49;;8843:4;8828:20;;;;8796:1;8784:14;;;;8663:12;8633:229;;;8637:3;8890;8881:7;8878:16;8875:159;;;9014:1;9010:6;9004:3;8998;8995:1;8991:11;8987:21;8983:34;8979:39;8966:9;8961:3;8957:19;8944:33;8940:79;8932:6;8925:95;8875:159;;;9077:1;9071:3;9068:1;9064:11;9060:19;9054:4;9047:33;8447:895;;8142:1206;;;:::o;12352:168::-;12392:7;12458:1;12454;12450:6;12446:14;12443:1;12440:21;12435:1;12428:9;12421:17;12417:45;12414:71;;;12465:18;;:::i;:::-;-1:-1:-1;12505:9:1;;12352:168::o;13225:125::-;13265:4;13293:1;13290;13287:8;13284:34;;;13298:18;;:::i;:::-;-1:-1:-1;13335:9:1;;13225:125::o;13842:637::-;14122:3;14160:6;14154:13;14176:53;14222:6;14217:3;14210:4;14202:6;14198:17;14176:53;:::i;:::-;14292:13;;14251:16;;;;14314:57;14292:13;14251:16;14348:4;14336:17;;14314:57;:::i;:::-;-1:-1:-1;;;14393:20:1;;14422:22;;;14471:1;14460:13;;13842:637;-1:-1:-1;;;;13842:637:1:o;14891:489::-;-1:-1:-1;;;;;15160:15:1;;;15142:34;;15212:15;;15207:2;15192:18;;15185:43;15259:2;15244:18;;15237:34;;;15307:3;15302:2;15287:18;;15280:31;;;15085:4;;15328:46;;15354:19;;15346:6;15328:46;:::i;:::-;15320:54;14891:489;-1:-1:-1;;;;;;14891:489:1:o;15385:249::-;15454:6;15507:2;15495:9;15486:7;15482:23;15478:32;15475:52;;;15523:1;15520;15513:12;15475:52;15555:9;15549:16;15574:30;15598:5;15574:30;:::i;15639:135::-;15678:3;15699:17;;;15696:43;;15719:18;;:::i;:::-;-1:-1:-1;15766:1:1;15755:13;;15639:135::o;15779:127::-;15840:10;15835:3;15831:20;15828:1;15821:31;15871:4;15868:1;15861:15;15895:4;15892:1;15885:15;15911:120;15951:1;15977;15967:35;;15982:18;;:::i;:::-;-1:-1:-1;16016:9:1;;15911:120::o;16036:112::-;16068:1;16094;16084:35;;16099:18;;:::i;:::-;-1:-1:-1;16133:9:1;;16036:112::o;16153:127::-;16214:10;16209:3;16205:20;16202:1;16195:31;16245:4;16242:1;16235:15;16269:4;16266:1;16259:15
Swarm Source
ipfs://5b01931f57699c38871d976814890dda340e4d6475f6615f08f97215c7e3dd37
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.