ETH Price: $3,100.89 (-1.15%)

Token

SemiSupers (SEMISUPERS)
 

Overview

Max Total Supply

5,555 SEMISUPERS

Holders

1,311

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
momcorp.eth
Balance
0 SEMISUPERS
0x8b1dd48344de9922ac1f24b7563fc07ebaa00b20
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

The SemiSupers is a collection of 3,333 heroes and 2,222 unique villains, ready to unleash their semi-to-non-existent super powers on the Ethereum blockchain.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
SemiSupers

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 14 : SemiSupers.sol
//
// ,KMMWkxK0kkO0NMKl.                                            .lNMXkxOKKKKKKkdKWx.
//  :XMM0xOKKKOkkOXWO,                                          .xWMKxx0KKKKKKOd0Xo.
//   cXMWkx0KKKK0kxOXXo.                                       .kWWKxkKKKKKKKOd0K:
//    cXMXxx0KKK0K0kx0Nx;:'                                   .OWW0dOK0KKKK0kx0k,
//     :KMNkxOKKKKKK0xkKX0c                                  .xWW0dOKKKKOOOxk0o.
//      ,OWW0xk0KKKKK0kd00k;                    ,:.'dl.      oWMKxkKKK0kooxOx,
//       .dNMNOxdxOKKKKOdkXo                 .:kKOxXNd....  ,0WNxkK0KOxdxOx;
//         ;OWWXxloOKKKK0xk0;          .';cdOXWXOKNW0OKK00OkO0KOxxkkkkkOx;
//          .:OWWKOkk0KKK0xk0;   .':lxOXNMMMMMMWWMMMWMMMMMMMMMMMWXKOxxd,
//            .:kNMN0kkOKK0dO0:;x0XWWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWN0d:'.
//               ,dKWNKOkkkdxNNWN00XWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWXkdo;
//                 .ckNMNKKKNMMWOxXMMMMMMMMMMMMMMMMMMMMMMMMMMMMWWMMMMMMMN00KKO:
//                    'oONWMMMMMN0XMMMMMMMMMMMMMMMMMMMMMMMMMMMMWK0NMMMMMMWWMMMNk,
//                    .cxkXWMMMMWO0MMMMMMMMMMMMMMMMMMMMMMMMMMMMMWNWMMMMMMMXKNMMMXl.
//                   .oNWWMMMMMMWNWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMNOxXMMMNd.
//                  .oKNMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMNKXWMMMWx. ....
//                 .o0KWMMMMMMMMMWNNXKKKXXNNWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMXkl;,,,;;.
//                 c00NMMMMMMMMWOolcc:::ccclodxkOKNWMMMMMMMMMMMMMMMMMMMMMMMMMMMXxc;;,,,,,,.
//                'OWWMMMMMMMMMNx;,;;;;,;;;::::;;:coxOKXNMMMMMMMMMMMMMMMMMMMMXx:;:;,,,,,,,.
//                cNMMMMMMMMMMMMNd,,,,,,,,,;::::::::;;:cldkKNMMMMMMMMMMMMMMNkc;:::;;;,;:'
//                dMMMMMMMMMMMMMMNo',,,,,;::::::::::::::::;:ldkKNMMMMMMMMNOl;:::::::::::.
//               .xMMMMMMMMMMMMMMMNOkko::::::::::::::::::::::;;:ldk0XWWNOl::::::::::::::,.
//               .xMMMMMMMMMMMMMMMMMMMWO:;::::::::::::::::::::::::;;clol:::::::::::::::::.
//                dWKXMMMMMMMMMMMMMMMWKd::::::::::::::::::::::::::::::::::::::::::;;:;;::,.
//                cX0kXMMMMMMMMMMMWKko:;:::::::::::::::::::::::::::::::::::::::;lxO00Oxl:;.
//                .OWXNMMMMMMMMWKko:;:::::::::::;:cllc:;;::::::::::::::::::::::xNMMMMMMNd;.
//                .xMMMMMMMMWXko:;:::::::::::::ok0XNWNK0kl;::::::::::::::::::;xWMMMXOKWMKl.
//                 lWMMMMMXkoc;:::::::::::::;:kWMMMMMMMMMNd;::::::::::::::::::kMMMM0:dWMWd'.
//                 ,KMMN0dc;::::::::::::::::;xWMMMMXxOWMMMKc;:::::::::;;,;:::;oXMMMWNWMMXl,.
//                 .dXkl:;::::::::::::::::::;xWMMMMKcdWMMMXl;::::::::::;;;;:::;lONMMMMWXo:;.
//                  .:;;;:::::::::::::::::::;c0WMMMMWWMMMWk;:::::::;;:cclooc;;:;:ldxkxdc;:;.
//                   ':,,;:::::::::::::::::::;:d0NMMMMWNKd::::::;;;:oxxkkkOdloc;:::;;;::::,.
//                   .;;;;;;;;;;:::::::::::::::;:lodddol:;:::;:lk0kdoodddodkXMXkoc;;;:::;;::.
//                   .:oolc::;;;::::::::::::::::::::::::::;:lxKWXkOK00Okk0NMMMMMWX0kxdddxkXNk;.
//                  .oNWWNX0xodddolc::;;;;;;;;;;;;;;;:clodkKWMMK; c0Ok0x::kWMMMMMMMMMMMMMMMMXOxc.
//                 'xNMMMMWK0XNMMWNXKK0OkkkxxxxxxkkO0KNWWMMMMMMx. 'kkdx,  .OMMMMMMMMMMMMMMMNNXxo:.
//              .;dkKXNMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM0'   ..    '0MMMMMMMMMMMMMMMXOO;..
//              .ok0NKKMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWx'..     .xWMMMMMMMMMMMMMMMMNXo
//              ,k0kKKKWMMWNNMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWKkx:. .:OWMMMMMMMMMMMMMMMMMMXOl.
//              ';.cKNMMMMWOkNMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMNOOxdxXMMMMMMMMMMMMMMMMMMMWl..
//                 :kONMMMMNKNMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMNK0KKKNMMMMMMMMMMMMMMMMMW00o
//                .;dO0O0XWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMNOlc.
//                 .lcl000NMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMXl'.
//                     ;kXXNNWWMMMMMMMMMNNWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMNx,
//                      .oXXXXK00XNNWWWWX0NMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWXXNXXOl'
//                       ,o:lddxxOKXXXXXNNNNWWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMXxol:.
//                             ..,:lxOXXXKXXXNNWWMMMMMMMWNXKXXKXWWNK0OkOO0KWNkl,.
//                                   .,cdxkk0XXXNNKOOOkxxdoodlldddooclxxoooc;.
//                                       .,:lkOkkxlcdkl;locodlcllddcclodlc;..',c:.
//                                       .;cxd::oOkloOxollccc:lllxdcc;.;l;. .:OOdc'..,
//                                     'ldkxoooo:lxddxxxkxdxkxxOOOOk:   .,,,',::cdocxk:.
//                                  .';lollll:oOo;:okKNWWMMMMMMMMMM0l,         ;OOolcdkl'.
//                              .';coddolcoollONx;cllldxxOXWMMMMMMNdc:.       .xWkclocldd,
//                          ..,codddlc;;lldKXNMMx,,;:cllllodkKX00Xxcl;;,.     :XMWOoollll;.
//                       .,:lddoc;,..  'odlxWMMMO::::;;;;:cllcodoolc;;dOd,   :XMNXX0c.,lddo;.
//                   .';cool:,'.      .',;;kMMMM0:;::::::;;;;colllol;;:lxd..lXMMMWk'   .,cddl,
//                .':ll:;'.           ';:;:OMMMMKc;:::::::;;,:dollol;,:::,'dNMMMMNl       'cooc.
//              .,;;'..              .,;:;lXMMMMXl;:;;;;;::cl:;:cc::::,,',xWMMMMMk.         .:oo:.
//                                  .,;::;xWMMMMNo,::cclc;;;;;,,;;;;;:c,;OWMMMMMX;            .;ol;.
//                                  .,;:;c0MMMMMWdcooc:;,',;:::::::::,,';0MMMMMMx.              'cd:.
// SemiSupers
// Website: https://semisupers.com
// Twitter: https://twitter.com/semisupers
//
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import '@openzeppelin/contracts/token/ERC721/ERC721.sol';
import '@openzeppelin/contracts/access/Ownable.sol';
import '@openzeppelin/contracts/token/ERC20/IERC20.sol';
import '@openzeppelin/contracts/utils/cryptography/MerkleProof.sol';
import '@openzeppelin/contracts/security/ReentrancyGuard.sol';

contract SemiSupers is ERC721, Ownable, ReentrancyGuard {
    using Strings for uint256;
    uint256 public constant MAX_SUPPLY = 5555;
    uint256 public publicMintStartBlock =
        0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff;
    uint256 public allowlistMintStartBlock =
        0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff;
    string public METADATA_PROVENANCE_HASH = '';
    string public _baseTokenURI;
    address public vault;
    uint256 public price = 0.08 ether;
    uint256 public nextSuperId = 0;
    bytes32 public allowlistMerkleRoot;
    bool private _mintManuallyClosedForever = false;

    constructor(string memory baseURI) ERC721('SemiSupers', 'SEMISUPERS') {
        setBaseURI(baseURI);
    }

    function mintStarted() public view returns (bool) {
        return block.number >= publicMintStartBlock;
    }

    function allowlistMintStarted() public view returns (bool) {
        return block.number >= allowlistMintStartBlock;
    }

    function mint(uint256 numSupers) public payable nonReentrant {
        require(mintStarted(), 'Mint not started');
        _mintSupers(numSupers);
    }

    function allowlistMint(
        uint256 numSupers,
        bytes32 _leaf,
        bytes32[] calldata _merkleProof
    ) public payable nonReentrant {
        require(allowlistMintStarted(), 'Mint not started');

        // verify allowlist
        bytes32 node = keccak256(abi.encodePacked(msg.sender));
        require(node == _leaf, 'Leaf not matching the node');
        require(
            MerkleProof.verify(_merkleProof, allowlistMerkleRoot, _leaf),
            'Invalid proof.'
        );

        _mintSupers(numSupers);
    }

    function allowlisted(bytes32 _leaf, bytes32[] calldata _merkleProof)
        external
        view
        returns (bool)
    {
        bytes32 node = keccak256(abi.encodePacked(msg.sender));
        if (node != _leaf) return false;
        if (!MerkleProof.verify(_merkleProof, allowlistMerkleRoot, _leaf))
            return false;
        return true;
    }

    function _mintSupers(uint256 numSupers) private {
        require(!_mintManuallyClosedForever, 'Mint is over');
        require(nextSuperId < MAX_SUPPLY, 'All Supers have been minted');
        require(numSupers > 0 && numSupers <= 20, 'Mint from 1 to 20 supers');
        require(
            nextSuperId + numSupers <= MAX_SUPPLY,
            "I'm afraid you're trying to mint too many supers"
        );
        require(
            msg.value == price * numSupers,
            'Ether value sent is not accurate'
        );

        for (uint256 i = 0; i < numSupers; i++) {
            uint256 mintIndex = nextSuperId;
            _safeMint(msg.sender, mintIndex);
            nextSuperId += 1;
        }
    }

    function reserve(uint256 numSupers) public onlyOwner {
        require(nextSuperId + numSupers <= 130, 'Exceeded reserved supply');
        require(!allowlistMintStarted(), 'Too late');
        uint256 index;
        for (index = 0; index < numSupers; index++) {
            _safeMint(owner(), nextSuperId);
            nextSuperId += 1;
        }
    }

    function remainingSupply() public view returns (uint256) {
        if (_mintManuallyClosedForever) {
            return 0;
        }
        return MAX_SUPPLY - nextSuperId;
    }

    function totalSupply() public view returns (uint256) {
        return nextSuperId;
    }

    function tokenURI(uint256 tokenId)
        public
        view
        virtual
        override
        returns (string memory)
    {
        require(
            _exists(tokenId),
            'ERC721Metadata: URI query for nonexistent token'
        );

        return string(abi.encodePacked(_baseTokenURI, tokenId.toString()));
    }

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

    /*
     * Only the owner can do these things
     */

    function setProvenanceHash(string memory _hash) public onlyOwner {
        METADATA_PROVENANCE_HASH = _hash;
    }

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

    function setAllowlistMerkleRoot(bytes32 newMerkleRoot) public onlyOwner {
        allowlistMerkleRoot = newMerkleRoot;
    }

    function setPublicMintStartBlock(uint256 _newPublicMintStartBlock)
        public
        onlyOwner
    {
        publicMintStartBlock = _newPublicMintStartBlock;
    }

    function setAllowlistMintStartBlock(uint256 _newAllowlistMintStartBlock)
        public
        onlyOwner
    {
        allowlistMintStartBlock = _newAllowlistMintStartBlock;
    }

    function setPrice(uint256 _newPrice) public onlyOwner {
        require(
            !allowlistMintStarted(),
            'Price cannot be changed once the minting has started'
        );
        price = _newPrice;
    }

    function setVault(address _newVaultAddress) public onlyOwner {
        vault = _newVaultAddress;
    }

    function closeMintForeverYouCantUndoThis(bool _imSure) public onlyOwner {
        require(_imSure, "You don't seem sure about this");
        _mintManuallyClosedForever = true;
    }

    function withdraw(uint256 _amount) public onlyOwner {
        require(address(vault) != address(0), 'no vault');
        require(payable(vault).send(_amount));
    }

    function withdrawAll() public payable onlyOwner {
        require(address(vault) != address(0), 'no vault');
        require(payable(vault).send(address(this).balance));
    }

    function forwardERC20s(IERC20 _token, uint256 _amount) public onlyOwner {
        require(address(vault) != address(0));
        _token.transfer(vault, _amount);
    }

    function renounceOwnership() public override onlyOwner {}
}

File 2 of 14 : 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(to).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 3 of 14 : 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);
    }
}

File 4 of 14 : 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 5 of 14 : MerkleProof.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Trees proofs.
 *
 * The proofs can be generated using the JavaScript library
 * https://github.com/miguelmota/merkletreejs[merkletreejs].
 * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
 *
 * See `test/utils/cryptography/MerkleProof.test.js` for some examples.
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(
        bytes32[] memory proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        bytes32 computedHash = leaf;

        for (uint256 i = 0; i < proof.length; i++) {
            bytes32 proofElement = proof[i];

            if (computedHash <= proofElement) {
                // Hash(current computed hash + current element of the proof)
                computedHash = keccak256(abi.encodePacked(computedHash, proofElement));
            } else {
                // Hash(current element of the proof + current computed hash)
                computedHash = keccak256(abi.encodePacked(proofElement, computedHash));
            }
        }

        // Check if the computed hash (root) is equal to the provided root
        return computedHash == root;
    }
}

File 6 of 14 : 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 7 of 14 : 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 8 of 14 : 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 9 of 14 : 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 10 of 14 : 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);
    }

    function _verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) private 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 11 of 14 : 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 12 of 14 : 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 13 of 14 : 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 14 of 14 : 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);
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "metadata": {
    "useLiteralContent": true
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"METADATA_PROVENANCE_HASH","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"allowlistMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numSupers","type":"uint256"},{"internalType":"bytes32","name":"_leaf","type":"bytes32"},{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"allowlistMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"allowlistMintStartBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"allowlistMintStarted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_leaf","type":"bytes32"},{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"allowlisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"bool","name":"_imSure","type":"bool"}],"name":"closeMintForeverYouCantUndoThis","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"_token","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"forwardERC20s","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":"numSupers","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintStarted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextSuperId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicMintStartBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"remainingSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"numSupers","type":"uint256"}],"name":"reserve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"newMerkleRoot","type":"bytes32"}],"name":"setAllowlistMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newAllowlistMintStartBlock","type":"uint256"}],"name":"setAllowlistMintStartBlock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newPrice","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_hash","type":"string"}],"name":"setProvenanceHash","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newPublicMintStartBlock","type":"uint256"}],"name":"setPublicMintStartBlock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newVaultAddress","type":"address"}],"name":"setVault","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"vault","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"payable","type":"function"}]

600019600881905560095560a06040819052600060808190526200002691600a91620001e7565b5067011c37937e080000600d556000600e556010805460ff191690553480156200004f57600080fd5b5060405162002f9b38038062002f9b83398101604081905262000072916200028d565b6040518060400160405280600a81526020016953656d6953757065727360b01b8152506040518060400160405280600a81526020016953454d4953555045525360b01b8152508160009080519060200190620000d0929190620001e7565b508051620000e6906001906020840190620001e7565b50505062000103620000fd6200011a60201b60201c565b6200011e565b6001600755620001138162000170565b50620003e4565b3390565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6200017a6200011a565b6001600160a01b03166200018d620001d8565b6001600160a01b031614620001bf5760405162461bcd60e51b8152600401620001b6906200035c565b60405180910390fd5b8051620001d490600b906020840190620001e7565b5050565b6006546001600160a01b031690565b828054620001f59062000391565b90600052602060002090601f01602090048101928262000219576000855562000264565b82601f106200023457805160ff191683800117855562000264565b8280016001018555821562000264579182015b828111156200026457825182559160200191906001019062000247565b506200027292915062000276565b5090565b5b8082111562000272576000815560010162000277565b60006020808385031215620002a0578182fd5b82516001600160401b0380821115620002b7578384fd5b818501915085601f830112620002cb578384fd5b815181811115620002e057620002e0620003ce565b604051601f8201601f1916810185018381118282101715620003065762000306620003ce565b60405281815283820185018810156200031d578586fd5b8592505b8183101562000340578383018501518184018601529184019162000321565b818311156200035157858583830101525b979650505050505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600281046001821680620003a657607f821691505b60208210811415620003c857634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b612ba780620003f46000396000f3fe6080604052600436106102665760003560e01c806395d89b4111610144578063d1beda46116100b6578063e985e9c51161007a578063e985e9c514610693578063f0c9dc60146106b3578063f2fde38b146106c8578063f95df414146106e8578063fbfa77cf14610708578063fce531df1461071d57610266565b8063d1beda4614610616578063d41478fa14610629578063d7a1155b14610649578063da0239a61461065e578063e2239ff41461067357610266565b8063a0712d6811610108578063a0712d6814610579578063a22cb4651461058c578063a9722cf3146105ac578063b88d4fde146105c1578063c87b56dd146105e1578063cfc86f7b1461060157610266565b806395d89b41146105055780639727151a1461051a5780639bb4fc451461053a5780639d9578521461054f578063a035b1fe1461056457610266565b80633a85f9fd116101dd57806370a08231116101a157806370a0823114610473578063715018a614610493578063819b25ba146104a8578063853828b6146104c85780638da5cb5b146104d057806391b7f5ed146104e557610266565b80633a85f9fd146103d357806342842e0e146103f357806355f804b3146104135780636352211e146104335780636817031b1461045357610266565b8063109695231161022f578063109695231461032757806318160ddd1461034757806323b872dd14610369578063293108e0146103895780632e1a7d4d1461039e57806332cb6b0c146103be57610266565b8062c236a91461026b57806301ffc9a71461029657806306fdde03146102b6578063081812fc146102d8578063095ea7b314610305575b600080fd5b34801561027757600080fd5b5061028061073d565b60405161028d9190612286565b60405180910390f35b3480156102a257600080fd5b506102806102b1366004612034565b610747565b3480156102c257600080fd5b506102cb61078f565b60405161028d919061229a565b3480156102e457600080fd5b506102f86102f3366004611fd2565b610821565b60405161028d919061221c565b34801561031157600080fd5b50610325610320366004611f6f565b61086d565b005b34801561033357600080fd5b5061032561034236600461206c565b610905565b34801561035357600080fd5b5061035c61095b565b60405161028d9190612291565b34801561037557600080fd5b50610325610384366004611e85565b610961565b34801561039557600080fd5b5061035c610999565b3480156103aa57600080fd5b506103256103b9366004611fd2565b61099f565b3480156103ca57600080fd5b5061035c610a3b565b3480156103df57600080fd5b506102806103ee366004611fea565b610a41565b3480156103ff57600080fd5b5061032561040e366004611e85565b610ada565b34801561041f57600080fd5b5061032561042e36600461206c565b610af5565b34801561043f57600080fd5b506102f861044e366004611fd2565b610b47565b34801561045f57600080fd5b5061032561046e366004611e31565b610b7c565b34801561047f57600080fd5b5061035c61048e366004611e31565b610bdd565b34801561049f57600080fd5b50610325610c21565b3480156104b457600080fd5b506103256104c3366004611fd2565b610c62565b610325610d3d565b3480156104dc57600080fd5b506102f8610dd5565b3480156104f157600080fd5b50610325610500366004611fd2565b610de4565b34801561051157600080fd5b506102cb610e4d565b34801561052657600080fd5b50610325610535366004611f6f565b610e5c565b34801561054657600080fd5b5061035c610f36565b34801561055b57600080fd5b5061035c610f3c565b34801561057057600080fd5b5061035c610f42565b610325610587366004611fd2565b610f48565b34801561059857600080fd5b506103256105a7366004611f42565b610fa5565b3480156105b857600080fd5b50610280611073565b3480156105cd57600080fd5b506103256105dc366004611ec5565b61107c565b3480156105ed57600080fd5b506102cb6105fc366004611fd2565b6110bb565b34801561060d57600080fd5b506102cb611114565b6103256106243660046120b2565b6111a2565b34801561063557600080fd5b50610325610644366004611fd2565b6112aa565b34801561065557600080fd5b5061035c6112ee565b34801561066a57600080fd5b5061035c6112f4565b34801561067f57600080fd5b5061032561068e366004611f9a565b61131e565b34801561069f57600080fd5b506102806106ae366004611e4d565b61138a565b3480156106bf57600080fd5b506102cb6113b8565b3480156106d457600080fd5b506103256106e3366004611e31565b6113c5565b3480156106f457600080fd5b50610325610703366004611fd2565b611433565b34801561071457600080fd5b506102f8611477565b34801561072957600080fd5b50610325610738366004611fd2565b611486565b6009544310155b90565b60006001600160e01b031982166380ac58cd60e01b148061077857506001600160e01b03198216635b5e139f60e01b145b806107875750610787826114ca565b90505b919050565b60606000805461079e90612a8c565b80601f01602080910402602001604051908101604052809291908181526020018280546107ca90612a8c565b80156108175780601f106107ec57610100808354040283529160200191610817565b820191906000526020600020905b8154815290600101906020018083116107fa57829003601f168201915b5050505050905090565b600061082c826114e3565b6108515760405162461bcd60e51b8152600401610848906126cb565b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061087882610b47565b9050806001600160a01b0316836001600160a01b031614156108ac5760405162461bcd60e51b815260040161084890612876565b806001600160a01b03166108be611500565b6001600160a01b031614806108da57506108da816106ae611500565b6108f65760405162461bcd60e51b81526004016108489061254d565b6109008383611504565b505050565b61090d611500565b6001600160a01b031661091e610dd5565b6001600160a01b0316146109445760405162461bcd60e51b815260040161084890612717565b805161095790600a906020840190611cdf565b5050565b600e5490565b61097261096c611500565b82611572565b61098e5760405162461bcd60e51b8152600401610848906128b7565b6109008383836115f7565b600f5481565b6109a7611500565b6001600160a01b03166109b8610dd5565b6001600160a01b0316146109de5760405162461bcd60e51b815260040161084890612717565b600c546001600160a01b0316610a065760405162461bcd60e51b8152600401610848906126a9565b600c546040516001600160a01b039091169082156108fc029083906000818181858888f19350505050610a3857600080fd5b50565b6115b381565b60008033604051602001610a55919061214b565b604051602081830303815290604052805190602001209050848114610a7e576000915050610ad3565b610abf84848080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600f549150889050611724565b610acd576000915050610ad3565b60019150505b9392505050565b6109008383836040518060200160405280600081525061107c565b610afd611500565b6001600160a01b0316610b0e610dd5565b6001600160a01b031614610b345760405162461bcd60e51b815260040161084890612717565b805161095790600b906020840190611cdf565b6000818152600260205260408120546001600160a01b0316806107875760405162461bcd60e51b81526004016108489061262b565b610b84611500565b6001600160a01b0316610b95610dd5565b6001600160a01b031614610bbb5760405162461bcd60e51b815260040161084890612717565b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b60006001600160a01b038216610c055760405162461bcd60e51b8152600401610848906125e1565b506001600160a01b031660009081526003602052604090205490565b610c29611500565b6001600160a01b0316610c3a610dd5565b6001600160a01b031614610c605760405162461bcd60e51b815260040161084890612717565b565b610c6a611500565b6001600160a01b0316610c7b610dd5565b6001600160a01b031614610ca15760405162461bcd60e51b815260040161084890612717565b608281600e54610cb191906129fe565b1115610ccf5760405162461bcd60e51b8152600401610848906122ad565b610cd761073d565b15610cf45760405162461bcd60e51b81526004016108489061252b565b60005b8181101561095757610d12610d0a610dd5565b600e546117df565b6001600e6000828254610d2591906129fe565b90915550819050610d3581612ac7565b915050610cf7565b610d45611500565b6001600160a01b0316610d56610dd5565b6001600160a01b031614610d7c5760405162461bcd60e51b815260040161084890612717565b600c546001600160a01b0316610da45760405162461bcd60e51b8152600401610848906126a9565b600c546040516001600160a01b03909116904780156108fc02916000818181858888f19350505050610c6057600080fd5b6006546001600160a01b031690565b610dec611500565b6001600160a01b0316610dfd610dd5565b6001600160a01b031614610e235760405162461bcd60e51b815260040161084890612717565b610e2b61073d565b15610e485760405162461bcd60e51b815260040161084890612967565b600d55565b60606001805461079e90612a8c565b610e64611500565b6001600160a01b0316610e75610dd5565b6001600160a01b031614610e9b5760405162461bcd60e51b815260040161084890612717565b600c546001600160a01b0316610eb057600080fd5b600c5460405163a9059cbb60e01b81526001600160a01b038481169263a9059cbb92610ee49290911690859060040161226d565b602060405180830381600087803b158015610efe57600080fd5b505af1158015610f12573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109009190611fb6565b60085481565b60095481565b600d5481565b60026007541415610f6b5760405162461bcd60e51b8152600401610848906129bb565b6002600755610f78611073565b610f945760405162461bcd60e51b8152600401610848906124b5565b610f9d816117f9565b506001600755565b610fad611500565b6001600160a01b0316826001600160a01b03161415610fde5760405162461bcd60e51b81526004016108489061247e565b8060056000610feb611500565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff19169215159290921790915561102f611500565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516110679190612286565b60405180910390a35050565b60085443101590565b61108d611087611500565b83611572565b6110a95760405162461bcd60e51b8152600401610848906128b7565b6110b58484848461190c565b50505050565b60606110c6826114e3565b6110e25760405162461bcd60e51b8152600401610848906127ca565b600b6110ed8361193f565b6040516020016110fe929190612176565b6040516020818303038152906040529050919050565b600b805461112190612a8c565b80601f016020809104026020016040519081016040528092919081815260200182805461114d90612a8c565b801561119a5780601f1061116f5761010080835404028352916020019161119a565b820191906000526020600020905b81548152906001019060200180831161117d57829003601f168201915b505050505081565b600260075414156111c55760405162461bcd60e51b8152600401610848906129bb565b60026007556111d261073d565b6111ee5760405162461bcd60e51b8152600401610848906124b5565b600033604051602001611201919061214b565b6040516020818303038152906040528051906020012090508381146112385760405162461bcd60e51b815260040161084890612908565b61127983838080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600f549150879050611724565b6112955760405162461bcd60e51b81526004016108489061293f565b61129e856117f9565b50506001600755505050565b6112b2611500565b6001600160a01b03166112c3610dd5565b6001600160a01b0316146112e95760405162461bcd60e51b815260040161084890612717565b600955565b600e5481565b60105460009060ff161561130a57506000610744565b600e54611319906115b3612a49565b905090565b611326611500565b6001600160a01b0316611337610dd5565b6001600160a01b03161461135d5760405162461bcd60e51b815260040161084890612717565b8061137a5760405162461bcd60e51b8152600401610848906125aa565b506010805460ff19166001179055565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b600a805461112190612a8c565b6113cd611500565b6001600160a01b03166113de610dd5565b6001600160a01b0316146114045760405162461bcd60e51b815260040161084890612717565b6001600160a01b03811661142a5760405162461bcd60e51b8152600401610848906123bd565b610a3881611a5a565b61143b611500565b6001600160a01b031661144c610dd5565b6001600160a01b0316146114725760405162461bcd60e51b815260040161084890612717565b600f55565b600c546001600160a01b031681565b61148e611500565b6001600160a01b031661149f610dd5565b6001600160a01b0316146114c55760405162461bcd60e51b815260040161084890612717565b600855565b6001600160e01b031981166301ffc9a760e01b14919050565b6000908152600260205260409020546001600160a01b0316151590565b3390565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061153982610b47565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061157d826114e3565b6115995760405162461bcd60e51b8152600401610848906124df565b60006115a483610b47565b9050806001600160a01b0316846001600160a01b031614806115df5750836001600160a01b03166115d484610821565b6001600160a01b0316145b806115ef57506115ef818561138a565b949350505050565b826001600160a01b031661160a82610b47565b6001600160a01b0316146116305760405162461bcd60e51b815260040161084890612781565b6001600160a01b0382166116565760405162461bcd60e51b81526004016108489061243a565b611661838383610900565b61166c600082611504565b6001600160a01b0383166000908152600360205260408120805460019290611695908490612a49565b90915550506001600160a01b03821660009081526003602052604081208054600192906116c39084906129fe565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600081815b85518110156117d457600086828151811061175457634e487b7160e01b600052603260045260246000fd5b60200260200101519050808311611795578281604051602001611778929190612168565b6040516020818303038152906040528051906020012092506117c1565b80836040516020016117a8929190612168565b6040516020818303038152906040528051906020012092505b50806117cc81612ac7565b915050611729565b509092149392505050565b610957828260405180602001604052806000815250611aac565b60105460ff161561181c5760405162461bcd60e51b815260040161084890612819565b6115b3600e541061183f5760405162461bcd60e51b81526004016108489061283f565b600081118015611850575060148111155b61186c5760405162461bcd60e51b815260040161084890612334565b6115b381600e5461187d91906129fe565b111561189b5760405162461bcd60e51b8152600401610848906122e4565b80600d546118a99190612a2a565b34146118c75760405162461bcd60e51b81526004016108489061274c565b60005b8181101561095757600e546118df33826117df565b6001600e60008282546118f291906129fe565b90915550829150611904905081612ac7565b9150506118ca565b6119178484846115f7565b61192384848484611adf565b6110b55760405162461bcd60e51b81526004016108489061236b565b60608161196457506040805180820190915260018152600360fc1b602082015261078a565b8160005b811561198e578061197881612ac7565b91506119879050600a83612a16565b9150611968565b60008167ffffffffffffffff8111156119b757634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156119e1576020820181803683370190505b5090505b84156115ef576119f6600183612a49565b9150611a03600a86612ae2565b611a0e9060306129fe565b60f81b818381518110611a3157634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350611a53600a86612a16565b94506119e5565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b611ab68383611bfa565b611ac36000848484611adf565b6109005760405162461bcd60e51b81526004016108489061236b565b6000611af3846001600160a01b0316611cd9565b15611bef57836001600160a01b031663150b7a02611b0f611500565b8786866040518563ffffffff1660e01b8152600401611b319493929190612230565b602060405180830381600087803b158015611b4b57600080fd5b505af1925050508015611b7b575060408051601f3d908101601f19168201909252611b7891810190612050565b60015b611bd5573d808015611ba9576040519150601f19603f3d011682016040523d82523d6000602084013e611bae565b606091505b508051611bcd5760405162461bcd60e51b81526004016108489061236b565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506115ef565b506001949350505050565b6001600160a01b038216611c205760405162461bcd60e51b815260040161084890612674565b611c29816114e3565b15611c465760405162461bcd60e51b815260040161084890612403565b611c5260008383610900565b6001600160a01b0382166000908152600360205260408120805460019290611c7b9084906129fe565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b3b151590565b828054611ceb90612a8c565b90600052602060002090601f016020900481019282611d0d5760008555611d53565b82601f10611d2657805160ff1916838001178555611d53565b82800160010185558215611d53579182015b82811115611d53578251825591602001919060010190611d38565b50611d5f929150611d63565b5090565b5b80821115611d5f5760008155600101611d64565b600067ffffffffffffffff80841115611d9357611d93612b22565b604051601f8501601f191681016020018281118282101715611db757611db7612b22565b604052848152915081838501861015611dcf57600080fd5b8484602083013760006020868301015250509392505050565b60008083601f840112611df9578081fd5b50813567ffffffffffffffff811115611e10578182fd5b6020830191508360208083028501011115611e2a57600080fd5b9250929050565b600060208284031215611e42578081fd5b8135610ad381612b38565b60008060408385031215611e5f578081fd5b8235611e6a81612b38565b91506020830135611e7a81612b38565b809150509250929050565b600080600060608486031215611e99578081fd5b8335611ea481612b38565b92506020840135611eb481612b38565b929592945050506040919091013590565b60008060008060808587031215611eda578081fd5b8435611ee581612b38565b93506020850135611ef581612b38565b925060408501359150606085013567ffffffffffffffff811115611f17578182fd5b8501601f81018713611f27578182fd5b611f3687823560208401611d78565b91505092959194509250565b60008060408385031215611f54578182fd5b8235611f5f81612b38565b91506020830135611e7a81612b4d565b60008060408385031215611f81578182fd5b8235611f8c81612b38565b946020939093013593505050565b600060208284031215611fab578081fd5b8135610ad381612b4d565b600060208284031215611fc7578081fd5b8151610ad381612b4d565b600060208284031215611fe3578081fd5b5035919050565b600080600060408486031215611ffe578283fd5b83359250602084013567ffffffffffffffff81111561201b578283fd5b61202786828701611de8565b9497909650939450505050565b600060208284031215612045578081fd5b8135610ad381612b5b565b600060208284031215612061578081fd5b8151610ad381612b5b565b60006020828403121561207d578081fd5b813567ffffffffffffffff811115612093578182fd5b8201601f810184136120a3578182fd5b6115ef84823560208401611d78565b600080600080606085870312156120c7578182fd5b8435935060208501359250604085013567ffffffffffffffff8111156120eb578283fd5b6120f787828801611de8565b95989497509550505050565b6000815180845261211b816020860160208601612a60565b601f01601f19169290920160200192915050565b60008151612141818560208601612a60565b9290920192915050565b60609190911b6bffffffffffffffffffffffff1916815260140190565b918252602082015260400190565b825460009081906002810460018083168061219257607f831692505b60208084108214156121b257634e487b7160e01b87526022600452602487fd5b8180156121c657600181146121d757612203565b60ff19861689528489019650612203565b6121e08b6129f2565b885b868110156121fb5781548b8201529085019083016121e2565b505084890196505b505050505050612213818561212f565b95945050505050565b6001600160a01b0391909116815260200190565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061226390830184612103565b9695505050505050565b6001600160a01b03929092168252602082015260400190565b901515815260200190565b90815260200190565b600060208252610ad36020830184612103565b60208082526018908201527f457863656564656420726573657276656420737570706c790000000000000000604082015260600190565b60208082526030908201527f49276d2061667261696420796f7527726520747279696e6720746f206d696e7460408201526f20746f6f206d616e792073757065727360801b606082015260800190565b60208082526018908201527f4d696e742066726f6d203120746f203230207375706572730000000000000000604082015260600190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252601c908201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604082015260600190565b60208082526024908201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646040820152637265737360e01b606082015260800190565b60208082526019908201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604082015260600190565b60208082526010908201526f135a5b9d081b9bdd081cdd185c9d195960821b604082015260600190565b6020808252602c908201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b602080825260089082015267546f6f206c61746560c01b604082015260600190565b60208082526038908201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760408201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606082015260800190565b6020808252601e908201527f596f7520646f6e2774207365656d20737572652061626f757420746869730000604082015260600190565b6020808252602a908201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604082015269726f206164647265737360b01b606082015260800190565b60208082526029908201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460408201526832b73a103a37b5b2b760b91b606082015260800190565b6020808252818101527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604082015260600190565b6020808252600890820152671b9bc81d985d5b1d60c21b604082015260600190565b6020808252602c908201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252818101527f45746865722076616c75652073656e74206973206e6f74206163637572617465604082015260600190565b60208082526029908201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960408201526839903737ba1037bbb760b91b606082015260800190565b6020808252602f908201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60408201526e3732bc34b9ba32b73a103a37b5b2b760891b606082015260800190565b6020808252600c908201526b26b4b73a1034b99037bb32b960a11b604082015260600190565b6020808252601b908201527f416c6c205375706572732068617665206265656e206d696e7465640000000000604082015260600190565b60208082526021908201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656040820152603960f91b606082015260800190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252601a908201527f4c656166206e6f74206d61746368696e6720746865206e6f6465000000000000604082015260600190565b6020808252600e908201526d24b73b30b634b210383937b7b31760911b604082015260600190565b60208082526034908201527f50726963652063616e6e6f74206265206368616e676564206f6e636520746865604082015273081b5a5b9d1a5b99c81a185cc81cdd185c9d195960621b606082015260800190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b60009081526020902090565b60008219821115612a1157612a11612af6565b500190565b600082612a2557612a25612b0c565b500490565b6000816000190483118215151615612a4457612a44612af6565b500290565b600082821015612a5b57612a5b612af6565b500390565b60005b83811015612a7b578181015183820152602001612a63565b838111156110b55750506000910152565b600281046001821680612aa057607f821691505b60208210811415612ac157634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415612adb57612adb612af6565b5060010190565b600082612af157612af1612b0c565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114610a3857600080fd5b8015158114610a3857600080fd5b6001600160e01b031981168114610a3857600080fdfea26469706673582212201432e384b6a7ca7ac870921165c10794222d91de549fdec315b17f2022d4841b64736f6c634300080000330000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000770656e64696e6700000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106102665760003560e01c806395d89b4111610144578063d1beda46116100b6578063e985e9c51161007a578063e985e9c514610693578063f0c9dc60146106b3578063f2fde38b146106c8578063f95df414146106e8578063fbfa77cf14610708578063fce531df1461071d57610266565b8063d1beda4614610616578063d41478fa14610629578063d7a1155b14610649578063da0239a61461065e578063e2239ff41461067357610266565b8063a0712d6811610108578063a0712d6814610579578063a22cb4651461058c578063a9722cf3146105ac578063b88d4fde146105c1578063c87b56dd146105e1578063cfc86f7b1461060157610266565b806395d89b41146105055780639727151a1461051a5780639bb4fc451461053a5780639d9578521461054f578063a035b1fe1461056457610266565b80633a85f9fd116101dd57806370a08231116101a157806370a0823114610473578063715018a614610493578063819b25ba146104a8578063853828b6146104c85780638da5cb5b146104d057806391b7f5ed146104e557610266565b80633a85f9fd146103d357806342842e0e146103f357806355f804b3146104135780636352211e146104335780636817031b1461045357610266565b8063109695231161022f578063109695231461032757806318160ddd1461034757806323b872dd14610369578063293108e0146103895780632e1a7d4d1461039e57806332cb6b0c146103be57610266565b8062c236a91461026b57806301ffc9a71461029657806306fdde03146102b6578063081812fc146102d8578063095ea7b314610305575b600080fd5b34801561027757600080fd5b5061028061073d565b60405161028d9190612286565b60405180910390f35b3480156102a257600080fd5b506102806102b1366004612034565b610747565b3480156102c257600080fd5b506102cb61078f565b60405161028d919061229a565b3480156102e457600080fd5b506102f86102f3366004611fd2565b610821565b60405161028d919061221c565b34801561031157600080fd5b50610325610320366004611f6f565b61086d565b005b34801561033357600080fd5b5061032561034236600461206c565b610905565b34801561035357600080fd5b5061035c61095b565b60405161028d9190612291565b34801561037557600080fd5b50610325610384366004611e85565b610961565b34801561039557600080fd5b5061035c610999565b3480156103aa57600080fd5b506103256103b9366004611fd2565b61099f565b3480156103ca57600080fd5b5061035c610a3b565b3480156103df57600080fd5b506102806103ee366004611fea565b610a41565b3480156103ff57600080fd5b5061032561040e366004611e85565b610ada565b34801561041f57600080fd5b5061032561042e36600461206c565b610af5565b34801561043f57600080fd5b506102f861044e366004611fd2565b610b47565b34801561045f57600080fd5b5061032561046e366004611e31565b610b7c565b34801561047f57600080fd5b5061035c61048e366004611e31565b610bdd565b34801561049f57600080fd5b50610325610c21565b3480156104b457600080fd5b506103256104c3366004611fd2565b610c62565b610325610d3d565b3480156104dc57600080fd5b506102f8610dd5565b3480156104f157600080fd5b50610325610500366004611fd2565b610de4565b34801561051157600080fd5b506102cb610e4d565b34801561052657600080fd5b50610325610535366004611f6f565b610e5c565b34801561054657600080fd5b5061035c610f36565b34801561055b57600080fd5b5061035c610f3c565b34801561057057600080fd5b5061035c610f42565b610325610587366004611fd2565b610f48565b34801561059857600080fd5b506103256105a7366004611f42565b610fa5565b3480156105b857600080fd5b50610280611073565b3480156105cd57600080fd5b506103256105dc366004611ec5565b61107c565b3480156105ed57600080fd5b506102cb6105fc366004611fd2565b6110bb565b34801561060d57600080fd5b506102cb611114565b6103256106243660046120b2565b6111a2565b34801561063557600080fd5b50610325610644366004611fd2565b6112aa565b34801561065557600080fd5b5061035c6112ee565b34801561066a57600080fd5b5061035c6112f4565b34801561067f57600080fd5b5061032561068e366004611f9a565b61131e565b34801561069f57600080fd5b506102806106ae366004611e4d565b61138a565b3480156106bf57600080fd5b506102cb6113b8565b3480156106d457600080fd5b506103256106e3366004611e31565b6113c5565b3480156106f457600080fd5b50610325610703366004611fd2565b611433565b34801561071457600080fd5b506102f8611477565b34801561072957600080fd5b50610325610738366004611fd2565b611486565b6009544310155b90565b60006001600160e01b031982166380ac58cd60e01b148061077857506001600160e01b03198216635b5e139f60e01b145b806107875750610787826114ca565b90505b919050565b60606000805461079e90612a8c565b80601f01602080910402602001604051908101604052809291908181526020018280546107ca90612a8c565b80156108175780601f106107ec57610100808354040283529160200191610817565b820191906000526020600020905b8154815290600101906020018083116107fa57829003601f168201915b5050505050905090565b600061082c826114e3565b6108515760405162461bcd60e51b8152600401610848906126cb565b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061087882610b47565b9050806001600160a01b0316836001600160a01b031614156108ac5760405162461bcd60e51b815260040161084890612876565b806001600160a01b03166108be611500565b6001600160a01b031614806108da57506108da816106ae611500565b6108f65760405162461bcd60e51b81526004016108489061254d565b6109008383611504565b505050565b61090d611500565b6001600160a01b031661091e610dd5565b6001600160a01b0316146109445760405162461bcd60e51b815260040161084890612717565b805161095790600a906020840190611cdf565b5050565b600e5490565b61097261096c611500565b82611572565b61098e5760405162461bcd60e51b8152600401610848906128b7565b6109008383836115f7565b600f5481565b6109a7611500565b6001600160a01b03166109b8610dd5565b6001600160a01b0316146109de5760405162461bcd60e51b815260040161084890612717565b600c546001600160a01b0316610a065760405162461bcd60e51b8152600401610848906126a9565b600c546040516001600160a01b039091169082156108fc029083906000818181858888f19350505050610a3857600080fd5b50565b6115b381565b60008033604051602001610a55919061214b565b604051602081830303815290604052805190602001209050848114610a7e576000915050610ad3565b610abf84848080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600f549150889050611724565b610acd576000915050610ad3565b60019150505b9392505050565b6109008383836040518060200160405280600081525061107c565b610afd611500565b6001600160a01b0316610b0e610dd5565b6001600160a01b031614610b345760405162461bcd60e51b815260040161084890612717565b805161095790600b906020840190611cdf565b6000818152600260205260408120546001600160a01b0316806107875760405162461bcd60e51b81526004016108489061262b565b610b84611500565b6001600160a01b0316610b95610dd5565b6001600160a01b031614610bbb5760405162461bcd60e51b815260040161084890612717565b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b60006001600160a01b038216610c055760405162461bcd60e51b8152600401610848906125e1565b506001600160a01b031660009081526003602052604090205490565b610c29611500565b6001600160a01b0316610c3a610dd5565b6001600160a01b031614610c605760405162461bcd60e51b815260040161084890612717565b565b610c6a611500565b6001600160a01b0316610c7b610dd5565b6001600160a01b031614610ca15760405162461bcd60e51b815260040161084890612717565b608281600e54610cb191906129fe565b1115610ccf5760405162461bcd60e51b8152600401610848906122ad565b610cd761073d565b15610cf45760405162461bcd60e51b81526004016108489061252b565b60005b8181101561095757610d12610d0a610dd5565b600e546117df565b6001600e6000828254610d2591906129fe565b90915550819050610d3581612ac7565b915050610cf7565b610d45611500565b6001600160a01b0316610d56610dd5565b6001600160a01b031614610d7c5760405162461bcd60e51b815260040161084890612717565b600c546001600160a01b0316610da45760405162461bcd60e51b8152600401610848906126a9565b600c546040516001600160a01b03909116904780156108fc02916000818181858888f19350505050610c6057600080fd5b6006546001600160a01b031690565b610dec611500565b6001600160a01b0316610dfd610dd5565b6001600160a01b031614610e235760405162461bcd60e51b815260040161084890612717565b610e2b61073d565b15610e485760405162461bcd60e51b815260040161084890612967565b600d55565b60606001805461079e90612a8c565b610e64611500565b6001600160a01b0316610e75610dd5565b6001600160a01b031614610e9b5760405162461bcd60e51b815260040161084890612717565b600c546001600160a01b0316610eb057600080fd5b600c5460405163a9059cbb60e01b81526001600160a01b038481169263a9059cbb92610ee49290911690859060040161226d565b602060405180830381600087803b158015610efe57600080fd5b505af1158015610f12573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109009190611fb6565b60085481565b60095481565b600d5481565b60026007541415610f6b5760405162461bcd60e51b8152600401610848906129bb565b6002600755610f78611073565b610f945760405162461bcd60e51b8152600401610848906124b5565b610f9d816117f9565b506001600755565b610fad611500565b6001600160a01b0316826001600160a01b03161415610fde5760405162461bcd60e51b81526004016108489061247e565b8060056000610feb611500565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff19169215159290921790915561102f611500565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516110679190612286565b60405180910390a35050565b60085443101590565b61108d611087611500565b83611572565b6110a95760405162461bcd60e51b8152600401610848906128b7565b6110b58484848461190c565b50505050565b60606110c6826114e3565b6110e25760405162461bcd60e51b8152600401610848906127ca565b600b6110ed8361193f565b6040516020016110fe929190612176565b6040516020818303038152906040529050919050565b600b805461112190612a8c565b80601f016020809104026020016040519081016040528092919081815260200182805461114d90612a8c565b801561119a5780601f1061116f5761010080835404028352916020019161119a565b820191906000526020600020905b81548152906001019060200180831161117d57829003601f168201915b505050505081565b600260075414156111c55760405162461bcd60e51b8152600401610848906129bb565b60026007556111d261073d565b6111ee5760405162461bcd60e51b8152600401610848906124b5565b600033604051602001611201919061214b565b6040516020818303038152906040528051906020012090508381146112385760405162461bcd60e51b815260040161084890612908565b61127983838080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600f549150879050611724565b6112955760405162461bcd60e51b81526004016108489061293f565b61129e856117f9565b50506001600755505050565b6112b2611500565b6001600160a01b03166112c3610dd5565b6001600160a01b0316146112e95760405162461bcd60e51b815260040161084890612717565b600955565b600e5481565b60105460009060ff161561130a57506000610744565b600e54611319906115b3612a49565b905090565b611326611500565b6001600160a01b0316611337610dd5565b6001600160a01b03161461135d5760405162461bcd60e51b815260040161084890612717565b8061137a5760405162461bcd60e51b8152600401610848906125aa565b506010805460ff19166001179055565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b600a805461112190612a8c565b6113cd611500565b6001600160a01b03166113de610dd5565b6001600160a01b0316146114045760405162461bcd60e51b815260040161084890612717565b6001600160a01b03811661142a5760405162461bcd60e51b8152600401610848906123bd565b610a3881611a5a565b61143b611500565b6001600160a01b031661144c610dd5565b6001600160a01b0316146114725760405162461bcd60e51b815260040161084890612717565b600f55565b600c546001600160a01b031681565b61148e611500565b6001600160a01b031661149f610dd5565b6001600160a01b0316146114c55760405162461bcd60e51b815260040161084890612717565b600855565b6001600160e01b031981166301ffc9a760e01b14919050565b6000908152600260205260409020546001600160a01b0316151590565b3390565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061153982610b47565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061157d826114e3565b6115995760405162461bcd60e51b8152600401610848906124df565b60006115a483610b47565b9050806001600160a01b0316846001600160a01b031614806115df5750836001600160a01b03166115d484610821565b6001600160a01b0316145b806115ef57506115ef818561138a565b949350505050565b826001600160a01b031661160a82610b47565b6001600160a01b0316146116305760405162461bcd60e51b815260040161084890612781565b6001600160a01b0382166116565760405162461bcd60e51b81526004016108489061243a565b611661838383610900565b61166c600082611504565b6001600160a01b0383166000908152600360205260408120805460019290611695908490612a49565b90915550506001600160a01b03821660009081526003602052604081208054600192906116c39084906129fe565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600081815b85518110156117d457600086828151811061175457634e487b7160e01b600052603260045260246000fd5b60200260200101519050808311611795578281604051602001611778929190612168565b6040516020818303038152906040528051906020012092506117c1565b80836040516020016117a8929190612168565b6040516020818303038152906040528051906020012092505b50806117cc81612ac7565b915050611729565b509092149392505050565b610957828260405180602001604052806000815250611aac565b60105460ff161561181c5760405162461bcd60e51b815260040161084890612819565b6115b3600e541061183f5760405162461bcd60e51b81526004016108489061283f565b600081118015611850575060148111155b61186c5760405162461bcd60e51b815260040161084890612334565b6115b381600e5461187d91906129fe565b111561189b5760405162461bcd60e51b8152600401610848906122e4565b80600d546118a99190612a2a565b34146118c75760405162461bcd60e51b81526004016108489061274c565b60005b8181101561095757600e546118df33826117df565b6001600e60008282546118f291906129fe565b90915550829150611904905081612ac7565b9150506118ca565b6119178484846115f7565b61192384848484611adf565b6110b55760405162461bcd60e51b81526004016108489061236b565b60608161196457506040805180820190915260018152600360fc1b602082015261078a565b8160005b811561198e578061197881612ac7565b91506119879050600a83612a16565b9150611968565b60008167ffffffffffffffff8111156119b757634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156119e1576020820181803683370190505b5090505b84156115ef576119f6600183612a49565b9150611a03600a86612ae2565b611a0e9060306129fe565b60f81b818381518110611a3157634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350611a53600a86612a16565b94506119e5565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b611ab68383611bfa565b611ac36000848484611adf565b6109005760405162461bcd60e51b81526004016108489061236b565b6000611af3846001600160a01b0316611cd9565b15611bef57836001600160a01b031663150b7a02611b0f611500565b8786866040518563ffffffff1660e01b8152600401611b319493929190612230565b602060405180830381600087803b158015611b4b57600080fd5b505af1925050508015611b7b575060408051601f3d908101601f19168201909252611b7891810190612050565b60015b611bd5573d808015611ba9576040519150601f19603f3d011682016040523d82523d6000602084013e611bae565b606091505b508051611bcd5760405162461bcd60e51b81526004016108489061236b565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506115ef565b506001949350505050565b6001600160a01b038216611c205760405162461bcd60e51b815260040161084890612674565b611c29816114e3565b15611c465760405162461bcd60e51b815260040161084890612403565b611c5260008383610900565b6001600160a01b0382166000908152600360205260408120805460019290611c7b9084906129fe565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b3b151590565b828054611ceb90612a8c565b90600052602060002090601f016020900481019282611d0d5760008555611d53565b82601f10611d2657805160ff1916838001178555611d53565b82800160010185558215611d53579182015b82811115611d53578251825591602001919060010190611d38565b50611d5f929150611d63565b5090565b5b80821115611d5f5760008155600101611d64565b600067ffffffffffffffff80841115611d9357611d93612b22565b604051601f8501601f191681016020018281118282101715611db757611db7612b22565b604052848152915081838501861015611dcf57600080fd5b8484602083013760006020868301015250509392505050565b60008083601f840112611df9578081fd5b50813567ffffffffffffffff811115611e10578182fd5b6020830191508360208083028501011115611e2a57600080fd5b9250929050565b600060208284031215611e42578081fd5b8135610ad381612b38565b60008060408385031215611e5f578081fd5b8235611e6a81612b38565b91506020830135611e7a81612b38565b809150509250929050565b600080600060608486031215611e99578081fd5b8335611ea481612b38565b92506020840135611eb481612b38565b929592945050506040919091013590565b60008060008060808587031215611eda578081fd5b8435611ee581612b38565b93506020850135611ef581612b38565b925060408501359150606085013567ffffffffffffffff811115611f17578182fd5b8501601f81018713611f27578182fd5b611f3687823560208401611d78565b91505092959194509250565b60008060408385031215611f54578182fd5b8235611f5f81612b38565b91506020830135611e7a81612b4d565b60008060408385031215611f81578182fd5b8235611f8c81612b38565b946020939093013593505050565b600060208284031215611fab578081fd5b8135610ad381612b4d565b600060208284031215611fc7578081fd5b8151610ad381612b4d565b600060208284031215611fe3578081fd5b5035919050565b600080600060408486031215611ffe578283fd5b83359250602084013567ffffffffffffffff81111561201b578283fd5b61202786828701611de8565b9497909650939450505050565b600060208284031215612045578081fd5b8135610ad381612b5b565b600060208284031215612061578081fd5b8151610ad381612b5b565b60006020828403121561207d578081fd5b813567ffffffffffffffff811115612093578182fd5b8201601f810184136120a3578182fd5b6115ef84823560208401611d78565b600080600080606085870312156120c7578182fd5b8435935060208501359250604085013567ffffffffffffffff8111156120eb578283fd5b6120f787828801611de8565b95989497509550505050565b6000815180845261211b816020860160208601612a60565b601f01601f19169290920160200192915050565b60008151612141818560208601612a60565b9290920192915050565b60609190911b6bffffffffffffffffffffffff1916815260140190565b918252602082015260400190565b825460009081906002810460018083168061219257607f831692505b60208084108214156121b257634e487b7160e01b87526022600452602487fd5b8180156121c657600181146121d757612203565b60ff19861689528489019650612203565b6121e08b6129f2565b885b868110156121fb5781548b8201529085019083016121e2565b505084890196505b505050505050612213818561212f565b95945050505050565b6001600160a01b0391909116815260200190565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061226390830184612103565b9695505050505050565b6001600160a01b03929092168252602082015260400190565b901515815260200190565b90815260200190565b600060208252610ad36020830184612103565b60208082526018908201527f457863656564656420726573657276656420737570706c790000000000000000604082015260600190565b60208082526030908201527f49276d2061667261696420796f7527726520747279696e6720746f206d696e7460408201526f20746f6f206d616e792073757065727360801b606082015260800190565b60208082526018908201527f4d696e742066726f6d203120746f203230207375706572730000000000000000604082015260600190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252601c908201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604082015260600190565b60208082526024908201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646040820152637265737360e01b606082015260800190565b60208082526019908201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604082015260600190565b60208082526010908201526f135a5b9d081b9bdd081cdd185c9d195960821b604082015260600190565b6020808252602c908201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b602080825260089082015267546f6f206c61746560c01b604082015260600190565b60208082526038908201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760408201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606082015260800190565b6020808252601e908201527f596f7520646f6e2774207365656d20737572652061626f757420746869730000604082015260600190565b6020808252602a908201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604082015269726f206164647265737360b01b606082015260800190565b60208082526029908201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460408201526832b73a103a37b5b2b760b91b606082015260800190565b6020808252818101527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604082015260600190565b6020808252600890820152671b9bc81d985d5b1d60c21b604082015260600190565b6020808252602c908201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252818101527f45746865722076616c75652073656e74206973206e6f74206163637572617465604082015260600190565b60208082526029908201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960408201526839903737ba1037bbb760b91b606082015260800190565b6020808252602f908201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60408201526e3732bc34b9ba32b73a103a37b5b2b760891b606082015260800190565b6020808252600c908201526b26b4b73a1034b99037bb32b960a11b604082015260600190565b6020808252601b908201527f416c6c205375706572732068617665206265656e206d696e7465640000000000604082015260600190565b60208082526021908201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656040820152603960f91b606082015260800190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252601a908201527f4c656166206e6f74206d61746368696e6720746865206e6f6465000000000000604082015260600190565b6020808252600e908201526d24b73b30b634b210383937b7b31760911b604082015260600190565b60208082526034908201527f50726963652063616e6e6f74206265206368616e676564206f6e636520746865604082015273081b5a5b9d1a5b99c81a185cc81cdd185c9d195960621b606082015260800190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b60009081526020902090565b60008219821115612a1157612a11612af6565b500190565b600082612a2557612a25612b0c565b500490565b6000816000190483118215151615612a4457612a44612af6565b500290565b600082821015612a5b57612a5b612af6565b500390565b60005b83811015612a7b578181015183820152602001612a63565b838111156110b55750506000910152565b600281046001821680612aa057607f821691505b60208210811415612ac157634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415612adb57612adb612af6565b5060010190565b600082612af157612af1612b0c565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114610a3857600080fd5b8015158114610a3857600080fd5b6001600160e01b031981168114610a3857600080fdfea26469706673582212201432e384b6a7ca7ac870921165c10794222d91de549fdec315b17f2022d4841b64736f6c63430008000033

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

0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000770656e64696e6700000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : baseURI (string): pending

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000007
Arg [2] : 70656e64696e6700000000000000000000000000000000000000000000000000


Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.