ETH Price: $3,401.42 (+2.00%)

Token

Squishiland (SVLAND)
 

Overview

Max Total Supply

999 SVLAND

Holders

219

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
0 SVLAND
0x022bdc33f6a8245d8470b9ea890eacaecbbae494
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:
Squishiland

Compiler Version
v0.8.10+commit.fc410830

Optimization Enabled:
Yes with 800 runs

Other Settings:
default evmVersion
File 1 of 12 : Squishiland.sol
// Squishiland by Squishiverse (www.squishiland.com / www.squishiverse.com)

// MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWNOdlod0NMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
// MMMMMMMMMMMMMMMMMMMMMMMMMMMMWKx:'....,lkXWMMMMMMMMMMMMMMMMMMMMMMMMMMMM
// MMMMMMMMMMMMMMMMMMMMMMMMMWKxc'..;cll:,..,lkXWMMMMMMMMMMMMMMMMMMMMMMMMM
// MMMMMMMMMMMMMMMMMMMMMMWXkc'..,cldddddol;'..,lOXWMMMMMMMMMMMMMMMMMMMMMM
// MMMMMMMMMMMMMMMMMMMWXkl,..,:lddoodoooooool:'..;oOXWMMMMMMMMMMMMMMMMMMM
// MMMMMMMMMMMMMMMMWXOl,..';lodddooodddollloodol;...;o0NWMMMMMMMMMMMMMMMM
// MMMMMMMMMMMMMWNOl,..';cloddddxxxxxddollodddddoc:,...;o0NWMMMMMMMMMMMMM
// MMMMMMMMMMMNOo;..';coooodxxxxxkkxdddoodxxxddddooolc;...:d0NMMMMMMMMMMM
// MMMMMMMMN0o;...;coddddddxxxxxddddddddxkOkkxdxxxxddddo:,...:xKNMMMMMMMM
// MMMMMN0d:...;lodddddxxxxxxxxdddxxxddxkkkxxxxdxxxxxxddolc;'..'cxKWMMMMM
// MMN0d:'..,:odxxddddxxkOOkxxxddodxxxxdddddddddxxxxxddollllol:,..'cxKWMM
// Kd:'..,:coodddddddxxxkkkkxxxddoodddddxxxxxdxkOO00kdolllloooool:,..'ckX
// :..';cooooodddddddddddddddddddoooooddxxxxxxxxk00Okddoolloooodddol:'..l
// '..:cloooooddddddddddddddddxxdddoooooddddddxxxxxxdoooooddddddollcl;..:
// ;..',;coddddddddddddddddxxxdddddddddddoooddxxxxxdolllloooooooolc::,..c
// c....',;clooooddddddddxxxxxddddddddddddddddddxxxollllllllclllcc;;;'..o
// o.......';::cldddddddxxxxxxxdddddddddddddddddooolllooooolc:::;;,,,'..d
// x. .......'',:loddddddddddddddxkkxddddddddddddollloooolc:,;,,,''',. .x
// k. ..........',;clooooooddddddxO0Okkxddoooddddoolcccc:;,''''''''''..'O
// O' .............',;;:clloddddxkOOkkkxooooollllool:;,,,''''''''.'''..;0
// O,..................';:cloodddxxdooollooooolccccc:,''',,,,'''.......:K
// 0;...................',,;:clddooloddoloddolc::::;,,''',,,''.........lX
// 0:......................'',;clooodxxdolllc:;,,,,,'''''''''..........dN
// Kc. .......................',,:coxxddl:;;,,''''''',,,''.'......... .xN
// Xo. .........................',;:loll:;,''''''''',,,''............ 'kW
// Nd. ...........................',;:::;,,,,'',,,''',''............. 'OW
// Wk' ............................',;;;,,,;,'',,,'''''.............. 'OM
// M0;. ............ ..............',,,;;;,,'''''''...................;0M
// MNk;.  ..........................',,;;,''''''''...................:OWM
// MMWXOl'.  ............ ..........',,,,''''''''.................,lONWMM
// MMMMMWKx:.. .....................',,,,''...'''..............'ckXWMMMMM
// MMMMMMMMNOo,.  ..................',,,''...................,d0NMMMMMMMM
// MMMMMMMMMMWKkc..  ...............'',''.................'lkXWMMMMMMMMMM
// MMMMMMMMMMMMMW0o,.  ..............'''................;dKWMMMMMMMMMMMMM
// MMMMMMMMMMMMMMMWXkc'.  ...........................,lONWMMMMMMMMMMMMMMM
// MMMMMMMMMMMMMMMMMMN0d;.   ......................:xXWMMMMMMMMMMMMMMMMMM
// MMMMMMMMMMMMMMMMMMMMWXkc'.  ........''.......,o0NMMMMMMMMMMMMMMMMMMMMM
// MMMMMMMMMMMMMMMMMMMMMMMWKx:.. ............'ckXWMMMMMMMMMMMMMMMMMMMMMMM
// MMMMMMMMMMMMMMMMMMMMMMMMMMNOo,..........;d0NMMMMMMMMMMMMMMMMMMMMMMMMMM
// MMMMMMMMMMMMMMMMMMMMMMMMMMMMWXkc'....'lOXWMMMMMMMMMMMMMMMMMMMMMMMMMMMM
// MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMNOocld0NMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM

// Development help from @lozzereth (www.allthingsweb3.com)

// SPDX-License-Identifier: CC-BY-NC-4.0

pragma solidity ^0.8.0;

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";

contract Squishiland is ERC721, Ownable {
    /// @dev Maximum mints per wallet
    uint256 public maxPerWallet = 1;

    /// @dev Mint round
    uint256 public mintRound = 0;

    /// @dev Mint count based off the current mint round
    mapping(uint256 => mapping(address => uint256)) public addressMintCount;

    /// @dev Tiered whitelisting system
    bytes32[3] public tieredWhitelistMerkleRoot;

    /// @dev Land sizes
    enum LandSize {
        Rare,
        Epic,
        Legendary,
        Mythic
    }

    /// @dev Maximum land sizes
    uint256 public constant MAX_LAND_SIZES = 4;

    /// @dev Attribute for each piece of land
    struct LandAttribute {
        uint256 price;
        uint256 supply;
        uint256 startingId;
        uint256 minted;
        uint256 burnt;
    }

    /// @dev Mapping for lands and their respective attributes
    mapping(LandSize => LandAttribute) public land;

    constructor() ERC721("Squishiland", "SVLAND") {
        land[LandSize.Rare] = LandAttribute(0.2 ether, 2494, 1950, 0, 0);
        land[LandSize.Epic] = LandAttribute(0.4 ether, 1500, 450, 0, 0);
        land[LandSize.Legendary] = LandAttribute(0.75 ether, 400, 50, 0, 0);
        land[LandSize.Mythic] = LandAttribute(1.25 ether, 50, 0, 0, 0);
    }

    /**
     * @dev Mechanisms to open and close the public/whitelist sales
     */
    bool public publicSale = false;
    bool public whitelistSale = false;

    modifier publicSaleActive() {
        require(publicSale, "Public sale not started");
        _;
    }

    modifier whitelistSaleActive() {
        require(whitelistSale, "Whitelist sale not started");
        _;
    }

    function setPublicSale() external onlyOwner {
        publicSale = !publicSale;
    }

    function setWhitelistSale() external onlyOwner {
        whitelistSale = !whitelistSale;
    }

    /**
     * @dev Public minting functionality
     */
    function mintPublic(LandSize _size, uint256 _quantity)
        public
        payable
        publicSaleActive
        withinSupplyLimit(_size, _quantity)
        hasFunding(_size, _quantity)
        withinMaxPerWallet(_quantity)
    {
        unchecked {
            addressMintCount[mintRound][msg.sender] += _quantity;
        }
        _mintMany(_size, msg.sender, _quantity);
    }

    modifier hasFunding(LandSize _size, uint256 _quantity) {
        require(
            msg.value >= land[_size].price * _quantity,
            "Insufficent funds"
        );
        _;
    }

    modifier withinMaxPerWallet(uint256 _quantity) {
        require(
            _quantity > 0 &&
                addressMintCount[mintRound][msg.sender] + _quantity <=
                maxPerWallet,
            "Minting above allocation"
        );
        _;
    }

    /**
     * @notice Set the whitelist merkle root for a specific tier
     */
    function setWhitelistMerkleRoot(uint256 tier, bytes32 merkleRoot)
        external
        onlyOwner
        hasValidTier(tier)
    {
        tieredWhitelistMerkleRoot[tier] = merkleRoot;
    }

    modifier hasValidTier(uint256 tier) {
        require(tier >= 0 && tier <= 2, "Invalid tier");
        _;
    }

    /**
     * @notice Whitelist mint based on tier
     */
    function mintWhitelist(
        LandSize _size,
        uint256 _tier,
        uint256 _quantity,
        bytes32[] calldata merkleProof
    )
        public
        payable
        whitelistSaleActive
        hasValidTier(_tier)
        hasValidMerkleProof(merkleProof, tieredWhitelistMerkleRoot[_tier])
        withinSupplyLimit(_size, _quantity)
        withinMaxPerWallet(_quantity)
        hasFunding(_size, _quantity)
    {
        unchecked {
            addressMintCount[mintRound][msg.sender] += _quantity;
        }
        _mintMany(_size, msg.sender, _quantity);
    }

    modifier hasValidMerkleProof(bytes32[] calldata merkleProof, bytes32 root) {
        require(
            MerkleProof.verify(
                merkleProof,
                root,
                keccak256(abi.encodePacked(msg.sender))
            ),
            "Address not allowed"
        );
        _;
    }

    /**
     * @notice Allows the contract owner to mint within limits
     */
    function mintAdmin(
        LandSize _size,
        address _recipient,
        uint256 _quantity
    ) public onlyOwner withinSupplyLimit(_size, _quantity) {
        _mintMany(_size, _recipient, _quantity);
    }

    /**
     * @dev Mints many nfts
     */
    function _mintMany(
        LandSize _size,
        address _to,
        uint256 _quantity
    ) private {
        uint256 startingId = land[_size].minted + land[_size].startingId;
        unchecked {
            land[_size].minted += _quantity;
        }
        for (uint256 i; i < _quantity; i++) {
            _mint(_to, startingId + i);
        }
    }

    modifier withinSupplyLimit(LandSize _size, uint256 _quantity) {
        require(
            land[_size].minted + _quantity <= land[_size].supply,
            "Surpasses supply"
        );
        _;
    }

    /**
     * @notice Allows owner to adjust the mint price
     * @dev All amounts assume a wei amount
     */
    function setMintPrice(LandSize _size, uint256 _price) public onlyOwner {
        land[_size].price = _price;
    }

    /**
     * @notice Allows owner to decrease the maximum supply of a size
     */
    function reduceMaximumSupply(LandSize _size, uint256 _supply)
        external
        onlyOwner
    {
        require(_supply <= land[_size].supply, "Cannot increase supply");
        require(_supply >= land[_size].minted, "Below minted supply");
        land[_size].supply = _supply;
    }

    /**
     * @notice Set maximum mintable amount per wallet
     */
    function setMaxPerWallet(uint256 _amount) external onlyOwner {
        maxPerWallet = _amount;
    }

    /**
     * @notice Set the minting round
     */
    function setMintRound(uint256 _round) external onlyOwner {
        mintRound = _round;
    }

    /**
     * @notice Fetch total supply
     */
    function totalSupply() public view returns (uint256) {
        uint256 total;
        for (uint256 s; s < MAX_LAND_SIZES; s++) {
            LandSize size = LandSize(s);
            total += land[size].minted;
        }
        return total;
    }

    /**
     * @notice Fetch total burnt
     */
    function totalBurnt() public view returns (uint256) {
        uint256 total;
        for (uint256 s; s < MAX_LAND_SIZES; s++) {
            LandSize size = LandSize(s);
            total += land[size].burnt;
        }
        return total;
    }

    /**
     * @notice Burn a piece of land
     */
    function burn(uint256 tokenId) public {
        require(
            _isApprovedOrOwner(msg.sender, tokenId),
            "Squishiland: caller is not owner nor approved"
        );
        LandSize size = getLandSize(tokenId);
        unchecked {
            land[size].burnt++;
        }
        _burn(tokenId);
    }

    /**
     * @notice Fetch the total minted on a per size basis
     */
    function totalSupplyBySize(LandSize _size) public view returns (uint256) {
        return land[_size].minted;
    }

    /**
     * @notice Fetch the total burnt on a per size basis
     */
    function totalBurntBySize(LandSize _size) public view returns (uint256) {
        return land[_size].burnt;
    }

    /**
     * @notice Get the land size for a token
     */
    function getLandSize(uint256 _tokenId) public view returns (LandSize) {
        for (uint256 s; s < MAX_LAND_SIZES; s++) {
            LandSize size = LandSize(s);
            uint256 start = land[size].startingId;
            if (_tokenId >= start && _tokenId <= start + land[size].minted) {
                return size;
            }
        }
        revert("Squishiland: land size query for nonexistent token");
    }

    /**
     * @notice Base URI for the NFT
     */
    string private baseURI;

    function setBaseURI(string memory baseURI_) external onlyOwner {
        baseURI = baseURI_;
    }

    function _baseURI() internal view virtual override returns (string memory) {
        return baseURI;
    }

    /**
     * @notice Distribution of sales
     */
    address private constant address1 =
        0x55B80Cb7E2ea8780B29BB20D08F70A148ea7c12a;

    function withdraw() external onlyOwner {
        uint256 balance = address(this).balance;
        Address.sendValue(payable(address1), balance);
    }
}

File 2 of 12 : 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 Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

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

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

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

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

File 3 of 12 : MerkleProof.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Trees proofs.
 *
 * The proofs can be generated using the JavaScript library
 * https://github.com/miguelmota/merkletreejs[merkletreejs].
 * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
 *
 * See `test/utils/cryptography/MerkleProof.test.js` for some examples.
 *
 * WARNING: You should avoid using leaf values that are 64 bytes long prior to
 * hashing, or use a hash function other than keccak256 for hashing leaves.
 * This is because the concatenation of a sorted pair of internal nodes in
 * the merkle tree could be reinterpreted as a leaf value.
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(
        bytes32[] memory proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProof(proof, leaf) == root;
    }

    /**
     * @dev Returns the rebuilt hash obtained by traversing a Merkle tree up
     * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt
     * hash matches the root of the tree. When processing the proof, the pairs
     * of leafs & pre-images are assumed to be sorted.
     *
     * _Available since v4.4._
     */
    function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            bytes32 proofElement = proof[i];
            if (computedHash <= proofElement) {
                // Hash(current computed hash + current element of the proof)
                computedHash = _efficientHash(computedHash, proofElement);
            } else {
                // Hash(current element of the proof + current computed hash)
                computedHash = _efficientHash(proofElement, computedHash);
            }
        }
        return computedHash;
    }

    function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) {
        assembly {
            mstore(0x00, a)
            mstore(0x20, b)
            value := keccak256(0x00, 0x40)
        }
    }
}

File 4 of 12 : 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: balance query for the zero address");
        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: owner query for nonexistent token");
        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) {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");

        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 owner nor approved for all"
        );

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        require(_exists(tokenId), "ERC721: approved query for nonexistent token");

        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: transfer caller is not 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: transfer caller is not 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) {
        require(_exists(tokenId), "ERC721: operator query for nonexistent token");
        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 a {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 a {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 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 {
                    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 12 : 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 6 of 12 : 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 be have been allowed to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

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

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

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

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

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

File 7 of 12 : 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 8 of 12 : 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 9 of 12 : 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

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

File 10 of 12 : 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";

    /**
     * @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 11 of 12 : 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 12 of 12 : 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
{
  "optimizer": {
    "enabled": true,
    "runs": 800
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

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_LAND_SIZES","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"","type":"address"}],"name":"addressMintCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","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":"uint256","name":"_tokenId","type":"uint256"}],"name":"getLandSize","outputs":[{"internalType":"enum Squishiland.LandSize","name":"","type":"uint8"}],"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":"enum Squishiland.LandSize","name":"","type":"uint8"}],"name":"land","outputs":[{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"uint256","name":"supply","type":"uint256"},{"internalType":"uint256","name":"startingId","type":"uint256"},{"internalType":"uint256","name":"minted","type":"uint256"},{"internalType":"uint256","name":"burnt","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"enum Squishiland.LandSize","name":"_size","type":"uint8"},{"internalType":"address","name":"_recipient","type":"address"},{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"mintAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"enum Squishiland.LandSize","name":"_size","type":"uint8"},{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"mintPublic","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintRound","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"enum Squishiland.LandSize","name":"_size","type":"uint8"},{"internalType":"uint256","name":"_tier","type":"uint256"},{"internalType":"uint256","name":"_quantity","type":"uint256"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"mintWhitelist","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":"publicSale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"enum Squishiland.LandSize","name":"_size","type":"uint8"},{"internalType":"uint256","name":"_supply","type":"uint256"}],"name":"reduceMaximumSupply","outputs":[],"stateMutability":"nonpayable","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":"_amount","type":"uint256"}],"name":"setMaxPerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"enum Squishiland.LandSize","name":"_size","type":"uint8"},{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_round","type":"uint256"}],"name":"setMintRound","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setPublicSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tier","type":"uint256"},{"internalType":"bytes32","name":"merkleRoot","type":"bytes32"}],"name":"setWhitelistMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setWhitelistSale","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":"","type":"uint256"}],"name":"tieredWhitelistMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"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":"totalBurnt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"enum Squishiland.LandSize","name":"_size","type":"uint8"}],"name":"totalBurntBySize","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"enum Squishiland.LandSize","name":"_size","type":"uint8"}],"name":"totalSupplyBySize","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":"whitelistSale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405260016007556000600855600e805461ffff191690553480156200002657600080fd5b50604080518082018252600b81526a14dc5d5a5cda1a5b185b9960aa1b60208083019182528351808501909452600684526514d59310539160d21b908401528151919291620000789160009162000395565b5080516200008e90600190602084019062000395565b505050620000ab620000a56200033f60201b60201c565b62000343565b6040518060a001604052806702c68af0bb14000081526020016109be815260200161079e8152602001600081526020016000815250600d6000806003811115620000f957620000f96200043b565b60038111156200010d576200010d6200043b565b815260200190815260200160002060008201518160000155602082015181600101556040820151816002015560608201518160030155608082015181600401559050506040518060a0016040528067058d15e17628000081526020016105dc81526020016101c28152602001600081526020016000815250600d6000600160038111156200019f576200019f6200043b565b6003811115620001b357620001b36200043b565b815260200190815260200160002060008201518160000155602082015181600101556040820151816002015560608201518160030155608082015181600401559050506040518060a00160405280670a688906bd8b00008152602001610190815260200160328152602001600081526020016000815250600d6000600260038111156200024457620002446200043b565b60038111156200025857620002586200043b565b815260200190815260200160002060008201518160000155602082015181600101556040820151816002015560608201518160030155608082015181600401559050506040518060a00160405280671158e460913d000081526020016032815260200160008152602001600081526020016000815250600d6000600380811115620002e757620002e76200043b565b6003811115620002fb57620002fb6200043b565b81526020808201929092526040908101600020835181559183015160018301558201516002820155606082015160038201556080909101516004909101556200048e565b3390565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b828054620003a39062000451565b90600052602060002090601f016020900481019282620003c7576000855562000412565b82601f10620003e257805160ff191683800117855562000412565b8280016001018555821562000412579182015b8281111562000412578251825591602001919060010190620003f5565b506200042092915062000424565b5090565b5b8082111562000420576000815560010162000425565b634e487b7160e01b600052602160045260246000fd5b600181811c908216806200046657607f821691505b602082108114156200048857634e487b7160e01b600052602260045260246000fd5b50919050565b6131d4806200049e6000396000f3fe6080604052600436106102d15760003560e01c806370a0823111610179578063b8718f80116100d6578063d46b3e201161008a578063e268e4d311610064578063e268e4d3146107dd578063e985e9c5146107fd578063f2fde38b1461084657600080fd5b8063d46b3e201461072b578063d910c4181461074b578063dd3acd7c146107bd57600080fd5b8063c15b38d6116100bb578063c15b38d6146106d6578063c87b56dd146106f6578063cef216e21461071657600080fd5b8063b8718f80146106a3578063b88d4fde146106b657600080fd5b80638da5cb5b1161012d578063966ff65011610112578063966ff6501461065b578063a22cb46514610670578063adf2cb3d1461069057600080fd5b80638da5cb5b1461062857806395d89b411461064657600080fd5b806374f586b11161015e57806374f586b1146105bb57806378ec4f9b146105db57806385bdab73146105fb57600080fd5b806370a0823114610586578063715018a6146105a657600080fd5b806342842e0e11610232578063502376b4116101e657806356f8f78c116101c057806356f8f78c146105315780636352211e1461054657806365b244141461056657600080fd5b8063502376b4146104d157806353a631c1146104f157806355f804b31461051157600080fd5b8063453c231011610217578063453c23101461049057806346bdee17146104a657806347af2911146104bb57600080fd5b806342842e0e1461045057806342966c681461047057600080fd5b8063183248041161028957806331ffd6f11161026e57806331ffd6f11461040257806333bc1c5c146104215780633ccfd60b1461043b57600080fd5b806318324804146103aa57806323b872dd146103e257600080fd5b8063081812fc116102ba578063081812fc1461032d578063095ea7b31461036557806318160ddd1461038757600080fd5b806301ffc9a7146102d657806306fdde031461030b575b600080fd5b3480156102e257600080fd5b506102f66102f1366004612b72565b610866565b60405190151581526020015b60405180910390f35b34801561031757600080fd5b506103206108b8565b6040516103029190612be7565b34801561033957600080fd5b5061034d610348366004612bfa565b61094a565b6040516001600160a01b039091168152602001610302565b34801561037157600080fd5b50610385610380366004612c2f565b6109e4565b005b34801561039357600080fd5b5061039c610afa565b604051908152602001610302565b3480156103b657600080fd5b5061039c6103c5366004612c59565b600960209081526000928352604080842090915290825290205481565b3480156103ee57600080fd5b506103856103fd366004612c85565b610b7f565b34801561040e57600080fd5b50600e546102f690610100900460ff1681565b34801561042d57600080fd5b50600e546102f69060ff1681565b34801561044757600080fd5b50610385610c06565b34801561045c57600080fd5b5061038561046b366004612c85565b610c70565b34801561047c57600080fd5b5061038561048b366004612bfa565b610c8b565b34801561049c57600080fd5b5061039c60075481565b3480156104b257600080fd5b5061039c600481565b3480156104c757600080fd5b5061039c60085481565b3480156104dd57600080fd5b506103856104ec366004612cd0565b610d62565b3480156104fd57600080fd5b5061039c61050c366004612cee565b610e7c565b34801561051d57600080fd5b5061038561052c366004612d95565b610ebe565b34801561053d57600080fd5b50610385610f19565b34801561055257600080fd5b5061034d610561366004612bfa565b610f75565b34801561057257600080fd5b50610385610581366004612bfa565b611000565b34801561059257600080fd5b5061039c6105a1366004612dde565b61104d565b3480156105b257600080fd5b506103856110e7565b3480156105c757600080fd5b5061039c6105d6366004612bfa565b61113b565b3480156105e757600080fd5b506103856105f6366004612df9565b611152565b34801561060757600080fd5b5061061b610616366004612bfa565b6111d7565b6040516103029190612e2b565b34801561063457600080fd5b506006546001600160a01b031661034d565b34801561065257600080fd5b5061032061131b565b34801561066757600080fd5b5061039c61132a565b34801561067c57600080fd5b5061038561068b366004612e53565b6113a9565b61038561069e366004612df9565b6113b4565b6103856106b1366004612e8f565b611619565b3480156106c257600080fd5b506103856106d1366004612f26565b6119a0565b3480156106e257600080fd5b506103856106f1366004612fa2565b611a2e565b34801561070257600080fd5b50610320610711366004612bfa565b611ad2565b34801561072257600080fd5b50610385611bbb565b34801561073757600080fd5b50610385610746366004612df9565b611c20565b34801561075757600080fd5b50610795610766366004612cee565b600d60205260009081526040902080546001820154600283015460038401546004909401549293919290919085565b604080519586526020860194909452928401919091526060830152608082015260a001610302565b3480156107c957600080fd5b5061039c6107d8366004612cee565b611db8565b3480156107e957600080fd5b506103856107f8366004612bfa565b611dfa565b34801561080957600080fd5b506102f6610818366004612fc4565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561085257600080fd5b50610385610861366004612dde565b611e47565b60006001600160e01b031982166380ac58cd60e01b148061089757506001600160e01b03198216635b5e139f60e01b145b806108b257506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600080546108c790612fee565b80601f01602080910402602001604051908101604052809291908181526020018280546108f390612fee565b80156109405780601f1061091557610100808354040283529160200191610940565b820191906000526020600020905b81548152906001019060200180831161092357829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166109c85760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006109ef82610f75565b9050806001600160a01b0316836001600160a01b03161415610a5d5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016109bf565b336001600160a01b0382161480610a795750610a798133610818565b610aeb5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016109bf565b610af58383611f14565b505050565b60008060005b6004811015610b79576000816003811115610b1d57610b1d612e15565b9050600d6000826003811115610b3557610b35612e15565b6003811115610b4657610b46612e15565b81526020019081526020016000206003015483610b639190613039565b9250508080610b7190613051565b915050610b00565b50919050565b610b893382611f82565b610bfb5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656400000000000000000000000000000060648201526084016109bf565b610af5838383612079565b6006546001600160a01b03163314610c4e5760405162461bcd60e51b8152602060048201819052602482015260008051602061317f83398151915260448201526064016109bf565b47610c6d7355b80cb7e2ea8780b29bb20d08f70a148ea7c12a8261222d565b50565b610af5838383604051806020016040528060008152506119a0565b610c953382611f82565b610d075760405162461bcd60e51b815260206004820152602d60248201527f537175697368696c616e643a2063616c6c6572206973206e6f74206f776e657260448201527f206e6f7220617070726f7665640000000000000000000000000000000000000060648201526084016109bf565b6000610d12826111d7565b9050600d6000826003811115610d2a57610d2a612e15565b6003811115610d3b57610d3b612e15565b8152602081019190915260400160002060040180546001019055610d5e82612346565b5050565b6006546001600160a01b03163314610daa5760405162461bcd60e51b8152602060048201819052602482015260008051602061317f83398151915260448201526064016109bf565b8281600d6000836003811115610dc257610dc2612e15565b6003811115610dd357610dd3612e15565b81526020019081526020016000206001015481600d6000856003811115610dfc57610dfc612e15565b6003811115610e0d57610e0d612e15565b815260200190815260200160002060030154610e299190613039565b1115610e6a5760405162461bcd60e51b815260206004820152601060248201526f53757270617373657320737570706c7960801b60448201526064016109bf565b610e758585856123e1565b5050505050565b6000600d6000836003811115610e9457610e94612e15565b6003811115610ea557610ea5612e15565b8152602001908152602001600020600301549050919050565b6006546001600160a01b03163314610f065760405162461bcd60e51b8152602060048201819052602482015260008051602061317f83398151915260448201526064016109bf565b8051610d5e90600f906020840190612ac3565b6006546001600160a01b03163314610f615760405162461bcd60e51b8152602060048201819052602482015260008051602061317f83398151915260448201526064016109bf565b600e805460ff19811660ff90911615179055565b6000818152600260205260408120546001600160a01b0316806108b25760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e000000000000000000000000000000000000000000000060648201526084016109bf565b6006546001600160a01b031633146110485760405162461bcd60e51b8152602060048201819052602482015260008051602061317f83398151915260448201526064016109bf565b600855565b60006001600160a01b0382166110cb5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f20616464726573730000000000000000000000000000000000000000000060648201526084016109bf565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b0316331461112f5760405162461bcd60e51b8152602060048201819052602482015260008051602061317f83398151915260448201526064016109bf565b61113960006124d4565b565b600a816003811061114b57600080fd5b0154905081565b6006546001600160a01b0316331461119a5760405162461bcd60e51b8152602060048201819052602482015260008051602061317f83398151915260448201526064016109bf565b80600d60008460038111156111b1576111b1612e15565b60038111156111c2576111c2612e15565b81526020810191909152604001600020555050565b6000805b60048110156112ac5760008160038111156111f8576111f8612e15565b90506000600d600083600381111561121257611212612e15565b600381111561122357611223612e15565b815260200190815260200160002060020154905080851015801561128a5750600d600083600381111561125857611258612e15565b600381111561126957611269612e15565b815260200190815260200160002060030154816112869190613039565b8511155b1561129757509392505050565b505080806112a490613051565b9150506111db565b5060405162461bcd60e51b815260206004820152603260248201527f537175697368696c616e643a206c616e642073697a6520717565727920666f7260448201527f206e6f6e6578697374656e7420746f6b656e000000000000000000000000000060648201526084016109bf565b6060600180546108c790612fee565b60008060005b6004811015610b7957600081600381111561134d5761134d612e15565b9050600d600082600381111561136557611365612e15565b600381111561137657611376612e15565b815260200190815260200160002060040154836113939190613039565b92505080806113a190613051565b915050611330565b610d5e338383612526565b600e5460ff166114065760405162461bcd60e51b815260206004820152601760248201527f5075626c69632073616c65206e6f74207374617274656400000000000000000060448201526064016109bf565b8181600d600083600381111561141e5761141e612e15565b600381111561142f5761142f612e15565b81526020019081526020016000206001015481600d600085600381111561145857611458612e15565b600381111561146957611469612e15565b8152602001908152602001600020600301546114859190613039565b11156114c65760405162461bcd60e51b815260206004820152601060248201526f53757270617373657320737570706c7960801b60448201526064016109bf565b838380600d60008460038111156114df576114df612e15565b60038111156114f0576114f0612e15565b81526020019081526020016000206000015461150c919061306c565b34101561155b5760405162461bcd60e51b815260206004820152601160248201527f496e737566666963656e742066756e647300000000000000000000000000000060448201526064016109bf565b8460008111801561159557506007546008546000908152600960209081526040808320338452909152902054611592908390613039565b11155b6115e15760405162461bcd60e51b815260206004820152601860248201527f4d696e74696e672061626f766520616c6c6f636174696f6e000000000000000060448201526064016109bf565b6008546000908152600960209081526040808320338085529252909120805488019055611610908890886123e1565b50505050505050565b600e54610100900460ff166116705760405162461bcd60e51b815260206004820152601a60248201527f57686974656c6973742073616c65206e6f74207374617274656400000000000060448201526064016109bf565b8360028111156116b15760405162461bcd60e51b815260206004820152600c60248201526b24b73b30b634b2103a34b2b960a11b60448201526064016109bf565b8282600a87600381106116c6576116c661308b565b015461173a838380806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506040516bffffffffffffffffffffffff193360601b1660208201528592506034019050604051602081830303815290604052805190602001206125f5565b6117865760405162461bcd60e51b815260206004820152601360248201527f41646472657373206e6f7420616c6c6f7765640000000000000000000000000060448201526064016109bf565b8887600d600083600381111561179e5761179e612e15565b60038111156117af576117af612e15565b81526020019081526020016000206001015481600d60008560038111156117d8576117d8612e15565b60038111156117e9576117e9612e15565b8152602001908152602001600020600301546118059190613039565b11156118465760405162461bcd60e51b815260206004820152601060248201526f53757270617373657320737570706c7960801b60448201526064016109bf565b886000811180156118805750600754600854600090815260096020908152604080832033845290915290205461187d908390613039565b11155b6118cc5760405162461bcd60e51b815260206004820152601860248201527f4d696e74696e672061626f766520616c6c6f636174696f6e000000000000000060448201526064016109bf565b8b8a80600d60008460038111156118e5576118e5612e15565b60038111156118f6576118f6612e15565b815260200190815260200160002060000154611912919061306c565b3410156119615760405162461bcd60e51b815260206004820152601160248201527f496e737566666963656e742066756e647300000000000000000000000000000060448201526064016109bf565b600854600090815260096020908152604080832033808552925290912080548e019055611990908f908e6123e1565b5050505050505050505050505050565b6119aa3383611f82565b611a1c5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656400000000000000000000000000000060648201526084016109bf565b611a288484848461260b565b50505050565b6006546001600160a01b03163314611a765760405162461bcd60e51b8152602060048201819052602482015260008051602061317f83398151915260448201526064016109bf565b816002811115611ab75760405162461bcd60e51b815260206004820152600c60248201526b24b73b30b634b2103a34b2b960a11b60448201526064016109bf565b81600a8460038110611acb57611acb61308b565b0155505050565b6000818152600260205260409020546060906001600160a01b0316611b5f5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e000000000000000000000000000000000060648201526084016109bf565b6000611b69612694565b90506000815111611b895760405180602001604052806000815250611bb4565b80611b93846126a3565b604051602001611ba49291906130a1565b6040516020818303038152906040525b9392505050565b6006546001600160a01b03163314611c035760405162461bcd60e51b8152602060048201819052602482015260008051602061317f83398151915260448201526064016109bf565b600e805461ff001981166101009182900460ff1615909102179055565b6006546001600160a01b03163314611c685760405162461bcd60e51b8152602060048201819052602482015260008051602061317f83398151915260448201526064016109bf565b600d6000836003811115611c7e57611c7e612e15565b6003811115611c8f57611c8f612e15565b815260200190815260200160002060010154811115611cf05760405162461bcd60e51b815260206004820152601660248201527f43616e6e6f7420696e63726561736520737570706c790000000000000000000060448201526064016109bf565b600d6000836003811115611d0657611d06612e15565b6003811115611d1757611d17612e15565b815260200190815260200160002060030154811015611d785760405162461bcd60e51b815260206004820152601360248201527f42656c6f77206d696e74656420737570706c790000000000000000000000000060448201526064016109bf565b80600d6000846003811115611d8f57611d8f612e15565b6003811115611da057611da0612e15565b81526020810191909152604001600020600101555050565b6000600d6000836003811115611dd057611dd0612e15565b6003811115611de157611de1612e15565b8152602001908152602001600020600401549050919050565b6006546001600160a01b03163314611e425760405162461bcd60e51b8152602060048201819052602482015260008051602061317f83398151915260448201526064016109bf565b600755565b6006546001600160a01b03163314611e8f5760405162461bcd60e51b8152602060048201819052602482015260008051602061317f83398151915260448201526064016109bf565b6001600160a01b038116611f0b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016109bf565b610c6d816124d4565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611f4982610f75565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b0316611ffb5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016109bf565b600061200683610f75565b9050806001600160a01b0316846001600160a01b0316148061204d57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b806120715750836001600160a01b03166120668461094a565b6001600160a01b0316145b949350505050565b826001600160a01b031661208c82610f75565b6001600160a01b0316146121085760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201527f6f776e657200000000000000000000000000000000000000000000000000000060648201526084016109bf565b6001600160a01b03821661216a5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016109bf565b612175600082611f14565b6001600160a01b038316600090815260036020526040812080546001929061219e9084906130d0565b90915550506001600160a01b03821660009081526003602052604081208054600192906121cc908490613039565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b8047101561227d5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e636500000060448201526064016109bf565b6000826001600160a01b03168260405160006040518083038185875af1925050503d80600081146122ca576040519150601f19603f3d011682016040523d82523d6000602084013e6122cf565b606091505b5050905080610af55760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d6179206861766520726576657274656400000000000060648201526084016109bf565b600061235182610f75565b905061235e600083611f14565b6001600160a01b03811660009081526003602052604081208054600192906123879084906130d0565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b6000600d60008560038111156123f9576123f9612e15565b600381111561240a5761240a612e15565b815260200190815260200160002060020154600d600086600381111561243257612432612e15565b600381111561244357612443612e15565b81526020019081526020016000206003015461245f9190613039565b905081600d600086600381111561247857612478612e15565b600381111561248957612489612e15565b81526020810191909152604001600090812060030180549092019091555b82811015610e75576124c2846124bd8385613039565b6127b9565b806124cc81613051565b9150506124a7565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b031614156125885760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016109bf565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b60008261260285846128fb565b14949350505050565b612616848484612079565b6126228484848461296f565b611a285760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e746572000000000000000000000000000060648201526084016109bf565b6060600f80546108c790612fee565b6060816126c75750506040805180820190915260018152600360fc1b602082015290565b8160005b81156126f157806126db81613051565b91506126ea9050600a836130fd565b91506126cb565b60008167ffffffffffffffff81111561270c5761270c612d09565b6040519080825280601f01601f191660200182016040528015612736576020820181803683370190505b5090505b84156120715761274b6001836130d0565b9150612758600a86613111565b612763906030613039565b60f81b8183815181106127785761277861308b565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506127b2600a866130fd565b945061273a565b6001600160a01b03821661280f5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016109bf565b6000818152600260205260409020546001600160a01b0316156128745760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016109bf565b6001600160a01b038216600090815260036020526040812080546001929061289d908490613039565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600081815b845181101561296757600085828151811061291d5761291d61308b565b602002602001015190508083116129435760008381526020829052604090209250612954565b600081815260208490526040902092505b508061295f81613051565b915050612900565b509392505050565b60006001600160a01b0384163b15612ab857604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906129b3903390899088908890600401613125565b6020604051808303816000875af19250505080156129ee575060408051601f3d908101601f191682019092526129eb91810190613161565b60015b612a9e573d808015612a1c576040519150601f19603f3d011682016040523d82523d6000602084013e612a21565b606091505b508051612a965760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e746572000000000000000000000000000060648201526084016109bf565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050612071565b506001949350505050565b828054612acf90612fee565b90600052602060002090601f016020900481019282612af15760008555612b37565b82601f10612b0a57805160ff1916838001178555612b37565b82800160010185558215612b37579182015b82811115612b37578251825591602001919060010190612b1c565b50612b43929150612b47565b5090565b5b80821115612b435760008155600101612b48565b6001600160e01b031981168114610c6d57600080fd5b600060208284031215612b8457600080fd5b8135611bb481612b5c565b60005b83811015612baa578181015183820152602001612b92565b83811115611a285750506000910152565b60008151808452612bd3816020860160208601612b8f565b601f01601f19169290920160200192915050565b602081526000611bb46020830184612bbb565b600060208284031215612c0c57600080fd5b5035919050565b80356001600160a01b0381168114612c2a57600080fd5b919050565b60008060408385031215612c4257600080fd5b612c4b83612c13565b946020939093013593505050565b60008060408385031215612c6c57600080fd5b82359150612c7c60208401612c13565b90509250929050565b600080600060608486031215612c9a57600080fd5b612ca384612c13565b9250612cb160208501612c13565b9150604084013590509250925092565b803560048110612c2a57600080fd5b600080600060608486031215612ce557600080fd5b612ca384612cc1565b600060208284031215612d0057600080fd5b611bb482612cc1565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115612d3a57612d3a612d09565b604051601f8501601f19908116603f01168101908282118183101715612d6257612d62612d09565b81604052809350858152868686011115612d7b57600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215612da757600080fd5b813567ffffffffffffffff811115612dbe57600080fd5b8201601f81018413612dcf57600080fd5b61207184823560208401612d1f565b600060208284031215612df057600080fd5b611bb482612c13565b60008060408385031215612e0c57600080fd5b612c4b83612cc1565b634e487b7160e01b600052602160045260246000fd5b6020810160048310612e4d57634e487b7160e01b600052602160045260246000fd5b91905290565b60008060408385031215612e6657600080fd5b612e6f83612c13565b915060208301358015158114612e8457600080fd5b809150509250929050565b600080600080600060808688031215612ea757600080fd5b612eb086612cc1565b94506020860135935060408601359250606086013567ffffffffffffffff80821115612edb57600080fd5b818801915088601f830112612eef57600080fd5b813581811115612efe57600080fd5b8960208260051b8501011115612f1357600080fd5b9699959850939650602001949392505050565b60008060008060808587031215612f3c57600080fd5b612f4585612c13565b9350612f5360208601612c13565b925060408501359150606085013567ffffffffffffffff811115612f7657600080fd5b8501601f81018713612f8757600080fd5b612f9687823560208401612d1f565b91505092959194509250565b60008060408385031215612fb557600080fd5b50508035926020909101359150565b60008060408385031215612fd757600080fd5b612fe083612c13565b9150612c7c60208401612c13565b600181811c9082168061300257607f821691505b60208210811415610b7957634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000821982111561304c5761304c613023565b500190565b600060001982141561306557613065613023565b5060010190565b600081600019048311821515161561308657613086613023565b500290565b634e487b7160e01b600052603260045260246000fd5b600083516130b3818460208801612b8f565b8351908301906130c7818360208801612b8f565b01949350505050565b6000828210156130e2576130e2613023565b500390565b634e487b7160e01b600052601260045260246000fd5b60008261310c5761310c6130e7565b500490565b600082613120576131206130e7565b500690565b60006001600160a01b038087168352808616602084015250836040830152608060608301526131576080830184612bbb565b9695505050505050565b60006020828403121561317357600080fd5b8151611bb481612b5c56fe4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572a2646970667358221220165ead32b8fea31d8fdc265dc0de9fb64291978a37e1feb2e442783f84b0815264736f6c634300080a0033

Deployed Bytecode

0x6080604052600436106102d15760003560e01c806370a0823111610179578063b8718f80116100d6578063d46b3e201161008a578063e268e4d311610064578063e268e4d3146107dd578063e985e9c5146107fd578063f2fde38b1461084657600080fd5b8063d46b3e201461072b578063d910c4181461074b578063dd3acd7c146107bd57600080fd5b8063c15b38d6116100bb578063c15b38d6146106d6578063c87b56dd146106f6578063cef216e21461071657600080fd5b8063b8718f80146106a3578063b88d4fde146106b657600080fd5b80638da5cb5b1161012d578063966ff65011610112578063966ff6501461065b578063a22cb46514610670578063adf2cb3d1461069057600080fd5b80638da5cb5b1461062857806395d89b411461064657600080fd5b806374f586b11161015e57806374f586b1146105bb57806378ec4f9b146105db57806385bdab73146105fb57600080fd5b806370a0823114610586578063715018a6146105a657600080fd5b806342842e0e11610232578063502376b4116101e657806356f8f78c116101c057806356f8f78c146105315780636352211e1461054657806365b244141461056657600080fd5b8063502376b4146104d157806353a631c1146104f157806355f804b31461051157600080fd5b8063453c231011610217578063453c23101461049057806346bdee17146104a657806347af2911146104bb57600080fd5b806342842e0e1461045057806342966c681461047057600080fd5b8063183248041161028957806331ffd6f11161026e57806331ffd6f11461040257806333bc1c5c146104215780633ccfd60b1461043b57600080fd5b806318324804146103aa57806323b872dd146103e257600080fd5b8063081812fc116102ba578063081812fc1461032d578063095ea7b31461036557806318160ddd1461038757600080fd5b806301ffc9a7146102d657806306fdde031461030b575b600080fd5b3480156102e257600080fd5b506102f66102f1366004612b72565b610866565b60405190151581526020015b60405180910390f35b34801561031757600080fd5b506103206108b8565b6040516103029190612be7565b34801561033957600080fd5b5061034d610348366004612bfa565b61094a565b6040516001600160a01b039091168152602001610302565b34801561037157600080fd5b50610385610380366004612c2f565b6109e4565b005b34801561039357600080fd5b5061039c610afa565b604051908152602001610302565b3480156103b657600080fd5b5061039c6103c5366004612c59565b600960209081526000928352604080842090915290825290205481565b3480156103ee57600080fd5b506103856103fd366004612c85565b610b7f565b34801561040e57600080fd5b50600e546102f690610100900460ff1681565b34801561042d57600080fd5b50600e546102f69060ff1681565b34801561044757600080fd5b50610385610c06565b34801561045c57600080fd5b5061038561046b366004612c85565b610c70565b34801561047c57600080fd5b5061038561048b366004612bfa565b610c8b565b34801561049c57600080fd5b5061039c60075481565b3480156104b257600080fd5b5061039c600481565b3480156104c757600080fd5b5061039c60085481565b3480156104dd57600080fd5b506103856104ec366004612cd0565b610d62565b3480156104fd57600080fd5b5061039c61050c366004612cee565b610e7c565b34801561051d57600080fd5b5061038561052c366004612d95565b610ebe565b34801561053d57600080fd5b50610385610f19565b34801561055257600080fd5b5061034d610561366004612bfa565b610f75565b34801561057257600080fd5b50610385610581366004612bfa565b611000565b34801561059257600080fd5b5061039c6105a1366004612dde565b61104d565b3480156105b257600080fd5b506103856110e7565b3480156105c757600080fd5b5061039c6105d6366004612bfa565b61113b565b3480156105e757600080fd5b506103856105f6366004612df9565b611152565b34801561060757600080fd5b5061061b610616366004612bfa565b6111d7565b6040516103029190612e2b565b34801561063457600080fd5b506006546001600160a01b031661034d565b34801561065257600080fd5b5061032061131b565b34801561066757600080fd5b5061039c61132a565b34801561067c57600080fd5b5061038561068b366004612e53565b6113a9565b61038561069e366004612df9565b6113b4565b6103856106b1366004612e8f565b611619565b3480156106c257600080fd5b506103856106d1366004612f26565b6119a0565b3480156106e257600080fd5b506103856106f1366004612fa2565b611a2e565b34801561070257600080fd5b50610320610711366004612bfa565b611ad2565b34801561072257600080fd5b50610385611bbb565b34801561073757600080fd5b50610385610746366004612df9565b611c20565b34801561075757600080fd5b50610795610766366004612cee565b600d60205260009081526040902080546001820154600283015460038401546004909401549293919290919085565b604080519586526020860194909452928401919091526060830152608082015260a001610302565b3480156107c957600080fd5b5061039c6107d8366004612cee565b611db8565b3480156107e957600080fd5b506103856107f8366004612bfa565b611dfa565b34801561080957600080fd5b506102f6610818366004612fc4565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561085257600080fd5b50610385610861366004612dde565b611e47565b60006001600160e01b031982166380ac58cd60e01b148061089757506001600160e01b03198216635b5e139f60e01b145b806108b257506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600080546108c790612fee565b80601f01602080910402602001604051908101604052809291908181526020018280546108f390612fee565b80156109405780601f1061091557610100808354040283529160200191610940565b820191906000526020600020905b81548152906001019060200180831161092357829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166109c85760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006109ef82610f75565b9050806001600160a01b0316836001600160a01b03161415610a5d5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016109bf565b336001600160a01b0382161480610a795750610a798133610818565b610aeb5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016109bf565b610af58383611f14565b505050565b60008060005b6004811015610b79576000816003811115610b1d57610b1d612e15565b9050600d6000826003811115610b3557610b35612e15565b6003811115610b4657610b46612e15565b81526020019081526020016000206003015483610b639190613039565b9250508080610b7190613051565b915050610b00565b50919050565b610b893382611f82565b610bfb5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656400000000000000000000000000000060648201526084016109bf565b610af5838383612079565b6006546001600160a01b03163314610c4e5760405162461bcd60e51b8152602060048201819052602482015260008051602061317f83398151915260448201526064016109bf565b47610c6d7355b80cb7e2ea8780b29bb20d08f70a148ea7c12a8261222d565b50565b610af5838383604051806020016040528060008152506119a0565b610c953382611f82565b610d075760405162461bcd60e51b815260206004820152602d60248201527f537175697368696c616e643a2063616c6c6572206973206e6f74206f776e657260448201527f206e6f7220617070726f7665640000000000000000000000000000000000000060648201526084016109bf565b6000610d12826111d7565b9050600d6000826003811115610d2a57610d2a612e15565b6003811115610d3b57610d3b612e15565b8152602081019190915260400160002060040180546001019055610d5e82612346565b5050565b6006546001600160a01b03163314610daa5760405162461bcd60e51b8152602060048201819052602482015260008051602061317f83398151915260448201526064016109bf565b8281600d6000836003811115610dc257610dc2612e15565b6003811115610dd357610dd3612e15565b81526020019081526020016000206001015481600d6000856003811115610dfc57610dfc612e15565b6003811115610e0d57610e0d612e15565b815260200190815260200160002060030154610e299190613039565b1115610e6a5760405162461bcd60e51b815260206004820152601060248201526f53757270617373657320737570706c7960801b60448201526064016109bf565b610e758585856123e1565b5050505050565b6000600d6000836003811115610e9457610e94612e15565b6003811115610ea557610ea5612e15565b8152602001908152602001600020600301549050919050565b6006546001600160a01b03163314610f065760405162461bcd60e51b8152602060048201819052602482015260008051602061317f83398151915260448201526064016109bf565b8051610d5e90600f906020840190612ac3565b6006546001600160a01b03163314610f615760405162461bcd60e51b8152602060048201819052602482015260008051602061317f83398151915260448201526064016109bf565b600e805460ff19811660ff90911615179055565b6000818152600260205260408120546001600160a01b0316806108b25760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e000000000000000000000000000000000000000000000060648201526084016109bf565b6006546001600160a01b031633146110485760405162461bcd60e51b8152602060048201819052602482015260008051602061317f83398151915260448201526064016109bf565b600855565b60006001600160a01b0382166110cb5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f20616464726573730000000000000000000000000000000000000000000060648201526084016109bf565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b0316331461112f5760405162461bcd60e51b8152602060048201819052602482015260008051602061317f83398151915260448201526064016109bf565b61113960006124d4565b565b600a816003811061114b57600080fd5b0154905081565b6006546001600160a01b0316331461119a5760405162461bcd60e51b8152602060048201819052602482015260008051602061317f83398151915260448201526064016109bf565b80600d60008460038111156111b1576111b1612e15565b60038111156111c2576111c2612e15565b81526020810191909152604001600020555050565b6000805b60048110156112ac5760008160038111156111f8576111f8612e15565b90506000600d600083600381111561121257611212612e15565b600381111561122357611223612e15565b815260200190815260200160002060020154905080851015801561128a5750600d600083600381111561125857611258612e15565b600381111561126957611269612e15565b815260200190815260200160002060030154816112869190613039565b8511155b1561129757509392505050565b505080806112a490613051565b9150506111db565b5060405162461bcd60e51b815260206004820152603260248201527f537175697368696c616e643a206c616e642073697a6520717565727920666f7260448201527f206e6f6e6578697374656e7420746f6b656e000000000000000000000000000060648201526084016109bf565b6060600180546108c790612fee565b60008060005b6004811015610b7957600081600381111561134d5761134d612e15565b9050600d600082600381111561136557611365612e15565b600381111561137657611376612e15565b815260200190815260200160002060040154836113939190613039565b92505080806113a190613051565b915050611330565b610d5e338383612526565b600e5460ff166114065760405162461bcd60e51b815260206004820152601760248201527f5075626c69632073616c65206e6f74207374617274656400000000000000000060448201526064016109bf565b8181600d600083600381111561141e5761141e612e15565b600381111561142f5761142f612e15565b81526020019081526020016000206001015481600d600085600381111561145857611458612e15565b600381111561146957611469612e15565b8152602001908152602001600020600301546114859190613039565b11156114c65760405162461bcd60e51b815260206004820152601060248201526f53757270617373657320737570706c7960801b60448201526064016109bf565b838380600d60008460038111156114df576114df612e15565b60038111156114f0576114f0612e15565b81526020019081526020016000206000015461150c919061306c565b34101561155b5760405162461bcd60e51b815260206004820152601160248201527f496e737566666963656e742066756e647300000000000000000000000000000060448201526064016109bf565b8460008111801561159557506007546008546000908152600960209081526040808320338452909152902054611592908390613039565b11155b6115e15760405162461bcd60e51b815260206004820152601860248201527f4d696e74696e672061626f766520616c6c6f636174696f6e000000000000000060448201526064016109bf565b6008546000908152600960209081526040808320338085529252909120805488019055611610908890886123e1565b50505050505050565b600e54610100900460ff166116705760405162461bcd60e51b815260206004820152601a60248201527f57686974656c6973742073616c65206e6f74207374617274656400000000000060448201526064016109bf565b8360028111156116b15760405162461bcd60e51b815260206004820152600c60248201526b24b73b30b634b2103a34b2b960a11b60448201526064016109bf565b8282600a87600381106116c6576116c661308b565b015461173a838380806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506040516bffffffffffffffffffffffff193360601b1660208201528592506034019050604051602081830303815290604052805190602001206125f5565b6117865760405162461bcd60e51b815260206004820152601360248201527f41646472657373206e6f7420616c6c6f7765640000000000000000000000000060448201526064016109bf565b8887600d600083600381111561179e5761179e612e15565b60038111156117af576117af612e15565b81526020019081526020016000206001015481600d60008560038111156117d8576117d8612e15565b60038111156117e9576117e9612e15565b8152602001908152602001600020600301546118059190613039565b11156118465760405162461bcd60e51b815260206004820152601060248201526f53757270617373657320737570706c7960801b60448201526064016109bf565b886000811180156118805750600754600854600090815260096020908152604080832033845290915290205461187d908390613039565b11155b6118cc5760405162461bcd60e51b815260206004820152601860248201527f4d696e74696e672061626f766520616c6c6f636174696f6e000000000000000060448201526064016109bf565b8b8a80600d60008460038111156118e5576118e5612e15565b60038111156118f6576118f6612e15565b815260200190815260200160002060000154611912919061306c565b3410156119615760405162461bcd60e51b815260206004820152601160248201527f496e737566666963656e742066756e647300000000000000000000000000000060448201526064016109bf565b600854600090815260096020908152604080832033808552925290912080548e019055611990908f908e6123e1565b5050505050505050505050505050565b6119aa3383611f82565b611a1c5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656400000000000000000000000000000060648201526084016109bf565b611a288484848461260b565b50505050565b6006546001600160a01b03163314611a765760405162461bcd60e51b8152602060048201819052602482015260008051602061317f83398151915260448201526064016109bf565b816002811115611ab75760405162461bcd60e51b815260206004820152600c60248201526b24b73b30b634b2103a34b2b960a11b60448201526064016109bf565b81600a8460038110611acb57611acb61308b565b0155505050565b6000818152600260205260409020546060906001600160a01b0316611b5f5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e000000000000000000000000000000000060648201526084016109bf565b6000611b69612694565b90506000815111611b895760405180602001604052806000815250611bb4565b80611b93846126a3565b604051602001611ba49291906130a1565b6040516020818303038152906040525b9392505050565b6006546001600160a01b03163314611c035760405162461bcd60e51b8152602060048201819052602482015260008051602061317f83398151915260448201526064016109bf565b600e805461ff001981166101009182900460ff1615909102179055565b6006546001600160a01b03163314611c685760405162461bcd60e51b8152602060048201819052602482015260008051602061317f83398151915260448201526064016109bf565b600d6000836003811115611c7e57611c7e612e15565b6003811115611c8f57611c8f612e15565b815260200190815260200160002060010154811115611cf05760405162461bcd60e51b815260206004820152601660248201527f43616e6e6f7420696e63726561736520737570706c790000000000000000000060448201526064016109bf565b600d6000836003811115611d0657611d06612e15565b6003811115611d1757611d17612e15565b815260200190815260200160002060030154811015611d785760405162461bcd60e51b815260206004820152601360248201527f42656c6f77206d696e74656420737570706c790000000000000000000000000060448201526064016109bf565b80600d6000846003811115611d8f57611d8f612e15565b6003811115611da057611da0612e15565b81526020810191909152604001600020600101555050565b6000600d6000836003811115611dd057611dd0612e15565b6003811115611de157611de1612e15565b8152602001908152602001600020600401549050919050565b6006546001600160a01b03163314611e425760405162461bcd60e51b8152602060048201819052602482015260008051602061317f83398151915260448201526064016109bf565b600755565b6006546001600160a01b03163314611e8f5760405162461bcd60e51b8152602060048201819052602482015260008051602061317f83398151915260448201526064016109bf565b6001600160a01b038116611f0b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016109bf565b610c6d816124d4565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611f4982610f75565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b0316611ffb5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016109bf565b600061200683610f75565b9050806001600160a01b0316846001600160a01b0316148061204d57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b806120715750836001600160a01b03166120668461094a565b6001600160a01b0316145b949350505050565b826001600160a01b031661208c82610f75565b6001600160a01b0316146121085760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201527f6f776e657200000000000000000000000000000000000000000000000000000060648201526084016109bf565b6001600160a01b03821661216a5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016109bf565b612175600082611f14565b6001600160a01b038316600090815260036020526040812080546001929061219e9084906130d0565b90915550506001600160a01b03821660009081526003602052604081208054600192906121cc908490613039565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b8047101561227d5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e636500000060448201526064016109bf565b6000826001600160a01b03168260405160006040518083038185875af1925050503d80600081146122ca576040519150601f19603f3d011682016040523d82523d6000602084013e6122cf565b606091505b5050905080610af55760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d6179206861766520726576657274656400000000000060648201526084016109bf565b600061235182610f75565b905061235e600083611f14565b6001600160a01b03811660009081526003602052604081208054600192906123879084906130d0565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b6000600d60008560038111156123f9576123f9612e15565b600381111561240a5761240a612e15565b815260200190815260200160002060020154600d600086600381111561243257612432612e15565b600381111561244357612443612e15565b81526020019081526020016000206003015461245f9190613039565b905081600d600086600381111561247857612478612e15565b600381111561248957612489612e15565b81526020810191909152604001600090812060030180549092019091555b82811015610e75576124c2846124bd8385613039565b6127b9565b806124cc81613051565b9150506124a7565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b031614156125885760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016109bf565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b60008261260285846128fb565b14949350505050565b612616848484612079565b6126228484848461296f565b611a285760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e746572000000000000000000000000000060648201526084016109bf565b6060600f80546108c790612fee565b6060816126c75750506040805180820190915260018152600360fc1b602082015290565b8160005b81156126f157806126db81613051565b91506126ea9050600a836130fd565b91506126cb565b60008167ffffffffffffffff81111561270c5761270c612d09565b6040519080825280601f01601f191660200182016040528015612736576020820181803683370190505b5090505b84156120715761274b6001836130d0565b9150612758600a86613111565b612763906030613039565b60f81b8183815181106127785761277861308b565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506127b2600a866130fd565b945061273a565b6001600160a01b03821661280f5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016109bf565b6000818152600260205260409020546001600160a01b0316156128745760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016109bf565b6001600160a01b038216600090815260036020526040812080546001929061289d908490613039565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600081815b845181101561296757600085828151811061291d5761291d61308b565b602002602001015190508083116129435760008381526020829052604090209250612954565b600081815260208490526040902092505b508061295f81613051565b915050612900565b509392505050565b60006001600160a01b0384163b15612ab857604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906129b3903390899088908890600401613125565b6020604051808303816000875af19250505080156129ee575060408051601f3d908101601f191682019092526129eb91810190613161565b60015b612a9e573d808015612a1c576040519150601f19603f3d011682016040523d82523d6000602084013e612a21565b606091505b508051612a965760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e746572000000000000000000000000000060648201526084016109bf565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050612071565b506001949350505050565b828054612acf90612fee565b90600052602060002090601f016020900481019282612af15760008555612b37565b82601f10612b0a57805160ff1916838001178555612b37565b82800160010185558215612b37579182015b82811115612b37578251825591602001919060010190612b1c565b50612b43929150612b47565b5090565b5b80821115612b435760008155600101612b48565b6001600160e01b031981168114610c6d57600080fd5b600060208284031215612b8457600080fd5b8135611bb481612b5c565b60005b83811015612baa578181015183820152602001612b92565b83811115611a285750506000910152565b60008151808452612bd3816020860160208601612b8f565b601f01601f19169290920160200192915050565b602081526000611bb46020830184612bbb565b600060208284031215612c0c57600080fd5b5035919050565b80356001600160a01b0381168114612c2a57600080fd5b919050565b60008060408385031215612c4257600080fd5b612c4b83612c13565b946020939093013593505050565b60008060408385031215612c6c57600080fd5b82359150612c7c60208401612c13565b90509250929050565b600080600060608486031215612c9a57600080fd5b612ca384612c13565b9250612cb160208501612c13565b9150604084013590509250925092565b803560048110612c2a57600080fd5b600080600060608486031215612ce557600080fd5b612ca384612cc1565b600060208284031215612d0057600080fd5b611bb482612cc1565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115612d3a57612d3a612d09565b604051601f8501601f19908116603f01168101908282118183101715612d6257612d62612d09565b81604052809350858152868686011115612d7b57600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215612da757600080fd5b813567ffffffffffffffff811115612dbe57600080fd5b8201601f81018413612dcf57600080fd5b61207184823560208401612d1f565b600060208284031215612df057600080fd5b611bb482612c13565b60008060408385031215612e0c57600080fd5b612c4b83612cc1565b634e487b7160e01b600052602160045260246000fd5b6020810160048310612e4d57634e487b7160e01b600052602160045260246000fd5b91905290565b60008060408385031215612e6657600080fd5b612e6f83612c13565b915060208301358015158114612e8457600080fd5b809150509250929050565b600080600080600060808688031215612ea757600080fd5b612eb086612cc1565b94506020860135935060408601359250606086013567ffffffffffffffff80821115612edb57600080fd5b818801915088601f830112612eef57600080fd5b813581811115612efe57600080fd5b8960208260051b8501011115612f1357600080fd5b9699959850939650602001949392505050565b60008060008060808587031215612f3c57600080fd5b612f4585612c13565b9350612f5360208601612c13565b925060408501359150606085013567ffffffffffffffff811115612f7657600080fd5b8501601f81018713612f8757600080fd5b612f9687823560208401612d1f565b91505092959194509250565b60008060408385031215612fb557600080fd5b50508035926020909101359150565b60008060408385031215612fd757600080fd5b612fe083612c13565b9150612c7c60208401612c13565b600181811c9082168061300257607f821691505b60208210811415610b7957634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000821982111561304c5761304c613023565b500190565b600060001982141561306557613065613023565b5060010190565b600081600019048311821515161561308657613086613023565b500290565b634e487b7160e01b600052603260045260246000fd5b600083516130b3818460208801612b8f565b8351908301906130c7818360208801612b8f565b01949350505050565b6000828210156130e2576130e2613023565b500390565b634e487b7160e01b600052601260045260246000fd5b60008261310c5761310c6130e7565b500490565b600082613120576131206130e7565b500690565b60006001600160a01b038087168352808616602084015250836040830152608060608301526131576080830184612bbb565b9695505050505050565b60006020828403121561317357600080fd5b8151611bb481612b5c56fe4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572a2646970667358221220165ead32b8fea31d8fdc265dc0de9fb64291978a37e1feb2e442783f84b0815264736f6c634300080a0033

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.