ETH Price: $3,489.60 (+2.75%)
Gas: 11 Gwei

Token

Find Your LostBody (FYLB)
 

Overview

Max Total Supply

1,280 FYLB

Holders

388

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 FYLB
0xdce70dd98daae3a5702ab1c60703b635773f43d7
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
LostBody

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 15 : lostbody.sol
// SPDX-License-Identifier: MIT
/***
* $$$$$$$$\ $$\                 $$\       $$\     $$\                                   $$\                            $$\     $$$$$$$\                  $$\
* $$  _____|\__|                $$ |      \$$\   $$  |                                  $$ |                           $$ |    $$  __$$\                 $$ |
* $$ |      $$\ $$$$$$$\   $$$$$$$ |       \$$\ $$  /$$$$$$\  $$\   $$\  $$$$$$\        $$ |      $$$$$$\   $$$$$$$\ $$$$$$\   $$ |  $$ | $$$$$$\   $$$$$$$ |$$\   $$\
* $$$$$\    $$ |$$  __$$\ $$  __$$ |        \$$$$  /$$  __$$\ $$ |  $$ |$$  __$$\       $$ |     $$  __$$\ $$  _____|\_$$  _|  $$$$$$$\ |$$  __$$\ $$  __$$ |$$ |  $$ |
* $$  __|   $$ |$$ |  $$ |$$ /  $$ |         \$$  / $$ /  $$ |$$ |  $$ |$$ |  \__|      $$ |     $$ /  $$ |\$$$$$$\    $$ |    $$  __$$\ $$ /  $$ |$$ /  $$ |$$ |  $$ |
* $$ |      $$ |$$ |  $$ |$$ |  $$ |          $$ |  $$ |  $$ |$$ |  $$ |$$ |            $$ |     $$ |  $$ | \____$$\   $$ |$$\ $$ |  $$ |$$ |  $$ |$$ |  $$ |$$ |  $$ |
* $$ |      $$ |$$ |  $$ |\$$$$$$$ |          $$ |  \$$$$$$  |\$$$$$$  |$$ |            $$$$$$$$\\$$$$$$  |$$$$$$$  |  \$$$$  |$$$$$$$  |\$$$$$$  |\$$$$$$$ |\$$$$$$$ |
* \__|      \__|\__|  \__| \_______|          \__|   \______/  \______/ \__|            \________|\______/ \_______/    \____/ \_______/  \______/  \_______| \____$$ |
*                                                                                                                                                            $$\   $$ |
*                                                                                                                                                            \$$$$$$  |
*                                                                                                                                                            \______/
* For the brave souls who get this far: You are the chosen ones,
* the valiant knights of programming who toil away, without rest,
* fixing our most awful code. To you, true saviors, kings of men,
* I say this: never gonna give you up, never gonna let you down,
* never gonna run around and desert you. Never gonna make you cry,
* never gonna say goodbye. Never gonna tell a lie and hurt you.
*/

pragma solidity ^0.8.7;

import "erc721a/contracts/ERC721A.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";

interface IBayc {
    function ownerOf(uint256 tokenId) external view returns (address owner);
}

contract LostBody is ERC721A, Ownable, Pausable {
    using Strings for uint256;
    using SafeMath for uint256;

    enum EPublicMintStatus {
        CLOSED,
        ALLOWLIST_MINT,
        PUBLIC_MINT
    }

    struct reversemint {
        address reverseaddress;
        uint256 mintquantity;
    }

    string  public baseTokenURI;
    string  public defaultTokenURI;
    string  private _suffix = ".json";
    bytes32 private _merkleRoot = 0x055cd5c12df7ab63adb3ca10e70faa072d50833f01da9aa06399914dbaa72d77;
    uint256 public maxSupply = 8624;
    uint256 public allowlistSalePrice = 0.0061 ether;
    uint256 public publicSalePrice = 0.0066 ether;
    address public proxyRegistryAddress = 0xa5409ec958C83C3f309868babACA7c86DCB077c1;
    address public Bayc = 0xBC4CA0EdA7647A8aB7C2061c2E118A18a936f13D;

    mapping(address => uint256) public allowlistuserinfo;
    mapping(address => uint256) public publicsaleuserinfo;
    mapping(address => uint256) public baycholderinfo;

    uint256[] public baycholdermintinfo;
    uint256 public publicFreeMintQuantity;
    uint256 public baycHolderMintQuantity;
    uint256 public hasMintQuantityNoBaycMint;
    uint256 public reverseMintQuantity;
    EPublicMintStatus public publicMintStatus;

    constructor(
        string memory _defaultTokenURI
    ) ERC721A("Find Your LostBody", "FYLB") {
        defaultTokenURI = _defaultTokenURI;
        _pause();
    }

    modifier callerIsUser() {
        require(tx.origin == msg.sender, "Must from real wallet address");
        _;
    }

    function findlostbody_allowlist(bytes32[] calldata merkleProof, uint256 _quantity) external callerIsUser payable whenNotPaused {
        require(publicMintStatus==EPublicMintStatus.ALLOWLIST_MINT, "Allowlist sale closed");
        bytes32 leaf = keccak256(abi.encodePacked(msg.sender));
        require(MerkleProof.verify(merkleProof, _merkleRoot, leaf), "Invalid merkle proof");

        require(_quantity > 0, "Invalid quantity");
        require(hasMintQuantityNoBaycMint + _quantity <= 8260, "Exceed supply");
        require(allowlistuserinfo[msg.sender]+_quantity<5,"Exceed allowlist Sale");

        uint256  _remainFreeQuantity = 1;
        if (allowlistuserinfo[msg.sender] > 1) {
            _remainFreeQuantity=0;
        }
        uint256 _needPayPrice =  (_quantity - _remainFreeQuantity) * allowlistSalePrice;

        require(msg.value >= _needPayPrice, "Ether is not enough");
        _safeMint(msg.sender, _quantity);
        allowlistuserinfo[msg.sender]+=_quantity;
        hasMintQuantityNoBaycMint+=_quantity;
    }

    function findlostbody_public(uint256 _quantity) external callerIsUser payable whenNotPaused {
        require(publicMintStatus==EPublicMintStatus.PUBLIC_MINT, "Public sale closed");
        require(_quantity > 0, "Invalid quantity");
        require(hasMintQuantityNoBaycMint + _quantity <= 8260, "Exceed supply");
        require(publicsaleuserinfo[msg.sender]+_quantity<5,"Exceed public Sale");

        uint256  _remainFreeQuantity = 1;
        if (publicsaleuserinfo[msg.sender] > 1) {
            _remainFreeQuantity=0;
        }

        if (publicFreeMintQuantity >= 400){
            _remainFreeQuantity=0;
        }

        uint256 _needPayPrice =  (_quantity - _remainFreeQuantity) * publicSalePrice;

        require(msg.value >= _needPayPrice, "Ether is not enough");
        _safeMint(msg.sender, _quantity);
        publicsaleuserinfo[msg.sender]+=_quantity;
        publicFreeMintQuantity += _quantity;
        hasMintQuantityNoBaycMint+=_quantity;
    }


    function findlostbody_baycmint(uint256 _tokenid) external callerIsUser payable whenNotPaused {
        require(publicMintStatus==EPublicMintStatus.PUBLIC_MINT || publicMintStatus==EPublicMintStatus.ALLOWLIST_MINT, "Baycholder sale closed");
        require(baycHolderMintQuantity <= 24 , "Exceed supply");
        require(baycholderinfo[msg.sender] <= 1 , "The address can only be cast once");
        address baycowner = IBayc(Bayc).ownerOf(_tokenid);
        require(baycowner==msg.sender, "This address is not the holder of this token");
        baycholderinfo[msg.sender]+= 1;
        baycHolderMintQuantity += 1;
        baycholdermintinfo.push(_tokenid);
        _safeMint(msg.sender, 1);
    }


    function findlostbody_reversemint(reversemint[] memory _reversemintinfos) external callerIsUser payable whenNotPaused {
        require(publicMintStatus==EPublicMintStatus.PUBLIC_MINT || publicMintStatus==EPublicMintStatus.ALLOWLIST_MINT, "Marketing campaign  sale closed");
        for (uint256 i=0;i<_reversemintinfos.length;i++){
            require(reverseMintQuantity+_reversemintinfos[i].mintquantity <= 340 , "Exceed supply");
            reverseMintQuantity+=_reversemintinfos[i].mintquantity;
            _safeMint(_reversemintinfos[i].reverseaddress, _reversemintinfos[i].mintquantity);
        }
    }

    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        require(_exists(tokenId), "ERC721Metadata: Nonexistent token");
        string memory currentBaseURI = _baseURI();
        return
        bytes(currentBaseURI).length > 0 ? string(
            abi.encodePacked(
                currentBaseURI,
                tokenId.toString(),
                _suffix
            )
        ) : defaultTokenURI;
    }


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

    function setBaseURI(string calldata _baseTokenURI) external onlyOwner {
        baseTokenURI = _baseTokenURI;
    }

    function setDefaultURI(string calldata _defaultURI) external onlyOwner {
        defaultTokenURI = _defaultURI;
    }

    function setMerkleRoot(bytes32 merkleRoot) external onlyOwner {
        _merkleRoot = merkleRoot;
    }

    function setPublicMintStatus(uint256 status)external onlyOwner{
        publicMintStatus = EPublicMintStatus(status);
    }

    function setPublicPrice(uint256 mintprice)external onlyOwner{
        publicSalePrice = mintprice;
    }


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

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

    function withdrawMoney() external onlyOwner  {
        (bool success,) = msg.sender.call{value : address(this).balance}("");
        require(success, "Transfer failed.");
    }

    function isApprovedForAll(address owner, address operator)
    public
    view
    override
    returns (bool)
    {
        ProxyRegistry proxyRegistry = ProxyRegistry(proxyRegistryAddress);
        return proxyRegistryAddress == operator || address(proxyRegistry.proxies(owner)) == operator || super.isApprovedForAll(owner, operator);
    }

}

contract OwnableDelegateProxy {}

/**
 * Used to delegate ownership of a contract to another address, to save on unneeded transactions to approve contract use for users
 */
contract ProxyRegistry {
    mapping(address => OwnableDelegateProxy) public proxies;
}

File 2 of 15 : ERC721A.sol
// SPDX-License-Identifier: MIT
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import '@openzeppelin/contracts/token/ERC721/IERC721.sol';
import '@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol';
import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol';
import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol';
import '@openzeppelin/contracts/utils/Address.sol';
import '@openzeppelin/contracts/utils/Context.sol';
import '@openzeppelin/contracts/utils/Strings.sol';
import '@openzeppelin/contracts/utils/introspection/ERC165.sol';

error ApprovalCallerNotOwnerNorApproved();
error ApprovalQueryForNonexistentToken();
error ApproveToCaller();
error ApprovalToCurrentOwner();
error BalanceQueryForZeroAddress();
error MintedQueryForZeroAddress();
error BurnedQueryForZeroAddress();
error AuxQueryForZeroAddress();
error MintToZeroAddress();
error MintZeroQuantity();
error OwnerIndexOutOfBounds();
error OwnerQueryForNonexistentToken();
error TokenIndexOutOfBounds();
error TransferCallerNotOwnerNorApproved();
error TransferFromIncorrectOwner();
error TransferToNonERC721ReceiverImplementer();
error TransferToZeroAddress();
error URIQueryForNonexistentToken();

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension. Built to optimize for lower gas during batch mints.
 *
 * Assumes serials are sequentially minted starting at _startTokenId() (defaults to 0, e.g. 0, 1, 2, 3..).
 *
 * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply.
 *
 * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256).
 */
contract ERC721A is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Compiler will pack this into a single 256bit word.
    struct TokenOwnership {
        // The address of the owner.
        address addr;
        // Keeps track of the start time of ownership with minimal overhead for tokenomics.
        uint64 startTimestamp;
        // Whether the token has been burned.
        bool burned;
    }

    // Compiler will pack this into a single 256bit word.
    struct AddressData {
        // Realistically, 2**64-1 is more than enough.
        uint64 balance;
        // Keeps track of mint count with minimal overhead for tokenomics.
        uint64 numberMinted;
        // Keeps track of burn count with minimal overhead for tokenomics.
        uint64 numberBurned;
        // For miscellaneous variable(s) pertaining to the address
        // (e.g. number of whitelist mint slots used).
        // If there are multiple variables, please pack them into a uint64.
        uint64 aux;
    }

    // The tokenId of the next token to be minted.
    uint256 internal _currentIndex;

    // The number of tokens burned.
    uint256 internal _burnCounter;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to ownership details
    // An empty struct value does not necessarily mean the token is unowned. See ownershipOf implementation for details.
    mapping(uint256 => TokenOwnership) internal _ownerships;

    // Mapping owner address to address data
    mapping(address => AddressData) private _addressData;

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

    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
        _currentIndex = _startTokenId();
    }

    /**
     * To change the starting tokenId, please override this function.
     */
    function _startTokenId() internal view virtual returns (uint256) {
        return 0;
    }

    /**
     * @dev See {IERC721Enumerable-totalSupply}.
     * @dev Burned tokens are calculated here, use _totalMinted() if you want to count just minted tokens.
     */
    function totalSupply() public view returns (uint256) {
        // Counter underflow is impossible as _burnCounter cannot be incremented
        // more than _currentIndex - _startTokenId() times
        unchecked {
            return _currentIndex - _burnCounter - _startTokenId();
        }
    }

    /**
     * Returns the total amount of tokens minted in the contract.
     */
    function _totalMinted() internal view returns (uint256) {
        // Counter underflow is impossible as _currentIndex does not decrement,
        // and it is initialized to _startTokenId()
        unchecked {
            return _currentIndex - _startTokenId();
        }
    }

    /**
     * @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 override returns (uint256) {
        if (owner == address(0)) revert BalanceQueryForZeroAddress();
        return uint256(_addressData[owner].balance);
    }

    /**
     * Returns the number of tokens minted by `owner`.
     */
    function _numberMinted(address owner) internal view returns (uint256) {
        if (owner == address(0)) revert MintedQueryForZeroAddress();
        return uint256(_addressData[owner].numberMinted);
    }

    /**
     * Returns the number of tokens burned by or on behalf of `owner`.
     */
    function _numberBurned(address owner) internal view returns (uint256) {
        if (owner == address(0)) revert BurnedQueryForZeroAddress();
        return uint256(_addressData[owner].numberBurned);
    }

    /**
     * Returns the auxillary data for `owner`. (e.g. number of whitelist mint slots used).
     */
    function _getAux(address owner) internal view returns (uint64) {
        if (owner == address(0)) revert AuxQueryForZeroAddress();
        return _addressData[owner].aux;
    }

    /**
     * Sets the auxillary data for `owner`. (e.g. number of whitelist mint slots used).
     * If there are multiple variables, please pack them into a uint64.
     */
    function _setAux(address owner, uint64 aux) internal {
        if (owner == address(0)) revert AuxQueryForZeroAddress();
        _addressData[owner].aux = aux;
    }

    /**
     * Gas spent here starts off proportional to the maximum mint batch size.
     * It gradually moves to O(1) as tokens get transferred around in the collection over time.
     */
    function ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) {
        uint256 curr = tokenId;

        unchecked {
            if (_startTokenId() <= curr && curr < _currentIndex) {
                TokenOwnership memory ownership = _ownerships[curr];
                if (!ownership.burned) {
                    if (ownership.addr != address(0)) {
                        return ownership;
                    }
                    // Invariant:
                    // There will always be an ownership that has an address and is not burned
                    // before an ownership that does not have an address and is not burned.
                    // Hence, curr will not underflow.
                    while (true) {
                        curr--;
                        ownership = _ownerships[curr];
                        if (ownership.addr != address(0)) {
                            return ownership;
                        }
                    }
                }
            }
        }
        revert OwnerQueryForNonexistentToken();
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view override returns (address) {
        return ownershipOf(tokenId).addr;
    }

    /**
     * @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) {
        if (!_exists(tokenId)) revert URIQueryForNonexistentToken();

        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 override {
        address owner = ERC721A.ownerOf(tokenId);
        if (to == owner) revert ApprovalToCurrentOwner();

        if (_msgSender() != owner && !isApprovedForAll(owner, _msgSender())) {
            revert ApprovalCallerNotOwnerNorApproved();
        }

        _approve(to, tokenId, owner);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view override returns (address) {
        if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken();

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public override {
        if (operator == _msgSender()) revert ApproveToCaller();

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

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

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        _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 {
        _transfer(from, to, tokenId);
        if (to.isContract() && !_checkContractOnERC721Received(from, to, tokenId, _data)) {
            revert TransferToNonERC721ReceiverImplementer();
        }
    }

    /**
     * @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`),
     */
    function _exists(uint256 tokenId) internal view returns (bool) {
        return _startTokenId() <= tokenId && tokenId < _currentIndex &&
            !_ownerships[tokenId].burned;
    }

    function _safeMint(address to, uint256 quantity) internal {
        _safeMint(to, quantity, '');
    }

    /**
     * @dev Safely mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called for each safe transfer.
     * - `quantity` must be greater than 0.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(
        address to,
        uint256 quantity,
        bytes memory _data
    ) internal {
        _mint(to, quantity, _data, true);
    }

    /**
     * @dev Mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `quantity` must be greater than 0.
     *
     * Emits a {Transfer} event.
     */
    function _mint(
        address to,
        uint256 quantity,
        bytes memory _data,
        bool safe
    ) internal {
        uint256 startTokenId = _currentIndex;
        if (to == address(0)) revert MintToZeroAddress();
        if (quantity == 0) revert MintZeroQuantity();

        _beforeTokenTransfers(address(0), to, startTokenId, quantity);

        // Overflows are incredibly unrealistic.
        // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1
        // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1
        unchecked {
            _addressData[to].balance += uint64(quantity);
            _addressData[to].numberMinted += uint64(quantity);

            _ownerships[startTokenId].addr = to;
            _ownerships[startTokenId].startTimestamp = uint64(block.timestamp);

            uint256 updatedIndex = startTokenId;
            uint256 end = updatedIndex + quantity;

            if (safe && to.isContract()) {
                do {
                    emit Transfer(address(0), to, updatedIndex);
                    if (!_checkContractOnERC721Received(address(0), to, updatedIndex++, _data)) {
                        revert TransferToNonERC721ReceiverImplementer();
                    }
                } while (updatedIndex != end);
                // Reentrancy protection
                if (_currentIndex != startTokenId) revert();
            } else {
                do {
                    emit Transfer(address(0), to, updatedIndex++);
                } while (updatedIndex != end);
            }
            _currentIndex = updatedIndex;
        }
        _afterTokenTransfers(address(0), to, startTokenId, quantity);
    }

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * 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
    ) private {
        TokenOwnership memory prevOwnership = ownershipOf(tokenId);

        bool isApprovedOrOwner = (_msgSender() == prevOwnership.addr ||
            isApprovedForAll(prevOwnership.addr, _msgSender()) ||
            getApproved(tokenId) == _msgSender());

        if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        if (prevOwnership.addr != from) revert TransferFromIncorrectOwner();
        if (to == address(0)) revert TransferToZeroAddress();

        _beforeTokenTransfers(from, to, tokenId, 1);

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

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256.
        unchecked {
            _addressData[from].balance -= 1;
            _addressData[to].balance += 1;

            _ownerships[tokenId].addr = to;
            _ownerships[tokenId].startTimestamp = uint64(block.timestamp);

            // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it.
            // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
            uint256 nextTokenId = tokenId + 1;
            if (_ownerships[nextTokenId].addr == address(0)) {
                // This will suffice for checking _exists(nextTokenId),
                // as a burned slot cannot contain the zero address.
                if (nextTokenId < _currentIndex) {
                    _ownerships[nextTokenId].addr = prevOwnership.addr;
                    _ownerships[nextTokenId].startTimestamp = prevOwnership.startTimestamp;
                }
            }
        }

        emit Transfer(from, to, tokenId);
        _afterTokenTransfers(from, to, tokenId, 1);
    }

    /**
     * @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 {
        TokenOwnership memory prevOwnership = ownershipOf(tokenId);

        _beforeTokenTransfers(prevOwnership.addr, address(0), tokenId, 1);

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

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256.
        unchecked {
            _addressData[prevOwnership.addr].balance -= 1;
            _addressData[prevOwnership.addr].numberBurned += 1;

            // Keep track of who burned the token, and the timestamp of burning.
            _ownerships[tokenId].addr = prevOwnership.addr;
            _ownerships[tokenId].startTimestamp = uint64(block.timestamp);
            _ownerships[tokenId].burned = true;

            // If the ownership slot of tokenId+1 is not explicitly set, that means the burn initiator owns it.
            // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
            uint256 nextTokenId = tokenId + 1;
            if (_ownerships[nextTokenId].addr == address(0)) {
                // This will suffice for checking _exists(nextTokenId),
                // as a burned slot cannot contain the zero address.
                if (nextTokenId < _currentIndex) {
                    _ownerships[nextTokenId].addr = prevOwnership.addr;
                    _ownerships[nextTokenId].startTimestamp = prevOwnership.startTimestamp;
                }
            }
        }

        emit Transfer(prevOwnership.addr, address(0), tokenId);
        _afterTokenTransfers(prevOwnership.addr, address(0), tokenId, 1);

        // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times.
        unchecked {
            _burnCounter++;
        }
    }

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

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target 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 _checkContractOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
            return retval == IERC721Receiver(to).onERC721Received.selector;
        } catch (bytes memory reason) {
            if (reason.length == 0) {
                revert TransferToNonERC721ReceiverImplementer();
            } else {
                assembly {
                    revert(add(32, reason), mload(reason))
                }
            }
        }
    }

    /**
     * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting.
     * And also called before burning one token.
     *
     * startTokenId - the first token id to be transferred
     * quantity - the amount to be transferred
     *
     * 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, `tokenId` will be burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _beforeTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}

    /**
     * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes
     * minting.
     * And also called after one token has been burned.
     *
     * startTokenId - the first token id to be transferred
     * quantity - the amount to be transferred
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been
     * transferred to `to`.
     * - When `from` is zero, `tokenId` has been minted for `to`.
     * - When `to` is zero, `tokenId` has been burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _afterTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}
}

File 3 of 15 : 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 4 of 15 : 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 5 of 15 : 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 6 of 15 : SafeMath.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/math/SafeMath.sol)

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

File 7 of 15 : MerkleProof.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

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

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

File 8 of 15 : 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 9 of 15 : 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 10 of 15 : 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 11 of 15 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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 tokenId);

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

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

pragma solidity ^0.8.0;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 13 of 15 : 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 14 of 15 : 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 15 of 15 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_defaultTokenURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":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":"Bayc","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"allowlistSalePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"allowlistuserinfo","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baycHolderMintQuantity","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"baycholderinfo","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"baycholdermintinfo","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"closeMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"defaultTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"},{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"findlostbody_allowlist","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenid","type":"uint256"}],"name":"findlostbody_baycmint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"findlostbody_public","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"components":[{"internalType":"address","name":"reverseaddress","type":"address"},{"internalType":"uint256","name":"mintquantity","type":"uint256"}],"internalType":"struct LostBody.reversemint[]","name":"_reversemintinfos","type":"tuple[]"}],"name":"findlostbody_reversemint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"hasMintQuantityNoBaycMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","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":"openMint","outputs":[],"stateMutability":"nonpayable","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":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"proxyRegistryAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicFreeMintQuantity","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicMintStatus","outputs":[{"internalType":"enum LostBody.EPublicMintStatus","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSalePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"publicsaleuserinfo","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reverseMintQuantity","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":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseTokenURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_defaultURI","type":"string"}],"name":"setDefaultURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"merkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"status","type":"uint256"}],"name":"setPublicMintStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"mintprice","type":"uint256"}],"name":"setPublicPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawMoney","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60c06040526005608081905264173539b7b760d91b60a09081526200002891600b919062000297565b507f055cd5c12df7ab63adb3ca10e70faa072d50833f01da9aa06399914dbaa72d77600c556121b0600d556615abeaed214000600e55661772aa3f848000600f55601080546001600160a01b031990811673a5409ec958c83c3f309868babaca7c86dcb077c1179091556011805490911673bc4ca0eda7647a8ab7c2061c2e118a18a936f13d179055348015620000be57600080fd5b50604051620031fc380380620031fc833981016040819052620000e1916200033d565b604080518082018252601281527146696e6420596f7572204c6f7374426f647960701b602080830191825283518085019094526004845263232ca62160e11b908401528151919291620001379160029162000297565b5080516200014d90600390602084019062000297565b505060008055506200015f3362000193565b6008805460ff60a01b1916905580516200018190600a90602084019062000297565b506200018c620001e5565b506200046c565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b620001f9600854600160a01b900460ff1690565b156200023e5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015260640160405180910390fd5b6008805460ff60a01b1916600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586200027a3390565b6040516001600160a01b03909116815260200160405180910390a1565b828054620002a59062000419565b90600052602060002090601f016020900481019282620002c9576000855562000314565b82601f10620002e457805160ff191683800117855562000314565b8280016001018555821562000314579182015b8281111562000314578251825591602001919060010190620002f7565b506200032292915062000326565b5090565b5b8082111562000322576000815560010162000327565b600060208083850312156200035157600080fd5b82516001600160401b03808211156200036957600080fd5b818501915085601f8301126200037e57600080fd5b81518181111562000393576200039362000456565b604051601f8201601f19908116603f01168101908382118183101715620003be57620003be62000456565b816040528281528886848701011115620003d757600080fd5b600093505b82841015620003fb5784840186015181850187015292850192620003dc565b828411156200040d5760008684830101525b98975050505050505050565b600181811c908216806200042e57607f821691505b602082108114156200045057634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b612d80806200047c6000396000f3fe60806040526004361061027d5760003560e01c806395d89b411161014f578063c6275255116100c1578063d5bd1fbb1161007a578063d5bd1fbb14610732578063da1b9e0814610748578063e85b9fef14610768578063e985e9c514610788578063f2fde38b146107a8578063f86f0b4a146107c857600080fd5b8063c62752551461067a578063c87b56dd1461069a578063cd7c0326146106ba578063d315c131146106da578063d547cfb714610707578063d5abeb011461071c57600080fd5b8063a5892e1011610113578063a5892e10146105ea578063a7a2740a146105fd578063ac44600214610610578063ae3aab3b14610625578063b88d4fde14610645578063bce6d6721461066557600080fd5b806395d89b4114610577578063963bfe121461058c5780639b6860c8146105a1578063a22cb465146105b7578063a408a56a146105d757600080fd5b80635455f174116101f357806370a635e1116101ac57806370a635e1146104c1578063715018a6146104d75780637cb64759146104ec578063887844611461050c5780638da5cb5b1461052c578063951dd1f11461054a57600080fd5b80635455f1741461040057806355f804b31461042d5780635c975abb1461044d5780636352211e1461046c57806364f101f01461048c57806370a08231146104a157600080fd5b806318160ddd1161024557806318160ddd1461035757806319f51df61461037057806323b872dd1461038357806326202370146103a3578063284873c0146103ca57806342842e0e146103e057600080fd5b806301ffc9a71461028257806306fdde03146102b7578063081812fc146102d9578063095ea7b31461031157806316dee25d14610333575b600080fd5b34801561028e57600080fd5b506102a261029d366004612891565b6107de565b60405190151581526020015b60405180910390f35b3480156102c357600080fd5b506102cc610830565b6040516102ae9190612a91565b3480156102e557600080fd5b506102f96102f4366004612878565b6108c2565b6040516001600160a01b0390911681526020016102ae565b34801561031d57600080fd5b5061033161032c3660046126f9565b610906565b005b34801561033f57600080fd5b5061034960165481565b6040519081526020016102ae565b34801561036357600080fd5b5060015460005403610349565b61033161037e366004612878565b610994565b34801561038f57600080fd5b5061033161039e3660046125c2565b610c63565b3480156103af57600080fd5b50601a546103bd9060ff1681565b6040516102ae9190612a69565b3480156103d657600080fd5b5061034960175481565b3480156103ec57600080fd5b506103316103fb3660046125c2565b610c6e565b34801561040c57600080fd5b5061034961041b36600461254f565b60146020526000908152604090205481565b34801561043957600080fd5b506103316104483660046128cb565b610c89565b34801561045957600080fd5b50600854600160a01b900460ff166102a2565b34801561047857600080fd5b506102f9610487366004612878565b610cbf565b34801561049857600080fd5b50610331610cd1565b3480156104ad57600080fd5b506103496104bc36600461254f565b610d05565b3480156104cd57600080fd5b5061034960185481565b3480156104e357600080fd5b50610331610d53565b3480156104f857600080fd5b50610331610507366004612878565b610d87565b34801561051857600080fd5b50610349610527366004612878565b610db6565b34801561053857600080fd5b506008546001600160a01b03166102f9565b34801561055657600080fd5b5061034961056536600461254f565b60136020526000908152604090205481565b34801561058357600080fd5b506102cc610dd7565b34801561059857600080fd5b506102cc610de6565b3480156105ad57600080fd5b50610349600f5481565b3480156105c357600080fd5b506103316105d23660046126c6565b610e74565b6103316105e5366004612725565b610f0a565b6103316105f8366004612878565b611212565b61033161060b36600461279f565b61147c565b34801561061c57600080fd5b50610331611630565b34801561063157600080fd5b50610331610640366004612878565b6116e8565b34801561065157600080fd5b50610331610660366004612603565b611748565b34801561067157600080fd5b50610331611799565b34801561068657600080fd5b50610331610695366004612878565b6117cb565b3480156106a657600080fd5b506102cc6106b5366004612878565b6117fa565b3480156106c657600080fd5b506010546102f9906001600160a01b031681565b3480156106e657600080fd5b506103496106f536600461254f565b60126020526000908152604090205481565b34801561071357600080fd5b506102cc611935565b34801561072857600080fd5b50610349600d5481565b34801561073e57600080fd5b50610349600e5481565b34801561075457600080fd5b506103316107633660046128cb565b611942565b34801561077457600080fd5b506011546102f9906001600160a01b031681565b34801561079457600080fd5b506102a26107a3366004612589565b611978565b3480156107b457600080fd5b506103316107c336600461254f565b611a55565b3480156107d457600080fd5b5061034960195481565b60006001600160e01b031982166380ac58cd60e01b148061080f57506001600160e01b03198216635b5e139f60e01b145b8061082a57506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606002805461083f90612c47565b80601f016020809104026020016040519081016040528092919081815260200182805461086b90612c47565b80156108b85780601f1061088d576101008083540402835291602001916108b8565b820191906000526020600020905b81548152906001019060200180831161089b57829003601f168201915b5050505050905090565b60006108cd82611aed565b6108ea576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061091182610cbf565b9050806001600160a01b0316836001600160a01b031614156109465760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b0382161480159061096657506109648133611978565b155b15610984576040516367d9dca160e11b815260040160405180910390fd5b61098f838383611b18565b505050565b3233146109bc5760405162461bcd60e51b81526004016109b390612ace565b60405180910390fd5b600854600160a01b900460ff16156109e65760405162461bcd60e51b81526004016109b390612aa4565b6002601a5460ff1660028111156109ff576109ff612cdd565b1480610a2157506001601a5460ff166002811115610a1f57610a1f612cdd565b145b610a665760405162461bcd60e51b815260206004820152601660248201527510985e58da1bdb19195c881cd85b194818db1bdcd95960521b60448201526064016109b3565b60186017541115610a895760405162461bcd60e51b81526004016109b390612b3a565b3360009081526014602052604090205460011015610af35760405162461bcd60e51b815260206004820152602160248201527f54686520616464726573732063616e206f6e6c792062652063617374206f6e636044820152606560f81b60648201526084016109b3565b6011546040516331a9108f60e11b8152600481018390526000916001600160a01b031690636352211e9060240160206040518083038186803b158015610b3857600080fd5b505afa158015610b4c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b70919061256c565b90506001600160a01b0381163314610bdf5760405162461bcd60e51b815260206004820152602c60248201527f546869732061646472657373206973206e6f742074686520686f6c646572206f60448201526b33103a3434b9903a37b5b2b760a11b60648201526084016109b3565b336000908152601460205260408120805460019290610bff908490612bb9565b92505081905550600160176000828254610c199190612bb9565b909155505060158054600181810183556000929092527f55f448fdea98c4d29eb340757ef0a66cd03dbb9538908a6a81d96026b71ec47501839055610c5f903390611b74565b5050565b61098f838383611b8e565b61098f83838360405180602001604052806000815250611748565b6008546001600160a01b03163314610cb35760405162461bcd60e51b81526004016109b390612b05565b61098f600983836124b6565b6000610cca82611da2565b5192915050565b6008546001600160a01b03163314610cfb5760405162461bcd60e51b81526004016109b390612b05565b610d03611ebc565b565b60006001600160a01b038216610d2e576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600560205260409020546001600160401b031690565b6008546001600160a01b03163314610d7d5760405162461bcd60e51b81526004016109b390612b05565b610d036000611f3e565b6008546001600160a01b03163314610db15760405162461bcd60e51b81526004016109b390612b05565b600c55565b60158181548110610dc657600080fd5b600091825260209091200154905081565b60606003805461083f90612c47565b600a8054610df390612c47565b80601f0160208091040260200160405190810160405280929190818152602001828054610e1f90612c47565b8015610e6c5780601f10610e4157610100808354040283529160200191610e6c565b820191906000526020600020905b815481529060010190602001808311610e4f57829003601f168201915b505050505081565b6001600160a01b038216331415610e9e5760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b323314610f295760405162461bcd60e51b81526004016109b390612ace565b600854600160a01b900460ff1615610f535760405162461bcd60e51b81526004016109b390612aa4565b6001601a5460ff166002811115610f6c57610f6c612cdd565b14610fb15760405162461bcd60e51b8152602060048201526015602482015274105b1b1bdddb1a5cdd081cd85b194818db1bdcd959605a1b60448201526064016109b3565b6040516bffffffffffffffffffffffff193360601b16602082015260009060340160405160208183030381529060405280519060200120905061102b84848080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600c549150849050611f90565b61106e5760405162461bcd60e51b815260206004820152601460248201527324b73b30b634b21036b2b935b63290383937b7b360611b60448201526064016109b3565b600082116110b15760405162461bcd60e51b815260206004820152601060248201526f496e76616c6964207175616e7469747960801b60448201526064016109b3565b612044826018546110c29190612bb9565b11156110e05760405162461bcd60e51b81526004016109b390612b3a565b336000908152601260205260409020546005906110fe908490612bb9565b106111435760405162461bcd60e51b815260206004820152601560248201527445786365656420616c6c6f776c6973742053616c6560581b60448201526064016109b3565b33600090815260126020526040902054600190811015611161575060005b600e546000906111718386612c04565b61117b9190612be5565b9050803410156111c35760405162461bcd60e51b815260206004820152601360248201527208ae8d0cae440d2e640dcdee840cadcdeeaced606b1b60448201526064016109b3565b6111cd3385611b74565b33600090815260126020526040812080548692906111ec908490612bb9565b9250508190555083601860008282546112059190612bb9565b9091555050505050505050565b3233146112315760405162461bcd60e51b81526004016109b390612ace565b600854600160a01b900460ff161561125b5760405162461bcd60e51b81526004016109b390612aa4565b6002601a5460ff16600281111561127457611274612cdd565b146112b65760405162461bcd60e51b8152602060048201526012602482015271141d589b1a58c81cd85b194818db1bdcd95960721b60448201526064016109b3565b600081116112f95760405162461bcd60e51b815260206004820152601060248201526f496e76616c6964207175616e7469747960801b60448201526064016109b3565b6120448160185461130a9190612bb9565b11156113285760405162461bcd60e51b81526004016109b390612b3a565b33600090815260136020526040902054600590611346908390612bb9565b106113885760405162461bcd60e51b8152602060048201526012602482015271457863656564207075626c69632053616c6560701b60448201526064016109b3565b336000908152601360205260409020546001908110156113a6575060005b610190601654106113b5575060005b600f546000906113c58385612c04565b6113cf9190612be5565b9050803410156114175760405162461bcd60e51b815260206004820152601360248201527208ae8d0cae440d2e640dcdee840cadcdeeaced606b1b60448201526064016109b3565b6114213384611b74565b3360009081526013602052604081208054859290611440908490612bb9565b9250508190555082601660008282546114599190612bb9565b9250508190555082601860008282546114729190612bb9565b9091555050505050565b32331461149b5760405162461bcd60e51b81526004016109b390612ace565b600854600160a01b900460ff16156114c55760405162461bcd60e51b81526004016109b390612aa4565b6002601a5460ff1660028111156114de576114de612cdd565b148061150057506001601a5460ff1660028111156114fe576114fe612cdd565b145b61154c5760405162461bcd60e51b815260206004820152601f60248201527f4d61726b6574696e672063616d706169676e202073616c6520636c6f7365640060448201526064016109b3565b60005b8151811015610c5f5761015482828151811061156d5761156d612cf3565b6020026020010151602001516019546115869190612bb9565b11156115a45760405162461bcd60e51b81526004016109b390612b3a565b8181815181106115b6576115b6612cf3565b602002602001015160200151601960008282546115d39190612bb9565b9250508190555061161e8282815181106115ef576115ef612cf3565b60200260200101516000015183838151811061160d5761160d612cf3565b602002602001015160200151611b74565b8061162881612c82565b91505061154f565b6008546001600160a01b0316331461165a5760405162461bcd60e51b81526004016109b390612b05565b604051600090339047908381818185875af1925050503d806000811461169c576040519150601f19603f3d011682016040523d82523d6000602084013e6116a1565b606091505b50509050806116e55760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b60448201526064016109b3565b50565b6008546001600160a01b031633146117125760405162461bcd60e51b81526004016109b390612b05565b80600281111561172457611724612cdd565b601a805460ff1916600183600281111561174057611740612cdd565b021790555050565b611753848484611b8e565b6001600160a01b0383163b15158015611775575061177384848484611fa6565b155b15611793576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6008546001600160a01b031633146117c35760405162461bcd60e51b81526004016109b390612b05565b610d0361209d565b6008546001600160a01b031633146117f55760405162461bcd60e51b81526004016109b390612b05565b600f55565b606061180582611aed565b61185b5760405162461bcd60e51b815260206004820152602160248201527f4552433732314d657461646174613a204e6f6e6578697374656e7420746f6b656044820152603760f91b60648201526084016109b3565b6000611865612121565b9050600081511161190057600a805461187d90612c47565b80601f01602080910402602001604051908101604052809291908181526020018280546118a990612c47565b80156118f65780601f106118cb576101008083540402835291602001916118f6565b820191906000526020600020905b8154815290600101906020018083116118d957829003601f168201915b505050505061192e565b8061190a84612130565b600b60405160200161191e93929190612968565b6040516020818303038152906040525b9392505050565b60098054610df390612c47565b6008546001600160a01b0316331461196c5760405162461bcd60e51b81526004016109b390612b05565b61098f600a83836124b6565b6010546000906001600160a01b03908116908316811480611a1d575060405163c455279160e01b81526001600160a01b038581166004830152808516919083169063c45527919060240160206040518083038186803b1580156119da57600080fd5b505afa1580156119ee573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a12919061256c565b6001600160a01b0316145b80611a4d57506001600160a01b0380851660009081526007602090815260408083209387168352929052205460ff165b949350505050565b6008546001600160a01b03163314611a7f5760405162461bcd60e51b81526004016109b390612b05565b6001600160a01b038116611ae45760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016109b3565b6116e581611f3e565b600080548210801561082a575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b610c5f82826040518060200160405280600081525061222d565b6000611b9982611da2565b80519091506000906001600160a01b0316336001600160a01b03161480611bc757508151611bc79033611978565b80611be2575033611bd7846108c2565b6001600160a01b0316145b905080611c0257604051632ce44b5f60e11b815260040160405180910390fd5b846001600160a01b031682600001516001600160a01b031614611c375760405162a1148160e81b815260040160405180910390fd5b6001600160a01b038416611c5e57604051633a954ecd60e21b815260040160405180910390fd5b611c6e6000848460000151611b18565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff198082166001600160401b0392831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b429092169190910217909255908601808352912054909116611d5857600054811015611d5857825160008281526004602090815260409091208054918601516001600160401b0316600160a01b026001600160e01b03199092166001600160a01b03909316929092171790555b5082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b604080516060810182526000808252602082018190529181019190915281600054811015611ea357600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff16151591810182905290611ea15780516001600160a01b031615611e38579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b82046001600160401b031693830193909352600160e01b900460ff1615159281019290925215611e9c579392505050565b611e38565b505b604051636f96cda160e11b815260040160405180910390fd5b600854600160a01b900460ff1615611ee65760405162461bcd60e51b81526004016109b390612aa4565b6008805460ff60a01b1916600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611f213390565b6040516001600160a01b03909116815260200160405180910390a1565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600082611f9d858461223a565b14949350505050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611fdb903390899088908890600401612a2c565b602060405180830381600087803b158015611ff557600080fd5b505af1925050508015612025575060408051601f3d908101601f19168201909252612022918101906128ae565b60015b612080573d808015612053576040519150601f19603f3d011682016040523d82523d6000602084013e612058565b606091505b508051612078576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b600854600160a01b900460ff166120ed5760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b60448201526064016109b3565b6008805460ff60a01b191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa33611f21565b60606009805461083f90612c47565b6060816121545750506040805180820190915260018152600360fc1b602082015290565b8160005b811561217e578061216881612c82565b91506121779050600a83612bd1565b9150612158565b6000816001600160401b0381111561219857612198612d09565b6040519080825280601f01601f1916602001820160405280156121c2576020820181803683370190505b5090505b8415611a4d576121d7600183612c04565b91506121e4600a86612c9d565b6121ef906030612bb9565b60f81b81838151811061220457612204612cf3565b60200101906001600160f81b031916908160001a905350612226600a86612bd1565b94506121c6565b61098f83838360016122e6565b600081815b84518110156122de57600085828151811061225c5761225c612cf3565b6020026020010151905080831161229e5760408051602081018590529081018290526060016040516020818303038152906040528051906020012092506122cb565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b50806122d681612c82565b91505061223f565b509392505050565b6000546001600160a01b03851661230f57604051622e076360e81b815260040160405180910390fd5b8361232d5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260056020908152604080832080546fffffffffffffffffffffffffffffffff1981166001600160401b038083168c0181169182176801000000000000000067ffffffffffffffff1990941690921783900481168c01811690920217909155858452600490925290912080546001600160e01b031916909217600160a01b4290921691909102179055808085018380156123de57506001600160a01b0387163b15155b15612467575b60405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a461242f6000888480600101955088611fa6565b61244c576040516368d2bf6b60e11b815260040160405180910390fd5b808214156123e457826000541461246257600080fd5b6124ad565b5b6040516001830192906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a480821415612468575b50600055611d9b565b8280546124c290612c47565b90600052602060002090601f0160209004810192826124e4576000855561252a565b82601f106124fd5782800160ff1982351617855561252a565b8280016001018555821561252a579182015b8281111561252a57823582559160200191906001019061250f565b5061253692915061253a565b5090565b5b80821115612536576000815560010161253b565b60006020828403121561256157600080fd5b813561192e81612d1f565b60006020828403121561257e57600080fd5b815161192e81612d1f565b6000806040838503121561259c57600080fd5b82356125a781612d1f565b915060208301356125b781612d1f565b809150509250929050565b6000806000606084860312156125d757600080fd5b83356125e281612d1f565b925060208401356125f281612d1f565b929592945050506040919091013590565b6000806000806080858703121561261957600080fd5b843561262481612d1f565b935060208581013561263581612d1f565b93506040860135925060608601356001600160401b038082111561265857600080fd5b818801915088601f83011261266c57600080fd5b81358181111561267e5761267e612d09565b612690601f8201601f19168501612b89565b915080825289848285010111156126a657600080fd5b808484018584013760008482840101525080935050505092959194509250565b600080604083850312156126d957600080fd5b82356126e481612d1f565b9150602083013580151581146125b757600080fd5b6000806040838503121561270c57600080fd5b823561271781612d1f565b946020939093013593505050565b60008060006040848603121561273a57600080fd5b83356001600160401b038082111561275157600080fd5b818601915086601f83011261276557600080fd5b81358181111561277457600080fd5b8760208260051b850101111561278957600080fd5b6020928301989097509590910135949350505050565b600060208083850312156127b257600080fd5b82356001600160401b03808211156127c957600080fd5b818501915085601f8301126127dd57600080fd5b8135818111156127ef576127ef612d09565b6127fd848260051b01612b89565b8181528481019250838501600683901b8501860189101561281d57600080fd5b60009450845b8381101561286a57604080838c03121561283b578687fd5b612843612b61565b833561284e81612d1f565b8152838901358982015286529487019490910190600101612823565b509098975050505050505050565b60006020828403121561288a57600080fd5b5035919050565b6000602082840312156128a357600080fd5b813561192e81612d34565b6000602082840312156128c057600080fd5b815161192e81612d34565b600080602083850312156128de57600080fd5b82356001600160401b03808211156128f557600080fd5b818501915085601f83011261290957600080fd5b81358181111561291857600080fd5b86602082850101111561292a57600080fd5b60209290920196919550909350505050565b60008151808452612954816020860160208601612c1b565b601f01601f19169290920160200192915050565b60008451602061297b8285838a01612c1b565b85519184019161298e8184848a01612c1b565b8554920191600090600181811c90808316806129ab57607f831692505b8583108114156129c957634e487b7160e01b85526022600452602485fd5b8080156129dd57600181146129ee57612a1b565b60ff19851688528388019550612a1b565b60008b81526020902060005b85811015612a135781548a8201529084019088016129fa565b505083880195505b50939b9a5050505050505050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612a5f9083018461293c565b9695505050505050565b6020810160038310612a8b57634e487b7160e01b600052602160045260246000fd5b91905290565b60208152600061192e602083018461293c565b60208082526010908201526f14185d5cd8589b194e881c185d5cd95960821b604082015260600190565b6020808252601d908201527f4d7573742066726f6d207265616c2077616c6c65742061646472657373000000604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252600d908201526c45786365656420737570706c7960981b604082015260600190565b604080519081016001600160401b0381118282101715612b8357612b83612d09565b60405290565b604051601f8201601f191681016001600160401b0381118282101715612bb157612bb1612d09565b604052919050565b60008219821115612bcc57612bcc612cb1565b500190565b600082612be057612be0612cc7565b500490565b6000816000190483118215151615612bff57612bff612cb1565b500290565b600082821015612c1657612c16612cb1565b500390565b60005b83811015612c36578181015183820152602001612c1e565b838111156117935750506000910152565b600181811c90821680612c5b57607f821691505b60208210811415612c7c57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415612c9657612c96612cb1565b5060010190565b600082612cac57612cac612cc7565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052602160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b03811681146116e557600080fd5b6001600160e01b0319811681146116e557600080fdfea264697066735822122020c8c28acd0910a21b9917c18b00daeca4a317c236b549f54f876df48ca45f1e64736f6c6343000807003300000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000035697066733a2f2f516d5259624755524c5575534556637853326d696b74766267427031324c6f4a754235485a697852664d445758540000000000000000000000

Deployed Bytecode

0x60806040526004361061027d5760003560e01c806395d89b411161014f578063c6275255116100c1578063d5bd1fbb1161007a578063d5bd1fbb14610732578063da1b9e0814610748578063e85b9fef14610768578063e985e9c514610788578063f2fde38b146107a8578063f86f0b4a146107c857600080fd5b8063c62752551461067a578063c87b56dd1461069a578063cd7c0326146106ba578063d315c131146106da578063d547cfb714610707578063d5abeb011461071c57600080fd5b8063a5892e1011610113578063a5892e10146105ea578063a7a2740a146105fd578063ac44600214610610578063ae3aab3b14610625578063b88d4fde14610645578063bce6d6721461066557600080fd5b806395d89b4114610577578063963bfe121461058c5780639b6860c8146105a1578063a22cb465146105b7578063a408a56a146105d757600080fd5b80635455f174116101f357806370a635e1116101ac57806370a635e1146104c1578063715018a6146104d75780637cb64759146104ec578063887844611461050c5780638da5cb5b1461052c578063951dd1f11461054a57600080fd5b80635455f1741461040057806355f804b31461042d5780635c975abb1461044d5780636352211e1461046c57806364f101f01461048c57806370a08231146104a157600080fd5b806318160ddd1161024557806318160ddd1461035757806319f51df61461037057806323b872dd1461038357806326202370146103a3578063284873c0146103ca57806342842e0e146103e057600080fd5b806301ffc9a71461028257806306fdde03146102b7578063081812fc146102d9578063095ea7b31461031157806316dee25d14610333575b600080fd5b34801561028e57600080fd5b506102a261029d366004612891565b6107de565b60405190151581526020015b60405180910390f35b3480156102c357600080fd5b506102cc610830565b6040516102ae9190612a91565b3480156102e557600080fd5b506102f96102f4366004612878565b6108c2565b6040516001600160a01b0390911681526020016102ae565b34801561031d57600080fd5b5061033161032c3660046126f9565b610906565b005b34801561033f57600080fd5b5061034960165481565b6040519081526020016102ae565b34801561036357600080fd5b5060015460005403610349565b61033161037e366004612878565b610994565b34801561038f57600080fd5b5061033161039e3660046125c2565b610c63565b3480156103af57600080fd5b50601a546103bd9060ff1681565b6040516102ae9190612a69565b3480156103d657600080fd5b5061034960175481565b3480156103ec57600080fd5b506103316103fb3660046125c2565b610c6e565b34801561040c57600080fd5b5061034961041b36600461254f565b60146020526000908152604090205481565b34801561043957600080fd5b506103316104483660046128cb565b610c89565b34801561045957600080fd5b50600854600160a01b900460ff166102a2565b34801561047857600080fd5b506102f9610487366004612878565b610cbf565b34801561049857600080fd5b50610331610cd1565b3480156104ad57600080fd5b506103496104bc36600461254f565b610d05565b3480156104cd57600080fd5b5061034960185481565b3480156104e357600080fd5b50610331610d53565b3480156104f857600080fd5b50610331610507366004612878565b610d87565b34801561051857600080fd5b50610349610527366004612878565b610db6565b34801561053857600080fd5b506008546001600160a01b03166102f9565b34801561055657600080fd5b5061034961056536600461254f565b60136020526000908152604090205481565b34801561058357600080fd5b506102cc610dd7565b34801561059857600080fd5b506102cc610de6565b3480156105ad57600080fd5b50610349600f5481565b3480156105c357600080fd5b506103316105d23660046126c6565b610e74565b6103316105e5366004612725565b610f0a565b6103316105f8366004612878565b611212565b61033161060b36600461279f565b61147c565b34801561061c57600080fd5b50610331611630565b34801561063157600080fd5b50610331610640366004612878565b6116e8565b34801561065157600080fd5b50610331610660366004612603565b611748565b34801561067157600080fd5b50610331611799565b34801561068657600080fd5b50610331610695366004612878565b6117cb565b3480156106a657600080fd5b506102cc6106b5366004612878565b6117fa565b3480156106c657600080fd5b506010546102f9906001600160a01b031681565b3480156106e657600080fd5b506103496106f536600461254f565b60126020526000908152604090205481565b34801561071357600080fd5b506102cc611935565b34801561072857600080fd5b50610349600d5481565b34801561073e57600080fd5b50610349600e5481565b34801561075457600080fd5b506103316107633660046128cb565b611942565b34801561077457600080fd5b506011546102f9906001600160a01b031681565b34801561079457600080fd5b506102a26107a3366004612589565b611978565b3480156107b457600080fd5b506103316107c336600461254f565b611a55565b3480156107d457600080fd5b5061034960195481565b60006001600160e01b031982166380ac58cd60e01b148061080f57506001600160e01b03198216635b5e139f60e01b145b8061082a57506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606002805461083f90612c47565b80601f016020809104026020016040519081016040528092919081815260200182805461086b90612c47565b80156108b85780601f1061088d576101008083540402835291602001916108b8565b820191906000526020600020905b81548152906001019060200180831161089b57829003601f168201915b5050505050905090565b60006108cd82611aed565b6108ea576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061091182610cbf565b9050806001600160a01b0316836001600160a01b031614156109465760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b0382161480159061096657506109648133611978565b155b15610984576040516367d9dca160e11b815260040160405180910390fd5b61098f838383611b18565b505050565b3233146109bc5760405162461bcd60e51b81526004016109b390612ace565b60405180910390fd5b600854600160a01b900460ff16156109e65760405162461bcd60e51b81526004016109b390612aa4565b6002601a5460ff1660028111156109ff576109ff612cdd565b1480610a2157506001601a5460ff166002811115610a1f57610a1f612cdd565b145b610a665760405162461bcd60e51b815260206004820152601660248201527510985e58da1bdb19195c881cd85b194818db1bdcd95960521b60448201526064016109b3565b60186017541115610a895760405162461bcd60e51b81526004016109b390612b3a565b3360009081526014602052604090205460011015610af35760405162461bcd60e51b815260206004820152602160248201527f54686520616464726573732063616e206f6e6c792062652063617374206f6e636044820152606560f81b60648201526084016109b3565b6011546040516331a9108f60e11b8152600481018390526000916001600160a01b031690636352211e9060240160206040518083038186803b158015610b3857600080fd5b505afa158015610b4c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b70919061256c565b90506001600160a01b0381163314610bdf5760405162461bcd60e51b815260206004820152602c60248201527f546869732061646472657373206973206e6f742074686520686f6c646572206f60448201526b33103a3434b9903a37b5b2b760a11b60648201526084016109b3565b336000908152601460205260408120805460019290610bff908490612bb9565b92505081905550600160176000828254610c199190612bb9565b909155505060158054600181810183556000929092527f55f448fdea98c4d29eb340757ef0a66cd03dbb9538908a6a81d96026b71ec47501839055610c5f903390611b74565b5050565b61098f838383611b8e565b61098f83838360405180602001604052806000815250611748565b6008546001600160a01b03163314610cb35760405162461bcd60e51b81526004016109b390612b05565b61098f600983836124b6565b6000610cca82611da2565b5192915050565b6008546001600160a01b03163314610cfb5760405162461bcd60e51b81526004016109b390612b05565b610d03611ebc565b565b60006001600160a01b038216610d2e576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600560205260409020546001600160401b031690565b6008546001600160a01b03163314610d7d5760405162461bcd60e51b81526004016109b390612b05565b610d036000611f3e565b6008546001600160a01b03163314610db15760405162461bcd60e51b81526004016109b390612b05565b600c55565b60158181548110610dc657600080fd5b600091825260209091200154905081565b60606003805461083f90612c47565b600a8054610df390612c47565b80601f0160208091040260200160405190810160405280929190818152602001828054610e1f90612c47565b8015610e6c5780601f10610e4157610100808354040283529160200191610e6c565b820191906000526020600020905b815481529060010190602001808311610e4f57829003601f168201915b505050505081565b6001600160a01b038216331415610e9e5760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b323314610f295760405162461bcd60e51b81526004016109b390612ace565b600854600160a01b900460ff1615610f535760405162461bcd60e51b81526004016109b390612aa4565b6001601a5460ff166002811115610f6c57610f6c612cdd565b14610fb15760405162461bcd60e51b8152602060048201526015602482015274105b1b1bdddb1a5cdd081cd85b194818db1bdcd959605a1b60448201526064016109b3565b6040516bffffffffffffffffffffffff193360601b16602082015260009060340160405160208183030381529060405280519060200120905061102b84848080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600c549150849050611f90565b61106e5760405162461bcd60e51b815260206004820152601460248201527324b73b30b634b21036b2b935b63290383937b7b360611b60448201526064016109b3565b600082116110b15760405162461bcd60e51b815260206004820152601060248201526f496e76616c6964207175616e7469747960801b60448201526064016109b3565b612044826018546110c29190612bb9565b11156110e05760405162461bcd60e51b81526004016109b390612b3a565b336000908152601260205260409020546005906110fe908490612bb9565b106111435760405162461bcd60e51b815260206004820152601560248201527445786365656420616c6c6f776c6973742053616c6560581b60448201526064016109b3565b33600090815260126020526040902054600190811015611161575060005b600e546000906111718386612c04565b61117b9190612be5565b9050803410156111c35760405162461bcd60e51b815260206004820152601360248201527208ae8d0cae440d2e640dcdee840cadcdeeaced606b1b60448201526064016109b3565b6111cd3385611b74565b33600090815260126020526040812080548692906111ec908490612bb9565b9250508190555083601860008282546112059190612bb9565b9091555050505050505050565b3233146112315760405162461bcd60e51b81526004016109b390612ace565b600854600160a01b900460ff161561125b5760405162461bcd60e51b81526004016109b390612aa4565b6002601a5460ff16600281111561127457611274612cdd565b146112b65760405162461bcd60e51b8152602060048201526012602482015271141d589b1a58c81cd85b194818db1bdcd95960721b60448201526064016109b3565b600081116112f95760405162461bcd60e51b815260206004820152601060248201526f496e76616c6964207175616e7469747960801b60448201526064016109b3565b6120448160185461130a9190612bb9565b11156113285760405162461bcd60e51b81526004016109b390612b3a565b33600090815260136020526040902054600590611346908390612bb9565b106113885760405162461bcd60e51b8152602060048201526012602482015271457863656564207075626c69632053616c6560701b60448201526064016109b3565b336000908152601360205260409020546001908110156113a6575060005b610190601654106113b5575060005b600f546000906113c58385612c04565b6113cf9190612be5565b9050803410156114175760405162461bcd60e51b815260206004820152601360248201527208ae8d0cae440d2e640dcdee840cadcdeeaced606b1b60448201526064016109b3565b6114213384611b74565b3360009081526013602052604081208054859290611440908490612bb9565b9250508190555082601660008282546114599190612bb9565b9250508190555082601860008282546114729190612bb9565b9091555050505050565b32331461149b5760405162461bcd60e51b81526004016109b390612ace565b600854600160a01b900460ff16156114c55760405162461bcd60e51b81526004016109b390612aa4565b6002601a5460ff1660028111156114de576114de612cdd565b148061150057506001601a5460ff1660028111156114fe576114fe612cdd565b145b61154c5760405162461bcd60e51b815260206004820152601f60248201527f4d61726b6574696e672063616d706169676e202073616c6520636c6f7365640060448201526064016109b3565b60005b8151811015610c5f5761015482828151811061156d5761156d612cf3565b6020026020010151602001516019546115869190612bb9565b11156115a45760405162461bcd60e51b81526004016109b390612b3a565b8181815181106115b6576115b6612cf3565b602002602001015160200151601960008282546115d39190612bb9565b9250508190555061161e8282815181106115ef576115ef612cf3565b60200260200101516000015183838151811061160d5761160d612cf3565b602002602001015160200151611b74565b8061162881612c82565b91505061154f565b6008546001600160a01b0316331461165a5760405162461bcd60e51b81526004016109b390612b05565b604051600090339047908381818185875af1925050503d806000811461169c576040519150601f19603f3d011682016040523d82523d6000602084013e6116a1565b606091505b50509050806116e55760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b60448201526064016109b3565b50565b6008546001600160a01b031633146117125760405162461bcd60e51b81526004016109b390612b05565b80600281111561172457611724612cdd565b601a805460ff1916600183600281111561174057611740612cdd565b021790555050565b611753848484611b8e565b6001600160a01b0383163b15158015611775575061177384848484611fa6565b155b15611793576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6008546001600160a01b031633146117c35760405162461bcd60e51b81526004016109b390612b05565b610d0361209d565b6008546001600160a01b031633146117f55760405162461bcd60e51b81526004016109b390612b05565b600f55565b606061180582611aed565b61185b5760405162461bcd60e51b815260206004820152602160248201527f4552433732314d657461646174613a204e6f6e6578697374656e7420746f6b656044820152603760f91b60648201526084016109b3565b6000611865612121565b9050600081511161190057600a805461187d90612c47565b80601f01602080910402602001604051908101604052809291908181526020018280546118a990612c47565b80156118f65780601f106118cb576101008083540402835291602001916118f6565b820191906000526020600020905b8154815290600101906020018083116118d957829003601f168201915b505050505061192e565b8061190a84612130565b600b60405160200161191e93929190612968565b6040516020818303038152906040525b9392505050565b60098054610df390612c47565b6008546001600160a01b0316331461196c5760405162461bcd60e51b81526004016109b390612b05565b61098f600a83836124b6565b6010546000906001600160a01b03908116908316811480611a1d575060405163c455279160e01b81526001600160a01b038581166004830152808516919083169063c45527919060240160206040518083038186803b1580156119da57600080fd5b505afa1580156119ee573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a12919061256c565b6001600160a01b0316145b80611a4d57506001600160a01b0380851660009081526007602090815260408083209387168352929052205460ff165b949350505050565b6008546001600160a01b03163314611a7f5760405162461bcd60e51b81526004016109b390612b05565b6001600160a01b038116611ae45760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016109b3565b6116e581611f3e565b600080548210801561082a575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b610c5f82826040518060200160405280600081525061222d565b6000611b9982611da2565b80519091506000906001600160a01b0316336001600160a01b03161480611bc757508151611bc79033611978565b80611be2575033611bd7846108c2565b6001600160a01b0316145b905080611c0257604051632ce44b5f60e11b815260040160405180910390fd5b846001600160a01b031682600001516001600160a01b031614611c375760405162a1148160e81b815260040160405180910390fd5b6001600160a01b038416611c5e57604051633a954ecd60e21b815260040160405180910390fd5b611c6e6000848460000151611b18565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff198082166001600160401b0392831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b429092169190910217909255908601808352912054909116611d5857600054811015611d5857825160008281526004602090815260409091208054918601516001600160401b0316600160a01b026001600160e01b03199092166001600160a01b03909316929092171790555b5082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b604080516060810182526000808252602082018190529181019190915281600054811015611ea357600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff16151591810182905290611ea15780516001600160a01b031615611e38579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b82046001600160401b031693830193909352600160e01b900460ff1615159281019290925215611e9c579392505050565b611e38565b505b604051636f96cda160e11b815260040160405180910390fd5b600854600160a01b900460ff1615611ee65760405162461bcd60e51b81526004016109b390612aa4565b6008805460ff60a01b1916600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611f213390565b6040516001600160a01b03909116815260200160405180910390a1565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600082611f9d858461223a565b14949350505050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611fdb903390899088908890600401612a2c565b602060405180830381600087803b158015611ff557600080fd5b505af1925050508015612025575060408051601f3d908101601f19168201909252612022918101906128ae565b60015b612080573d808015612053576040519150601f19603f3d011682016040523d82523d6000602084013e612058565b606091505b508051612078576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b600854600160a01b900460ff166120ed5760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b60448201526064016109b3565b6008805460ff60a01b191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa33611f21565b60606009805461083f90612c47565b6060816121545750506040805180820190915260018152600360fc1b602082015290565b8160005b811561217e578061216881612c82565b91506121779050600a83612bd1565b9150612158565b6000816001600160401b0381111561219857612198612d09565b6040519080825280601f01601f1916602001820160405280156121c2576020820181803683370190505b5090505b8415611a4d576121d7600183612c04565b91506121e4600a86612c9d565b6121ef906030612bb9565b60f81b81838151811061220457612204612cf3565b60200101906001600160f81b031916908160001a905350612226600a86612bd1565b94506121c6565b61098f83838360016122e6565b600081815b84518110156122de57600085828151811061225c5761225c612cf3565b6020026020010151905080831161229e5760408051602081018590529081018290526060016040516020818303038152906040528051906020012092506122cb565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b50806122d681612c82565b91505061223f565b509392505050565b6000546001600160a01b03851661230f57604051622e076360e81b815260040160405180910390fd5b8361232d5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260056020908152604080832080546fffffffffffffffffffffffffffffffff1981166001600160401b038083168c0181169182176801000000000000000067ffffffffffffffff1990941690921783900481168c01811690920217909155858452600490925290912080546001600160e01b031916909217600160a01b4290921691909102179055808085018380156123de57506001600160a01b0387163b15155b15612467575b60405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a461242f6000888480600101955088611fa6565b61244c576040516368d2bf6b60e11b815260040160405180910390fd5b808214156123e457826000541461246257600080fd5b6124ad565b5b6040516001830192906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a480821415612468575b50600055611d9b565b8280546124c290612c47565b90600052602060002090601f0160209004810192826124e4576000855561252a565b82601f106124fd5782800160ff1982351617855561252a565b8280016001018555821561252a579182015b8281111561252a57823582559160200191906001019061250f565b5061253692915061253a565b5090565b5b80821115612536576000815560010161253b565b60006020828403121561256157600080fd5b813561192e81612d1f565b60006020828403121561257e57600080fd5b815161192e81612d1f565b6000806040838503121561259c57600080fd5b82356125a781612d1f565b915060208301356125b781612d1f565b809150509250929050565b6000806000606084860312156125d757600080fd5b83356125e281612d1f565b925060208401356125f281612d1f565b929592945050506040919091013590565b6000806000806080858703121561261957600080fd5b843561262481612d1f565b935060208581013561263581612d1f565b93506040860135925060608601356001600160401b038082111561265857600080fd5b818801915088601f83011261266c57600080fd5b81358181111561267e5761267e612d09565b612690601f8201601f19168501612b89565b915080825289848285010111156126a657600080fd5b808484018584013760008482840101525080935050505092959194509250565b600080604083850312156126d957600080fd5b82356126e481612d1f565b9150602083013580151581146125b757600080fd5b6000806040838503121561270c57600080fd5b823561271781612d1f565b946020939093013593505050565b60008060006040848603121561273a57600080fd5b83356001600160401b038082111561275157600080fd5b818601915086601f83011261276557600080fd5b81358181111561277457600080fd5b8760208260051b850101111561278957600080fd5b6020928301989097509590910135949350505050565b600060208083850312156127b257600080fd5b82356001600160401b03808211156127c957600080fd5b818501915085601f8301126127dd57600080fd5b8135818111156127ef576127ef612d09565b6127fd848260051b01612b89565b8181528481019250838501600683901b8501860189101561281d57600080fd5b60009450845b8381101561286a57604080838c03121561283b578687fd5b612843612b61565b833561284e81612d1f565b8152838901358982015286529487019490910190600101612823565b509098975050505050505050565b60006020828403121561288a57600080fd5b5035919050565b6000602082840312156128a357600080fd5b813561192e81612d34565b6000602082840312156128c057600080fd5b815161192e81612d34565b600080602083850312156128de57600080fd5b82356001600160401b03808211156128f557600080fd5b818501915085601f83011261290957600080fd5b81358181111561291857600080fd5b86602082850101111561292a57600080fd5b60209290920196919550909350505050565b60008151808452612954816020860160208601612c1b565b601f01601f19169290920160200192915050565b60008451602061297b8285838a01612c1b565b85519184019161298e8184848a01612c1b565b8554920191600090600181811c90808316806129ab57607f831692505b8583108114156129c957634e487b7160e01b85526022600452602485fd5b8080156129dd57600181146129ee57612a1b565b60ff19851688528388019550612a1b565b60008b81526020902060005b85811015612a135781548a8201529084019088016129fa565b505083880195505b50939b9a5050505050505050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612a5f9083018461293c565b9695505050505050565b6020810160038310612a8b57634e487b7160e01b600052602160045260246000fd5b91905290565b60208152600061192e602083018461293c565b60208082526010908201526f14185d5cd8589b194e881c185d5cd95960821b604082015260600190565b6020808252601d908201527f4d7573742066726f6d207265616c2077616c6c65742061646472657373000000604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252600d908201526c45786365656420737570706c7960981b604082015260600190565b604080519081016001600160401b0381118282101715612b8357612b83612d09565b60405290565b604051601f8201601f191681016001600160401b0381118282101715612bb157612bb1612d09565b604052919050565b60008219821115612bcc57612bcc612cb1565b500190565b600082612be057612be0612cc7565b500490565b6000816000190483118215151615612bff57612bff612cb1565b500290565b600082821015612c1657612c16612cb1565b500390565b60005b83811015612c36578181015183820152602001612c1e565b838111156117935750506000910152565b600181811c90821680612c5b57607f821691505b60208210811415612c7c57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415612c9657612c96612cb1565b5060010190565b600082612cac57612cac612cc7565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052602160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b03811681146116e557600080fd5b6001600160e01b0319811681146116e557600080fdfea264697066735822122020c8c28acd0910a21b9917c18b00daeca4a317c236b549f54f876df48ca45f1e64736f6c63430008070033

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

00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000035697066733a2f2f516d5259624755524c5575534556637853326d696b74766267427031324c6f4a754235485a697852664d445758540000000000000000000000

-----Decoded View---------------
Arg [0] : _defaultTokenURI (string): ipfs://QmRYbGURLUuSEVcxS2miktvbgBp12LoJuB5HZixRfMDWXT

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000035
Arg [2] : 697066733a2f2f516d5259624755524c5575534556637853326d696b74766267
Arg [3] : 427031324c6f4a754235485a697852664d445758540000000000000000000000


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.