ETH Price: $3,669.51 (+2.34%)

Token

Chee (CHEE)
 

Overview

Max Total Supply

929 CHEE

Holders

461

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
space-elevator.eth
Balance
3 CHEE
0xa52dbd0315a9dfc75686ef1d8e164984e1e8d6fb
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:
Chee

Compiler Version
v0.8.13+commit.abaa5c0e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 13 : Chee.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.9 <0.9.0;

import "../lib/ERC721F/ERC721F.sol";

/**
 * @title Chee contract
 * @dev Extends ERC721F Non-Fungible Token Standard basic implementation.
 * Optimized to no longer use ERC721Enumarable , but still provide a totalSupply() implementation.
 * @author @simonbuidl.eth
 * 
 */

contract Chee is ERC721F {
    
    uint256 public tokenPrice = 0.005 ether; 
    uint256 public constant MAX_TOKENS=7777;
    
    uint public constant MAX_PURCHASE = 6; // set 1 to high to avoid some gas
    uint public constant MAX_RESERVE = 26; // set 1 to high to avoid some gas
    
    bool public saleIsActive;

    address private constant SIMON = 0x11145Fc22221d317784BD5Fdc5dd429354aa0D9C;
    address private constant C = 0xE16F00dBC2f95d29E1f07Ab3699c65342b6e1CAa;
    address private constant K = 0x6aE4595c5F2193f27DC792A79cecFFff81E9e8b2;
    address private constant L = 0xdB188c27587FA291a34F96B82400085e365A91aC;


    mapping(address => uint256) private amount;
    
    constructor() ERC721F("Chee", "CHEE") {
        setBaseTokenURI("ipfs://QmTdC5wVAV7Z43J9ubnSdJqcBxdBkibgXugSrpst2JXADr/"); 
        _safeMint(SIMON, 0);
    }

    /**
     * Mint Tokens to a wallet.
     */
    function adminMint(address to,uint numberOfTokens) public onlyOwner {    
        uint supply = totalSupply();
        require(supply + numberOfTokens <= MAX_TOKENS, "Reserve would exceed max supply of Tokens");
        require(numberOfTokens < MAX_RESERVE, "Can only mint 25 tokens at a time");
        for (uint i = 0; i < numberOfTokens; i++) {
            _safeMint(to, supply + i);
        }
    }
     /**
     * Mint Tokens to the owners reserve.
     */   
    function reserveTokens() external onlyOwner {    
        adminMint(owner(),MAX_RESERVE-1);
    }

    /**
     * Pause sale if active, make active if paused
     */
    function flipSaleState() external onlyOwner {
        saleIsActive = !saleIsActive;
    }

    /**
     * Mint your tokens here.
     */
    function mint(uint256 numberOfTokens) external payable{
        require(saleIsActive,"Sale NOT active yet");
        require(amount[msg.sender]+numberOfTokens<MAX_PURCHASE,"Purchase would exceed max mint for walet");
        require(numberOfTokens > 0, "numberOfTokens cannot be 0");


        if (amount[msg.sender] == 0) {
            require(((tokenPrice * numberOfTokens) - tokenPrice) <= msg.value, "Ether value sent is not correct");
        } else {
            require(tokenPrice * numberOfTokens <= msg.value, "Ether value sent is not correct");
        }

        uint256 supply = totalSupply();
        require(supply + numberOfTokens <= MAX_TOKENS, "Purchase would exceed max supply of Tokens");
        for(uint256 i; i < numberOfTokens; i++){
            _safeMint( msg.sender, supply + i );
        }
        amount[msg.sender] = amount[msg.sender]+numberOfTokens;
    }
    
    function withdraw() public onlyOwner {
            uint256 balance = address(this).balance;
            require(balance > 0, "Insufficent balance");

        if (saleIsActive) {
            _withdraw(SIMON,(balance * 10) / 100);
            _withdraw(L,(balance * 10) / 100);
            _withdraw(K,(balance * 40) / 100);
            _withdraw(C, address(this).balance);
        } else {
            _withdraw(SIMON,(balance * 25) / 100);
            _withdraw(C, address(this).balance);
        }

    }
}

File 2 of 13 : ERC721F.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.9 <0.9.0;

import "../openzeppelin-contracts/contracts/token/ERC721/ERC721.sol";
import "../openzeppelin-contracts/contracts/access/Ownable.sol";
import "../openzeppelin-contracts/contracts/utils/Counters.sol";


/**
 * @title ERC721F
 * @dev Extends ERC721 Non-Fungible Token Standard basic implementation.
 * Optimized to no longer use ERC721Enumerable , but still provide a totalSupply() and walletOfOwner(address _owner) implementation.
 * @author @FrankNFT.eth
 * 
 */

contract ERC721F is Ownable, ERC721 {
    using Counters for Counters.Counter;

    Counters.Counter private _tokenSupply;

    // Base URI for Meta data
    string private _baseTokenURI;

    
    constructor(string memory name_, string memory symbol_) ERC721(name_, symbol_) {
    }

    /** 
     * @dev walletofOwner
     * @return tokens id owned by the given address
     * This read function is O(totalSupply). If calling from a separate contract, be sure to test gas first.
     * It may also degrade with extremely large collection sizes (e.g >> 10000), test for your use case.
     */
    function walletOfOwner(address _owner) external view returns (uint256[] memory){
        uint256 ownerTokenCount = balanceOf(_owner);
        uint256[] memory ownedTokenIds = new uint256[](ownerTokenCount);
        uint256 currentTokenId = _startTokenId();
        uint256 ownedTokenIndex = 0;

        while ( ownedTokenIndex < ownerTokenCount && currentTokenId < _tokenSupply.current() ) {
            if (ownerOf(currentTokenId) == _owner) {
                ownedTokenIds[ownedTokenIndex] = currentTokenId;
                unchecked{ ownedTokenIndex++;}
            }
            unchecked{ currentTokenId++;}
        }
        return ownedTokenIds;
    }
    
    /**
     * To change the starting tokenId, override this function.
     */
    function _startTokenId() internal view virtual returns (uint256) {
        return 0;
    }

    /**
     * @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 override returns (string memory) {
        return _baseTokenURI;
    }
    /**
     * @dev Set the base token URI
     */
    function setBaseTokenURI(string memory baseURI) public onlyOwner {
        _baseTokenURI = baseURI;
    }

    /**
     *    
     * @dev Mints `tokenId` and transfers it to `to`.
     *
     */
    function _mint(address to, uint256 tokenId) internal virtual override {
        super._mint(to, tokenId);
        _tokenSupply.increment();
    }

    /**
     * @dev Gets the total amount of tokens stored by the contract.
     * @return uint256 representing the total amount of tokens
     */
    function totalSupply() public view returns (uint256) {
        return _tokenSupply.current();
    }

    /**
    * Helper method to allow ETH withdraws.
    */
    function _withdraw(address _address, uint256 _amount) internal {
        (bool success, ) = _address.call{ value: _amount }("");
        require(success, "Failed to widthdraw Ether");
    }

    // contract can recieve Ether
    receive() external payable { }
}

File 3 of 13 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

pragma solidity ^0.8.0;

import "../utils/Context.sol";

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

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

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

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

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

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

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

File 4 of 13 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;

import "./IERC721.sol";
import "./IERC721Receiver.sol";
import "./extensions/IERC721Metadata.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/Strings.sol";
import "../../utils/introspection/ERC165.sol";

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension, but not including the Enumerable extension, which is available separately as
 * {ERC721Enumerable}.
 */
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to owner address
    mapping(uint256 => address) private _owners;

    // Mapping owner address to token count
    mapping(address => uint256) private _balances;

    // 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;

    /**
     * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    /**
     * @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 virtual override returns (uint256) {
        require(owner != address(0), "ERC721: address zero is not a valid owner");
        return _balances[owner];
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        address owner = _owners[tokenId];
        require(owner != address(0), "ERC721: invalid token ID");
        return owner;
    }

    /**
     * @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) {
        _requireMinted(tokenId);

        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 overridden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return "";
    }

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public virtual override {
        address owner = ERC721.ownerOf(tokenId);
        require(to != owner, "ERC721: approval to current owner");

        require(
            _msgSender() == owner || isApprovedForAll(owner, _msgSender()),
            "ERC721: approve caller is not token owner nor approved for all"
        );

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        _requireMinted(tokenId);

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        _setApprovalForAll(_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 {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner nor approved");

        _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 {
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner nor approved");
        _safeTransfer(from, to, tokenId, data);
    }

    /**
     * @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.
     *
     * `data` is additional data, it has no specified format and it is sent in call to `to`.
     *
     * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
     * implement alternative mechanisms to perform token transfer, such as signature-based.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeTransfer(
        address from,
        address to,
        uint256 tokenId,
        bytes memory data
    ) internal virtual {
        _transfer(from, to, tokenId);
        require(_checkOnERC721Received(from, to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer");
    }

    /**
     * @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`),
     * and stop existing when they are burned (`_burn`).
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return _owners[tokenId] != address(0);
    }

    /**
     * @dev Returns whether `spender` is allowed to manage `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {
        address owner = ERC721.ownerOf(tokenId);
        return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender);
    }

    /**
     * @dev Safely mints `tokenId` and transfers it to `to`.
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(address to, uint256 tokenId) internal virtual {
        _safeMint(to, tokenId, "");
    }

    /**
     * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is
     * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
     */
    function _safeMint(
        address to,
        uint256 tokenId,
        bytes memory data
    ) internal virtual {
        _mint(to, tokenId);
        require(
            _checkOnERC721Received(address(0), to, tokenId, data),
            "ERC721: transfer to non ERC721Receiver implementer"
        );
    }

    /**
     * @dev Mints `tokenId` and transfers it to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - `to` cannot be the zero address.
     *
     * Emits a {Transfer} event.
     */
    function _mint(address to, uint256 tokenId) internal virtual {
        require(to != address(0), "ERC721: mint to the zero address");
        require(!_exists(tokenId), "ERC721: token already minted");

        _beforeTokenTransfer(address(0), to, tokenId);

        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(address(0), to, tokenId);

        _afterTokenTransfer(address(0), to, tokenId);
    }

    /**
     * @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 {
        address owner = ERC721.ownerOf(tokenId);

        _beforeTokenTransfer(owner, address(0), tokenId);

        // Clear approvals
        _approve(address(0), tokenId);

        _balances[owner] -= 1;
        delete _owners[tokenId];

        emit Transfer(owner, address(0), tokenId);

        _afterTokenTransfer(owner, address(0), tokenId);
    }

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *  As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
     *
     * 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
    ) internal virtual {
        require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner");
        require(to != address(0), "ERC721: transfer to the zero address");

        _beforeTokenTransfer(from, to, tokenId);

        // Clear approvals from the previous owner
        _approve(address(0), tokenId);

        _balances[from] -= 1;
        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId);
    }

    /**
     * @dev Approve `to` to operate on `tokenId`
     *
     * Emits an {Approval} event.
     */
    function _approve(address to, uint256 tokenId) internal virtual {
        _tokenApprovals[tokenId] = to;
        emit Approval(ERC721.ownerOf(tokenId), to, tokenId);
    }

    /**
     * @dev Approve `operator` to operate on all of `owner` tokens
     *
     * Emits an {ApprovalForAll} event.
     */
    function _setApprovalForAll(
        address owner,
        address operator,
        bool approved
    ) internal virtual {
        require(owner != operator, "ERC721: approve to caller");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

    /**
     * @dev Reverts if the `tokenId` has not been minted yet.
     */
    function _requireMinted(uint256 tokenId) internal view virtual {
        require(_exists(tokenId), "ERC721: invalid token ID");
    }

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
     * The call is not executed if the target address is not a 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 _checkOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory data
    ) private returns (bool) {
        if (to.isContract()) {
            try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, data) returns (bytes4 retval) {
                return retval == IERC721Receiver.onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert("ERC721: transfer to non ERC721Receiver implementer");
                } else {
                    /// @solidity memory-safe-assembly
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning.
     *
     * 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, ``from``'s `tokenId` will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}
}

File 5 of 13 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

import "../../utils/introspection/IERC165.sol";

/**
 * @dev Required interface of an ERC721 compliant contract.
 */
interface IERC721 is IERC165 {
    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
     */
    event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.
     */
    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);

    /**
     * @dev Returns the number of tokens in ``owner``'s account.
     */
    function balanceOf(address owner) external view returns (uint256 balance);

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) external view returns (address owner);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes calldata data
    ) external;

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

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

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

    /**
     * @dev Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool _approved) external;

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

    /**
     * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
     *
     * See {setApprovalForAll}
     */
    function isApprovedForAll(address owner, address operator) external view returns (bool);
}

File 6 of 13 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

/**
 * @title ERC721 token receiver interface
 * @dev Interface for any contract that wants to support safeTransfers
 * from ERC721 asset contracts.
 */
interface IERC721Receiver {
    /**
     * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
     * by `operator` from `from`, this function is called.
     *
     * It must return its Solidity selector to confirm the token transfer.
     * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.
     *
     * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

File 7 of 13 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @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 8 of 13 : Address.sol
// SPDX-License-Identifier: MIT
// 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
                /// @solidity memory-safe-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 9 of 13 : Context.sol
// SPDX-License-Identifier: MIT
// 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 10 of 13 : Counters.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Counters.sol)

pragma solidity ^0.8.0;

/**
 * @title Counters
 * @author Matt Condon (@shrugs)
 * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number
 * of elements in a mapping, issuing ERC721 ids, or counting request ids.
 *
 * Include with `using Counters for Counters.Counter;`
 */
library Counters {
    struct Counter {
        // This variable should never be directly accessed by users of the library: interactions must be restricted to
        // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
        // this feature: see https://github.com/ethereum/solidity/issues/4637
        uint256 _value; // default: 0
    }

    function current(Counter storage counter) internal view returns (uint256) {
        return counter._value;
    }

    function increment(Counter storage counter) internal {
        unchecked {
            counter._value += 1;
        }
    }

    function decrement(Counter storage counter) internal {
        uint256 value = counter._value;
        require(value > 0, "Counter: decrement overflow");
        unchecked {
            counter._value = value - 1;
        }
    }

    function reset(Counter storage counter) internal {
        counter._value = 0;
    }
}

File 11 of 13 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

    /**
     * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.
     */
    function toHexString(address addr) internal pure returns (string memory) {
        return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);
    }
}

File 12 of 13 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

/**
 * @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 13 of 13 : IERC165.sol
// SPDX-License-Identifier: MIT
// 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);
}

Settings
{
  "remappings": [
    "ERC721F/=lib/ERC721F/",
    "ds-test/=lib/ds-test/src/",
    "openzeppelin-contracts/=lib/openzeppelin-contracts/",
    "src/=src/"
  ],
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "metadata": {
    "bytecodeHash": "ipfs"
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "evmVersion": "london"
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_PURCHASE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_RESERVE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_TOKENS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"adminMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"flipSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","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":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reserveTokens","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":[],"name":"saleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"setBaseTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60806040526611c37937e080006009553480156200001c57600080fd5b50604051806040016040528060048152602001634368656560e01b815250604051806040016040528060048152602001634348454560e01b8152508181620000736200006d620000ee60201b60201c565b620000f2565b8151620000889060019060208501906200054b565b5080516200009e9060029060208401906200054b565b5050505050620000c7604051806060016040528060368152602001620026bc6036913962000142565b620000e87311145fc22221d317784bd5fdc5dd429354aa0d9c600062000165565b62000702565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6200014c62000187565b8051620001619060089060208401906200054b565b5050565b62000161828260405180602001604052806000815250620001e960201b60201c565b6000546001600160a01b03163314620001e75760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b565b620001f5838362000261565b6200020460008484846200028f565b6200025c5760405162461bcd60e51b815260206004820152603260248201526000805160206200269c83398151915260448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b6064820152608401620001de565b505050565b620002788282620003eb60201b620010291760201c565b6200016160076200053360201b6200116b1760201c565b6000620002b0846001600160a01b03166200053c60201b620011741760201c565b15620003df57604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290620002ea903390899088908890600401620005f1565b6020604051808303816000875af192505050801562000328575060408051601f3d908101601f1916820190925262000325918101906200066c565b60015b620003c4573d80801562000359576040519150601f19603f3d011682016040523d82523d6000602084013e6200035e565b606091505b508051600003620003bc5760405162461bcd60e51b815260206004820152603260248201526000805160206200269c83398151915260448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b6064820152608401620001de565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050620003e3565b5060015b949350505050565b6001600160a01b038216620004435760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401620001de565b6000818152600360205260409020546001600160a01b031615620004aa5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401620001de565b6001600160a01b0382166000908152600460205260408120805460019290620004d59084906200069f565b909155505060008181526003602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b80546001019055565b6001600160a01b03163b151590565b8280546200055990620006c6565b90600052602060002090601f0160209004810192826200057d5760008555620005c8565b82601f106200059857805160ff1916838001178555620005c8565b82800160010185558215620005c8579182015b82811115620005c8578251825591602001919060010190620005ab565b50620005d6929150620005da565b5090565b5b80821115620005d65760008155600101620005db565b600060018060a01b038087168352602081871681850152856040850152608060608501528451915081608085015260005b82811015620006405785810182015185820160a00152810162000622565b828111156200065357600060a084870101525b5050601f01601f19169190910160a00195945050505050565b6000602082840312156200067f57600080fd5b81516001600160e01b0319811681146200069857600080fd5b9392505050565b60008219821115620006c157634e487b7160e01b600052601160045260246000fd5b500190565b600181811c90821680620006db57607f821691505b602082108103620006fc57634e487b7160e01b600052602260045260246000fd5b50919050565b611f8a80620007126000396000f3fe6080604052600436106101c65760003560e01c80637146bd08116100f7578063b88d4fde11610095578063eb8d244411610064578063eb8d244414610501578063eff31e9e1461051b578063f2fde38b14610530578063f47c84c51461055057600080fd5b8063b88d4fde14610458578063c87b56dd14610478578063e58306f914610498578063e985e9c5146104b857600080fd5b80638da5cb5b116100d15780638da5cb5b146103f257806395d89b4114610410578063a0712d6814610425578063a22cb4651461043857600080fd5b80637146bd08146103b2578063715018a6146103c75780637ff9b596146103dc57600080fd5b806330176e131161016457806342842e0e1161013e57806342842e0e14610325578063438b6300146103455780636352211e1461037257806370a082311461039257600080fd5b806330176e13146102db57806334918dfd146102fb5780633ccfd60b1461031057600080fd5b8063095ea7b3116101a0578063095ea7b31461026157806318160ddd1461028357806323b872dd146102a657806327ac36c4146102c657600080fd5b806301ffc9a7146101d257806306fdde0314610207578063081812fc1461022957600080fd5b366101cd57005b600080fd5b3480156101de57600080fd5b506101f26101ed3660046119de565b610566565b60405190151581526020015b60405180910390f35b34801561021357600080fd5b5061021c6105b8565b6040516101fe9190611a53565b34801561023557600080fd5b50610249610244366004611a66565b61064a565b6040516001600160a01b0390911681526020016101fe565b34801561026d57600080fd5b5061028161027c366004611a9b565b610671565b005b34801561028f57600080fd5b5061029861078b565b6040519081526020016101fe565b3480156102b257600080fd5b506102816102c1366004611ac5565b61079b565b3480156102d257600080fd5b506102816107cc565b3480156102e757600080fd5b506102816102f6366004611b8d565b6107f7565b34801561030757600080fd5b50610281610816565b34801561031c57600080fd5b50610281610832565b34801561033157600080fd5b50610281610340366004611ac5565b61094d565b34801561035157600080fd5b50610365610360366004611bd6565b610968565b6040516101fe9190611bf1565b34801561037e57600080fd5b5061024961038d366004611a66565b610a2f565b34801561039e57600080fd5b506102986103ad366004611bd6565b610a8f565b3480156103be57600080fd5b50610298600681565b3480156103d357600080fd5b50610281610b15565b3480156103e857600080fd5b5061029860095481565b3480156103fe57600080fd5b506000546001600160a01b0316610249565b34801561041c57600080fd5b5061021c610b27565b610281610433366004611a66565b610b36565b34801561044457600080fd5b50610281610453366004611c35565b610e03565b34801561046457600080fd5b50610281610473366004611c71565b610e0e565b34801561048457600080fd5b5061021c610493366004611a66565b610e46565b3480156104a457600080fd5b506102816104b3366004611a9b565b610ead565b3480156104c457600080fd5b506101f26104d3366004611ced565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b34801561050d57600080fd5b50600a546101f29060ff1681565b34801561052757600080fd5b50610298601a81565b34801561053c57600080fd5b5061028161054b366004611bd6565b610fb3565b34801561055c57600080fd5b50610298611e6181565b60006001600160e01b031982166380ac58cd60e01b148061059757506001600160e01b03198216635b5e139f60e01b145b806105b257506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600180546105c790611d20565b80601f01602080910402602001604051908101604052809291908181526020018280546105f390611d20565b80156106405780601f1061061557610100808354040283529160200191610640565b820191906000526020600020905b81548152906001019060200180831161062357829003601f168201915b5050505050905090565b600061065582611183565b506000908152600560205260409020546001600160a01b031690565b600061067c82610a2f565b9050806001600160a01b0316836001600160a01b0316036106ee5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b038216148061070a575061070a81336104d3565b61077c5760405162461bcd60e51b815260206004820152603e60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c000060648201526084016106e5565b61078683836111e2565b505050565b600061079660075490565b905090565b6107a53382611250565b6107c15760405162461bcd60e51b81526004016106e590611d5a565b6107868383836112cf565b6107d461146b565b6107f56107e96000546001600160a01b031690565b6104b36001601a611dbe565b565b6107ff61146b565b805161081290600890602084019061192f565b5050565b61081e61146b565b600a805460ff19811660ff90911615179055565b61083a61146b565b478061087e5760405162461bcd60e51b8152602060048201526013602482015272496e737566666963656e742062616c616e636560681b60448201526064016106e5565b600a5460ff1615610928576108bd7311145fc22221d317784bd5fdc5dd429354aa0d9c60646108ae84600a611dd5565b6108b89190611e0a565b6114c5565b6108e273db188c27587fa291a34f96b82400085e365a91ac60646108ae84600a611dd5565b610907736ae4595c5f2193f27dc792a79cecffff81e9e8b260646108ae846028611dd5565b61092573e16f00dbc2f95d29e1f07ab3699c65342b6e1caa476114c5565b50565b6109077311145fc22221d317784bd5fdc5dd429354aa0d9c60646108ae846019611dd5565b61078683838360405180602001604052806000815250610e0e565b6060600061097583610a8f565b905060008167ffffffffffffffff81111561099257610992611b01565b6040519080825280602002602001820160405280156109bb578160200160208202803683370190505b5090506000805b83811080156109d2575060075482105b15610a2557856001600160a01b03166109ea83610a2f565b6001600160a01b031603610a1a5781838281518110610a0b57610a0b611e1e565b60209081029190910101526001015b6001909101906109c2565b5090949350505050565b6000818152600360205260408120546001600160a01b0316806105b25760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016106e5565b60006001600160a01b038216610af95760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b60648201526084016106e5565b506001600160a01b031660009081526004602052604090205490565b610b1d61146b565b6107f56000611568565b6060600280546105c790611d20565b600a5460ff16610b7e5760405162461bcd60e51b815260206004820152601360248201527214d85b19481393d5081858dd1a5d99481e595d606a1b60448201526064016106e5565b336000908152600b6020526040902054600690610b9c908390611e34565b10610bfa5760405162461bcd60e51b815260206004820152602860248201527f507572636861736520776f756c6420657863656564206d6178206d696e7420666044820152671bdc881dd85b195d60c21b60648201526084016106e5565b60008111610c4a5760405162461bcd60e51b815260206004820152601a60248201527f6e756d6265724f66546f6b656e732063616e6e6f74206265203000000000000060448201526064016106e5565b336000908152600b60205260408120549003610ccc576009543490610c6f8382611dd5565b610c799190611dbe565b1115610cc75760405162461bcd60e51b815260206004820152601f60248201527f45746865722076616c75652073656e74206973206e6f7420636f72726563740060448201526064016106e5565b610d29565b3481600954610cdb9190611dd5565b1115610d295760405162461bcd60e51b815260206004820152601f60248201527f45746865722076616c75652073656e74206973206e6f7420636f72726563740060448201526064016106e5565b6000610d3361078b565b9050611e61610d428383611e34565b1115610da35760405162461bcd60e51b815260206004820152602a60248201527f507572636861736520776f756c6420657863656564206d617820737570706c79604482015269206f6620546f6b656e7360b01b60648201526084016106e5565b60005b82811015610dd357610dc133610dbc8385611e34565b6115b8565b80610dcb81611e4c565b915050610da6565b50336000908152600b6020526040902054610def908390611e34565b336000908152600b60205260409020555050565b6108123383836115d2565b610e183383611250565b610e345760405162461bcd60e51b81526004016106e590611d5a565b610e40848484846116a0565b50505050565b6060610e5182611183565b6000610e5b6116d3565b90506000815111610e7b5760405180602001604052806000815250610ea6565b80610e85846116e2565b604051602001610e96929190611e65565b6040516020818303038152906040525b9392505050565b610eb561146b565b6000610ebf61078b565b9050611e61610ece8383611e34565b1115610f2e5760405162461bcd60e51b815260206004820152602960248201527f5265736572766520776f756c6420657863656564206d617820737570706c79206044820152686f6620546f6b656e7360b81b60648201526084016106e5565b601a8210610f885760405162461bcd60e51b815260206004820152602160248201527f43616e206f6e6c79206d696e7420323520746f6b656e7320617420612074696d6044820152606560f81b60648201526084016106e5565b60005b82811015610e4057610fa184610dbc8385611e34565b80610fab81611e4c565b915050610f8b565b610fbb61146b565b6001600160a01b0381166110205760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106e5565b61092581611568565b6001600160a01b03821661107f5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016106e5565b6000818152600360205260409020546001600160a01b0316156110e45760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016106e5565b6001600160a01b038216600090815260046020526040812080546001929061110d908490611e34565b909155505060008181526003602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b80546001019055565b6001600160a01b03163b151590565b6000818152600360205260409020546001600160a01b03166109255760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016106e5565b600081815260056020526040902080546001600160a01b0319166001600160a01b038416908117909155819061121782610a2f565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008061125c83610a2f565b9050806001600160a01b0316846001600160a01b031614806112a357506001600160a01b0380821660009081526006602090815260408083209388168352929052205460ff165b806112c75750836001600160a01b03166112bc8461064a565b6001600160a01b0316145b949350505050565b826001600160a01b03166112e282610a2f565b6001600160a01b0316146113465760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b60648201526084016106e5565b6001600160a01b0382166113a85760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016106e5565b6113b36000826111e2565b6001600160a01b03831660009081526004602052604081208054600192906113dc908490611dbe565b90915550506001600160a01b038216600090815260046020526040812080546001929061140a908490611e34565b909155505060008181526003602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6000546001600160a01b031633146107f55760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106e5565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611512576040519150601f19603f3d011682016040523d82523d6000602084013e611517565b606091505b50509050806107865760405162461bcd60e51b815260206004820152601960248201527f4661696c656420746f207769647468647261772045746865720000000000000060448201526064016106e5565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6108128282604051806020016040528060008152506117e3565b816001600160a01b0316836001600160a01b0316036116335760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016106e5565b6001600160a01b03838116600081815260066020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6116ab8484846112cf565b6116b784848484611816565b610e405760405162461bcd60e51b81526004016106e590611e94565b6060600880546105c790611d20565b6060816000036117095750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611733578061171d81611e4c565b915061172c9050600a83611e0a565b915061170d565b60008167ffffffffffffffff81111561174e5761174e611b01565b6040519080825280601f01601f191660200182016040528015611778576020820181803683370190505b5090505b84156112c75761178d600183611dbe565b915061179a600a86611ee6565b6117a5906030611e34565b60f81b8183815181106117ba576117ba611e1e565b60200101906001600160f81b031916908160001a9053506117dc600a86611e0a565b945061177c565b6117ed8383611917565b6117fa6000848484611816565b6107865760405162461bcd60e51b81526004016106e590611e94565b60006001600160a01b0384163b1561190c57604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061185a903390899088908890600401611efa565b6020604051808303816000875af1925050508015611895575060408051601f3d908101601f1916820190925261189291810190611f37565b60015b6118f2573d8080156118c3576040519150601f19603f3d011682016040523d82523d6000602084013e6118c8565b606091505b5080516000036118ea5760405162461bcd60e51b81526004016106e590611e94565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506112c7565b506001949350505050565b6119218282611029565b610812600780546001019055565b82805461193b90611d20565b90600052602060002090601f01602090048101928261195d57600085556119a3565b82601f1061197657805160ff19168380011785556119a3565b828001600101855582156119a3579182015b828111156119a3578251825591602001919060010190611988565b506119af9291506119b3565b5090565b5b808211156119af57600081556001016119b4565b6001600160e01b03198116811461092557600080fd5b6000602082840312156119f057600080fd5b8135610ea6816119c8565b60005b83811015611a165781810151838201526020016119fe565b83811115610e405750506000910152565b60008151808452611a3f8160208601602086016119fb565b601f01601f19169290920160200192915050565b602081526000610ea66020830184611a27565b600060208284031215611a7857600080fd5b5035919050565b80356001600160a01b0381168114611a9657600080fd5b919050565b60008060408385031215611aae57600080fd5b611ab783611a7f565b946020939093013593505050565b600080600060608486031215611ada57600080fd5b611ae384611a7f565b9250611af160208501611a7f565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115611b3257611b32611b01565b604051601f8501601f19908116603f01168101908282118183101715611b5a57611b5a611b01565b81604052809350858152868686011115611b7357600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215611b9f57600080fd5b813567ffffffffffffffff811115611bb657600080fd5b8201601f81018413611bc757600080fd5b6112c784823560208401611b17565b600060208284031215611be857600080fd5b610ea682611a7f565b6020808252825182820181905260009190848201906040850190845b81811015611c2957835183529284019291840191600101611c0d565b50909695505050505050565b60008060408385031215611c4857600080fd5b611c5183611a7f565b915060208301358015158114611c6657600080fd5b809150509250929050565b60008060008060808587031215611c8757600080fd5b611c9085611a7f565b9350611c9e60208601611a7f565b925060408501359150606085013567ffffffffffffffff811115611cc157600080fd5b8501601f81018713611cd257600080fd5b611ce187823560208401611b17565b91505092959194509250565b60008060408385031215611d0057600080fd5b611d0983611a7f565b9150611d1760208401611a7f565b90509250929050565b600181811c90821680611d3457607f821691505b602082108103611d5457634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252602e908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526d1c881b9bdc88185c1c1c9bdd995960921b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b600082821015611dd057611dd0611da8565b500390565b6000816000190483118215151615611def57611def611da8565b500290565b634e487b7160e01b600052601260045260246000fd5b600082611e1957611e19611df4565b500490565b634e487b7160e01b600052603260045260246000fd5b60008219821115611e4757611e47611da8565b500190565b600060018201611e5e57611e5e611da8565b5060010190565b60008351611e778184602088016119fb565b835190830190611e8b8183602088016119fb565b01949350505050565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b600082611ef557611ef5611df4565b500690565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611f2d90830184611a27565b9695505050505050565b600060208284031215611f4957600080fd5b8151610ea6816119c856fea264697066735822122010fa471f57f080f2323f9d73deba5e1a99180940579db1577d7bbc88abd1cb5464736f6c634300080d00334552433732313a207472616e7366657220746f206e6f6e204552433732315265697066733a2f2f516d5464433577564156375a34334a3975626e53644a7163427864426b6962675875675372707374324a584144722f

Deployed Bytecode

0x6080604052600436106101c65760003560e01c80637146bd08116100f7578063b88d4fde11610095578063eb8d244411610064578063eb8d244414610501578063eff31e9e1461051b578063f2fde38b14610530578063f47c84c51461055057600080fd5b8063b88d4fde14610458578063c87b56dd14610478578063e58306f914610498578063e985e9c5146104b857600080fd5b80638da5cb5b116100d15780638da5cb5b146103f257806395d89b4114610410578063a0712d6814610425578063a22cb4651461043857600080fd5b80637146bd08146103b2578063715018a6146103c75780637ff9b596146103dc57600080fd5b806330176e131161016457806342842e0e1161013e57806342842e0e14610325578063438b6300146103455780636352211e1461037257806370a082311461039257600080fd5b806330176e13146102db57806334918dfd146102fb5780633ccfd60b1461031057600080fd5b8063095ea7b3116101a0578063095ea7b31461026157806318160ddd1461028357806323b872dd146102a657806327ac36c4146102c657600080fd5b806301ffc9a7146101d257806306fdde0314610207578063081812fc1461022957600080fd5b366101cd57005b600080fd5b3480156101de57600080fd5b506101f26101ed3660046119de565b610566565b60405190151581526020015b60405180910390f35b34801561021357600080fd5b5061021c6105b8565b6040516101fe9190611a53565b34801561023557600080fd5b50610249610244366004611a66565b61064a565b6040516001600160a01b0390911681526020016101fe565b34801561026d57600080fd5b5061028161027c366004611a9b565b610671565b005b34801561028f57600080fd5b5061029861078b565b6040519081526020016101fe565b3480156102b257600080fd5b506102816102c1366004611ac5565b61079b565b3480156102d257600080fd5b506102816107cc565b3480156102e757600080fd5b506102816102f6366004611b8d565b6107f7565b34801561030757600080fd5b50610281610816565b34801561031c57600080fd5b50610281610832565b34801561033157600080fd5b50610281610340366004611ac5565b61094d565b34801561035157600080fd5b50610365610360366004611bd6565b610968565b6040516101fe9190611bf1565b34801561037e57600080fd5b5061024961038d366004611a66565b610a2f565b34801561039e57600080fd5b506102986103ad366004611bd6565b610a8f565b3480156103be57600080fd5b50610298600681565b3480156103d357600080fd5b50610281610b15565b3480156103e857600080fd5b5061029860095481565b3480156103fe57600080fd5b506000546001600160a01b0316610249565b34801561041c57600080fd5b5061021c610b27565b610281610433366004611a66565b610b36565b34801561044457600080fd5b50610281610453366004611c35565b610e03565b34801561046457600080fd5b50610281610473366004611c71565b610e0e565b34801561048457600080fd5b5061021c610493366004611a66565b610e46565b3480156104a457600080fd5b506102816104b3366004611a9b565b610ead565b3480156104c457600080fd5b506101f26104d3366004611ced565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b34801561050d57600080fd5b50600a546101f29060ff1681565b34801561052757600080fd5b50610298601a81565b34801561053c57600080fd5b5061028161054b366004611bd6565b610fb3565b34801561055c57600080fd5b50610298611e6181565b60006001600160e01b031982166380ac58cd60e01b148061059757506001600160e01b03198216635b5e139f60e01b145b806105b257506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600180546105c790611d20565b80601f01602080910402602001604051908101604052809291908181526020018280546105f390611d20565b80156106405780601f1061061557610100808354040283529160200191610640565b820191906000526020600020905b81548152906001019060200180831161062357829003601f168201915b5050505050905090565b600061065582611183565b506000908152600560205260409020546001600160a01b031690565b600061067c82610a2f565b9050806001600160a01b0316836001600160a01b0316036106ee5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b038216148061070a575061070a81336104d3565b61077c5760405162461bcd60e51b815260206004820152603e60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c000060648201526084016106e5565b61078683836111e2565b505050565b600061079660075490565b905090565b6107a53382611250565b6107c15760405162461bcd60e51b81526004016106e590611d5a565b6107868383836112cf565b6107d461146b565b6107f56107e96000546001600160a01b031690565b6104b36001601a611dbe565b565b6107ff61146b565b805161081290600890602084019061192f565b5050565b61081e61146b565b600a805460ff19811660ff90911615179055565b61083a61146b565b478061087e5760405162461bcd60e51b8152602060048201526013602482015272496e737566666963656e742062616c616e636560681b60448201526064016106e5565b600a5460ff1615610928576108bd7311145fc22221d317784bd5fdc5dd429354aa0d9c60646108ae84600a611dd5565b6108b89190611e0a565b6114c5565b6108e273db188c27587fa291a34f96b82400085e365a91ac60646108ae84600a611dd5565b610907736ae4595c5f2193f27dc792a79cecffff81e9e8b260646108ae846028611dd5565b61092573e16f00dbc2f95d29e1f07ab3699c65342b6e1caa476114c5565b50565b6109077311145fc22221d317784bd5fdc5dd429354aa0d9c60646108ae846019611dd5565b61078683838360405180602001604052806000815250610e0e565b6060600061097583610a8f565b905060008167ffffffffffffffff81111561099257610992611b01565b6040519080825280602002602001820160405280156109bb578160200160208202803683370190505b5090506000805b83811080156109d2575060075482105b15610a2557856001600160a01b03166109ea83610a2f565b6001600160a01b031603610a1a5781838281518110610a0b57610a0b611e1e565b60209081029190910101526001015b6001909101906109c2565b5090949350505050565b6000818152600360205260408120546001600160a01b0316806105b25760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016106e5565b60006001600160a01b038216610af95760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b60648201526084016106e5565b506001600160a01b031660009081526004602052604090205490565b610b1d61146b565b6107f56000611568565b6060600280546105c790611d20565b600a5460ff16610b7e5760405162461bcd60e51b815260206004820152601360248201527214d85b19481393d5081858dd1a5d99481e595d606a1b60448201526064016106e5565b336000908152600b6020526040902054600690610b9c908390611e34565b10610bfa5760405162461bcd60e51b815260206004820152602860248201527f507572636861736520776f756c6420657863656564206d6178206d696e7420666044820152671bdc881dd85b195d60c21b60648201526084016106e5565b60008111610c4a5760405162461bcd60e51b815260206004820152601a60248201527f6e756d6265724f66546f6b656e732063616e6e6f74206265203000000000000060448201526064016106e5565b336000908152600b60205260408120549003610ccc576009543490610c6f8382611dd5565b610c799190611dbe565b1115610cc75760405162461bcd60e51b815260206004820152601f60248201527f45746865722076616c75652073656e74206973206e6f7420636f72726563740060448201526064016106e5565b610d29565b3481600954610cdb9190611dd5565b1115610d295760405162461bcd60e51b815260206004820152601f60248201527f45746865722076616c75652073656e74206973206e6f7420636f72726563740060448201526064016106e5565b6000610d3361078b565b9050611e61610d428383611e34565b1115610da35760405162461bcd60e51b815260206004820152602a60248201527f507572636861736520776f756c6420657863656564206d617820737570706c79604482015269206f6620546f6b656e7360b01b60648201526084016106e5565b60005b82811015610dd357610dc133610dbc8385611e34565b6115b8565b80610dcb81611e4c565b915050610da6565b50336000908152600b6020526040902054610def908390611e34565b336000908152600b60205260409020555050565b6108123383836115d2565b610e183383611250565b610e345760405162461bcd60e51b81526004016106e590611d5a565b610e40848484846116a0565b50505050565b6060610e5182611183565b6000610e5b6116d3565b90506000815111610e7b5760405180602001604052806000815250610ea6565b80610e85846116e2565b604051602001610e96929190611e65565b6040516020818303038152906040525b9392505050565b610eb561146b565b6000610ebf61078b565b9050611e61610ece8383611e34565b1115610f2e5760405162461bcd60e51b815260206004820152602960248201527f5265736572766520776f756c6420657863656564206d617820737570706c79206044820152686f6620546f6b656e7360b81b60648201526084016106e5565b601a8210610f885760405162461bcd60e51b815260206004820152602160248201527f43616e206f6e6c79206d696e7420323520746f6b656e7320617420612074696d6044820152606560f81b60648201526084016106e5565b60005b82811015610e4057610fa184610dbc8385611e34565b80610fab81611e4c565b915050610f8b565b610fbb61146b565b6001600160a01b0381166110205760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106e5565b61092581611568565b6001600160a01b03821661107f5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016106e5565b6000818152600360205260409020546001600160a01b0316156110e45760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016106e5565b6001600160a01b038216600090815260046020526040812080546001929061110d908490611e34565b909155505060008181526003602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b80546001019055565b6001600160a01b03163b151590565b6000818152600360205260409020546001600160a01b03166109255760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016106e5565b600081815260056020526040902080546001600160a01b0319166001600160a01b038416908117909155819061121782610a2f565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008061125c83610a2f565b9050806001600160a01b0316846001600160a01b031614806112a357506001600160a01b0380821660009081526006602090815260408083209388168352929052205460ff165b806112c75750836001600160a01b03166112bc8461064a565b6001600160a01b0316145b949350505050565b826001600160a01b03166112e282610a2f565b6001600160a01b0316146113465760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b60648201526084016106e5565b6001600160a01b0382166113a85760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016106e5565b6113b36000826111e2565b6001600160a01b03831660009081526004602052604081208054600192906113dc908490611dbe565b90915550506001600160a01b038216600090815260046020526040812080546001929061140a908490611e34565b909155505060008181526003602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6000546001600160a01b031633146107f55760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106e5565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611512576040519150601f19603f3d011682016040523d82523d6000602084013e611517565b606091505b50509050806107865760405162461bcd60e51b815260206004820152601960248201527f4661696c656420746f207769647468647261772045746865720000000000000060448201526064016106e5565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6108128282604051806020016040528060008152506117e3565b816001600160a01b0316836001600160a01b0316036116335760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016106e5565b6001600160a01b03838116600081815260066020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6116ab8484846112cf565b6116b784848484611816565b610e405760405162461bcd60e51b81526004016106e590611e94565b6060600880546105c790611d20565b6060816000036117095750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611733578061171d81611e4c565b915061172c9050600a83611e0a565b915061170d565b60008167ffffffffffffffff81111561174e5761174e611b01565b6040519080825280601f01601f191660200182016040528015611778576020820181803683370190505b5090505b84156112c75761178d600183611dbe565b915061179a600a86611ee6565b6117a5906030611e34565b60f81b8183815181106117ba576117ba611e1e565b60200101906001600160f81b031916908160001a9053506117dc600a86611e0a565b945061177c565b6117ed8383611917565b6117fa6000848484611816565b6107865760405162461bcd60e51b81526004016106e590611e94565b60006001600160a01b0384163b1561190c57604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061185a903390899088908890600401611efa565b6020604051808303816000875af1925050508015611895575060408051601f3d908101601f1916820190925261189291810190611f37565b60015b6118f2573d8080156118c3576040519150601f19603f3d011682016040523d82523d6000602084013e6118c8565b606091505b5080516000036118ea5760405162461bcd60e51b81526004016106e590611e94565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506112c7565b506001949350505050565b6119218282611029565b610812600780546001019055565b82805461193b90611d20565b90600052602060002090601f01602090048101928261195d57600085556119a3565b82601f1061197657805160ff19168380011785556119a3565b828001600101855582156119a3579182015b828111156119a3578251825591602001919060010190611988565b506119af9291506119b3565b5090565b5b808211156119af57600081556001016119b4565b6001600160e01b03198116811461092557600080fd5b6000602082840312156119f057600080fd5b8135610ea6816119c8565b60005b83811015611a165781810151838201526020016119fe565b83811115610e405750506000910152565b60008151808452611a3f8160208601602086016119fb565b601f01601f19169290920160200192915050565b602081526000610ea66020830184611a27565b600060208284031215611a7857600080fd5b5035919050565b80356001600160a01b0381168114611a9657600080fd5b919050565b60008060408385031215611aae57600080fd5b611ab783611a7f565b946020939093013593505050565b600080600060608486031215611ada57600080fd5b611ae384611a7f565b9250611af160208501611a7f565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115611b3257611b32611b01565b604051601f8501601f19908116603f01168101908282118183101715611b5a57611b5a611b01565b81604052809350858152868686011115611b7357600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215611b9f57600080fd5b813567ffffffffffffffff811115611bb657600080fd5b8201601f81018413611bc757600080fd5b6112c784823560208401611b17565b600060208284031215611be857600080fd5b610ea682611a7f565b6020808252825182820181905260009190848201906040850190845b81811015611c2957835183529284019291840191600101611c0d565b50909695505050505050565b60008060408385031215611c4857600080fd5b611c5183611a7f565b915060208301358015158114611c6657600080fd5b809150509250929050565b60008060008060808587031215611c8757600080fd5b611c9085611a7f565b9350611c9e60208601611a7f565b925060408501359150606085013567ffffffffffffffff811115611cc157600080fd5b8501601f81018713611cd257600080fd5b611ce187823560208401611b17565b91505092959194509250565b60008060408385031215611d0057600080fd5b611d0983611a7f565b9150611d1760208401611a7f565b90509250929050565b600181811c90821680611d3457607f821691505b602082108103611d5457634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252602e908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526d1c881b9bdc88185c1c1c9bdd995960921b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b600082821015611dd057611dd0611da8565b500390565b6000816000190483118215151615611def57611def611da8565b500290565b634e487b7160e01b600052601260045260246000fd5b600082611e1957611e19611df4565b500490565b634e487b7160e01b600052603260045260246000fd5b60008219821115611e4757611e47611da8565b500190565b600060018201611e5e57611e5e611da8565b5060010190565b60008351611e778184602088016119fb565b835190830190611e8b8183602088016119fb565b01949350505050565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b600082611ef557611ef5611df4565b500690565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611f2d90830184611a27565b9695505050505050565b600060208284031215611f4957600080fd5b8151610ea6816119c856fea264697066735822122010fa471f57f080f2323f9d73deba5e1a99180940579db1577d7bbc88abd1cb5464736f6c634300080d0033

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.