ETH Price: $3,465.03 (+2.19%)
Gas: 7 Gwei

PXQuest Adventurer (PXQ)
 

Overview

TokenID

6008

Total Transfers

-

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

Chronoforge is a F2P multiplayer action RPG being developed by Minted Loot Studios. The game can be played with or without crypto & NFTs.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
Adventurer

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
Yes with 1000 runs

Other Settings:
default evmVersion
File 1 of 14 : Adventurer.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./Adventurer721.sol";

/**

 ________  ___    ___ ________  ___  ___  _______   ________  _________   
|\   __  \|\  \  /  /|\   __  \|\  \|\  \|\  ___ \ |\   ____\|\___   ___\ 
\ \  \|\  \ \  \/  / | \  \|\  \ \  \\\  \ \   __/|\ \  \___|\|___ \  \_| 
 \ \   ____\ \    / / \ \  \\\  \ \  \\\  \ \  \_|/_\ \_____  \   \ \  \  
  \ \  \___|/     \/   \ \  \\\  \ \  \\\  \ \  \_|\ \|____|\  \   \ \  \ 
   \ \__\  /  /\   \    \ \_____  \ \_______\ \_______\____\_\  \   \ \__\
    \|__| /__/ /\ __\    \|___| \__\|_______|\|_______|\_________\   \|__|
          |__|/ \|__|          \|__|                  \|_________|        
                                                                          


 * @title Adventurer
 * Adventurer - a contract for genesis non-fungible PX Quest Adventurer ERC721 Tokens.
 */

interface IChronos {
    function burn(address _from, uint256 _amount) external;

    function burnUnclaimed(address _from, uint256 _amount) external;

    function stake(
        address from,
        uint256 advId,
        uint256 util
    ) external;

    function updateReward(address _from, address _to) external;
}

contract Adventurer is Adventurer721 {
    struct AdvData {
        string name;
        string bio;
    }

    modifier AdvOwner(uint256 advId) {
        require(
            ownerOf(advId) == msg.sender,
            "Cannot interact with an Adventurer you do not own"
        );
        _;
    }

    IChronos public Chronos;

    uint256 public constant SUMMON_PRICE = 750 ether;
    uint256 public constant NAME_CHANGE_PRICE = 50 ether;
    uint256 public constant BIO_CHANGE_PRICE = 50 ether;
    bool public breedActive = false;

    mapping(uint256 => AdvData) public advData;

    event AdvBorn(uint256 advId, uint256 parent1, uint256 parent2);
    event NameChanged(uint256 advId, string advName);
    event BioChanged(uint256 advId, string advBio);

    constructor(
        address _whitelistAdmin,
        uint256 supply,
        uint256 genCount,
        uint256 fixCount,
        uint256 publicStart
    )
        Adventurer721(
            "PXQuest Adventurer",
            "PXQ",
            _whitelistAdmin,
            supply,
            genCount,
            fixCount,
            publicStart
        )
    {}

    function setChronosAddress(address ChronosAddress) external onlyOwner {
        Chronos = IChronos(ChronosAddress);
    }

    function summon(
        uint256 parent1,
        uint256 parent2,
        bool withdrawn
    ) external AdvOwner(parent1) AdvOwner(parent2) {
        require(breedActive, "Gen 2 summoning not yet active.");
        require(
            currentSupply < maxSupply,
            "Cannot summon any more adventurers"
        );
        require(
            parent1 < (maxGenCount + 1) && parent2 < (maxGenCount + 1),
            "Cannot summon a generation with the same generation."
        );
        require(parent1 != parent2, "Must select two unique summoners");
        // allow purchase with withdrawn or unwithdrawn
        if (withdrawn) {
            Chronos.burn(msg.sender, SUMMON_PRICE);
        } else {
            Chronos.burnUnclaimed(msg.sender, SUMMON_PRICE);
        }
        // we are 1 indexing
        uint256 advId = maxGenCount + gen2Count + 1;
        gen2Count++;
        _safeMint(msg.sender, advId);
        currentSupply++;
        // adv parents ID divisibility used to determine race of
        emit AdvBorn(advId, parent1, parent2);
    }

    function enableSummon() public onlyOwner {
        breedActive = true;
    }

    function stake(uint256 advId, uint256 util) external AdvOwner(advId) {
        Chronos.stake(msg.sender, advId, util);
    }

    function changeName(
        uint256 advId,
        string memory newName,
        bool withdrawn
    ) external AdvOwner(advId) {
        bytes memory n = bytes(newName);
        require(n.length > 0 && n.length < 25, "Invalid name length");
        require(
            sha256(n) != sha256(bytes(advData[advId].name)),
            "New name is same as current name"
        );

        if (withdrawn) {
            Chronos.burn(msg.sender, NAME_CHANGE_PRICE);
        } else {
            Chronos.burnUnclaimed(msg.sender, NAME_CHANGE_PRICE);
        }
        advData[advId].name = newName;
        emit NameChanged(advId, newName);
    }

    function changeBio(
        uint256 advId,
        string memory newBio,
        bool withdrawn
    ) external AdvOwner(advId) {
        if (withdrawn) {
            Chronos.burn(msg.sender, BIO_CHANGE_PRICE);
        } else {
            Chronos.burnUnclaimed(msg.sender, BIO_CHANGE_PRICE);
        }
        advData[advId].bio = newBio;
        emit BioChanged(advId, newBio);
    }

    function getAdvData(uint256 advId)
        external
        view
        returns (string memory, string memory)
    {
        return (advData[advId].name, advData[advId].bio);
    }

    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public override {
        Chronos.updateReward(from, to);
        ERC721.transferFrom(from, to, tokenId);
    }

    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory data
    ) public override {
        Chronos.updateReward(from, to);
        ERC721.safeTransferFrom(from, to, tokenId, data);
    }
}

File 2 of 14 : Adventurer721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./ERC721.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";

/**
 * @title Adventurer ERC721Tradable
 * ERC721Tradable - ERC721 contract that whitelists a trading address, and has minting functionality, merkel root setting and token meta randomisation
 */
abstract contract Adventurer721 is ERC721, Ownable {
    using Address for address;
    using ECDSA for bytes32;

    // Supply Variables (e.g. 7500 - max inc bebes,14,0,5000,0 )
    uint256 public maxSupply;
    uint256 private fixedSupply;
    uint256 public currentSupply;
    uint256 public maxGenCount;
    uint256 public gen2Count;

    // Sale State Variables
    bool public presaleActive;
    bool public saleActive;
    uint256 public startSaleTimestamp;

    uint256 public price = 0.125 ether;
    address public whitelistAdmin;

    mapping(address => bool) public mintedList;
    mapping(address => bool) public publicMintedList;

    // Meta randomisation
    uint256 private metaoffset = 10000;
    bool public hashlocked;
    string public _merkelroot = "0";

    string private baseURI;
    string private contURI;

    constructor(
        string memory _name,
        string memory _symbol,
        address _whitelistAdmin,
        uint256 supply,
        uint256 genCount,
        uint256 fixSupply,
        uint256 pubStart
    ) ERC721(_name, _symbol) {
        maxSupply = supply;
        maxGenCount = genCount;
        fixedSupply = fixSupply;
        whitelistAdmin = _whitelistAdmin;
        currentSupply = 0;
        startSaleTimestamp = pubStart;
    }

    /** *********************************** **/
    /** ********* Internal Functions ****** **/
    /** *********************************** **/
    function isContract(address account) internal view returns (bool) {
        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }

    /** *********************************** **/
    /** ********* Minting Functions ******* **/
    /** *********************************** **/
    function mintLeg() public onlyOwner {
        require(currentSupply < fixedSupply, "Legendaries already minted.");
        for (uint256 i = 1; i <= fixedSupply; i++) {
            _safeMint(msg.sender, currentSupply + 1);
            currentSupply++;
        }
    }

    function _isvalidsig(
        bytes32 data,
        bytes memory signature,
        address signerAddress
    ) private pure returns (bool) {
        return
            data.toEthSignedMessageHash().recover(signature) == signerAddress;
    }

    function mintPresale(
        address _contractAddress,
        uint256 _vol,
        uint256 _expiry,
        uint256 _option,
        bytes memory _signature
    ) external payable {
        require(presaleActive, "Presale must be active to mint");
        require(
            currentSupply + _vol <= maxGenCount,
            "Purchase would exceed max supply of Genesis Adventurers"
        );
        require(mintedList[msg.sender] == false, "You have already minted");
        require(tx.origin == msg.sender, "Contracts not allowed");
        require(
            _isvalidsig(
                keccak256(
                    abi.encodePacked(
                        _contractAddress,
                        msg.sender,
                        _vol,
                        _expiry,
                        _option
                    )
                ),
                _signature,
                whitelistAdmin
            ),
            "Signature was not valid"
        );
        if (_option != 0) {
            require(
                price * _vol == msg.value,
                "Ether value sent is not correct"
            );
        }

        mintedList[msg.sender] = true;
        // we are 1 indexing, not zero
        for (uint256 i = 1; i <= _vol; i++) {
            _safeMint(msg.sender, currentSupply + 1);
            currentSupply++;
        }
    }

    function mint() external payable {
        require(saleActive, "Public sale must be active to mint");
        require(
            block.timestamp >= startSaleTimestamp,
            "Public sale has not started"
        );
        require(
            publicMintedList[msg.sender] == false,
            "You have already minted"
        );
        require(
            currentSupply < maxGenCount,
            "Purchase would exceed max supply of Genesis Adventurers"
        );
        require(price == msg.value, "Ether value sent is not correct");
        require(tx.origin == msg.sender, "Contracts not allowed");
        require(isContract(msg.sender) == false, "Cannot mint from a contract");
        publicMintedList[msg.sender] = true;
        _safeMint(msg.sender, currentSupply + 1);
        currentSupply++;
    }

    function tokensOfOwner(
        address _owner,
        uint256 startId,
        uint256 endId
    ) external view returns (uint256[] memory) {
        uint256 tokenCount = balanceOf(_owner);
        if (tokenCount == 0) {
            return new uint256[](0);
        } else {
            uint256[] memory result = new uint256[](tokenCount);
            uint256 index;

            for (uint256 tokenId = startId; tokenId < endId; tokenId++) {
                if (index == tokenCount) break;

                if (ownerOf(tokenId) == _owner) {
                    result[index] = tokenId;
                    index++;
                }
            }

            return result;
        }
    }

    function ownerOf(uint256 tokenId)
        public
        view
        virtual
        override
        returns (address)
    {
        return _owners[tokenId];
    }

    function walletOfOwner(address address_)
        external
        view
        returns (uint256[] memory)
    {
        uint256 _balance = balanceOf(address_);
        if (_balance == 0) {
            return new uint256[](0);
        } else {
            uint256[] memory _tokens = new uint256[](_balance);
            uint256 _index;

            for (uint256 i = 0; i < maxSupply; i++) {
                if (address_ == ownerOf(i)) {
                    _tokens[_index] = i;
                    _index++;
                }
            }

            return _tokens;
        }
    }

    /** *********************************** **/
    /** ********* Owner Functions ********* **/
    /** *********************************** **/

    function withdraw() public onlyOwner {
        uint256 balance = address(this).balance;
        payable(msg.sender).transfer(balance);
    }

    function togglePresale() public onlyOwner {
        presaleActive = !presaleActive;
    }

    function toggleSale() public onlyOwner {
        saleActive = !saleActive;
    }

    function setPrice(uint256 newPrice) public onlyOwner {
        price = (1 ether * newPrice) / 100;
    }

    // generate random offset for token metadata URI
    function setRandomMetaOffset() public onlyOwner {
        require(metaoffset == 10000, "Offset already randomised.");
        require(
            hashlocked == true,
            "Merkelroot hash of metadata has not been set"
        );
        uint256 number = uint256(
            keccak256(
                abi.encodePacked(
                    blockhash(block.number - 1),
                    block.coinbase,
                    block.difficulty
                )
            )
        );
        metaoffset = number % maxGenCount;
    }

    // set root hash of merkel tree for metadata
    function setMerkelRoot(string memory _roothash) public onlyOwner {
        require(hashlocked == false, "Merkel is already set");
        _merkelroot = _roothash;
        hashlocked = true;
    }

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

    function setContractURI(string memory uri) public onlyOwner {
        contURI = uri;
    }

    /** *********************************** **/
    /** ********* View Functions ********* **/
    /** *********************************** **/

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

    function getOffset() external view returns (uint256) {
        return metaoffset;
    }

    function getMerkelRoot() external view returns (string memory) {
        return _merkelroot;
    }

    //base url for returning info about an individual adventurer
    function _baseURI() internal view override returns (string memory) {
        return baseURI;
    }

    //base url for returning info about the token collection contract
    function contractURI() external view returns (string memory) {
        return contURI;
    }

    function tokenURI(uint256 _tokenId)
        public
        view
        override
        returns (string memory)
    {
        uint256 offsetid = _tokenId;
        if ((_tokenId > fixedSupply) && (_tokenId <= maxGenCount)) {
            offsetid = _tokenId + metaoffset;
            if (metaoffset != 10000) {
                if (offsetid > maxGenCount) {
                    offsetid = offsetid - maxGenCount;
                }
            }
        }
        return string(abi.encodePacked(_baseURI(), Strings.toString(offsetid)));
    }
}

File 3 of 14 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.3.2 (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;

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/utils/Address.sol";
import "@openzeppelin/contracts/utils/Context.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/introspection/ERC165.sol";

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each
     * token will be the concatenation of the `baseURI` and the `tokenId`. Empty
     * by default, can be overriden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return "";
    }

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public virtual override {
        address owner = ERC721.ownerOf(tokenId);
        require(to != owner, "ERC721: approval to current owner");

        require(
            _msgSender() == owner || isApprovedForAll(owner, _msgSender()),
            "ERC721: approve caller is not owner nor approved for all"
        );

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved)
        public
        virtual
        override
    {
        _setApprovalForAll(_msgSender(), operator, approved);
    }

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

    /**
     * @dev Safely mints `tokenId` and transfers it to `to`.
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(address to, uint256 tokenId) internal virtual {
        _safeMint(to, tokenId, "");
    }

    /**
     * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is
     * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
     */
    function _safeMint(
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _mint(to, tokenId);
        require(
            _checkOnERC721Received(address(0), to, tokenId, _data),
            "ERC721: transfer to non ERC721Receiver implementer"
        );
    }

    /**
     * @dev Mints `tokenId` and transfers it to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - `to` cannot be the zero address.
     *
     * Emits a {Transfer} event.
     */
    function _mint(address to, uint256 tokenId) internal virtual {
        require(to != address(0), "ERC721: mint to the zero address");
        require(!_exists(tokenId), "ERC721: token already minted");

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

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

        emit Transfer(address(0), to, tokenId);
    }

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

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

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

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

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

pragma solidity ^0.8.0;

import "../Strings.sol";

/**
 * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.
 *
 * These functions can be used to verify that a message was signed by the holder
 * of the private keys of a given address.
 */
library ECDSA {
    enum RecoverError {
        NoError,
        InvalidSignature,
        InvalidSignatureLength,
        InvalidSignatureS,
        InvalidSignatureV
    }

    function _throwError(RecoverError error) private pure {
        if (error == RecoverError.NoError) {
            return; // no error: do nothing
        } else if (error == RecoverError.InvalidSignature) {
            revert("ECDSA: invalid signature");
        } else if (error == RecoverError.InvalidSignatureLength) {
            revert("ECDSA: invalid signature length");
        } else if (error == RecoverError.InvalidSignatureS) {
            revert("ECDSA: invalid signature 's' value");
        } else if (error == RecoverError.InvalidSignatureV) {
            revert("ECDSA: invalid signature 'v' value");
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature` or error string. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     *
     * Documentation for signature generation:
     * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js]
     * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers]
     *
     * _Available since v4.3._
     */
    function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) {
        // Check the signature length
        // - case 65: r,s,v signature (standard)
        // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._
        if (signature.length == 65) {
            bytes32 r;
            bytes32 s;
            uint8 v;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            assembly {
                r := mload(add(signature, 0x20))
                s := mload(add(signature, 0x40))
                v := byte(0, mload(add(signature, 0x60)))
            }
            return tryRecover(hash, v, r, s);
        } else if (signature.length == 64) {
            bytes32 r;
            bytes32 vs;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            assembly {
                r := mload(add(signature, 0x20))
                vs := mload(add(signature, 0x40))
            }
            return tryRecover(hash, r, vs);
        } else {
            return (address(0), RecoverError.InvalidSignatureLength);
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature`. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     */
    function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, signature);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately.
     *
     * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures]
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address, RecoverError) {
        bytes32 s;
        uint8 v;
        assembly {
            s := and(vs, 0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff)
            v := add(shr(255, vs), 27)
        }
        return tryRecover(hash, v, r, s);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately.
     *
     * _Available since v4.2._
     */
    function recover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, r, vs);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `v`,
     * `r` and `s` signature fields separately.
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address, RecoverError) {
        // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature
        // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines
        // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most
        // signatures from current libraries generate a unique signature with an s-value in the lower half order.
        //
        // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value
        // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or
        // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept
        // these malleable signatures as well.
        if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) {
            return (address(0), RecoverError.InvalidSignatureS);
        }
        if (v != 27 && v != 28) {
            return (address(0), RecoverError.InvalidSignatureV);
        }

        // If the signature is valid (and not malleable), return the signer address
        address signer = ecrecover(hash, v, r, s);
        if (signer == address(0)) {
            return (address(0), RecoverError.InvalidSignature);
        }

        return (signer, RecoverError.NoError);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `v`,
     * `r` and `s` signature fields separately.
     */
    function recover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, v, r, s);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from a `hash`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) {
        // 32 is the length in bytes of hash,
        // enforced by the type signature above
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash));
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from `s`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s));
    }

    /**
     * @dev Returns an Ethereum Signed Typed Data, created from a
     * `domainSeparator` and a `structHash`. This produces hash corresponding
     * to the one signed with the
     * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`]
     * JSON-RPC method as part of EIP-712.
     *
     * See {recover}.
     */
    function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash));
    }
}

File 8 of 14 : 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 14 : 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 14 : 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 14 : 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 12 of 14 : 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 13 of 14 : 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 14 of 14 : 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": 1000
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_whitelistAdmin","type":"address"},{"internalType":"uint256","name":"supply","type":"uint256"},{"internalType":"uint256","name":"genCount","type":"uint256"},{"internalType":"uint256","name":"fixCount","type":"uint256"},{"internalType":"uint256","name":"publicStart","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"advId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"parent1","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"parent2","type":"uint256"}],"name":"AdvBorn","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"advId","type":"uint256"},{"indexed":false,"internalType":"string","name":"advBio","type":"string"}],"name":"BioChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"advId","type":"uint256"},{"indexed":false,"internalType":"string","name":"advName","type":"string"}],"name":"NameChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"BIO_CHANGE_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"Chronos","outputs":[{"internalType":"contract IChronos","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"NAME_CHANGE_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SUMMON_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_merkelroot","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"advData","outputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"bio","type":"string"}],"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":"breedActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"advId","type":"uint256"},{"internalType":"string","name":"newBio","type":"string"},{"internalType":"bool","name":"withdrawn","type":"bool"}],"name":"changeBio","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"advId","type":"uint256"},{"internalType":"string","name":"newName","type":"string"},{"internalType":"bool","name":"withdrawn","type":"bool"}],"name":"changeName","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"currentSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"enableSummon","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"gen2Count","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"advId","type":"uint256"}],"name":"getAdvData","outputs":[{"internalType":"string","name":"","type":"string"},{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMerkelRoot","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getOffset","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"hashlocked","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"maxGenCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintLeg","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_contractAddress","type":"address"},{"internalType":"uint256","name":"_vol","type":"uint256"},{"internalType":"uint256","name":"_expiry","type":"uint256"},{"internalType":"uint256","name":"_option","type":"uint256"},{"internalType":"bytes","name":"_signature","type":"bytes"}],"name":"mintPresale","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"mintedList","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"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":"presaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"publicMintedList","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"uri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"ChronosAddress","type":"address"}],"name":"setChronosAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"uri","type":"string"}],"name":"setContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_roothash","type":"string"}],"name":"setMerkelRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setRandomMetaOffset","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"advId","type":"uint256"},{"internalType":"uint256","name":"util","type":"uint256"}],"name":"stake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startSaleTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"parent1","type":"uint256"},{"internalType":"uint256","name":"parent2","type":"uint256"},{"internalType":"bool","name":"withdrawn","type":"bool"}],"name":"summon","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":[],"name":"togglePresale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toggleSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"uint256","name":"startId","type":"uint256"},{"internalType":"uint256","name":"endId","type":"uint256"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"address_","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whitelistAdmin","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6701bc16d674ec8000600e5561271060125560c060405260016080819052600360fc1b60a0908152620000369160149190620001a9565b506017805460ff60a01b191690553480156200005157600080fd5b50604051620045f1380380620045f183398101604081905262000074916200024f565b60405180604001604052806012815260200171282c28bab2b9ba1020b23b32b73a3ab932b960711b8152506040518060400160405280600381526020016250585160e81b815250868686868686868160009080519060200190620000da929190620001a9565b508051620000f0906001906020840190620001a9565b5050506200010d620001076200015360201b60201c565b62000157565b600793909355600a91909155600855600f80546001600160a01b0319166001600160a01b0393909316929092179091556000600955600d5550620002e195505050505050565b3390565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b828054620001b790620002a4565b90600052602060002090601f016020900481019282620001db576000855562000226565b82601f10620001f657805160ff191683800117855562000226565b8280016001018555821562000226579182015b828111156200022657825182559160200191906001019062000209565b506200023492915062000238565b5090565b5b8082111562000234576000815560010162000239565b600080600080600060a0868803121562000267578081fd5b85516001600160a01b03811681146200027e578182fd5b602087015160408801516060890151608090990151929a91995097965090945092505050565b600281046001821680620002b957607f821691505b60208210811415620002db57634e487b7160e01b600052602260045260246000fd5b50919050565b61430080620002f16000396000f3fe60806040526004361061038c5760003560e01c806374151be0116101dc578063b88d4fde11610102578063de065710116100a0578063e985e9c51161006f578063e985e9c51461095d578063eb6ad24e1461097d578063ed3d161d14610992578063f2fde38b146109a75761038c565b8063de065710146108fe578063de697d7f1461091e578063e8662dc914610933578063e8a3d485146109485761038c565b8063c839fe94116100dc578063c839fe9414610889578063c87b56dd146108a9578063cb41ea55146108c9578063d5abeb01146108e95761038c565b8063b88d4fde14610834578063bc6b1bdf14610854578063bf2f1b16146108745761038c565b80638e254bd31161017a578063a035b1fe11610149578063a035b1fe146107ca578063a22cb465146107df578063b5ed05fe146107ff578063b7b265fc146108145761038c565b80638e254bd31461075557806391b7f5ed14610775578063938e3d7b1461079557806395d89b41146107b55761038c565b80637d8966e4116101b65780637d8966e4146106dd57806381687730146106f257806382d6f6fc146107125780638da5cb5b146107405761038c565b806374151be0146105aa578063771282f6146106a85780637b0472f0146106bd5761038c565b806342842e0e116102c1578063580879a11161025f57806369def03f1161022e57806369def03f1461063e5780636dfd87a01461065e57806370a0823114610673578063715018a6146106935761038c565b8063580879a1146105df5780636352211e146105f4578063668307261461061457806368428a1b146106295761038c565b80634adbe5511161029b5780634adbe5511461058057806353135ca01461059557806354b6f161146105aa57806355f804b3146105bf5761038c565b806342842e0e1461051e578063438b63001461053e5780634660d6811461056b5761038c565b80631e897fb91161032e5780633299c120116103085780633299c120146104ca57806334393743146104df5780633ccfd60b146104f457806341041999146105095761038c565b80631e897fb91461048257806323b872dd146104975780632d509aa5146104b75761038c565b8063095ea7b31161036a578063095ea7b3146104165780631249c58b1461043857806318160ddd146104405780631d68e1de146104625761038c565b806301ffc9a71461039157806306fdde03146103c7578063081812fc146103e9575b600080fd5b34801561039d57600080fd5b506103b16103ac36600461324d565b6109c7565b6040516103be91906135ff565b60405180910390f35b3480156103d357600080fd5b506103dc610a41565b6040516103be9190613628565b3480156103f557600080fd5b506104096104043660046132b8565b610ad3565b6040516103be9190613517565b34801561042257600080fd5b50610436610431366004613171565b610b1f565b005b610436610bb7565b34801561044c57600080fd5b50610455610d04565b6040516103be919061413c565b34801561046e57600080fd5b5061043661047d36600461305b565b610d0a565b34801561048e57600080fd5b506103dc610d6b565b3480156104a357600080fd5b506104366104b23660046130a7565b610df9565b6104366104c53660046131cc565b610e68565b3480156104d657600080fd5b50610455611005565b3480156104eb57600080fd5b5061043661100b565b34801561050057600080fd5b5061043661105e565b34801561051557600080fd5b506104556110d0565b34801561052a57600080fd5b506104366105393660046130a7565b6110d6565b34801561054a57600080fd5b5061055e61055936600461305b565b6110f1565b6040516103be91906135bb565b34801561057757600080fd5b506103b16111fe565b34801561058c57600080fd5b50610409611207565b3480156105a157600080fd5b506103b1611216565b3480156105b657600080fd5b5061045561121f565b3480156105cb57600080fd5b506104366105da366004613285565b61122c565b3480156105eb57600080fd5b5061045561127e565b34801561060057600080fd5b5061040961060f3660046132b8565b61128b565b34801561062057600080fd5b506103b16112a6565b34801561063557600080fd5b506103b16112b6565b34801561064a57600080fd5b506103b161065936600461305b565b6112c4565b34801561066a57600080fd5b506104096112d9565b34801561067f57600080fd5b5061045561068e36600461305b565b6112e8565b34801561069f57600080fd5b5061043661132c565b3480156106b457600080fd5b50610455611377565b3480156106c957600080fd5b506104366106d8366004613325565b61137d565b3480156106e957600080fd5b50610436611432565b3480156106fe57600080fd5b506103b161070d36600461305b565b61148e565b34801561071e57600080fd5b5061073261072d3660046132b8565b6114a3565b6040516103be92919061363b565b34801561074c57600080fd5b506104096115dd565b34801561076157600080fd5b50610436610770366004613285565b6115ec565b34801561078157600080fd5b506104366107903660046132b8565b611672565b3480156107a157600080fd5b506104366107b0366004613285565b6116d5565b3480156107c157600080fd5b506103dc611727565b3480156107d657600080fd5b50610455611736565b3480156107eb57600080fd5b506104366107fa366004613148565b61173c565b34801561080b57600080fd5b5061043661174e565b34801561082057600080fd5b5061073261082f3660046132b8565b6117fa565b34801561084057600080fd5b5061043661084f3660046130e2565b611926565b34801561086057600080fd5b5061043661086f3660046132d0565b61199c565b34801561088057600080fd5b50610436611c0e565b34801561089557600080fd5b5061055e6108a436600461319a565b611ce8565b3480156108b557600080fd5b506103dc6108c43660046132b8565b611dfc565b3480156108d557600080fd5b506104366108e4366004613346565b611e86565b3480156108f557600080fd5b50610455612114565b34801561090a57600080fd5b506104366109193660046132d0565b61211a565b34801561092a57600080fd5b506103dc612296565b34801561093f57600080fd5b506104366122a5565b34801561095457600080fd5b506103dc612314565b34801561096957600080fd5b506103b1610978366004613075565b612323565b34801561098957600080fd5b50610455612351565b34801561099e57600080fd5b50610455612357565b3480156109b357600080fd5b506104366109c236600461305b565b61235d565b60006001600160e01b031982167f80ac58cd000000000000000000000000000000000000000000000000000000001480610a2a57506001600160e01b031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b80610a395750610a39826123cb565b90505b919050565b606060008054610a509061420e565b80601f0160208091040260200160405190810160405280929190818152602001828054610a7c9061420e565b8015610ac95780601f10610a9e57610100808354040283529160200191610ac9565b820191906000526020600020905b815481529060010190602001808311610aac57829003601f168201915b5050505050905090565b6000610ade826123fd565b610b035760405162461bcd60e51b8152600401610afa90613d6b565b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b6000610b2a8261241a565b9050806001600160a01b0316836001600160a01b03161415610b5e5760405162461bcd60e51b8152600401610afa90613edd565b806001600160a01b0316610b7061244f565b6001600160a01b03161480610b8c5750610b8c8161097861244f565b610ba85760405162461bcd60e51b8152600401610afa90613b12565b610bb28383612453565b505050565b600c54610100900460ff16610bde5760405162461bcd60e51b8152600401610afa906136a0565b600d54421015610c005760405162461bcd60e51b8152600401610afa90613982565b3360009081526011602052604090205460ff1615610c305760405162461bcd60e51b8152600401610afa906138b7565b600a5460095410610c535760405162461bcd60e51b8152600401610afa906138ee565b34600e5414610c745760405162461bcd60e51b8152600401610afa90613a4d565b323314610c935760405162461bcd60e51b8152600401610afa90613e49565b610c9c336124c1565b15610cb95760405162461bcd60e51b8152600401610afa90613f3a565b336000818152601160205260409020805460ff19166001908117909155600954610ced9291610ce89190614180565b6124c7565b60098054906000610cfd83614243565b9190505550565b60095490565b610d1261244f565b6001600160a01b0316610d236115dd565b6001600160a01b031614610d495760405162461bcd60e51b8152600401610afa90613db7565b601780546001600160a01b0319166001600160a01b0392909216919091179055565b60148054610d789061420e565b80601f0160208091040260200160405190810160405280929190818152602001828054610da49061420e565b8015610df15780601f10610dc657610100808354040283529160200191610df1565b820191906000526020600020905b815481529060010190602001808311610dd457829003601f168201915b505050505081565b601754604051636918579d60e11b81526001600160a01b039091169063d230af3a90610e2b908690869060040161352b565b600060405180830381600087803b158015610e4557600080fd5b505af1158015610e59573d6000803e3d6000fd5b50505050610bb28383836124e1565b600c5460ff16610e8a5760405162461bcd60e51b8152600401610afa90613bcc565b600a5484600954610e9b9190614180565b1115610eb95760405162461bcd60e51b8152600401610afa906138ee565b3360009081526010602052604090205460ff1615610ee95760405162461bcd60e51b8152600401610afa906138b7565b323314610f085760405162461bcd60e51b8152600401610afa90613e49565b610f4f8533868686604051602001610f2495949392919061339d565b60408051601f198184030181529190528051602090910120600f5483906001600160a01b0316612519565b610f6b5760405162461bcd60e51b8152600401610afa90614099565b8115610f9d573484600e54610f8091906141ac565b14610f9d5760405162461bcd60e51b8152600401610afa90613a4d565b336000908152601060205260409020805460ff191660019081179091555b848111610ffd57610fd5336009546001610ce89190614180565b60098054906000610fe583614243565b91905055508080610ff590614243565b915050610fbb565b505050505050565b600a5481565b61101361244f565b6001600160a01b03166110246115dd565b6001600160a01b03161461104a5760405162461bcd60e51b8152600401610afa90613db7565b600c805460ff19811660ff90911615179055565b61106661244f565b6001600160a01b03166110776115dd565b6001600160a01b03161461109d5760405162461bcd60e51b8152600401610afa90613db7565b6040514790339082156108fc029083906000818181858888f193505050501580156110cc573d6000803e3d6000fd5b5050565b600b5481565b610bb283838360405180602001604052806000815250611926565b606060006110fe836112e8565b90508061111b575050604080516000815260208101909152610a3c565b60008167ffffffffffffffff81111561114457634e487b7160e01b600052604160045260246000fd5b60405190808252806020026020018201604052801561116d578160200160208202803683370190505b5090506000805b6007548110156111ec576111878161128b565b6001600160a01b0316866001600160a01b031614156111da57808383815181106111c157634e487b7160e01b600052603260045260246000fd5b6020908102919091010152816111d681614243565b9250505b806111e481614243565b915050611174565b50819350505050610a3c565b50919050565b60135460ff1681565b600f546001600160a01b031681565b600c5460ff1681565b6802b5e3af16b188000081565b61123461244f565b6001600160a01b03166112456115dd565b6001600160a01b03161461126b5760405162461bcd60e51b8152600401610afa90613db7565b80516110cc906015906020840190612f1a565b6828a857425466f8000081565b6000908152600260205260409020546001600160a01b031690565b601754600160a01b900460ff1681565b600c54610100900460ff1681565b60116020526000908152604090205460ff1681565b6017546001600160a01b031681565b60006001600160a01b0382166113105760405162461bcd60e51b8152600401610afa90613c03565b506001600160a01b031660009081526003602052604090205490565b61133461244f565b6001600160a01b03166113456115dd565b6001600160a01b03161461136b5760405162461bcd60e51b8152600401610afa90613db7565b611375600061254a565b565b60095481565b81336113888261128b565b6001600160a01b0316146113ae5760405162461bcd60e51b8152600401610afa90613fdf565b6017546040517f0c51b88f0000000000000000000000000000000000000000000000000000000081526001600160a01b0390911690630c51b88f906113fb9033908790879060040161359a565b600060405180830381600087803b15801561141557600080fd5b505af1158015611429573d6000803e3d6000fd5b50505050505050565b61143a61244f565b6001600160a01b031661144b6115dd565b6001600160a01b0316146114715760405162461bcd60e51b8152600401610afa90613db7565b600c805461ff001981166101009182900460ff1615909102179055565b60106020526000908152604090205460ff1681565b600081815260186020526040902080546060918291600182019082906114c89061420e565b80601f01602080910402602001604051908101604052809291908181526020018280546114f49061420e565b80156115415780601f1061151657610100808354040283529160200191611541565b820191906000526020600020905b81548152906001019060200180831161152457829003601f168201915b505050505091508080546115549061420e565b80601f01602080910402602001604051908101604052809291908181526020018280546115809061420e565b80156115cd5780601f106115a2576101008083540402835291602001916115cd565b820191906000526020600020905b8154815290600101906020018083116115b057829003601f168201915b5050505050905091509150915091565b6006546001600160a01b031690565b6115f461244f565b6001600160a01b03166116056115dd565b6001600160a01b03161461162b5760405162461bcd60e51b8152600401610afa90613db7565b60135460ff161561164e5760405162461bcd60e51b8152600401610afa9061394b565b8051611661906014906020840190612f1a565b50506013805460ff19166001179055565b61167a61244f565b6001600160a01b031661168b6115dd565b6001600160a01b0316146116b15760405162461bcd60e51b8152600401610afa90613db7565b60646116c582670de0b6b3a76400006141ac565b6116cf9190614198565b600e5550565b6116dd61244f565b6001600160a01b03166116ee6115dd565b6001600160a01b0316146117145760405162461bcd60e51b8152600401610afa90613db7565b80516110cc906016906020840190612f1a565b606060018054610a509061420e565b600e5481565b6110cc61174761244f565b838361259c565b61175661244f565b6001600160a01b03166117676115dd565b6001600160a01b03161461178d5760405162461bcd60e51b8152600401610afa90613db7565b600854600954106117b05760405162461bcd60e51b8152600401610afa90613fa8565b60015b60085481116117f7576117cf336009546001610ce89190614180565b600980549060006117df83614243565b919050555080806117ef90614243565b9150506117b3565b50565b6018602052600090815260409020805481906118159061420e565b80601f01602080910402602001604051908101604052809291908181526020018280546118419061420e565b801561188e5780601f106118635761010080835404028352916020019161188e565b820191906000526020600020905b81548152906001019060200180831161187157829003601f168201915b5050505050908060010180546118a39061420e565b80601f01602080910402602001604051908101604052809291908181526020018280546118cf9061420e565b801561191c5780601f106118f15761010080835404028352916020019161191c565b820191906000526020600020905b8154815290600101906020018083116118ff57829003601f168201915b5050505050905082565b601754604051636918579d60e11b81526001600160a01b039091169063d230af3a90611958908790879060040161352b565b600060405180830381600087803b15801561197257600080fd5b505af1158015611986573d6000803e3d6000fd5b505050506119968484848461263f565b50505050565b82336119a78261128b565b6001600160a01b0316146119cd5760405162461bcd60e51b8152600401610afa90613fdf565b82518390158015906119e0575060198151105b6119fc5760405162461bcd60e51b8152600401610afa90613f71565b600085815260186020526040908190209051600291611a1a9161341c565b602060405180830381855afa158015611a37573d6000803e3d6000fd5b5050506040513d601f19601f82011682018060405250810190611a5a9190613235565b600282604051611a6a9190613400565b602060405180830381855afa158015611a87573d6000803e3d6000fd5b5050506040513d601f19601f82011682018060405250810190611aaa9190613235565b1415611ac85760405162461bcd60e51b8152600401610afa90614107565b8215611b4057601754604051632770a7eb60e21b81526001600160a01b0390911690639dc29fac90611b099033906802b5e3af16b188000090600401613581565b600060405180830381600087803b158015611b2357600080fd5b505af1158015611b37573d6000803e3d6000fd5b50505050611bae565b601754604051631a60d47560e21b81526001600160a01b039091169063698351d490611b7b9033906802b5e3af16b188000090600401613581565b600060405180830381600087803b158015611b9557600080fd5b505af1158015611ba9573d6000803e3d6000fd5b505050505b60008581526018602090815260409091208551611bcd92870190612f1a565b507f8edfa912e70e283a8ef6d6f52cd1faef9690ff989eff2f11a134e8478ba7b28b8585604051611bff929190614145565b60405180910390a15050505050565b611c1661244f565b6001600160a01b0316611c276115dd565b6001600160a01b031614611c4d5760405162461bcd60e51b8152600401610afa90613db7565b60125461271014611c705760405162461bcd60e51b8152600401610afa90613cbd565b60135460ff161515600114611c975760405162461bcd60e51b8152600401610afa9061385a565b6000611ca46001436141cb565b404144604051602001611cb9939291906133d8565b6040516020818303038152906040528051906020012060001c9050600a5481611ce2919061425e565b60125550565b60606000611cf5856112e8565b905080611d12575050604080516000815260208101909152611df5565b60008167ffffffffffffffff811115611d3b57634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015611d64578160200160208202803683370190505b5090506000855b85811015611dee5783821415611d8057611dee565b876001600160a01b0316611d938261128b565b6001600160a01b03161415611ddc5780838381518110611dc357634e487b7160e01b600052603260045260246000fd5b602090810291909101015281611dd881614243565b9250505b80611de681614243565b915050611d6b565b5090925050505b9392505050565b600854606090829081118015611e145750600a548311155b15611e4d57601254611e269084614180565b905060125461271014611e4d57600a54811115611e4d57600a54611e4a90826141cb565b90505b611e55612678565b611e5e82612687565b604051602001611e6f9291906134b7565b604051602081830303815290604052915050919050565b8233611e918261128b565b6001600160a01b031614611eb75760405162461bcd60e51b8152600401610afa90613fdf565b8233611ec28261128b565b6001600160a01b031614611ee85760405162461bcd60e51b8152600401610afa90613fdf565b601754600160a01b900460ff16611f115760405162461bcd60e51b8152600401610afa906140d0565b60075460095410611f345760405162461bcd60e51b8152600401610afa90613e80565b600a54611f42906001614180565b85108015611f5c5750600a54611f59906001614180565b84105b611f785760405162461bcd60e51b8152600401610afa90613b6f565b83851415611f985760405162461bcd60e51b8152600401610afa90613734565b821561201057601754604051632770a7eb60e21b81526001600160a01b0390911690639dc29fac90611fd99033906828a857425466f8000090600401613581565b600060405180830381600087803b158015611ff357600080fd5b505af1158015612007573d6000803e3d6000fd5b5050505061207e565b601754604051631a60d47560e21b81526001600160a01b039091169063698351d49061204b9033906828a857425466f8000090600401613581565b600060405180830381600087803b15801561206557600080fd5b505af1158015612079573d6000803e3d6000fd5b505050505b6000600b54600a546120909190614180565b61209b906001614180565b600b805491925060006120ad83614243565b91905055506120bc33826124c7565b600980549060006120cc83614243565b91905055507f22cf1f855dfd221844ddf0c2f919ba7b890433573939261c880e78559c3d09d38187876040516121049392919061415e565b60405180910390a1505050505050565b60075481565b82336121258261128b565b6001600160a01b03161461214b5760405162461bcd60e51b8152600401610afa90613fdf565b81156121c357601754604051632770a7eb60e21b81526001600160a01b0390911690639dc29fac9061218c9033906802b5e3af16b188000090600401613581565b600060405180830381600087803b1580156121a657600080fd5b505af11580156121ba573d6000803e3d6000fd5b50505050612231565b601754604051631a60d47560e21b81526001600160a01b039091169063698351d4906121fe9033906802b5e3af16b188000090600401613581565b600060405180830381600087803b15801561221857600080fd5b505af115801561222c573d6000803e3d6000fd5b505050505b6000848152601860209081526040909120845161225692600190920191860190612f1a565b507fb5d3e30019a90e2b35059d238ddbac8259a3d65d9a4f47395d713901d17cc1128484604051612288929190614145565b60405180910390a150505050565b606060148054610a509061420e565b6122ad61244f565b6001600160a01b03166122be6115dd565b6001600160a01b0316146122e45760405162461bcd60e51b8152600401610afa90613db7565b601780547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff16600160a01b179055565b606060168054610a509061420e565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b60125490565b600d5481565b61236561244f565b6001600160a01b03166123766115dd565b6001600160a01b03161461239c5760405162461bcd60e51b8152600401610afa90613db7565b6001600160a01b0381166123c25760405162461bcd60e51b8152600401610afa906137c6565b6117f78161254a565b6001600160e01b031981167f01ffc9a70000000000000000000000000000000000000000000000000000000014919050565b6000908152600260205260409020546001600160a01b0316151590565b6000818152600260205260408120546001600160a01b031680610a395760405162461bcd60e51b8152600401610afa90613c60565b3390565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906124888261241a565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b3b151590565b6110cc8282604051806020016040528060008152506127de565b6124f26124ec61244f565b82612811565b61250e5760405162461bcd60e51b8152600401610afa9061403c565b610bb283838361288e565b6000816001600160a01b031661253884612532876129bb565b906129eb565b6001600160a01b031614949350505050565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b031614156125ce5760405162461bcd60e51b8152600401610afa90613a16565b6001600160a01b0383811660008181526005602090815260408083209487168084529490915290819020805460ff1916851515179055517f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31906126329085906135ff565b60405180910390a3505050565b61265061264a61244f565b83612811565b61266c5760405162461bcd60e51b8152600401610afa9061403c565b61199684848484612a0f565b606060158054610a509061420e565b6060816126c8575060408051808201909152600181527f30000000000000000000000000000000000000000000000000000000000000006020820152610a3c565b8160005b81156126f257806126dc81614243565b91506126eb9050600a83614198565b91506126cc565b60008167ffffffffffffffff81111561271b57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612745576020820181803683370190505b5090505b84156127d65761275a6001836141cb565b9150612767600a8661425e565b612772906030614180565b60f81b81838151811061279557634e487b7160e01b600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506127cf600a86614198565b9450612749565b949350505050565b6127e88383612a42565b6127f56000848484612b21565b610bb25760405162461bcd60e51b8152600401610afa90613769565b600061281c826123fd565b6128385760405162461bcd60e51b8152600401610afa90613ac6565b60006128438361241a565b9050806001600160a01b0316846001600160a01b0316148061287e5750836001600160a01b031661287384610ad3565b6001600160a01b0316145b806127d657506127d68185612323565b826001600160a01b03166128a18261241a565b6001600160a01b0316146128c75760405162461bcd60e51b8152600401610afa90613dec565b6001600160a01b0382166128ed5760405162461bcd60e51b8152600401610afa906139b9565b6128f8838383610bb2565b612903600082612453565b6001600160a01b038316600090815260036020526040812080546001929061292c9084906141cb565b90915550506001600160a01b038216600090815260036020526040812080546001929061295a908490614180565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6000816040516020016129ce91906134e6565b604051602081830303815290604052805190602001209050919050565b60008060006129fa8585612c55565b91509150612a0781612cc5565b509392505050565b612a1a84848461288e565b612a2684848484612b21565b6119965760405162461bcd60e51b8152600401610afa90613769565b6001600160a01b038216612a685760405162461bcd60e51b8152600401610afa90613d36565b612a71816123fd565b15612a8e5760405162461bcd60e51b8152600401610afa90613823565b612a9a60008383610bb2565b6001600160a01b0382166000908152600360205260408120805460019290612ac3908490614180565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6000612b35846001600160a01b03166124c1565b15612c4a57836001600160a01b031663150b7a02612b5161244f565b8786866040518563ffffffff1660e01b8152600401612b739493929190613545565b602060405180830381600087803b158015612b8d57600080fd5b505af1925050508015612bbd575060408051601f3d908101601f19168201909252612bba91810190613269565b60015b612c17573d808015612beb576040519150601f19603f3d011682016040523d82523d6000602084013e612bf0565b606091505b508051612c0f5760405162461bcd60e51b8152600401610afa90613769565b805181602001fd5b6001600160e01b0319167f150b7a02000000000000000000000000000000000000000000000000000000001490506127d6565b506001949350505050565b600080825160411415612c8c5760208301516040840151606085015160001a612c8087828585612df2565b94509450505050612cbe565b825160401415612cb65760208301516040840151612cab868383612ed2565b935093505050612cbe565b506000905060025b9250929050565b6000816004811115612ce757634e487b7160e01b600052602160045260246000fd5b1415612cf2576117f7565b6001816004811115612d1457634e487b7160e01b600052602160045260246000fd5b1415612d325760405162461bcd60e51b8152600401610afa90613669565b6002816004811115612d5457634e487b7160e01b600052602160045260246000fd5b1415612d725760405162461bcd60e51b8152600401610afa906136fd565b6003816004811115612d9457634e487b7160e01b600052602160045260246000fd5b1415612db25760405162461bcd60e51b8152600401610afa90613a84565b6004816004811115612dd457634e487b7160e01b600052602160045260246000fd5b14156117f75760405162461bcd60e51b8152600401610afa90613cf4565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0831115612e295750600090506003612ec9565b8460ff16601b14158015612e4157508460ff16601c14155b15612e525750600090506004612ec9565b600060018787878760405160008152602001604052604051612e77949392919061360a565b6020604051602081039080840390855afa158015612e99573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116612ec257600060019250925050612ec9565b9150600090505b94509492505050565b6000807f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff831660ff84901c601b01612f0c87828885612df2565b935093505050935093915050565b828054612f269061420e565b90600052602060002090601f016020900481019282612f485760008555612f8e565b82601f10612f6157805160ff1916838001178555612f8e565b82800160010185558215612f8e579182015b82811115612f8e578251825591602001919060010190612f73565b50612f9a929150612f9e565b5090565b5b80821115612f9a5760008155600101612f9f565b80356001600160a01b0381168114610a3c57600080fd5b80358015158114610a3c57600080fd5b600082601f830112612fea578081fd5b813567ffffffffffffffff808211156130055761300561429e565b604051601f8301601f1916810160200182811182821017156130295761302961429e565b604052828152848301602001861015613040578384fd5b82602086016020830137918201602001929092529392505050565b60006020828403121561306c578081fd5b611df582612fb3565b60008060408385031215613087578081fd5b61309083612fb3565b915061309e60208401612fb3565b90509250929050565b6000806000606084860312156130bb578081fd5b6130c484612fb3565b92506130d260208501612fb3565b9150604084013590509250925092565b600080600080608085870312156130f7578081fd5b61310085612fb3565b935061310e60208601612fb3565b925060408501359150606085013567ffffffffffffffff811115613130578182fd5b61313c87828801612fda565b91505092959194509250565b6000806040838503121561315a578182fd5b61316383612fb3565b915061309e60208401612fca565b60008060408385031215613183578182fd5b61318c83612fb3565b946020939093013593505050565b6000806000606084860312156131ae578283fd5b6131b784612fb3565b95602085013595506040909401359392505050565b600080600080600060a086880312156131e3578081fd5b6131ec86612fb3565b9450602086013593506040860135925060608601359150608086013567ffffffffffffffff81111561321c578182fd5b61322888828901612fda565b9150509295509295909350565b600060208284031215613246578081fd5b5051919050565b60006020828403121561325e578081fd5b8135611df5816142b4565b60006020828403121561327a578081fd5b8151611df5816142b4565b600060208284031215613296578081fd5b813567ffffffffffffffff8111156132ac578182fd5b6127d684828501612fda565b6000602082840312156132c9578081fd5b5035919050565b6000806000606084860312156132e4578081fd5b83359250602084013567ffffffffffffffff811115613301578182fd5b61330d86828701612fda565b92505061331c60408501612fca565b90509250925092565b60008060408385031215613337578182fd5b50508035926020909101359150565b60008060006060848603121561335a578081fd5b833592506020840135915061331c60408501612fca565b600081518084526133898160208601602086016141e2565b601f01601f19169290920160200192915050565b6bffffffffffffffffffffffff19606096871b811682529490951b909316601485015260288401919091526048830152606882015260880190565b92835260609190911b6bffffffffffffffffffffffff19166020830152603482015260540190565b600082516134128184602087016141e2565b9190910192915050565b815460009081906002810460018083168061343857607f831692505b602080841082141561345857634e487b7160e01b87526022600452602487fd5b81801561346c576001811461347d576134a9565b60ff198616895284890196506134a9565b6134868a614174565b885b868110156134a15781548b820152908501908301613488565b505084890196505b509498975050505050505050565b600083516134c98184602088016141e2565b8351908301906134dd8183602088016141e2565b01949350505050565b7f19457468657265756d205369676e6564204d6573736167653a0a3332000000008152601c810191909152603c0190565b6001600160a01b0391909116815260200190565b6001600160a01b0392831681529116602082015260400190565b60006001600160a01b038087168352808616602084015250836040830152608060608301526135776080830184613371565b9695505050505050565b6001600160a01b03929092168252602082015260400190565b6001600160a01b039390931683526020830191909152604082015260600190565b6020808252825182820181905260009190848201906040850190845b818110156135f3578351835292840192918401916001016135d7565b50909695505050505050565b901515815260200190565b93845260ff9290921660208401526040830152606082015260800190565b600060208252611df56020830184613371565b60006040825261364e6040830185613371565b82810360208401526136608185613371565b95945050505050565b60208082526018908201527f45434453413a20696e76616c6964207369676e61747572650000000000000000604082015260600190565b60208082526022908201527f5075626c69632073616c65206d7573742062652061637469766520746f206d6960408201527f6e74000000000000000000000000000000000000000000000000000000000000606082015260800190565b6020808252601f908201527f45434453413a20696e76616c6964207369676e6174757265206c656e67746800604082015260600190565b6020808252818101527f4d7573742073656c6563742074776f20756e697175652073756d6d6f6e657273604082015260600190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527f63656976657220696d706c656d656e7465720000000000000000000000000000606082015260800190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201527f6464726573730000000000000000000000000000000000000000000000000000606082015260800190565b6020808252601c908201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604082015260600190565b6020808252602c908201527f4d65726b656c726f6f742068617368206f66206d65746164617461206861732060408201527f6e6f74206265656e207365740000000000000000000000000000000000000000606082015260800190565b60208082526017908201527f596f75206861766520616c7265616479206d696e746564000000000000000000604082015260600190565b60208082526037908201527f507572636861736520776f756c6420657863656564206d617820737570706c7960408201527f206f662047656e6573697320416476656e747572657273000000000000000000606082015260800190565b60208082526015908201527f4d65726b656c20697320616c7265616479207365740000000000000000000000604082015260600190565b6020808252601b908201527f5075626c69632073616c6520686173206e6f7420737461727465640000000000604082015260600190565b60208082526024908201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460408201527f7265737300000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526019908201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604082015260600190565b6020808252601f908201527f45746865722076616c75652073656e74206973206e6f7420636f727265637400604082015260600190565b60208082526022908201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604082015261756560f01b606082015260800190565b6020808252602c908201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b60208082526038908201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760408201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606082015260800190565b60208082526034908201527f43616e6e6f742073756d6d6f6e20612067656e65726174696f6e20776974682060408201527f7468652073616d652067656e65726174696f6e2e000000000000000000000000606082015260800190565b6020808252601e908201527f50726573616c65206d7573742062652061637469766520746f206d696e740000604082015260600190565b6020808252602a908201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560408201527f726f206164647265737300000000000000000000000000000000000000000000606082015260800190565b60208082526029908201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460408201527f656e7420746f6b656e0000000000000000000000000000000000000000000000606082015260800190565b6020808252601a908201527f4f666673657420616c72656164792072616e646f6d697365642e000000000000604082015260600190565b60208082526022908201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604082015261756560f01b606082015260800190565b6020808252818101527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604082015260600190565b6020808252602c908201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526029908201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960408201527f73206e6f74206f776e0000000000000000000000000000000000000000000000606082015260800190565b60208082526015908201527f436f6e747261637473206e6f7420616c6c6f7765640000000000000000000000604082015260600190565b60208082526022908201527f43616e6e6f742073756d6d6f6e20616e79206d6f726520616476656e7475726560408201527f7273000000000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526021908201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560408201527f7200000000000000000000000000000000000000000000000000000000000000606082015260800190565b6020808252601b908201527f43616e6e6f74206d696e742066726f6d206120636f6e74726163740000000000604082015260600190565b60208082526013908201527f496e76616c6964206e616d65206c656e67746800000000000000000000000000604082015260600190565b6020808252601b908201527f4c6567656e64617269657320616c7265616479206d696e7465642e0000000000604082015260600190565b60208082526031908201527f43616e6e6f7420696e746572616374207769746820616e20416476656e74757260408201527f657220796f7520646f206e6f74206f776e000000000000000000000000000000606082015260800190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60408201527f776e6572206e6f7220617070726f766564000000000000000000000000000000606082015260800190565b60208082526017908201527f5369676e617475726520776173206e6f742076616c6964000000000000000000604082015260600190565b6020808252601f908201527f47656e20322073756d6d6f6e696e67206e6f7420796574206163746976652e00604082015260600190565b6020808252818101527f4e6577206e616d652069732073616d652061732063757272656e74206e616d65604082015260600190565b90815260200190565b6000838252604060208301526127d66040830184613371565b9283526020830191909152604082015260600190565b60009081526020902090565b6000821982111561419357614193614272565b500190565b6000826141a7576141a7614288565b500490565b60008160001904831182151516156141c6576141c6614272565b500290565b6000828210156141dd576141dd614272565b500390565b60005b838110156141fd5781810151838201526020016141e5565b838111156119965750506000910152565b60028104600182168061422257607f821691505b602082108114156111f857634e487b7160e01b600052602260045260246000fd5b600060001982141561425757614257614272565b5060010190565b60008261426d5761426d614288565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b0319811681146117f757600080fdfea2646970667358221220b96bede2af7029cce33446f4cac354177f7b64984f5b61d8f033a3f2994d6cd464736f6c63430008000033000000000000000000000000f2c4a41eb934fd9fc361c85566a0f9a86e465a480000000000000000000000000000000000000000000000000000000000001d4c0000000000000000000000000000000000000000000000000000000000001388000000000000000000000000000000000000000000000000000000000000000b0000000000000000000000000000000000000000000000000000000061de1a00

Deployed Bytecode

0x60806040526004361061038c5760003560e01c806374151be0116101dc578063b88d4fde11610102578063de065710116100a0578063e985e9c51161006f578063e985e9c51461095d578063eb6ad24e1461097d578063ed3d161d14610992578063f2fde38b146109a75761038c565b8063de065710146108fe578063de697d7f1461091e578063e8662dc914610933578063e8a3d485146109485761038c565b8063c839fe94116100dc578063c839fe9414610889578063c87b56dd146108a9578063cb41ea55146108c9578063d5abeb01146108e95761038c565b8063b88d4fde14610834578063bc6b1bdf14610854578063bf2f1b16146108745761038c565b80638e254bd31161017a578063a035b1fe11610149578063a035b1fe146107ca578063a22cb465146107df578063b5ed05fe146107ff578063b7b265fc146108145761038c565b80638e254bd31461075557806391b7f5ed14610775578063938e3d7b1461079557806395d89b41146107b55761038c565b80637d8966e4116101b65780637d8966e4146106dd57806381687730146106f257806382d6f6fc146107125780638da5cb5b146107405761038c565b806374151be0146105aa578063771282f6146106a85780637b0472f0146106bd5761038c565b806342842e0e116102c1578063580879a11161025f57806369def03f1161022e57806369def03f1461063e5780636dfd87a01461065e57806370a0823114610673578063715018a6146106935761038c565b8063580879a1146105df5780636352211e146105f4578063668307261461061457806368428a1b146106295761038c565b80634adbe5511161029b5780634adbe5511461058057806353135ca01461059557806354b6f161146105aa57806355f804b3146105bf5761038c565b806342842e0e1461051e578063438b63001461053e5780634660d6811461056b5761038c565b80631e897fb91161032e5780633299c120116103085780633299c120146104ca57806334393743146104df5780633ccfd60b146104f457806341041999146105095761038c565b80631e897fb91461048257806323b872dd146104975780632d509aa5146104b75761038c565b8063095ea7b31161036a578063095ea7b3146104165780631249c58b1461043857806318160ddd146104405780631d68e1de146104625761038c565b806301ffc9a71461039157806306fdde03146103c7578063081812fc146103e9575b600080fd5b34801561039d57600080fd5b506103b16103ac36600461324d565b6109c7565b6040516103be91906135ff565b60405180910390f35b3480156103d357600080fd5b506103dc610a41565b6040516103be9190613628565b3480156103f557600080fd5b506104096104043660046132b8565b610ad3565b6040516103be9190613517565b34801561042257600080fd5b50610436610431366004613171565b610b1f565b005b610436610bb7565b34801561044c57600080fd5b50610455610d04565b6040516103be919061413c565b34801561046e57600080fd5b5061043661047d36600461305b565b610d0a565b34801561048e57600080fd5b506103dc610d6b565b3480156104a357600080fd5b506104366104b23660046130a7565b610df9565b6104366104c53660046131cc565b610e68565b3480156104d657600080fd5b50610455611005565b3480156104eb57600080fd5b5061043661100b565b34801561050057600080fd5b5061043661105e565b34801561051557600080fd5b506104556110d0565b34801561052a57600080fd5b506104366105393660046130a7565b6110d6565b34801561054a57600080fd5b5061055e61055936600461305b565b6110f1565b6040516103be91906135bb565b34801561057757600080fd5b506103b16111fe565b34801561058c57600080fd5b50610409611207565b3480156105a157600080fd5b506103b1611216565b3480156105b657600080fd5b5061045561121f565b3480156105cb57600080fd5b506104366105da366004613285565b61122c565b3480156105eb57600080fd5b5061045561127e565b34801561060057600080fd5b5061040961060f3660046132b8565b61128b565b34801561062057600080fd5b506103b16112a6565b34801561063557600080fd5b506103b16112b6565b34801561064a57600080fd5b506103b161065936600461305b565b6112c4565b34801561066a57600080fd5b506104096112d9565b34801561067f57600080fd5b5061045561068e36600461305b565b6112e8565b34801561069f57600080fd5b5061043661132c565b3480156106b457600080fd5b50610455611377565b3480156106c957600080fd5b506104366106d8366004613325565b61137d565b3480156106e957600080fd5b50610436611432565b3480156106fe57600080fd5b506103b161070d36600461305b565b61148e565b34801561071e57600080fd5b5061073261072d3660046132b8565b6114a3565b6040516103be92919061363b565b34801561074c57600080fd5b506104096115dd565b34801561076157600080fd5b50610436610770366004613285565b6115ec565b34801561078157600080fd5b506104366107903660046132b8565b611672565b3480156107a157600080fd5b506104366107b0366004613285565b6116d5565b3480156107c157600080fd5b506103dc611727565b3480156107d657600080fd5b50610455611736565b3480156107eb57600080fd5b506104366107fa366004613148565b61173c565b34801561080b57600080fd5b5061043661174e565b34801561082057600080fd5b5061073261082f3660046132b8565b6117fa565b34801561084057600080fd5b5061043661084f3660046130e2565b611926565b34801561086057600080fd5b5061043661086f3660046132d0565b61199c565b34801561088057600080fd5b50610436611c0e565b34801561089557600080fd5b5061055e6108a436600461319a565b611ce8565b3480156108b557600080fd5b506103dc6108c43660046132b8565b611dfc565b3480156108d557600080fd5b506104366108e4366004613346565b611e86565b3480156108f557600080fd5b50610455612114565b34801561090a57600080fd5b506104366109193660046132d0565b61211a565b34801561092a57600080fd5b506103dc612296565b34801561093f57600080fd5b506104366122a5565b34801561095457600080fd5b506103dc612314565b34801561096957600080fd5b506103b1610978366004613075565b612323565b34801561098957600080fd5b50610455612351565b34801561099e57600080fd5b50610455612357565b3480156109b357600080fd5b506104366109c236600461305b565b61235d565b60006001600160e01b031982167f80ac58cd000000000000000000000000000000000000000000000000000000001480610a2a57506001600160e01b031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b80610a395750610a39826123cb565b90505b919050565b606060008054610a509061420e565b80601f0160208091040260200160405190810160405280929190818152602001828054610a7c9061420e565b8015610ac95780601f10610a9e57610100808354040283529160200191610ac9565b820191906000526020600020905b815481529060010190602001808311610aac57829003601f168201915b5050505050905090565b6000610ade826123fd565b610b035760405162461bcd60e51b8152600401610afa90613d6b565b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b6000610b2a8261241a565b9050806001600160a01b0316836001600160a01b03161415610b5e5760405162461bcd60e51b8152600401610afa90613edd565b806001600160a01b0316610b7061244f565b6001600160a01b03161480610b8c5750610b8c8161097861244f565b610ba85760405162461bcd60e51b8152600401610afa90613b12565b610bb28383612453565b505050565b600c54610100900460ff16610bde5760405162461bcd60e51b8152600401610afa906136a0565b600d54421015610c005760405162461bcd60e51b8152600401610afa90613982565b3360009081526011602052604090205460ff1615610c305760405162461bcd60e51b8152600401610afa906138b7565b600a5460095410610c535760405162461bcd60e51b8152600401610afa906138ee565b34600e5414610c745760405162461bcd60e51b8152600401610afa90613a4d565b323314610c935760405162461bcd60e51b8152600401610afa90613e49565b610c9c336124c1565b15610cb95760405162461bcd60e51b8152600401610afa90613f3a565b336000818152601160205260409020805460ff19166001908117909155600954610ced9291610ce89190614180565b6124c7565b60098054906000610cfd83614243565b9190505550565b60095490565b610d1261244f565b6001600160a01b0316610d236115dd565b6001600160a01b031614610d495760405162461bcd60e51b8152600401610afa90613db7565b601780546001600160a01b0319166001600160a01b0392909216919091179055565b60148054610d789061420e565b80601f0160208091040260200160405190810160405280929190818152602001828054610da49061420e565b8015610df15780601f10610dc657610100808354040283529160200191610df1565b820191906000526020600020905b815481529060010190602001808311610dd457829003601f168201915b505050505081565b601754604051636918579d60e11b81526001600160a01b039091169063d230af3a90610e2b908690869060040161352b565b600060405180830381600087803b158015610e4557600080fd5b505af1158015610e59573d6000803e3d6000fd5b50505050610bb28383836124e1565b600c5460ff16610e8a5760405162461bcd60e51b8152600401610afa90613bcc565b600a5484600954610e9b9190614180565b1115610eb95760405162461bcd60e51b8152600401610afa906138ee565b3360009081526010602052604090205460ff1615610ee95760405162461bcd60e51b8152600401610afa906138b7565b323314610f085760405162461bcd60e51b8152600401610afa90613e49565b610f4f8533868686604051602001610f2495949392919061339d565b60408051601f198184030181529190528051602090910120600f5483906001600160a01b0316612519565b610f6b5760405162461bcd60e51b8152600401610afa90614099565b8115610f9d573484600e54610f8091906141ac565b14610f9d5760405162461bcd60e51b8152600401610afa90613a4d565b336000908152601060205260409020805460ff191660019081179091555b848111610ffd57610fd5336009546001610ce89190614180565b60098054906000610fe583614243565b91905055508080610ff590614243565b915050610fbb565b505050505050565b600a5481565b61101361244f565b6001600160a01b03166110246115dd565b6001600160a01b03161461104a5760405162461bcd60e51b8152600401610afa90613db7565b600c805460ff19811660ff90911615179055565b61106661244f565b6001600160a01b03166110776115dd565b6001600160a01b03161461109d5760405162461bcd60e51b8152600401610afa90613db7565b6040514790339082156108fc029083906000818181858888f193505050501580156110cc573d6000803e3d6000fd5b5050565b600b5481565b610bb283838360405180602001604052806000815250611926565b606060006110fe836112e8565b90508061111b575050604080516000815260208101909152610a3c565b60008167ffffffffffffffff81111561114457634e487b7160e01b600052604160045260246000fd5b60405190808252806020026020018201604052801561116d578160200160208202803683370190505b5090506000805b6007548110156111ec576111878161128b565b6001600160a01b0316866001600160a01b031614156111da57808383815181106111c157634e487b7160e01b600052603260045260246000fd5b6020908102919091010152816111d681614243565b9250505b806111e481614243565b915050611174565b50819350505050610a3c565b50919050565b60135460ff1681565b600f546001600160a01b031681565b600c5460ff1681565b6802b5e3af16b188000081565b61123461244f565b6001600160a01b03166112456115dd565b6001600160a01b03161461126b5760405162461bcd60e51b8152600401610afa90613db7565b80516110cc906015906020840190612f1a565b6828a857425466f8000081565b6000908152600260205260409020546001600160a01b031690565b601754600160a01b900460ff1681565b600c54610100900460ff1681565b60116020526000908152604090205460ff1681565b6017546001600160a01b031681565b60006001600160a01b0382166113105760405162461bcd60e51b8152600401610afa90613c03565b506001600160a01b031660009081526003602052604090205490565b61133461244f565b6001600160a01b03166113456115dd565b6001600160a01b03161461136b5760405162461bcd60e51b8152600401610afa90613db7565b611375600061254a565b565b60095481565b81336113888261128b565b6001600160a01b0316146113ae5760405162461bcd60e51b8152600401610afa90613fdf565b6017546040517f0c51b88f0000000000000000000000000000000000000000000000000000000081526001600160a01b0390911690630c51b88f906113fb9033908790879060040161359a565b600060405180830381600087803b15801561141557600080fd5b505af1158015611429573d6000803e3d6000fd5b50505050505050565b61143a61244f565b6001600160a01b031661144b6115dd565b6001600160a01b0316146114715760405162461bcd60e51b8152600401610afa90613db7565b600c805461ff001981166101009182900460ff1615909102179055565b60106020526000908152604090205460ff1681565b600081815260186020526040902080546060918291600182019082906114c89061420e565b80601f01602080910402602001604051908101604052809291908181526020018280546114f49061420e565b80156115415780601f1061151657610100808354040283529160200191611541565b820191906000526020600020905b81548152906001019060200180831161152457829003601f168201915b505050505091508080546115549061420e565b80601f01602080910402602001604051908101604052809291908181526020018280546115809061420e565b80156115cd5780601f106115a2576101008083540402835291602001916115cd565b820191906000526020600020905b8154815290600101906020018083116115b057829003601f168201915b5050505050905091509150915091565b6006546001600160a01b031690565b6115f461244f565b6001600160a01b03166116056115dd565b6001600160a01b03161461162b5760405162461bcd60e51b8152600401610afa90613db7565b60135460ff161561164e5760405162461bcd60e51b8152600401610afa9061394b565b8051611661906014906020840190612f1a565b50506013805460ff19166001179055565b61167a61244f565b6001600160a01b031661168b6115dd565b6001600160a01b0316146116b15760405162461bcd60e51b8152600401610afa90613db7565b60646116c582670de0b6b3a76400006141ac565b6116cf9190614198565b600e5550565b6116dd61244f565b6001600160a01b03166116ee6115dd565b6001600160a01b0316146117145760405162461bcd60e51b8152600401610afa90613db7565b80516110cc906016906020840190612f1a565b606060018054610a509061420e565b600e5481565b6110cc61174761244f565b838361259c565b61175661244f565b6001600160a01b03166117676115dd565b6001600160a01b03161461178d5760405162461bcd60e51b8152600401610afa90613db7565b600854600954106117b05760405162461bcd60e51b8152600401610afa90613fa8565b60015b60085481116117f7576117cf336009546001610ce89190614180565b600980549060006117df83614243565b919050555080806117ef90614243565b9150506117b3565b50565b6018602052600090815260409020805481906118159061420e565b80601f01602080910402602001604051908101604052809291908181526020018280546118419061420e565b801561188e5780601f106118635761010080835404028352916020019161188e565b820191906000526020600020905b81548152906001019060200180831161187157829003601f168201915b5050505050908060010180546118a39061420e565b80601f01602080910402602001604051908101604052809291908181526020018280546118cf9061420e565b801561191c5780601f106118f15761010080835404028352916020019161191c565b820191906000526020600020905b8154815290600101906020018083116118ff57829003601f168201915b5050505050905082565b601754604051636918579d60e11b81526001600160a01b039091169063d230af3a90611958908790879060040161352b565b600060405180830381600087803b15801561197257600080fd5b505af1158015611986573d6000803e3d6000fd5b505050506119968484848461263f565b50505050565b82336119a78261128b565b6001600160a01b0316146119cd5760405162461bcd60e51b8152600401610afa90613fdf565b82518390158015906119e0575060198151105b6119fc5760405162461bcd60e51b8152600401610afa90613f71565b600085815260186020526040908190209051600291611a1a9161341c565b602060405180830381855afa158015611a37573d6000803e3d6000fd5b5050506040513d601f19601f82011682018060405250810190611a5a9190613235565b600282604051611a6a9190613400565b602060405180830381855afa158015611a87573d6000803e3d6000fd5b5050506040513d601f19601f82011682018060405250810190611aaa9190613235565b1415611ac85760405162461bcd60e51b8152600401610afa90614107565b8215611b4057601754604051632770a7eb60e21b81526001600160a01b0390911690639dc29fac90611b099033906802b5e3af16b188000090600401613581565b600060405180830381600087803b158015611b2357600080fd5b505af1158015611b37573d6000803e3d6000fd5b50505050611bae565b601754604051631a60d47560e21b81526001600160a01b039091169063698351d490611b7b9033906802b5e3af16b188000090600401613581565b600060405180830381600087803b158015611b9557600080fd5b505af1158015611ba9573d6000803e3d6000fd5b505050505b60008581526018602090815260409091208551611bcd92870190612f1a565b507f8edfa912e70e283a8ef6d6f52cd1faef9690ff989eff2f11a134e8478ba7b28b8585604051611bff929190614145565b60405180910390a15050505050565b611c1661244f565b6001600160a01b0316611c276115dd565b6001600160a01b031614611c4d5760405162461bcd60e51b8152600401610afa90613db7565b60125461271014611c705760405162461bcd60e51b8152600401610afa90613cbd565b60135460ff161515600114611c975760405162461bcd60e51b8152600401610afa9061385a565b6000611ca46001436141cb565b404144604051602001611cb9939291906133d8565b6040516020818303038152906040528051906020012060001c9050600a5481611ce2919061425e565b60125550565b60606000611cf5856112e8565b905080611d12575050604080516000815260208101909152611df5565b60008167ffffffffffffffff811115611d3b57634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015611d64578160200160208202803683370190505b5090506000855b85811015611dee5783821415611d8057611dee565b876001600160a01b0316611d938261128b565b6001600160a01b03161415611ddc5780838381518110611dc357634e487b7160e01b600052603260045260246000fd5b602090810291909101015281611dd881614243565b9250505b80611de681614243565b915050611d6b565b5090925050505b9392505050565b600854606090829081118015611e145750600a548311155b15611e4d57601254611e269084614180565b905060125461271014611e4d57600a54811115611e4d57600a54611e4a90826141cb565b90505b611e55612678565b611e5e82612687565b604051602001611e6f9291906134b7565b604051602081830303815290604052915050919050565b8233611e918261128b565b6001600160a01b031614611eb75760405162461bcd60e51b8152600401610afa90613fdf565b8233611ec28261128b565b6001600160a01b031614611ee85760405162461bcd60e51b8152600401610afa90613fdf565b601754600160a01b900460ff16611f115760405162461bcd60e51b8152600401610afa906140d0565b60075460095410611f345760405162461bcd60e51b8152600401610afa90613e80565b600a54611f42906001614180565b85108015611f5c5750600a54611f59906001614180565b84105b611f785760405162461bcd60e51b8152600401610afa90613b6f565b83851415611f985760405162461bcd60e51b8152600401610afa90613734565b821561201057601754604051632770a7eb60e21b81526001600160a01b0390911690639dc29fac90611fd99033906828a857425466f8000090600401613581565b600060405180830381600087803b158015611ff357600080fd5b505af1158015612007573d6000803e3d6000fd5b5050505061207e565b601754604051631a60d47560e21b81526001600160a01b039091169063698351d49061204b9033906828a857425466f8000090600401613581565b600060405180830381600087803b15801561206557600080fd5b505af1158015612079573d6000803e3d6000fd5b505050505b6000600b54600a546120909190614180565b61209b906001614180565b600b805491925060006120ad83614243565b91905055506120bc33826124c7565b600980549060006120cc83614243565b91905055507f22cf1f855dfd221844ddf0c2f919ba7b890433573939261c880e78559c3d09d38187876040516121049392919061415e565b60405180910390a1505050505050565b60075481565b82336121258261128b565b6001600160a01b03161461214b5760405162461bcd60e51b8152600401610afa90613fdf565b81156121c357601754604051632770a7eb60e21b81526001600160a01b0390911690639dc29fac9061218c9033906802b5e3af16b188000090600401613581565b600060405180830381600087803b1580156121a657600080fd5b505af11580156121ba573d6000803e3d6000fd5b50505050612231565b601754604051631a60d47560e21b81526001600160a01b039091169063698351d4906121fe9033906802b5e3af16b188000090600401613581565b600060405180830381600087803b15801561221857600080fd5b505af115801561222c573d6000803e3d6000fd5b505050505b6000848152601860209081526040909120845161225692600190920191860190612f1a565b507fb5d3e30019a90e2b35059d238ddbac8259a3d65d9a4f47395d713901d17cc1128484604051612288929190614145565b60405180910390a150505050565b606060148054610a509061420e565b6122ad61244f565b6001600160a01b03166122be6115dd565b6001600160a01b0316146122e45760405162461bcd60e51b8152600401610afa90613db7565b601780547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff16600160a01b179055565b606060168054610a509061420e565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b60125490565b600d5481565b61236561244f565b6001600160a01b03166123766115dd565b6001600160a01b03161461239c5760405162461bcd60e51b8152600401610afa90613db7565b6001600160a01b0381166123c25760405162461bcd60e51b8152600401610afa906137c6565b6117f78161254a565b6001600160e01b031981167f01ffc9a70000000000000000000000000000000000000000000000000000000014919050565b6000908152600260205260409020546001600160a01b0316151590565b6000818152600260205260408120546001600160a01b031680610a395760405162461bcd60e51b8152600401610afa90613c60565b3390565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906124888261241a565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b3b151590565b6110cc8282604051806020016040528060008152506127de565b6124f26124ec61244f565b82612811565b61250e5760405162461bcd60e51b8152600401610afa9061403c565b610bb283838361288e565b6000816001600160a01b031661253884612532876129bb565b906129eb565b6001600160a01b031614949350505050565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b031614156125ce5760405162461bcd60e51b8152600401610afa90613a16565b6001600160a01b0383811660008181526005602090815260408083209487168084529490915290819020805460ff1916851515179055517f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31906126329085906135ff565b60405180910390a3505050565b61265061264a61244f565b83612811565b61266c5760405162461bcd60e51b8152600401610afa9061403c565b61199684848484612a0f565b606060158054610a509061420e565b6060816126c8575060408051808201909152600181527f30000000000000000000000000000000000000000000000000000000000000006020820152610a3c565b8160005b81156126f257806126dc81614243565b91506126eb9050600a83614198565b91506126cc565b60008167ffffffffffffffff81111561271b57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612745576020820181803683370190505b5090505b84156127d65761275a6001836141cb565b9150612767600a8661425e565b612772906030614180565b60f81b81838151811061279557634e487b7160e01b600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506127cf600a86614198565b9450612749565b949350505050565b6127e88383612a42565b6127f56000848484612b21565b610bb25760405162461bcd60e51b8152600401610afa90613769565b600061281c826123fd565b6128385760405162461bcd60e51b8152600401610afa90613ac6565b60006128438361241a565b9050806001600160a01b0316846001600160a01b0316148061287e5750836001600160a01b031661287384610ad3565b6001600160a01b0316145b806127d657506127d68185612323565b826001600160a01b03166128a18261241a565b6001600160a01b0316146128c75760405162461bcd60e51b8152600401610afa90613dec565b6001600160a01b0382166128ed5760405162461bcd60e51b8152600401610afa906139b9565b6128f8838383610bb2565b612903600082612453565b6001600160a01b038316600090815260036020526040812080546001929061292c9084906141cb565b90915550506001600160a01b038216600090815260036020526040812080546001929061295a908490614180565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6000816040516020016129ce91906134e6565b604051602081830303815290604052805190602001209050919050565b60008060006129fa8585612c55565b91509150612a0781612cc5565b509392505050565b612a1a84848461288e565b612a2684848484612b21565b6119965760405162461bcd60e51b8152600401610afa90613769565b6001600160a01b038216612a685760405162461bcd60e51b8152600401610afa90613d36565b612a71816123fd565b15612a8e5760405162461bcd60e51b8152600401610afa90613823565b612a9a60008383610bb2565b6001600160a01b0382166000908152600360205260408120805460019290612ac3908490614180565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6000612b35846001600160a01b03166124c1565b15612c4a57836001600160a01b031663150b7a02612b5161244f565b8786866040518563ffffffff1660e01b8152600401612b739493929190613545565b602060405180830381600087803b158015612b8d57600080fd5b505af1925050508015612bbd575060408051601f3d908101601f19168201909252612bba91810190613269565b60015b612c17573d808015612beb576040519150601f19603f3d011682016040523d82523d6000602084013e612bf0565b606091505b508051612c0f5760405162461bcd60e51b8152600401610afa90613769565b805181602001fd5b6001600160e01b0319167f150b7a02000000000000000000000000000000000000000000000000000000001490506127d6565b506001949350505050565b600080825160411415612c8c5760208301516040840151606085015160001a612c8087828585612df2565b94509450505050612cbe565b825160401415612cb65760208301516040840151612cab868383612ed2565b935093505050612cbe565b506000905060025b9250929050565b6000816004811115612ce757634e487b7160e01b600052602160045260246000fd5b1415612cf2576117f7565b6001816004811115612d1457634e487b7160e01b600052602160045260246000fd5b1415612d325760405162461bcd60e51b8152600401610afa90613669565b6002816004811115612d5457634e487b7160e01b600052602160045260246000fd5b1415612d725760405162461bcd60e51b8152600401610afa906136fd565b6003816004811115612d9457634e487b7160e01b600052602160045260246000fd5b1415612db25760405162461bcd60e51b8152600401610afa90613a84565b6004816004811115612dd457634e487b7160e01b600052602160045260246000fd5b14156117f75760405162461bcd60e51b8152600401610afa90613cf4565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0831115612e295750600090506003612ec9565b8460ff16601b14158015612e4157508460ff16601c14155b15612e525750600090506004612ec9565b600060018787878760405160008152602001604052604051612e77949392919061360a565b6020604051602081039080840390855afa158015612e99573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116612ec257600060019250925050612ec9565b9150600090505b94509492505050565b6000807f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff831660ff84901c601b01612f0c87828885612df2565b935093505050935093915050565b828054612f269061420e565b90600052602060002090601f016020900481019282612f485760008555612f8e565b82601f10612f6157805160ff1916838001178555612f8e565b82800160010185558215612f8e579182015b82811115612f8e578251825591602001919060010190612f73565b50612f9a929150612f9e565b5090565b5b80821115612f9a5760008155600101612f9f565b80356001600160a01b0381168114610a3c57600080fd5b80358015158114610a3c57600080fd5b600082601f830112612fea578081fd5b813567ffffffffffffffff808211156130055761300561429e565b604051601f8301601f1916810160200182811182821017156130295761302961429e565b604052828152848301602001861015613040578384fd5b82602086016020830137918201602001929092529392505050565b60006020828403121561306c578081fd5b611df582612fb3565b60008060408385031215613087578081fd5b61309083612fb3565b915061309e60208401612fb3565b90509250929050565b6000806000606084860312156130bb578081fd5b6130c484612fb3565b92506130d260208501612fb3565b9150604084013590509250925092565b600080600080608085870312156130f7578081fd5b61310085612fb3565b935061310e60208601612fb3565b925060408501359150606085013567ffffffffffffffff811115613130578182fd5b61313c87828801612fda565b91505092959194509250565b6000806040838503121561315a578182fd5b61316383612fb3565b915061309e60208401612fca565b60008060408385031215613183578182fd5b61318c83612fb3565b946020939093013593505050565b6000806000606084860312156131ae578283fd5b6131b784612fb3565b95602085013595506040909401359392505050565b600080600080600060a086880312156131e3578081fd5b6131ec86612fb3565b9450602086013593506040860135925060608601359150608086013567ffffffffffffffff81111561321c578182fd5b61322888828901612fda565b9150509295509295909350565b600060208284031215613246578081fd5b5051919050565b60006020828403121561325e578081fd5b8135611df5816142b4565b60006020828403121561327a578081fd5b8151611df5816142b4565b600060208284031215613296578081fd5b813567ffffffffffffffff8111156132ac578182fd5b6127d684828501612fda565b6000602082840312156132c9578081fd5b5035919050565b6000806000606084860312156132e4578081fd5b83359250602084013567ffffffffffffffff811115613301578182fd5b61330d86828701612fda565b92505061331c60408501612fca565b90509250925092565b60008060408385031215613337578182fd5b50508035926020909101359150565b60008060006060848603121561335a578081fd5b833592506020840135915061331c60408501612fca565b600081518084526133898160208601602086016141e2565b601f01601f19169290920160200192915050565b6bffffffffffffffffffffffff19606096871b811682529490951b909316601485015260288401919091526048830152606882015260880190565b92835260609190911b6bffffffffffffffffffffffff19166020830152603482015260540190565b600082516134128184602087016141e2565b9190910192915050565b815460009081906002810460018083168061343857607f831692505b602080841082141561345857634e487b7160e01b87526022600452602487fd5b81801561346c576001811461347d576134a9565b60ff198616895284890196506134a9565b6134868a614174565b885b868110156134a15781548b820152908501908301613488565b505084890196505b509498975050505050505050565b600083516134c98184602088016141e2565b8351908301906134dd8183602088016141e2565b01949350505050565b7f19457468657265756d205369676e6564204d6573736167653a0a3332000000008152601c810191909152603c0190565b6001600160a01b0391909116815260200190565b6001600160a01b0392831681529116602082015260400190565b60006001600160a01b038087168352808616602084015250836040830152608060608301526135776080830184613371565b9695505050505050565b6001600160a01b03929092168252602082015260400190565b6001600160a01b039390931683526020830191909152604082015260600190565b6020808252825182820181905260009190848201906040850190845b818110156135f3578351835292840192918401916001016135d7565b50909695505050505050565b901515815260200190565b93845260ff9290921660208401526040830152606082015260800190565b600060208252611df56020830184613371565b60006040825261364e6040830185613371565b82810360208401526136608185613371565b95945050505050565b60208082526018908201527f45434453413a20696e76616c6964207369676e61747572650000000000000000604082015260600190565b60208082526022908201527f5075626c69632073616c65206d7573742062652061637469766520746f206d6960408201527f6e74000000000000000000000000000000000000000000000000000000000000606082015260800190565b6020808252601f908201527f45434453413a20696e76616c6964207369676e6174757265206c656e67746800604082015260600190565b6020808252818101527f4d7573742073656c6563742074776f20756e697175652073756d6d6f6e657273604082015260600190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527f63656976657220696d706c656d656e7465720000000000000000000000000000606082015260800190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201527f6464726573730000000000000000000000000000000000000000000000000000606082015260800190565b6020808252601c908201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604082015260600190565b6020808252602c908201527f4d65726b656c726f6f742068617368206f66206d65746164617461206861732060408201527f6e6f74206265656e207365740000000000000000000000000000000000000000606082015260800190565b60208082526017908201527f596f75206861766520616c7265616479206d696e746564000000000000000000604082015260600190565b60208082526037908201527f507572636861736520776f756c6420657863656564206d617820737570706c7960408201527f206f662047656e6573697320416476656e747572657273000000000000000000606082015260800190565b60208082526015908201527f4d65726b656c20697320616c7265616479207365740000000000000000000000604082015260600190565b6020808252601b908201527f5075626c69632073616c6520686173206e6f7420737461727465640000000000604082015260600190565b60208082526024908201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460408201527f7265737300000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526019908201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604082015260600190565b6020808252601f908201527f45746865722076616c75652073656e74206973206e6f7420636f727265637400604082015260600190565b60208082526022908201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604082015261756560f01b606082015260800190565b6020808252602c908201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b60208082526038908201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760408201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606082015260800190565b60208082526034908201527f43616e6e6f742073756d6d6f6e20612067656e65726174696f6e20776974682060408201527f7468652073616d652067656e65726174696f6e2e000000000000000000000000606082015260800190565b6020808252601e908201527f50726573616c65206d7573742062652061637469766520746f206d696e740000604082015260600190565b6020808252602a908201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560408201527f726f206164647265737300000000000000000000000000000000000000000000606082015260800190565b60208082526029908201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460408201527f656e7420746f6b656e0000000000000000000000000000000000000000000000606082015260800190565b6020808252601a908201527f4f666673657420616c72656164792072616e646f6d697365642e000000000000604082015260600190565b60208082526022908201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604082015261756560f01b606082015260800190565b6020808252818101527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604082015260600190565b6020808252602c908201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526029908201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960408201527f73206e6f74206f776e0000000000000000000000000000000000000000000000606082015260800190565b60208082526015908201527f436f6e747261637473206e6f7420616c6c6f7765640000000000000000000000604082015260600190565b60208082526022908201527f43616e6e6f742073756d6d6f6e20616e79206d6f726520616476656e7475726560408201527f7273000000000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526021908201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560408201527f7200000000000000000000000000000000000000000000000000000000000000606082015260800190565b6020808252601b908201527f43616e6e6f74206d696e742066726f6d206120636f6e74726163740000000000604082015260600190565b60208082526013908201527f496e76616c6964206e616d65206c656e67746800000000000000000000000000604082015260600190565b6020808252601b908201527f4c6567656e64617269657320616c7265616479206d696e7465642e0000000000604082015260600190565b60208082526031908201527f43616e6e6f7420696e746572616374207769746820616e20416476656e74757260408201527f657220796f7520646f206e6f74206f776e000000000000000000000000000000606082015260800190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60408201527f776e6572206e6f7220617070726f766564000000000000000000000000000000606082015260800190565b60208082526017908201527f5369676e617475726520776173206e6f742076616c6964000000000000000000604082015260600190565b6020808252601f908201527f47656e20322073756d6d6f6e696e67206e6f7420796574206163746976652e00604082015260600190565b6020808252818101527f4e6577206e616d652069732073616d652061732063757272656e74206e616d65604082015260600190565b90815260200190565b6000838252604060208301526127d66040830184613371565b9283526020830191909152604082015260600190565b60009081526020902090565b6000821982111561419357614193614272565b500190565b6000826141a7576141a7614288565b500490565b60008160001904831182151516156141c6576141c6614272565b500290565b6000828210156141dd576141dd614272565b500390565b60005b838110156141fd5781810151838201526020016141e5565b838111156119965750506000910152565b60028104600182168061422257607f821691505b602082108114156111f857634e487b7160e01b600052602260045260246000fd5b600060001982141561425757614257614272565b5060010190565b60008261426d5761426d614288565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b0319811681146117f757600080fdfea2646970667358221220b96bede2af7029cce33446f4cac354177f7b64984f5b61d8f033a3f2994d6cd464736f6c63430008000033

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

000000000000000000000000f2c4a41eb934fd9fc361c85566a0f9a86e465a480000000000000000000000000000000000000000000000000000000000001d4c0000000000000000000000000000000000000000000000000000000000001388000000000000000000000000000000000000000000000000000000000000000b0000000000000000000000000000000000000000000000000000000061de1a00

-----Decoded View---------------
Arg [0] : _whitelistAdmin (address): 0xf2C4A41eB934Fd9fC361C85566A0F9a86e465A48
Arg [1] : supply (uint256): 7500
Arg [2] : genCount (uint256): 5000
Arg [3] : fixCount (uint256): 11
Arg [4] : publicStart (uint256): 1641945600

-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 000000000000000000000000f2c4a41eb934fd9fc361c85566a0f9a86e465a48
Arg [1] : 0000000000000000000000000000000000000000000000000000000000001d4c
Arg [2] : 0000000000000000000000000000000000000000000000000000000000001388
Arg [3] : 000000000000000000000000000000000000000000000000000000000000000b
Arg [4] : 0000000000000000000000000000000000000000000000000000000061de1a00


Loading...
Loading
Loading...
Loading
[ 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.