ERC-721
Overview
Max Total Supply
1,111 PO
Holders
620
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 POLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
PotAItoz
Compiler Version
v0.8.7+commit.e28d00a7
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-07-21 */ // File: contracts/Potatoai.sol /** *Submitted for verification at Etherscan.io on 2022-07-19 */ // File: contracts/trest.sol //SPDX-License-Identifier: MIT // File: @openzeppelin/contracts/security/ReentrancyGuard.sol // OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } } // File: @openzeppelin/contracts/utils/Strings.sol // OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @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); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } } // File: @openzeppelin/contracts/utils/Address.sol // OpenZeppelin Contracts (last updated v4.7.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 /// @solidity memory-safe-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.7.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 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/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: ERC721A.sol // Creator: Chiru Labs pragma solidity ^0.8.4; error ApprovalCallerNotOwnerNorApproved(); error ApprovalQueryForNonexistentToken(); error ApproveToCaller(); error ApprovalToCurrentOwner(); error BalanceQueryForZeroAddress(); error MintedQueryForZeroAddress(); error BurnedQueryForZeroAddress(); error AuxQueryForZeroAddress(); error MintToZeroAddress(); error MintZeroQuantity(); error OwnerIndexOutOfBounds(); error OwnerQueryForNonexistentToken(); error TokenIndexOutOfBounds(); 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) { if (owner == address(0)) revert MintedQueryForZeroAddress(); 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) { if (owner == address(0)) revert BurnedQueryForZeroAddress(); 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) { if (owner == address(0)) revert AuxQueryForZeroAddress(); 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 { if (owner == address(0)) revert AuxQueryForZeroAddress(); _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 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); bool isApprovedOrOwner = (_msgSender() == prevOwnership.addr || isApprovedForAll(prevOwnership.addr, _msgSender()) || getApproved(tokenId) == _msgSender()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); if (prevOwnership.addr != from) revert TransferFromIncorrectOwner(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, prevOwnership.addr); // 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; _ownerships[tokenId].addr = to; _ownerships[tokenId].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; if (_ownerships[nextTokenId].addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId < _currentIndex) { _ownerships[nextTokenId].addr = prevOwnership.addr; _ownerships[nextTokenId].startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { TokenOwnership memory prevOwnership = ownershipOf(tokenId); _beforeTokenTransfers(prevOwnership.addr, address(0), tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, prevOwnership.addr); // 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[prevOwnership.addr].balance -= 1; _addressData[prevOwnership.addr].numberBurned += 1; // Keep track of who burned the token, and the timestamp of burning. _ownerships[tokenId].addr = prevOwnership.addr; _ownerships[tokenId].startTimestamp = uint64(block.timestamp); _ownerships[tokenId].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; if (_ownerships[nextTokenId].addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId < _currentIndex) { _ownerships[nextTokenId].addr = prevOwnership.addr; _ownerships[nextTokenId].startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(prevOwnership.addr, address(0), tokenId); _afterTokenTransfers(prevOwnership.addr, 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 (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } pragma solidity ^0.8.2; contract PotAItoz is ERC721A, Ownable, ReentrancyGuard { enum Status { Waiting, Started, Finished } using Strings for uint256; bool public isPublicSaleActive = false; string private baseURI = "ipfs://QmdJ9BmPkQdKTBUigxbmrg4Spr4vhUaYtjz3yjhRsaD4JK/"; uint256 public constant MAX_MINT_PER_ADDR = 5; uint256 public constant MAX_FREE_MINT_PER_ADDR = 1; uint256 public PUBLIC_PRICE = 0.0069 * 10**18; uint256 public constant MAX_SUPPLY = 1111; uint256 public constant FREE_MINT_SUPPLY = 500; uint256 public INSTANT_FREE_MINTED = 1; event Minted(address minter, uint256 amount); constructor(string memory initBaseURI) ERC721A("Pot-AI-toz", "PO") { baseURI = initBaseURI; _safeMint(msg.sender, MAX_FREE_MINT_PER_ADDR); } function _baseURI() internal view override returns (string memory) { return baseURI; } function _startTokenId() internal view virtual override returns (uint256) { return 1; } function tokenURI(uint256 _tokenId) public view virtual override returns (string memory) { require( _exists(_tokenId), "ERC721Metadata: URI query for nonexistent token" ); return string( abi.encodePacked(baseURI, "/", _tokenId.toString(), ".json") ); } function setBaseURI(string calldata newBaseURI) external onlyOwner { baseURI = newBaseURI; } function mint(uint256 quantity) external payable nonReentrant { require(isPublicSaleActive, "Public sale is not open"); require(tx.origin == msg.sender, "-Contract call not allowed-"); require( numberMinted(msg.sender) + quantity <= MAX_MINT_PER_ADDR, "-This is more than allowed-" ); require( totalSupply() + quantity <= MAX_SUPPLY, "-Not enough quantity-" ); uint256 _cost; if (INSTANT_FREE_MINTED < FREE_MINT_SUPPLY) { uint256 remainFreeAmont = (numberMinted(msg.sender) < MAX_FREE_MINT_PER_ADDR) ? (MAX_FREE_MINT_PER_ADDR - numberMinted(msg.sender)) : 0; _cost = PUBLIC_PRICE * ( (quantity <= remainFreeAmont) ? 0 : (quantity - remainFreeAmont) ); INSTANT_FREE_MINTED += ( (quantity <= remainFreeAmont) ? quantity : remainFreeAmont ); } else { _cost = PUBLIC_PRICE * quantity; } require(msg.value >= _cost, "-Not enough ETH-"); _safeMint(msg.sender, quantity); emit Minted(msg.sender, quantity); } function numberMinted(address owner) public view returns (uint256) { return _numberMinted(owner); } function setIsPublicSaleActive(bool _isPublicSaleActive) external onlyOwner { isPublicSaleActive = _isPublicSaleActive; } function withdraw(address payable recipient) external onlyOwner nonReentrant { uint256 balance = address(this).balance; (bool success, ) = recipient.call{value: balance}(""); require(success, "-Withdraw failed-"); } function updatePrice(uint256 __price) external onlyOwner { PUBLIC_PRICE = __price; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"initBaseURI","type":"string"}],"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":"MintedQueryForZeroAddress","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"},{"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":false,"internalType":"address","name":"minter","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Minted","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":"FREE_MINT_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"INSTANT_FREE_MINTED","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_FREE_MINT_PER_ADDR","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_MINT_PER_ADDR","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PUBLIC_PRICE","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":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPublicSaleActive","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":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_isPublicSaleActive","type":"bool"}],"name":"setIsPublicSaleActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"__price","type":"uint256"}],"name":"updatePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"recipient","type":"address"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
600a805460ff1916905560e060405260366080818152906200247b60a03980516200003391600b9160209091019062000487565b506618838370f34000600c556001600d553480156200005157600080fd5b50604051620024d1380380620024d1833981016040819052620000749162000560565b6040518060400160405280600a8152602001692837ba16a0a496ba37bd60b11b81525060405180604001604052806002815260200161504f60f01b8152508160029080519060200190620000ca92919062000487565b508051620000e090600390602084019062000487565b5050600160005550620000f33362000122565b600160095580516200010d90600b90602084019062000487565b506200011b33600162000174565b50620006f0565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b620001968282604051806020016040528060008152506200019a60201b60201c565b5050565b620001a98383836001620001ae565b505050565b6000546001600160a01b038516620001d857604051622e076360e81b815260040160405180910390fd5b83620001f75760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260056020908152604080832080546001600160801b031981166001600160401b038083168c018116918217680100000000000000006001600160401b031990941690921783900481168c01811690920217909155858452600490925290912080546001600160e01b031916909217600160a01b429092169190910217905580808501838015620002b05750620002b0876001600160a01b03166200037760201b62000e2d1760201c565b1562000330575b60405182906001600160a01b03891690600090600080516020620024b1833981519152908290a46001820191620002f49060009089908862000386565b62000312576040516368d2bf6b60e11b815260040160405180910390fd5b80821415620002b75782600054146200032a57600080fd5b62000366565b5b6040516001830192906001600160a01b03891690600090600080516020620024b1833981519152908290a48082141562000331575b506000555050505050565b50505050565b6001600160a01b03163b151590565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290620003bd90339089908890889060040162000618565b602060405180830381600087803b158015620003d857600080fd5b505af19250505080156200040b575060408051601f3d908101601f1916820190925262000408918101906200052d565b60015b6200046a573d8080156200043c576040519150601f19603f3d011682016040523d82523d6000602084013e62000441565b606091505b50805162000462576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b82805462000495906200069d565b90600052602060002090601f016020900481019282620004b9576000855562000504565b82601f10620004d457805160ff191683800117855562000504565b8280016001018555821562000504579182015b8281111562000504578251825591602001919060010190620004e7565b506200051292915062000516565b5090565b5b8082111562000512576000815560010162000517565b6000602082840312156200054057600080fd5b81516001600160e01b0319811681146200055957600080fd5b9392505050565b6000602082840312156200057357600080fd5b81516001600160401b03808211156200058b57600080fd5b818401915084601f830112620005a057600080fd5b815181811115620005b557620005b5620006da565b604051601f8201601f19908116603f01168101908382118183101715620005e057620005e0620006da565b81604052828152876020848701011115620005fa57600080fd5b6200060d8360208301602088016200066e565b979650505050505050565b600060018060a01b038087168352808616602084015250836040830152608060608301528251806080840152620006578160a08501602087016200066e565b601f01601f19169190910160a00195945050505050565b60005b838110156200068b57818101518382015260200162000671565b83811115620003715750506000910152565b600181811c90821680620006b257607f821691505b60208210811415620006d457634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b611d7b80620007006000396000f3fe6080604052600436106101cd5760003560e01c80636352211e116100f757806395d89b4111610095578063c87b56dd11610064578063c87b56dd146104e5578063dc33e68114610505578063e985e9c514610525578063f2fde38b1461056e57600080fd5b806395d89b411461047d578063a0712d6814610492578063a22cb465146104a5578063b88d4fde146104c557600080fd5b8063715018a6116100d1578063715018a61461041457806382481c0e146104295780638d6cc56d1461043f5780638da5cb5b1461045f57600080fd5b80636352211e146103be57806363eb8bb6146103de57806370a08231146103f457600080fd5b80631e84c4131161016f57806342842e0e1161013e57806342842e0e1461034857806351cff8d91461036857806355f804b314610388578063611f3f10146103a857600080fd5b80631e84c413146102d857806323b872dd146102f257806328cad13d1461031257806332cb6b0c1461033257600080fd5b8063081812fc116101ab578063081812fc1461024c578063095ea7b31461028457806316154862146102a657806318160ddd146102bb57600080fd5b806301ffc9a7146101d25780630528eb431461020757806306fdde031461022a575b600080fd5b3480156101de57600080fd5b506101f26101ed3660046119a2565b61058e565b60405190151581526020015b60405180910390f35b34801561021357600080fd5b5061021c600181565b6040519081526020016101fe565b34801561023657600080fd5b5061023f6105e0565b6040516101fe9190611bb7565b34801561025857600080fd5b5061026c610267366004611a4e565b610672565b6040516001600160a01b0390911681526020016101fe565b34801561029057600080fd5b506102a461029f36600461195b565b6106b6565b005b3480156102b257600080fd5b5061021c600581565b3480156102c757600080fd5b50600154600054036000190161021c565b3480156102e457600080fd5b50600a546101f29060ff1681565b3480156102fe57600080fd5b506102a461030d366004611805565b610744565b34801561031e57600080fd5b506102a461032d366004611987565b61074f565b34801561033e57600080fd5b5061021c61045781565b34801561035457600080fd5b506102a4610363366004611805565b61076a565b34801561037457600080fd5b506102a46103833660046117a8565b610785565b34801561039457600080fd5b506102a46103a33660046119dc565b61088b565b3480156103b457600080fd5b5061021c600c5481565b3480156103ca57600080fd5b5061026c6103d9366004611a4e565b61089f565b3480156103ea57600080fd5b5061021c6101f481565b34801561040057600080fd5b5061021c61040f3660046117a8565b6108b1565b34801561042057600080fd5b506102a4610900565b34801561043557600080fd5b5061021c600d5481565b34801561044b57600080fd5b506102a461045a366004611a4e565b610914565b34801561046b57600080fd5b506008546001600160a01b031661026c565b34801561048957600080fd5b5061023f610921565b6102a46104a0366004611a4e565b610930565b3480156104b157600080fd5b506102a46104c0366004611926565b610c21565b3480156104d157600080fd5b506102a46104e0366004611846565b610cb7565b3480156104f157600080fd5b5061023f610500366004611a4e565b610d08565b34801561051157600080fd5b5061021c6105203660046117a8565b610da9565b34801561053157600080fd5b506101f26105403660046117cc565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561057a57600080fd5b506102a46105893660046117a8565b610db4565b60006001600160e01b031982166380ac58cd60e01b14806105bf57506001600160e01b03198216635b5e139f60e01b145b806105da57506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600280546105ef90611c58565b80601f016020809104026020016040519081016040528092919081815260200182805461061b90611c58565b80156106685780601f1061063d57610100808354040283529160200191610668565b820191906000526020600020905b81548152906001019060200180831161064b57829003601f168201915b5050505050905090565b600061067d82610e3c565b61069a576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006106c18261089f565b9050806001600160a01b0316836001600160a01b031614156106f65760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b0382161480159061071657506107148133610540565b155b15610734576040516367d9dca160e11b815260040160405180910390fd5b61073f838383610e75565b505050565b61073f838383610ed1565b6107576110e7565b600a805460ff1916911515919091179055565b61073f83838360405180602001604052806000815250610cb7565b61078d6110e7565b600260095414156107e55760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064015b60405180910390fd5b600260095560405147906000906001600160a01b0384169083908381818185875af1925050503d8060008114610837576040519150601f19603f3d011682016040523d82523d6000602084013e61083c565b606091505b50509050806108815760405162461bcd60e51b81526020600482015260116024820152702d5769746864726177206661696c65642d60781b60448201526064016107dc565b5050600160095550565b6108936110e7565b61073f600b83836116fa565b60006108aa82611141565b5192915050565b60006001600160a01b0382166108da576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6109086110e7565b610912600061126a565b565b61091c6110e7565b600c55565b6060600380546105ef90611c58565b600260095414156109835760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016107dc565b6002600955600a5460ff166109da5760405162461bcd60e51b815260206004820152601760248201527f5075626c69632073616c65206973206e6f74206f70656e00000000000000000060448201526064016107dc565b323314610a295760405162461bcd60e51b815260206004820152601b60248201527f2d436f6e74726163742063616c6c206e6f7420616c6c6f7765642d000000000060448201526064016107dc565b600581610a3533610da9565b610a3f9190611bca565b1115610a8d5760405162461bcd60e51b815260206004820152601b60248201527f2d54686973206973206d6f7265207468616e20616c6c6f7765642d000000000060448201526064016107dc565b6001546000546104579183910360001901610aa89190611bca565b1115610aee5760405162461bcd60e51b81526020600482015260156024820152742d4e6f7420656e6f756768207175616e746974792d60581b60448201526064016107dc565b60006101f4600d541015610b815760006001610b0933610da9565b10610b15576000610b29565b610b1e33610da9565b610b29906001611c15565b905080831115610b4257610b3d8184611c15565b610b45565b60005b600c54610b529190611bf6565b915080831115610b625780610b64565b825b600d6000828254610b759190611bca565b90915550610b92915050565b81600c54610b8f9190611bf6565b90505b80341015610bd55760405162461bcd60e51b815260206004820152601060248201526f2d4e6f7420656e6f756768204554482d60801b60448201526064016107dc565b610bdf33836112bc565b60408051338152602081018490527f30385c845b448a36257a6a1716e6ad2e1bc2cbe333cde1e69fe849ad6511adfe910160405180910390a150506001600955565b6001600160a01b038216331415610c4b5760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610cc2848484610ed1565b6001600160a01b0383163b15158015610ce45750610ce2848484846112da565b155b15610d02576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060610d1382610e3c565b610d775760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016107dc565b600b610d82836113d2565b604051602001610d93929190611aaf565b6040516020818303038152906040529050919050565b60006105da826114d0565b610dbc6110e7565b6001600160a01b038116610e215760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107dc565b610e2a8161126a565b50565b6001600160a01b03163b151590565b600081600111158015610e50575060005482105b80156105da575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000610edc82611141565b80519091506000906001600160a01b0316336001600160a01b03161480610f0a57508151610f0a9033610540565b80610f25575033610f1a84610672565b6001600160a01b0316145b905080610f4557604051632ce44b5f60e11b815260040160405180910390fd5b846001600160a01b031682600001516001600160a01b031614610f7a5760405162a1148160e81b815260040160405180910390fd5b6001600160a01b038416610fa157604051633a954ecd60e21b815260040160405180910390fd5b610fb16000848460000151610e75565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff1980821667ffffffffffffffff92831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b42909216919091021790925590860180835291205490911661109d5760005481101561109d578251600082815260046020908152604090912080549186015167ffffffffffffffff16600160a01b026001600160e01b03199092166001600160a01b03909316929092171790555b5082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b6008546001600160a01b031633146109125760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107dc565b60408051606081018252600080825260208201819052918101919091528180600111158015611171575060005481105b1561125157600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b810467ffffffffffffffff1692820192909252600160e01b90910460ff1615159181018290529061124f5780516001600160a01b0316156111e5579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b820467ffffffffffffffff1693830193909352600160e01b900460ff161515928101929092521561124a579392505050565b6111e5565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6112d6828260405180602001604052806000815250611526565b5050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029061130f903390899088908890600401611b7a565b602060405180830381600087803b15801561132957600080fd5b505af1925050508015611359575060408051601f3d908101601f19168201909252611356918101906119bf565b60015b6113b4573d808015611387576040519150601f19603f3d011682016040523d82523d6000602084013e61138c565b606091505b5080516113ac576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060816113f65750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611420578061140a81611c93565b91506114199050600a83611be2565b91506113fa565b60008167ffffffffffffffff81111561143b5761143b611d04565b6040519080825280601f01601f191660200182016040528015611465576020820181803683370190505b5090505b84156113ca5761147a600183611c15565b9150611487600a86611cae565b611492906030611bca565b60f81b8183815181106114a7576114a7611cee565b60200101906001600160f81b031916908160001a9053506114c9600a86611be2565b9450611469565b60006001600160a01b0382166114f9576040516335ebb31960e01b815260040160405180910390fd5b506001600160a01b0316600090815260056020526040902054600160401b900467ffffffffffffffff1690565b61073f83838360016000546001600160a01b03851661155757604051622e076360e81b815260040160405180910390fd5b836115755760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260056020908152604080832080546fffffffffffffffffffffffffffffffff19811667ffffffffffffffff8083168c018116918217600160401b67ffffffffffffffff1990941690921783900481168c01811690920217909155858452600490925290912080546001600160e01b031916909217600160a01b42909216919091021790558080850183801561162257506001600160a01b0387163b15155b156116ab575b60405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a461167360008884806001019550886112da565b611690576040516368d2bf6b60e11b815260040160405180910390fd5b808214156116285782600054146116a657600080fd5b6116f1565b5b6040516001830192906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808214156116ac575b506000556110e0565b82805461170690611c58565b90600052602060002090601f016020900481019282611728576000855561176e565b82601f106117415782800160ff1982351617855561176e565b8280016001018555821561176e579182015b8281111561176e578235825591602001919060010190611753565b5061177a92915061177e565b5090565b5b8082111561177a576000815560010161177f565b803580151581146117a357600080fd5b919050565b6000602082840312156117ba57600080fd5b81356117c581611d1a565b9392505050565b600080604083850312156117df57600080fd5b82356117ea81611d1a565b915060208301356117fa81611d1a565b809150509250929050565b60008060006060848603121561181a57600080fd5b833561182581611d1a565b9250602084013561183581611d1a565b929592945050506040919091013590565b6000806000806080858703121561185c57600080fd5b843561186781611d1a565b9350602085013561187781611d1a565b925060408501359150606085013567ffffffffffffffff8082111561189b57600080fd5b818701915087601f8301126118af57600080fd5b8135818111156118c1576118c1611d04565b604051601f8201601f19908116603f011681019083821181831017156118e9576118e9611d04565b816040528281528a602084870101111561190257600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b6000806040838503121561193957600080fd5b823561194481611d1a565b915061195260208401611793565b90509250929050565b6000806040838503121561196e57600080fd5b823561197981611d1a565b946020939093013593505050565b60006020828403121561199957600080fd5b6117c582611793565b6000602082840312156119b457600080fd5b81356117c581611d2f565b6000602082840312156119d157600080fd5b81516117c581611d2f565b600080602083850312156119ef57600080fd5b823567ffffffffffffffff80821115611a0757600080fd5b818501915085601f830112611a1b57600080fd5b813581811115611a2a57600080fd5b866020828501011115611a3c57600080fd5b60209290920196919550909350505050565b600060208284031215611a6057600080fd5b5035919050565b60008151808452611a7f816020860160208601611c2c565b601f01601f19169290920160200192915050565b60008151611aa5818560208601611c2c565b9290920192915050565b600080845481600182811c915080831680611acb57607f831692505b6020808410821415611aeb57634e487b7160e01b86526022600452602486fd5b818015611aff5760018114611b1057611b3d565b60ff19861689528489019650611b3d565b60008b81526020902060005b86811015611b355781548b820152908501908301611b1c565b505084890196505b505050505050611b71611b60611b5a83602f60f81b815260010190565b86611a93565b64173539b7b760d91b815260050190565b95945050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611bad90830184611a67565b9695505050505050565b6020815260006117c56020830184611a67565b60008219821115611bdd57611bdd611cc2565b500190565b600082611bf157611bf1611cd8565b500490565b6000816000190483118215151615611c1057611c10611cc2565b500290565b600082821015611c2757611c27611cc2565b500390565b60005b83811015611c47578181015183820152602001611c2f565b83811115610d025750506000910152565b600181811c90821680611c6c57607f821691505b60208210811415611c8d57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415611ca757611ca7611cc2565b5060010190565b600082611cbd57611cbd611cd8565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114610e2a57600080fd5b6001600160e01b031981168114610e2a57600080fdfea26469706673582212207f20fa7cb8c9e367a58469f485a81f4975379add8c07d7fcba1c6e1ed2bbbc7664736f6c63430008070033697066733a2f2f516d644a39426d506b51644b544255696778626d726734537072347668556159746a7a33796a6852736144344a4b2fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d644a39426d506b51644b544255696778626d726734537072347668556159746a7a33796a6852736144344a4b2f00000000000000000000
Deployed Bytecode
0x6080604052600436106101cd5760003560e01c80636352211e116100f757806395d89b4111610095578063c87b56dd11610064578063c87b56dd146104e5578063dc33e68114610505578063e985e9c514610525578063f2fde38b1461056e57600080fd5b806395d89b411461047d578063a0712d6814610492578063a22cb465146104a5578063b88d4fde146104c557600080fd5b8063715018a6116100d1578063715018a61461041457806382481c0e146104295780638d6cc56d1461043f5780638da5cb5b1461045f57600080fd5b80636352211e146103be57806363eb8bb6146103de57806370a08231146103f457600080fd5b80631e84c4131161016f57806342842e0e1161013e57806342842e0e1461034857806351cff8d91461036857806355f804b314610388578063611f3f10146103a857600080fd5b80631e84c413146102d857806323b872dd146102f257806328cad13d1461031257806332cb6b0c1461033257600080fd5b8063081812fc116101ab578063081812fc1461024c578063095ea7b31461028457806316154862146102a657806318160ddd146102bb57600080fd5b806301ffc9a7146101d25780630528eb431461020757806306fdde031461022a575b600080fd5b3480156101de57600080fd5b506101f26101ed3660046119a2565b61058e565b60405190151581526020015b60405180910390f35b34801561021357600080fd5b5061021c600181565b6040519081526020016101fe565b34801561023657600080fd5b5061023f6105e0565b6040516101fe9190611bb7565b34801561025857600080fd5b5061026c610267366004611a4e565b610672565b6040516001600160a01b0390911681526020016101fe565b34801561029057600080fd5b506102a461029f36600461195b565b6106b6565b005b3480156102b257600080fd5b5061021c600581565b3480156102c757600080fd5b50600154600054036000190161021c565b3480156102e457600080fd5b50600a546101f29060ff1681565b3480156102fe57600080fd5b506102a461030d366004611805565b610744565b34801561031e57600080fd5b506102a461032d366004611987565b61074f565b34801561033e57600080fd5b5061021c61045781565b34801561035457600080fd5b506102a4610363366004611805565b61076a565b34801561037457600080fd5b506102a46103833660046117a8565b610785565b34801561039457600080fd5b506102a46103a33660046119dc565b61088b565b3480156103b457600080fd5b5061021c600c5481565b3480156103ca57600080fd5b5061026c6103d9366004611a4e565b61089f565b3480156103ea57600080fd5b5061021c6101f481565b34801561040057600080fd5b5061021c61040f3660046117a8565b6108b1565b34801561042057600080fd5b506102a4610900565b34801561043557600080fd5b5061021c600d5481565b34801561044b57600080fd5b506102a461045a366004611a4e565b610914565b34801561046b57600080fd5b506008546001600160a01b031661026c565b34801561048957600080fd5b5061023f610921565b6102a46104a0366004611a4e565b610930565b3480156104b157600080fd5b506102a46104c0366004611926565b610c21565b3480156104d157600080fd5b506102a46104e0366004611846565b610cb7565b3480156104f157600080fd5b5061023f610500366004611a4e565b610d08565b34801561051157600080fd5b5061021c6105203660046117a8565b610da9565b34801561053157600080fd5b506101f26105403660046117cc565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561057a57600080fd5b506102a46105893660046117a8565b610db4565b60006001600160e01b031982166380ac58cd60e01b14806105bf57506001600160e01b03198216635b5e139f60e01b145b806105da57506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600280546105ef90611c58565b80601f016020809104026020016040519081016040528092919081815260200182805461061b90611c58565b80156106685780601f1061063d57610100808354040283529160200191610668565b820191906000526020600020905b81548152906001019060200180831161064b57829003601f168201915b5050505050905090565b600061067d82610e3c565b61069a576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006106c18261089f565b9050806001600160a01b0316836001600160a01b031614156106f65760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b0382161480159061071657506107148133610540565b155b15610734576040516367d9dca160e11b815260040160405180910390fd5b61073f838383610e75565b505050565b61073f838383610ed1565b6107576110e7565b600a805460ff1916911515919091179055565b61073f83838360405180602001604052806000815250610cb7565b61078d6110e7565b600260095414156107e55760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064015b60405180910390fd5b600260095560405147906000906001600160a01b0384169083908381818185875af1925050503d8060008114610837576040519150601f19603f3d011682016040523d82523d6000602084013e61083c565b606091505b50509050806108815760405162461bcd60e51b81526020600482015260116024820152702d5769746864726177206661696c65642d60781b60448201526064016107dc565b5050600160095550565b6108936110e7565b61073f600b83836116fa565b60006108aa82611141565b5192915050565b60006001600160a01b0382166108da576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6109086110e7565b610912600061126a565b565b61091c6110e7565b600c55565b6060600380546105ef90611c58565b600260095414156109835760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016107dc565b6002600955600a5460ff166109da5760405162461bcd60e51b815260206004820152601760248201527f5075626c69632073616c65206973206e6f74206f70656e00000000000000000060448201526064016107dc565b323314610a295760405162461bcd60e51b815260206004820152601b60248201527f2d436f6e74726163742063616c6c206e6f7420616c6c6f7765642d000000000060448201526064016107dc565b600581610a3533610da9565b610a3f9190611bca565b1115610a8d5760405162461bcd60e51b815260206004820152601b60248201527f2d54686973206973206d6f7265207468616e20616c6c6f7765642d000000000060448201526064016107dc565b6001546000546104579183910360001901610aa89190611bca565b1115610aee5760405162461bcd60e51b81526020600482015260156024820152742d4e6f7420656e6f756768207175616e746974792d60581b60448201526064016107dc565b60006101f4600d541015610b815760006001610b0933610da9565b10610b15576000610b29565b610b1e33610da9565b610b29906001611c15565b905080831115610b4257610b3d8184611c15565b610b45565b60005b600c54610b529190611bf6565b915080831115610b625780610b64565b825b600d6000828254610b759190611bca565b90915550610b92915050565b81600c54610b8f9190611bf6565b90505b80341015610bd55760405162461bcd60e51b815260206004820152601060248201526f2d4e6f7420656e6f756768204554482d60801b60448201526064016107dc565b610bdf33836112bc565b60408051338152602081018490527f30385c845b448a36257a6a1716e6ad2e1bc2cbe333cde1e69fe849ad6511adfe910160405180910390a150506001600955565b6001600160a01b038216331415610c4b5760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610cc2848484610ed1565b6001600160a01b0383163b15158015610ce45750610ce2848484846112da565b155b15610d02576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060610d1382610e3c565b610d775760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016107dc565b600b610d82836113d2565b604051602001610d93929190611aaf565b6040516020818303038152906040529050919050565b60006105da826114d0565b610dbc6110e7565b6001600160a01b038116610e215760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107dc565b610e2a8161126a565b50565b6001600160a01b03163b151590565b600081600111158015610e50575060005482105b80156105da575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000610edc82611141565b80519091506000906001600160a01b0316336001600160a01b03161480610f0a57508151610f0a9033610540565b80610f25575033610f1a84610672565b6001600160a01b0316145b905080610f4557604051632ce44b5f60e11b815260040160405180910390fd5b846001600160a01b031682600001516001600160a01b031614610f7a5760405162a1148160e81b815260040160405180910390fd5b6001600160a01b038416610fa157604051633a954ecd60e21b815260040160405180910390fd5b610fb16000848460000151610e75565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff1980821667ffffffffffffffff92831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b42909216919091021790925590860180835291205490911661109d5760005481101561109d578251600082815260046020908152604090912080549186015167ffffffffffffffff16600160a01b026001600160e01b03199092166001600160a01b03909316929092171790555b5082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b6008546001600160a01b031633146109125760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107dc565b60408051606081018252600080825260208201819052918101919091528180600111158015611171575060005481105b1561125157600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b810467ffffffffffffffff1692820192909252600160e01b90910460ff1615159181018290529061124f5780516001600160a01b0316156111e5579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b820467ffffffffffffffff1693830193909352600160e01b900460ff161515928101929092521561124a579392505050565b6111e5565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6112d6828260405180602001604052806000815250611526565b5050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029061130f903390899088908890600401611b7a565b602060405180830381600087803b15801561132957600080fd5b505af1925050508015611359575060408051601f3d908101601f19168201909252611356918101906119bf565b60015b6113b4573d808015611387576040519150601f19603f3d011682016040523d82523d6000602084013e61138c565b606091505b5080516113ac576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060816113f65750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611420578061140a81611c93565b91506114199050600a83611be2565b91506113fa565b60008167ffffffffffffffff81111561143b5761143b611d04565b6040519080825280601f01601f191660200182016040528015611465576020820181803683370190505b5090505b84156113ca5761147a600183611c15565b9150611487600a86611cae565b611492906030611bca565b60f81b8183815181106114a7576114a7611cee565b60200101906001600160f81b031916908160001a9053506114c9600a86611be2565b9450611469565b60006001600160a01b0382166114f9576040516335ebb31960e01b815260040160405180910390fd5b506001600160a01b0316600090815260056020526040902054600160401b900467ffffffffffffffff1690565b61073f83838360016000546001600160a01b03851661155757604051622e076360e81b815260040160405180910390fd5b836115755760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260056020908152604080832080546fffffffffffffffffffffffffffffffff19811667ffffffffffffffff8083168c018116918217600160401b67ffffffffffffffff1990941690921783900481168c01811690920217909155858452600490925290912080546001600160e01b031916909217600160a01b42909216919091021790558080850183801561162257506001600160a01b0387163b15155b156116ab575b60405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a461167360008884806001019550886112da565b611690576040516368d2bf6b60e11b815260040160405180910390fd5b808214156116285782600054146116a657600080fd5b6116f1565b5b6040516001830192906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808214156116ac575b506000556110e0565b82805461170690611c58565b90600052602060002090601f016020900481019282611728576000855561176e565b82601f106117415782800160ff1982351617855561176e565b8280016001018555821561176e579182015b8281111561176e578235825591602001919060010190611753565b5061177a92915061177e565b5090565b5b8082111561177a576000815560010161177f565b803580151581146117a357600080fd5b919050565b6000602082840312156117ba57600080fd5b81356117c581611d1a565b9392505050565b600080604083850312156117df57600080fd5b82356117ea81611d1a565b915060208301356117fa81611d1a565b809150509250929050565b60008060006060848603121561181a57600080fd5b833561182581611d1a565b9250602084013561183581611d1a565b929592945050506040919091013590565b6000806000806080858703121561185c57600080fd5b843561186781611d1a565b9350602085013561187781611d1a565b925060408501359150606085013567ffffffffffffffff8082111561189b57600080fd5b818701915087601f8301126118af57600080fd5b8135818111156118c1576118c1611d04565b604051601f8201601f19908116603f011681019083821181831017156118e9576118e9611d04565b816040528281528a602084870101111561190257600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b6000806040838503121561193957600080fd5b823561194481611d1a565b915061195260208401611793565b90509250929050565b6000806040838503121561196e57600080fd5b823561197981611d1a565b946020939093013593505050565b60006020828403121561199957600080fd5b6117c582611793565b6000602082840312156119b457600080fd5b81356117c581611d2f565b6000602082840312156119d157600080fd5b81516117c581611d2f565b600080602083850312156119ef57600080fd5b823567ffffffffffffffff80821115611a0757600080fd5b818501915085601f830112611a1b57600080fd5b813581811115611a2a57600080fd5b866020828501011115611a3c57600080fd5b60209290920196919550909350505050565b600060208284031215611a6057600080fd5b5035919050565b60008151808452611a7f816020860160208601611c2c565b601f01601f19169290920160200192915050565b60008151611aa5818560208601611c2c565b9290920192915050565b600080845481600182811c915080831680611acb57607f831692505b6020808410821415611aeb57634e487b7160e01b86526022600452602486fd5b818015611aff5760018114611b1057611b3d565b60ff19861689528489019650611b3d565b60008b81526020902060005b86811015611b355781548b820152908501908301611b1c565b505084890196505b505050505050611b71611b60611b5a83602f60f81b815260010190565b86611a93565b64173539b7b760d91b815260050190565b95945050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611bad90830184611a67565b9695505050505050565b6020815260006117c56020830184611a67565b60008219821115611bdd57611bdd611cc2565b500190565b600082611bf157611bf1611cd8565b500490565b6000816000190483118215151615611c1057611c10611cc2565b500290565b600082821015611c2757611c27611cc2565b500390565b60005b83811015611c47578181015183820152602001611c2f565b83811115610d025750506000910152565b600181811c90821680611c6c57607f821691505b60208210811415611c8d57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415611ca757611ca7611cc2565b5060010190565b600082611cbd57611cbd611cd8565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114610e2a57600080fd5b6001600160e01b031981168114610e2a57600080fdfea26469706673582212207f20fa7cb8c9e367a58469f485a81f4975379add8c07d7fcba1c6e1ed2bbbc7664736f6c63430008070033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d644a39426d506b51644b544255696778626d726734537072347668556159746a7a33796a6852736144344a4b2f00000000000000000000
-----Decoded View---------------
Arg [0] : initBaseURI (string): ipfs://QmdJ9BmPkQdKTBUigxbmrg4Spr4vhUaYtjz3yjhRsaD4JK/
-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [2] : 697066733a2f2f516d644a39426d506b51644b544255696778626d7267345370
Arg [3] : 72347668556159746a7a33796a6852736144344a4b2f00000000000000000000
Deployed Bytecode Sourcemap
49333:3597:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29121:305;;;;;;;;;;-1:-1:-1;29121:305:0;;;;;:::i;:::-;;:::i;:::-;;;8409:14:1;;8402:22;8384:41;;8372:2;8357:18;29121:305:0;;;;;;;;49692:50;;;;;;;;;;;;49741:1;49692:50;;;;;12455:25:1;;;12443:2;12428:18;49692:50:0;12309:177:1;32508:100:0;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;34011:204::-;;;;;;;;;;-1:-1:-1;34011:204:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;7428:32:1;;;7410:51;;7398:2;7383:18;34011:204:0;7264:203:1;33574:371:0;;;;;;;;;;-1:-1:-1;33574:371:0;;;;;:::i;:::-;;:::i;:::-;;49640:45;;;;;;;;;;;;49684:1;49640:45;;28370:303;;;;;;;;;;-1:-1:-1;50373:1:0;28624:12;28414:7;28608:13;:28;-1:-1:-1;;28608:46:0;28370:303;;49507:38;;;;;;;;;;-1:-1:-1;49507:38:0;;;;;;;;34868:170;;;;;;;;;;-1:-1:-1;34868:170:0;;;;;:::i;:::-;;:::i;52384:148::-;;;;;;;;;;-1:-1:-1;52384:148:0;;;;;:::i;:::-;;:::i;49801:41::-;;;;;;;;;;;;49838:4;49801:41;;35109:185;;;;;;;;;;-1:-1:-1;35109:185:0;;;;;:::i;:::-;;:::i;52542:279::-;;;;;;;;;;-1:-1:-1;52542:279:0;;;;;:::i;:::-;;:::i;50801:106::-;;;;;;;;;;-1:-1:-1;50801:106:0;;;;;:::i;:::-;;:::i;49749:45::-;;;;;;;;;;;;;;;;32317:124;;;;;;;;;;-1:-1:-1;32317:124:0;;;;;:::i;:::-;;:::i;49849:46::-;;;;;;;;;;;;49892:3;49849:46;;29490:206;;;;;;;;;;-1:-1:-1;29490:206:0;;;;;:::i;:::-;;:::i;48477:103::-;;;;;;;;;;;;;:::i;49902:38::-;;;;;;;;;;;;;;;;52829:98;;;;;;;;;;-1:-1:-1;52829:98:0;;;;;:::i;:::-;;:::i;47825:87::-;;;;;;;;;;-1:-1:-1;47898:6:0;;-1:-1:-1;;;;;47898:6:0;47825:87;;32677:104;;;;;;;;;;;;;:::i;50915:1336::-;;;;;;:::i;:::-;;:::i;34287:279::-;;;;;;;;;;-1:-1:-1;34287:279:0;;;;;:::i;:::-;;:::i;35365:369::-;;;;;;;;;;-1:-1:-1;35365:369:0;;;;;:::i;:::-;;:::i;50390:403::-;;;;;;;;;;-1:-1:-1;50390:403:0;;;;;:::i;:::-;;:::i;52259:113::-;;;;;;;;;;-1:-1:-1;52259:113:0;;;;;:::i;:::-;;:::i;34637:164::-;;;;;;;;;;-1:-1:-1;34637:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;34758:25:0;;;34734:4;34758:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;34637:164;48735:201;;;;;;;;;;-1:-1:-1;48735:201:0;;;;;:::i;:::-;;:::i;29121:305::-;29223:4;-1:-1:-1;;;;;;29260:40:0;;-1:-1:-1;;;29260:40:0;;:105;;-1:-1:-1;;;;;;;29317:48:0;;-1:-1:-1;;;29317:48:0;29260:105;:158;;;-1:-1:-1;;;;;;;;;;16928:40:0;;;29382:36;29240:178;29121:305;-1:-1:-1;;29121:305:0:o;32508:100::-;32562:13;32595:5;32588:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32508:100;:::o;34011:204::-;34079:7;34104:16;34112:7;34104;:16::i;:::-;34099:64;;34129:34;;-1:-1:-1;;;34129:34:0;;;;;;;;;;;34099:64;-1:-1:-1;34183:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;34183:24:0;;34011:204::o;33574:371::-;33647:13;33663:24;33679:7;33663:15;:24::i;:::-;33647:40;;33708:5;-1:-1:-1;;;;;33702:11:0;:2;-1:-1:-1;;;;;33702:11:0;;33698:48;;;33722:24;;-1:-1:-1;;;33722:24:0;;;;;;;;;;;33698:48;24513:10;-1:-1:-1;;;;;33763:21:0;;;;;;:63;;-1:-1:-1;33789:37:0;33806:5;24513:10;34637:164;:::i;33789:37::-;33788:38;33763:63;33759:138;;;33850:35;;-1:-1:-1;;;33850:35:0;;;;;;;;;;;33759:138;33909:28;33918:2;33922:7;33931:5;33909:8;:28::i;:::-;33636:309;33574:371;;:::o;34868:170::-;35002:28;35012:4;35018:2;35022:7;35002:9;:28::i;52384:148::-;47711:13;:11;:13::i;:::-;52486:18:::1;:40:::0;;-1:-1:-1;;52486:40:0::1;::::0;::::1;;::::0;;;::::1;::::0;;52384:148::o;35109:185::-;35247:39;35264:4;35270:2;35274:7;35247:39;;;;;;;;;;;;:16;:39::i;52542:279::-;47711:13;:11;:13::i;:::-;1986:1:::1;2584:7;;:19;;2576:63;;;::::0;-1:-1:-1;;;2576:63:0;;11799:2:1;2576:63:0::1;::::0;::::1;11781:21:1::0;11838:2;11818:18;;;11811:30;11877:33;11857:18;;;11850:61;11928:18;;2576:63:0::1;;;;;;;;;1986:1;2717:7;:18:::0;52731:34:::2;::::0;52680:21:::2;::::0;52662:15:::2;::::0;-1:-1:-1;;;;;52731:14:0;::::2;::::0;52680:21;;52662:15;52731:34;52662:15;52731:34;52680:21;52731:14;:34:::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52712:53;;;52784:7;52776:37;;;::::0;-1:-1:-1;;;52776:37:0;;9269:2:1;52776:37:0::2;::::0;::::2;9251:21:1::0;9308:2;9288:18;;;9281:30;-1:-1:-1;;;9327:18:1;;;9320:47;9384:18;;52776:37:0::2;9067:341:1::0;52776:37:0::2;-1:-1:-1::0;;1942:1:0::1;2896:7;:22:::0;-1:-1:-1;52542:279:0:o;50801:106::-;47711:13;:11;:13::i;:::-;50879:20:::1;:7;50889:10:::0;;50879:20:::1;:::i;32317:124::-:0;32381:7;32408:20;32420:7;32408:11;:20::i;:::-;:25;;32317:124;-1:-1:-1;;32317:124:0:o;29490:206::-;29554:7;-1:-1:-1;;;;;29578:19:0;;29574:60;;29606:28;;-1:-1:-1;;;29606:28:0;;;;;;;;;;;29574:60;-1:-1:-1;;;;;;29660:19:0;;;;;:12;:19;;;;;:27;;;;29490:206::o;48477:103::-;47711:13;:11;:13::i;:::-;48542:30:::1;48569:1;48542:18;:30::i;:::-;48477:103::o:0;52829:98::-;47711:13;:11;:13::i;:::-;52897:12:::1;:22:::0;52829:98::o;32677:104::-;32733:13;32766:7;32759:14;;;;;:::i;50915:1336::-;1986:1;2584:7;;:19;;2576:63;;;;-1:-1:-1;;;2576:63:0;;11799:2:1;2576:63:0;;;11781:21:1;11838:2;11818:18;;;11811:30;11877:33;11857:18;;;11850:61;11928:18;;2576:63:0;11597:355:1;2576:63:0;1986:1;2717:7;:18;50996::::1;::::0;::::1;;50988:54;;;::::0;-1:-1:-1;;;50988:54:0;;12159:2:1;50988:54:0::1;::::0;::::1;12141:21:1::0;12198:2;12178:18;;;12171:30;12237:25;12217:18;;;12210:53;12280:18;;50988:54:0::1;11957:347:1::0;50988:54:0::1;51061:9;51074:10;51061:23;51053:63;;;::::0;-1:-1:-1;;;51053:63:0;;9615:2:1;51053:63:0::1;::::0;::::1;9597:21:1::0;9654:2;9634:18;;;9627:30;9693:29;9673:18;;;9666:57;9740:18;;51053:63:0::1;9413:351:1::0;51053:63:0::1;49684:1;51176:8;51149:24;51162:10;51149:12;:24::i;:::-;:35;;;;:::i;:::-;:56;;51127:133;;;::::0;-1:-1:-1;;;51127:133:0;;10666:2:1;51127:133:0::1;::::0;::::1;10648:21:1::0;10705:2;10685:18;;;10678:30;10744:29;10724:18;;;10717:57;10791:18;;51127:133:0::1;10464:351:1::0;51127:133:0::1;50373:1:::0;28624:12;28414:7;28608:13;49838:4:::1;::::0;51309:8;;28608:28;-1:-1:-1;;28608:46:0;51293:24:::1;;;;:::i;:::-;:38;;51271:109;;;::::0;-1:-1:-1;;;51271:109:0;;10316:2:1;51271:109:0::1;::::0;::::1;10298:21:1::0;10355:2;10335:18;;;10328:30;-1:-1:-1;;;10374:18:1;;;10367:51;10435:18;;51271:109:0::1;10114:345:1::0;51271:109:0::1;51393:13;49892:3;51421:19;;:38;51417:683;;;51476:23;49741:1;51503:24;51516:10;51503:12;:24::i;:::-;:66;51502:160;;51661:1;51502:160;;;51616:24;51629:10;51616:12;:24::i;:::-;51591:49;::::0;49741:1:::1;51591:49;:::i;:::-;51476:186;;51772:15;51760:8;:27;;51759:114;;51846:26;51857:15:::0;51846:8;:26:::1;:::i;:::-;51759:114;;;51816:1;51759:114;51704:12;;:188;;;;:::i;:::-;51679:213;;51964:15;51952:8;:27;;51951:58;;51994:15;51951:58;;;51983:8;51951:58;51909:19;;:115;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;51417:683:0::1;::::0;-1:-1:-1;;51417:683:0::1;;52080:8;52065:12;;:23;;;;:::i;:::-;52057:31;;51417:683;52131:5;52118:9;:18;;52110:47;;;::::0;-1:-1:-1;;;52110:47:0;;9971:2:1;52110:47:0::1;::::0;::::1;9953:21:1::0;10010:2;9990:18;;;9983:30;-1:-1:-1;;;10029:18:1;;;10022:46;10085:18;;52110:47:0::1;9769:340:1::0;52110:47:0::1;52168:31;52178:10;52190:8;52168:9;:31::i;:::-;52215:28;::::0;;52222:10:::1;8139:51:1::0;;8221:2;8206:18;;8199:34;;;52215:28:0::1;::::0;8112:18:1;52215:28:0::1;;;;;;;-1:-1:-1::0;;1942:1:0;2896:7;:22;50915:1336::o;34287:279::-;-1:-1:-1;;;;;34378:24:0;;24513:10;34378:24;34374:54;;;34411:17;;-1:-1:-1;;;34411:17:0;;;;;;;;;;;34374:54;24513:10;34441:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;34441:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;34441:53:0;;;;;;;;;;34510:48;;8384:41:1;;;34441:42:0;;24513:10;34510:48;;8357:18:1;34510:48:0;;;;;;;34287:279;;:::o;35365:369::-;35532:28;35542:4;35548:2;35552:7;35532:9;:28::i;:::-;-1:-1:-1;;;;;35575:13:0;;6958:19;:23;;35575:76;;;;;35595:56;35626:4;35632:2;35636:7;35645:5;35595:30;:56::i;:::-;35594:57;35575:76;35571:156;;;35675:40;;-1:-1:-1;;;35675:40:0;;;;;;;;;;;35571:156;35365:369;;;;:::o;50390:403::-;50509:13;50562:17;50570:8;50562:7;:17::i;:::-;50540:114;;;;-1:-1:-1;;;50540:114:0;;11383:2:1;50540:114:0;;;11365:21:1;11422:2;11402:18;;;11395:30;11461:34;11441:18;;;11434:62;-1:-1:-1;;;11512:18:1;;;11505:45;11567:19;;50540:114:0;11181:411:1;50540:114:0;50727:7;50741:19;:8;:17;:19::i;:::-;50710:60;;;;;;;;;:::i;:::-;;;;;;;;;;;;;50665:120;;50390:403;;;:::o;52259:113::-;52317:7;52344:20;52358:5;52344:13;:20::i;48735:201::-;47711:13;:11;:13::i;:::-;-1:-1:-1;;;;;48824:22:0;::::1;48816:73;;;::::0;-1:-1:-1;;;48816:73:0;;8862:2:1;48816:73:0::1;::::0;::::1;8844:21:1::0;8901:2;8881:18;;;8874:30;8940:34;8920:18;;;8913:62;-1:-1:-1;;;8991:18:1;;;8984:36;9037:19;;48816:73:0::1;8660:402:1::0;48816:73:0::1;48900:28;48919:8;48900:18;:28::i;:::-;48735:201:::0;:::o;6663:326::-;-1:-1:-1;;;;;6958:19:0;;:23;;;6663:326::o;35989:187::-;36046:4;36089:7;50373:1;36070:26;;:53;;;;;36110:13;;36100:7;:23;36070:53;:98;;;;-1:-1:-1;;36141:20:0;;;;:11;:20;;;;;:27;-1:-1:-1;;;36141:27:0;;;;36140:28;;35989:187::o;43606:196::-;43721:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;43721:29:0;-1:-1:-1;;;;;43721:29:0;;;;;;;;;43766:28;;43721:24;;43766:28;;;;;;;43606:196;;;:::o;39108:2112::-;39223:35;39261:20;39273:7;39261:11;:20::i;:::-;39336:18;;39223:58;;-1:-1:-1;39294:22:0;;-1:-1:-1;;;;;39320:34:0;24513:10;-1:-1:-1;;;;;39320:34:0;;:101;;;-1:-1:-1;39388:18:0;;39371:50;;24513:10;34637:164;:::i;39371:50::-;39320:154;;;-1:-1:-1;24513:10:0;39438:20;39450:7;39438:11;:20::i;:::-;-1:-1:-1;;;;;39438:36:0;;39320:154;39294:181;;39493:17;39488:66;;39519:35;;-1:-1:-1;;;39519:35:0;;;;;;;;;;;39488:66;39591:4;-1:-1:-1;;;;;39569:26:0;:13;:18;;;-1:-1:-1;;;;;39569:26:0;;39565:67;;39604:28;;-1:-1:-1;;;39604:28:0;;;;;;;;;;;39565:67;-1:-1:-1;;;;;39647:16:0;;39643:52;;39672:23;;-1:-1:-1;;;39672:23:0;;;;;;;;;;;39643:52;39816:49;39833:1;39837:7;39846:13;:18;;;39816:8;:49::i;:::-;-1:-1:-1;;;;;40161:18:0;;;;;;;:12;:18;;;;;;;;:31;;-1:-1:-1;;40161:31:0;;;;;;;-1:-1:-1;;40161:31:0;;;;;;;40207:16;;;;;;;;;:29;;;;;;;;-1:-1:-1;40207:29:0;;;;;;;;;;;40253:20;;;:11;:20;;;;;;:30;;-1:-1:-1;;;;;;40298:61:0;;;;-1:-1:-1;;;40343:15:0;40298:61;;;;;;;;;;;40633:11;;;40663:24;;;;;:29;40633:11;;40663:29;40659:445;;40888:13;;40874:11;:27;40870:219;;;40958:18;;;40926:24;;;:11;:24;;;;;;;;:50;;41041:28;;;;40999:70;;-1:-1:-1;;;40999:70:0;-1:-1:-1;;;;;;40999:70:0;;;-1:-1:-1;;;;;40926:50:0;;;40999:70;;;;;;;40870:219;40136:979;41151:7;41147:2;-1:-1:-1;;;;;41132:27:0;41141:4;-1:-1:-1;;;;;41132:27:0;;;;;;;;;;;41170:42;39212:2008;;39108:2112;;;:::o;47990:132::-;47898:6;;-1:-1:-1;;;;;47898:6:0;24513:10;48054:23;48046:68;;;;-1:-1:-1;;;48046:68:0;;11022:2:1;48046:68:0;;;11004:21:1;;;11041:18;;;11034:30;11100:34;11080:18;;;11073:62;11152:18;;48046:68:0;10820:356:1;31145:1108:0;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;31255:7:0;;50373:1;31304:23;;:47;;;;;31338:13;;31331:4;:20;31304:47;31300:886;;;31372:31;31406:17;;;:11;:17;;;;;;;;;31372:51;;;;;;;;;-1:-1:-1;;;;;31372:51:0;;;;-1:-1:-1;;;31372:51:0;;;;;;;;;;;-1:-1:-1;;;31372:51:0;;;;;;;;;;;;;;31442:729;;31492:14;;-1:-1:-1;;;;;31492:28:0;;31488:101;;31556:9;31145:1108;-1:-1:-1;;;31145:1108:0:o;31488:101::-;-1:-1:-1;;;31931:6:0;31976:17;;;;:11;:17;;;;;;;;;31964:29;;;;;;;;;-1:-1:-1;;;;;31964:29:0;;;;;-1:-1:-1;;;31964:29:0;;;;;;;;;;;-1:-1:-1;;;31964:29:0;;;;;;;;;;;;;32024:28;32020:109;;32092:9;31145:1108;-1:-1:-1;;;31145:1108:0:o;32020:109::-;31891:261;;;31353:833;31300:886;32214:31;;-1:-1:-1;;;32214:31:0;;;;;;;;;;;49096:191;49189:6;;;-1:-1:-1;;;;;49206:17:0;;;-1:-1:-1;;;;;;49206:17:0;;;;;;;49239:40;;49189:6;;;49206:17;49189:6;;49239:40;;49170:16;;49239:40;49159:128;49096:191;:::o;36184:104::-;36253:27;36263:2;36267:8;36253:27;;;;;;;;;;;;:9;:27::i;:::-;36184:104;;:::o;44294:667::-;44478:72;;-1:-1:-1;;;44478:72:0;;44457:4;;-1:-1:-1;;;;;44478:36:0;;;;;:72;;24513:10;;44529:4;;44535:7;;44544:5;;44478:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;44478:72:0;;;;;;;;-1:-1:-1;;44478:72:0;;;;;;;;;;;;:::i;:::-;;;44474:480;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;44712:13:0;;44708:235;;44758:40;;-1:-1:-1;;;44758:40:0;;;;;;;;;;;44708:235;44901:6;44895:13;44886:6;44882:2;44878:15;44871:38;44474:480;-1:-1:-1;;;;;;44597:55:0;-1:-1:-1;;;44597:55:0;;-1:-1:-1;44474:480:0;44294:667;;;;;;:::o;3363:723::-;3419:13;3640:10;3636:53;;-1:-1:-1;;3667:10:0;;;;;;;;;;;;-1:-1:-1;;;3667:10:0;;;;;3363:723::o;3636:53::-;3714:5;3699:12;3755:78;3762:9;;3755:78;;3788:8;;;;:::i;:::-;;-1:-1:-1;3811:10:0;;-1:-1:-1;3819:2:0;3811:10;;:::i;:::-;;;3755:78;;;3843:19;3875:6;3865:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3865:17:0;;3843:39;;3893:154;3900:10;;3893:154;;3927:11;3937:1;3927:11;;:::i;:::-;;-1:-1:-1;3996:10:0;4004:2;3996:5;:10;:::i;:::-;3983:24;;:2;:24;:::i;:::-;3970:39;;3953:6;3960;3953:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;3953:56:0;;;;;;;;-1:-1:-1;4024:11:0;4033:2;4024:11;;:::i;:::-;;;3893:154;;29778:207;29839:7;-1:-1:-1;;;;;29863:19:0;;29859:59;;29891:27;;-1:-1:-1;;;29891:27:0;;;;;;;;;;;29859:59;-1:-1:-1;;;;;;29944:19:0;;;;;:12;:19;;;;;:32;-1:-1:-1;;;29944:32:0;;;;;29778:207::o;36651:163::-;36774:32;36780:2;36784:8;36794:5;36801:4;37218:20;37241:13;-1:-1:-1;;;;;37269:16:0;;37265:48;;37294:19;;-1:-1:-1;;;37294:19:0;;;;;;;;;;;37265:48;37328:13;37324:44;;37350:18;;-1:-1:-1;;;37350:18:0;;;;;;;;;;;37324:44;-1:-1:-1;;;;;37719:16:0;;;;;;:12;:16;;;;;;;;:44;;-1:-1:-1;;37778:49:0;;37719:44;;;;;;;;37778:49;;;-1:-1:-1;;;;;37719:44:0;;;;;;37778:49;;;;;;;;;;;;;;;;37844:25;;;:11;:25;;;;;;:35;;-1:-1:-1;;;;;;37894:66:0;;;;-1:-1:-1;;;37944:15:0;37894:66;;;;;;;;;;37844:25;38041:23;;;38085:4;:23;;;;-1:-1:-1;;;;;;38093:13:0;;6958:19;:23;;38093:15;38081:641;;;38129:314;38160:38;;38185:12;;-1:-1:-1;;;;;38160:38:0;;;38177:1;;38160:38;;38177:1;;38160:38;38226:69;38265:1;38269:2;38273:14;;;;;;38289:5;38226:30;:69::i;:::-;38221:174;;38331:40;;-1:-1:-1;;;38331:40:0;;;;;;;;;;;38221:174;38438:3;38422:12;:19;;38129:314;;38524:12;38507:13;;:29;38503:43;;38538:8;;;38503:43;38081:641;;;38587:120;38618:40;;38643:14;;;;;-1:-1:-1;;;;;38618:40:0;;;38635:1;;38618:40;;38635:1;;38618:40;38702:3;38686:12;:19;;38587:120;;38081:641;-1:-1:-1;38736:13:0;:28;38786:60;35365:369;-1:-1:-1;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:160:1;79:20;;135:13;;128:21;118:32;;108:60;;164:1;161;154:12;108:60;14:160;;;:::o;179:247::-;238:6;291:2;279:9;270:7;266:23;262:32;259:52;;;307:1;304;297:12;259:52;346:9;333:23;365:31;390:5;365:31;:::i;:::-;415:5;179:247;-1:-1:-1;;;179:247:1:o;691:388::-;759:6;767;820:2;808:9;799:7;795:23;791:32;788:52;;;836:1;833;826:12;788:52;875:9;862:23;894:31;919:5;894:31;:::i;:::-;944:5;-1:-1:-1;1001:2:1;986:18;;973:32;1014:33;973:32;1014:33;:::i;:::-;1066:7;1056:17;;;691:388;;;;;:::o;1084:456::-;1161:6;1169;1177;1230:2;1218:9;1209:7;1205:23;1201:32;1198:52;;;1246:1;1243;1236:12;1198:52;1285:9;1272:23;1304:31;1329:5;1304:31;:::i;:::-;1354:5;-1:-1:-1;1411:2:1;1396:18;;1383:32;1424:33;1383:32;1424:33;:::i;:::-;1084:456;;1476:7;;-1:-1:-1;;;1530:2:1;1515:18;;;;1502:32;;1084:456::o;1545:1266::-;1640:6;1648;1656;1664;1717:3;1705:9;1696:7;1692:23;1688:33;1685:53;;;1734:1;1731;1724:12;1685:53;1773:9;1760:23;1792:31;1817:5;1792:31;:::i;:::-;1842:5;-1:-1:-1;1899:2:1;1884:18;;1871:32;1912:33;1871:32;1912:33;:::i;:::-;1964:7;-1:-1:-1;2018:2:1;2003:18;;1990:32;;-1:-1:-1;2073:2:1;2058:18;;2045:32;2096:18;2126:14;;;2123:34;;;2153:1;2150;2143:12;2123:34;2191:6;2180:9;2176:22;2166:32;;2236:7;2229:4;2225:2;2221:13;2217:27;2207:55;;2258:1;2255;2248:12;2207:55;2294:2;2281:16;2316:2;2312;2309:10;2306:36;;;2322:18;;:::i;:::-;2397:2;2391:9;2365:2;2451:13;;-1:-1:-1;;2447:22:1;;;2471:2;2443:31;2439:40;2427:53;;;2495:18;;;2515:22;;;2492:46;2489:72;;;2541:18;;:::i;:::-;2581:10;2577:2;2570:22;2616:2;2608:6;2601:18;2656:7;2651:2;2646;2642;2638:11;2634:20;2631:33;2628:53;;;2677:1;2674;2667:12;2628:53;2733:2;2728;2724;2720:11;2715:2;2707:6;2703:15;2690:46;2778:1;2773:2;2768;2760:6;2756:15;2752:24;2745:35;2799:6;2789:16;;;;;;;1545:1266;;;;;;;:::o;2816:315::-;2881:6;2889;2942:2;2930:9;2921:7;2917:23;2913:32;2910:52;;;2958:1;2955;2948:12;2910:52;2997:9;2984:23;3016:31;3041:5;3016:31;:::i;:::-;3066:5;-1:-1:-1;3090:35:1;3121:2;3106:18;;3090:35;:::i;:::-;3080:45;;2816:315;;;;;:::o;3136:::-;3204:6;3212;3265:2;3253:9;3244:7;3240:23;3236:32;3233:52;;;3281:1;3278;3271:12;3233:52;3320:9;3307:23;3339:31;3364:5;3339:31;:::i;:::-;3389:5;3441:2;3426:18;;;;3413:32;;-1:-1:-1;;;3136:315:1:o;3456:180::-;3512:6;3565:2;3553:9;3544:7;3540:23;3536:32;3533:52;;;3581:1;3578;3571:12;3533:52;3604:26;3620:9;3604:26;:::i;3641:245::-;3699:6;3752:2;3740:9;3731:7;3727:23;3723:32;3720:52;;;3768:1;3765;3758:12;3720:52;3807:9;3794:23;3826:30;3850:5;3826:30;:::i;3891:249::-;3960:6;4013:2;4001:9;3992:7;3988:23;3984:32;3981:52;;;4029:1;4026;4019:12;3981:52;4061:9;4055:16;4080:30;4104:5;4080:30;:::i;4145:592::-;4216:6;4224;4277:2;4265:9;4256:7;4252:23;4248:32;4245:52;;;4293:1;4290;4283:12;4245:52;4333:9;4320:23;4362:18;4403:2;4395:6;4392:14;4389:34;;;4419:1;4416;4409:12;4389:34;4457:6;4446:9;4442:22;4432:32;;4502:7;4495:4;4491:2;4487:13;4483:27;4473:55;;4524:1;4521;4514:12;4473:55;4564:2;4551:16;4590:2;4582:6;4579:14;4576:34;;;4606:1;4603;4596:12;4576:34;4651:7;4646:2;4637:6;4633:2;4629:15;4625:24;4622:37;4619:57;;;4672:1;4669;4662:12;4619:57;4703:2;4695:11;;;;;4725:6;;-1:-1:-1;4145:592:1;;-1:-1:-1;;;;4145:592:1:o;4742:180::-;4801:6;4854:2;4842:9;4833:7;4829:23;4825:32;4822:52;;;4870:1;4867;4860:12;4822:52;-1:-1:-1;4893:23:1;;4742:180;-1:-1:-1;4742:180:1:o;4927:257::-;4968:3;5006:5;5000:12;5033:6;5028:3;5021:19;5049:63;5105:6;5098:4;5093:3;5089:14;5082:4;5075:5;5071:16;5049:63;:::i;:::-;5166:2;5145:15;-1:-1:-1;;5141:29:1;5132:39;;;;5173:4;5128:50;;4927:257;-1:-1:-1;;4927:257:1:o;5189:185::-;5231:3;5269:5;5263:12;5284:52;5329:6;5324:3;5317:4;5310:5;5306:16;5284:52;:::i;:::-;5352:16;;;;;5189:185;-1:-1:-1;;5189:185:1:o;5616:1433::-;5994:3;6023:1;6056:6;6050:13;6086:3;6108:1;6136:9;6132:2;6128:18;6118:28;;6196:2;6185:9;6181:18;6218;6208:61;;6262:4;6254:6;6250:17;6240:27;;6208:61;6288:2;6336;6328:6;6325:14;6305:18;6302:38;6299:165;;;-1:-1:-1;;;6363:33:1;;6419:4;6416:1;6409:15;6449:4;6370:3;6437:17;6299:165;6480:18;6507:104;;;;6625:1;6620:320;;;;6473:467;;6507:104;-1:-1:-1;;6540:24:1;;6528:37;;6585:16;;;;-1:-1:-1;6507:104:1;;6620:320;12564:1;12557:14;;;12601:4;12588:18;;6715:1;6729:165;6743:6;6740:1;6737:13;6729:165;;;6821:14;;6808:11;;;6801:35;6864:16;;;;6758:10;;6729:165;;;6733:3;;6923:6;6918:3;6914:16;6907:23;;6473:467;;;;;;;6956:87;6981:61;7007:34;7037:3;-1:-1:-1;;;5562:16:1;;5603:1;5594:11;;5497:114;7007:34;6999:6;6981:61;:::i;:::-;-1:-1:-1;;;5439:20:1;;5484:1;5475:11;;5379:113;6956:87;6949:94;5616:1433;-1:-1:-1;;;;;5616:1433:1:o;7472:488::-;-1:-1:-1;;;;;7741:15:1;;;7723:34;;7793:15;;7788:2;7773:18;;7766:43;7840:2;7825:18;;7818:34;;;7888:3;7883:2;7868:18;;7861:31;;;7666:4;;7909:45;;7934:19;;7926:6;7909:45;:::i;:::-;7901:53;7472:488;-1:-1:-1;;;;;;7472:488:1:o;8436:219::-;8585:2;8574:9;8567:21;8548:4;8605:44;8645:2;8634:9;8630:18;8622:6;8605:44;:::i;12617:128::-;12657:3;12688:1;12684:6;12681:1;12678:13;12675:39;;;12694:18;;:::i;:::-;-1:-1:-1;12730:9:1;;12617:128::o;12750:120::-;12790:1;12816;12806:35;;12821:18;;:::i;:::-;-1:-1:-1;12855:9:1;;12750:120::o;12875:168::-;12915:7;12981:1;12977;12973:6;12969:14;12966:1;12963:21;12958:1;12951:9;12944:17;12940:45;12937:71;;;12988:18;;:::i;:::-;-1:-1:-1;13028:9:1;;12875:168::o;13048:125::-;13088:4;13116:1;13113;13110:8;13107:34;;;13121:18;;:::i;:::-;-1:-1:-1;13158:9:1;;13048:125::o;13178:258::-;13250:1;13260:113;13274:6;13271:1;13268:13;13260:113;;;13350:11;;;13344:18;13331:11;;;13324:39;13296:2;13289:10;13260:113;;;13391:6;13388:1;13385:13;13382:48;;;-1:-1:-1;;13426:1:1;13408:16;;13401:27;13178:258::o;13441:380::-;13520:1;13516:12;;;;13563;;;13584:61;;13638:4;13630:6;13626:17;13616:27;;13584:61;13691:2;13683:6;13680:14;13660:18;13657:38;13654:161;;;13737:10;13732:3;13728:20;13725:1;13718:31;13772:4;13769:1;13762:15;13800:4;13797:1;13790:15;13654:161;;13441:380;;;:::o;13826:135::-;13865:3;-1:-1:-1;;13886:17:1;;13883:43;;;13906:18;;:::i;:::-;-1:-1:-1;13953:1:1;13942:13;;13826:135::o;13966:112::-;13998:1;14024;14014:35;;14029:18;;:::i;:::-;-1:-1:-1;14063:9:1;;13966:112::o;14083:127::-;14144:10;14139:3;14135:20;14132:1;14125:31;14175:4;14172:1;14165:15;14199:4;14196:1;14189:15;14215:127;14276:10;14271:3;14267:20;14264:1;14257:31;14307:4;14304:1;14297:15;14331:4;14328:1;14321:15;14347:127;14408:10;14403:3;14399:20;14396:1;14389:31;14439:4;14436:1;14429:15;14463:4;14460:1;14453:15;14479:127;14540:10;14535:3;14531:20;14528:1;14521:31;14571:4;14568:1;14561:15;14595:4;14592:1;14585:15;14611:131;-1:-1:-1;;;;;14686:31:1;;14676:42;;14666:70;;14732:1;14729;14722:12;14747:131;-1:-1:-1;;;;;;14821:32:1;;14811:43;;14801:71;;14868:1;14865;14858:12
Swarm Source
ipfs://7f20fa7cb8c9e367a58469f485a81f4975379add8c07d7fcba1c6e1ed2bbbc76
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.