ETH Price: $2,930.35 (+3.91%)
 

Overview

Max Total Supply

2,126 ApeTown

Holders

1,969

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 ApeTown
0x17f9fd48fcebb2df94b78652f2f3b4a8998c6757
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
ApeTown

Compiler Version
v0.8.15+commit.e14f2714

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2022-06-19
*/

// SPDX-License-Identifier: MIT

// File: @openzeppelin/contracts/utils/Strings.sol

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // Inspired by OraclizeAPI's implementation - MIT licence
        // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol

        if (value == 0) {
            return "0";
        }
        uint256 temp = value;
        uint256 digits;
        while (temp != 0) {
            digits++;
            temp /= 10;
        }
        bytes memory buffer = new bytes(digits);
        while (value != 0) {
            digits -= 1;
            buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
            value /= 10;
        }
        return string(buffer);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        if (value == 0) {
            return "0x00";
        }
        uint256 temp = value;
        uint256 length = 0;
        while (temp != 0) {
            length++;
            temp >>= 8;
        }
        return toHexString(value, length);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length)
        internal
        pure
        returns (string memory)
    {
        bytes memory buffer = new bytes(2 * length + 2);
        buffer[0] = "0";
        buffer[1] = "x";
        for (uint256 i = 2 * length + 1; i > 1; --i) {
            buffer[i] = _HEX_SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }
}

// File: @openzeppelin/contracts/utils/Address.sol

// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(
            address(this).balance >= amount,
            "Address: insufficient balance"
        );

        (bool success, ) = recipient.call{value: amount}("");
        require(
            success,
            "Address: unable to send value, recipient may have reverted"
        );
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain `call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data)
        internal
        returns (bytes memory)
    {
        return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value
    ) internal returns (bytes memory) {
        return
            functionCallWithValue(
                target,
                data,
                value,
                "Address: low-level call with value failed"
            );
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(
            address(this).balance >= value,
            "Address: insufficient balance for call"
        );
        require(isContract(target), "Address: call to non-contract");

        (bool success, bytes memory returndata) = target.call{value: value}(
            data
        );
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data)
        internal
        view
        returns (bytes memory)
    {
        return
            functionStaticCall(
                target,
                data,
                "Address: low-level static call failed"
            );
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data)
        internal
        returns (bytes memory)
    {
        return
            functionDelegateCall(
                target,
                data,
                "Address: low-level delegate call failed"
            );
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

// File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol

// OpenZeppelin Contracts v4.4.1 (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 `IERC721.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 v4.4.1 (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`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Gives permission to `to` to transfer `tokenId` token to another account.
     * The approval is cleared when the token is transferred.
     *
     * Only a single account can be approved at a time, so approving the zero address clears previous approvals.
     *
     * Requirements:
     *
     * - The caller must own the token or be an approved operator.
     * - `tokenId` must exist.
     *
     * Emits an {Approval} event.
     */
    function approve(address to, uint256 tokenId) external;

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId)
        external
        view
        returns (address operator);

    /**
     * @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 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);

    /**
     * @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;
}

// 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/contracts/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 v4.4.1 (access/Ownable.sol)

pragma solidity ^0.8.0;

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(
        address indexed previousOwner,
        address indexed newOwner
    );

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(
            newOwner != address(0),
            "Ownable: new owner is the zero address"
        );
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

pragma solidity ^0.8.0;

contract ApeTown is ERC721A, Ownable {
    using Strings for uint256;
    uint256 public cost = 0.01 ether;
    uint256 public maxSupply = 8888;
    uint256 public maxMintAmount = 20;
    bool public paused = false;
    string public baseURI;

    mapping(address => uint256) public addressMintedBalance;

    constructor(string memory _initBaseURI) ERC721A("ApeTown", "ApeTown") {
        baseURI = _initBaseURI;
    }

    function tokenURI(uint256 tokenId)
        public
        view
        override
        returns (string memory)
    {
        require(_exists(tokenId), "ERC721Metadata: Token ID does not exist");
        return
            bytes(baseURI).length > 0
                ? string(
                    abi.encodePacked(baseURI, "/", tokenId.toString(), ".json")
                )
                : "";
    }

    function mint(uint256 _amount) external payable {
        require(!paused, "ApeTown - The Contract is Paused");
        require(
            totalSupply() + _amount <= maxSupply,
            "ApeTown - max NFT limit exceeded"
        );
        if (msg.sender != owner()) {
            require(
                _amount <= maxMintAmount,
                "ApeTown - max mint amount limit exceeded"
            );
            uint256 ownerMintedCount = addressMintedBalance[msg.sender];
            require(
                ownerMintedCount + _amount <= maxMintAmount,
                "ApeTown - max NFT per address exceeded"
            );

            if (totalSupply() < 2000 && ownerMintedCount < 1) {
                require(
                    msg.value >= cost * (_amount - 1),
                    "ApeTown - Only 1 NFT is free"
                );
            } else {
                require(
                    msg.value >= cost * _amount,
                    "ApeTown - insufficient ethers"
                );
            }
        }

        _safeMint(msg.sender, _amount);
        addressMintedBalance[msg.sender] += _amount;
    }

    //only owner
    function setMaxMintAmount(uint256 _maxMintAmount) public onlyOwner {
        maxMintAmount = _maxMintAmount;
    }

    function setCost(uint256 _newCost) public onlyOwner {
        cost = _newCost;
    }

    function setBaseURI(string memory _baseURI) public onlyOwner {
        baseURI = _baseURI;
    }

    function pause() public onlyOwner {
        paused = !paused;
    }

    function withdraw() public onlyOwner {
        uint256 amount = address(this).balance;
        (bool os1, ) = payable(0xEAa13156a5D2651832164EcC8302C40fD2C401A1).call{
            value: (amount * 3) / 100
        }("");
        require(os1);
        (bool os, ) = payable(owner()).call{value: address(this).balance}("");
        require(os);
    }
}

Contract Security Audit

Contract ABI

[{"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":"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":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"addressMintedBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cost","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":"maxMintAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newCost","type":"uint256"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxMintAmount","type":"uint256"}],"name":"setMaxMintAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052662386f26fc100006009556122b8600a556014600b55600c805460ff191690553480156200003157600080fd5b506040516200218338038062002183833981016040819052620000549162000132565b60408051808201825260078082526620b832aa37bbb760c91b60208084018290528451808601909552918452908301529060026200009383826200029d565b506003620000a282826200029d565b50506000805550620000b433620000ca565b600d620000c282826200029d565b505062000369565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b634e487b7160e01b600052604160045260246000fd5b600060208083850312156200014657600080fd5b82516001600160401b03808211156200015e57600080fd5b818501915085601f8301126200017357600080fd5b8151818111156200018857620001886200011c565b604051601f8201601f19908116603f01168101908382118183101715620001b357620001b36200011c565b816040528281528886848701011115620001cc57600080fd5b600093505b82841015620001f05784840186015181850187015292850192620001d1565b82841115620002025760008684830101525b98975050505050505050565b600181811c908216806200022357607f821691505b6020821081036200024457634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200029857600081815260208120601f850160051c81016020861015620002735750805b601f850160051c820191505b8181101562000294578281556001016200027f565b5050505b505050565b81516001600160401b03811115620002b957620002b96200011c565b620002d181620002ca84546200020e565b846200024a565b602080601f831160018114620003095760008415620002f05750858301515b600019600386901b1c1916600185901b17855562000294565b600085815260208120601f198616915b828110156200033a5788860151825594840194600190910190840162000319565b5085821015620003595787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b611e0a80620003796000396000f3fe6080604052600436106101c25760003560e01c80635c975abb116100f757806395d89b4111610095578063c87b56dd11610064578063c87b56dd146104cc578063d5abeb01146104ec578063e985e9c514610502578063f2fde38b1461054b57600080fd5b806395d89b4114610464578063a0712d6814610479578063a22cb4651461048c578063b88d4fde146104ac57600080fd5b806370a08231116100d157806370a08231146103fc578063715018a61461041c5780638456cb59146104315780638da5cb5b1461044657600080fd5b80635c975abb146103ad5780636352211e146103c75780636c0360eb146103e757600080fd5b806318cae269116101645780633ccfd60b1161013e5780633ccfd60b1461033857806342842e0e1461034d57806344a0d68a1461036d57806355f804b31461038d57600080fd5b806318cae269146102d5578063239c70ae1461030257806323b872dd1461031857600080fd5b8063088a4ed0116101a0578063088a4ed014610256578063095ea7b31461027857806313faede61461029857806318160ddd146102bc57600080fd5b806301ffc9a7146101c757806306fdde03146101fc578063081812fc1461021e575b600080fd5b3480156101d357600080fd5b506101e76101e2366004611781565b61056b565b60405190151581526020015b60405180910390f35b34801561020857600080fd5b506102116105bd565b6040516101f391906117fd565b34801561022a57600080fd5b5061023e610239366004611810565b61064f565b6040516001600160a01b0390911681526020016101f3565b34801561026257600080fd5b50610276610271366004611810565b610693565b005b34801561028457600080fd5b50610276610293366004611845565b6106cb565b3480156102a457600080fd5b506102ae60095481565b6040519081526020016101f3565b3480156102c857600080fd5b50600154600054036102ae565b3480156102e157600080fd5b506102ae6102f036600461186f565b600e6020526000908152604090205481565b34801561030e57600080fd5b506102ae600b5481565b34801561032457600080fd5b5061027661033336600461188a565b610758565b34801561034457600080fd5b50610276610763565b34801561035957600080fd5b5061027661036836600461188a565b61087c565b34801561037957600080fd5b50610276610388366004611810565b610897565b34801561039957600080fd5b506102766103a8366004611952565b6108c6565b3480156103b957600080fd5b50600c546101e79060ff1681565b3480156103d357600080fd5b5061023e6103e2366004611810565b610900565b3480156103f357600080fd5b50610211610912565b34801561040857600080fd5b506102ae61041736600461186f565b6109a0565b34801561042857600080fd5b506102766109ef565b34801561043d57600080fd5b50610276610a25565b34801561045257600080fd5b506008546001600160a01b031661023e565b34801561047057600080fd5b50610211610a63565b610276610487366004611810565b610a72565b34801561049857600080fd5b506102766104a736600461199b565b610d3b565b3480156104b857600080fd5b506102766104c73660046119d7565b610dd0565b3480156104d857600080fd5b506102116104e7366004611810565b610e21565b3480156104f857600080fd5b506102ae600a5481565b34801561050e57600080fd5b506101e761051d366004611a53565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561055757600080fd5b5061027661056636600461186f565b610ee4565b60006001600160e01b031982166380ac58cd60e01b148061059c57506001600160e01b03198216635b5e139f60e01b145b806105b757506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600280546105cc90611a86565b80601f01602080910402602001604051908101604052809291908181526020018280546105f890611a86565b80156106455780601f1061061a57610100808354040283529160200191610645565b820191906000526020600020905b81548152906001019060200180831161062857829003601f168201915b5050505050905090565b600061065a82610f7f565b610677576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6008546001600160a01b031633146106c65760405162461bcd60e51b81526004016106bd90611ac0565b60405180910390fd5b600b55565b60006106d682610900565b9050806001600160a01b0316836001600160a01b03160361070a5760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b0382161480159061072a5750610728813361051d565b155b15610748576040516367d9dca160e11b815260040160405180910390fd5b610753838383610faa565b505050565b610753838383611006565b6008546001600160a01b0316331461078d5760405162461bcd60e51b81526004016106bd90611ac0565b47600073eaa13156a5d2651832164ecc8302c40fd2c401a160646107b2846003611b0b565b6107bc9190611b40565b604051600081818185875af1925050503d80600081146107f8576040519150601f19603f3d011682016040523d82523d6000602084013e6107fd565b606091505b505090508061080b57600080fd5b600061081f6008546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d8060008114610869576040519150601f19603f3d011682016040523d82523d6000602084013e61086e565b606091505b505090508061075357600080fd5b61075383838360405180602001604052806000815250610dd0565b6008546001600160a01b031633146108c15760405162461bcd60e51b81526004016106bd90611ac0565b600955565b6008546001600160a01b031633146108f05760405162461bcd60e51b81526004016106bd90611ac0565b600d6108fc8282611ba2565b5050565b600061090b8261121c565b5192915050565b600d805461091f90611a86565b80601f016020809104026020016040519081016040528092919081815260200182805461094b90611a86565b80156109985780601f1061096d57610100808354040283529160200191610998565b820191906000526020600020905b81548152906001019060200180831161097b57829003601f168201915b505050505081565b60006001600160a01b0382166109c9576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b03163314610a195760405162461bcd60e51b81526004016106bd90611ac0565b610a236000611338565b565b6008546001600160a01b03163314610a4f5760405162461bcd60e51b81526004016106bd90611ac0565b600c805460ff19811660ff90911615179055565b6060600380546105cc90611a86565b600c5460ff1615610ac55760405162461bcd60e51b815260206004820181905260248201527f417065546f776e202d2054686520436f6e74726163742069732050617573656460448201526064016106bd565b600a5481610ad66001546000540390565b610ae09190611c62565b1115610b2e5760405162461bcd60e51b815260206004820181905260248201527f417065546f776e202d206d6178204e4654206c696d697420657863656564656460448201526064016106bd565b6008546001600160a01b03163314610d0a57600b54811115610ba35760405162461bcd60e51b815260206004820152602860248201527f417065546f776e202d206d6178206d696e7420616d6f756e74206c696d697420604482015267195e18d95959195960c21b60648201526084016106bd565b336000908152600e6020526040902054600b54610bc08383611c62565b1115610c1d5760405162461bcd60e51b815260206004820152602660248201527f417065546f776e202d206d6178204e465420706572206164647265737320657860448201526518d95959195960d21b60648201526084016106bd565b6107d0610c2d6001546000540390565b108015610c3a5750600181105b15610cab57610c4a600183611c7a565b600954610c579190611b0b565b341015610ca65760405162461bcd60e51b815260206004820152601c60248201527f417065546f776e202d204f6e6c792031204e465420697320667265650000000060448201526064016106bd565b610d08565b81600954610cb99190611b0b565b341015610d085760405162461bcd60e51b815260206004820152601d60248201527f417065546f776e202d20696e73756666696369656e742065746865727300000060448201526064016106bd565b505b610d14338261138a565b336000908152600e602052604081208054839290610d33908490611c62565b909155505050565b336001600160a01b03831603610d645760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610ddb848484611006565b6001600160a01b0383163b15158015610dfd5750610dfb848484846113a4565b155b15610e1b576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060610e2c82610f7f565b610e885760405162461bcd60e51b815260206004820152602760248201527f4552433732314d657461646174613a20546f6b656e20494420646f6573206e6f6044820152661d08195e1a5cdd60ca1b60648201526084016106bd565b6000600d8054610e9790611a86565b905011610eb357604051806020016040528060008152506105b7565b600d610ebe83611490565b604051602001610ecf929190611c91565b60405160208183030381529060405292915050565b6008546001600160a01b03163314610f0e5760405162461bcd60e51b81526004016106bd90611ac0565b6001600160a01b038116610f735760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106bd565b610f7c81611338565b50565b60008054821080156105b7575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60006110118261121c565b80519091506000906001600160a01b0316336001600160a01b0316148061103f5750815161103f903361051d565b8061105a57503361104f8461064f565b6001600160a01b0316145b90508061107a57604051632ce44b5f60e11b815260040160405180910390fd5b846001600160a01b031682600001516001600160a01b0316146110af5760405162a1148160e81b815260040160405180910390fd5b6001600160a01b0384166110d657604051633a954ecd60e21b815260040160405180910390fd5b6110e66000848460000151610faa565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff1980821667ffffffffffffffff92831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b4290921691909102179092559086018083529120549091166111d2576000548110156111d2578251600082815260046020908152604090912080549186015167ffffffffffffffff16600160a01b026001600160e01b03199092166001600160a01b03909316929092171790555b5082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b60408051606081018252600080825260208201819052918101919091528160005481101561131f57600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b810467ffffffffffffffff1692820192909252600160e01b90910460ff1615159181018290529061131d5780516001600160a01b0316156112b3579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b820467ffffffffffffffff1693830193909352600160e01b900460ff1615159281019290925215611318579392505050565b6112b3565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6108fc828260405180602001604052806000815250611591565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906113d9903390899088908890600401611d37565b6020604051808303816000875af1925050508015611414575060408051601f3d908101601f1916820190925261141191810190611d74565b60015b611472573d808015611442576040519150601f19603f3d011682016040523d82523d6000602084013e611447565b606091505b50805160000361146a576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060816000036114b75750506040805180820190915260018152600360fc1b602082015290565b8160005b81156114e157806114cb81611d91565b91506114da9050600a83611b40565b91506114bb565b60008167ffffffffffffffff8111156114fc576114fc6118c6565b6040519080825280601f01601f191660200182016040528015611526576020820181803683370190505b5090505b84156114885761153b600183611c7a565b9150611548600a86611daa565b611553906030611c62565b60f81b81838151811061156857611568611dbe565b60200101906001600160f81b031916908160001a90535061158a600a86611b40565b945061152a565b61075383838360016000546001600160a01b0385166115c257604051622e076360e81b815260040160405180910390fd5b836000036115e35760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260056020908152604080832080546fffffffffffffffffffffffffffffffff19811667ffffffffffffffff8083168c0181169182176801000000000000000067ffffffffffffffff1990941690921783900481168c01811690920217909155858452600490925290912080546001600160e01b031916909217600160a01b42909216919091021790558080850183801561169557506001600160a01b0387163b15155b1561171d575b60405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46116e660008884806001019550886113a4565b611703576040516368d2bf6b60e11b815260040160405180910390fd5b80820361169b57826000541461171857600080fd5b611762565b5b6040516001830192906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a480820361171e575b50600055611215565b6001600160e01b031981168114610f7c57600080fd5b60006020828403121561179357600080fd5b813561179e8161176b565b9392505050565b60005b838110156117c05781810151838201526020016117a8565b83811115610e1b5750506000910152565b600081518084526117e98160208601602086016117a5565b601f01601f19169290920160200192915050565b60208152600061179e60208301846117d1565b60006020828403121561182257600080fd5b5035919050565b80356001600160a01b038116811461184057600080fd5b919050565b6000806040838503121561185857600080fd5b61186183611829565b946020939093013593505050565b60006020828403121561188157600080fd5b61179e82611829565b60008060006060848603121561189f57600080fd5b6118a884611829565b92506118b660208501611829565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff808411156118f7576118f76118c6565b604051601f8501601f19908116603f0116810190828211818310171561191f5761191f6118c6565b8160405280935085815286868601111561193857600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561196457600080fd5b813567ffffffffffffffff81111561197b57600080fd5b8201601f8101841361198c57600080fd5b611488848235602084016118dc565b600080604083850312156119ae57600080fd5b6119b783611829565b9150602083013580151581146119cc57600080fd5b809150509250929050565b600080600080608085870312156119ed57600080fd5b6119f685611829565b9350611a0460208601611829565b925060408501359150606085013567ffffffffffffffff811115611a2757600080fd5b8501601f81018713611a3857600080fd5b611a47878235602084016118dc565b91505092959194509250565b60008060408385031215611a6657600080fd5b611a6f83611829565b9150611a7d60208401611829565b90509250929050565b600181811c90821680611a9a57607f821691505b602082108103611aba57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b6000816000190483118215151615611b2557611b25611af5565b500290565b634e487b7160e01b600052601260045260246000fd5b600082611b4f57611b4f611b2a565b500490565b601f82111561075357600081815260208120601f850160051c81016020861015611b7b5750805b601f850160051c820191505b81811015611b9a57828155600101611b87565b505050505050565b815167ffffffffffffffff811115611bbc57611bbc6118c6565b611bd081611bca8454611a86565b84611b54565b602080601f831160018114611c055760008415611bed5750858301515b600019600386901b1c1916600185901b178555611b9a565b600085815260208120601f198616915b82811015611c3457888601518255948401946001909101908401611c15565b5085821015611c525787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60008219821115611c7557611c75611af5565b500190565b600082821015611c8c57611c8c611af5565b500390565b6000808454611c9f81611a86565b60018281168015611cb75760018114611ccc57611cfb565b60ff1984168752821515830287019450611cfb565b8860005260208060002060005b85811015611cf25781548a820152908401908201611cd9565b50505082870194505b50602f60f81b845286519250611d178382860160208a016117a5565b64173539b7b760d91b939092019182019290925260060195945050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611d6a908301846117d1565b9695505050505050565b600060208284031215611d8657600080fd5b815161179e8161176b565b600060018201611da357611da3611af5565b5060010190565b600082611db957611db9611b2a565b500690565b634e487b7160e01b600052603260045260246000fdfea26469706673582212207f122d9495a7b46dfd18f674bb16c79cca637a1586e49def8912a2520efe6d0d64736f6c634300080f00330000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000005268747470733a2f2f617065746f776e2e6d7970696e6174612e636c6f75642f697066732f516d646462713473434536556764433332374d46673232546f475251364a77314d736739315147703254326f32410000000000000000000000000000

Deployed Bytecode

0x6080604052600436106101c25760003560e01c80635c975abb116100f757806395d89b4111610095578063c87b56dd11610064578063c87b56dd146104cc578063d5abeb01146104ec578063e985e9c514610502578063f2fde38b1461054b57600080fd5b806395d89b4114610464578063a0712d6814610479578063a22cb4651461048c578063b88d4fde146104ac57600080fd5b806370a08231116100d157806370a08231146103fc578063715018a61461041c5780638456cb59146104315780638da5cb5b1461044657600080fd5b80635c975abb146103ad5780636352211e146103c75780636c0360eb146103e757600080fd5b806318cae269116101645780633ccfd60b1161013e5780633ccfd60b1461033857806342842e0e1461034d57806344a0d68a1461036d57806355f804b31461038d57600080fd5b806318cae269146102d5578063239c70ae1461030257806323b872dd1461031857600080fd5b8063088a4ed0116101a0578063088a4ed014610256578063095ea7b31461027857806313faede61461029857806318160ddd146102bc57600080fd5b806301ffc9a7146101c757806306fdde03146101fc578063081812fc1461021e575b600080fd5b3480156101d357600080fd5b506101e76101e2366004611781565b61056b565b60405190151581526020015b60405180910390f35b34801561020857600080fd5b506102116105bd565b6040516101f391906117fd565b34801561022a57600080fd5b5061023e610239366004611810565b61064f565b6040516001600160a01b0390911681526020016101f3565b34801561026257600080fd5b50610276610271366004611810565b610693565b005b34801561028457600080fd5b50610276610293366004611845565b6106cb565b3480156102a457600080fd5b506102ae60095481565b6040519081526020016101f3565b3480156102c857600080fd5b50600154600054036102ae565b3480156102e157600080fd5b506102ae6102f036600461186f565b600e6020526000908152604090205481565b34801561030e57600080fd5b506102ae600b5481565b34801561032457600080fd5b5061027661033336600461188a565b610758565b34801561034457600080fd5b50610276610763565b34801561035957600080fd5b5061027661036836600461188a565b61087c565b34801561037957600080fd5b50610276610388366004611810565b610897565b34801561039957600080fd5b506102766103a8366004611952565b6108c6565b3480156103b957600080fd5b50600c546101e79060ff1681565b3480156103d357600080fd5b5061023e6103e2366004611810565b610900565b3480156103f357600080fd5b50610211610912565b34801561040857600080fd5b506102ae61041736600461186f565b6109a0565b34801561042857600080fd5b506102766109ef565b34801561043d57600080fd5b50610276610a25565b34801561045257600080fd5b506008546001600160a01b031661023e565b34801561047057600080fd5b50610211610a63565b610276610487366004611810565b610a72565b34801561049857600080fd5b506102766104a736600461199b565b610d3b565b3480156104b857600080fd5b506102766104c73660046119d7565b610dd0565b3480156104d857600080fd5b506102116104e7366004611810565b610e21565b3480156104f857600080fd5b506102ae600a5481565b34801561050e57600080fd5b506101e761051d366004611a53565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561055757600080fd5b5061027661056636600461186f565b610ee4565b60006001600160e01b031982166380ac58cd60e01b148061059c57506001600160e01b03198216635b5e139f60e01b145b806105b757506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600280546105cc90611a86565b80601f01602080910402602001604051908101604052809291908181526020018280546105f890611a86565b80156106455780601f1061061a57610100808354040283529160200191610645565b820191906000526020600020905b81548152906001019060200180831161062857829003601f168201915b5050505050905090565b600061065a82610f7f565b610677576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6008546001600160a01b031633146106c65760405162461bcd60e51b81526004016106bd90611ac0565b60405180910390fd5b600b55565b60006106d682610900565b9050806001600160a01b0316836001600160a01b03160361070a5760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b0382161480159061072a5750610728813361051d565b155b15610748576040516367d9dca160e11b815260040160405180910390fd5b610753838383610faa565b505050565b610753838383611006565b6008546001600160a01b0316331461078d5760405162461bcd60e51b81526004016106bd90611ac0565b47600073eaa13156a5d2651832164ecc8302c40fd2c401a160646107b2846003611b0b565b6107bc9190611b40565b604051600081818185875af1925050503d80600081146107f8576040519150601f19603f3d011682016040523d82523d6000602084013e6107fd565b606091505b505090508061080b57600080fd5b600061081f6008546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d8060008114610869576040519150601f19603f3d011682016040523d82523d6000602084013e61086e565b606091505b505090508061075357600080fd5b61075383838360405180602001604052806000815250610dd0565b6008546001600160a01b031633146108c15760405162461bcd60e51b81526004016106bd90611ac0565b600955565b6008546001600160a01b031633146108f05760405162461bcd60e51b81526004016106bd90611ac0565b600d6108fc8282611ba2565b5050565b600061090b8261121c565b5192915050565b600d805461091f90611a86565b80601f016020809104026020016040519081016040528092919081815260200182805461094b90611a86565b80156109985780601f1061096d57610100808354040283529160200191610998565b820191906000526020600020905b81548152906001019060200180831161097b57829003601f168201915b505050505081565b60006001600160a01b0382166109c9576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b03163314610a195760405162461bcd60e51b81526004016106bd90611ac0565b610a236000611338565b565b6008546001600160a01b03163314610a4f5760405162461bcd60e51b81526004016106bd90611ac0565b600c805460ff19811660ff90911615179055565b6060600380546105cc90611a86565b600c5460ff1615610ac55760405162461bcd60e51b815260206004820181905260248201527f417065546f776e202d2054686520436f6e74726163742069732050617573656460448201526064016106bd565b600a5481610ad66001546000540390565b610ae09190611c62565b1115610b2e5760405162461bcd60e51b815260206004820181905260248201527f417065546f776e202d206d6178204e4654206c696d697420657863656564656460448201526064016106bd565b6008546001600160a01b03163314610d0a57600b54811115610ba35760405162461bcd60e51b815260206004820152602860248201527f417065546f776e202d206d6178206d696e7420616d6f756e74206c696d697420604482015267195e18d95959195960c21b60648201526084016106bd565b336000908152600e6020526040902054600b54610bc08383611c62565b1115610c1d5760405162461bcd60e51b815260206004820152602660248201527f417065546f776e202d206d6178204e465420706572206164647265737320657860448201526518d95959195960d21b60648201526084016106bd565b6107d0610c2d6001546000540390565b108015610c3a5750600181105b15610cab57610c4a600183611c7a565b600954610c579190611b0b565b341015610ca65760405162461bcd60e51b815260206004820152601c60248201527f417065546f776e202d204f6e6c792031204e465420697320667265650000000060448201526064016106bd565b610d08565b81600954610cb99190611b0b565b341015610d085760405162461bcd60e51b815260206004820152601d60248201527f417065546f776e202d20696e73756666696369656e742065746865727300000060448201526064016106bd565b505b610d14338261138a565b336000908152600e602052604081208054839290610d33908490611c62565b909155505050565b336001600160a01b03831603610d645760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610ddb848484611006565b6001600160a01b0383163b15158015610dfd5750610dfb848484846113a4565b155b15610e1b576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060610e2c82610f7f565b610e885760405162461bcd60e51b815260206004820152602760248201527f4552433732314d657461646174613a20546f6b656e20494420646f6573206e6f6044820152661d08195e1a5cdd60ca1b60648201526084016106bd565b6000600d8054610e9790611a86565b905011610eb357604051806020016040528060008152506105b7565b600d610ebe83611490565b604051602001610ecf929190611c91565b60405160208183030381529060405292915050565b6008546001600160a01b03163314610f0e5760405162461bcd60e51b81526004016106bd90611ac0565b6001600160a01b038116610f735760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106bd565b610f7c81611338565b50565b60008054821080156105b7575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60006110118261121c565b80519091506000906001600160a01b0316336001600160a01b0316148061103f5750815161103f903361051d565b8061105a57503361104f8461064f565b6001600160a01b0316145b90508061107a57604051632ce44b5f60e11b815260040160405180910390fd5b846001600160a01b031682600001516001600160a01b0316146110af5760405162a1148160e81b815260040160405180910390fd5b6001600160a01b0384166110d657604051633a954ecd60e21b815260040160405180910390fd5b6110e66000848460000151610faa565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff1980821667ffffffffffffffff92831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b4290921691909102179092559086018083529120549091166111d2576000548110156111d2578251600082815260046020908152604090912080549186015167ffffffffffffffff16600160a01b026001600160e01b03199092166001600160a01b03909316929092171790555b5082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b60408051606081018252600080825260208201819052918101919091528160005481101561131f57600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b810467ffffffffffffffff1692820192909252600160e01b90910460ff1615159181018290529061131d5780516001600160a01b0316156112b3579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b820467ffffffffffffffff1693830193909352600160e01b900460ff1615159281019290925215611318579392505050565b6112b3565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6108fc828260405180602001604052806000815250611591565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906113d9903390899088908890600401611d37565b6020604051808303816000875af1925050508015611414575060408051601f3d908101601f1916820190925261141191810190611d74565b60015b611472573d808015611442576040519150601f19603f3d011682016040523d82523d6000602084013e611447565b606091505b50805160000361146a576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060816000036114b75750506040805180820190915260018152600360fc1b602082015290565b8160005b81156114e157806114cb81611d91565b91506114da9050600a83611b40565b91506114bb565b60008167ffffffffffffffff8111156114fc576114fc6118c6565b6040519080825280601f01601f191660200182016040528015611526576020820181803683370190505b5090505b84156114885761153b600183611c7a565b9150611548600a86611daa565b611553906030611c62565b60f81b81838151811061156857611568611dbe565b60200101906001600160f81b031916908160001a90535061158a600a86611b40565b945061152a565b61075383838360016000546001600160a01b0385166115c257604051622e076360e81b815260040160405180910390fd5b836000036115e35760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260056020908152604080832080546fffffffffffffffffffffffffffffffff19811667ffffffffffffffff8083168c0181169182176801000000000000000067ffffffffffffffff1990941690921783900481168c01811690920217909155858452600490925290912080546001600160e01b031916909217600160a01b42909216919091021790558080850183801561169557506001600160a01b0387163b15155b1561171d575b60405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46116e660008884806001019550886113a4565b611703576040516368d2bf6b60e11b815260040160405180910390fd5b80820361169b57826000541461171857600080fd5b611762565b5b6040516001830192906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a480820361171e575b50600055611215565b6001600160e01b031981168114610f7c57600080fd5b60006020828403121561179357600080fd5b813561179e8161176b565b9392505050565b60005b838110156117c05781810151838201526020016117a8565b83811115610e1b5750506000910152565b600081518084526117e98160208601602086016117a5565b601f01601f19169290920160200192915050565b60208152600061179e60208301846117d1565b60006020828403121561182257600080fd5b5035919050565b80356001600160a01b038116811461184057600080fd5b919050565b6000806040838503121561185857600080fd5b61186183611829565b946020939093013593505050565b60006020828403121561188157600080fd5b61179e82611829565b60008060006060848603121561189f57600080fd5b6118a884611829565b92506118b660208501611829565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff808411156118f7576118f76118c6565b604051601f8501601f19908116603f0116810190828211818310171561191f5761191f6118c6565b8160405280935085815286868601111561193857600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561196457600080fd5b813567ffffffffffffffff81111561197b57600080fd5b8201601f8101841361198c57600080fd5b611488848235602084016118dc565b600080604083850312156119ae57600080fd5b6119b783611829565b9150602083013580151581146119cc57600080fd5b809150509250929050565b600080600080608085870312156119ed57600080fd5b6119f685611829565b9350611a0460208601611829565b925060408501359150606085013567ffffffffffffffff811115611a2757600080fd5b8501601f81018713611a3857600080fd5b611a47878235602084016118dc565b91505092959194509250565b60008060408385031215611a6657600080fd5b611a6f83611829565b9150611a7d60208401611829565b90509250929050565b600181811c90821680611a9a57607f821691505b602082108103611aba57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b6000816000190483118215151615611b2557611b25611af5565b500290565b634e487b7160e01b600052601260045260246000fd5b600082611b4f57611b4f611b2a565b500490565b601f82111561075357600081815260208120601f850160051c81016020861015611b7b5750805b601f850160051c820191505b81811015611b9a57828155600101611b87565b505050505050565b815167ffffffffffffffff811115611bbc57611bbc6118c6565b611bd081611bca8454611a86565b84611b54565b602080601f831160018114611c055760008415611bed5750858301515b600019600386901b1c1916600185901b178555611b9a565b600085815260208120601f198616915b82811015611c3457888601518255948401946001909101908401611c15565b5085821015611c525787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60008219821115611c7557611c75611af5565b500190565b600082821015611c8c57611c8c611af5565b500390565b6000808454611c9f81611a86565b60018281168015611cb75760018114611ccc57611cfb565b60ff1984168752821515830287019450611cfb565b8860005260208060002060005b85811015611cf25781548a820152908401908201611cd9565b50505082870194505b50602f60f81b845286519250611d178382860160208a016117a5565b64173539b7b760d91b939092019182019290925260060195945050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611d6a908301846117d1565b9695505050505050565b600060208284031215611d8657600080fd5b815161179e8161176b565b600060018201611da357611da3611af5565b5060010190565b600082611db957611db9611b2a565b500690565b634e487b7160e01b600052603260045260246000fdfea26469706673582212207f122d9495a7b46dfd18f674bb16c79cca637a1586e49def8912a2520efe6d0d64736f6c634300080f0033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000005268747470733a2f2f617065746f776e2e6d7970696e6174612e636c6f75642f697066732f516d646462713473434536556764433332374d46673232546f475251364a77314d736739315147703254326f32410000000000000000000000000000

-----Decoded View---------------
Arg [0] : _initBaseURI (string): https://apetown.mypinata.cloud/ipfs/Qmddbq4sCE6UgdC327MFg22ToGRQ6Jw1Msg91QGp2T2o2A

-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000052
Arg [2] : 68747470733a2f2f617065746f776e2e6d7970696e6174612e636c6f75642f69
Arg [3] : 7066732f516d646462713473434536556764433332374d46673232546f475251
Arg [4] : 364a77314d736739315147703254326f32410000000000000000000000000000


Deployed Bytecode Sourcemap

47191:2820:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26409:355;;;;;;;;;;-1:-1:-1;26409:355:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;26409:355:0;;;;;;;;29876:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;31476:245::-;;;;;;;;;;-1:-1:-1;31476:245:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1692:32:1;;;1674:51;;1662:2;1647:18;31476:245:0;1528:203:1;49251:116:0;;;;;;;;;;-1:-1:-1;49251:116:0;;;;;:::i;:::-;;:::i;:::-;;31039:371;;;;;;;;;;-1:-1:-1;31039:371:0;;;;;:::i;:::-;;:::i;47267:32::-;;;;;;;;;;;;;;;;;;;2319:25:1;;;2307:2;2292:18;47267:32:0;2173:177:1;25658:303:0;;;;;;;;;;-1:-1:-1;25912:12:0;;25702:7;25896:13;:28;25658:303;;47447:55;;;;;;;;;;-1:-1:-1;47447:55:0;;;;;:::i;:::-;;;;;;;;;;;;;;47344:33;;;;;;;;;;;;;;;;32447:170;;;;;;;;;;-1:-1:-1;32447:170:0;;;;;:::i;:::-;;:::i;49652:356::-;;;;;;;;;;;;;:::i;32688:185::-;;;;;;;;;;-1:-1:-1;32688:185:0;;;;;:::i;:::-;;:::i;49375:86::-;;;;;;;;;;-1:-1:-1;49375:86:0;;;;;:::i;:::-;;:::i;49469:98::-;;;;;;;;;;-1:-1:-1;49469:98:0;;;;;:::i;:::-;;:::i;47384:26::-;;;;;;;;;;-1:-1:-1;47384:26:0;;;;;;;;29685:124;;;;;;;;;;-1:-1:-1;29685:124:0;;;;;:::i;:::-;;:::i;47417:21::-;;;;;;;;;;;;;:::i;26828:206::-;;;;;;;;;;-1:-1:-1;26828:206:0;;;;;:::i;:::-;;:::i;46310:103::-;;;;;;;;;;;;;:::i;49575:69::-;;;;;;;;;;;;;:::i;45659:87::-;;;;;;;;;;-1:-1:-1;45732:6:0;;-1:-1:-1;;;;;45732:6:0;45659:87;;30045:104;;;;;;;;;;;;;:::i;48051:1174::-;;;;;;:::i;:::-;;:::i;31793:302::-;;;;;;;;;;-1:-1:-1;31793:302:0;;;;;:::i;:::-;;:::i;32944:406::-;;;;;;;;;;-1:-1:-1;32944:406:0;;;;;:::i;:::-;;:::i;47630:413::-;;;;;;;;;;-1:-1:-1;47630:413:0;;;;;:::i;:::-;;:::i;47306:31::-;;;;;;;;;;;;;;;;32166:214;;;;;;;;;;-1:-1:-1;32166:214:0;;;;;:::i;:::-;-1:-1:-1;;;;;32337:25:0;;;32308:4;32337:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;32166:214;46568:238;;;;;;;;;;-1:-1:-1;46568:238:0;;;;;:::i;:::-;;:::i;26409:355::-;26556:4;-1:-1:-1;;;;;;26598:40:0;;-1:-1:-1;;;26598:40:0;;:105;;-1:-1:-1;;;;;;;26655:48:0;;-1:-1:-1;;;26655:48:0;26598:105;:158;;;-1:-1:-1;;;;;;;;;;14065:40:0;;;26720:36;26578:178;26409:355;-1:-1:-1;;26409:355:0:o;29876:100::-;29930:13;29963:5;29956:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29876:100;:::o;31476:245::-;31580:7;31610:16;31618:7;31610;:16::i;:::-;31605:64;;31635:34;;-1:-1:-1;;;31635:34:0;;;;;;;;;;;31605:64;-1:-1:-1;31689:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;31689:24:0;;31476:245::o;49251:116::-;45732:6;;-1:-1:-1;;;;;45732:6:0;21803:10;45879:23;45871:68;;;;-1:-1:-1;;;45871:68:0;;;;;;;:::i;:::-;;;;;;;;;49329:13:::1;:30:::0;49251:116::o;31039:371::-;31112:13;31128:24;31144:7;31128:15;:24::i;:::-;31112:40;;31173:5;-1:-1:-1;;;;;31167:11:0;:2;-1:-1:-1;;;;;31167:11:0;;31163:48;;31187:24;;-1:-1:-1;;;31187:24:0;;;;;;;;;;;31163:48;21803:10;-1:-1:-1;;;;;31228:21:0;;;;;;:63;;-1:-1:-1;31254:37:0;31271:5;21803:10;32166:214;:::i;31254:37::-;31253:38;31228:63;31224:138;;;31315:35;;-1:-1:-1;;;31315:35:0;;;;;;;;;;;31224:138;31374:28;31383:2;31387:7;31396:5;31374:8;:28::i;:::-;31101:309;31039:371;;:::o;32447:170::-;32581:28;32591:4;32597:2;32601:7;32581:9;:28::i;49652:356::-;45732:6;;-1:-1:-1;;;;;45732:6:0;21803:10;45879:23;45871:68;;;;-1:-1:-1;;;45871:68:0;;;;;;;:::i;:::-;49717:21:::1;49700:14;49772:42;49857:3;49843:10;49717:21:::0;49852:1:::1;49843:10;:::i;:::-;49842:18;;;;:::i;:::-;49764:111;::::0;::::1;::::0;;;;;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49749:126;;;49894:3;49886:12;;;::::0;::::1;;49910:7;49931;45732:6:::0;;-1:-1:-1;;;;;45732:6:0;;45659:87;49931:7:::1;-1:-1:-1::0;;;;;49923:21:0::1;49952;49923:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49909:69;;;49997:2;49989:11;;;::::0;::::1;32688:185:::0;32826:39;32843:4;32849:2;32853:7;32826:39;;;;;;;;;;;;:16;:39::i;49375:86::-;45732:6;;-1:-1:-1;;;;;45732:6:0;21803:10;45879:23;45871:68;;;;-1:-1:-1;;;45871:68:0;;;;;;;:::i;:::-;49438:4:::1;:15:::0;49375:86::o;49469:98::-;45732:6;;-1:-1:-1;;;;;45732:6:0;21803:10;45879:23;45871:68;;;;-1:-1:-1;;;45871:68:0;;;;;;;:::i;:::-;49541:7:::1;:18;49551:8:::0;49541:7;:18:::1;:::i;:::-;;49469:98:::0;:::o;29685:124::-;29749:7;29776:20;29788:7;29776:11;:20::i;:::-;:25;;29685:124;-1:-1:-1;;29685:124:0:o;47417:21::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;26828:206::-;26892:7;-1:-1:-1;;;;;26916:19:0;;26912:60;;26944:28;;-1:-1:-1;;;26944:28:0;;;;;;;;;;;26912:60;-1:-1:-1;;;;;;26998:19:0;;;;;:12;:19;;;;;:27;;;;26828:206::o;46310:103::-;45732:6;;-1:-1:-1;;;;;45732:6:0;21803:10;45879:23;45871:68;;;;-1:-1:-1;;;45871:68:0;;;;;;;:::i;:::-;46375:30:::1;46402:1;46375:18;:30::i;:::-;46310:103::o:0;49575:69::-;45732:6;;-1:-1:-1;;;;;45732:6:0;21803:10;45879:23;45871:68;;;;-1:-1:-1;;;45871:68:0;;;;;;;:::i;:::-;49630:6:::1;::::0;;-1:-1:-1;;49620:16:0;::::1;49630:6;::::0;;::::1;49629:7;49620:16;::::0;;49575:69::o;30045:104::-;30101:13;30134:7;30127:14;;;;;:::i;48051:1174::-;48119:6;;;;48118:7;48110:52;;;;-1:-1:-1;;;48110:52:0;;9317:2:1;48110:52:0;;;9299:21:1;;;9336:18;;;9329:30;9395:34;9375:18;;;9368:62;9447:18;;48110:52:0;9115:356:1;48110:52:0;48222:9;;48211:7;48195:13;25912:12;;25702:7;25896:13;:28;;25658:303;48195:13;:23;;;;:::i;:::-;:36;;48173:118;;;;-1:-1:-1;;;48173:118:0;;9811:2:1;48173:118:0;;;9793:21:1;;;9830:18;;;9823:30;9889:34;9869:18;;;9862:62;9941:18;;48173:118:0;9609:356:1;48173:118:0;45732:6;;-1:-1:-1;;;;;45732:6:0;48306:10;:21;48302:819;;48381:13;;48370:7;:24;;48344:126;;;;-1:-1:-1;;;48344:126:0;;10172:2:1;48344:126:0;;;10154:21:1;10211:2;10191:18;;;10184:30;10250:34;10230:18;;;10223:62;-1:-1:-1;;;10301:18:1;;;10294:38;10349:19;;48344:126:0;9970:404:1;48344:126:0;48533:10;48485:24;48512:32;;;:20;:32;;;;;;48615:13;;48585:26;48604:7;48512:32;48585:26;:::i;:::-;:43;;48559:143;;;;-1:-1:-1;;;48559:143:0;;10581:2:1;48559:143:0;;;10563:21:1;10620:2;10600:18;;;10593:30;10659:34;10639:18;;;10632:62;-1:-1:-1;;;10710:18:1;;;10703:36;10756:19;;48559:143:0;10379:402:1;48559:143:0;48739:4;48723:13;25912:12;;25702:7;25896:13;:28;;25658:303;48723:13;:20;:44;;;;;48766:1;48747:16;:20;48723:44;48719:391;;;48839:11;48849:1;48839:7;:11;:::i;:::-;48831:4;;:20;;;;:::i;:::-;48818:9;:33;;48788:135;;;;-1:-1:-1;;;48788:135:0;;11118:2:1;48788:135:0;;;11100:21:1;11157:2;11137:18;;;11130:30;11196;11176:18;;;11169:58;11244:18;;48788:135:0;10916:352:1;48788:135:0;48719:391;;;49014:7;49007:4;;:14;;;;:::i;:::-;48994:9;:27;;48964:130;;;;-1:-1:-1;;;48964:130:0;;11475:2:1;48964:130:0;;;11457:21:1;11514:2;11494:18;;;11487:30;11553:31;11533:18;;;11526:59;11602:18;;48964:130:0;11273:353:1;48964:130:0;48329:792;48302:819;49133:30;49143:10;49155:7;49133:9;:30::i;:::-;49195:10;49174:32;;;;:20;:32;;;;;:43;;49210:7;;49174:32;:43;;49210:7;;49174:43;:::i;:::-;;;;-1:-1:-1;;;48051:1174:0:o;31793:302::-;21803:10;-1:-1:-1;;;;;31907:24:0;;;31903:54;;31940:17;;-1:-1:-1;;;31940:17:0;;;;;;;;;;;31903:54;21803:10;31970:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;31970:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;31970:53:0;;;;;;;;;;32039:48;;540:41:1;;;31970:42:0;;21803:10;32039:48;;513:18:1;32039:48:0;;;;;;;31793:302;;:::o;32944:406::-;33111:28;33121:4;33127:2;33131:7;33111:9;:28::i;:::-;-1:-1:-1;;;;;33168:13:0;;3659:19;:23;;33168:89;;;;;33201:56;33232:4;33238:2;33242:7;33251:5;33201:30;:56::i;:::-;33200:57;33168:89;33150:193;;;33291:40;;-1:-1:-1;;;33291:40:0;;;;;;;;;;;33150:193;32944:406;;;;:::o;47630:413::-;47731:13;47770:16;47778:7;47770;:16::i;:::-;47762:68;;;;-1:-1:-1;;;47762:68:0;;11833:2:1;47762:68:0;;;11815:21:1;11872:2;11852:18;;;11845:30;11911:34;11891:18;;;11884:62;-1:-1:-1;;;11962:18:1;;;11955:37;12009:19;;47762:68:0;11631:403:1;47762:68:0;47885:1;47867:7;47861:21;;;;;:::i;:::-;;;:25;:174;;;;;;;;;;;;;;;;;47952:7;47966:18;:7;:16;:18::i;:::-;47935:59;;;;;;;;;:::i;:::-;;;;;;;;;;;;;47841:194;47630:413;-1:-1:-1;;47630:413:0:o;46568:238::-;45732:6;;-1:-1:-1;;;;;45732:6:0;21803:10;45879:23;45871:68;;;;-1:-1:-1;;;45871:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;46671:22:0;::::1;46649:110;;;::::0;-1:-1:-1;;;46649:110:0;;13555:2:1;46649:110:0::1;::::0;::::1;13537:21:1::0;13594:2;13574:18;;;13567:30;13633:34;13613:18;;;13606:62;-1:-1:-1;;;13684:18:1;;;13677:36;13730:19;;46649:110:0::1;13353:402:1::0;46649:110:0::1;46770:28;46789:8;46770:18;:28::i;:::-;46568:238:::0;:::o;33605:213::-;33662:4;33752:13;;33742:7;:23;33699:111;;;;-1:-1:-1;;33783:20:0;;;;:11;:20;;;;;:27;-1:-1:-1;;;33783:27:0;;;;33782:28;;33605:213::o;41485:196::-;41600:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;41600:29:0;-1:-1:-1;;;;;41600:29:0;;;;;;;;;41645:28;;41600:24;;41645:28;;;;;;;41485:196;;;:::o;36935:2138::-;37050:35;37088:20;37100:7;37088:11;:20::i;:::-;37163:18;;37050:58;;-1:-1:-1;37121:22:0;;-1:-1:-1;;;;;37147:34:0;21803:10;-1:-1:-1;;;;;37147:34:0;;:101;;;-1:-1:-1;37215:18:0;;37198:50;;21803:10;32166:214;:::i;37198:50::-;37147:154;;;-1:-1:-1;21803:10:0;37265:20;37277:7;37265:11;:20::i;:::-;-1:-1:-1;;;;;37265:36:0;;37147:154;37121:181;;37320:17;37315:66;;37346:35;;-1:-1:-1;;;37346:35:0;;;;;;;;;;;37315:66;37418:4;-1:-1:-1;;;;;37396:26:0;:13;:18;;;-1:-1:-1;;;;;37396:26:0;;37392:67;;37431:28;;-1:-1:-1;;;37431:28:0;;;;;;;;;;;37392:67;-1:-1:-1;;;;;37474:16:0;;37470:52;;37499:23;;-1:-1:-1;;;37499:23:0;;;;;;;;;;;37470:52;37643:49;37660:1;37664:7;37673:13;:18;;;37643:8;:49::i;:::-;-1:-1:-1;;;;;37988:18:0;;;;;;;:12;:18;;;;;;;;:31;;-1:-1:-1;;37988:31:0;;;;;;;-1:-1:-1;;37988:31:0;;;;;;;38034:16;;;;;;;;;:29;;;;;;;;-1:-1:-1;38034:29:0;;;;;;;;;;;38080:20;;;:11;:20;;;;;;:30;;-1:-1:-1;;;;;;38125:61:0;;;;-1:-1:-1;;;38170:15:0;38125:61;;;;;;;;;;;38460:11;;;38490:24;;;;;:29;38460:11;;38490:29;38486:471;;38715:13;;38701:11;:27;38697:245;;;38785:18;;;38753:24;;;:11;:24;;;;;;;;:50;;38868:54;;;;38826:96;;-1:-1:-1;;;38826:96:0;-1:-1:-1;;;;;;38826:96:0;;;-1:-1:-1;;;;;38753:50:0;;;38826:96;;;;;;;38697:245;37963:1005;39004:7;39000:2;-1:-1:-1;;;;;38985:27:0;38994:4;-1:-1:-1;;;;;38985:27:0;;;;;;;;;;;39023:42;37039:2034;;36935:2138;;;:::o;28483:1140::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;28625:7:0;28708:13;;28701:4;:20;28670:886;;;28742:31;28776:17;;;:11;:17;;;;;;;;;28742:51;;;;;;;;;-1:-1:-1;;;;;28742:51:0;;;;-1:-1:-1;;;28742:51:0;;;;;;;;;;;-1:-1:-1;;;28742:51:0;;;;;;;;;;;;;;28812:729;;28862:14;;-1:-1:-1;;;;;28862:28:0;;28858:101;;28926:9;28483:1140;-1:-1:-1;;;28483:1140:0:o;28858:101::-;-1:-1:-1;;;29301:6:0;29346:17;;;;:11;:17;;;;;;;;;29334:29;;;;;;;;;-1:-1:-1;;;;;29334:29:0;;;;;-1:-1:-1;;;29334:29:0;;;;;;;;;;;-1:-1:-1;;;29334:29:0;;;;;;;;;;;;;29394:28;29390:109;;29462:9;28483:1140;-1:-1:-1;;;28483:1140:0:o;29390:109::-;29261:261;;;28723:833;28670:886;29584:31;;-1:-1:-1;;;29584:31:0;;;;;;;;;;;46966:191;47059:6;;;-1:-1:-1;;;;;47076:17:0;;;-1:-1:-1;;;;;;47076:17:0;;;;;;;47109:40;;47059:6;;;47076:17;47059:6;;47109:40;;47040:16;;47109:40;47029:128;46966:191;:::o;33826:104::-;33895:27;33905:2;33909:8;33895:27;;;;;;;;;;;;:9;:27::i;42173:772::-;42370:155;;-1:-1:-1;;;42370:155:0;;42336:4;;-1:-1:-1;;;;;42370:36:0;;;;;:155;;21803:10;;42456:4;;42479:7;;42505:5;;42370:155;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;42370:155:0;;;;;;;;-1:-1:-1;;42370:155:0;;;;;;;;;;;;:::i;:::-;;;42353:585;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42696:6;:13;42713:1;42696:18;42692:235;;42742:40;;-1:-1:-1;;;42742:40:0;;;;;;;;;;;42692:235;42885:6;42879:13;42870:6;42866:2;42862:15;42855:38;42353:585;-1:-1:-1;;;;;;42581:55:0;-1:-1:-1;;;42581:55:0;;-1:-1:-1;42353:585:0;42173:772;;;;;;:::o;342:723::-;398:13;619:5;628:1;619:10;615:53;;-1:-1:-1;;646:10:0;;;;;;;;;;;;-1:-1:-1;;;646:10:0;;;;;342:723::o;615:53::-;693:5;678:12;734:78;741:9;;734:78;;767:8;;;;:::i;:::-;;-1:-1:-1;790:10:0;;-1:-1:-1;798:2:0;790:10;;:::i;:::-;;;734:78;;;822:19;854:6;844:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;844:17:0;;822:39;;872:154;879:10;;872:154;;906:11;916:1;906:11;;:::i;:::-;;-1:-1:-1;975:10:0;983:2;975:5;:10;:::i;:::-;962:24;;:2;:24;:::i;:::-;949:39;;932:6;939;932:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;932:56:0;;;;;;;;-1:-1:-1;1003:11:0;1012:2;1003:11;;:::i;:::-;;;872:154;;34293:163;34416:32;34422:2;34426:8;34436:5;34443:4;34854:20;34877:13;-1:-1:-1;;;;;34905:16:0;;34901:48;;34930:19;;-1:-1:-1;;;34930:19:0;;;;;;;;;;;34901:48;34964:8;34976:1;34964:13;34960:44;;34986:18;;-1:-1:-1;;;34986:18:0;;;;;;;;;;;34960:44;-1:-1:-1;;;;;35355:16:0;;;;;;:12;:16;;;;;;;;:44;;-1:-1:-1;;35414:49:0;;35355:44;;;;;;;;35414:49;;;;-1:-1:-1;;35355:44:0;;;;;;35414:49;;;;;;;;;;;;;;;;35480:25;;;:11;:25;;;;;;:35;;-1:-1:-1;;;;;;35530:66:0;;;;-1:-1:-1;;;35580:15:0;35530:66;;;;;;;;;;35480:25;35677:23;;;35721:4;:23;;;;-1:-1:-1;;;;;;35729:13:0;;3659:19;:23;;35729:15;35717:832;;;35765:505;35796:38;;35821:12;;-1:-1:-1;;;;;35796:38:0;;;35813:1;;35796:38;;35813:1;;35796:38;35888:212;35957:1;35990:2;36023:14;;;;;;36068:5;35888:30;:212::i;:::-;35857:365;;36158:40;;-1:-1:-1;;;36158:40:0;;;;;;;;;;;35857:365;36265:3;36249:12;:19;35765:505;;36351:12;36334:13;;:29;36330:43;;36365:8;;;36330:43;35717:832;;;36414:120;36445:40;;36470:14;;;;;-1:-1:-1;;;;;36445:40:0;;;36462:1;;36445:40;;36462:1;;36445:40;36529:3;36513:12;:19;36414:120;;35717:832;-1:-1:-1;36563:13:0;:28;36613:60;32944:406;14:131:1;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;:::-;384:5;150:245;-1:-1:-1;;;150:245:1:o;592:258::-;664:1;674:113;688:6;685:1;682:13;674:113;;;764:11;;;758:18;745:11;;;738:39;710:2;703:10;674:113;;;805:6;802:1;799:13;796:48;;;-1:-1:-1;;840:1:1;822:16;;815:27;592:258::o;855:::-;897:3;935:5;929:12;962:6;957:3;950:19;978:63;1034:6;1027:4;1022:3;1018:14;1011:4;1004:5;1000:16;978:63;:::i;:::-;1095:2;1074:15;-1:-1:-1;;1070:29:1;1061:39;;;;1102:4;1057:50;;855:258;-1:-1:-1;;855:258:1:o;1118:220::-;1267:2;1256:9;1249:21;1230:4;1287:45;1328:2;1317:9;1313:18;1305:6;1287:45;:::i;1343:180::-;1402:6;1455:2;1443:9;1434:7;1430:23;1426:32;1423:52;;;1471:1;1468;1461:12;1423:52;-1:-1:-1;1494:23:1;;1343:180;-1:-1:-1;1343:180:1:o;1736:173::-;1804:20;;-1:-1:-1;;;;;1853:31:1;;1843:42;;1833:70;;1899:1;1896;1889:12;1833:70;1736:173;;;:::o;1914:254::-;1982:6;1990;2043:2;2031:9;2022:7;2018:23;2014:32;2011:52;;;2059:1;2056;2049:12;2011:52;2082:29;2101:9;2082:29;:::i;:::-;2072:39;2158:2;2143:18;;;;2130:32;;-1:-1:-1;;;1914:254:1:o;2355:186::-;2414:6;2467:2;2455:9;2446:7;2442:23;2438:32;2435:52;;;2483:1;2480;2473:12;2435:52;2506:29;2525:9;2506:29;:::i;2546:328::-;2623:6;2631;2639;2692:2;2680:9;2671:7;2667:23;2663:32;2660:52;;;2708:1;2705;2698:12;2660:52;2731:29;2750:9;2731:29;:::i;:::-;2721:39;;2779:38;2813:2;2802:9;2798:18;2779:38;:::i;:::-;2769:48;;2864:2;2853:9;2849:18;2836:32;2826:42;;2546:328;;;;;:::o;2879:127::-;2940:10;2935:3;2931:20;2928:1;2921:31;2971:4;2968:1;2961:15;2995:4;2992:1;2985:15;3011:632;3076:5;3106:18;3147:2;3139:6;3136:14;3133:40;;;3153:18;;:::i;:::-;3228:2;3222:9;3196:2;3282:15;;-1:-1:-1;;3278:24:1;;;3304:2;3274:33;3270:42;3258:55;;;3328:18;;;3348:22;;;3325:46;3322:72;;;3374:18;;:::i;:::-;3414:10;3410:2;3403:22;3443:6;3434:15;;3473:6;3465;3458:22;3513:3;3504:6;3499:3;3495:16;3492:25;3489:45;;;3530:1;3527;3520:12;3489:45;3580:6;3575:3;3568:4;3560:6;3556:17;3543:44;3635:1;3628:4;3619:6;3611;3607:19;3603:30;3596:41;;;;3011:632;;;;;:::o;3648:451::-;3717:6;3770:2;3758:9;3749:7;3745:23;3741:32;3738:52;;;3786:1;3783;3776:12;3738:52;3826:9;3813:23;3859:18;3851:6;3848:30;3845:50;;;3891:1;3888;3881:12;3845:50;3914:22;;3967:4;3959:13;;3955:27;-1:-1:-1;3945:55:1;;3996:1;3993;3986:12;3945:55;4019:74;4085:7;4080:2;4067:16;4062:2;4058;4054:11;4019:74;:::i;4104:347::-;4169:6;4177;4230:2;4218:9;4209:7;4205:23;4201:32;4198:52;;;4246:1;4243;4236:12;4198:52;4269:29;4288:9;4269:29;:::i;:::-;4259:39;;4348:2;4337:9;4333:18;4320:32;4395:5;4388:13;4381:21;4374:5;4371:32;4361:60;;4417:1;4414;4407:12;4361:60;4440:5;4430:15;;;4104:347;;;;;:::o;4456:667::-;4551:6;4559;4567;4575;4628:3;4616:9;4607:7;4603:23;4599:33;4596:53;;;4645:1;4642;4635:12;4596:53;4668:29;4687:9;4668:29;:::i;:::-;4658:39;;4716:38;4750:2;4739:9;4735:18;4716:38;:::i;:::-;4706:48;;4801:2;4790:9;4786:18;4773:32;4763:42;;4856:2;4845:9;4841:18;4828:32;4883:18;4875:6;4872:30;4869:50;;;4915:1;4912;4905:12;4869:50;4938:22;;4991:4;4983:13;;4979:27;-1:-1:-1;4969:55:1;;5020:1;5017;5010:12;4969:55;5043:74;5109:7;5104:2;5091:16;5086:2;5082;5078:11;5043:74;:::i;:::-;5033:84;;;4456:667;;;;;;;:::o;5128:260::-;5196:6;5204;5257:2;5245:9;5236:7;5232:23;5228:32;5225:52;;;5273:1;5270;5263:12;5225:52;5296:29;5315:9;5296:29;:::i;:::-;5286:39;;5344:38;5378:2;5367:9;5363:18;5344:38;:::i;:::-;5334:48;;5128:260;;;;;:::o;5393:380::-;5472:1;5468:12;;;;5515;;;5536:61;;5590:4;5582:6;5578:17;5568:27;;5536:61;5643:2;5635:6;5632:14;5612:18;5609:38;5606:161;;5689:10;5684:3;5680:20;5677:1;5670:31;5724:4;5721:1;5714:15;5752:4;5749:1;5742:15;5606:161;;5393:380;;;:::o;5778:356::-;5980:2;5962:21;;;5999:18;;;5992:30;6058:34;6053:2;6038:18;;6031:62;6125:2;6110:18;;5778:356::o;6139:127::-;6200:10;6195:3;6191:20;6188:1;6181:31;6231:4;6228:1;6221:15;6255:4;6252:1;6245:15;6271:168;6311:7;6377:1;6373;6369:6;6365:14;6362:1;6359:21;6354:1;6347:9;6340:17;6336:45;6333:71;;;6384:18;;:::i;:::-;-1:-1:-1;6424:9:1;;6271:168::o;6444:127::-;6505:10;6500:3;6496:20;6493:1;6486:31;6536:4;6533:1;6526:15;6560:4;6557:1;6550:15;6576:120;6616:1;6642;6632:35;;6647:18;;:::i;:::-;-1:-1:-1;6681:9:1;;6576:120::o;7037:545::-;7139:2;7134:3;7131:11;7128:448;;;7175:1;7200:5;7196:2;7189:17;7245:4;7241:2;7231:19;7315:2;7303:10;7299:19;7296:1;7292:27;7286:4;7282:38;7351:4;7339:10;7336:20;7333:47;;;-1:-1:-1;7374:4:1;7333:47;7429:2;7424:3;7420:12;7417:1;7413:20;7407:4;7403:31;7393:41;;7484:82;7502:2;7495:5;7492:13;7484:82;;;7547:17;;;7528:1;7517:13;7484:82;;;7488:3;;;7037:545;;;:::o;7758:1352::-;7884:3;7878:10;7911:18;7903:6;7900:30;7897:56;;;7933:18;;:::i;:::-;7962:97;8052:6;8012:38;8044:4;8038:11;8012:38;:::i;:::-;8006:4;7962:97;:::i;:::-;8114:4;;8178:2;8167:14;;8195:1;8190:663;;;;8897:1;8914:6;8911:89;;;-1:-1:-1;8966:19:1;;;8960:26;8911:89;-1:-1:-1;;7715:1:1;7711:11;;;7707:24;7703:29;7693:40;7739:1;7735:11;;;7690:57;9013:81;;8160:944;;8190:663;6984:1;6977:14;;;7021:4;7008:18;;-1:-1:-1;;8226:20:1;;;8344:236;8358:7;8355:1;8352:14;8344:236;;;8447:19;;;8441:26;8426:42;;8539:27;;;;8507:1;8495:14;;;;8374:19;;8344:236;;;8348:3;8608:6;8599:7;8596:19;8593:201;;;8669:19;;;8663:26;-1:-1:-1;;8752:1:1;8748:14;;;8764:3;8744:24;8740:37;8736:42;8721:58;8706:74;;8593:201;-1:-1:-1;;;;;8840:1:1;8824:14;;;8820:22;8807:36;;-1:-1:-1;7758:1352:1:o;9476:128::-;9516:3;9547:1;9543:6;9540:1;9537:13;9534:39;;;9553:18;;:::i;:::-;-1:-1:-1;9589:9:1;;9476:128::o;10786:125::-;10826:4;10854:1;10851;10848:8;10845:34;;;10859:18;;:::i;:::-;-1:-1:-1;10896:9:1;;10786:125::o;12039:1309::-;12417:3;12446:1;12479:6;12473:13;12509:36;12535:9;12509:36;:::i;:::-;12564:1;12581:18;;;12608:133;;;;12755:1;12750:356;;;;12574:532;;12608:133;-1:-1:-1;;12641:24:1;;12629:37;;12714:14;;12707:22;12695:35;;12686:45;;;-1:-1:-1;12608:133:1;;12750:356;12781:6;12778:1;12771:17;12811:4;12856:2;12853:1;12843:16;12881:1;12895:165;12909:6;12906:1;12903:13;12895:165;;;12987:14;;12974:11;;;12967:35;13030:16;;;;12924:10;;12895:165;;;12899:3;;;13089:6;13084:3;13080:16;13073:23;;12574:532;;-1:-1:-1;;;13122:3:1;13115:16;13162:6;13156:13;13140:29;;13178:64;13233:8;13228:2;13223:3;13219:12;13212:4;13204:6;13200:17;13178:64;:::i;:::-;-1:-1:-1;;;13261:18:1;;;;13295:11;;;13288:28;;;;13340:1;13332:10;;12039:1309;-1:-1:-1;;;;;12039:1309:1:o;13760:489::-;-1:-1:-1;;;;;14029:15:1;;;14011:34;;14081:15;;14076:2;14061:18;;14054:43;14128:2;14113:18;;14106:34;;;14176:3;14171:2;14156:18;;14149:31;;;13954:4;;14197:46;;14223:19;;14215:6;14197:46;:::i;:::-;14189:54;13760:489;-1:-1:-1;;;;;;13760:489:1:o;14254:249::-;14323:6;14376:2;14364:9;14355:7;14351:23;14347:32;14344:52;;;14392:1;14389;14382:12;14344:52;14424:9;14418:16;14443:30;14467:5;14443:30;:::i;14508:135::-;14547:3;14568:17;;;14565:43;;14588:18;;:::i;:::-;-1:-1:-1;14635:1:1;14624:13;;14508:135::o;14648:112::-;14680:1;14706;14696:35;;14711:18;;:::i;:::-;-1:-1:-1;14745:9:1;;14648:112::o;14765:127::-;14826:10;14821:3;14817:20;14814:1;14807:31;14857:4;14854:1;14847:15;14881:4;14878:1;14871:15

Swarm Source

ipfs://7f122d9495a7b46dfd18f674bb16c79cca637a1586e49def8912a2520efe6d0d
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.