Contract 0xfc1e590be1acd108148812618c411c9a6f814ac1

 
 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x2c9e6f308f3668688c54612480b5c13e56afa2b0b14a80ef9ae72a9491b1f3d9Set Approval For...291212362022-06-03 16:21:2429 days 7 hrs ago0x3805d1f0acd90867ea6700ce086145f31058b9ba IN  0xfc1e590be1acd108148812618c411c9a6f814ac10 MATIC0.004445161018 94.971926475
0x8b6c4b1bc5e764ae93e21d58d469470d4605c297307478677466c87f75ceba03Mint291098222022-06-03 9:42:0029 days 13 hrs ago0x2918ceda641716fd6bda3ccf691c3b54d4c87b6e IN  0xfc1e590be1acd108148812618c411c9a6f814ac10 MATIC0.024578463929 59.66732762
0x1e36398f862f8091cbc4109f7efe21769a3113da61a5c293ea6e8e465686570dMint290696002022-06-02 10:09:1330 days 13 hrs ago0x42f7c5275ac4372156027d939843c9c42523df2e IN  0xfc1e590be1acd108148812618c411c9a6f814ac10 MATIC0.006544944002 36.000000016
0x5b5f81c89c89ddccb9cee3d37e2381fe2591c86ebc6b2279d1aa393d0b88a61cSafe Transfer Fr...289630472022-05-30 18:57:0133 days 4 hrs ago0xd4b2271f15d4826708088a40316dee6abbc519d6 IN  0xfc1e590be1acd108148812618c411c9a6f814ac10 MATIC0.003057515386 34.919487276
0x961a6d34aba8ea1d5cedf4a4f8d53f40a7af9d9eb7d2ee4fef66eca18ba96aeaMint289617242022-05-30 18:05:0333 days 5 hrs ago0x725d2a106aefae6b6a0f6de11bc14d41433c8111 IN  0xfc1e590be1acd108148812618c411c9a6f814ac10 MATIC0.043824960034 36.000000028
0x7186635f4b36c3bb8b3ff44e7d2fc9118e7aea4edd6f6a2dd4640a1f1e0d6111Safe Transfer Fr...289444012022-05-30 7:45:5233 days 15 hrs ago0x3e2b08bfce19c920458cb91f36f1cd60043f12ea IN  0xfc1e590be1acd108148812618c411c9a6f814ac10 MATIC0.002995770007 30.000000075
0x56bbff28f1216d8109f72891113ac5b7f868d95b7384d437471d3818e409c64fMint289365782022-05-30 3:02:2533 days 20 hrs ago0x78866420eb0f6c0603259a4d3db93d9067a42567 IN  0xfc1e590be1acd108148812618c411c9a6f814ac10 MATIC0.006645744006 36.000000034
0x189d0c0cc96c170bd4e943fcb7af8996ca003b89e59ad1beabc29a07aafbb2deMint288167322022-05-27 3:32:0536 days 20 hrs ago0x87ae3929744864734cd009ad3be47d97fccb54d5 IN  0xfc1e590be1acd108148812618c411c9a6f814ac10 MATIC0.007613359266 41.876742349
0x36ed10b0ac3d9fb3b2097ffe6bc5b78a21b50f035b7f8492fd59410036723907Safe Transfer Fr...287119062022-05-24 12:39:4739 days 11 hrs ago0x733f54430423b5474019b130bd8710e2f09fe437 IN  0xfc1e590be1acd108148812618c411c9a6f814ac10 MATIC0.00309999584 31.040000006
0x8a76fcd370dfb9a2610dd43fbe834f089d07a2a721347f6d14ea3ed890763d51Mint286642022022-05-23 8:41:3740 days 14 hrs ago0x0771b6deb6cd5b3b1c0e36b2673a41f5c50cedbc IN  0xfc1e590be1acd108148812618c411c9a6f814ac10 MATIC0.00665342947 36.0416322
0x9d841446ff5ed2ba23e78d1410291c329c6ffc68d43cdaa1cfcd9ede2040b6d7Mint286640752022-05-23 8:37:1540 days 15 hrs ago0x0771b6deb6cd5b3b1c0e36b2673a41f5c50cedbc IN  0xfc1e590be1acd108148812618c411c9a6f814ac10 MATIC0.006725512841 36.04163277
0xea0c0af3febe3dc7e85f72c266e17ecf276e8a33137d1a43c76ab32660606c58Safe Transfer Fr...286391082022-05-22 18:05:4941 days 5 hrs ago0x864298c823925036dae6976e03d2b2a59053f12c IN  0xfc1e590be1acd108148812618c411c9a6f814ac10 MATIC0.003006995965 30.108800004
0xc9c42e0de0d7904cab0c56c2ba647f64a028fa869b131382ac5e0ca84acde398Mint285876392022-05-21 11:58:1942 days 11 hrs ago0x9080196182f77b89bb5b0eee3ddb48cfa716c4c3 IN  0xfc1e590be1acd108148812618c411c9a6f814ac10 MATIC0.0526987 100
0x11b4d80b4e08a4469add52eaadacedf976facbc9f1dff1127e4e4d43c487f6fcSet Approval For...285666362022-05-20 23:36:5543 days 4 mins ago0xe6217932530ddbafa18b086fbc8b6637d38e2f65 IN  0xfc1e590be1acd108148812618c411c9a6f814ac10 MATIC0.001480739409 31.636351025
0x86abe6bc760274a2da809c9abfce21fe2113ccb8b53ffd1736298136cd707d60Mint285270982022-05-19 23:47:3243 days 23 hrs ago0x3372d38a7e703601d27a7d2e0e96f75b288e7643 IN  0xfc1e590be1acd108148812618c411c9a6f814ac10 MATIC0.019151770314 36.149943873
0x9d9f65ac93293bd7aa8c97ba979ce52f4b5543d314e118e6ccdf7cf632f37ef6Mint285268322022-05-19 23:38:2444 days 2 mins ago0x3372d38a7e703601d27a7d2e0e96f75b288e7643 IN  0xfc1e590be1acd108148812618c411c9a6f814ac10 MATIC0.014998788923 36.165625231
0xd0b50e74317c7ffd31609c81845c56d68d7e3d7bec22b5bafcfb555a0af16ce0Mint285267602022-05-19 23:35:5644 days 5 mins ago0x3372d38a7e703601d27a7d2e0e96f75b288e7643 IN  0xfc1e590be1acd108148812618c411c9a6f814ac10 MATIC0.007294751312 36.165625432
0x187e8e1431a60258db55415a8f7f77d6c1befe48c619b1ba8e1c94c89104fa45Withdraw All ERC...284740882022-05-18 16:09:2645 days 7 hrs ago0xf2b2aa3f45ed74a27b1e0e6d7e584714e4ee0c9c IN  0xfc1e590be1acd108148812618c411c9a6f814ac10 MATIC0.012943820283233.529151555
0x462646fb4eafd2a0c4e65a768de7923726c47d63552d5054a86bda612586406bMint284685322022-05-18 12:36:1445 days 11 hrs ago0x10157b739b4bf3a31cf2c251cf3fd414489b046d IN  0xfc1e590be1acd108148812618c411c9a6f814ac10 MATIC0.006547490172 36.01400504
0x0896a65f45a8f24bb47f572ab612924f1490d95079118b2fe329fd6de2009a27Mint284622262022-05-18 8:46:3545 days 14 hrs ago0x78866420eb0f6c0603259a4d3db93d9067a42567 IN  0xfc1e590be1acd108148812618c411c9a6f814ac10 MATIC0.010691224467 36.014001298
0x80da38aac670f780181889328f6fbf300b0a505779f3c9196f44248df449aab7Mint284411672022-05-17 19:55:3146 days 3 hrs ago0xbbab2ca3df54726d3f484afff85708c0075a4400 IN  0xfc1e590be1acd108148812618c411c9a6f814ac10 MATIC0.010712004287 36.08399931
0x766c54ba31f581514a2a378d0f8047d661f2bc262270a50ac7cd77c6149bb236Safe Transfer Fr...284349882022-05-17 16:09:3646 days 7 hrs ago0x3e2b08bfce19c920458cb91f36f1cd60043f12ea IN  0xfc1e590be1acd108148812618c411c9a6f814ac10 MATIC0.008284495394 82.961930265
0x9c9c2677e074d0eda63dc45367fa91a5c7ffeeb7f1111ac6835f52a805ba08b3Mint284041062022-05-16 21:39:4947 days 2 hrs ago0x2a59f0394f8495831b4b04b12cdeaa60adf9ca3e IN  0xfc1e590be1acd108148812618c411c9a6f814ac10 MATIC0.006704533312 36.87780969
0x56471dacaa1ec29b076ab7d6030b8782030c55438fd9d4f70ab5e0cb4b0bd17eMint283971042022-05-16 17:26:1247 days 6 hrs ago0xe2a5f5258eab072385f25f12113c42f0ca82bed7 IN  0xfc1e590be1acd108148812618c411c9a6f814ac10 MATIC0.019797972267 66.69060229
0xac434a403dd874e1d42d5f27be00028b40fc10862623ebe1c829efbb1031fdd3Safe Transfer Fr...283856192022-05-16 10:34:0447 days 13 hrs ago0x3e2b08bfce19c920458cb91f36f1cd60043f12ea IN  0xfc1e590be1acd108148812618c411c9a6f814ac10 MATIC0.003800669707 38.06036219
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
PlutoPeople

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 1 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity Standard Json-Input format)

File 1 of 19 : PlutoPeople.sol
// contracts/PlutoPeople.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.7;

//  ██████╗ ██╗     ██╗   ██╗████████╗ ██████╗ ██████╗ ███████╗ ██████╗ ██████╗ ██╗     ███████╗
//  ██╔══██╗██║     ██║   ██║╚══██╔══╝██╔═══██╗██╔══██╗██╔════╝██╔═══██╗██╔══██╗██║     ██╔════╝
//  ██████╔╝██║     ██║   ██║   ██║   ██║   ██║██████╔╝█████╗  ██║   ██║██████╔╝██║     █████╗
//  ██╔═══╝ ██║     ██║   ██║   ██║   ██║   ██║██╔═══╝ ██╔══╝  ██║   ██║██╔═══╝ ██║     ██╔══╝
//  ██║     ███████╗╚██████╔╝   ██║   ╚██████╔╝██║     ███████╗╚██████╔╝██║     ███████╗███████╗
//  ╚═╝     ╚══════╝ ╚═════╝    ╚═╝    ╚═════╝ ╚═╝     ╚══════╝ ╚═════╝ ╚═╝     ╚══════╝╚══════╝

import '@openzeppelin/contracts/access/Ownable.sol';
import '@openzeppelin/contracts/interfaces/IERC165.sol';
import '@openzeppelin/contracts/interfaces/IERC2981.sol';
import '@openzeppelin/contracts/security/ReentrancyGuard.sol';
import '@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol';
import '@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol';
import '@openzeppelin/contracts/utils/Counters.sol';

interface IRenderer {
    function tokenURI(uint256 tokenId) external view returns (string memory);
}

contract PlutoPeople is ERC721Enumerable, IERC2981, ReentrancyGuard, Ownable {
    using SafeERC20 for IERC20;
    using Strings for uint256;
    using Counters for Counters.Counter;

    event PriceSet(uint256 newPrice);
    event BaseURISet(string newBaseURI);
    event ProvenanceHashSet(string newProvenanceHash);
    event SaleStateSet(SaleState newSaleState);

    enum SaleState {
        Inactive,
        Presale,
        General,
        Reserve
    }

    Counters.Counter private mintCounter;

    string private _baseTokenURI;
    uint256 public immutable MAX_TOKENS;
    uint256 public immutable MAX_TOKENS_PRESALE;
    uint256 public immutable MAX_TOKENS_RESERVE;
    uint256 public immutable PRESALE_ALLOWANCE;
    uint256 public constant MAX_TOKENS_PER_TX = 10;
    uint256 public constant PRICE = 0.055 ether;
    uint256 public constant ROYALTY_PERCENTUAL = 5;
    string public PLUTO_PROVENANCE_HASH = '';
    IRenderer public renderer;

    SaleState public saleState;

    mapping(address => uint256) public allowlist;
    mapping(SaleState => uint256) public saleCount;

    IERC20 public weth;

    modifier withPositiveMintCount(uint256 _tokenCount) {
        require(_tokenCount > 0, 'PP: _count is 0');
        _;
    }

    modifier withMintCountWithinTxLimit(uint256 _tokenCount) {
        require(_tokenCount <= MAX_TOKENS_PER_TX, 'PP: exceeds MAX_TOKENS_PER_TX');
        _;
    }

    modifier withTokensRemaining(uint256 _tokenCount) {
        require(
            (mintCounter.current() + _tokenCount) <= MAX_TOKENS,
            'PP: exceeds MAX_TOKENS'
        );
        _;
    }

    modifier withReserveTokensRemaining(uint256 _tokenCount) {
        require(
            (saleCount[SaleState.Reserve] + _tokenCount) <= MAX_TOKENS_RESERVE,
            'PP: exceeds MAX_TOKENS_RESERVE'
        );
        _;
    }

    modifier withExistingToken(uint256 _tokenId) {
        require(_exists(_tokenId), 'PP: token not found');
        _;
    }

    modifier withSaleActive() {
        require(saleState != SaleState.Inactive, 'PP: sale not active');
        _;
    }

    constructor(
        uint256 _maxTokens,
        uint256 _maxTokensReserve,
        uint256 _maxTokensPresale,
        string memory _initialBaseURI,
        uint256 _presaleAllowance,
        address _weth
    ) ERC721('PlutoPeople', 'PLUTO') {
        MAX_TOKENS = _maxTokens;
        MAX_TOKENS_RESERVE = _maxTokensReserve;
        MAX_TOKENS_PRESALE = _maxTokensPresale;
        PRESALE_ALLOWANCE = _presaleAllowance;
        _baseTokenURI = _initialBaseURI;
        saleState = SaleState.Inactive;
        weth = IERC20(_weth);
    }

    function burn(uint256 tokenId) external virtual {
        require(
            _isApprovedOrOwner(_msgSender(), tokenId),
            'ERC721: caller is not owner nor approved'
        );
        _burn(tokenId);
    }

    function tokenURI(uint256 _tokenId)
        public
        view
        override(ERC721)
        withExistingToken(_tokenId)
        returns (string memory)
    {
        if (address(renderer) != address(0)) {
            return renderer.tokenURI(_tokenId);
        }
        return string(abi.encodePacked(_baseTokenURI, _tokenId.toString()));
    }

    function mint(uint256 _count)
        external
        payable
        withPositiveMintCount(_count)
        withMintCountWithinTxLimit(_count)
        withTokensRemaining(_count)
        withSaleActive
        nonReentrant
    {
        // During the presale, we must guarantee that mints are within the
        // personal and global boundaries, and that addresses are within the
        // allowlist
        if (saleState == SaleState.Presale) {
            require(allowlist[_msgSender()] > 0, 'PP: not in allowlist');
            require(
                ((PRESALE_ALLOWANCE - allowlist[_msgSender()]) + _count) <=
                    PRESALE_ALLOWANCE,
                'PP: exceeds PRESALE_ALLOWANCE'
            );
            require(
                (saleCount[SaleState.Presale] + _count) <= MAX_TOKENS_PRESALE,
                'PP: exceeds MAX_TOKENS_PRESALE'
            );
        }

        // When someone is added to the presale allowlist, they have a
        // counter set to PRESALE_ALLOWANCE which we must deduct from
        // as they mint
        if (saleState == SaleState.Presale) {
            allowlist[_msgSender()] -= _count;
        }

        // We update the counter for the sale state
        saleCount[saleState] += _count;

        // Take payment
        uint256 amount = PRICE * _count;
        weth.safeTransferFrom(_msgSender(), address(this), amount);

        // Mint
        uint256 i;
        for (i = 0; i < _count; ++i) {
            _safeMint(_msgSender(), mintCounter.current());
            mintCounter.increment();
        }
    }

    function supportsInterface(bytes4 _interfaceId)
        public
        view
        override(ERC721Enumerable, IERC165)
        returns (bool)
    {
        return
            _interfaceId == type(IERC2981).interfaceId ||
            super.supportsInterface(_interfaceId);
    }

    function royaltyInfo(uint256, uint256 salePrice)
        external
        view
        override
        returns (address, uint256)
    {
        return (address(this), (salePrice * ROYALTY_PERCENTUAL) / 100);
    }

    function reserveTokens(address _to, uint256 _count)
        external
        onlyOwner
        withPositiveMintCount(_count)
        withTokensRemaining(_count)
        withReserveTokensRemaining(_count)
    {
        uint256 i;
        for (i = 0; i < _count; ++i) {
            _safeMint(_to, mintCounter.current());
            mintCounter.increment();
        }

        saleCount[SaleState.Reserve] += _count;
    }

    function setBaseURI(string memory newBaseURI) external onlyOwner {
        _baseTokenURI = newBaseURI;
        emit BaseURISet(newBaseURI);
    }

    function setProvenanceHash(string memory _provenanceHash) external onlyOwner {
        PLUTO_PROVENANCE_HASH = _provenanceHash;
        emit ProvenanceHashSet(PLUTO_PROVENANCE_HASH);
    }

    function setSaleState(SaleState _saleState) external onlyOwner {
        saleState = _saleState;
        emit SaleStateSet(saleState);
    }

    function withdrawAllERC20(IERC20 token) external onlyOwner {
        SafeERC20.safeTransfer(token, owner(), token.balanceOf(address(this)));
    }

    function withdrawAll() external onlyOwner {
        require(address(this).balance > 0, 'PP: Zero balance');
        (bool sent, ) = owner().call{value: address(this).balance}('');
        require(sent, 'PP: Failed to withdraw');
    }

    function addToAllowlist(address[] memory users) external onlyOwner {
        uint256 i;
        for (i = 0; i < users.length; ++i) {
            allowlist[users[i]] = PRESALE_ALLOWANCE;
        }
    }

    function removeFromAllowlist(address[] memory users) external onlyOwner {
        uint256 i;
        for (i = 0; i < users.length; ++i) {
            allowlist[users[i]] = 0;
        }
    }
}

File 2 of 19 : IERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[EIP].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}

File 3 of 19 : ERC165.sol
// SPDX-License-Identifier: MIT

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 4 of 19 : Strings.sol
// SPDX-License-Identifier: MIT

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 5 of 19 : Counters.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

File 6 of 19 : Context.sol
// SPDX-License-Identifier: MIT

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 7 of 19 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @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
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 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 8 of 19 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT

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 19 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Enumerable is IERC721 {
    /**
     * @dev Returns the total amount of tokens stored by the contract.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns a token ID owned by `owner` at a given `index` of its token list.
     * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId);

    /**
     * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.
     * Use along with {totalSupply} to enumerate all tokens.
     */
    function tokenByIndex(uint256 index) external view returns (uint256);
}

File 10 of 19 : ERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../ERC721.sol";
import "./IERC721Enumerable.sol";

/**
 * @dev This implements an optional extension of {ERC721} defined in the EIP that adds
 * enumerability of all the token ids in the contract as well as all token ids owned by each
 * account.
 */
abstract contract ERC721Enumerable is ERC721, IERC721Enumerable {
    // Mapping from owner to list of owned token IDs
    mapping(address => mapping(uint256 => uint256)) private _ownedTokens;

    // Mapping from token ID to index of the owner tokens list
    mapping(uint256 => uint256) private _ownedTokensIndex;

    // Array with all token ids, used for enumeration
    uint256[] private _allTokens;

    // Mapping from token id to position in the allTokens array
    mapping(uint256 => uint256) private _allTokensIndex;

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) {
        return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId);
    }

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds");
        return _ownedTokens[owner][index];
    }

    /**
     * @dev See {IERC721Enumerable-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        return _allTokens.length;
    }

    /**
     * @dev See {IERC721Enumerable-tokenByIndex}.
     */
    function tokenByIndex(uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds");
        return _allTokens[index];
    }

    /**
     * @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` cannot be the zero address.
     * - `to` cannot be the zero address.
     *
     * 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 override {
        super._beforeTokenTransfer(from, to, tokenId);

        if (from == address(0)) {
            _addTokenToAllTokensEnumeration(tokenId);
        } else if (from != to) {
            _removeTokenFromOwnerEnumeration(from, tokenId);
        }
        if (to == address(0)) {
            _removeTokenFromAllTokensEnumeration(tokenId);
        } else if (to != from) {
            _addTokenToOwnerEnumeration(to, tokenId);
        }
    }

    /**
     * @dev Private function to add a token to this extension's ownership-tracking data structures.
     * @param to address representing the new owner of the given token ID
     * @param tokenId uint256 ID of the token to be added to the tokens list of the given address
     */
    function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private {
        uint256 length = ERC721.balanceOf(to);
        _ownedTokens[to][length] = tokenId;
        _ownedTokensIndex[tokenId] = length;
    }

    /**
     * @dev Private function to add a token to this extension's token tracking data structures.
     * @param tokenId uint256 ID of the token to be added to the tokens list
     */
    function _addTokenToAllTokensEnumeration(uint256 tokenId) private {
        _allTokensIndex[tokenId] = _allTokens.length;
        _allTokens.push(tokenId);
    }

    /**
     * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that
     * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for
     * gas optimizations e.g. when performing a transfer operation (avoiding double writes).
     * This has O(1) time complexity, but alters the order of the _ownedTokens array.
     * @param from address representing the previous owner of the given token ID
     * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address
     */
    function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private {
        // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = ERC721.balanceOf(from) - 1;
        uint256 tokenIndex = _ownedTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary
        if (tokenIndex != lastTokenIndex) {
            uint256 lastTokenId = _ownedTokens[from][lastTokenIndex];

            _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
            _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index
        }

        // This also deletes the contents at the last position of the array
        delete _ownedTokensIndex[tokenId];
        delete _ownedTokens[from][lastTokenIndex];
    }

    /**
     * @dev Private function to remove a token from this extension's token tracking data structures.
     * This has O(1) time complexity, but alters the order of the _allTokens array.
     * @param tokenId uint256 ID of the token to be removed from the tokens list
     */
    function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private {
        // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = _allTokens.length - 1;
        uint256 tokenIndex = _allTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so
        // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding
        // an 'if' statement (like in _removeTokenFromOwnerEnumeration)
        uint256 lastTokenId = _allTokens[lastTokenIndex];

        _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
        _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index

        // This also deletes the contents at the last position of the array
        delete _allTokensIndex[tokenId];
        _allTokens.pop();
    }
}

File 11 of 19 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

File 12 of 19 : IERC721.sol
// SPDX-License-Identifier: MIT

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

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

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

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

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

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

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

File 13 of 19 : ERC721.sol
// SPDX-License-Identifier: MIT

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 overriden 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 {
        require(operator != _msgSender(), "ERC721: approve to caller");

        _operatorApprovals[_msgSender()][operator] = approved;
        emit ApprovalForAll(_msgSender(), operator, approved);
    }

    /**
     * @dev See {IERC721-isApprovedForAll}.
     */
    function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {
        return _operatorApprovals[owner][operator];
    }

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        //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 || getApproved(tokenId) == spender || isApprovedForAll(owner, 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);
    }

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

    /**
     * @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 of token that is not own");
        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);
    }

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

File 14 of 19 : SafeERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC20.sol";
import "../../../utils/Address.sol";

/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    using Address for address;

    function safeTransfer(
        IERC20 token,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    function safeTransferFrom(
        IERC20 token,
        address from,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

    /**
     * @dev Deprecated. This function has issues similar to the ones found in
     * {IERC20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    function safeApprove(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        require(
            (value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    function safeIncreaseAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        uint256 newAllowance = token.allowance(address(this), spender) + value;
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    function safeDecreaseAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        unchecked {
            uint256 oldAllowance = token.allowance(address(this), spender);
            require(oldAllowance >= value, "SafeERC20: decreased allowance below zero");
            uint256 newAllowance = oldAllowance - value;
            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
        }
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that
        // the target address contains contract code and also asserts for success in the low-level call.

        bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
        if (returndata.length > 0) {
            // Return data is optional
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}

File 15 of 19 : IERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `sender` to `recipient` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) external returns (bool);

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}

File 16 of 19 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and make it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;

        _;

        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}

File 17 of 19 : IERC2981.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC165.sol";

/**
 * @dev Interface for the NFT Royalty Standard
 */
interface IERC2981 is IERC165 {
    /**
     * @dev Called with the sale price to determine how much royalty is owed and to whom.
     * @param tokenId - the NFT asset queried for royalty information
     * @param salePrice - the sale price of the NFT asset specified by `tokenId`
     * @return receiver - address of who should be sent the royalty payment
     * @return royaltyAmount - the royalty payment amount for `salePrice`
     */
    function royaltyInfo(uint256 tokenId, uint256 salePrice)
        external
        view
        returns (address receiver, uint256 royaltyAmount);
}

File 18 of 19 : IERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

File 19 of 19 : Ownable.sol
// SPDX-License-Identifier: MIT

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() {
        _setOwner(_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 {
        _setOwner(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");
        _setOwner(newOwner);
    }

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

Settings
{
  "remappings": [],
  "optimizer": {
    "enabled": true,
    "runs": 1
  },
  "evmVersion": "london",
  "libraries": {},
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"uint256","name":"_maxTokens","type":"uint256"},{"internalType":"uint256","name":"_maxTokensReserve","type":"uint256"},{"internalType":"uint256","name":"_maxTokensPresale","type":"uint256"},{"internalType":"string","name":"_initialBaseURI","type":"string"},{"internalType":"uint256","name":"_presaleAllowance","type":"uint256"},{"internalType":"address","name":"_weth","type":"address"}],"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":false,"internalType":"string","name":"newBaseURI","type":"string"}],"name":"BaseURISet","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":false,"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"PriceSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"newProvenanceHash","type":"string"}],"name":"ProvenanceHashSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"enum PlutoPeople.SaleState","name":"newSaleState","type":"uint8"}],"name":"SaleStateSet","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_TOKENS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_TOKENS_PER_TX","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_TOKENS_PRESALE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_TOKENS_RESERVE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PLUTO_PROVENANCE_HASH","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRESALE_ALLOWANCE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ROYALTY_PERCENTUAL","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"users","type":"address[]"}],"name":"addToAllowlist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"allowlist","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":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_count","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"users","type":"address[]"}],"name":"removeFromAllowlist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renderer","outputs":[{"internalType":"contract IRenderer","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_count","type":"uint256"}],"name":"reserveTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"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":"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":"enum PlutoPeople.SaleState","name":"","type":"uint8"}],"name":"saleCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"saleState","outputs":[{"internalType":"enum PlutoPeople.SaleState","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_provenanceHash","type":"string"}],"name":"setProvenanceHash","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"enum PlutoPeople.SaleState","name":"_saleState","type":"uint8"}],"name":"setSaleState","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":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"weth","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"}],"name":"withdrawAllERC20","outputs":[],"stateMutability":"nonpayable","type":"function"}]

610120604081905260006101008190526200001d91600e916200017c565b503480156200002b57600080fd5b50604051620036bb380380620036bb8339810160408190526200004e916200023f565b604080518082018252600b81526a506c75746f50656f706c6560a81b602080830191825283518085019094526005845264504c55544f60d81b9084015281519192916200009e916000916200017c565b508051620000b49060019060208401906200017c565b50506001600a5550620000c7336200012a565b608086905260c085905260a084905260e08290528251620000f090600d9060208601906200017c565b50600f805460ff60a01b19169055601280546001600160a01b0319166001600160a01b039290921691909117905550620003ab9350505050565b600b80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200018a9062000358565b90600052602060002090601f016020900481019282620001ae5760008555620001f9565b82601f10620001c957805160ff1916838001178555620001f9565b82800160010185558215620001f9579182015b82811115620001f9578251825591602001919060010190620001dc565b50620002079291506200020b565b5090565b5b808211156200020757600081556001016200020c565b80516001600160a01b03811681146200023a57600080fd5b919050565b60008060008060008060c087890312156200025957600080fd5b865160208089015160408a015160608b01519399509097509550906001600160401b03808211156200028a57600080fd5b818a0191508a601f8301126200029f57600080fd5b815181811115620002b457620002b462000395565b604051601f8201601f19908116603f01168101908382118183101715620002df57620002df62000395565b816040528281528d86848701011115620002f857600080fd5b600093505b828410156200031c5784840186015181850187015292850192620002fd565b828411156200032e5760008684830101525b809850505050505050608087015191506200034c60a0880162000222565b90509295509295509295565b600181811c908216806200036d57607f821691505b602082108114156200038f57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b60805160a05160c05160e0516132ac6200040f600039600081816105df01528181610d5501526115b40152600081816106f201526110cb015260008181610376015261166601526000818161077b0152818161105c015261141c01526132ac6000f3fe6080604052600436106101ec5760003560e01c806301ffc9a7146101f157806306fdde0314610226578063081812fc14610248578063095ea7b314610275578063104b6cb71461029757806310969523146102b757806318160ddd146102d757806323b872dd146102f65780632a55205a146103165780632f745c59146103445780633dada722146103645780633fc8cef31461039857806342842e0e146103b857806342966c68146103d857806343f99a89146103f85780634f6ccce7146104255780635207c2731461044557806355f804b3146104655780635a67de0714610485578063603f4d52146104a55780636352211e146104d357806370a08231146104f3578063715018a61461051357806378cf19e914610528578063853828b614610548578063857abbd41461055d5780638ada6b0f1461057d5780638d859f3e1461059d5780638da5cb5b146105b85780639041ed78146105cd57806395d89b4114610601578063a0712d6814610616578063a22cb46514610629578063a7cd52cb14610649578063b1158bef14610676578063b88d4fde1461068b578063b9e4c4d1146106ab578063c87b56dd146106c0578063e0bfe9ad146106e0578063e0c23b9414610714578063e985e9c514610729578063f2fde38b14610749578063f47c84c514610769575b600080fd5b3480156101fd57600080fd5b5061021161020c366004612b9d565b61079d565b60405190151581526020015b60405180910390f35b34801561023257600080fd5b5061023b6107c8565b60405161021d9190612e67565b34801561025457600080fd5b50610268610263366004612cb6565b61085a565b60405161021d9190612dd5565b34801561028157600080fd5b50610295610290366004612a9c565b6108e7565b005b3480156102a357600080fd5b506102956102b2366004612ac8565b6109f8565b3480156102c357600080fd5b506102956102d2366004612bf8565b610a8c565b3480156102e357600080fd5b506008545b60405190815260200161021d565b34801561030257600080fd5b506102956103113660046129ae565b610b0a565b34801561032257600080fd5b50610336610331366004612ce8565b610b3c565b60405161021d929190612e26565b34801561035057600080fd5b506102e861035f366004612a9c565b610b62565b34801561037057600080fd5b506102e87f000000000000000000000000000000000000000000000000000000000000000081565b3480156103a457600080fd5b50601254610268906001600160a01b031681565b3480156103c457600080fd5b506102956103d33660046129ae565b610bf8565b3480156103e457600080fd5b506102956103f3366004612cb6565b610c13565b34801561040457600080fd5b506102e8610413366004612bd7565b60116020526000908152604090205481565b34801561043157600080fd5b506102e8610440366004612cb6565b610c85565b34801561045157600080fd5b50610295610460366004612ac8565b610d18565b34801561047157600080fd5b50610295610480366004612bf8565b610dc7565b34801561049157600080fd5b506102956104a0366004612bd7565b610e39565b3480156104b157600080fd5b50600f546104c690600160a01b900460ff1681565b60405161021d9190612e3f565b3480156104df57600080fd5b506102686104ee366004612cb6565b610ed0565b3480156104ff57600080fd5b506102e861050e366004612958565b610f47565b34801561051f57600080fd5b50610295610fce565b34801561053457600080fd5b50610295610543366004612a9c565b611009565b34801561055457600080fd5b506102956111b7565b34801561056957600080fd5b50610295610578366004612958565b6112cc565b34801561058957600080fd5b50600f54610268906001600160a01b031681565b3480156105a957600080fd5b506102e866c3663566a5800081565b3480156105c457600080fd5b50610268611388565b3480156105d957600080fd5b506102e87f000000000000000000000000000000000000000000000000000000000000000081565b34801561060d57600080fd5b5061023b611397565b610295610624366004612cb6565b6113a6565b34801561063557600080fd5b50610295610644366004612a6e565b6117f3565b34801561065557600080fd5b506102e8610664366004612958565b60106020526000908152604090205481565b34801561068257600080fd5b5061023b6118b4565b34801561069757600080fd5b506102956106a63660046129ef565b611942565b3480156106b757600080fd5b506102e8600581565b3480156106cc57600080fd5b5061023b6106db366004612cb6565b61197a565b3480156106ec57600080fd5b506102e87f000000000000000000000000000000000000000000000000000000000000000081565b34801561072057600080fd5b506102e8600a81565b34801561073557600080fd5b50610211610744366004612975565b611a94565b34801561075557600080fd5b50610295610764366004612958565b611ac2565b34801561077557600080fd5b506102e87f000000000000000000000000000000000000000000000000000000000000000081565b60006001600160e01b0319821663152a902d60e11b14806107c257506107c282611b5f565b92915050565b6060600080546107d790613115565b80601f016020809104026020016040519081016040528092919081815260200182805461080390613115565b80156108505780601f1061082557610100808354040283529160200191610850565b820191906000526020600020905b81548152906001019060200180831161083357829003601f168201915b5050505050905090565b600061086582611b84565b6108cb5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006108f282610ed0565b9050806001600160a01b0316836001600160a01b031614156109605760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016108c2565b336001600160a01b038216148061097c575061097c8133611a94565b6109e95760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776044820152771b995c881b9bdc88185c1c1c9bdd995908199bdc88185b1b60421b60648201526084016108c2565b6109f38383611ba1565b505050565b33610a01611388565b6001600160a01b031614610a275760405162461bcd60e51b81526004016108c290612f81565b60005b8151811015610a8857600060106000848481518110610a4b57610a4b6131d1565b60200260200101516001600160a01b03166001600160a01b031681526020019081526020016000208190555080610a819061314a565b9050610a2a565b5050565b33610a95611388565b6001600160a01b031614610abb5760405162461bcd60e51b81526004016108c290612f81565b8051610ace90600e906020840190612881565b507f8aef9948275592a4a1496813f92b3c13911528c06421256850f9f611e0018740600e604051610aff9190612e7a565b60405180910390a150565b610b15335b82611c0f565b610b315760405162461bcd60e51b81526004016108c290612fdf565b6109f3838383611cd9565b600080306064610b4d6005866130b3565b610b57919061309f565b915091509250929050565b6000610b6d83610f47565b8210610bcf5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016108c2565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b6109f383838360405180602001604052806000815250611942565b610c1c33610b0f565b610c795760405162461bcd60e51b815260206004820152602860248201527f4552433732313a2063616c6c6572206973206e6f74206f776e6572206e6f7220604482015267185c1c1c9bdd995960c21b60648201526084016108c2565b610c8281611e72565b50565b6000610c9060085490565b8210610cf35760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b60648201526084016108c2565b60088281548110610d0657610d066131d1565b90600052602060002001549050919050565b33610d21611388565b6001600160a01b031614610d475760405162461bcd60e51b81526004016108c290612f81565b60005b8151811015610a88577f000000000000000000000000000000000000000000000000000000000000000060106000848481518110610d8a57610d8a6131d1565b60200260200101516001600160a01b03166001600160a01b031681526020019081526020016000208190555080610dc09061314a565b9050610d4a565b33610dd0611388565b6001600160a01b031614610df65760405162461bcd60e51b81526004016108c290612f81565b8051610e0990600d906020840190612881565b507ff9c7803e94e0d3c02900d8a90893a6d5e90dd04d32a4cfe825520f82bf9f32f681604051610aff9190612e67565b33610e42611388565b6001600160a01b031614610e685760405162461bcd60e51b81526004016108c290612f81565b600f805482919060ff60a01b1916600160a01b836003811115610e8d57610e8d6131a5565b02179055507fd269ef7ccaf7e5973e9c020a7bc41d1463e45665aefa73b103421bb2501ec9de600f60149054906101000a900460ff16604051610aff9190612e3f565b6000818152600260205260408120546001600160a01b0316806107c25760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016108c2565b60006001600160a01b038216610fb25760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016108c2565b506001600160a01b031660009081526003602052604090205490565b33610fd7611388565b6001600160a01b031614610ffd5760405162461bcd60e51b81526004016108c290612f81565b6110076000611f07565b565b33611012611388565b6001600160a01b0316146110385760405162461bcd60e51b81526004016108c290612f81565b80600081116110595760405162461bcd60e51b81526004016108c290612fb6565b817f000000000000000000000000000000000000000000000000000000000000000081611085600c5490565b61108f9190613087565b11156110ad5760405162461bcd60e51b81526004016108c290612f51565b600360005260116020526000805160206132378339815191525483907f0000000000000000000000000000000000000000000000000000000000000000906110f6908390613087565b11156111445760405162461bcd60e51b815260206004820152601e60248201527f50503a2065786365656473204d41585f544f4b454e535f52455345525645000060448201526064016108c2565b60005b8481101561117f576111618661115c600c5490565b611f59565b61116f600c80546001019055565b6111788161314a565b9050611147565b60036000908152601160205260008051602061323783398151915280548792906111aa908490613087565b9091555050505050505050565b336111c0611388565b6001600160a01b0316146111e65760405162461bcd60e51b81526004016108c290612f81565b600047116112295760405162461bcd60e51b815260206004820152601060248201526f50503a205a65726f2062616c616e636560801b60448201526064016108c2565b6000611233611388565b6001600160a01b03164760405160006040518083038185875af1925050503d806000811461127d576040519150601f19603f3d011682016040523d82523d6000602084013e611282565b606091505b5050905080610c825760405162461bcd60e51b815260206004820152601660248201527550503a204661696c656420746f20776974686472617760501b60448201526064016108c2565b336112d5611388565b6001600160a01b0316146112fb5760405162461bcd60e51b81526004016108c290612f81565b610c8281611307611388565b6040516370a0823160e01b81526001600160a01b038516906370a0823190611333903090600401612dd5565b60206040518083038186803b15801561134b57600080fd5b505afa15801561135f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113839190612ccf565b611f73565b600b546001600160a01b031690565b6060600180546107d790613115565b80600081116113c75760405162461bcd60e51b81526004016108c290612fb6565b81600a8111156114195760405162461bcd60e51b815260206004820152601d60248201527f50503a2065786365656473204d41585f544f4b454e535f5045525f545800000060448201526064016108c2565b827f000000000000000000000000000000000000000000000000000000000000000081611445600c5490565b61144f9190613087565b111561146d5760405162461bcd60e51b81526004016108c290612f51565b6000600f54600160a01b900460ff16600381111561148d5761148d6131a5565b14156114d15760405162461bcd60e51b815260206004820152601360248201527250503a2073616c65206e6f742061637469766560681b60448201526064016108c2565b6002600a5414156115245760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016108c2565b6002600a556001600f54600160a01b900460ff166003811115611549576115496131a5565b14156116df57336000908152601060205260409020546115a25760405162461bcd60e51b815260206004820152601460248201527314140e881b9bdd081a5b88185b1b1bdddb1a5cdd60621b60448201526064016108c2565b336000908152601060205260409020547f00000000000000000000000000000000000000000000000000000000000000009085906115e090836130d2565b6115ea9190613087565b11156116385760405162461bcd60e51b815260206004820152601d60248201527f50503a20657863656564732050524553414c455f414c4c4f57414e434500000060448201526064016108c2565b600160005260116020527f17bc176d2408558f6e4111feebc3cab4e16b63e967be91cde721f4c8a488b552547f000000000000000000000000000000000000000000000000000000000000000090611691908690613087565b11156116df5760405162461bcd60e51b815260206004820152601e60248201527f50503a2065786365656473204d41585f544f4b454e535f50524553414c45000060448201526064016108c2565b6001600f54600160a01b900460ff1660038111156116ff576116ff6131a5565b141561172a5733600090815260106020526040812080548692906117249084906130d2565b90915550505b8360116000600f60149054906101000a900460ff166003811115611750576117506131a5565b6003811115611761576117616131a5565b8152602001908152602001600020600082825461177e9190613087565b90915550600090506117978566c3663566a580006130b3565b90506117b1336012546001600160a01b0316903084611fc9565b60005b858110156117e6576117c833600c54611f59565b6117d6600c80546001019055565b6117df8161314a565b90506117b4565b50506001600a5550505050565b6001600160a01b0382163314156118485760405162461bcd60e51b815260206004820152601960248201527822a9219b99189d1030b8383937bb32903a379031b0b63632b960391b60448201526064016108c2565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600e80546118c190613115565b80601f01602080910402602001604051908101604052809291908181526020018280546118ed90613115565b801561193a5780601f1061190f5761010080835404028352916020019161193a565b820191906000526020600020905b81548152906001019060200180831161191d57829003601f168201915b505050505081565b61194c3383611c0f565b6119685760405162461bcd60e51b81526004016108c290612fdf565b61197484848484612001565b50505050565b60608161198681611b84565b6119c85760405162461bcd60e51b815260206004820152601360248201527214140e881d1bdad95b881b9bdd08199bdd5b99606a1b60448201526064016108c2565b600f546001600160a01b031615611a6057600f5460405163c87b56dd60e01b8152600481018590526001600160a01b039091169063c87b56dd9060240160006040518083038186803b158015611a1d57600080fd5b505afa158015611a31573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611a599190810190612c40565b9150611a8e565b600d611a6b84612034565b604051602001611a7c929190612d52565b60405160208183030381529060405291505b50919050565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b33611acb611388565b6001600160a01b031614611af15760405162461bcd60e51b81526004016108c290612f81565b6001600160a01b038116611b565760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108c2565b610c8281611f07565b60006001600160e01b0319821663780e9d6360e01b14806107c257506107c282612131565b6000908152600260205260409020546001600160a01b0316151590565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611bd682610ed0565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611c1a82611b84565b611c7b5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016108c2565b6000611c8683610ed0565b9050806001600160a01b0316846001600160a01b03161480611cc15750836001600160a01b0316611cb68461085a565b6001600160a01b0316145b80611cd15750611cd18185611a94565b949350505050565b826001600160a01b0316611cec82610ed0565b6001600160a01b031614611d545760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b60648201526084016108c2565b6001600160a01b038216611db65760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016108c2565b611dc1838383612181565b611dcc600082611ba1565b6001600160a01b0383166000908152600360205260408120805460019290611df59084906130d2565b90915550506001600160a01b0382166000908152600360205260408120805460019290611e23908490613087565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03868116918217909255915184939187169160008051602061325783398151915291a4505050565b6000611e7d82610ed0565b9050611e8b81600084612181565b611e96600083611ba1565b6001600160a01b0381166000908152600360205260408120805460019290611ebf9084906130d2565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b03841690600080516020613257833981519152908390a45050565b600b80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610a88828260405180602001604052806000815250612239565b6109f38363a9059cbb60e01b8484604051602401611f92929190612e26565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915261226c565b6040516001600160a01b03808516602483015283166044820152606481018290526119749085906323b872dd60e01b90608401611f92565b61200c848484611cd9565b6120188484848461233e565b6119745760405162461bcd60e51b81526004016108c290612eff565b6060816120585750506040805180820190915260018152600360fc1b602082015290565b8160005b8115612082578061206c8161314a565b915061207b9050600a8361309f565b915061205c565b6000816001600160401b0381111561209c5761209c6131e7565b6040519080825280601f01601f1916602001820160405280156120c6576020820181803683370190505b5090505b8415611cd1576120db6001836130d2565b91506120e8600a86613165565b6120f3906030613087565b60f81b818381518110612108576121086131d1565b60200101906001600160f81b031916908160001a90535061212a600a8661309f565b94506120ca565b60006001600160e01b031982166380ac58cd60e01b148061216257506001600160e01b03198216635b5e139f60e01b145b806107c257506301ffc9a760e01b6001600160e01b03198316146107c2565b6001600160a01b0383166121dc576121d781600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b6121ff565b816001600160a01b0316836001600160a01b0316146121ff576121ff838261244b565b6001600160a01b038216612216576109f3816124e8565b826001600160a01b0316826001600160a01b0316146109f3576109f38282612597565b61224383836125db565b612250600084848461233e565b6109f35760405162461bcd60e51b81526004016108c290612eff565b60006122c1826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166127079092919063ffffffff16565b8051909150156109f357808060200190518101906122df9190612b80565b6109f35760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016108c2565b60006001600160a01b0384163b1561244057604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612382903390899088908890600401612de9565b602060405180830381600087803b15801561239c57600080fd5b505af19250505080156123cc575060408051601f3d908101601f191682019092526123c991810190612bba565b60015b612426573d8080156123fa576040519150601f19603f3d011682016040523d82523d6000602084013e6123ff565b606091505b50805161241e5760405162461bcd60e51b81526004016108c290612eff565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611cd1565b506001949350505050565b6000600161245884610f47565b61246291906130d2565b6000838152600760205260409020549091508082146124b5576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b6008546000906124fa906001906130d2565b60008381526009602052604081205460088054939450909284908110612522576125226131d1565b906000526020600020015490508060088381548110612543576125436131d1565b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548061257b5761257b6131bb565b6001900381819060005260206000200160009055905550505050565b60006125a283610f47565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b0382166126315760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016108c2565b61263a81611b84565b156126865760405162461bcd60e51b815260206004820152601c60248201527b115490cdcc8c4e881d1bdad95b88185b1c9958591e481b5a5b9d195960221b60448201526064016108c2565b61269260008383612181565b6001600160a01b03821660009081526003602052604081208054600192906126bb908490613087565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386169081179091559051839290600080516020613257833981519152908290a45050565b60606127168484600085612720565b90505b9392505050565b6060824710156127815760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b60648201526084016108c2565b843b6127cf5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016108c2565b600080866001600160a01b031685876040516127eb9190612d36565b60006040518083038185875af1925050503d8060008114612828576040519150601f19603f3d011682016040523d82523d6000602084013e61282d565b606091505b509150915061283d828286612848565b979650505050505050565b60608315612857575081612719565b8251156128675782518084602001fd5b8160405162461bcd60e51b81526004016108c29190612e67565b82805461288d90613115565b90600052602060002090601f0160209004810192826128af57600085556128f5565b82601f106128c857805160ff19168380011785556128f5565b828001600101855582156128f5579182015b828111156128f55782518255916020019190600101906128da565b50612901929150612905565b5090565b5b808211156129015760008155600101612906565b600061292d61292884613060565b613030565b905082815283838301111561294157600080fd5b828260208301376000602084830101529392505050565b60006020828403121561296a57600080fd5b8135612719816131fd565b6000806040838503121561298857600080fd5b8235612993816131fd565b915060208301356129a3816131fd565b809150509250929050565b6000806000606084860312156129c357600080fd5b83356129ce816131fd565b925060208401356129de816131fd565b929592945050506040919091013590565b60008060008060808587031215612a0557600080fd5b8435612a10816131fd565b93506020850135612a20816131fd565b92506040850135915060608501356001600160401b03811115612a4257600080fd5b8501601f81018713612a5357600080fd5b612a628782356020840161291a565b91505092959194509250565b60008060408385031215612a8157600080fd5b8235612a8c816131fd565b915060208301356129a381613212565b60008060408385031215612aaf57600080fd5b8235612aba816131fd565b946020939093013593505050565b60006020808385031215612adb57600080fd5b82356001600160401b0380821115612af257600080fd5b818501915085601f830112612b0657600080fd5b813581811115612b1857612b186131e7565b8060051b9150612b29848301613030565b8181528481019084860184860187018a1015612b4457600080fd5b600095505b83861015612b735780359450612b5e856131fd565b84835260019590950194918601918601612b49565b5098975050505050505050565b600060208284031215612b9257600080fd5b815161271981613212565b600060208284031215612baf57600080fd5b813561271981613220565b600060208284031215612bcc57600080fd5b815161271981613220565b600060208284031215612be957600080fd5b81356004811061271957600080fd5b600060208284031215612c0a57600080fd5b81356001600160401b03811115612c2057600080fd5b8201601f81018413612c3157600080fd5b611cd18482356020840161291a565b600060208284031215612c5257600080fd5b81516001600160401b03811115612c6857600080fd5b8201601f81018413612c7957600080fd5b8051612c8761292882613060565b818152856020838501011115612c9c57600080fd5b612cad8260208301602086016130e9565b95945050505050565b600060208284031215612cc857600080fd5b5035919050565b600060208284031215612ce157600080fd5b5051919050565b60008060408385031215612cfb57600080fd5b50508035926020909101359150565b60008151808452612d228160208601602086016130e9565b601f01601f19169290920160200192915050565b60008251612d488184602087016130e9565b9190910192915050565b6000808454612d6081613115565b60018281168015612d785760018114612d8957612db8565b60ff19841687528287019450612db8565b8860005260208060002060005b85811015612daf5781548a820152908401908201612d96565b50505082870194505b505050508351612dcc8183602088016130e9565b01949350505050565b6001600160a01b0391909116815260200190565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612e1c90830184612d0a565b9695505050505050565b6001600160a01b03929092168252602082015260400190565b6020810160048310612e6157634e487b7160e01b600052602160045260246000fd5b91905290565b6020815260006127196020830184612d0a565b6000602080835260008454612e8e81613115565b80848701526040600180841660008114612eaf5760018114612ec357612ef1565b60ff19851689840152606089019550612ef1565b896000528660002060005b85811015612ee95781548b8201860152908301908801612ece565b8a0184019650505b509398975050505050505050565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526016908201527550503a2065786365656473204d41585f544f4b454e5360501b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252600f908201526e050503a205f636f756e74206973203608c1b604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b604051601f8201601f191681016001600160401b0381118282101715613058576130586131e7565b604052919050565b60006001600160401b03821115613079576130796131e7565b50601f01601f191660200190565b6000821982111561309a5761309a613179565b500190565b6000826130ae576130ae61318f565b500490565b60008160001904831182151516156130cd576130cd613179565b500290565b6000828210156130e4576130e4613179565b500390565b60005b838110156131045781810151838201526020016130ec565b838111156119745750506000910152565b600181811c9082168061312957607f821691505b60208210811415611a8e57634e487b7160e01b600052602260045260246000fd5b600060001982141561315e5761315e613179565b5060010190565b6000826131745761317461318f565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052602160045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114610c8257600080fd5b8015158114610c8257600080fd5b6001600160e01b031981168114610c8257600080fdfe9bfbaa59f8e10e7868f8b402de9d605a390c45ddaebd8c9de3c6f31e733c87ffddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa2646970667358221220ed7592d1b1263132896c4339468b47551f4ad29938f4f4591ec79c67db56969164736f6c6343000807003300000000000000000000000000000000000000000000000000000000000015b3000000000000000000000000000000000000000000000000000000000000009b0000000000000000000000000000000000000000000000000000000000000d0500000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000060000000000000000000000007ceb23fd6bc0add59e62ac25578270cff1b9f619000000000000000000000000000000000000000000000000000000000000001f68747470733a2f2f6173736574732e706c75746f70656f706c652e6172742f00

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

00000000000000000000000000000000000000000000000000000000000015b3000000000000000000000000000000000000000000000000000000000000009b0000000000000000000000000000000000000000000000000000000000000d0500000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000060000000000000000000000007ceb23fd6bc0add59e62ac25578270cff1b9f619000000000000000000000000000000000000000000000000000000000000001f68747470733a2f2f6173736574732e706c75746f70656f706c652e6172742f00

-----Decoded View---------------
Arg [0] : _maxTokens (uint256): 5555
Arg [1] : _maxTokensReserve (uint256): 155
Arg [2] : _maxTokensPresale (uint256): 3333
Arg [3] : _initialBaseURI (string): https://assets.plutopeople.art/
Arg [4] : _presaleAllowance (uint256): 6
Arg [5] : _weth (address): 0x7ceb23fd6bc0add59e62ac25578270cff1b9f619

-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000015b3
Arg [1] : 000000000000000000000000000000000000000000000000000000000000009b
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000d05
Arg [3] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [5] : 0000000000000000000000007ceb23fd6bc0add59e62ac25578270cff1b9f619
Arg [6] : 000000000000000000000000000000000000000000000000000000000000001f
Arg [7] : 68747470733a2f2f6173736574732e706c75746f70656f706c652e6172742f00


Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.