ETH Price: $3,335.59 (+2.17%)
Gas: 8 Gwei

Token

Metageckos (MG)
 

Overview

Max Total Supply

660 MG

Holders

357

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
pcw84.eth
Balance
1 MG
0x5af5b3f842fbda3783c3fced36ae88e8a893848a
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
MetaGecko

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 15 : Metageckos.sol
//SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "erc721a/contracts/ERC721A.sol";

contract MetaGecko is ERC721A, Ownable {
    using Strings for uint256;

    string private baseTokenURI;
    string private notRevealedUri;
    uint256 public cost = 0.1 ether;
    uint256 public insectCost = 20 ether;
    uint256 public maxSupply = 10000;
    uint256 public maxByWallet = 4;
    bool public paused = true;
    bool public revealed = false;
    address payable private devguy = payable(0x5C3229ef0c9A4219D226dE5cA2c14C7FAA175799);

    address public insectContract;
    address public metaLezardsContract;

    mapping(uint => bool) public isBreed;
    mapping (uint => bool) public Genesis;
    mapping(address => uint) public numberMinted;

    constructor() ERC721A("Metageckos", "MG") {}

    function mintMetaGecko(uint256 _amount) public payable {
        require(!paused, "the mint is paused");
        require(totalSupply() + _amount <= maxSupply, "Sold out !");
        require(
            numberMinted[msg.sender] + _amount <= maxByWallet,
            "You have exceeded the maximum number of NFT per wallet minter with ETH"
        );
        require(msg.value >= cost * _amount, "Not enough ether sended");
        numberMinted[msg.sender] += _amount;
        _safeMint(msg.sender, _amount);
    }

    function breedMetaGecko(uint256 metaLizards1, uint256 metaLizards2) public payable {
        require(!paused, "the mint is paused");
        require(totalSupply() + 1 <= maxSupply, "Sold out !");
        require(getBalanceInsect(msg.sender) >= insectCost, "Not enough insect sended");
        require(!Genesis[metaLizards1] && !Genesis[metaLizards2], "This lizard is a genesis");
        require(metaLizards1 != metaLizards2, "You must choose 2 different lizards");
        require(!isBreed[metaLizards1] && !isBreed[metaLizards2], "this lizard has already been breed");
        require(getLezardsOwner(metaLizards1) == msg.sender && getLezardsOwner(metaLizards2) == msg.sender, "Not the owner of this Lezards");
        IERC20(insectContract).transferFrom(msg.sender, address(this), insectCost);
        isBreed[metaLizards1] = true;
        isBreed[metaLizards2] = true;
        _safeMint(msg.sender, 1);
    }

    function breedMetaGeckoGenesis(uint256 genesisId) public payable {
        require(!paused, "the mint is paused");
        require(totalSupply() + 1 <= maxSupply, "Sold out !");
        require(getBalanceInsect(msg.sender) >= insectCost, "Not enough insect sended");
        require(Genesis[genesisId], "This lizard is not a genesis");
        require(getLezardsOwner(genesisId) == msg.sender, "Not the owner of this genesis");
        require(!isBreed[genesisId], "this lizard has already been breed");
        IERC20(insectContract).transferFrom(msg.sender, address(this), insectCost);
        isBreed[genesisId] = true;
        _safeMint(msg.sender, 1);
    }

    // MetaGecko Checker (by Silver.btc)

    function getBalanceInsect(address _owner) public view returns (uint) {
        return IERC20(insectContract).balanceOf(_owner);
    }

    function getLezardsOwner(uint256 _metaLizardsID) public view returns (address) {
        return IERC721(metaLezardsContract).ownerOf(_metaLizardsID);
    }

    function checkIsBreed(uint256 _LizardsID) public view returns (bool) {
        return isBreed[_LizardsID];
    }

    function setInsectContract(address _insect) public onlyOwner {
        insectContract = _insect;
    }

    function setMetaLezardsContract(address _lezards) public onlyOwner {
        metaLezardsContract = _lezards;
    }

    function addGenesis(uint[] memory _Genesis) public onlyOwner {
        for (uint256 i = 0; i < _Genesis.length; i++) {
            Genesis[_Genesis[i]] = true;
        }
    }

    function removeGenesis(uint[] memory _Genesis) public onlyOwner {
        for (uint256 i = 0; i < _Genesis.length; i++) {
            Genesis[_Genesis[i]] = false;
        }
    }

    function addBreed(uint[] memory _lezardsId) public onlyOwner {
        for (uint256 i = 0; i < _lezardsId.length; i++) {
            isBreed[_lezardsId[i]] = true;
        }
    }

    function removeBreed(uint[] memory _lezardsId) public onlyOwner {
        for (uint256 i = 0; i < _lezardsId.length; i++) {
            isBreed[_lezardsId[i]] = false;
        }
    }

    function gift(uint256 _amount, address _to) public onlyOwner {
        require(totalSupply() + _amount <= maxSupply, "Sold out");
        _safeMint(_to, _amount);
    }

    function pause(bool _state) public onlyOwner {
        paused = _state;
    }

    function setCost(uint256 newCost) public onlyOwner {
        cost = newCost;
    }

    function setMaxByWallet(uint256 _newMaxByWallet) public onlyOwner {
        maxByWallet = _newMaxByWallet;
    }

    function setBaseURI(string memory _newBaseURI) public onlyOwner {
        baseTokenURI = _newBaseURI;
    }

    function _baseUri() internal view virtual returns (string memory) {
        return baseTokenURI;
    }

    function reveal() public onlyOwner {
        revealed = true;
    }

    function setNotRevealedURI(string memory _notRevealedURI) public onlyOwner {
        notRevealedUri = _notRevealedURI;
    }

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

        if(revealed == false) {
            return notRevealedUri;
        }

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

    function walletOfOwner(address _owner)
        external
        view
        returns (uint256[] memory)
    {
        uint256 tokenCount = balanceOf(_owner);

        uint256[] memory tokensId = new uint256[](tokenCount);
        for (uint256 i = 0; i < tokenCount; i++) {
            tokensId[i] = tokenOfOwnerByIndex(_owner, i);
        }

        return tokensId;
    }

    function withdraw() external onlyOwner {
        uint part = address(this).balance / 100 * 5;
        devguy.transfer(part);
        payable(owner()).transfer(address(this).balance);
    }

    function withdrawInsect(uint _amount) external onlyOwner {
        IERC20(insectContract).transfer(msg.sender, _amount);
    }
}

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

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/token/ERC721/extensions/IERC721Enumerable.sol';
import '@openzeppelin/contracts/utils/Address.sol';
import '@openzeppelin/contracts/utils/Context.sol';
import '@openzeppelin/contracts/utils/Strings.sol';
import '@openzeppelin/contracts/utils/introspection/ERC165.sol';

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

    struct TokenOwnership {
        address addr;
        uint64 startTimestamp;
    }

    struct AddressData {
        uint128 balance;
        uint128 numberMinted;
    }

    uint256 internal currentIndex = 0;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

    /**
     * @dev See {IERC721Enumerable-tokenByIndex}.
     */
    function tokenByIndex(uint256 index) public view override returns (uint256) {
        require(index < totalSupply(), 'ERC721A: global index out of bounds');
        return index;
    }

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     * This read function is O(totalSupply). If calling from a separate contract, be sure to test gas first.
     * It may also degrade with extremely large collection sizes (e.g >> 10000), test for your use case.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) public view override returns (uint256) {
        require(index < balanceOf(owner), 'ERC721A: owner index out of bounds');
        uint256 numMintedSoFar = totalSupply();
        uint256 tokenIdsIdx = 0;
        address currOwnershipAddr = address(0);
        for (uint256 i = 0; i < numMintedSoFar; i++) {
            TokenOwnership memory ownership = _ownerships[i];
            if (ownership.addr != address(0)) {
                currOwnershipAddr = ownership.addr;
            }
            if (currOwnershipAddr == owner) {
                if (tokenIdsIdx == index) {
                    return i;
                }
                tokenIdsIdx++;
            }
        }
        revert('ERC721A: unable to get token of owner by index');
    }

    /**
     * @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 ||
            interfaceId == type(IERC721Enumerable).interfaceId ||
            super.supportsInterface(interfaceId);
    }

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

    function _numberMinted(address owner) internal view returns (uint256) {
        require(owner != address(0), 'ERC721A: number minted query for the zero address');
        return uint256(_addressData[owner].numberMinted);
    }

    function ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) {
        require(_exists(tokenId), 'ERC721A: owner query for nonexistent token');

        for (uint256 curr = tokenId; ; curr--) {
            TokenOwnership memory ownership = _ownerships[curr];
            if (ownership.addr != address(0)) {
                return ownership;
            }
        }

        revert('ERC721A: unable to determine the owner of token');
    }

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

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

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

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        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 override {
        address owner = ERC721A.ownerOf(tokenId);
        require(to != owner, 'ERC721A: approval to current owner');

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

        _approve(to, tokenId, owner);
    }

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

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public override {
        require(operator != _msgSender(), 'ERC721A: approve to caller');

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

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

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

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

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public override {
        _transfer(from, to, tokenId);
        require(
            _checkOnERC721Received(from, to, tokenId, _data),
            'ERC721A: 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`),
     */
    function _exists(uint256 tokenId) internal view returns (bool) {
        return tokenId < currentIndex;
    }

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

    /**
     * @dev Mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `quantity` cannot be larger than the max batch size.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(
        address to,
        uint256 quantity,
        bytes memory _data
    ) internal {
        uint256 startTokenId = currentIndex;
        require(to != address(0), 'ERC721A: mint to the zero address');
        // We know if the first token in the batch doesn't exist, the other ones don't as well, because of serial ordering.
        require(!_exists(startTokenId), 'ERC721A: token already minted');
        require(quantity > 0, 'ERC721A: quantity must be greater 0');

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

        AddressData memory addressData = _addressData[to];
        _addressData[to] = AddressData(
            addressData.balance + uint128(quantity),
            addressData.numberMinted + uint128(quantity)
        );
        _ownerships[startTokenId] = TokenOwnership(to, uint64(block.timestamp));

        uint256 updatedIndex = startTokenId;

        for (uint256 i = 0; i < quantity; i++) {
            emit Transfer(address(0), to, updatedIndex);
            require(
                _checkOnERC721Received(address(0), to, updatedIndex, _data),
                'ERC721A: transfer to non ERC721Receiver implementer'
            );
            updatedIndex++;
        }

        currentIndex = updatedIndex;
        _afterTokenTransfers(address(0), to, startTokenId, quantity);
    }

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function _transfer(
        address from,
        address to,
        uint256 tokenId
    ) private {
        TokenOwnership memory prevOwnership = ownershipOf(tokenId);

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

        require(isApprovedOrOwner, 'ERC721A: transfer caller is not owner nor approved');

        require(prevOwnership.addr == from, 'ERC721A: transfer from incorrect owner');
        require(to != address(0), 'ERC721A: transfer to the zero address');

        _beforeTokenTransfers(from, to, tokenId, 1);

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

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        unchecked {
            _addressData[from].balance -= 1;
            _addressData[to].balance += 1;
        }

        _ownerships[tokenId] = TokenOwnership(to, uint64(block.timestamp));

        // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it.
        // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
        uint256 nextTokenId = tokenId + 1;
        if (_ownerships[nextTokenId].addr == address(0)) {
            if (_exists(nextTokenId)) {
                _ownerships[nextTokenId] = TokenOwnership(prevOwnership.addr, prevOwnership.startTimestamp);
            }
        }

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

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

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

    /**
     * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting.
     *
     * startTokenId - the first token id to be transferred
     * quantity - the amount to be transferred
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     */
    function _beforeTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}

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

File 3 of 15 : ERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/ERC20.sol)

pragma solidity ^0.8.0;

import "./IERC20.sol";
import "./extensions/IERC20Metadata.sol";
import "../../utils/Context.sol";

/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin Contracts guidelines: functions revert
 * instead returning `false` on failure. This behavior is nonetheless
 * conventional and does not conflict with the expectations of ERC20
 * applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20, IERC20Metadata {
    mapping(address => uint256) private _balances;

    mapping(address => mapping(address => uint256)) private _allowances;

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * The default value of {decimals} is 18. To select a different value for
     * {decimals} you should overload it.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    /**
     * @dev Returns the name of the token.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5.05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the value {ERC20} uses, unless this function is
     * overridden;
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view virtual override returns (uint8) {
        return 18;
    }

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

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view virtual override returns (uint256) {
        return _balances[account];
    }

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `recipient` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

    /**
     * @dev See {IERC20-allowance}.
     */
    function allowance(address owner, address spender) public view virtual override returns (uint256) {
        return _allowances[owner][spender];
    }

    /**
     * @dev See {IERC20-approve}.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        _approve(_msgSender(), spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * Requirements:
     *
     * - `sender` and `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     * - the caller must have allowance for ``sender``'s tokens of at least
     * `amount`.
     */
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) public virtual override returns (bool) {
        _transfer(sender, recipient, amount);

        uint256 currentAllowance = _allowances[sender][_msgSender()];
        require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance");
        unchecked {
            _approve(sender, _msgSender(), currentAllowance - amount);
        }

        return true;
    }

    /**
     * @dev Atomically increases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender] + addedValue);
        return true;
    }

    /**
     * @dev Atomically decreases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `spender` must have allowance for the caller of at least
     * `subtractedValue`.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        uint256 currentAllowance = _allowances[_msgSender()][spender];
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        unchecked {
            _approve(_msgSender(), spender, currentAllowance - subtractedValue);
        }

        return true;
    }

    /**
     * @dev Moves `amount` of tokens from `sender` to `recipient`.
     *
     * This internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * Requirements:
     *
     * - `sender` cannot be the zero address.
     * - `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     */
    function _transfer(
        address sender,
        address recipient,
        uint256 amount
    ) internal virtual {
        require(sender != address(0), "ERC20: transfer from the zero address");
        require(recipient != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(sender, recipient, amount);

        uint256 senderBalance = _balances[sender];
        require(senderBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[sender] = senderBalance - amount;
        }
        _balances[recipient] += amount;

        emit Transfer(sender, recipient, amount);

        _afterTokenTransfer(sender, recipient, amount);
    }

    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

        _beforeTokenTransfer(address(0), account, amount);

        _totalSupply += amount;
        _balances[account] += amount;
        emit Transfer(address(0), account, amount);

        _afterTokenTransfer(address(0), account, amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, reducing the
     * total supply.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
     */
    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: burn from the zero address");

        _beforeTokenTransfer(account, address(0), amount);

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        unchecked {
            _balances[account] = accountBalance - amount;
        }
        _totalSupply -= amount;

        emit Transfer(account, address(0), amount);

        _afterTokenTransfer(account, address(0), amount);
    }

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
     *
     * This internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     */
    function _approve(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

    /**
     * @dev Hook that is called before any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * will be transferred to `to`.
     * - when `from` is zero, `amount` tokens will be minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens 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 amount
    ) internal virtual {}

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * has been transferred to `to`.
     * - when `from` is zero, `amount` tokens have been minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens have been 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 _afterTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 9 of 15 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Enumerable.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 11 of 15 : 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 12 of 15 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

File 13 of 15 : IERC20Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC20.sol";

/**
 * @dev Interface for the optional metadata functions from the ERC20 standard.
 *
 * _Available since v4.1._
 */
interface IERC20Metadata is IERC20 {
    /**
     * @dev Returns the name of the token.
     */
    function name() external view returns (string memory);

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

    /**
     * @dev Returns the decimals places of the token.
     */
    function decimals() external view returns (uint8);
}

File 14 of 15 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":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":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"Genesis","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_lezardsId","type":"uint256[]"}],"name":"addBreed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_Genesis","type":"uint256[]"}],"name":"addGenesis","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"metaLizards1","type":"uint256"},{"internalType":"uint256","name":"metaLizards2","type":"uint256"}],"name":"breedMetaGecko","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"genesisId","type":"uint256"}],"name":"breedMetaGeckoGenesis","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_LizardsID","type":"uint256"}],"name":"checkIsBreed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"getBalanceInsect","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_metaLizardsID","type":"uint256"}],"name":"getLezardsOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"address","name":"_to","type":"address"}],"name":"gift","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"insectContract","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"insectCost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"isBreed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxByWallet","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":"metaLezardsContract","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mintMetaGecko","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"numberMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_lezardsId","type":"uint256[]"}],"name":"removeBreed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_Genesis","type":"uint256[]"}],"name":"removeGenesis","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newCost","type":"uint256"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_insect","type":"address"}],"name":"setInsectContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newMaxByWallet","type":"uint256"}],"name":"setMaxByWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_lezards","type":"address"}],"name":"setMetaLezardsContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_notRevealedURI","type":"string"}],"name":"setNotRevealedURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdrawInsect","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526000805567016345785d8a0000600a556801158e460913d00000600b55612710600c556004600d55600e8054600160ff1990911617610100600160b01b031916755c3229ef0c9a4219d226de5ca2c14c7faa17579900001790553480156200006b57600080fd5b50604080518082018252600a8152694d6574616765636b6f7360b01b6020808301918252835180850190945260028452614d4760f01b908401528151919291620000b89160019162000147565b508051620000ce90600290602084019062000147565b505050620000eb620000e5620000f160201b60201c565b620000f5565b6200022a565b3390565b600780546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200015590620001ed565b90600052602060002090601f016020900481019282620001795760008555620001c4565b82601f106200019457805160ff1916838001178555620001c4565b82800160010185558215620001c4579182015b82811115620001c4578251825591602001919060010190620001a7565b50620001d2929150620001d6565b5090565b5b80821115620001d25760008155600101620001d7565b6002810460018216806200020257607f821691505b602082108114156200022457634e487b7160e01b600052602260045260246000fd5b50919050565b613706806200023a6000396000f3fe6080604052600436106102ff5760003560e01c80635c975abb11610190578063a475b5dd116100dc578063d5abeb0111610095578063f2c4ce1e1161006f578063f2c4ce1e14610884578063f2fde38b146108a4578063f50cbc99146108c4578063f5c3d307146108e4576102ff565b8063d5abeb011461082f578063dc33e68114610844578063e985e9c514610864576102ff565b8063a475b5dd14610785578063aef132af1461079a578063b242320c146107ba578063b88d4fde146107da578063c87b56dd146107fa578063cda26e3c1461081a576102ff565b806383357ba7116101495780638c5dd988116101235780638c5dd9881461071b5780638da5cb5b1461073b57806395d89b4114610750578063a22cb46514610765576102ff565b806383357ba7146106d357806383a076be146106e65780638abbdfbf14610706576102ff565b80635c975abb146106415780635ff013d1146106565780636352211e1461066b57806370a082311461068b578063715018a6146106ab57806383070174146106c0576102ff565b80632f745c591161024f578063438b6300116102085780634f6ccce7116101e25780634f6ccce7146105cc578063516a4d99146105ec578063518302271461060c57806355f804b314610621576102ff565b8063438b63001461055f57806344a0d68a1461058c57806345867a02146105ac576102ff565b80632f745c59146104b55780633194dfac146104d557806334ecc70a146104f55780633ccfd60b1461050a57806342842e0e1461051f578063437d74981461053f576102ff565b806313faede6116102bc5780632381d169116102965780632381d1691461043557806323b872dd146104555780632712d5a1146104755780632e06742114610495576102ff565b806313faede6146103de57806318160ddd146104005780631feb99e314610415576102ff565b806301ffc9a71461030457806302329a291461033a57806306fdde031461035c57806307b20aba1461037e578063081812fc14610391578063095ea7b3146103be575b600080fd5b34801561031057600080fd5b5061032461031f366004612ac5565b610904565b6040516103319190612cf5565b60405180910390f35b34801561034657600080fd5b5061035a610355366004612a8d565b610967565b005b34801561036857600080fd5b506103716109c2565b6040516103319190612d00565b61035a61038c366004612b97565b610a54565b34801561039d57600080fd5b506103b16103ac366004612b43565b610c9a565b6040516103319190612c23565b3480156103ca57600080fd5b5061035a6103d93660046129bb565b610cdd565b3480156103ea57600080fd5b506103f3610d76565b60405161033191906134e8565b34801561040c57600080fd5b506103f3610d7c565b34801561042157600080fd5b5061035a6104303660046129e6565b610d82565b34801561044157600080fd5b50610324610450366004612b43565b610e33565b34801561046157600080fd5b5061035a6104703660046128d1565b610e48565b34801561048157600080fd5b506103b1610490366004612b43565b610e53565b3480156104a157600080fd5b5061035a6104b0366004612b43565b610ed4565b3480156104c157600080fd5b506103f36104d03660046129bb565b610f18565b3480156104e157600080fd5b5061035a6104f03660046129e6565b611014565b34801561050157600080fd5b506103f36110c5565b34801561051657600080fd5b5061035a6110cb565b34801561052b57600080fd5b5061035a61053a3660046128d1565b6111a4565b34801561054b57600080fd5b5061035a61055a3660046129e6565b6111bf565b34801561056b57600080fd5b5061057f61057a366004612861565b611270565b6040516103319190612cb1565b34801561059857600080fd5b5061035a6105a7366004612b43565b61132e565b3480156105b857600080fd5b506103f36105c7366004612861565b611372565b3480156105d857600080fd5b506103f36105e7366004612b43565b6113f3565b3480156105f857600080fd5b5061035a610607366004612b43565b61141f565b34801561061857600080fd5b506103246114e2565b34801561062d57600080fd5b5061035a61063c366004612afd565b6114f0565b34801561064d57600080fd5b50610324611542565b34801561066257600080fd5b506103f361154b565b34801561067757600080fd5b506103b1610686366004612b43565b611551565b34801561069757600080fd5b506103f36106a6366004612861565b611563565b3480156106b757600080fd5b5061035a6115b0565b61035a6106ce366004612b43565b6115fb565b61035a6106e1366004612b43565b6116ed565b3480156106f257600080fd5b5061035a610701366004612b73565b6118aa565b34801561071257600080fd5b506103b1611927565b34801561072757600080fd5b50610324610736366004612b43565b611936565b34801561074757600080fd5b506103b161194b565b34801561075c57600080fd5b5061037161195a565b34801561077157600080fd5b5061035a61078036600461298e565b611969565b34801561079157600080fd5b5061035a611a37565b3480156107a657600080fd5b5061035a6107b53660046129e6565b611a87565b3480156107c657600080fd5b5061035a6107d5366004612861565b611b38565b3480156107e657600080fd5b5061035a6107f5366004612911565b611b99565b34801561080657600080fd5b50610371610815366004612b43565b611bd2565b34801561082657600080fd5b506103b1611cf6565b34801561083b57600080fd5b506103f3611d05565b34801561085057600080fd5b506103f361085f366004612861565b611d0b565b34801561087057600080fd5b5061032461087f366004612899565b611d1d565b34801561089057600080fd5b5061035a61089f366004612afd565b611d4b565b3480156108b057600080fd5b5061035a6108bf366004612861565b611d9d565b3480156108d057600080fd5b506103246108df366004612b43565b611e0b565b3480156108f057600080fd5b5061035a6108ff366004612861565b611e20565b60006001600160e01b031982166380ac58cd60e01b148061093557506001600160e01b03198216635b5e139f60e01b145b8061095057506001600160e01b0319821663780e9d6360e01b145b8061095f575061095f82611e81565b90505b919050565b61096f611e9a565b6001600160a01b031661098061194b565b6001600160a01b0316146109af5760405162461bcd60e51b81526004016109a690613153565b60405180910390fd5b600e805460ff1916911515919091179055565b6060600180546109d1906135eb565b80601f01602080910402602001604051908101604052809291908181526020018280546109fd906135eb565b8015610a4a5780601f10610a1f57610100808354040283529160200191610a4a565b820191906000526020600020905b815481529060010190602001808311610a2d57829003601f168201915b5050505050905090565b600e5460ff1615610a775760405162461bcd60e51b81526004016109a690613254565b600c54610a82610d7c565b610a8d906001613546565b1115610aab5760405162461bcd60e51b81526004016109a690613280565b600b54610ab733611372565b1015610ad55760405162461bcd60e51b81526004016109a690613464565b60008281526012602052604090205460ff16158015610b03575060008181526012602052604090205460ff16155b610b1f5760405162461bcd60e51b81526004016109a690612d8c565b80821415610b3f5760405162461bcd60e51b81526004016109a690613211565b60008281526011602052604090205460ff16158015610b6d575060008181526011602052604090205460ff16155b610b895760405162461bcd60e51b81526004016109a690612f12565b33610b9383610e53565b6001600160a01b0316148015610bb9575033610bae82610e53565b6001600160a01b0316145b610bd55760405162461bcd60e51b81526004016109a690612d55565b600f54600b546040516323b872dd60e01b81526001600160a01b03909216916323b872dd91610c0a9133913091600401612c37565b602060405180830381600087803b158015610c2457600080fd5b505af1158015610c38573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c5c9190612aa9565b506000828152601160205260408082208054600160ff19918216811790925584845291909220805490911682179055610c96903390611e9e565b5050565b6000610ca582611eb8565b610cc15760405162461bcd60e51b81526004016109a69061349b565b506000908152600560205260409020546001600160a01b031690565b6000610ce882611551565b9050806001600160a01b0316836001600160a01b03161415610d1c5760405162461bcd60e51b81526004016109a6906132a4565b806001600160a01b0316610d2e611e9a565b6001600160a01b03161480610d4a5750610d4a8161087f611e9a565b610d665760405162461bcd60e51b81526004016109a69061302e565b610d71838383611ebf565b505050565b600a5481565b60005490565b610d8a611e9a565b6001600160a01b0316610d9b61194b565b6001600160a01b031614610dc15760405162461bcd60e51b81526004016109a690613153565b60005b8151811015610c9657600160126000848481518110610df357634e487b7160e01b600052603260045260246000fd5b6020026020010151815260200190815260200160002060006101000a81548160ff0219169083151502179055508080610e2b90613626565b915050610dc4565b60126020526000908152604090205460ff1681565b610d71838383611f1b565b6010546040516331a9108f60e11b81526000916001600160a01b031690636352211e90610e849085906004016134e8565b60206040518083038186803b158015610e9c57600080fd5b505afa158015610eb0573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061095f919061287d565b610edc611e9a565b6001600160a01b0316610eed61194b565b6001600160a01b031614610f135760405162461bcd60e51b81526004016109a690613153565b600d55565b6000610f2383611563565b8210610f415760405162461bcd60e51b81526004016109a690612d13565b6000610f4b610d7c565b905060008060005b83811015610ff5576000818152600360209081526040918290208251808401909352546001600160a01b038116808452600160a01b90910467ffffffffffffffff169183019190915215610fa657805192505b876001600160a01b0316836001600160a01b03161415610fe25786841415610fd45750935061100e92505050565b83610fde81613626565b9450505b5080610fed81613626565b915050610f53565b5060405162461bcd60e51b81526004016109a690613416565b92915050565b61101c611e9a565b6001600160a01b031661102d61194b565b6001600160a01b0316146110535760405162461bcd60e51b81526004016109a690613153565b60005b8151811015610c965760006011600084848151811061108557634e487b7160e01b600052603260045260246000fd5b6020026020010151815260200190815260200160002060006101000a81548160ff02191690831515021790555080806110bd90613626565b915050611056565b600d5481565b6110d3611e9a565b6001600160a01b03166110e461194b565b6001600160a01b03161461110a5760405162461bcd60e51b81526004016109a690613153565b600061111760644761355e565b611122906005613572565b600e546040519192506201000090046001600160a01b0316906108fc8315029083906000818181858888f19350505050158015611163573d6000803e3d6000fd5b5061116c61194b565b6001600160a01b03166108fc479081150290604051600060405180830381858888f19350505050158015610c96573d6000803e3d6000fd5b610d7183838360405180602001604052806000815250611b99565b6111c7611e9a565b6001600160a01b03166111d861194b565b6001600160a01b0316146111fe5760405162461bcd60e51b81526004016109a690613153565b60005b8151811015610c965760016011600084848151811061123057634e487b7160e01b600052603260045260246000fd5b6020026020010151815260200190815260200160002060006101000a81548160ff021916908315150217905550808061126890613626565b915050611201565b6060600061127d83611563565b905060008167ffffffffffffffff8111156112a857634e487b7160e01b600052604160045260246000fd5b6040519080825280602002602001820160405280156112d1578160200160208202803683370190505b50905060005b82811015611326576112e98582610f18565b82828151811061130957634e487b7160e01b600052603260045260246000fd5b60209081029190910101528061131e81613626565b9150506112d7565b509392505050565b611336611e9a565b6001600160a01b031661134761194b565b6001600160a01b03161461136d5760405162461bcd60e51b81526004016109a690613153565b600a55565b600f546040516370a0823160e01b81526000916001600160a01b0316906370a08231906113a3908590600401612c23565b60206040518083038186803b1580156113bb57600080fd5b505afa1580156113cf573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061095f9190612b5b565b60006113fd610d7c565b821061141b5760405162461bcd60e51b81526004016109a690612e8a565b5090565b611427611e9a565b6001600160a01b031661143861194b565b6001600160a01b03161461145e5760405162461bcd60e51b81526004016109a690613153565b600f5460405163a9059cbb60e01b81526001600160a01b039091169063a9059cbb906114909033908590600401612c98565b602060405180830381600087803b1580156114aa57600080fd5b505af11580156114be573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c969190612aa9565b600e54610100900460ff1681565b6114f8611e9a565b6001600160a01b031661150961194b565b6001600160a01b03161461152f5760405162461bcd60e51b81526004016109a690613153565b8051610c9690600890602084019061275d565b600e5460ff1681565b600b5481565b600061155c826121e4565b5192915050565b60006001600160a01b03821661158b5760405162461bcd60e51b81526004016109a69061308b565b506001600160a01b03166000908152600460205260409020546001600160801b031690565b6115b8611e9a565b6001600160a01b03166115c961194b565b6001600160a01b0316146115ef5760405162461bcd60e51b81526004016109a690613153565b6115f96000612275565b565b600e5460ff161561161e5760405162461bcd60e51b81526004016109a690613254565b600c548161162a610d7c565b6116349190613546565b11156116525760405162461bcd60e51b81526004016109a690613280565b600d5433600090815260136020526040902054611670908390613546565b111561168e5760405162461bcd60e51b81526004016109a690612f54565b80600a5461169c9190613572565b3410156116bb5760405162461bcd60e51b81526004016109a6906130d6565b33600090815260136020526040812080548392906116da908490613546565b909155506116ea90503382611e9e565b50565b600e5460ff16156117105760405162461bcd60e51b81526004016109a690613254565b600c5461171b610d7c565b611726906001613546565b11156117445760405162461bcd60e51b81526004016109a690613280565b600b5461175033611372565b101561176e5760405162461bcd60e51b81526004016109a690613464565b60008181526012602052604090205460ff1661179c5760405162461bcd60e51b81526004016109a690612ff7565b336117a682610e53565b6001600160a01b0316146117cc5760405162461bcd60e51b81526004016109a690612fc0565b60008181526011602052604090205460ff16156117fb5760405162461bcd60e51b81526004016109a690612f12565b600f54600b546040516323b872dd60e01b81526001600160a01b03909216916323b872dd916118309133913091600401612c37565b602060405180830381600087803b15801561184a57600080fd5b505af115801561185e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118829190612aa9565b506000818152601160205260409020805460ff191660019081179091556116ea903390611e9e565b6118b2611e9a565b6001600160a01b03166118c361194b565b6001600160a01b0316146118e95760405162461bcd60e51b81526004016109a690613153565b600c54826118f5610d7c565b6118ff9190613546565b111561191d5760405162461bcd60e51b81526004016109a690613329565b610c968183611e9e565b600f546001600160a01b031681565b60116020526000908152604090205460ff1681565b6007546001600160a01b031690565b6060600280546109d1906135eb565b611971611e9a565b6001600160a01b0316826001600160a01b031614156119a25760405162461bcd60e51b81526004016109a690613188565b80600660006119af611e9a565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff1916921515929092179091556119f3611e9a565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611a2b9190612cf5565b60405180910390a35050565b611a3f611e9a565b6001600160a01b0316611a5061194b565b6001600160a01b031614611a765760405162461bcd60e51b81526004016109a690613153565b600e805461ff001916610100179055565b611a8f611e9a565b6001600160a01b0316611aa061194b565b6001600160a01b031614611ac65760405162461bcd60e51b81526004016109a690613153565b60005b8151811015610c9657600060126000848481518110611af857634e487b7160e01b600052603260045260246000fd5b6020026020010151815260200190815260200160002060006101000a81548160ff0219169083151502179055508080611b3090613626565b915050611ac9565b611b40611e9a565b6001600160a01b0316611b5161194b565b6001600160a01b031614611b775760405162461bcd60e51b81526004016109a690613153565b601080546001600160a01b0319166001600160a01b0392909216919091179055565b611ba4848484611f1b565b611bb0848484846122c7565b611bcc5760405162461bcd60e51b81526004016109a69061334b565b50505050565b6060611bdd82611eb8565b611bf95760405162461bcd60e51b81526004016109a690612dc3565b600e54610100900460ff16611c9a5760098054611c15906135eb565b80601f0160208091040260200160405190810160405280929190818152602001828054611c41906135eb565b8015611c8e5780601f10611c6357610100808354040283529160200191611c8e565b820191906000526020600020905b815481529060010190602001808311611c7157829003601f168201915b50505050509050610962565b6000611ca46123e3565b90506000815111611cc45760405180602001604052806000815250611cef565b80611cce846123f2565b604051602001611cdf929190612be4565b6040516020818303038152906040525b9392505050565b6010546001600160a01b031681565b600c5481565b60136020526000908152604090205481565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b611d53611e9a565b6001600160a01b0316611d6461194b565b6001600160a01b031614611d8a5760405162461bcd60e51b81526004016109a690613153565b8051610c9690600990602084019061275d565b611da5611e9a565b6001600160a01b0316611db661194b565b6001600160a01b031614611ddc5760405162461bcd60e51b81526004016109a690613153565b6001600160a01b038116611e025760405162461bcd60e51b81526004016109a690612dfa565b6116ea81612275565b60009081526011602052604090205460ff1690565b611e28611e9a565b6001600160a01b0316611e3961194b565b6001600160a01b031614611e5f5760405162461bcd60e51b81526004016109a690613153565b600f80546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160e01b031981166301ffc9a760e01b14919050565b3390565b610c9682826040518060200160405280600081525061250d565b6000541190565b60008281526005602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000611f26826121e4565b9050600081600001516001600160a01b0316611f40611e9a565b6001600160a01b03161480611f755750611f58611e9a565b6001600160a01b0316611f6a84610c9a565b6001600160a01b0316145b80611f8957508151611f899061087f611e9a565b905080611fa85760405162461bcd60e51b81526004016109a6906131bf565b846001600160a01b031682600001516001600160a01b031614611fdd5760405162461bcd60e51b81526004016109a69061310d565b6001600160a01b0384166120035760405162461bcd60e51b81526004016109a690612ecd565b6120108585856001611bcc565b6120206000848460000151611ebf565b6001600160a01b03858116600090815260046020908152604080832080546001600160801b03198082166001600160801b03928316600019018316179092558986168086528386208054938416938316600190810190931693909317909255825180840184529182524267ffffffffffffffff9081168386019081528a875260039095529285209151825494516001600160a01b031990951696169590951767ffffffffffffffff60a01b1916600160a01b9390921692909202179055906120e9908590613546565b6000818152600360205260409020549091506001600160a01b031661218e5761211181611eb8565b1561218e5760408051808201825284516001600160a01b03908116825260208087015167ffffffffffffffff90811682850190815260008781526003909352949091209251835494516001600160a01b031990951692169190911767ffffffffffffffff60a01b1916600160a01b93909116929092029190911790555b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46121dc8686866001611bcc565b505050505050565b6121ec6127dd565b6121f582611eb8565b6122115760405162461bcd60e51b81526004016109a690612e40565b815b6000818152600360209081526040918290208251808401909352546001600160a01b038116808452600160a01b90910467ffffffffffffffff1691830191909152156122625791506109629050565b508061226d816135d4565b915050612213565b600780546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60006122db846001600160a01b0316612757565b156123d757836001600160a01b031663150b7a026122f7611e9a565b8786866040518563ffffffff1660e01b81526004016123199493929190612c5b565b602060405180830381600087803b15801561233357600080fd5b505af1925050508015612363575060408051601f3d908101601f1916820190925261236091810190612ae1565b60015b6123bd573d808015612391576040519150601f19603f3d011682016040523d82523d6000602084013e612396565b606091505b5080516123b55760405162461bcd60e51b81526004016109a69061334b565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506123db565b5060015b949350505050565b6060600880546109d1906135eb565b60608161241757506040805180820190915260018152600360fc1b6020820152610962565b8160005b8115612441578061242b81613626565b915061243a9050600a8361355e565b915061241b565b60008167ffffffffffffffff81111561246a57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612494576020820181803683370190505b5090505b84156123db576124a9600183613591565b91506124b6600a86613641565b6124c1906030613546565b60f81b8183815181106124e457634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350612506600a8661355e565b9450612498565b6000546001600160a01b0384166125365760405162461bcd60e51b81526004016109a6906133d5565b61253f81611eb8565b1561255c5760405162461bcd60e51b81526004016109a69061339e565b6000831161257c5760405162461bcd60e51b81526004016109a6906132e6565b6125896000858386611bcc565b6001600160a01b0384166000908152600460209081526040918290208251808401845290546001600160801b038082168352600160801b90910416918101919091528151808301909252805190919081906125e590879061351b565b6001600160801b03168152602001858360200151612603919061351b565b6001600160801b039081169091526001600160a01b03808816600081815260046020908152604080832087518154988401518816600160801b029088166001600160801b031990991698909817909616969096179094558451808601865291825267ffffffffffffffff4281168386019081528883526003909552948120915182549451909516600160a01b0267ffffffffffffffff60a01b19959093166001600160a01b031990941693909317939093161790915582905b858110156127455760405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a461270960008884886122c7565b6127255760405162461bcd60e51b81526004016109a69061334b565b8161272f81613626565b925050808061273d90613626565b9150506126bc565b5060008181556121dc90878588611bcc565b3b151590565b828054612769906135eb565b90600052602060002090601f01602090048101928261278b57600085556127d1565b82601f106127a457805160ff19168380011785556127d1565b828001600101855582156127d1579182015b828111156127d15782518255916020019190600101906127b6565b5061141b9291506127f4565b604080518082019091526000808252602082015290565b5b8082111561141b57600081556001016127f5565b600067ffffffffffffffff83111561282357612823613681565b612836601f8401601f19166020016134f1565b905082815283838301111561284a57600080fd5b828260208301376000602084830101529392505050565b600060208284031215612872578081fd5b8135611cef81613697565b60006020828403121561288e578081fd5b8151611cef81613697565b600080604083850312156128ab578081fd5b82356128b681613697565b915060208301356128c681613697565b809150509250929050565b6000806000606084860312156128e5578081fd5b83356128f081613697565b9250602084013561290081613697565b929592945050506040919091013590565b60008060008060808587031215612926578081fd5b843561293181613697565b9350602085013561294181613697565b925060408501359150606085013567ffffffffffffffff811115612963578182fd5b8501601f81018713612973578182fd5b61298287823560208401612809565b91505092959194509250565b600080604083850312156129a0578182fd5b82356129ab81613697565b915060208301356128c6816136ac565b600080604083850312156129cd578182fd5b82356129d881613697565b946020939093013593505050565b600060208083850312156129f8578182fd5b823567ffffffffffffffff80821115612a0f578384fd5b818501915085601f830112612a22578384fd5b813581811115612a3457612a34613681565b8381029150612a448483016134f1565b8181528481019084860184860187018a1015612a5e578788fd5b8795505b83861015612a80578035835260019590950194918601918601612a62565b5098975050505050505050565b600060208284031215612a9e578081fd5b8135611cef816136ac565b600060208284031215612aba578081fd5b8151611cef816136ac565b600060208284031215612ad6578081fd5b8135611cef816136ba565b600060208284031215612af2578081fd5b8151611cef816136ba565b600060208284031215612b0e578081fd5b813567ffffffffffffffff811115612b24578182fd5b8201601f81018413612b34578182fd5b6123db84823560208401612809565b600060208284031215612b54578081fd5b5035919050565b600060208284031215612b6c578081fd5b5051919050565b60008060408385031215612b85578182fd5b8235915060208301356128c681613697565b60008060408385031215612ba9578182fd5b50508035926020909101359150565b60008151808452612bd08160208601602086016135a8565b601f01601f19169290920160200192915050565b60008351612bf68184602088016135a8565b835190830190612c0a8183602088016135a8565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b0391909116815260200190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612c8e90830184612bb8565b9695505050505050565b6001600160a01b03929092168252602082015260400190565b6020808252825182820181905260009190848201906040850190845b81811015612ce957835183529284019291840191600101612ccd565b50909695505050505050565b901515815260200190565b600060208252611cef6020830184612bb8565b60208082526022908201527f455243373231413a206f776e657220696e646578206f7574206f6620626f756e604082015261647360f01b606082015260800190565b6020808252601d908201527f4e6f7420746865206f776e6572206f662074686973204c657a61726473000000604082015260600190565b60208082526018908201527f54686973206c697a61726420697320612067656e657369730000000000000000604082015260600190565b6020808252601f908201527f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e00604082015260600190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252602a908201527f455243373231413a206f776e657220717565727920666f72206e6f6e657869736040820152693a32b73a103a37b5b2b760b11b606082015260800190565b60208082526023908201527f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f756040820152626e647360e81b606082015260800190565b60208082526025908201527f455243373231413a207472616e7366657220746f20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526022908201527f74686973206c697a6172642068617320616c7265616479206265656e20627265604082015261195960f21b606082015260800190565b60208082526046908201527f596f75206861766520657863656564656420746865206d6178696d756d206e7560408201527f6d626572206f66204e4654207065722077616c6c6574206d696e7465722077696060820152650e8d0408aa8960d31b608082015260a00190565b6020808252601d908201527f4e6f7420746865206f776e6572206f6620746869732067656e65736973000000604082015260600190565b6020808252601c908201527f54686973206c697a617264206973206e6f7420612067656e6573697300000000604082015260600190565b60208082526039908201527f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60408201527f776e6572206e6f7220617070726f76656420666f7220616c6c00000000000000606082015260800190565b6020808252602b908201527f455243373231413a2062616c616e636520717565727920666f7220746865207a60408201526a65726f206164647265737360a81b606082015260800190565b60208082526017908201527f4e6f7420656e6f7567682065746865722073656e646564000000000000000000604082015260600190565b60208082526026908201527f455243373231413a207472616e736665722066726f6d20696e636f72726563746040820152651037bbb732b960d11b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252601a908201527f455243373231413a20617070726f766520746f2063616c6c6572000000000000604082015260600190565b60208082526032908201527f455243373231413a207472616e736665722063616c6c6572206973206e6f74206040820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b606082015260800190565b60208082526023908201527f596f75206d7573742063686f6f7365203220646966666572656e74206c697a6160408201526272647360e81b606082015260800190565b6020808252601290820152711d1a19481b5a5b9d081a5cc81c185d5cd95960721b604082015260600190565b6020808252600a9082015269536f6c64206f7574202160b01b604082015260600190565b60208082526022908201527f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60408201526132b960f11b606082015260800190565b60208082526023908201527f455243373231413a207175616e74697479206d7573742062652067726561746560408201526207220360ec1b606082015260800190565b60208082526008908201526714dbdb19081bdd5d60c21b604082015260600190565b60208082526033908201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260408201527232b1b2b4bb32b91034b6b83632b6b2b73a32b960691b606082015260800190565b6020808252601d908201527f455243373231413a20746f6b656e20616c7265616479206d696e746564000000604082015260600190565b60208082526021908201527f455243373231413a206d696e7420746f20746865207a65726f206164647265736040820152607360f81b606082015260800190565b6020808252602e908201527f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060408201526d0deeedccae440c4f240d2dcc8caf60931b606082015260800190565b60208082526018908201527f4e6f7420656e6f75676820696e736563742073656e6465640000000000000000604082015260600190565b6020808252602d908201527f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560408201526c3c34b9ba32b73a103a37b5b2b760991b606082015260800190565b90815260200190565b60405181810167ffffffffffffffff8111828210171561351357613513613681565b604052919050565b60006001600160801b0380831681851680830382111561353d5761353d613655565b01949350505050565b6000821982111561355957613559613655565b500190565b60008261356d5761356d61366b565b500490565b600081600019048311821515161561358c5761358c613655565b500290565b6000828210156135a3576135a3613655565b500390565b60005b838110156135c35781810151838201526020016135ab565b83811115611bcc5750506000910152565b6000816135e3576135e3613655565b506000190190565b6002810460018216806135ff57607f821691505b6020821081141561362057634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561363a5761363a613655565b5060010190565b6000826136505761365061366b565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b03811681146116ea57600080fd5b80151581146116ea57600080fd5b6001600160e01b0319811681146116ea57600080fdfea26469706673582212207bf60bd8027671e3e9f50219bf4e6cb2db3f00f93281c4dac4e70845642ad17e64736f6c63430008000033

Deployed Bytecode

0x6080604052600436106102ff5760003560e01c80635c975abb11610190578063a475b5dd116100dc578063d5abeb0111610095578063f2c4ce1e1161006f578063f2c4ce1e14610884578063f2fde38b146108a4578063f50cbc99146108c4578063f5c3d307146108e4576102ff565b8063d5abeb011461082f578063dc33e68114610844578063e985e9c514610864576102ff565b8063a475b5dd14610785578063aef132af1461079a578063b242320c146107ba578063b88d4fde146107da578063c87b56dd146107fa578063cda26e3c1461081a576102ff565b806383357ba7116101495780638c5dd988116101235780638c5dd9881461071b5780638da5cb5b1461073b57806395d89b4114610750578063a22cb46514610765576102ff565b806383357ba7146106d357806383a076be146106e65780638abbdfbf14610706576102ff565b80635c975abb146106415780635ff013d1146106565780636352211e1461066b57806370a082311461068b578063715018a6146106ab57806383070174146106c0576102ff565b80632f745c591161024f578063438b6300116102085780634f6ccce7116101e25780634f6ccce7146105cc578063516a4d99146105ec578063518302271461060c57806355f804b314610621576102ff565b8063438b63001461055f57806344a0d68a1461058c57806345867a02146105ac576102ff565b80632f745c59146104b55780633194dfac146104d557806334ecc70a146104f55780633ccfd60b1461050a57806342842e0e1461051f578063437d74981461053f576102ff565b806313faede6116102bc5780632381d169116102965780632381d1691461043557806323b872dd146104555780632712d5a1146104755780632e06742114610495576102ff565b806313faede6146103de57806318160ddd146104005780631feb99e314610415576102ff565b806301ffc9a71461030457806302329a291461033a57806306fdde031461035c57806307b20aba1461037e578063081812fc14610391578063095ea7b3146103be575b600080fd5b34801561031057600080fd5b5061032461031f366004612ac5565b610904565b6040516103319190612cf5565b60405180910390f35b34801561034657600080fd5b5061035a610355366004612a8d565b610967565b005b34801561036857600080fd5b506103716109c2565b6040516103319190612d00565b61035a61038c366004612b97565b610a54565b34801561039d57600080fd5b506103b16103ac366004612b43565b610c9a565b6040516103319190612c23565b3480156103ca57600080fd5b5061035a6103d93660046129bb565b610cdd565b3480156103ea57600080fd5b506103f3610d76565b60405161033191906134e8565b34801561040c57600080fd5b506103f3610d7c565b34801561042157600080fd5b5061035a6104303660046129e6565b610d82565b34801561044157600080fd5b50610324610450366004612b43565b610e33565b34801561046157600080fd5b5061035a6104703660046128d1565b610e48565b34801561048157600080fd5b506103b1610490366004612b43565b610e53565b3480156104a157600080fd5b5061035a6104b0366004612b43565b610ed4565b3480156104c157600080fd5b506103f36104d03660046129bb565b610f18565b3480156104e157600080fd5b5061035a6104f03660046129e6565b611014565b34801561050157600080fd5b506103f36110c5565b34801561051657600080fd5b5061035a6110cb565b34801561052b57600080fd5b5061035a61053a3660046128d1565b6111a4565b34801561054b57600080fd5b5061035a61055a3660046129e6565b6111bf565b34801561056b57600080fd5b5061057f61057a366004612861565b611270565b6040516103319190612cb1565b34801561059857600080fd5b5061035a6105a7366004612b43565b61132e565b3480156105b857600080fd5b506103f36105c7366004612861565b611372565b3480156105d857600080fd5b506103f36105e7366004612b43565b6113f3565b3480156105f857600080fd5b5061035a610607366004612b43565b61141f565b34801561061857600080fd5b506103246114e2565b34801561062d57600080fd5b5061035a61063c366004612afd565b6114f0565b34801561064d57600080fd5b50610324611542565b34801561066257600080fd5b506103f361154b565b34801561067757600080fd5b506103b1610686366004612b43565b611551565b34801561069757600080fd5b506103f36106a6366004612861565b611563565b3480156106b757600080fd5b5061035a6115b0565b61035a6106ce366004612b43565b6115fb565b61035a6106e1366004612b43565b6116ed565b3480156106f257600080fd5b5061035a610701366004612b73565b6118aa565b34801561071257600080fd5b506103b1611927565b34801561072757600080fd5b50610324610736366004612b43565b611936565b34801561074757600080fd5b506103b161194b565b34801561075c57600080fd5b5061037161195a565b34801561077157600080fd5b5061035a61078036600461298e565b611969565b34801561079157600080fd5b5061035a611a37565b3480156107a657600080fd5b5061035a6107b53660046129e6565b611a87565b3480156107c657600080fd5b5061035a6107d5366004612861565b611b38565b3480156107e657600080fd5b5061035a6107f5366004612911565b611b99565b34801561080657600080fd5b50610371610815366004612b43565b611bd2565b34801561082657600080fd5b506103b1611cf6565b34801561083b57600080fd5b506103f3611d05565b34801561085057600080fd5b506103f361085f366004612861565b611d0b565b34801561087057600080fd5b5061032461087f366004612899565b611d1d565b34801561089057600080fd5b5061035a61089f366004612afd565b611d4b565b3480156108b057600080fd5b5061035a6108bf366004612861565b611d9d565b3480156108d057600080fd5b506103246108df366004612b43565b611e0b565b3480156108f057600080fd5b5061035a6108ff366004612861565b611e20565b60006001600160e01b031982166380ac58cd60e01b148061093557506001600160e01b03198216635b5e139f60e01b145b8061095057506001600160e01b0319821663780e9d6360e01b145b8061095f575061095f82611e81565b90505b919050565b61096f611e9a565b6001600160a01b031661098061194b565b6001600160a01b0316146109af5760405162461bcd60e51b81526004016109a690613153565b60405180910390fd5b600e805460ff1916911515919091179055565b6060600180546109d1906135eb565b80601f01602080910402602001604051908101604052809291908181526020018280546109fd906135eb565b8015610a4a5780601f10610a1f57610100808354040283529160200191610a4a565b820191906000526020600020905b815481529060010190602001808311610a2d57829003601f168201915b5050505050905090565b600e5460ff1615610a775760405162461bcd60e51b81526004016109a690613254565b600c54610a82610d7c565b610a8d906001613546565b1115610aab5760405162461bcd60e51b81526004016109a690613280565b600b54610ab733611372565b1015610ad55760405162461bcd60e51b81526004016109a690613464565b60008281526012602052604090205460ff16158015610b03575060008181526012602052604090205460ff16155b610b1f5760405162461bcd60e51b81526004016109a690612d8c565b80821415610b3f5760405162461bcd60e51b81526004016109a690613211565b60008281526011602052604090205460ff16158015610b6d575060008181526011602052604090205460ff16155b610b895760405162461bcd60e51b81526004016109a690612f12565b33610b9383610e53565b6001600160a01b0316148015610bb9575033610bae82610e53565b6001600160a01b0316145b610bd55760405162461bcd60e51b81526004016109a690612d55565b600f54600b546040516323b872dd60e01b81526001600160a01b03909216916323b872dd91610c0a9133913091600401612c37565b602060405180830381600087803b158015610c2457600080fd5b505af1158015610c38573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c5c9190612aa9565b506000828152601160205260408082208054600160ff19918216811790925584845291909220805490911682179055610c96903390611e9e565b5050565b6000610ca582611eb8565b610cc15760405162461bcd60e51b81526004016109a69061349b565b506000908152600560205260409020546001600160a01b031690565b6000610ce882611551565b9050806001600160a01b0316836001600160a01b03161415610d1c5760405162461bcd60e51b81526004016109a6906132a4565b806001600160a01b0316610d2e611e9a565b6001600160a01b03161480610d4a5750610d4a8161087f611e9a565b610d665760405162461bcd60e51b81526004016109a69061302e565b610d71838383611ebf565b505050565b600a5481565b60005490565b610d8a611e9a565b6001600160a01b0316610d9b61194b565b6001600160a01b031614610dc15760405162461bcd60e51b81526004016109a690613153565b60005b8151811015610c9657600160126000848481518110610df357634e487b7160e01b600052603260045260246000fd5b6020026020010151815260200190815260200160002060006101000a81548160ff0219169083151502179055508080610e2b90613626565b915050610dc4565b60126020526000908152604090205460ff1681565b610d71838383611f1b565b6010546040516331a9108f60e11b81526000916001600160a01b031690636352211e90610e849085906004016134e8565b60206040518083038186803b158015610e9c57600080fd5b505afa158015610eb0573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061095f919061287d565b610edc611e9a565b6001600160a01b0316610eed61194b565b6001600160a01b031614610f135760405162461bcd60e51b81526004016109a690613153565b600d55565b6000610f2383611563565b8210610f415760405162461bcd60e51b81526004016109a690612d13565b6000610f4b610d7c565b905060008060005b83811015610ff5576000818152600360209081526040918290208251808401909352546001600160a01b038116808452600160a01b90910467ffffffffffffffff169183019190915215610fa657805192505b876001600160a01b0316836001600160a01b03161415610fe25786841415610fd45750935061100e92505050565b83610fde81613626565b9450505b5080610fed81613626565b915050610f53565b5060405162461bcd60e51b81526004016109a690613416565b92915050565b61101c611e9a565b6001600160a01b031661102d61194b565b6001600160a01b0316146110535760405162461bcd60e51b81526004016109a690613153565b60005b8151811015610c965760006011600084848151811061108557634e487b7160e01b600052603260045260246000fd5b6020026020010151815260200190815260200160002060006101000a81548160ff02191690831515021790555080806110bd90613626565b915050611056565b600d5481565b6110d3611e9a565b6001600160a01b03166110e461194b565b6001600160a01b03161461110a5760405162461bcd60e51b81526004016109a690613153565b600061111760644761355e565b611122906005613572565b600e546040519192506201000090046001600160a01b0316906108fc8315029083906000818181858888f19350505050158015611163573d6000803e3d6000fd5b5061116c61194b565b6001600160a01b03166108fc479081150290604051600060405180830381858888f19350505050158015610c96573d6000803e3d6000fd5b610d7183838360405180602001604052806000815250611b99565b6111c7611e9a565b6001600160a01b03166111d861194b565b6001600160a01b0316146111fe5760405162461bcd60e51b81526004016109a690613153565b60005b8151811015610c965760016011600084848151811061123057634e487b7160e01b600052603260045260246000fd5b6020026020010151815260200190815260200160002060006101000a81548160ff021916908315150217905550808061126890613626565b915050611201565b6060600061127d83611563565b905060008167ffffffffffffffff8111156112a857634e487b7160e01b600052604160045260246000fd5b6040519080825280602002602001820160405280156112d1578160200160208202803683370190505b50905060005b82811015611326576112e98582610f18565b82828151811061130957634e487b7160e01b600052603260045260246000fd5b60209081029190910101528061131e81613626565b9150506112d7565b509392505050565b611336611e9a565b6001600160a01b031661134761194b565b6001600160a01b03161461136d5760405162461bcd60e51b81526004016109a690613153565b600a55565b600f546040516370a0823160e01b81526000916001600160a01b0316906370a08231906113a3908590600401612c23565b60206040518083038186803b1580156113bb57600080fd5b505afa1580156113cf573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061095f9190612b5b565b60006113fd610d7c565b821061141b5760405162461bcd60e51b81526004016109a690612e8a565b5090565b611427611e9a565b6001600160a01b031661143861194b565b6001600160a01b03161461145e5760405162461bcd60e51b81526004016109a690613153565b600f5460405163a9059cbb60e01b81526001600160a01b039091169063a9059cbb906114909033908590600401612c98565b602060405180830381600087803b1580156114aa57600080fd5b505af11580156114be573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c969190612aa9565b600e54610100900460ff1681565b6114f8611e9a565b6001600160a01b031661150961194b565b6001600160a01b03161461152f5760405162461bcd60e51b81526004016109a690613153565b8051610c9690600890602084019061275d565b600e5460ff1681565b600b5481565b600061155c826121e4565b5192915050565b60006001600160a01b03821661158b5760405162461bcd60e51b81526004016109a69061308b565b506001600160a01b03166000908152600460205260409020546001600160801b031690565b6115b8611e9a565b6001600160a01b03166115c961194b565b6001600160a01b0316146115ef5760405162461bcd60e51b81526004016109a690613153565b6115f96000612275565b565b600e5460ff161561161e5760405162461bcd60e51b81526004016109a690613254565b600c548161162a610d7c565b6116349190613546565b11156116525760405162461bcd60e51b81526004016109a690613280565b600d5433600090815260136020526040902054611670908390613546565b111561168e5760405162461bcd60e51b81526004016109a690612f54565b80600a5461169c9190613572565b3410156116bb5760405162461bcd60e51b81526004016109a6906130d6565b33600090815260136020526040812080548392906116da908490613546565b909155506116ea90503382611e9e565b50565b600e5460ff16156117105760405162461bcd60e51b81526004016109a690613254565b600c5461171b610d7c565b611726906001613546565b11156117445760405162461bcd60e51b81526004016109a690613280565b600b5461175033611372565b101561176e5760405162461bcd60e51b81526004016109a690613464565b60008181526012602052604090205460ff1661179c5760405162461bcd60e51b81526004016109a690612ff7565b336117a682610e53565b6001600160a01b0316146117cc5760405162461bcd60e51b81526004016109a690612fc0565b60008181526011602052604090205460ff16156117fb5760405162461bcd60e51b81526004016109a690612f12565b600f54600b546040516323b872dd60e01b81526001600160a01b03909216916323b872dd916118309133913091600401612c37565b602060405180830381600087803b15801561184a57600080fd5b505af115801561185e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118829190612aa9565b506000818152601160205260409020805460ff191660019081179091556116ea903390611e9e565b6118b2611e9a565b6001600160a01b03166118c361194b565b6001600160a01b0316146118e95760405162461bcd60e51b81526004016109a690613153565b600c54826118f5610d7c565b6118ff9190613546565b111561191d5760405162461bcd60e51b81526004016109a690613329565b610c968183611e9e565b600f546001600160a01b031681565b60116020526000908152604090205460ff1681565b6007546001600160a01b031690565b6060600280546109d1906135eb565b611971611e9a565b6001600160a01b0316826001600160a01b031614156119a25760405162461bcd60e51b81526004016109a690613188565b80600660006119af611e9a565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff1916921515929092179091556119f3611e9a565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611a2b9190612cf5565b60405180910390a35050565b611a3f611e9a565b6001600160a01b0316611a5061194b565b6001600160a01b031614611a765760405162461bcd60e51b81526004016109a690613153565b600e805461ff001916610100179055565b611a8f611e9a565b6001600160a01b0316611aa061194b565b6001600160a01b031614611ac65760405162461bcd60e51b81526004016109a690613153565b60005b8151811015610c9657600060126000848481518110611af857634e487b7160e01b600052603260045260246000fd5b6020026020010151815260200190815260200160002060006101000a81548160ff0219169083151502179055508080611b3090613626565b915050611ac9565b611b40611e9a565b6001600160a01b0316611b5161194b565b6001600160a01b031614611b775760405162461bcd60e51b81526004016109a690613153565b601080546001600160a01b0319166001600160a01b0392909216919091179055565b611ba4848484611f1b565b611bb0848484846122c7565b611bcc5760405162461bcd60e51b81526004016109a69061334b565b50505050565b6060611bdd82611eb8565b611bf95760405162461bcd60e51b81526004016109a690612dc3565b600e54610100900460ff16611c9a5760098054611c15906135eb565b80601f0160208091040260200160405190810160405280929190818152602001828054611c41906135eb565b8015611c8e5780601f10611c6357610100808354040283529160200191611c8e565b820191906000526020600020905b815481529060010190602001808311611c7157829003601f168201915b50505050509050610962565b6000611ca46123e3565b90506000815111611cc45760405180602001604052806000815250611cef565b80611cce846123f2565b604051602001611cdf929190612be4565b6040516020818303038152906040525b9392505050565b6010546001600160a01b031681565b600c5481565b60136020526000908152604090205481565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b611d53611e9a565b6001600160a01b0316611d6461194b565b6001600160a01b031614611d8a5760405162461bcd60e51b81526004016109a690613153565b8051610c9690600990602084019061275d565b611da5611e9a565b6001600160a01b0316611db661194b565b6001600160a01b031614611ddc5760405162461bcd60e51b81526004016109a690613153565b6001600160a01b038116611e025760405162461bcd60e51b81526004016109a690612dfa565b6116ea81612275565b60009081526011602052604090205460ff1690565b611e28611e9a565b6001600160a01b0316611e3961194b565b6001600160a01b031614611e5f5760405162461bcd60e51b81526004016109a690613153565b600f80546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160e01b031981166301ffc9a760e01b14919050565b3390565b610c9682826040518060200160405280600081525061250d565b6000541190565b60008281526005602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000611f26826121e4565b9050600081600001516001600160a01b0316611f40611e9a565b6001600160a01b03161480611f755750611f58611e9a565b6001600160a01b0316611f6a84610c9a565b6001600160a01b0316145b80611f8957508151611f899061087f611e9a565b905080611fa85760405162461bcd60e51b81526004016109a6906131bf565b846001600160a01b031682600001516001600160a01b031614611fdd5760405162461bcd60e51b81526004016109a69061310d565b6001600160a01b0384166120035760405162461bcd60e51b81526004016109a690612ecd565b6120108585856001611bcc565b6120206000848460000151611ebf565b6001600160a01b03858116600090815260046020908152604080832080546001600160801b03198082166001600160801b03928316600019018316179092558986168086528386208054938416938316600190810190931693909317909255825180840184529182524267ffffffffffffffff9081168386019081528a875260039095529285209151825494516001600160a01b031990951696169590951767ffffffffffffffff60a01b1916600160a01b9390921692909202179055906120e9908590613546565b6000818152600360205260409020549091506001600160a01b031661218e5761211181611eb8565b1561218e5760408051808201825284516001600160a01b03908116825260208087015167ffffffffffffffff90811682850190815260008781526003909352949091209251835494516001600160a01b031990951692169190911767ffffffffffffffff60a01b1916600160a01b93909116929092029190911790555b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46121dc8686866001611bcc565b505050505050565b6121ec6127dd565b6121f582611eb8565b6122115760405162461bcd60e51b81526004016109a690612e40565b815b6000818152600360209081526040918290208251808401909352546001600160a01b038116808452600160a01b90910467ffffffffffffffff1691830191909152156122625791506109629050565b508061226d816135d4565b915050612213565b600780546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60006122db846001600160a01b0316612757565b156123d757836001600160a01b031663150b7a026122f7611e9a565b8786866040518563ffffffff1660e01b81526004016123199493929190612c5b565b602060405180830381600087803b15801561233357600080fd5b505af1925050508015612363575060408051601f3d908101601f1916820190925261236091810190612ae1565b60015b6123bd573d808015612391576040519150601f19603f3d011682016040523d82523d6000602084013e612396565b606091505b5080516123b55760405162461bcd60e51b81526004016109a69061334b565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506123db565b5060015b949350505050565b6060600880546109d1906135eb565b60608161241757506040805180820190915260018152600360fc1b6020820152610962565b8160005b8115612441578061242b81613626565b915061243a9050600a8361355e565b915061241b565b60008167ffffffffffffffff81111561246a57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612494576020820181803683370190505b5090505b84156123db576124a9600183613591565b91506124b6600a86613641565b6124c1906030613546565b60f81b8183815181106124e457634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350612506600a8661355e565b9450612498565b6000546001600160a01b0384166125365760405162461bcd60e51b81526004016109a6906133d5565b61253f81611eb8565b1561255c5760405162461bcd60e51b81526004016109a69061339e565b6000831161257c5760405162461bcd60e51b81526004016109a6906132e6565b6125896000858386611bcc565b6001600160a01b0384166000908152600460209081526040918290208251808401845290546001600160801b038082168352600160801b90910416918101919091528151808301909252805190919081906125e590879061351b565b6001600160801b03168152602001858360200151612603919061351b565b6001600160801b039081169091526001600160a01b03808816600081815260046020908152604080832087518154988401518816600160801b029088166001600160801b031990991698909817909616969096179094558451808601865291825267ffffffffffffffff4281168386019081528883526003909552948120915182549451909516600160a01b0267ffffffffffffffff60a01b19959093166001600160a01b031990941693909317939093161790915582905b858110156127455760405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a461270960008884886122c7565b6127255760405162461bcd60e51b81526004016109a69061334b565b8161272f81613626565b925050808061273d90613626565b9150506126bc565b5060008181556121dc90878588611bcc565b3b151590565b828054612769906135eb565b90600052602060002090601f01602090048101928261278b57600085556127d1565b82601f106127a457805160ff19168380011785556127d1565b828001600101855582156127d1579182015b828111156127d15782518255916020019190600101906127b6565b5061141b9291506127f4565b604080518082019091526000808252602082015290565b5b8082111561141b57600081556001016127f5565b600067ffffffffffffffff83111561282357612823613681565b612836601f8401601f19166020016134f1565b905082815283838301111561284a57600080fd5b828260208301376000602084830101529392505050565b600060208284031215612872578081fd5b8135611cef81613697565b60006020828403121561288e578081fd5b8151611cef81613697565b600080604083850312156128ab578081fd5b82356128b681613697565b915060208301356128c681613697565b809150509250929050565b6000806000606084860312156128e5578081fd5b83356128f081613697565b9250602084013561290081613697565b929592945050506040919091013590565b60008060008060808587031215612926578081fd5b843561293181613697565b9350602085013561294181613697565b925060408501359150606085013567ffffffffffffffff811115612963578182fd5b8501601f81018713612973578182fd5b61298287823560208401612809565b91505092959194509250565b600080604083850312156129a0578182fd5b82356129ab81613697565b915060208301356128c6816136ac565b600080604083850312156129cd578182fd5b82356129d881613697565b946020939093013593505050565b600060208083850312156129f8578182fd5b823567ffffffffffffffff80821115612a0f578384fd5b818501915085601f830112612a22578384fd5b813581811115612a3457612a34613681565b8381029150612a448483016134f1565b8181528481019084860184860187018a1015612a5e578788fd5b8795505b83861015612a80578035835260019590950194918601918601612a62565b5098975050505050505050565b600060208284031215612a9e578081fd5b8135611cef816136ac565b600060208284031215612aba578081fd5b8151611cef816136ac565b600060208284031215612ad6578081fd5b8135611cef816136ba565b600060208284031215612af2578081fd5b8151611cef816136ba565b600060208284031215612b0e578081fd5b813567ffffffffffffffff811115612b24578182fd5b8201601f81018413612b34578182fd5b6123db84823560208401612809565b600060208284031215612b54578081fd5b5035919050565b600060208284031215612b6c578081fd5b5051919050565b60008060408385031215612b85578182fd5b8235915060208301356128c681613697565b60008060408385031215612ba9578182fd5b50508035926020909101359150565b60008151808452612bd08160208601602086016135a8565b601f01601f19169290920160200192915050565b60008351612bf68184602088016135a8565b835190830190612c0a8183602088016135a8565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b0391909116815260200190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612c8e90830184612bb8565b9695505050505050565b6001600160a01b03929092168252602082015260400190565b6020808252825182820181905260009190848201906040850190845b81811015612ce957835183529284019291840191600101612ccd565b50909695505050505050565b901515815260200190565b600060208252611cef6020830184612bb8565b60208082526022908201527f455243373231413a206f776e657220696e646578206f7574206f6620626f756e604082015261647360f01b606082015260800190565b6020808252601d908201527f4e6f7420746865206f776e6572206f662074686973204c657a61726473000000604082015260600190565b60208082526018908201527f54686973206c697a61726420697320612067656e657369730000000000000000604082015260600190565b6020808252601f908201527f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e00604082015260600190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252602a908201527f455243373231413a206f776e657220717565727920666f72206e6f6e657869736040820152693a32b73a103a37b5b2b760b11b606082015260800190565b60208082526023908201527f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f756040820152626e647360e81b606082015260800190565b60208082526025908201527f455243373231413a207472616e7366657220746f20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526022908201527f74686973206c697a6172642068617320616c7265616479206265656e20627265604082015261195960f21b606082015260800190565b60208082526046908201527f596f75206861766520657863656564656420746865206d6178696d756d206e7560408201527f6d626572206f66204e4654207065722077616c6c6574206d696e7465722077696060820152650e8d0408aa8960d31b608082015260a00190565b6020808252601d908201527f4e6f7420746865206f776e6572206f6620746869732067656e65736973000000604082015260600190565b6020808252601c908201527f54686973206c697a617264206973206e6f7420612067656e6573697300000000604082015260600190565b60208082526039908201527f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60408201527f776e6572206e6f7220617070726f76656420666f7220616c6c00000000000000606082015260800190565b6020808252602b908201527f455243373231413a2062616c616e636520717565727920666f7220746865207a60408201526a65726f206164647265737360a81b606082015260800190565b60208082526017908201527f4e6f7420656e6f7567682065746865722073656e646564000000000000000000604082015260600190565b60208082526026908201527f455243373231413a207472616e736665722066726f6d20696e636f72726563746040820152651037bbb732b960d11b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252601a908201527f455243373231413a20617070726f766520746f2063616c6c6572000000000000604082015260600190565b60208082526032908201527f455243373231413a207472616e736665722063616c6c6572206973206e6f74206040820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b606082015260800190565b60208082526023908201527f596f75206d7573742063686f6f7365203220646966666572656e74206c697a6160408201526272647360e81b606082015260800190565b6020808252601290820152711d1a19481b5a5b9d081a5cc81c185d5cd95960721b604082015260600190565b6020808252600a9082015269536f6c64206f7574202160b01b604082015260600190565b60208082526022908201527f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60408201526132b960f11b606082015260800190565b60208082526023908201527f455243373231413a207175616e74697479206d7573742062652067726561746560408201526207220360ec1b606082015260800190565b60208082526008908201526714dbdb19081bdd5d60c21b604082015260600190565b60208082526033908201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260408201527232b1b2b4bb32b91034b6b83632b6b2b73a32b960691b606082015260800190565b6020808252601d908201527f455243373231413a20746f6b656e20616c7265616479206d696e746564000000604082015260600190565b60208082526021908201527f455243373231413a206d696e7420746f20746865207a65726f206164647265736040820152607360f81b606082015260800190565b6020808252602e908201527f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060408201526d0deeedccae440c4f240d2dcc8caf60931b606082015260800190565b60208082526018908201527f4e6f7420656e6f75676820696e736563742073656e6465640000000000000000604082015260600190565b6020808252602d908201527f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560408201526c3c34b9ba32b73a103a37b5b2b760991b606082015260800190565b90815260200190565b60405181810167ffffffffffffffff8111828210171561351357613513613681565b604052919050565b60006001600160801b0380831681851680830382111561353d5761353d613655565b01949350505050565b6000821982111561355957613559613655565b500190565b60008261356d5761356d61366b565b500490565b600081600019048311821515161561358c5761358c613655565b500290565b6000828210156135a3576135a3613655565b500390565b60005b838110156135c35781810151838201526020016135ab565b83811115611bcc5750506000910152565b6000816135e3576135e3613655565b506000190190565b6002810460018216806135ff57607f821691505b6020821081141561362057634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561363a5761363a613655565b5060010190565b6000826136505761365061366b565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b03811681146116ea57600080fd5b80151581146116ea57600080fd5b6001600160e01b0319811681146116ea57600080fdfea26469706673582212207bf60bd8027671e3e9f50219bf4e6cb2db3f00f93281c4dac4e70845642ad17e64736f6c63430008000033

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

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