ETH Price: $2,954.32 (-3.61%)
Gas: 2 Gwei

Token

Walking Between Worlds (WBW)
 

Overview

Max Total Supply

178 WBW

Holders

34

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
2 WBW
0x31f7d87f5f6a90f8a9ff6328e2c607b637f9c157
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

In a world ravaged by crisis, mission is to energies global Indigenous communities to amplify Nations powerful, guiding voices through NFTs.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
WalkingBetweenWorlds

Compiler Version
v0.8.2+commit.661d1103

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 19 : WalkingBetweenWorlds.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.2;

import "../ContextMixin.sol";

import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Burnable.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Counters.sol";

contract WalkingBetweenWorlds is ERC721, ContextMixin, ERC721Enumerable, ReentrancyGuard, ERC721URIStorage, ERC721Burnable, Pausable, Ownable {

    using Strings for uint256;
    using Counters for Counters.Counter;

    ///////////////////////////////////////////////////////////////////////
    // MODIFIERS
    ///////////////////////////////////////////////////////////////////////

    modifier notContract() {
        require( msg.sender == tx.origin, "Transactions from smart contracts not allowed" );
        _;
    }

    ///////////////////////////////////////////////////////////////////////
    // EVENTS
    ///////////////////////////////////////////////////////////////////////

    event Mint( address to, uint256 qty, uint256[] tokenIds );

    ///////////////////////////////////////////////////////////////////////
    // VARS
    ///////////////////////////////////////////////////////////////////////

    // Sale phases
    enum Phases { VIP, Presale, Public }
    Phases private _currentPhase = Phases.VIP;

    // Collection size
    uint256 public constant SUPPLY_LIMIT = 2222;

    // VIP quantity of 1 = x tokens
    uint256 public tokensPerVipMint = 16;
    uint256 public maxVipListSize = 25;
    uint256 public vipListSize = 0;

    // Reserved for giveaway
    uint256 public totalReserved = 222;

    // Mint limit
    uint256 public mintLimit = 16;

    // Price
    uint256 public mintPrice = 0.0625 * 10 ** 18 wei;

    // A limit per wallet address for actual minting (not giveaways etc)
    mapping( address => uint256 ) private _vipMintCount;
    mapping( address => uint256 ) private _presaleMintCount;
    mapping( address => uint256 ) private _publicMintCount;

    // Token IDs
    Counters.Counter private _tokenIdCounter;

    // Withdraw addresses
    address public withdrawAddress;

    // Access lists
    mapping( address => bool ) private _vipList;
    mapping( address => bool ) private _presaleList;

    string private _metadataBase = "https://metadata.walkingbetweenworlds.net/?token_id=";

    ///////////////////////////////////////////////////////////////////////
    // CONSTRUCTOR
    ///////////////////////////////////////////////////////////////////////

    constructor() ERC721( "Walking Between Worlds", "WBW" ) {
        _tokenIdCounter.increment();// start token ID at 1
        _pause();// start paused
    }


    ///////////////////////////////////////////////////////////////////////
    // SETTINGS / MISC
    ///////////////////////////////////////////////////////////////////////

    function pause() public onlyOwner {
        _pause();
    }

    function unpause() public onlyOwner {
        _unpause();
    }

    // change with each phase, or in case ETH does something crazy
    function setMintPrice( uint256 newPrice ) external onlyOwner {
        mintPrice = newPrice;
    }

    // will change with each phase
    function setMintLimit( uint256 newLimit ) external onlyOwner {
        mintLimit = newLimit;
    }

    // for reveal
    function setMetadataBase( string memory newBase ) external onlyOwner {
        _metadataBase = newBase;
    }


    ///////////////////////////////////////////////////////////////////////
    // VIP
    ///////////////////////////////////////////////////////////////////////

    function addToVipList( address[] calldata accounts ) external onlyOwner {
        require( vipListSize + accounts.length - 1 < maxVipListSize, "This number of accounts will exceed maxVipListSize" );
        for (uint256 i = 0; i < accounts.length; ++i) {
            _vipList[ accounts[i] ] = true;
            vipListSize++;
        }
    }

    function removeFromVipList( address[] calldata accounts ) external onlyOwner {
        for (uint256 i = 0; i < accounts.length; ++i) {
            _vipList[ accounts[i] ] = false;
            vipListSize--;
        }
    }

    function isOnVipList( address account ) public view returns (bool) {
        return _vipList[ account ];
    }

    function totalMintedVip( address account ) public view returns (uint256) {
        return _vipMintCount[ account ];
    }

    function setMaxVipListSize( uint256 newMax ) external onlyOwner {
        maxVipListSize = newMax;
    }

    function setVipPhase() external onlyOwner {
        _currentPhase = Phases.VIP;
    }

    function setVipPhaseWithOptions( uint256 newMintLimit, uint256 newMintPrice ) external onlyOwner {
        _currentPhase = Phases.VIP;
        mintLimit = newMintLimit;
        mintPrice = newMintPrice;
    }

    function isVipPhase() public view returns (bool) {
        return _currentPhase == Phases.VIP;
    }

    function setTokensPerVipMint( uint256 newAmount ) external onlyOwner {
        tokensPerVipMint = newAmount;
    }

    function vipMint( uint256 numberOfTokens ) nonReentrant notContract whenNotPaused external payable {
        require( _currentPhase == Phases.VIP, "vipMint can only be called during VIP phase" );
        require( isOnVipList( msg.sender ), "Account not on VIP list" );
        require( numberOfTokens == tokensPerVipMint , "Invalid number of tokens for vipMint" );

        uint256 totalMinted = totalMintedVip( msg.sender );
        require( totalMinted < mintLimit, "VIP mint limit reached for this account" );
        // using the -1 to avoid a <= check
        require( totalMinted + numberOfTokens - 1 < mintLimit, "Quantity puts this account over VIP mint limit" );
        require( totalSupply() + totalReserved + numberOfTokens - 1 < SUPPLY_LIMIT, "Not enough VIP tokens left" );

        uint256 cost = mintPrice * numberOfTokens;
        require( msg.value == cost, "Payment amount is incorrect" );

        uint256[] memory tokenIds = new uint256[](numberOfTokens);
        for(uint256 i = 0; i < numberOfTokens; i++) {
            uint256 tokenId = _tokenIdCounter.current();
            tokenIds[i] = tokenId;
            _tokenIdCounter.increment();

            _vipMintCount[ msg.sender ] += 1;
            _safeMint( msg.sender, tokenId );

            _setTokenURI( tokenId, tokenId.toString() );
        }

        emit Mint( msg.sender, numberOfTokens, tokenIds );
    }

    ///////////////////////////////////////////////////////////////////////
    // PRE-SALE
    ///////////////////////////////////////////////////////////////////////

    function addToPresaleList( address[] calldata accounts ) external onlyOwner {
        for (uint256 i = 0; i < accounts.length; ++i) {
            _presaleList[ accounts[i] ] = true;
        }
    }

    function removeFromPresaleList( address[] calldata accounts ) external onlyOwner {
        for (uint256 i = 0; i < accounts.length; ++i) {
            _presaleList[ accounts[i] ] = false;
        }
    }

    function isOnPresaleList( address account ) public view returns (bool) {
        return _presaleList[ account ];
    }

    function totalMintedPresale( address account ) public view returns (uint256) {
        return _presaleMintCount[ account ];
    }

    function setPresalePhase() external onlyOwner {
        _currentPhase = Phases.Presale;
    }

    function setPresalePhaseWithOptions( uint256 newMintLimit, uint256 newMintPrice ) external onlyOwner {
        _currentPhase = Phases.Presale;
        mintLimit = newMintLimit;
        mintPrice = newMintPrice;
    }

    function isPresalePhase() public view returns (bool) {
        return _currentPhase == Phases.Presale;
    }

    function presaleMint( uint256 numberOfTokens ) nonReentrant notContract whenNotPaused external payable {
        require( _currentPhase == Phases.Presale, "presaleMint can only be called during pre-sale phase" );
        require( isOnPresaleList( msg.sender ), "Account not on pre-sale list" );

        uint256 totalMinted = totalMintedPresale( msg.sender );
        require( totalMinted < mintLimit, "Pre-sale mint limit reached for this account" );
        // using the -1 to avoid a <= check
        require( totalMinted + numberOfTokens - 1 < mintLimit, "Quantity puts this account over pre-sale mint limit" );
        require( totalSupply() + totalReserved + numberOfTokens - 1 < SUPPLY_LIMIT, "Not enough tokens left" );

        uint256 cost = mintPrice * numberOfTokens;
        require( msg.value == cost, "Payment amount is incorrect" );

        uint256[] memory tokenIds = new uint256[](numberOfTokens);
        for(uint256 i = 0; i < numberOfTokens; i++) {
            uint256 tokenId = _tokenIdCounter.current();
            tokenIds[i] = tokenId;
            _tokenIdCounter.increment();

            _presaleMintCount[ msg.sender ] += 1;
            _safeMint( msg.sender, tokenId );

            _setTokenURI( tokenId, tokenId.toString() );
        }

        emit Mint( msg.sender, numberOfTokens, tokenIds );
    }

    ///////////////////////////////////////////////////////////////////////
    // PUBLIC
    ///////////////////////////////////////////////////////////////////////

    function totalMintedPublic( address account ) public view returns (uint256) {
        return _publicMintCount[ account ];
    }

    function setPublicPhase() external onlyOwner {
        _currentPhase = Phases.Public;
    }

    function setPublicPhaseWithOptions( uint256 newMintLimit, uint256 newMintPrice ) external onlyOwner {
        _currentPhase = Phases.Public;
        mintLimit = newMintLimit;
        mintPrice = newMintPrice;
    }

    function isPublicPhase() public view returns (bool) {
        return _currentPhase == Phases.Public;
    }

    function mint( uint256 numberOfTokens ) nonReentrant notContract whenNotPaused external payable {
        require( _currentPhase == Phases.Public, "mint can only be called during public phase" );

        uint256 totalMinted = totalMintedPublic( msg.sender );
        require( totalMinted < mintLimit, "Mint limit reached for this account" );
        // using the -1 to avoid a <= check
        require( totalMinted + numberOfTokens -1 < mintLimit, "Quantity puts this account over mint limit" );
        require( totalSupply() + totalReserved + numberOfTokens - 1 < SUPPLY_LIMIT, "Not enough tokens left" );

        uint256 cost = mintPrice * numberOfTokens;
        require( msg.value == cost, "Payment amount is incorrect" );

        uint256[] memory tokenIds = new uint256[](numberOfTokens);
        for(uint256 i = 0; i < numberOfTokens; i++) {
            uint256 tokenId = _tokenIdCounter.current();
            tokenIds[i] = tokenId;
            _tokenIdCounter.increment();

            _publicMintCount[ msg.sender ] += 1;
            _safeMint( msg.sender, tokenId );

            _setTokenURI( tokenId, tokenId.toString() );
        }

        emit Mint( msg.sender, numberOfTokens, tokenIds );
    }

    ///////////////////////////////////////////////////////////////////////
    // GIVEAWAY / FREE MINT
    ///////////////////////////////////////////////////////////////////////

    function setTotalReserved( uint256 newAmount ) external onlyOwner {
        totalReserved = newAmount;
    }

    function freeMint( address to, uint256 numberOfTokens ) nonReentrant notContract external onlyOwner {
        require( totalReserved > 0, "No tokens left in reserve" );
        // using the -1 to avoid a <= check
        require( numberOfTokens - 1 < totalReserved, "Exceeds reserved supply" );
        require( totalSupply() + numberOfTokens - 1 < SUPPLY_LIMIT, "Not enough tokens left" );

        uint256[] memory tokenIds = new uint256[](numberOfTokens);
        for(uint256 i = 0; i < numberOfTokens; i++) {
            uint256 tokenId = _tokenIdCounter.current();
            tokenIds[i] = tokenId;
            _tokenIdCounter.increment();
            _safeMint( to, tokenId );

            _setTokenURI( tokenId, tokenId.toString() );
        }

        totalReserved -= numberOfTokens;
        emit Mint( to, numberOfTokens, tokenIds );
    }

    ///////////////////////////////////////////////////////////////////////
    // ADMIN
    ///////////////////////////////////////////////////////////////////////

    function setWithdrawAddress( address newAddress ) external onlyOwner {
        withdrawAddress = newAddress;
    }

    function withdrawAmount( uint256 amount ) external onlyOwner {
        require( address(withdrawAddress) != address(0), "withdrawAddress not set" );
        uint256 balance = address(this).balance;
        require( balance > amount - 1, "Insufficent balance" );
        payable( withdrawAddress ).transfer( amount );
    }

    function withdrawAll() external onlyOwner {
        require( address(withdrawAddress) != address(0), "withdrawAddress not set" );
        uint256 balance = address(this).balance;
        require( balance > 0, "Insufficent balance" );
        payable( withdrawAddress ).transfer( balance );
    }

    function updateTokenURI( uint256 _tokenId, string memory _tokenURI ) public onlyOwner {
        _setTokenURI( _tokenId, _tokenURI );
    }

    function batchUpdateTokenURI( uint256[] calldata tokenIds, string[] calldata tokenURIs ) external onlyOwner {
        for(uint256 i = 0; i < tokenIds.length; i++) {
            _setTokenURI( tokenIds[i], tokenURIs[i] );
        }
    }

    ///////////////////////////////////////////////////////////////////////
    // OVERRIDES
    ///////////////////////////////////////////////////////////////////////

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

    function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal override(ERC721URIStorage) {
        super._setTokenURI(tokenId, _tokenURI);
    }

    function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal override(ERC721, ERC721Enumerable) {
        super._beforeTokenTransfer(from, to, tokenId);
    }

    function _burn(uint256 tokenId) internal override(ERC721, ERC721URIStorage) {
        super._burn(tokenId);
    }

    function balanceOf(address owner) public view override returns (uint256) {
        return super.balanceOf(owner);
    }

    function ownerOf(uint256 tokenId) public view override returns (address) {
        return super.ownerOf(tokenId);
    }

    function tokenURI(uint256 tokenId) public view override(ERC721, ERC721URIStorage) returns (string memory) {
        return super.tokenURI(tokenId);
    }

    function supportsInterface(bytes4 interfaceId) public view override(ERC721, ERC721Enumerable) returns (bool) {
        return super.supportsInterface(interfaceId);
    }

    ///////////////////////////////////////////////////////////////////////
    // BASIC OPENSEA INTEGRATION
    // https://docs.opensea.io/docs/polygon-basic-integration
    ///////////////////////////////////////////////////////////////////////

    /**
    * Override isApprovedForAll to auto-approve OS's proxy contract and reduce trading friction
    */
    function isApprovedForAll( address _owner, address _operator ) public override view returns (bool isOperator) {
        if (_operator == address(0x58807baD0B376efc12F5AD86aAc70E78ed67deaE)) {
            return true;
        }
        // otherwise, use the default ERC721.isApprovedForAll()
        return ERC721.isApprovedForAll(_owner, _operator);
    }

    /**
     * This is used instead of msg.sender as transactions won't be sent by the original token owner, but by OpenSea.
     */
    function _msgSender() internal override view returns (address sender) {
        return ContextMixin.msgSender();
    }

}

File 2 of 19 : ContextMixin.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

abstract contract ContextMixin {
    function msgSender()
        internal
        view
        returns (address payable sender)
    {
        if (msg.sender == address(this)) {
            bytes memory array = msg.data;
            uint256 index = msg.data.length;
            assembly {
                // Load the 32 bytes word from memory with the address on the lower 20 bytes, and mask those.
                sender := and(
                    mload(add(array, index)),
                    0xffffffffffffffffffffffffffffffffffffffff
                )
            }
        } else {
            sender = payable(msg.sender);
        }
        return sender;
    }
}

File 3 of 19 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

    // Mapping from token ID to approved address
    mapping(uint256 => address) private _tokenApprovals;

    // Mapping from owner to operator approvals
    mapping(address => mapping(address => bool)) private _operatorApprovals;

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

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

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        require(owner != address(0), "ERC721: balance query for the zero address");
        return _balances[owner];
    }

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

    /**
     * @dev See {IERC721Metadata-name}.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev See {IERC721Metadata-symbol}.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");

        string memory baseURI = _baseURI();
        return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : "";
    }

    /**
     * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each
     * token will be the concatenation of the `baseURI` and the `tokenId`. Empty
     * by default, can be 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 {
        _setApprovalForAll(_msgSender(), operator, approved);
    }

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

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");

        _transfer(from, to, tokenId);
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        safeTransferFrom(from, to, tokenId, "");
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public virtual override {
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");
        _safeTransfer(from, to, tokenId, _data);
    }

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * `_data` is additional data, it has no specified format and it is sent in call to `to`.
     *
     * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
     * implement alternative mechanisms to perform token transfer, such as signature-based.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeTransfer(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _transfer(from, to, tokenId);
        require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer");
    }

    /**
     * @dev Returns whether `tokenId` exists.
     *
     * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
     *
     * Tokens start existing when they are minted (`_mint`),
     * and stop existing when they are burned (`_burn`).
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return _owners[tokenId] != address(0);
    }

    /**
     * @dev Returns whether `spender` is allowed to manage `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {
        require(_exists(tokenId), "ERC721: operator query for nonexistent token");
        address owner = ERC721.ownerOf(tokenId);
        return (spender == owner || 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);

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

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId) internal virtual {
        address owner = ERC721.ownerOf(tokenId);

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

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

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

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

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

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *  As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function _transfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {
        require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner");
        require(to != address(0), "ERC721: transfer to the zero address");

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId);
    }

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

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

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
     * The call is not executed if the target address is not a contract.
     *
     * @param from address representing the previous owner of the given token ID
     * @param to target address that will receive the tokens
     * @param tokenId uint256 ID of the token to be transferred
     * @param _data bytes optional data to send along with the call
     * @return bool whether the call correctly returned the expected magic value
     */
    function _checkOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        if (to.isContract()) {
            try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
                return retval == IERC721Receiver.onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert("ERC721: transfer to non ERC721Receiver implementer");
                } else {
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

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

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

File 4 of 19 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

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 making 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 5 of 19 : ERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Enumerable.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, ``from``'s `tokenId` will be burned.
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual override {
        super._beforeTokenTransfer(from, to, tokenId);

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

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

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

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

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

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

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

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

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

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

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

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

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

File 6 of 19 : ERC721URIStorage.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721URIStorage.sol)

pragma solidity ^0.8.0;

import "../ERC721.sol";

/**
 * @dev ERC721 token with storage based token URI management.
 */
abstract contract ERC721URIStorage is ERC721 {
    using Strings for uint256;

    // Optional mapping for token URIs
    mapping(uint256 => string) private _tokenURIs;

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        require(_exists(tokenId), "ERC721URIStorage: URI query for nonexistent token");

        string memory _tokenURI = _tokenURIs[tokenId];
        string memory base = _baseURI();

        // If there is no base URI, return the token URI.
        if (bytes(base).length == 0) {
            return _tokenURI;
        }
        // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked).
        if (bytes(_tokenURI).length > 0) {
            return string(abi.encodePacked(base, _tokenURI));
        }

        return super.tokenURI(tokenId);
    }

    /**
     * @dev Sets `_tokenURI` as the tokenURI of `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual {
        require(_exists(tokenId), "ERC721URIStorage: URI set of nonexistent token");
        _tokenURIs[tokenId] = _tokenURI;
    }

    /**
     * @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 override {
        super._burn(tokenId);

        if (bytes(_tokenURIs[tokenId]).length != 0) {
            delete _tokenURIs[tokenId];
        }
    }
}

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

pragma solidity ^0.8.0;

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

/**
 * @title ERC721 Burnable Token
 * @dev ERC721 Token that can be irreversibly burned (destroyed).
 */
abstract contract ERC721Burnable is Context, ERC721 {
    /**
     * @dev Burns `tokenId`. See {ERC721-_burn}.
     *
     * Requirements:
     *
     * - The caller must own `tokenId` or be an approved operator.
     */
    function burn(uint256 tokenId) public virtual {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721Burnable: caller is not owner nor approved");
        _burn(tokenId);
    }
}

File 8 of 19 : Pausable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/Pausable.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev Contract module which allows children to implement an emergency stop
 * mechanism that can be triggered by an authorized account.
 *
 * This module is used through inheritance. It will make available the
 * modifiers `whenNotPaused` and `whenPaused`, which can be applied to
 * the functions of your contract. Note that they will not be pausable by
 * simply including this module, only once the modifiers are put in place.
 */
abstract contract Pausable is Context {
    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by `account`.
     */
    event Unpaused(address account);

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */
    constructor() {
        _paused = false;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view virtual returns (bool) {
        return _paused;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    modifier whenNotPaused() {
        require(!paused(), "Pausable: paused");
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        require(paused(), "Pausable: not paused");
        _;
    }

    /**
     * @dev Triggers stopped state.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    function _pause() internal virtual whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Returns to normal state.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    function _unpause() internal virtual whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

File 10 of 19 : Counters.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Counters.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

File 11 of 19 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, 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 12 of 19 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {
    /**
     * @dev Returns the token collection name.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the token collection symbol.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    function tokenURI(uint256 tokenId) external view returns (string memory);
}

File 14 of 19 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 15 of 19 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
 * for the additional interface id that will be supported. For example:
 *
 * ```solidity
 * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
 *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
 * }
 * ```
 *
 * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}

File 18 of 19 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

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

File 19 of 19 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"qty","type":"uint256"},{"indexed":false,"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"Mint","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"SUPPLY_LIMIT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"}],"name":"addToPresaleList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"}],"name":"addToVipList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"},{"internalType":"string[]","name":"tokenURIs","type":"string[]"}],"name":"batchUpdateTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"freeMint","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":"isOperator","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isOnPresaleList","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isOnVipList","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPresalePhase","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPublicPhase","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isVipPhase","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxVipListSize","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"presaleMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"}],"name":"removeFromPresaleList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"}],"name":"removeFromVipList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMax","type":"uint256"}],"name":"setMaxVipListSize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newBase","type":"string"}],"name":"setMetadataBase","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newLimit","type":"uint256"}],"name":"setMintLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setPresalePhase","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMintLimit","type":"uint256"},{"internalType":"uint256","name":"newMintPrice","type":"uint256"}],"name":"setPresalePhaseWithOptions","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setPublicPhase","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMintLimit","type":"uint256"},{"internalType":"uint256","name":"newMintPrice","type":"uint256"}],"name":"setPublicPhaseWithOptions","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"setTokensPerVipMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"setTotalReserved","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setVipPhase","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMintLimit","type":"uint256"},{"internalType":"uint256","name":"newMintPrice","type":"uint256"}],"name":"setVipPhaseWithOptions","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newAddress","type":"address"}],"name":"setWithdrawAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensPerVipMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"totalMintedPresale","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"totalMintedPublic","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"totalMintedVip","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalReserved","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"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":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"string","name":"_tokenURI","type":"string"}],"name":"updateTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"vipListSize","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"vipMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"withdrawAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdrawAmount","outputs":[],"stateMutability":"nonpayable","type":"function"}]

600c805460ff60a81b191690556010600d8190556019600e556000600f5560de815560115566de0b6b3a76400060125560e0604052603460808181529062004c1160a03980516200005991601a91602090910190620002a9565b503480156200006757600080fd5b50604080518082018252601681527f57616c6b696e67204265747765656e20576f726c64730000000000000000000060208083019182528351808501909452600384526257425760e81b908401528151919291620000c891600091620002a9565b508051620000de906001906020840190620002a9565b50506001600a5550600c805460ff1916905562000104620000fe6200012b565b62000148565b6200011b6016620001a260201b62002dbb1760201c565b62000125620001ab565b6200038c565b6000620001426200024b60201b62002dc41760201c565b90505b90565b600c80546001600160a01b03838116610100818102610100600160a81b031985161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b80546001019055565b600c5460ff1615620001f65760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015260640160405180910390fd5b600c805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586200022e6200012b565b6040516001600160a01b03909116815260200160405180910390a1565b600033301415620002a457600080368080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152505050503601516001600160a01b03169150620001459050565b503390565b828054620002b7906200034f565b90600052602060002090601f016020900481019282620002db576000855562000326565b82601f10620002f657805160ff191683800117855562000326565b8280016001018555821562000326579182015b828111156200032657825182559160200191906001019062000309565b506200033492915062000338565b5090565b5b8082111562000334576000815560010162000339565b6002810460018216806200036457607f821691505b602082108114156200038657634e487b7160e01b600052602260045260246000fd5b50919050565b614875806200039c6000396000f3fe6080604052600436106103c35760003560e01c8063853828b6116101f2578063b969c4551161010d578063de00a68b116100a0578063f2fde38b1161006f578063f2fde38b14610af9578063f4a0a52814610b19578063f56d118c14610b39578063f982581114610b4c576103c3565b8063de00a68b14610a75578063e13b27f414610aae578063e985e9c514610ac3578063f0fb4dc014610ae3576103c3565b8063c9b298f1116100dc578063c9b298f114610a02578063cb09f8d214610a15578063d3811c0f14610a35578063daa2f35d14610a55576103c3565b8063b969c45514610996578063c0c728ea146109ac578063c71b0e1c146109cc578063c87b56dd146109e2576103c3565b8063a0712d6811610185578063b179e06011610154578063b179e06014610920578063b5ea9bc614610940578063b84b879814610956578063b88d4fde14610976576103c3565b8063a0712d68146108c3578063a22cb465146108d6578063a4c05fdf146108f6578063abd367151461090b576103c3565b80639883566e116101c15780639883566e1461084d578063996517cf1461086d5780639a6b623b146108835780639e6a1d7d146108a3576103c3565b8063853828b6146107c95780638b300516146107de5780638da5cb5b1461081457806395d89b4114610838576103c3565b806342966c68116102e257806368f720f5116102755780637a82beda116102445780637a82beda1461073e5780637b3d34861461075e5780637c2809301461077e5780638456cb59146107b4576103c3565b806368f720f5146106c957806370a08231146106e9578063715018a6146107095780637204a3c91461071e576103c3565b80635738e368116102b15780635738e368146106665780635c975abb1461067b5780636352211e146106935780636817c76c146106b3576103c3565b806342966c68146105d857806343d1be7b146105f85780634f6ccce71461060d57806350b073a61461062d576103c3565b806318e97fd11161035a5780633ab1a494116103295780633ab1a4941461056e5780633d118abf1461058e5780633f4ba83a146105a357806342842e0e146105b8576103c3565b806318e97fd1146104f857806323b872dd146105185780632f745c59146105385780633906f56014610558576103c3565b8063081812fc11610396578063081812fc14610461578063095ea7b3146104995780631581b600146104b957806318160ddd146104d9576103c3565b806301ffc9a7146103c85780630562b9f7146103fd57806305d0644e1461041f57806306fdde031461043f575b600080fd5b3480156103d457600080fd5b506103e86103e33660046142b8565b610b82565b60405190151581526020015b60405180910390f35b34801561040957600080fd5b5061041d610418366004614322565b610b95565b005b34801561042b57600080fd5b5061041d61043a36600461437e565b610ccd565b34801561044b57600080fd5b50610454610d41565b6040516103f49190614494565b34801561046d57600080fd5b5061048161047c366004614322565b610dd4565b6040516001600160a01b0390911681526020016103f4565b3480156104a557600080fd5b5061041d6104b43660046141e8565b610e5c565b3480156104c557600080fd5b50601754610481906001600160a01b031681565b3480156104e557600080fd5b506008545b6040519081526020016103f4565b34801561050457600080fd5b5061041d61051336600461433a565b610f7f565b34801561052457600080fd5b5061041d6105333660046140fb565b610fdb565b34801561054457600080fd5b506104ea6105533660046141e8565b611013565b34801561056457600080fd5b506104ea6108ae81565b34801561057a57600080fd5b5061041d6105893660046140af565b6110ac565b34801561059a57600080fd5b506103e861111c565b3480156105af57600080fd5b5061041d611153565b3480156105c457600080fd5b5061041d6105d33660046140fb565b6111ab565b3480156105e457600080fd5b5061041d6105f3366004614322565b6111c6565b34801561060457600080fd5b5061041d611242565b34801561061957600080fd5b506104ea610628366004614322565b6112ad565b34801561063957600080fd5b506103e86106483660046140af565b6001600160a01b031660009081526018602052604090205460ff1690565b34801561067257600080fd5b506103e861134e565b34801561068757600080fd5b50600c5460ff166103e8565b34801561069f57600080fd5b506104816106ae366004614322565b611356565b3480156106bf57600080fd5b506104ea60125481565b3480156106d557600080fd5b5061041d6106e4366004614322565b611361565b3480156106f557600080fd5b506104ea6107043660046140af565b6113b4565b34801561071557600080fd5b5061041d6113bf565b34801561072a57600080fd5b5061041d610739366004614211565b611417565b34801561074a57600080fd5b5061041d610759366004614211565b6114e3565b34801561076a57600080fd5b5061041d61077936600461437e565b6115c6565b34801561078a57600080fd5b506104ea6107993660046140af565b6001600160a01b031660009081526013602052604090205490565b3480156107c057600080fd5b5061041d61162e565b3480156107d557600080fd5b5061041d611684565b3480156107ea57600080fd5b506104ea6107f93660046140af565b6001600160a01b031660009081526015602052604090205490565b34801561082057600080fd5b50610481600c5461010090046001600160a01b031690565b34801561084457600080fd5b506104546117a2565b34801561085957600080fd5b5061041d6108683660046141e8565b6117b1565b34801561087957600080fd5b506104ea60115481565b34801561088f57600080fd5b5061041d61089e366004614250565b611a67565b3480156108af57600080fd5b5061041d6108be366004614322565b611b6f565b61041d6108d1366004614322565b611bc2565b3480156108e257600080fd5b5061041d6108f13660046141ae565b611f5d565b34801561090257600080fd5b506103e8611f6f565b34801561091757600080fd5b5061041d611f78565b34801561092c57600080fd5b5061041d61093b366004614211565b611fe0565b34801561094c57600080fd5b506104ea600e5481565b34801561096257600080fd5b5061041d610971366004614322565b6120ac565b34801561098257600080fd5b5061041d610991366004614136565b6120ff565b3480156109a257600080fd5b506104ea600f5481565b3480156109b857600080fd5b5061041d6109c7366004614322565b61213e565b3480156109d857600080fd5b506104ea60105481565b3480156109ee57600080fd5b506104546109fd366004614322565b612191565b61041d610a10366004614322565b61219c565b348015610a2157600080fd5b5061041d610a30366004614211565b61256a565b348015610a4157600080fd5b5061041d610a503660046142f0565b6126d3565b348015610a6157600080fd5b5061041d610a7036600461437e565b612734565b348015610a8157600080fd5b506103e8610a903660046140af565b6001600160a01b031660009081526019602052604090205460ff1690565b348015610aba57600080fd5b5061041d61279c565b348015610acf57600080fd5b506103e8610ade3660046140c9565b612804565b348015610aef57600080fd5b506104ea600d5481565b348015610b0557600080fd5b5061041d610b143660046140af565b612864565b348015610b2557600080fd5b5061041d610b34366004614322565b612920565b61041d610b47366004614322565b612973565b348015610b5857600080fd5b506104ea610b673660046140af565b6001600160a01b031660009081526014602052604090205490565b6000610b8d82612e20565b90505b919050565b610b9d612e45565b6001600160a01b0316610bbd600c5461010090046001600160a01b031690565b6001600160a01b031614610bec5760405162461bcd60e51b8152600401610be390614553565b60405180910390fd5b6017546001600160a01b0316610c3e5760405162461bcd60e51b81526020600482015260176024820152761dda5d1a191c985dd059191c995cdcc81b9bdd081cd95d604a1b6044820152606401610be3565b47610c4a600183614723565b8111610c8e5760405162461bcd60e51b8152602060048201526013602482015272496e737566666963656e742062616c616e636560681b6044820152606401610be3565b6017546040516001600160a01b039091169083156108fc029084906000818181858888f19350505050158015610cc8573d6000803e3d6000fd5b505050565b610cd5612e45565b6001600160a01b0316610cf5600c5461010090046001600160a01b031690565b6001600160a01b031614610d1b5760405162461bcd60e51b8152600401610be390614553565b600c80546001919060ff60a81b1916600160a81b835b0217905550601191909155601255565b606060008054610d509061477d565b80601f0160208091040260200160405190810160405280929190818152602001828054610d7c9061477d565b8015610dc95780601f10610d9e57610100808354040283529160200191610dc9565b820191906000526020600020905b815481529060010190602001808311610dac57829003601f168201915b505050505090505b90565b6000610ddf82612e54565b610e405760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610be3565b506000908152600460205260409020546001600160a01b031690565b6000610e6782612e71565b9050806001600160a01b0316836001600160a01b03161415610ed55760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610be3565b806001600160a01b0316610ee7612e45565b6001600160a01b03161480610f035750610f0381610ade612e45565b610f755760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610be3565b610cc88383612ee8565b610f87612e45565b6001600160a01b0316610fa7600c5461010090046001600160a01b031690565b6001600160a01b031614610fcd5760405162461bcd60e51b8152600401610be390614553565b610fd78282612f56565b5050565b610fec610fe6612e45565b82612f60565b6110085760405162461bcd60e51b8152600401610be39061460c565b610cc883838361302a565b600061101e836131d1565b82106110805760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610be3565b506001600160a01b03821660009081526006602090815260408083208484529091529020545b92915050565b6110b4612e45565b6001600160a01b03166110d4600c5461010090046001600160a01b031690565b6001600160a01b0316146110fa5760405162461bcd60e51b8152600401610be390614553565b601780546001600160a01b0319166001600160a01b0392909216919091179055565b600060015b600c54600160a81b900460ff16600281111561114d57634e487b7160e01b600052602160045260246000fd5b14905090565b61115b612e45565b6001600160a01b031661117b600c5461010090046001600160a01b031690565b6001600160a01b0316146111a15760405162461bcd60e51b8152600401610be390614553565b6111a9613258565b565b610cc8838383604051806020016040528060008152506120ff565b6111d1610fe6612e45565b6112365760405162461bcd60e51b815260206004820152603060248201527f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760448201526f1b995c881b9bdc88185c1c1c9bdd995960821b6064820152608401610be3565b61123f816132f1565b50565b61124a612e45565b6001600160a01b031661126a600c5461010090046001600160a01b031690565b6001600160a01b0316146112905760405162461bcd60e51b8152600401610be390614553565b600c80546001919060ff60a81b1916600160a81b835b0217905550565b60006112b860085490565b821061131b5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610be3565b6008828154811061133c57634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050919050565b600080611121565b6000610b8d82612e71565b611369612e45565b6001600160a01b0316611389600c5461010090046001600160a01b031690565b6001600160a01b0316146113af5760405162461bcd60e51b8152600401610be390614553565b600d55565b6000610b8d826131d1565b6113c7612e45565b6001600160a01b03166113e7600c5461010090046001600160a01b031690565b6001600160a01b03161461140d5760405162461bcd60e51b8152600401610be390614553565b6111a960006132fa565b61141f612e45565b6001600160a01b031661143f600c5461010090046001600160a01b031690565b6001600160a01b0316146114655760405162461bcd60e51b8152600401610be390614553565b60005b81811015610cc85760016019600085858581811061149657634e487b7160e01b600052603260045260246000fd5b90506020020160208101906114ab91906140af565b6001600160a01b031681526020810191909152604001600020805460ff19169115159190911790556114dc816147b8565b9050611468565b6114eb612e45565b6001600160a01b031661150b600c5461010090046001600160a01b031690565b6001600160a01b0316146115315760405162461bcd60e51b8152600401610be390614553565b60005b81811015610cc85760006018600085858581811061156257634e487b7160e01b600052603260045260246000fd5b905060200201602081019061157791906140af565b6001600160a01b0316815260208101919091526040016000908120805460ff191692151592909217909155600f8054916115b083614766565b9190505550806115bf906147b8565b9050611534565b6115ce612e45565b6001600160a01b03166115ee600c5461010090046001600160a01b031690565b6001600160a01b0316146116145760405162461bcd60e51b8152600401610be390614553565b600c80546002919060ff60a81b1916600160a81b83610d31565b611636612e45565b6001600160a01b0316611656600c5461010090046001600160a01b031690565b6001600160a01b03161461167c5760405162461bcd60e51b8152600401610be390614553565b6111a9613354565b61168c612e45565b6001600160a01b03166116ac600c5461010090046001600160a01b031690565b6001600160a01b0316146116d25760405162461bcd60e51b8152600401610be390614553565b6017546001600160a01b03166117245760405162461bcd60e51b81526020600482015260176024820152761dda5d1a191c985dd059191c995cdcc81b9bdd081cd95d604a1b6044820152606401610be3565b47806117685760405162461bcd60e51b8152602060048201526013602482015272496e737566666963656e742062616c616e636560681b6044820152606401610be3565b6017546040516001600160a01b039091169082156108fc029083906000818181858888f19350505050158015610fd7573d6000803e3d6000fd5b606060018054610d509061477d565b6002600a5414156117d45760405162461bcd60e51b8152600401610be39061465d565b6002600a553332146117f85760405162461bcd60e51b8152600401610be390614588565b611800612e45565b6001600160a01b0316611820600c5461010090046001600160a01b031690565b6001600160a01b0316146118465760405162461bcd60e51b8152600401610be390614553565b6000601054116118985760405162461bcd60e51b815260206004820152601960248201527f4e6f20746f6b656e73206c65667420696e2072657365727665000000000000006044820152606401610be3565b6010546118a6600183614723565b106118f35760405162461bcd60e51b815260206004820152601760248201527f4578636565647320726573657276656420737570706c790000000000000000006044820152606401610be3565b6108ae60018261190260085490565b61190c91906146d8565b6119169190614723565b106119335760405162461bcd60e51b8152600401610be390614523565b6000816001600160401b0381111561195b57634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015611984578160200160208202803683370190505b50905060005b82811015611a0957600061199d60165490565b9050808383815181106119c057634e487b7160e01b600052603260045260246000fd5b6020026020010181815250506119da601680546001019055565b6119e485826133ad565b6119f6816119f1836133c7565b612f56565b5080611a01816147b8565b91505061198a565b508160106000828254611a1c9190614723565b90915550506040517f4e439d54cfe0b2e303dd6d6e906ab06d0d0b179fa331c44deb68dc6bc04fa1ab90611a5590859085908590614437565b60405180910390a150506001600a5550565b611a6f612e45565b6001600160a01b0316611a8f600c5461010090046001600160a01b031690565b6001600160a01b031614611ab55760405162461bcd60e51b8152600401610be390614553565b60005b83811015611b6857611b56858583818110611ae357634e487b7160e01b600052603260045260246000fd5b90506020020135848484818110611b0a57634e487b7160e01b600052603260045260246000fd5b9050602002810190611b1c9190614694565b8080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250612f5692505050565b80611b60816147b8565b915050611ab8565b5050505050565b611b77612e45565b6001600160a01b0316611b97600c5461010090046001600160a01b031690565b6001600160a01b031614611bbd5760405162461bcd60e51b8152600401610be390614553565b601155565b6002600a541415611be55760405162461bcd60e51b8152600401610be39061465d565b6002600a55333214611c095760405162461bcd60e51b8152600401610be390614588565b600c5460ff1615611c2c5760405162461bcd60e51b8152600401610be3906144f9565b6002600c54600160a81b900460ff166002811115611c5a57634e487b7160e01b600052602160045260246000fd5b14611cbb5760405162461bcd60e51b815260206004820152602b60248201527f6d696e742063616e206f6e6c792062652063616c6c656420647572696e67207060448201526a75626c696320706861736560a81b6064820152608401610be3565b336000908152601560205260409020546011548110611d285760405162461bcd60e51b815260206004820152602360248201527f4d696e74206c696d6974207265616368656420666f722074686973206163636f6044820152621d5b9d60ea1b6064820152608401610be3565b6011546001611d3784846146d8565b611d419190614723565b10611da15760405162461bcd60e51b815260206004820152602a60248201527f5175616e7469747920707574732074686973206163636f756e74206f766572206044820152691b5a5b9d081b1a5b5a5d60b21b6064820152608401610be3565b6108ae600183601054611db360085490565b611dbd91906146d8565b611dc791906146d8565b611dd19190614723565b10611dee5760405162461bcd60e51b8152600401610be390614523565b600082601254611dfe9190614704565b9050803414611e1f5760405162461bcd60e51b8152600401610be3906145d5565b6000836001600160401b03811115611e4757634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015611e70578160200160208202803683370190505b50905060005b84811015611f16576000611e8960165490565b905080838381518110611eac57634e487b7160e01b600052603260045260246000fd5b602002602001018181525050611ec6601680546001019055565b336000908152601560205260408120805460019290611ee69084906146d8565b90915550611ef6905033826133ad565b611f03816119f1836133c7565b5080611f0e816147b8565b915050611e76565b507f4e439d54cfe0b2e303dd6d6e906ab06d0d0b179fa331c44deb68dc6bc04fa1ab338583604051611f4a93929190614437565b60405180910390a150506001600a555050565b610fd7611f68612e45565b83836134e1565b60006002611121565b611f80612e45565b6001600160a01b0316611fa0600c5461010090046001600160a01b031690565b6001600160a01b031614611fc65760405162461bcd60e51b8152600401610be390614553565b600c80546000919060ff60a81b1916600160a81b836112a6565b611fe8612e45565b6001600160a01b0316612008600c5461010090046001600160a01b031690565b6001600160a01b03161461202e5760405162461bcd60e51b8152600401610be390614553565b60005b81811015610cc85760006019600085858581811061205f57634e487b7160e01b600052603260045260246000fd5b905060200201602081019061207491906140af565b6001600160a01b031681526020810191909152604001600020805460ff19169115159190911790556120a5816147b8565b9050612031565b6120b4612e45565b6001600160a01b03166120d4600c5461010090046001600160a01b031690565b6001600160a01b0316146120fa5760405162461bcd60e51b8152600401610be390614553565b600e55565b61211061210a612e45565b83612f60565b61212c5760405162461bcd60e51b8152600401610be39061460c565b612138848484846135b0565b50505050565b612146612e45565b6001600160a01b0316612166600c5461010090046001600160a01b031690565b6001600160a01b03161461218c5760405162461bcd60e51b8152600401610be390614553565b601055565b6060610b8d826135e3565b6002600a5414156121bf5760405162461bcd60e51b8152600401610be39061465d565b6002600a553332146121e35760405162461bcd60e51b8152600401610be390614588565b600c5460ff16156122065760405162461bcd60e51b8152600401610be3906144f9565b6001600c54600160a81b900460ff16600281111561223457634e487b7160e01b600052602160045260246000fd5b1461229e5760405162461bcd60e51b815260206004820152603460248201527f70726573616c654d696e742063616e206f6e6c792062652063616c6c656420646044820152737572696e67207072652d73616c6520706861736560601b6064820152608401610be3565b3360009081526019602052604090205460ff166122fd5760405162461bcd60e51b815260206004820152601c60248201527f4163636f756e74206e6f74206f6e207072652d73616c65206c697374000000006044820152606401610be3565b3360009081526014602052604090205460115481106123735760405162461bcd60e51b815260206004820152602c60248201527f5072652d73616c65206d696e74206c696d6974207265616368656420666f722060448201526b1d1a1a5cc81858d8dbdd5b9d60a21b6064820152608401610be3565b601154600161238284846146d8565b61238c9190614723565b106123f55760405162461bcd60e51b815260206004820152603360248201527f5175616e7469747920707574732074686973206163636f756e74206f766572206044820152721c1c994b5cd85b19481b5a5b9d081b1a5b5a5d606a1b6064820152608401610be3565b6108ae60018360105461240760085490565b61241191906146d8565b61241b91906146d8565b6124259190614723565b106124425760405162461bcd60e51b8152600401610be390614523565b6000826012546124529190614704565b90508034146124735760405162461bcd60e51b8152600401610be3906145d5565b6000836001600160401b0381111561249b57634e487b7160e01b600052604160045260246000fd5b6040519080825280602002602001820160405280156124c4578160200160208202803683370190505b50905060005b84811015611f165760006124dd60165490565b90508083838151811061250057634e487b7160e01b600052603260045260246000fd5b60200260200101818152505061251a601680546001019055565b33600090815260146020526040812080546001929061253a9084906146d8565b9091555061254a905033826133ad565b612557816119f1836133c7565b5080612562816147b8565b9150506124ca565b612572612e45565b6001600160a01b0316612592600c5461010090046001600160a01b031690565b6001600160a01b0316146125b85760405162461bcd60e51b8152600401610be390614553565b600e54600f546001906125cc9084906146d8565b6125d69190614723565b1061263e5760405162461bcd60e51b815260206004820152603260248201527f54686973206e756d626572206f66206163636f756e74732077696c6c20657863604482015271656564206d61785669704c69737453697a6560701b6064820152608401610be3565b60005b81811015610cc85760016018600085858581811061266f57634e487b7160e01b600052603260045260246000fd5b905060200201602081019061268491906140af565b6001600160a01b0316815260208101919091526040016000908120805460ff191692151592909217909155600f8054916126bd836147b8565b9190505550806126cc906147b8565b9050612641565b6126db612e45565b6001600160a01b03166126fb600c5461010090046001600160a01b031690565b6001600160a01b0316146127215760405162461bcd60e51b8152600401610be390614553565b8051610fd790601a906020840190613eeb565b61273c612e45565b6001600160a01b031661275c600c5461010090046001600160a01b031690565b6001600160a01b0316146127825760405162461bcd60e51b8152600401610be390614553565b600c80546000919060ff60a81b1916600160a81b83610d31565b6127a4612e45565b6001600160a01b03166127c4600c5461010090046001600160a01b031690565b6001600160a01b0316146127ea5760405162461bcd60e51b8152600401610be390614553565b600c80546002919060ff60a81b1916600160a81b836112a6565b60006001600160a01b0382167358807bad0b376efc12f5ad86aac70e78ed67deae1415612833575060016110a6565b6001600160a01b0380841660009081526005602090815260408083209386168352929052205460ff165b9392505050565b61286c612e45565b6001600160a01b031661288c600c5461010090046001600160a01b031690565b6001600160a01b0316146128b25760405162461bcd60e51b8152600401610be390614553565b6001600160a01b0381166129175760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610be3565b61123f816132fa565b612928612e45565b6001600160a01b0316612948600c5461010090046001600160a01b031690565b6001600160a01b03161461296e5760405162461bcd60e51b8152600401610be390614553565b601255565b6002600a5414156129965760405162461bcd60e51b8152600401610be39061465d565b6002600a553332146129ba5760405162461bcd60e51b8152600401610be390614588565b600c5460ff16156129dd5760405162461bcd60e51b8152600401610be3906144f9565b6000600c54600160a81b900460ff166002811115612a0b57634e487b7160e01b600052602160045260246000fd5b14612a6c5760405162461bcd60e51b815260206004820152602b60248201527f7669704d696e742063616e206f6e6c792062652063616c6c656420647572696e60448201526a672056495020706861736560a81b6064820152608401610be3565b3360009081526018602052604090205460ff16612acb5760405162461bcd60e51b815260206004820152601760248201527f4163636f756e74206e6f74206f6e20564950206c6973740000000000000000006044820152606401610be3565b600d548114612b285760405162461bcd60e51b8152602060048201526024808201527f496e76616c6964206e756d626572206f6620746f6b656e7320666f7220766970604482015263135a5b9d60e21b6064820152608401610be3565b336000908152601360205260409020546011548110612b995760405162461bcd60e51b815260206004820152602760248201527f564950206d696e74206c696d6974207265616368656420666f722074686973206044820152661858d8dbdd5b9d60ca1b6064820152608401610be3565b6011546001612ba884846146d8565b612bb29190614723565b10612c165760405162461bcd60e51b815260206004820152602e60248201527f5175616e7469747920707574732074686973206163636f756e74206f7665722060448201526d159254081b5a5b9d081b1a5b5a5d60921b6064820152608401610be3565b6108ae600183601054612c2860085490565b612c3291906146d8565b612c3c91906146d8565b612c469190614723565b10612c935760405162461bcd60e51b815260206004820152601a60248201527f4e6f7420656e6f7567682056495020746f6b656e73206c6566740000000000006044820152606401610be3565b600082601254612ca39190614704565b9050803414612cc45760405162461bcd60e51b8152600401610be3906145d5565b6000836001600160401b03811115612cec57634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015612d15578160200160208202803683370190505b50905060005b84811015611f16576000612d2e60165490565b905080838381518110612d5157634e487b7160e01b600052603260045260246000fd5b602002602001018181525050612d6b601680546001019055565b336000908152601360205260408120805460019290612d8b9084906146d8565b90915550612d9b905033826133ad565b612da8816119f1836133c7565b5080612db3816147b8565b915050612d1b565b80546001019055565b600033301415612e1b57600080368080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152505050503601516001600160a01b03169150610dd19050565b503390565b60006001600160e01b0319821663780e9d6360e01b1480610b8d5750610b8d82613746565b6000612e4f612dc4565b905090565b6000908152600260205260409020546001600160a01b0316151590565b6000818152600260205260408120546001600160a01b031680610b8d5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610be3565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190612f1d82612e71565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b610fd78282613796565b6000612f6b82612e54565b612fcc5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610be3565b6000612fd783612e71565b9050806001600160a01b0316846001600160a01b031614806130125750836001600160a01b031661300784610dd4565b6001600160a01b0316145b8061302257506130228185612804565b949350505050565b826001600160a01b031661303d82612e71565b6001600160a01b0316146130a15760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b6064820152608401610be3565b6001600160a01b0382166131035760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610be3565b61310e838383613821565b613119600082612ee8565b6001600160a01b0383166000908152600360205260408120805460019290613142908490614723565b90915550506001600160a01b03821660009081526003602052604081208054600192906131709084906146d8565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4610cc8565b60006001600160a01b03821661323c5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610be3565b506001600160a01b031660009081526003602052604090205490565b600c5460ff166132a15760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610be3565b600c805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6132d4612e45565b6040516001600160a01b03909116815260200160405180910390a1565b61123f8161382c565b600c80546001600160a01b03838116610100818102610100600160a81b031985161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600c5460ff16156133775760405162461bcd60e51b8152600401610be3906144f9565b600c805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586132d4612e45565b610fd782826040518060200160405280600081525061386c565b6060816133ec57506040805180820190915260018152600360fc1b6020820152610b90565b8160005b81156134165780613400816147b8565b915061340f9050600a836146f0565b91506133f0565b6000816001600160401b0381111561343e57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015613468576020820181803683370190505b5090505b84156130225761347d600183614723565b915061348a600a866147d3565b6134959060306146d8565b60f81b8183815181106134b857634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a9053506134da600a866146f0565b945061346c565b816001600160a01b0316836001600160a01b031614156135435760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610be3565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6135bb84848461302a565b6135c78484848461389f565b6121385760405162461bcd60e51b8152600401610be3906144a7565b60606135ee82612e54565b6136545760405162461bcd60e51b815260206004820152603160248201527f45524337323155524953746f726167653a2055524920717565727920666f72206044820152703737b732bc34b9ba32b73a103a37b5b2b760791b6064820152608401610be3565b6000828152600b60205260408120805461366d9061477d565b80601f01602080910402602001604051908101604052809291908181526020018280546136999061477d565b80156136e65780601f106136bb576101008083540402835291602001916136e6565b820191906000526020600020905b8154815290600101906020018083116136c957829003601f168201915b5050505050905060006136f76139b3565b905080516000141561370b57509050610b90565b81511561373d5780826040516020016137259291906143cb565b60405160208183030381529060405292505050610b90565b613022846139c2565b60006001600160e01b031982166380ac58cd60e01b148061377757506001600160e01b03198216635b5e139f60e01b145b80610b8d57506301ffc9a760e01b6001600160e01b0319831614610b8d565b61379f82612e54565b6138025760405162461bcd60e51b815260206004820152602e60248201527f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60448201526d32bc34b9ba32b73a103a37b5b2b760911b6064820152608401610be3565b6000828152600b602090815260409091208251610cc892840190613eeb565b610cc8838383613a8c565b61383581613b49565b6000818152600b60205260409020805461384e9061477d565b15905061123f576000818152600b6020526040812061123f91613f6f565b6138768383613bf1565b613883600084848461389f565b610cc85760405162461bcd60e51b8152600401610be3906144a7565b60006001600160a01b0384163b156139a857836001600160a01b031663150b7a026138c8612e45565b8786866040518563ffffffff1660e01b81526004016138ea94939291906143fa565b602060405180830381600087803b15801561390457600080fd5b505af1925050508015613934575060408051601f3d908101601f19168201909252613931918101906142d4565b60015b61398e573d808015613962576040519150601f19603f3d011682016040523d82523d6000602084013e613967565b606091505b5080516139865760405162461bcd60e51b8152600401610be3906144a7565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050613022565b506001949350505050565b6060601a8054610d509061477d565b60606139cd82612e54565b613a315760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610be3565b6000613a3b6139b3565b90506000815111613a5b576040518060200160405280600081525061285d565b80613a65846133c7565b604051602001613a769291906143cb565b6040516020818303038152906040529392505050565b6001600160a01b038316613ae757613ae281600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b613b0a565b816001600160a01b0316836001600160a01b031614613b0a57613b0a8382613d31565b6001600160a01b038216613b2657613b2181613dce565b610cc8565b826001600160a01b0316826001600160a01b031614610cc857610cc88282613ea7565b6000613b5482612e71565b9050613b6281600084613821565b613b6d600083612ee8565b6001600160a01b0381166000908152600360205260408120805460019290613b96908490614723565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a4610fd7565b6001600160a01b038216613c475760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610be3565b613c5081612e54565b15613c9d5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610be3565b613ca960008383613821565b6001600160a01b0382166000908152600360205260408120805460019290613cd29084906146d8565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4610fd7565b60006001613d3e846131d1565b613d489190614723565b600083815260076020526040902054909150808214613d9b576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090613de090600190614723565b60008381526009602052604081205460088054939450909284908110613e1657634e487b7160e01b600052603260045260246000fd5b906000526020600020015490508060088381548110613e4557634e487b7160e01b600052603260045260246000fd5b6000918252602080832090910192909255828152600990915260408082208490558582528120556008805480613e8b57634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000613eb2836131d1565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b828054613ef79061477d565b90600052602060002090601f016020900481019282613f195760008555613f5f565b82601f10613f3257805160ff1916838001178555613f5f565b82800160010185558215613f5f579182015b82811115613f5f578251825591602001919060010190613f44565b50613f6b929150613fa7565b5090565b508054613f7b9061477d565b6000825580601f10613f8d575061123f565b601f01602090049060005260206000209081019061123f91905b5b80821115613f6b5760008155600101613fa8565b60006001600160401b0380841115613fd657613fd6614813565b604051601f8501601f19908116603f01168101908282118183101715613ffe57613ffe614813565b8160405280935085815286868601111561401757600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b0381168114610b9057600080fd5b60008083601f840112614059578081fd5b5081356001600160401b0381111561406f578182fd5b602083019150836020808302850101111561408957600080fd5b9250929050565b600082601f8301126140a0578081fd5b61285d83833560208501613fbc565b6000602082840312156140c0578081fd5b61285d82614031565b600080604083850312156140db578081fd5b6140e483614031565b91506140f260208401614031565b90509250929050565b60008060006060848603121561410f578081fd5b61411884614031565b925061412660208501614031565b9150604084013590509250925092565b6000806000806080858703121561414b578081fd5b61415485614031565b935061416260208601614031565b92506040850135915060608501356001600160401b03811115614183578182fd5b8501601f81018713614193578182fd5b6141a287823560208401613fbc565b91505092959194509250565b600080604083850312156141c0578182fd5b6141c983614031565b9150602083013580151581146141dd578182fd5b809150509250929050565b600080604083850312156141fa578182fd5b61420383614031565b946020939093013593505050565b60008060208385031215614223578182fd5b82356001600160401b03811115614238578283fd5b61424485828601614048565b90969095509350505050565b60008060008060408587031215614265578384fd5b84356001600160401b038082111561427b578586fd5b61428788838901614048565b9096509450602087013591508082111561429f578384fd5b506142ac87828801614048565b95989497509550505050565b6000602082840312156142c9578081fd5b813561285d81614829565b6000602082840312156142e5578081fd5b815161285d81614829565b600060208284031215614301578081fd5b81356001600160401b03811115614316578182fd5b61302284828501614090565b600060208284031215614333578081fd5b5035919050565b6000806040838503121561434c578182fd5b8235915060208301356001600160401b03811115614368578182fd5b61437485828601614090565b9150509250929050565b60008060408385031215614390578182fd5b50508035926020909101359150565b600081518084526143b781602086016020860161473a565b601f01601f19169290920160200192915050565b600083516143dd81846020880161473a565b8351908301906143f181836020880161473a565b01949350505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061442d9083018461439f565b9695505050505050565b6001600160a01b038416815260208082018490526060604083018190528351908301819052600091848101916080850190845b818110156144865784518352938301939183019160010161446a565b509098975050505050505050565b60006020825261285d602083018461439f565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526010908201526f14185d5cd8589b194e881c185d5cd95960821b604082015260600190565b602080825260169082015275139bdd08195b9bdd59da081d1bdad95b9cc81b19599d60521b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252602d908201527f5472616e73616374696f6e732066726f6d20736d61727420636f6e747261637460408201526c1cc81b9bdd08185b1b1bddd959609a1b606082015260800190565b6020808252601b908201527f5061796d656e7420616d6f756e7420697320696e636f72726563740000000000604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b6000808335601e198436030181126146aa578283fd5b8301803591506001600160401b038211156146c3578283fd5b60200191503681900382131561408957600080fd5b600082198211156146eb576146eb6147e7565b500190565b6000826146ff576146ff6147fd565b500490565b600081600019048311821515161561471e5761471e6147e7565b500290565b600082821015614735576147356147e7565b500390565b60005b8381101561475557818101518382015260200161473d565b838111156121385750506000910152565b600081614775576147756147e7565b506000190190565b60028104600182168061479157607f821691505b602082108114156147b257634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156147cc576147cc6147e7565b5060010190565b6000826147e2576147e26147fd565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461123f57600080fdfea264697066735822122091523e437888cb72453a664521be8ea9d5411c5af355a4dab494753a652b2bae64736f6c6343000802003368747470733a2f2f6d657461646174612e77616c6b696e676265747765656e776f726c64732e6e65742f3f746f6b656e5f69643d

Deployed Bytecode

0x6080604052600436106103c35760003560e01c8063853828b6116101f2578063b969c4551161010d578063de00a68b116100a0578063f2fde38b1161006f578063f2fde38b14610af9578063f4a0a52814610b19578063f56d118c14610b39578063f982581114610b4c576103c3565b8063de00a68b14610a75578063e13b27f414610aae578063e985e9c514610ac3578063f0fb4dc014610ae3576103c3565b8063c9b298f1116100dc578063c9b298f114610a02578063cb09f8d214610a15578063d3811c0f14610a35578063daa2f35d14610a55576103c3565b8063b969c45514610996578063c0c728ea146109ac578063c71b0e1c146109cc578063c87b56dd146109e2576103c3565b8063a0712d6811610185578063b179e06011610154578063b179e06014610920578063b5ea9bc614610940578063b84b879814610956578063b88d4fde14610976576103c3565b8063a0712d68146108c3578063a22cb465146108d6578063a4c05fdf146108f6578063abd367151461090b576103c3565b80639883566e116101c15780639883566e1461084d578063996517cf1461086d5780639a6b623b146108835780639e6a1d7d146108a3576103c3565b8063853828b6146107c95780638b300516146107de5780638da5cb5b1461081457806395d89b4114610838576103c3565b806342966c68116102e257806368f720f5116102755780637a82beda116102445780637a82beda1461073e5780637b3d34861461075e5780637c2809301461077e5780638456cb59146107b4576103c3565b806368f720f5146106c957806370a08231146106e9578063715018a6146107095780637204a3c91461071e576103c3565b80635738e368116102b15780635738e368146106665780635c975abb1461067b5780636352211e146106935780636817c76c146106b3576103c3565b806342966c68146105d857806343d1be7b146105f85780634f6ccce71461060d57806350b073a61461062d576103c3565b806318e97fd11161035a5780633ab1a494116103295780633ab1a4941461056e5780633d118abf1461058e5780633f4ba83a146105a357806342842e0e146105b8576103c3565b806318e97fd1146104f857806323b872dd146105185780632f745c59146105385780633906f56014610558576103c3565b8063081812fc11610396578063081812fc14610461578063095ea7b3146104995780631581b600146104b957806318160ddd146104d9576103c3565b806301ffc9a7146103c85780630562b9f7146103fd57806305d0644e1461041f57806306fdde031461043f575b600080fd5b3480156103d457600080fd5b506103e86103e33660046142b8565b610b82565b60405190151581526020015b60405180910390f35b34801561040957600080fd5b5061041d610418366004614322565b610b95565b005b34801561042b57600080fd5b5061041d61043a36600461437e565b610ccd565b34801561044b57600080fd5b50610454610d41565b6040516103f49190614494565b34801561046d57600080fd5b5061048161047c366004614322565b610dd4565b6040516001600160a01b0390911681526020016103f4565b3480156104a557600080fd5b5061041d6104b43660046141e8565b610e5c565b3480156104c557600080fd5b50601754610481906001600160a01b031681565b3480156104e557600080fd5b506008545b6040519081526020016103f4565b34801561050457600080fd5b5061041d61051336600461433a565b610f7f565b34801561052457600080fd5b5061041d6105333660046140fb565b610fdb565b34801561054457600080fd5b506104ea6105533660046141e8565b611013565b34801561056457600080fd5b506104ea6108ae81565b34801561057a57600080fd5b5061041d6105893660046140af565b6110ac565b34801561059a57600080fd5b506103e861111c565b3480156105af57600080fd5b5061041d611153565b3480156105c457600080fd5b5061041d6105d33660046140fb565b6111ab565b3480156105e457600080fd5b5061041d6105f3366004614322565b6111c6565b34801561060457600080fd5b5061041d611242565b34801561061957600080fd5b506104ea610628366004614322565b6112ad565b34801561063957600080fd5b506103e86106483660046140af565b6001600160a01b031660009081526018602052604090205460ff1690565b34801561067257600080fd5b506103e861134e565b34801561068757600080fd5b50600c5460ff166103e8565b34801561069f57600080fd5b506104816106ae366004614322565b611356565b3480156106bf57600080fd5b506104ea60125481565b3480156106d557600080fd5b5061041d6106e4366004614322565b611361565b3480156106f557600080fd5b506104ea6107043660046140af565b6113b4565b34801561071557600080fd5b5061041d6113bf565b34801561072a57600080fd5b5061041d610739366004614211565b611417565b34801561074a57600080fd5b5061041d610759366004614211565b6114e3565b34801561076a57600080fd5b5061041d61077936600461437e565b6115c6565b34801561078a57600080fd5b506104ea6107993660046140af565b6001600160a01b031660009081526013602052604090205490565b3480156107c057600080fd5b5061041d61162e565b3480156107d557600080fd5b5061041d611684565b3480156107ea57600080fd5b506104ea6107f93660046140af565b6001600160a01b031660009081526015602052604090205490565b34801561082057600080fd5b50610481600c5461010090046001600160a01b031690565b34801561084457600080fd5b506104546117a2565b34801561085957600080fd5b5061041d6108683660046141e8565b6117b1565b34801561087957600080fd5b506104ea60115481565b34801561088f57600080fd5b5061041d61089e366004614250565b611a67565b3480156108af57600080fd5b5061041d6108be366004614322565b611b6f565b61041d6108d1366004614322565b611bc2565b3480156108e257600080fd5b5061041d6108f13660046141ae565b611f5d565b34801561090257600080fd5b506103e8611f6f565b34801561091757600080fd5b5061041d611f78565b34801561092c57600080fd5b5061041d61093b366004614211565b611fe0565b34801561094c57600080fd5b506104ea600e5481565b34801561096257600080fd5b5061041d610971366004614322565b6120ac565b34801561098257600080fd5b5061041d610991366004614136565b6120ff565b3480156109a257600080fd5b506104ea600f5481565b3480156109b857600080fd5b5061041d6109c7366004614322565b61213e565b3480156109d857600080fd5b506104ea60105481565b3480156109ee57600080fd5b506104546109fd366004614322565b612191565b61041d610a10366004614322565b61219c565b348015610a2157600080fd5b5061041d610a30366004614211565b61256a565b348015610a4157600080fd5b5061041d610a503660046142f0565b6126d3565b348015610a6157600080fd5b5061041d610a7036600461437e565b612734565b348015610a8157600080fd5b506103e8610a903660046140af565b6001600160a01b031660009081526019602052604090205460ff1690565b348015610aba57600080fd5b5061041d61279c565b348015610acf57600080fd5b506103e8610ade3660046140c9565b612804565b348015610aef57600080fd5b506104ea600d5481565b348015610b0557600080fd5b5061041d610b143660046140af565b612864565b348015610b2557600080fd5b5061041d610b34366004614322565b612920565b61041d610b47366004614322565b612973565b348015610b5857600080fd5b506104ea610b673660046140af565b6001600160a01b031660009081526014602052604090205490565b6000610b8d82612e20565b90505b919050565b610b9d612e45565b6001600160a01b0316610bbd600c5461010090046001600160a01b031690565b6001600160a01b031614610bec5760405162461bcd60e51b8152600401610be390614553565b60405180910390fd5b6017546001600160a01b0316610c3e5760405162461bcd60e51b81526020600482015260176024820152761dda5d1a191c985dd059191c995cdcc81b9bdd081cd95d604a1b6044820152606401610be3565b47610c4a600183614723565b8111610c8e5760405162461bcd60e51b8152602060048201526013602482015272496e737566666963656e742062616c616e636560681b6044820152606401610be3565b6017546040516001600160a01b039091169083156108fc029084906000818181858888f19350505050158015610cc8573d6000803e3d6000fd5b505050565b610cd5612e45565b6001600160a01b0316610cf5600c5461010090046001600160a01b031690565b6001600160a01b031614610d1b5760405162461bcd60e51b8152600401610be390614553565b600c80546001919060ff60a81b1916600160a81b835b0217905550601191909155601255565b606060008054610d509061477d565b80601f0160208091040260200160405190810160405280929190818152602001828054610d7c9061477d565b8015610dc95780601f10610d9e57610100808354040283529160200191610dc9565b820191906000526020600020905b815481529060010190602001808311610dac57829003601f168201915b505050505090505b90565b6000610ddf82612e54565b610e405760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610be3565b506000908152600460205260409020546001600160a01b031690565b6000610e6782612e71565b9050806001600160a01b0316836001600160a01b03161415610ed55760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610be3565b806001600160a01b0316610ee7612e45565b6001600160a01b03161480610f035750610f0381610ade612e45565b610f755760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610be3565b610cc88383612ee8565b610f87612e45565b6001600160a01b0316610fa7600c5461010090046001600160a01b031690565b6001600160a01b031614610fcd5760405162461bcd60e51b8152600401610be390614553565b610fd78282612f56565b5050565b610fec610fe6612e45565b82612f60565b6110085760405162461bcd60e51b8152600401610be39061460c565b610cc883838361302a565b600061101e836131d1565b82106110805760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610be3565b506001600160a01b03821660009081526006602090815260408083208484529091529020545b92915050565b6110b4612e45565b6001600160a01b03166110d4600c5461010090046001600160a01b031690565b6001600160a01b0316146110fa5760405162461bcd60e51b8152600401610be390614553565b601780546001600160a01b0319166001600160a01b0392909216919091179055565b600060015b600c54600160a81b900460ff16600281111561114d57634e487b7160e01b600052602160045260246000fd5b14905090565b61115b612e45565b6001600160a01b031661117b600c5461010090046001600160a01b031690565b6001600160a01b0316146111a15760405162461bcd60e51b8152600401610be390614553565b6111a9613258565b565b610cc8838383604051806020016040528060008152506120ff565b6111d1610fe6612e45565b6112365760405162461bcd60e51b815260206004820152603060248201527f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760448201526f1b995c881b9bdc88185c1c1c9bdd995960821b6064820152608401610be3565b61123f816132f1565b50565b61124a612e45565b6001600160a01b031661126a600c5461010090046001600160a01b031690565b6001600160a01b0316146112905760405162461bcd60e51b8152600401610be390614553565b600c80546001919060ff60a81b1916600160a81b835b0217905550565b60006112b860085490565b821061131b5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610be3565b6008828154811061133c57634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050919050565b600080611121565b6000610b8d82612e71565b611369612e45565b6001600160a01b0316611389600c5461010090046001600160a01b031690565b6001600160a01b0316146113af5760405162461bcd60e51b8152600401610be390614553565b600d55565b6000610b8d826131d1565b6113c7612e45565b6001600160a01b03166113e7600c5461010090046001600160a01b031690565b6001600160a01b03161461140d5760405162461bcd60e51b8152600401610be390614553565b6111a960006132fa565b61141f612e45565b6001600160a01b031661143f600c5461010090046001600160a01b031690565b6001600160a01b0316146114655760405162461bcd60e51b8152600401610be390614553565b60005b81811015610cc85760016019600085858581811061149657634e487b7160e01b600052603260045260246000fd5b90506020020160208101906114ab91906140af565b6001600160a01b031681526020810191909152604001600020805460ff19169115159190911790556114dc816147b8565b9050611468565b6114eb612e45565b6001600160a01b031661150b600c5461010090046001600160a01b031690565b6001600160a01b0316146115315760405162461bcd60e51b8152600401610be390614553565b60005b81811015610cc85760006018600085858581811061156257634e487b7160e01b600052603260045260246000fd5b905060200201602081019061157791906140af565b6001600160a01b0316815260208101919091526040016000908120805460ff191692151592909217909155600f8054916115b083614766565b9190505550806115bf906147b8565b9050611534565b6115ce612e45565b6001600160a01b03166115ee600c5461010090046001600160a01b031690565b6001600160a01b0316146116145760405162461bcd60e51b8152600401610be390614553565b600c80546002919060ff60a81b1916600160a81b83610d31565b611636612e45565b6001600160a01b0316611656600c5461010090046001600160a01b031690565b6001600160a01b03161461167c5760405162461bcd60e51b8152600401610be390614553565b6111a9613354565b61168c612e45565b6001600160a01b03166116ac600c5461010090046001600160a01b031690565b6001600160a01b0316146116d25760405162461bcd60e51b8152600401610be390614553565b6017546001600160a01b03166117245760405162461bcd60e51b81526020600482015260176024820152761dda5d1a191c985dd059191c995cdcc81b9bdd081cd95d604a1b6044820152606401610be3565b47806117685760405162461bcd60e51b8152602060048201526013602482015272496e737566666963656e742062616c616e636560681b6044820152606401610be3565b6017546040516001600160a01b039091169082156108fc029083906000818181858888f19350505050158015610fd7573d6000803e3d6000fd5b606060018054610d509061477d565b6002600a5414156117d45760405162461bcd60e51b8152600401610be39061465d565b6002600a553332146117f85760405162461bcd60e51b8152600401610be390614588565b611800612e45565b6001600160a01b0316611820600c5461010090046001600160a01b031690565b6001600160a01b0316146118465760405162461bcd60e51b8152600401610be390614553565b6000601054116118985760405162461bcd60e51b815260206004820152601960248201527f4e6f20746f6b656e73206c65667420696e2072657365727665000000000000006044820152606401610be3565b6010546118a6600183614723565b106118f35760405162461bcd60e51b815260206004820152601760248201527f4578636565647320726573657276656420737570706c790000000000000000006044820152606401610be3565b6108ae60018261190260085490565b61190c91906146d8565b6119169190614723565b106119335760405162461bcd60e51b8152600401610be390614523565b6000816001600160401b0381111561195b57634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015611984578160200160208202803683370190505b50905060005b82811015611a0957600061199d60165490565b9050808383815181106119c057634e487b7160e01b600052603260045260246000fd5b6020026020010181815250506119da601680546001019055565b6119e485826133ad565b6119f6816119f1836133c7565b612f56565b5080611a01816147b8565b91505061198a565b508160106000828254611a1c9190614723565b90915550506040517f4e439d54cfe0b2e303dd6d6e906ab06d0d0b179fa331c44deb68dc6bc04fa1ab90611a5590859085908590614437565b60405180910390a150506001600a5550565b611a6f612e45565b6001600160a01b0316611a8f600c5461010090046001600160a01b031690565b6001600160a01b031614611ab55760405162461bcd60e51b8152600401610be390614553565b60005b83811015611b6857611b56858583818110611ae357634e487b7160e01b600052603260045260246000fd5b90506020020135848484818110611b0a57634e487b7160e01b600052603260045260246000fd5b9050602002810190611b1c9190614694565b8080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250612f5692505050565b80611b60816147b8565b915050611ab8565b5050505050565b611b77612e45565b6001600160a01b0316611b97600c5461010090046001600160a01b031690565b6001600160a01b031614611bbd5760405162461bcd60e51b8152600401610be390614553565b601155565b6002600a541415611be55760405162461bcd60e51b8152600401610be39061465d565b6002600a55333214611c095760405162461bcd60e51b8152600401610be390614588565b600c5460ff1615611c2c5760405162461bcd60e51b8152600401610be3906144f9565b6002600c54600160a81b900460ff166002811115611c5a57634e487b7160e01b600052602160045260246000fd5b14611cbb5760405162461bcd60e51b815260206004820152602b60248201527f6d696e742063616e206f6e6c792062652063616c6c656420647572696e67207060448201526a75626c696320706861736560a81b6064820152608401610be3565b336000908152601560205260409020546011548110611d285760405162461bcd60e51b815260206004820152602360248201527f4d696e74206c696d6974207265616368656420666f722074686973206163636f6044820152621d5b9d60ea1b6064820152608401610be3565b6011546001611d3784846146d8565b611d419190614723565b10611da15760405162461bcd60e51b815260206004820152602a60248201527f5175616e7469747920707574732074686973206163636f756e74206f766572206044820152691b5a5b9d081b1a5b5a5d60b21b6064820152608401610be3565b6108ae600183601054611db360085490565b611dbd91906146d8565b611dc791906146d8565b611dd19190614723565b10611dee5760405162461bcd60e51b8152600401610be390614523565b600082601254611dfe9190614704565b9050803414611e1f5760405162461bcd60e51b8152600401610be3906145d5565b6000836001600160401b03811115611e4757634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015611e70578160200160208202803683370190505b50905060005b84811015611f16576000611e8960165490565b905080838381518110611eac57634e487b7160e01b600052603260045260246000fd5b602002602001018181525050611ec6601680546001019055565b336000908152601560205260408120805460019290611ee69084906146d8565b90915550611ef6905033826133ad565b611f03816119f1836133c7565b5080611f0e816147b8565b915050611e76565b507f4e439d54cfe0b2e303dd6d6e906ab06d0d0b179fa331c44deb68dc6bc04fa1ab338583604051611f4a93929190614437565b60405180910390a150506001600a555050565b610fd7611f68612e45565b83836134e1565b60006002611121565b611f80612e45565b6001600160a01b0316611fa0600c5461010090046001600160a01b031690565b6001600160a01b031614611fc65760405162461bcd60e51b8152600401610be390614553565b600c80546000919060ff60a81b1916600160a81b836112a6565b611fe8612e45565b6001600160a01b0316612008600c5461010090046001600160a01b031690565b6001600160a01b03161461202e5760405162461bcd60e51b8152600401610be390614553565b60005b81811015610cc85760006019600085858581811061205f57634e487b7160e01b600052603260045260246000fd5b905060200201602081019061207491906140af565b6001600160a01b031681526020810191909152604001600020805460ff19169115159190911790556120a5816147b8565b9050612031565b6120b4612e45565b6001600160a01b03166120d4600c5461010090046001600160a01b031690565b6001600160a01b0316146120fa5760405162461bcd60e51b8152600401610be390614553565b600e55565b61211061210a612e45565b83612f60565b61212c5760405162461bcd60e51b8152600401610be39061460c565b612138848484846135b0565b50505050565b612146612e45565b6001600160a01b0316612166600c5461010090046001600160a01b031690565b6001600160a01b03161461218c5760405162461bcd60e51b8152600401610be390614553565b601055565b6060610b8d826135e3565b6002600a5414156121bf5760405162461bcd60e51b8152600401610be39061465d565b6002600a553332146121e35760405162461bcd60e51b8152600401610be390614588565b600c5460ff16156122065760405162461bcd60e51b8152600401610be3906144f9565b6001600c54600160a81b900460ff16600281111561223457634e487b7160e01b600052602160045260246000fd5b1461229e5760405162461bcd60e51b815260206004820152603460248201527f70726573616c654d696e742063616e206f6e6c792062652063616c6c656420646044820152737572696e67207072652d73616c6520706861736560601b6064820152608401610be3565b3360009081526019602052604090205460ff166122fd5760405162461bcd60e51b815260206004820152601c60248201527f4163636f756e74206e6f74206f6e207072652d73616c65206c697374000000006044820152606401610be3565b3360009081526014602052604090205460115481106123735760405162461bcd60e51b815260206004820152602c60248201527f5072652d73616c65206d696e74206c696d6974207265616368656420666f722060448201526b1d1a1a5cc81858d8dbdd5b9d60a21b6064820152608401610be3565b601154600161238284846146d8565b61238c9190614723565b106123f55760405162461bcd60e51b815260206004820152603360248201527f5175616e7469747920707574732074686973206163636f756e74206f766572206044820152721c1c994b5cd85b19481b5a5b9d081b1a5b5a5d606a1b6064820152608401610be3565b6108ae60018360105461240760085490565b61241191906146d8565b61241b91906146d8565b6124259190614723565b106124425760405162461bcd60e51b8152600401610be390614523565b6000826012546124529190614704565b90508034146124735760405162461bcd60e51b8152600401610be3906145d5565b6000836001600160401b0381111561249b57634e487b7160e01b600052604160045260246000fd5b6040519080825280602002602001820160405280156124c4578160200160208202803683370190505b50905060005b84811015611f165760006124dd60165490565b90508083838151811061250057634e487b7160e01b600052603260045260246000fd5b60200260200101818152505061251a601680546001019055565b33600090815260146020526040812080546001929061253a9084906146d8565b9091555061254a905033826133ad565b612557816119f1836133c7565b5080612562816147b8565b9150506124ca565b612572612e45565b6001600160a01b0316612592600c5461010090046001600160a01b031690565b6001600160a01b0316146125b85760405162461bcd60e51b8152600401610be390614553565b600e54600f546001906125cc9084906146d8565b6125d69190614723565b1061263e5760405162461bcd60e51b815260206004820152603260248201527f54686973206e756d626572206f66206163636f756e74732077696c6c20657863604482015271656564206d61785669704c69737453697a6560701b6064820152608401610be3565b60005b81811015610cc85760016018600085858581811061266f57634e487b7160e01b600052603260045260246000fd5b905060200201602081019061268491906140af565b6001600160a01b0316815260208101919091526040016000908120805460ff191692151592909217909155600f8054916126bd836147b8565b9190505550806126cc906147b8565b9050612641565b6126db612e45565b6001600160a01b03166126fb600c5461010090046001600160a01b031690565b6001600160a01b0316146127215760405162461bcd60e51b8152600401610be390614553565b8051610fd790601a906020840190613eeb565b61273c612e45565b6001600160a01b031661275c600c5461010090046001600160a01b031690565b6001600160a01b0316146127825760405162461bcd60e51b8152600401610be390614553565b600c80546000919060ff60a81b1916600160a81b83610d31565b6127a4612e45565b6001600160a01b03166127c4600c5461010090046001600160a01b031690565b6001600160a01b0316146127ea5760405162461bcd60e51b8152600401610be390614553565b600c80546002919060ff60a81b1916600160a81b836112a6565b60006001600160a01b0382167358807bad0b376efc12f5ad86aac70e78ed67deae1415612833575060016110a6565b6001600160a01b0380841660009081526005602090815260408083209386168352929052205460ff165b9392505050565b61286c612e45565b6001600160a01b031661288c600c5461010090046001600160a01b031690565b6001600160a01b0316146128b25760405162461bcd60e51b8152600401610be390614553565b6001600160a01b0381166129175760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610be3565b61123f816132fa565b612928612e45565b6001600160a01b0316612948600c5461010090046001600160a01b031690565b6001600160a01b03161461296e5760405162461bcd60e51b8152600401610be390614553565b601255565b6002600a5414156129965760405162461bcd60e51b8152600401610be39061465d565b6002600a553332146129ba5760405162461bcd60e51b8152600401610be390614588565b600c5460ff16156129dd5760405162461bcd60e51b8152600401610be3906144f9565b6000600c54600160a81b900460ff166002811115612a0b57634e487b7160e01b600052602160045260246000fd5b14612a6c5760405162461bcd60e51b815260206004820152602b60248201527f7669704d696e742063616e206f6e6c792062652063616c6c656420647572696e60448201526a672056495020706861736560a81b6064820152608401610be3565b3360009081526018602052604090205460ff16612acb5760405162461bcd60e51b815260206004820152601760248201527f4163636f756e74206e6f74206f6e20564950206c6973740000000000000000006044820152606401610be3565b600d548114612b285760405162461bcd60e51b8152602060048201526024808201527f496e76616c6964206e756d626572206f6620746f6b656e7320666f7220766970604482015263135a5b9d60e21b6064820152608401610be3565b336000908152601360205260409020546011548110612b995760405162461bcd60e51b815260206004820152602760248201527f564950206d696e74206c696d6974207265616368656420666f722074686973206044820152661858d8dbdd5b9d60ca1b6064820152608401610be3565b6011546001612ba884846146d8565b612bb29190614723565b10612c165760405162461bcd60e51b815260206004820152602e60248201527f5175616e7469747920707574732074686973206163636f756e74206f7665722060448201526d159254081b5a5b9d081b1a5b5a5d60921b6064820152608401610be3565b6108ae600183601054612c2860085490565b612c3291906146d8565b612c3c91906146d8565b612c469190614723565b10612c935760405162461bcd60e51b815260206004820152601a60248201527f4e6f7420656e6f7567682056495020746f6b656e73206c6566740000000000006044820152606401610be3565b600082601254612ca39190614704565b9050803414612cc45760405162461bcd60e51b8152600401610be3906145d5565b6000836001600160401b03811115612cec57634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015612d15578160200160208202803683370190505b50905060005b84811015611f16576000612d2e60165490565b905080838381518110612d5157634e487b7160e01b600052603260045260246000fd5b602002602001018181525050612d6b601680546001019055565b336000908152601360205260408120805460019290612d8b9084906146d8565b90915550612d9b905033826133ad565b612da8816119f1836133c7565b5080612db3816147b8565b915050612d1b565b80546001019055565b600033301415612e1b57600080368080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152505050503601516001600160a01b03169150610dd19050565b503390565b60006001600160e01b0319821663780e9d6360e01b1480610b8d5750610b8d82613746565b6000612e4f612dc4565b905090565b6000908152600260205260409020546001600160a01b0316151590565b6000818152600260205260408120546001600160a01b031680610b8d5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610be3565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190612f1d82612e71565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b610fd78282613796565b6000612f6b82612e54565b612fcc5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610be3565b6000612fd783612e71565b9050806001600160a01b0316846001600160a01b031614806130125750836001600160a01b031661300784610dd4565b6001600160a01b0316145b8061302257506130228185612804565b949350505050565b826001600160a01b031661303d82612e71565b6001600160a01b0316146130a15760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b6064820152608401610be3565b6001600160a01b0382166131035760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610be3565b61310e838383613821565b613119600082612ee8565b6001600160a01b0383166000908152600360205260408120805460019290613142908490614723565b90915550506001600160a01b03821660009081526003602052604081208054600192906131709084906146d8565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4610cc8565b60006001600160a01b03821661323c5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610be3565b506001600160a01b031660009081526003602052604090205490565b600c5460ff166132a15760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610be3565b600c805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6132d4612e45565b6040516001600160a01b03909116815260200160405180910390a1565b61123f8161382c565b600c80546001600160a01b03838116610100818102610100600160a81b031985161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600c5460ff16156133775760405162461bcd60e51b8152600401610be3906144f9565b600c805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586132d4612e45565b610fd782826040518060200160405280600081525061386c565b6060816133ec57506040805180820190915260018152600360fc1b6020820152610b90565b8160005b81156134165780613400816147b8565b915061340f9050600a836146f0565b91506133f0565b6000816001600160401b0381111561343e57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015613468576020820181803683370190505b5090505b84156130225761347d600183614723565b915061348a600a866147d3565b6134959060306146d8565b60f81b8183815181106134b857634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a9053506134da600a866146f0565b945061346c565b816001600160a01b0316836001600160a01b031614156135435760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610be3565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6135bb84848461302a565b6135c78484848461389f565b6121385760405162461bcd60e51b8152600401610be3906144a7565b60606135ee82612e54565b6136545760405162461bcd60e51b815260206004820152603160248201527f45524337323155524953746f726167653a2055524920717565727920666f72206044820152703737b732bc34b9ba32b73a103a37b5b2b760791b6064820152608401610be3565b6000828152600b60205260408120805461366d9061477d565b80601f01602080910402602001604051908101604052809291908181526020018280546136999061477d565b80156136e65780601f106136bb576101008083540402835291602001916136e6565b820191906000526020600020905b8154815290600101906020018083116136c957829003601f168201915b5050505050905060006136f76139b3565b905080516000141561370b57509050610b90565b81511561373d5780826040516020016137259291906143cb565b60405160208183030381529060405292505050610b90565b613022846139c2565b60006001600160e01b031982166380ac58cd60e01b148061377757506001600160e01b03198216635b5e139f60e01b145b80610b8d57506301ffc9a760e01b6001600160e01b0319831614610b8d565b61379f82612e54565b6138025760405162461bcd60e51b815260206004820152602e60248201527f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60448201526d32bc34b9ba32b73a103a37b5b2b760911b6064820152608401610be3565b6000828152600b602090815260409091208251610cc892840190613eeb565b610cc8838383613a8c565b61383581613b49565b6000818152600b60205260409020805461384e9061477d565b15905061123f576000818152600b6020526040812061123f91613f6f565b6138768383613bf1565b613883600084848461389f565b610cc85760405162461bcd60e51b8152600401610be3906144a7565b60006001600160a01b0384163b156139a857836001600160a01b031663150b7a026138c8612e45565b8786866040518563ffffffff1660e01b81526004016138ea94939291906143fa565b602060405180830381600087803b15801561390457600080fd5b505af1925050508015613934575060408051601f3d908101601f19168201909252613931918101906142d4565b60015b61398e573d808015613962576040519150601f19603f3d011682016040523d82523d6000602084013e613967565b606091505b5080516139865760405162461bcd60e51b8152600401610be3906144a7565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050613022565b506001949350505050565b6060601a8054610d509061477d565b60606139cd82612e54565b613a315760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610be3565b6000613a3b6139b3565b90506000815111613a5b576040518060200160405280600081525061285d565b80613a65846133c7565b604051602001613a769291906143cb565b6040516020818303038152906040529392505050565b6001600160a01b038316613ae757613ae281600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b613b0a565b816001600160a01b0316836001600160a01b031614613b0a57613b0a8382613d31565b6001600160a01b038216613b2657613b2181613dce565b610cc8565b826001600160a01b0316826001600160a01b031614610cc857610cc88282613ea7565b6000613b5482612e71565b9050613b6281600084613821565b613b6d600083612ee8565b6001600160a01b0381166000908152600360205260408120805460019290613b96908490614723565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a4610fd7565b6001600160a01b038216613c475760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610be3565b613c5081612e54565b15613c9d5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610be3565b613ca960008383613821565b6001600160a01b0382166000908152600360205260408120805460019290613cd29084906146d8565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4610fd7565b60006001613d3e846131d1565b613d489190614723565b600083815260076020526040902054909150808214613d9b576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090613de090600190614723565b60008381526009602052604081205460088054939450909284908110613e1657634e487b7160e01b600052603260045260246000fd5b906000526020600020015490508060088381548110613e4557634e487b7160e01b600052603260045260246000fd5b6000918252602080832090910192909255828152600990915260408082208490558582528120556008805480613e8b57634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000613eb2836131d1565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b828054613ef79061477d565b90600052602060002090601f016020900481019282613f195760008555613f5f565b82601f10613f3257805160ff1916838001178555613f5f565b82800160010185558215613f5f579182015b82811115613f5f578251825591602001919060010190613f44565b50613f6b929150613fa7565b5090565b508054613f7b9061477d565b6000825580601f10613f8d575061123f565b601f01602090049060005260206000209081019061123f91905b5b80821115613f6b5760008155600101613fa8565b60006001600160401b0380841115613fd657613fd6614813565b604051601f8501601f19908116603f01168101908282118183101715613ffe57613ffe614813565b8160405280935085815286868601111561401757600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b0381168114610b9057600080fd5b60008083601f840112614059578081fd5b5081356001600160401b0381111561406f578182fd5b602083019150836020808302850101111561408957600080fd5b9250929050565b600082601f8301126140a0578081fd5b61285d83833560208501613fbc565b6000602082840312156140c0578081fd5b61285d82614031565b600080604083850312156140db578081fd5b6140e483614031565b91506140f260208401614031565b90509250929050565b60008060006060848603121561410f578081fd5b61411884614031565b925061412660208501614031565b9150604084013590509250925092565b6000806000806080858703121561414b578081fd5b61415485614031565b935061416260208601614031565b92506040850135915060608501356001600160401b03811115614183578182fd5b8501601f81018713614193578182fd5b6141a287823560208401613fbc565b91505092959194509250565b600080604083850312156141c0578182fd5b6141c983614031565b9150602083013580151581146141dd578182fd5b809150509250929050565b600080604083850312156141fa578182fd5b61420383614031565b946020939093013593505050565b60008060208385031215614223578182fd5b82356001600160401b03811115614238578283fd5b61424485828601614048565b90969095509350505050565b60008060008060408587031215614265578384fd5b84356001600160401b038082111561427b578586fd5b61428788838901614048565b9096509450602087013591508082111561429f578384fd5b506142ac87828801614048565b95989497509550505050565b6000602082840312156142c9578081fd5b813561285d81614829565b6000602082840312156142e5578081fd5b815161285d81614829565b600060208284031215614301578081fd5b81356001600160401b03811115614316578182fd5b61302284828501614090565b600060208284031215614333578081fd5b5035919050565b6000806040838503121561434c578182fd5b8235915060208301356001600160401b03811115614368578182fd5b61437485828601614090565b9150509250929050565b60008060408385031215614390578182fd5b50508035926020909101359150565b600081518084526143b781602086016020860161473a565b601f01601f19169290920160200192915050565b600083516143dd81846020880161473a565b8351908301906143f181836020880161473a565b01949350505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061442d9083018461439f565b9695505050505050565b6001600160a01b038416815260208082018490526060604083018190528351908301819052600091848101916080850190845b818110156144865784518352938301939183019160010161446a565b509098975050505050505050565b60006020825261285d602083018461439f565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526010908201526f14185d5cd8589b194e881c185d5cd95960821b604082015260600190565b602080825260169082015275139bdd08195b9bdd59da081d1bdad95b9cc81b19599d60521b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252602d908201527f5472616e73616374696f6e732066726f6d20736d61727420636f6e747261637460408201526c1cc81b9bdd08185b1b1bddd959609a1b606082015260800190565b6020808252601b908201527f5061796d656e7420616d6f756e7420697320696e636f72726563740000000000604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b6000808335601e198436030181126146aa578283fd5b8301803591506001600160401b038211156146c3578283fd5b60200191503681900382131561408957600080fd5b600082198211156146eb576146eb6147e7565b500190565b6000826146ff576146ff6147fd565b500490565b600081600019048311821515161561471e5761471e6147e7565b500290565b600082821015614735576147356147e7565b500390565b60005b8381101561475557818101518382015260200161473d565b838111156121385750506000910152565b600081614775576147756147e7565b506000190190565b60028104600182168061479157607f821691505b602082108114156147b257634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156147cc576147cc6147e7565b5060010190565b6000826147e2576147e26147fd565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461123f57600080fdfea264697066735822122091523e437888cb72453a664521be8ea9d5411c5af355a4dab494753a652b2bae64736f6c63430008020033

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.