ETH Price: $3,638.85 (+1.65%)

Token

CryptoFoxes (CFXS)
 

Overview

Max Total Supply

11,111 CFXS

Holders

2,812

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Balance
5 CFXS
0x7D81ebCc3234125C1ebd5cEB82B1Ba53c3a26887
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

All the assets are handcrafted, then the CryptoFoxes are generated with a Python script in 48x48 GIF and scaled to 480x480 and minted on a Smart Contract ERC721 on Ethereum Blockchain. Each one is crafted with its properties.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
CryptoFoxes

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
No with 200 runs

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

import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";

contract CryptoFoxes is ERC721Enumerable, Ownable {

  uint public constant MAX_FOXES = 11111;
  string _baseTokenURI;
  mapping (uint => address) private _foxesV1Owners;
  uint[1001] private _foxesV1;
  bool paused = true;

  constructor(string memory baseTokenURI) ERC721("CryptoFoxes", "CFXS") {
    _baseTokenURI = baseTokenURI;
  }

  modifier saleIsOpen{
    require(totalSupply() < MAX_FOXES, "Sale end");
    _;
  }

  function isAuthClaim(address _to, uint _foxV1Id) public view returns(bool) {
    return _foxesV1Owners[_foxV1Id] == _to;
  }

  function authClaim(address _to, uint[] memory _foxesV1Id) public onlyOwner{
    for(uint i = 0; i < _foxesV1Id.length; i++){
      _foxesV1Owners[_foxesV1Id[i]] = _to;
    }
  }

  function claimTicket(address _to, uint[] memory _foxesV1Id) public saleIsOpen {
    require(!paused, "Pause");
    require(totalSupply() < MAX_FOXES, "Sale end");
    require(totalSupply() + _foxesV1Id.length <= MAX_FOXES - 1, "Max limit");

    for(uint i = 0; i < _foxesV1Id.length; i++){
      require(_foxesV1Owners[_foxesV1Id[i]] == _to, "Bad owner");

      _safeMint(_to, totalSupply());
      _foxesV1[_foxesV1Id[i]] = 1;
    }
  }

  function buyTicket(address _to, uint _count) public payable saleIsOpen {
    uint nb = 0;
    if(_msgSender() != owner()){
      require(!paused, "Pause");
      nb = 1;
    }
    require(totalSupply() + _count <= (MAX_FOXES - nb), "Max limit");
    require(totalSupply() < MAX_FOXES, "Sale end");
    require(_count <= 20, "Exceeds 20");
    require(msg.value >= price(_count), "Value below price");

    for(uint i = 0; i < _count; i++){
      _safeMint(_to, totalSupply());
    }
  }

  function price(uint _count) public view returns (uint256) {

    uint _id = totalSupply();

    if(_msgSender() == owner()){
      if(_id <= 29 || _id == MAX_FOXES - 1){
          return 0;
      }
    }

    if (_id <= 299 ){
        return   20000000000000000 * _count; // 51-300 : 0.02 ETH
    } else if (_id <= 599 ){
        return   30000000000000000 * _count; // 301-600 : 0.03 ETH
    } else if (_id <= 1199 ){
        return   40000000000000000 * _count; // 601-1200 : 0.04 ETH
    } else if (_id <= 2399 ){
        return   60000000000000000 * _count; // 1201-2400 : 0.06 ETH
    } else if (_id <= 4799 ){
        return   80000000000000000 * _count; // 2401-4800 : 0.08 ETH
    } else if (_id <= 7199 ){
        return   100000000000000000 * _count; // 4801-7200 : 0.10 ETH
    } else if (_id <= 8999 ){
        return   150000000000000000 * _count; // 7201-9000 : 0.15 ETH
    } else if (_id <= 9999 ){
        return   200000000000000000 * _count; // 9001-10000 : 0.20 ETH
    } else if (_id <= 10899 ){
        return   400000000000000000 * _count; // 10001-10900 : 0.40 ETH
    } else if (_id <= 11109 ){
        return   600000000000000000 * _count; // 10901-11110 : 0.60 ETH
    }

    return 6000000000000000000; // 0.60 ETH cas impossible
  }

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

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

  function foxesV1exist(uint foxId) public view returns (bool){
    return _foxesV1[foxId] > 0 ;
  }

  function walletOfOwner(address _owner) external view returns(uint256[] memory) {

    uint tokenCount = balanceOf(_owner);

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

    return tokensId;
  }

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

  function withdrawAll() public payable onlyOwner {
    require(payable(_msgSender()).send(address(this).balance));
  }
}

File 2 of 13 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor () {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), 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 {
        emit OwnershipTransferred(_owner, address(0));
        _owner = 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");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

File 3 of 13 : ERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Base URI for computing {tokenURI}. Empty by default, can be overriden
     * in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return "";
    }

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

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

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

File 4 of 13 : IERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

File 5 of 13 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

File 6 of 13 : ERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 7 of 13 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT

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 8 of 13 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {

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

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

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

File 9 of 13 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

        uint256 size;
        // solhint-disable-next-line no-inline-assembly
        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");

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (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");

        // solhint-disable-next-line avoid-low-level-calls
        (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");

        // solhint-disable-next-line avoid-low-level-calls
        (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");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 10 of 13 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

    function _msgData() internal view virtual returns (bytes calldata) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

File 11 of 13 : Strings.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant alphabet = "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] = alphabet[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }

}

File 12 of 13 : ERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

File 13 of 13 : IERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

Settings
{
  "remappings": [],
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "evmVersion": "istanbul",
  "libraries": {},
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"baseTokenURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_FOXES","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256[]","name":"_foxesV1Id","type":"uint256[]"}],"name":"authClaim","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":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_count","type":"uint256"}],"name":"buyTicket","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256[]","name":"_foxesV1Id","type":"uint256[]"}],"name":"claimTicket","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"foxId","type":"uint256"}],"name":"foxesV1exist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_foxV1Id","type":"uint256"}],"name":"isAuthClaim","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"val","type":"bool"}],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_count","type":"uint256"}],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"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":"withdrawAll","outputs":[],"stateMutability":"payable","type":"function"}]

608060405260016103f660006101000a81548160ff0219169083151502179055503480156200002d57600080fd5b5060405162004ea138038062004ea18339818101604052810190620000539190620002ee565b6040518060400160405280600b81526020017f43727970746f466f7865730000000000000000000000000000000000000000008152506040518060400160405280600481526020017f43465853000000000000000000000000000000000000000000000000000000008152508160009080519060200190620000d7929190620001cc565b508060019080519060200190620000f0929190620001cc565b505050600062000105620001c460201b60201c565b905080600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35080600b9080519060200190620001bc929190620001cc565b5050620004a3565b600033905090565b828054620001da90620003c8565b90600052602060002090601f016020900481019282620001fe57600085556200024a565b82601f106200021957805160ff19168380011785556200024a565b828001600101855582156200024a579182015b82811115620002495782518255916020019190600101906200022c565b5b5090506200025991906200025d565b5090565b5b80821115620002785760008160009055506001016200025e565b5090565b6000620002936200028d846200035c565b62000333565b905082815260208101848484011115620002ac57600080fd5b620002b984828562000392565b509392505050565b600082601f830112620002d357600080fd5b8151620002e58482602086016200027c565b91505092915050565b6000602082840312156200030157600080fd5b600082015167ffffffffffffffff8111156200031c57600080fd5b6200032a84828501620002c1565b91505092915050565b60006200033f62000352565b90506200034d8282620003fe565b919050565b6000604051905090565b600067ffffffffffffffff8211156200037a576200037962000463565b5b620003858262000492565b9050602081019050919050565b60005b83811015620003b257808201518184015260208101905062000395565b83811115620003c2576000848401525b50505050565b60006002820490506001821680620003e157607f821691505b60208210811415620003f857620003f762000434565b5b50919050565b620004098262000492565b810181811067ffffffffffffffff821117156200042b576200042a62000463565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b6149ee80620004b36000396000f3fe6080604052600436106101cd5760003560e01c80636352211e116100f7578063853828b611610095578063b88d4fde11610064578063b88d4fde14610690578063c87b56dd146106b9578063e985e9c5146106f6578063f2fde38b14610733576101cd565b8063853828b6146106075780638da5cb5b1461061157806395d89b411461063c578063a22cb46514610667576101cd565b80636796a575116100d15780636796a5751461054b57806370a0823114610588578063715018a6146105c55780637ba8a4d3146105dc576101cd565b80636352211e146104c9578063647c07a41461050657806366a5ef2f1461052f576101cd565b806326a49e371161016f578063465c9bd61161013e578063465c9bd6146103fd5780634f6ccce71461043a57806354f70de91461047757806355f804b3146104a0576101cd565b806326a49e371461031d5780632f745c591461035a57806342842e0e14610397578063438b6300146103c0576101cd565b8063081812fc116101ab578063081812fc14610263578063095ea7b3146102a057806318160ddd146102c957806323b872dd146102f4576101cd565b806301ffc9a7146101d257806302329a291461020f57806306fdde0314610238575b600080fd5b3480156101de57600080fd5b506101f960048036038101906101f4919061356e565b61075c565b6040516102069190613b74565b60405180910390f35b34801561021b57600080fd5b5061023660048036038101906102319190613545565b6107d6565b005b34801561024457600080fd5b5061024d610870565b60405161025a9190613b8f565b60405180910390f35b34801561026f57600080fd5b5061028a60048036038101906102859190613601565b610902565b6040516102979190613aeb565b60405180910390f35b3480156102ac57600080fd5b506102c760048036038101906102c29190613509565b610987565b005b3480156102d557600080fd5b506102de610a9f565b6040516102eb9190613eb1565b60405180910390f35b34801561030057600080fd5b5061031b600480360381019061031691906133af565b610aac565b005b34801561032957600080fd5b50610344600480360381019061033f9190613601565b610b0c565b6040516103519190613eb1565b60405180910390f35b34801561036657600080fd5b50610381600480360381019061037c9190613509565b610d08565b60405161038e9190613eb1565b60405180910390f35b3480156103a357600080fd5b506103be60048036038101906103b991906133af565b610dad565b005b3480156103cc57600080fd5b506103e760048036038101906103e2919061334a565b610dcd565b6040516103f49190613b52565b60405180910390f35b34801561040957600080fd5b50610424600480360381019061041f9190613601565b610ec7565b6040516104319190613b74565b60405180910390f35b34801561044657600080fd5b50610461600480360381019061045c9190613601565b610f0f565b60405161046e9190613eb1565b60405180910390f35b34801561048357600080fd5b5061049e60048036038101906104999190613479565b610fa6565b005b3480156104ac57600080fd5b506104c760048036038101906104c291906135c0565b6110d8565b005b3480156104d557600080fd5b506104f060048036038101906104eb9190613601565b61116e565b6040516104fd9190613aeb565b60405180910390f35b34801561051257600080fd5b5061052d60048036038101906105289190613479565b611220565b005b61054960048036038101906105449190613509565b611503565b005b34801561055757600080fd5b50610572600480360381019061056d9190613509565b611758565b60405161057f9190613b74565b60405180910390f35b34801561059457600080fd5b506105af60048036038101906105aa919061334a565b6117c4565b6040516105bc9190613eb1565b60405180910390f35b3480156105d157600080fd5b506105da61187c565b005b3480156105e857600080fd5b506105f16119b9565b6040516105fe9190613eb1565b60405180910390f35b61060f6119bf565b005b34801561061d57600080fd5b50610626611a82565b6040516106339190613aeb565b60405180910390f35b34801561064857600080fd5b50610651611aac565b60405161065e9190613b8f565b60405180910390f35b34801561067357600080fd5b5061068e600480360381019061068991906134cd565b611b3e565b005b34801561069c57600080fd5b506106b760048036038101906106b291906133fe565b611cbf565b005b3480156106c557600080fd5b506106e060048036038101906106db9190613601565b611d21565b6040516106ed9190613b8f565b60405180910390f35b34801561070257600080fd5b5061071d60048036038101906107189190613373565b611dc8565b60405161072a9190613b74565b60405180910390f35b34801561073f57600080fd5b5061075a6004803603810190610755919061334a565b611e5c565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806107cf57506107ce82612008565b5b9050919050565b6107de6120ea565b73ffffffffffffffffffffffffffffffffffffffff166107fc611a82565b73ffffffffffffffffffffffffffffffffffffffff1614610852576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161084990613db1565b60405180910390fd5b806103f660006101000a81548160ff02191690831515021790555050565b60606000805461087f906141c6565b80601f01602080910402602001604051908101604052809291908181526020018280546108ab906141c6565b80156108f85780601f106108cd576101008083540402835291602001916108f8565b820191906000526020600020905b8154815290600101906020018083116108db57829003601f168201915b5050505050905090565b600061090d826120f2565b61094c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161094390613d91565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006109928261116e565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610a03576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109fa90613e31565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610a226120ea565b73ffffffffffffffffffffffffffffffffffffffff161480610a515750610a5081610a4b6120ea565b611dc8565b5b610a90576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a8790613cf1565b60405180910390fd5b610a9a838361215e565b505050565b6000600880549050905090565b610abd610ab76120ea565b82612217565b610afc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610af390613e71565b60405180910390fd5b610b078383836122f5565b505050565b600080610b17610a9f565b9050610b21611a82565b73ffffffffffffffffffffffffffffffffffffffff16610b3f6120ea565b73ffffffffffffffffffffffffffffffffffffffff161415610b8857601d81111580610b7857506001612b67610b7591906140dc565b81145b15610b87576000915050610d03565b5b61012b8111610bac578266470de4df820000610ba49190614082565b915050610d03565b6102578111610bd05782666a94d74f430000610bc89190614082565b915050610d03565b6104af8111610bf45782668e1bc9bf040000610bec9190614082565b915050610d03565b61095f8111610c18578266d529ae9e860000610c109190614082565b915050610d03565b6112bf8111610c3d578267011c37937e080000610c359190614082565b915050610d03565b611c1f8111610c62578267016345785d8a0000610c5a9190614082565b915050610d03565b6123278111610c875782670214e8348c4f0000610c7f9190614082565b915050610d03565b61270f8111610cac57826702c68af0bb140000610ca49190614082565b915050610d03565b612a938111610cd1578267058d15e176280000610cc99190614082565b915050610d03565b612b658111610cf65782670853a0d2313c0000610cee9190614082565b915050610d03565b6753444835ec5800009150505b919050565b6000610d13836117c4565b8210610d54576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d4b90613bb1565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610dc883838360405180602001604052806000815250611cbf565b505050565b60606000610dda836117c4565b905060008167ffffffffffffffff811115610e1e577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015610e4c5781602001602082028036833780820191505090505b50905060005b82811015610ebc57610e648582610d08565b828281518110610e9d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010181815250508080610eb490614229565b915050610e52565b508092505050919050565b600080600d836103e98110610f05577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b0154119050919050565b6000610f19610a9f565b8210610f5a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f5190613e91565b60405180910390fd5b60088281548110610f94577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b610fae6120ea565b73ffffffffffffffffffffffffffffffffffffffff16610fcc611a82565b73ffffffffffffffffffffffffffffffffffffffff1614611022576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161101990613db1565b60405180910390fd5b60005b81518110156110d35782600c600084848151811061106c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080806110cb90614229565b915050611025565b505050565b6110e06120ea565b73ffffffffffffffffffffffffffffffffffffffff166110fe611a82565b73ffffffffffffffffffffffffffffffffffffffff1614611154576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114b90613db1565b60405180910390fd5b80600b908051906020019061116a9291906130d8565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611217576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161120e90613d31565b60405180910390fd5b80915050919050565b612b6761122b610a9f565b1061126b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161126290613d71565b60405180910390fd5b6103f660009054906101000a900460ff16156112bc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112b390613c71565b60405180910390fd5b612b676112c7610a9f565b10611307576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112fe90613d71565b60405180910390fd5b6001612b6761131691906140dc565b8151611320610a9f565b61132a9190613ffb565b111561136b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161136290613c91565b60405180910390fd5b60005b81518110156114fe578273ffffffffffffffffffffffffffffffffffffffff16600c60008484815181106113cb577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611458576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161144f90613cb1565b60405180910390fd5b61146983611464610a9f565b612551565b6001600d8383815181106114a6577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101516103e981106114e6577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b018190555080806114f690614229565b91505061136e565b505050565b612b6761150e610a9f565b1061154e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154590613d71565b60405180910390fd5b6000611558611a82565b73ffffffffffffffffffffffffffffffffffffffff166115766120ea565b73ffffffffffffffffffffffffffffffffffffffff16146115e7576103f660009054906101000a900460ff16156115e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115d990613c71565b60405180910390fd5b600190505b80612b676115f591906140dc565b826115fe610a9f565b6116089190613ffb565b1115611649576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161164090613c91565b60405180910390fd5b612b67611654610a9f565b10611694576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168b90613d71565b60405180910390fd5b60148211156116d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116cf90613e51565b60405180910390fd5b6116e182610b0c565b341015611723576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161171a90613e11565b60405180910390fd5b60005b828110156117525761173f8461173a610a9f565b612551565b808061174a90614229565b915050611726565b50505050565b60008273ffffffffffffffffffffffffffffffffffffffff16600c600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614905092915050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611835576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161182c90613d11565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6118846120ea565b73ffffffffffffffffffffffffffffffffffffffff166118a2611a82565b73ffffffffffffffffffffffffffffffffffffffff16146118f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118ef90613db1565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b612b6781565b6119c76120ea565b73ffffffffffffffffffffffffffffffffffffffff166119e5611a82565b73ffffffffffffffffffffffffffffffffffffffff1614611a3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a3290613db1565b60405180910390fd5b611a436120ea565b73ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050611a8057600080fd5b565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054611abb906141c6565b80601f0160208091040260200160405190810160405280929190818152602001828054611ae7906141c6565b8015611b345780601f10611b0957610100808354040283529160200191611b34565b820191906000526020600020905b815481529060010190602001808311611b1757829003601f168201915b5050505050905090565b611b466120ea565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611bb4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bab90613c51565b60405180910390fd5b8060056000611bc16120ea565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611c6e6120ea565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611cb39190613b74565b60405180910390a35050565b611cd0611cca6120ea565b83612217565b611d0f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d0690613e71565b60405180910390fd5b611d1b8484848461256f565b50505050565b6060611d2c826120f2565b611d6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d6290613df1565b60405180910390fd5b6000611d756125cb565b90506000815111611d955760405180602001604052806000815250611dc0565b80611d9f8461265d565b604051602001611db0929190613ac7565b6040516020818303038152906040525b915050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611e646120ea565b73ffffffffffffffffffffffffffffffffffffffff16611e82611a82565b73ffffffffffffffffffffffffffffffffffffffff1614611ed8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ecf90613db1565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611f48576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f3f90613bf1565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806120d357507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806120e357506120e28261280a565b5b9050919050565b600033905090565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166121d18361116e565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000612222826120f2565b612261576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161225890613cd1565b60405180910390fd5b600061226c8361116e565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806122db57508373ffffffffffffffffffffffffffffffffffffffff166122c384610902565b73ffffffffffffffffffffffffffffffffffffffff16145b806122ec57506122eb8185611dc8565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166123158261116e565b73ffffffffffffffffffffffffffffffffffffffff161461236b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161236290613dd1565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156123db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123d290613c31565b60405180910390fd5b6123e6838383612874565b6123f160008261215e565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461244191906140dc565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546124989190613ffb565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b61256b828260405180602001604052806000815250612988565b5050565b61257a8484846122f5565b612586848484846129e3565b6125c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125bc90613bd1565b60405180910390fd5b50505050565b6060600b80546125da906141c6565b80601f0160208091040260200160405190810160405280929190818152602001828054612606906141c6565b80156126535780601f1061262857610100808354040283529160200191612653565b820191906000526020600020905b81548152906001019060200180831161263657829003601f168201915b5050505050905090565b606060008214156126a5576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612805565b600082905060005b600082146126d75780806126c090614229565b915050600a826126d09190614051565b91506126ad565b60008167ffffffffffffffff811115612719577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561274b5781602001600182028036833780820191505090505b5090505b600085146127fe5760018261276491906140dc565b9150600a856127739190614272565b603061277f9190613ffb565b60f81b8183815181106127bb577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856127f79190614051565b945061274f565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b61287f838383612b7a565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156128c2576128bd81612b7f565b612901565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612900576128ff8382612bc8565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156129445761293f81612d35565b612983565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612982576129818282612e78565b5b5b505050565b6129928383612ef7565b61299f60008484846129e3565b6129de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129d590613bd1565b60405180910390fd5b505050565b6000612a048473ffffffffffffffffffffffffffffffffffffffff166130c5565b15612b6d578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612a2d6120ea565b8786866040518563ffffffff1660e01b8152600401612a4f9493929190613b06565b602060405180830381600087803b158015612a6957600080fd5b505af1925050508015612a9a57506040513d601f19601f82011682018060405250810190612a979190613597565b60015b612b1d573d8060008114612aca576040519150601f19603f3d011682016040523d82523d6000602084013e612acf565b606091505b50600081511415612b15576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b0c90613bd1565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612b72565b600190505b949350505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612bd5846117c4565b612bdf91906140dc565b9050600060076000848152602001908152602001600020549050818114612cc4576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050612d4991906140dc565b9050600060096000848152602001908152602001600020549050600060088381548110612d9f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110612de7577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480612e5c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000612e83836117c4565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612f67576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f5e90613d51565b60405180910390fd5b612f70816120f2565b15612fb0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fa790613c11565b60405180910390fd5b612fbc60008383612874565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461300c9190613ffb565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b8280546130e4906141c6565b90600052602060002090601f016020900481019282613106576000855561314d565b82601f1061311f57805160ff191683800117855561314d565b8280016001018555821561314d579182015b8281111561314c578251825591602001919060010190613131565b5b50905061315a919061315e565b5090565b5b8082111561317757600081600090555060010161315f565b5090565b600061318e61318984613ef1565b613ecc565b905080838252602082019050828560208602820111156131ad57600080fd5b60005b858110156131dd57816131c38882613335565b8452602084019350602083019250506001810190506131b0565b5050509392505050565b60006131fa6131f584613f1d565b613ecc565b90508281526020810184848401111561321257600080fd5b61321d848285614184565b509392505050565b600061323861323384613f4e565b613ecc565b90508281526020810184848401111561325057600080fd5b61325b848285614184565b509392505050565b6000813590506132728161495c565b92915050565b600082601f83011261328957600080fd5b813561329984826020860161317b565b91505092915050565b6000813590506132b181614973565b92915050565b6000813590506132c68161498a565b92915050565b6000815190506132db8161498a565b92915050565b600082601f8301126132f257600080fd5b81356133028482602086016131e7565b91505092915050565b600082601f83011261331c57600080fd5b813561332c848260208601613225565b91505092915050565b600081359050613344816149a1565b92915050565b60006020828403121561335c57600080fd5b600061336a84828501613263565b91505092915050565b6000806040838503121561338657600080fd5b600061339485828601613263565b92505060206133a585828601613263565b9150509250929050565b6000806000606084860312156133c457600080fd5b60006133d286828701613263565b93505060206133e386828701613263565b92505060406133f486828701613335565b9150509250925092565b6000806000806080858703121561341457600080fd5b600061342287828801613263565b945050602061343387828801613263565b935050604061344487828801613335565b925050606085013567ffffffffffffffff81111561346157600080fd5b61346d878288016132e1565b91505092959194509250565b6000806040838503121561348c57600080fd5b600061349a85828601613263565b925050602083013567ffffffffffffffff8111156134b757600080fd5b6134c385828601613278565b9150509250929050565b600080604083850312156134e057600080fd5b60006134ee85828601613263565b92505060206134ff858286016132a2565b9150509250929050565b6000806040838503121561351c57600080fd5b600061352a85828601613263565b925050602061353b85828601613335565b9150509250929050565b60006020828403121561355757600080fd5b6000613565848285016132a2565b91505092915050565b60006020828403121561358057600080fd5b600061358e848285016132b7565b91505092915050565b6000602082840312156135a957600080fd5b60006135b7848285016132cc565b91505092915050565b6000602082840312156135d257600080fd5b600082013567ffffffffffffffff8111156135ec57600080fd5b6135f88482850161330b565b91505092915050565b60006020828403121561361357600080fd5b600061362184828501613335565b91505092915050565b60006136368383613aa9565b60208301905092915050565b61364b81614110565b82525050565b600061365c82613f8f565b6136668185613fbd565b935061367183613f7f565b8060005b838110156136a2578151613689888261362a565b975061369483613fb0565b925050600181019050613675565b5085935050505092915050565b6136b881614122565b82525050565b60006136c982613f9a565b6136d38185613fce565b93506136e3818560208601614193565b6136ec8161435f565b840191505092915050565b600061370282613fa5565b61370c8185613fdf565b935061371c818560208601614193565b6137258161435f565b840191505092915050565b600061373b82613fa5565b6137458185613ff0565b9350613755818560208601614193565b80840191505092915050565b600061376e602b83613fdf565b915061377982614370565b604082019050919050565b6000613791603283613fdf565b915061379c826143bf565b604082019050919050565b60006137b4602683613fdf565b91506137bf8261440e565b604082019050919050565b60006137d7601c83613fdf565b91506137e28261445d565b602082019050919050565b60006137fa602483613fdf565b915061380582614486565b604082019050919050565b600061381d601983613fdf565b9150613828826144d5565b602082019050919050565b6000613840600583613fdf565b915061384b826144fe565b602082019050919050565b6000613863600983613fdf565b915061386e82614527565b602082019050919050565b6000613886600983613fdf565b915061389182614550565b602082019050919050565b60006138a9602c83613fdf565b91506138b482614579565b604082019050919050565b60006138cc603883613fdf565b91506138d7826145c8565b604082019050919050565b60006138ef602a83613fdf565b91506138fa82614617565b604082019050919050565b6000613912602983613fdf565b915061391d82614666565b604082019050919050565b6000613935602083613fdf565b9150613940826146b5565b602082019050919050565b6000613958600883613fdf565b9150613963826146de565b602082019050919050565b600061397b602c83613fdf565b915061398682614707565b604082019050919050565b600061399e602083613fdf565b91506139a982614756565b602082019050919050565b60006139c1602983613fdf565b91506139cc8261477f565b604082019050919050565b60006139e4602f83613fdf565b91506139ef826147ce565b604082019050919050565b6000613a07601183613fdf565b9150613a128261481d565b602082019050919050565b6000613a2a602183613fdf565b9150613a3582614846565b604082019050919050565b6000613a4d600a83613fdf565b9150613a5882614895565b602082019050919050565b6000613a70603183613fdf565b9150613a7b826148be565b604082019050919050565b6000613a93602c83613fdf565b9150613a9e8261490d565b604082019050919050565b613ab28161417a565b82525050565b613ac18161417a565b82525050565b6000613ad38285613730565b9150613adf8284613730565b91508190509392505050565b6000602082019050613b006000830184613642565b92915050565b6000608082019050613b1b6000830187613642565b613b286020830186613642565b613b356040830185613ab8565b8181036060830152613b4781846136be565b905095945050505050565b60006020820190508181036000830152613b6c8184613651565b905092915050565b6000602082019050613b8960008301846136af565b92915050565b60006020820190508181036000830152613ba981846136f7565b905092915050565b60006020820190508181036000830152613bca81613761565b9050919050565b60006020820190508181036000830152613bea81613784565b9050919050565b60006020820190508181036000830152613c0a816137a7565b9050919050565b60006020820190508181036000830152613c2a816137ca565b9050919050565b60006020820190508181036000830152613c4a816137ed565b9050919050565b60006020820190508181036000830152613c6a81613810565b9050919050565b60006020820190508181036000830152613c8a81613833565b9050919050565b60006020820190508181036000830152613caa81613856565b9050919050565b60006020820190508181036000830152613cca81613879565b9050919050565b60006020820190508181036000830152613cea8161389c565b9050919050565b60006020820190508181036000830152613d0a816138bf565b9050919050565b60006020820190508181036000830152613d2a816138e2565b9050919050565b60006020820190508181036000830152613d4a81613905565b9050919050565b60006020820190508181036000830152613d6a81613928565b9050919050565b60006020820190508181036000830152613d8a8161394b565b9050919050565b60006020820190508181036000830152613daa8161396e565b9050919050565b60006020820190508181036000830152613dca81613991565b9050919050565b60006020820190508181036000830152613dea816139b4565b9050919050565b60006020820190508181036000830152613e0a816139d7565b9050919050565b60006020820190508181036000830152613e2a816139fa565b9050919050565b60006020820190508181036000830152613e4a81613a1d565b9050919050565b60006020820190508181036000830152613e6a81613a40565b9050919050565b60006020820190508181036000830152613e8a81613a63565b9050919050565b60006020820190508181036000830152613eaa81613a86565b9050919050565b6000602082019050613ec66000830184613ab8565b92915050565b6000613ed6613ee7565b9050613ee282826141f8565b919050565b6000604051905090565b600067ffffffffffffffff821115613f0c57613f0b614330565b5b602082029050602081019050919050565b600067ffffffffffffffff821115613f3857613f37614330565b5b613f418261435f565b9050602081019050919050565b600067ffffffffffffffff821115613f6957613f68614330565b5b613f728261435f565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006140068261417a565b91506140118361417a565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614046576140456142a3565b5b828201905092915050565b600061405c8261417a565b91506140678361417a565b925082614077576140766142d2565b5b828204905092915050565b600061408d8261417a565b91506140988361417a565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156140d1576140d06142a3565b5b828202905092915050565b60006140e78261417a565b91506140f28361417a565b925082821015614105576141046142a3565b5b828203905092915050565b600061411b8261415a565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156141b1578082015181840152602081019050614196565b838111156141c0576000848401525b50505050565b600060028204905060018216806141de57607f821691505b602082108114156141f2576141f1614301565b5b50919050565b6142018261435f565b810181811067ffffffffffffffff821117156142205761421f614330565b5b80604052505050565b60006142348261417a565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614267576142666142a3565b5b600182019050919050565b600061427d8261417a565b91506142888361417a565b925082614298576142976142d2565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f5061757365000000000000000000000000000000000000000000000000000000600082015250565b7f4d6178206c696d69740000000000000000000000000000000000000000000000600082015250565b7f426164206f776e65720000000000000000000000000000000000000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f53616c6520656e64000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f56616c75652062656c6f77207072696365000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4578636565647320323000000000000000000000000000000000000000000000600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b61496581614110565b811461497057600080fd5b50565b61497c81614122565b811461498757600080fd5b50565b6149938161412e565b811461499e57600080fd5b50565b6149aa8161417a565b81146149b557600080fd5b5056fea2646970667358221220e95d542612ab0eb08e5a02417c410815589f25d54dbf69c0f08a4982a435743864736f6c634300080400330000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001f68747470733a2f2f6170692e63727970746f666f7865732e696f2f666f782f00

Deployed Bytecode

0x6080604052600436106101cd5760003560e01c80636352211e116100f7578063853828b611610095578063b88d4fde11610064578063b88d4fde14610690578063c87b56dd146106b9578063e985e9c5146106f6578063f2fde38b14610733576101cd565b8063853828b6146106075780638da5cb5b1461061157806395d89b411461063c578063a22cb46514610667576101cd565b80636796a575116100d15780636796a5751461054b57806370a0823114610588578063715018a6146105c55780637ba8a4d3146105dc576101cd565b80636352211e146104c9578063647c07a41461050657806366a5ef2f1461052f576101cd565b806326a49e371161016f578063465c9bd61161013e578063465c9bd6146103fd5780634f6ccce71461043a57806354f70de91461047757806355f804b3146104a0576101cd565b806326a49e371461031d5780632f745c591461035a57806342842e0e14610397578063438b6300146103c0576101cd565b8063081812fc116101ab578063081812fc14610263578063095ea7b3146102a057806318160ddd146102c957806323b872dd146102f4576101cd565b806301ffc9a7146101d257806302329a291461020f57806306fdde0314610238575b600080fd5b3480156101de57600080fd5b506101f960048036038101906101f4919061356e565b61075c565b6040516102069190613b74565b60405180910390f35b34801561021b57600080fd5b5061023660048036038101906102319190613545565b6107d6565b005b34801561024457600080fd5b5061024d610870565b60405161025a9190613b8f565b60405180910390f35b34801561026f57600080fd5b5061028a60048036038101906102859190613601565b610902565b6040516102979190613aeb565b60405180910390f35b3480156102ac57600080fd5b506102c760048036038101906102c29190613509565b610987565b005b3480156102d557600080fd5b506102de610a9f565b6040516102eb9190613eb1565b60405180910390f35b34801561030057600080fd5b5061031b600480360381019061031691906133af565b610aac565b005b34801561032957600080fd5b50610344600480360381019061033f9190613601565b610b0c565b6040516103519190613eb1565b60405180910390f35b34801561036657600080fd5b50610381600480360381019061037c9190613509565b610d08565b60405161038e9190613eb1565b60405180910390f35b3480156103a357600080fd5b506103be60048036038101906103b991906133af565b610dad565b005b3480156103cc57600080fd5b506103e760048036038101906103e2919061334a565b610dcd565b6040516103f49190613b52565b60405180910390f35b34801561040957600080fd5b50610424600480360381019061041f9190613601565b610ec7565b6040516104319190613b74565b60405180910390f35b34801561044657600080fd5b50610461600480360381019061045c9190613601565b610f0f565b60405161046e9190613eb1565b60405180910390f35b34801561048357600080fd5b5061049e60048036038101906104999190613479565b610fa6565b005b3480156104ac57600080fd5b506104c760048036038101906104c291906135c0565b6110d8565b005b3480156104d557600080fd5b506104f060048036038101906104eb9190613601565b61116e565b6040516104fd9190613aeb565b60405180910390f35b34801561051257600080fd5b5061052d60048036038101906105289190613479565b611220565b005b61054960048036038101906105449190613509565b611503565b005b34801561055757600080fd5b50610572600480360381019061056d9190613509565b611758565b60405161057f9190613b74565b60405180910390f35b34801561059457600080fd5b506105af60048036038101906105aa919061334a565b6117c4565b6040516105bc9190613eb1565b60405180910390f35b3480156105d157600080fd5b506105da61187c565b005b3480156105e857600080fd5b506105f16119b9565b6040516105fe9190613eb1565b60405180910390f35b61060f6119bf565b005b34801561061d57600080fd5b50610626611a82565b6040516106339190613aeb565b60405180910390f35b34801561064857600080fd5b50610651611aac565b60405161065e9190613b8f565b60405180910390f35b34801561067357600080fd5b5061068e600480360381019061068991906134cd565b611b3e565b005b34801561069c57600080fd5b506106b760048036038101906106b291906133fe565b611cbf565b005b3480156106c557600080fd5b506106e060048036038101906106db9190613601565b611d21565b6040516106ed9190613b8f565b60405180910390f35b34801561070257600080fd5b5061071d60048036038101906107189190613373565b611dc8565b60405161072a9190613b74565b60405180910390f35b34801561073f57600080fd5b5061075a6004803603810190610755919061334a565b611e5c565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806107cf57506107ce82612008565b5b9050919050565b6107de6120ea565b73ffffffffffffffffffffffffffffffffffffffff166107fc611a82565b73ffffffffffffffffffffffffffffffffffffffff1614610852576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161084990613db1565b60405180910390fd5b806103f660006101000a81548160ff02191690831515021790555050565b60606000805461087f906141c6565b80601f01602080910402602001604051908101604052809291908181526020018280546108ab906141c6565b80156108f85780601f106108cd576101008083540402835291602001916108f8565b820191906000526020600020905b8154815290600101906020018083116108db57829003601f168201915b5050505050905090565b600061090d826120f2565b61094c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161094390613d91565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006109928261116e565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610a03576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109fa90613e31565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610a226120ea565b73ffffffffffffffffffffffffffffffffffffffff161480610a515750610a5081610a4b6120ea565b611dc8565b5b610a90576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a8790613cf1565b60405180910390fd5b610a9a838361215e565b505050565b6000600880549050905090565b610abd610ab76120ea565b82612217565b610afc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610af390613e71565b60405180910390fd5b610b078383836122f5565b505050565b600080610b17610a9f565b9050610b21611a82565b73ffffffffffffffffffffffffffffffffffffffff16610b3f6120ea565b73ffffffffffffffffffffffffffffffffffffffff161415610b8857601d81111580610b7857506001612b67610b7591906140dc565b81145b15610b87576000915050610d03565b5b61012b8111610bac578266470de4df820000610ba49190614082565b915050610d03565b6102578111610bd05782666a94d74f430000610bc89190614082565b915050610d03565b6104af8111610bf45782668e1bc9bf040000610bec9190614082565b915050610d03565b61095f8111610c18578266d529ae9e860000610c109190614082565b915050610d03565b6112bf8111610c3d578267011c37937e080000610c359190614082565b915050610d03565b611c1f8111610c62578267016345785d8a0000610c5a9190614082565b915050610d03565b6123278111610c875782670214e8348c4f0000610c7f9190614082565b915050610d03565b61270f8111610cac57826702c68af0bb140000610ca49190614082565b915050610d03565b612a938111610cd1578267058d15e176280000610cc99190614082565b915050610d03565b612b658111610cf65782670853a0d2313c0000610cee9190614082565b915050610d03565b6753444835ec5800009150505b919050565b6000610d13836117c4565b8210610d54576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d4b90613bb1565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610dc883838360405180602001604052806000815250611cbf565b505050565b60606000610dda836117c4565b905060008167ffffffffffffffff811115610e1e577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015610e4c5781602001602082028036833780820191505090505b50905060005b82811015610ebc57610e648582610d08565b828281518110610e9d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010181815250508080610eb490614229565b915050610e52565b508092505050919050565b600080600d836103e98110610f05577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b0154119050919050565b6000610f19610a9f565b8210610f5a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f5190613e91565b60405180910390fd5b60088281548110610f94577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b610fae6120ea565b73ffffffffffffffffffffffffffffffffffffffff16610fcc611a82565b73ffffffffffffffffffffffffffffffffffffffff1614611022576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161101990613db1565b60405180910390fd5b60005b81518110156110d35782600c600084848151811061106c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080806110cb90614229565b915050611025565b505050565b6110e06120ea565b73ffffffffffffffffffffffffffffffffffffffff166110fe611a82565b73ffffffffffffffffffffffffffffffffffffffff1614611154576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114b90613db1565b60405180910390fd5b80600b908051906020019061116a9291906130d8565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611217576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161120e90613d31565b60405180910390fd5b80915050919050565b612b6761122b610a9f565b1061126b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161126290613d71565b60405180910390fd5b6103f660009054906101000a900460ff16156112bc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112b390613c71565b60405180910390fd5b612b676112c7610a9f565b10611307576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112fe90613d71565b60405180910390fd5b6001612b6761131691906140dc565b8151611320610a9f565b61132a9190613ffb565b111561136b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161136290613c91565b60405180910390fd5b60005b81518110156114fe578273ffffffffffffffffffffffffffffffffffffffff16600c60008484815181106113cb577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611458576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161144f90613cb1565b60405180910390fd5b61146983611464610a9f565b612551565b6001600d8383815181106114a6577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101516103e981106114e6577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b018190555080806114f690614229565b91505061136e565b505050565b612b6761150e610a9f565b1061154e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154590613d71565b60405180910390fd5b6000611558611a82565b73ffffffffffffffffffffffffffffffffffffffff166115766120ea565b73ffffffffffffffffffffffffffffffffffffffff16146115e7576103f660009054906101000a900460ff16156115e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115d990613c71565b60405180910390fd5b600190505b80612b676115f591906140dc565b826115fe610a9f565b6116089190613ffb565b1115611649576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161164090613c91565b60405180910390fd5b612b67611654610a9f565b10611694576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168b90613d71565b60405180910390fd5b60148211156116d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116cf90613e51565b60405180910390fd5b6116e182610b0c565b341015611723576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161171a90613e11565b60405180910390fd5b60005b828110156117525761173f8461173a610a9f565b612551565b808061174a90614229565b915050611726565b50505050565b60008273ffffffffffffffffffffffffffffffffffffffff16600c600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614905092915050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611835576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161182c90613d11565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6118846120ea565b73ffffffffffffffffffffffffffffffffffffffff166118a2611a82565b73ffffffffffffffffffffffffffffffffffffffff16146118f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118ef90613db1565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b612b6781565b6119c76120ea565b73ffffffffffffffffffffffffffffffffffffffff166119e5611a82565b73ffffffffffffffffffffffffffffffffffffffff1614611a3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a3290613db1565b60405180910390fd5b611a436120ea565b73ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050611a8057600080fd5b565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054611abb906141c6565b80601f0160208091040260200160405190810160405280929190818152602001828054611ae7906141c6565b8015611b345780601f10611b0957610100808354040283529160200191611b34565b820191906000526020600020905b815481529060010190602001808311611b1757829003601f168201915b5050505050905090565b611b466120ea565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611bb4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bab90613c51565b60405180910390fd5b8060056000611bc16120ea565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611c6e6120ea565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611cb39190613b74565b60405180910390a35050565b611cd0611cca6120ea565b83612217565b611d0f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d0690613e71565b60405180910390fd5b611d1b8484848461256f565b50505050565b6060611d2c826120f2565b611d6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d6290613df1565b60405180910390fd5b6000611d756125cb565b90506000815111611d955760405180602001604052806000815250611dc0565b80611d9f8461265d565b604051602001611db0929190613ac7565b6040516020818303038152906040525b915050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611e646120ea565b73ffffffffffffffffffffffffffffffffffffffff16611e82611a82565b73ffffffffffffffffffffffffffffffffffffffff1614611ed8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ecf90613db1565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611f48576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f3f90613bf1565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806120d357507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806120e357506120e28261280a565b5b9050919050565b600033905090565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166121d18361116e565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000612222826120f2565b612261576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161225890613cd1565b60405180910390fd5b600061226c8361116e565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806122db57508373ffffffffffffffffffffffffffffffffffffffff166122c384610902565b73ffffffffffffffffffffffffffffffffffffffff16145b806122ec57506122eb8185611dc8565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166123158261116e565b73ffffffffffffffffffffffffffffffffffffffff161461236b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161236290613dd1565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156123db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123d290613c31565b60405180910390fd5b6123e6838383612874565b6123f160008261215e565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461244191906140dc565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546124989190613ffb565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b61256b828260405180602001604052806000815250612988565b5050565b61257a8484846122f5565b612586848484846129e3565b6125c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125bc90613bd1565b60405180910390fd5b50505050565b6060600b80546125da906141c6565b80601f0160208091040260200160405190810160405280929190818152602001828054612606906141c6565b80156126535780601f1061262857610100808354040283529160200191612653565b820191906000526020600020905b81548152906001019060200180831161263657829003601f168201915b5050505050905090565b606060008214156126a5576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612805565b600082905060005b600082146126d75780806126c090614229565b915050600a826126d09190614051565b91506126ad565b60008167ffffffffffffffff811115612719577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561274b5781602001600182028036833780820191505090505b5090505b600085146127fe5760018261276491906140dc565b9150600a856127739190614272565b603061277f9190613ffb565b60f81b8183815181106127bb577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856127f79190614051565b945061274f565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b61287f838383612b7a565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156128c2576128bd81612b7f565b612901565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612900576128ff8382612bc8565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156129445761293f81612d35565b612983565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612982576129818282612e78565b5b5b505050565b6129928383612ef7565b61299f60008484846129e3565b6129de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129d590613bd1565b60405180910390fd5b505050565b6000612a048473ffffffffffffffffffffffffffffffffffffffff166130c5565b15612b6d578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612a2d6120ea565b8786866040518563ffffffff1660e01b8152600401612a4f9493929190613b06565b602060405180830381600087803b158015612a6957600080fd5b505af1925050508015612a9a57506040513d601f19601f82011682018060405250810190612a979190613597565b60015b612b1d573d8060008114612aca576040519150601f19603f3d011682016040523d82523d6000602084013e612acf565b606091505b50600081511415612b15576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b0c90613bd1565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612b72565b600190505b949350505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612bd5846117c4565b612bdf91906140dc565b9050600060076000848152602001908152602001600020549050818114612cc4576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050612d4991906140dc565b9050600060096000848152602001908152602001600020549050600060088381548110612d9f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110612de7577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480612e5c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000612e83836117c4565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612f67576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f5e90613d51565b60405180910390fd5b612f70816120f2565b15612fb0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fa790613c11565b60405180910390fd5b612fbc60008383612874565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461300c9190613ffb565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b8280546130e4906141c6565b90600052602060002090601f016020900481019282613106576000855561314d565b82601f1061311f57805160ff191683800117855561314d565b8280016001018555821561314d579182015b8281111561314c578251825591602001919060010190613131565b5b50905061315a919061315e565b5090565b5b8082111561317757600081600090555060010161315f565b5090565b600061318e61318984613ef1565b613ecc565b905080838252602082019050828560208602820111156131ad57600080fd5b60005b858110156131dd57816131c38882613335565b8452602084019350602083019250506001810190506131b0565b5050509392505050565b60006131fa6131f584613f1d565b613ecc565b90508281526020810184848401111561321257600080fd5b61321d848285614184565b509392505050565b600061323861323384613f4e565b613ecc565b90508281526020810184848401111561325057600080fd5b61325b848285614184565b509392505050565b6000813590506132728161495c565b92915050565b600082601f83011261328957600080fd5b813561329984826020860161317b565b91505092915050565b6000813590506132b181614973565b92915050565b6000813590506132c68161498a565b92915050565b6000815190506132db8161498a565b92915050565b600082601f8301126132f257600080fd5b81356133028482602086016131e7565b91505092915050565b600082601f83011261331c57600080fd5b813561332c848260208601613225565b91505092915050565b600081359050613344816149a1565b92915050565b60006020828403121561335c57600080fd5b600061336a84828501613263565b91505092915050565b6000806040838503121561338657600080fd5b600061339485828601613263565b92505060206133a585828601613263565b9150509250929050565b6000806000606084860312156133c457600080fd5b60006133d286828701613263565b93505060206133e386828701613263565b92505060406133f486828701613335565b9150509250925092565b6000806000806080858703121561341457600080fd5b600061342287828801613263565b945050602061343387828801613263565b935050604061344487828801613335565b925050606085013567ffffffffffffffff81111561346157600080fd5b61346d878288016132e1565b91505092959194509250565b6000806040838503121561348c57600080fd5b600061349a85828601613263565b925050602083013567ffffffffffffffff8111156134b757600080fd5b6134c385828601613278565b9150509250929050565b600080604083850312156134e057600080fd5b60006134ee85828601613263565b92505060206134ff858286016132a2565b9150509250929050565b6000806040838503121561351c57600080fd5b600061352a85828601613263565b925050602061353b85828601613335565b9150509250929050565b60006020828403121561355757600080fd5b6000613565848285016132a2565b91505092915050565b60006020828403121561358057600080fd5b600061358e848285016132b7565b91505092915050565b6000602082840312156135a957600080fd5b60006135b7848285016132cc565b91505092915050565b6000602082840312156135d257600080fd5b600082013567ffffffffffffffff8111156135ec57600080fd5b6135f88482850161330b565b91505092915050565b60006020828403121561361357600080fd5b600061362184828501613335565b91505092915050565b60006136368383613aa9565b60208301905092915050565b61364b81614110565b82525050565b600061365c82613f8f565b6136668185613fbd565b935061367183613f7f565b8060005b838110156136a2578151613689888261362a565b975061369483613fb0565b925050600181019050613675565b5085935050505092915050565b6136b881614122565b82525050565b60006136c982613f9a565b6136d38185613fce565b93506136e3818560208601614193565b6136ec8161435f565b840191505092915050565b600061370282613fa5565b61370c8185613fdf565b935061371c818560208601614193565b6137258161435f565b840191505092915050565b600061373b82613fa5565b6137458185613ff0565b9350613755818560208601614193565b80840191505092915050565b600061376e602b83613fdf565b915061377982614370565b604082019050919050565b6000613791603283613fdf565b915061379c826143bf565b604082019050919050565b60006137b4602683613fdf565b91506137bf8261440e565b604082019050919050565b60006137d7601c83613fdf565b91506137e28261445d565b602082019050919050565b60006137fa602483613fdf565b915061380582614486565b604082019050919050565b600061381d601983613fdf565b9150613828826144d5565b602082019050919050565b6000613840600583613fdf565b915061384b826144fe565b602082019050919050565b6000613863600983613fdf565b915061386e82614527565b602082019050919050565b6000613886600983613fdf565b915061389182614550565b602082019050919050565b60006138a9602c83613fdf565b91506138b482614579565b604082019050919050565b60006138cc603883613fdf565b91506138d7826145c8565b604082019050919050565b60006138ef602a83613fdf565b91506138fa82614617565b604082019050919050565b6000613912602983613fdf565b915061391d82614666565b604082019050919050565b6000613935602083613fdf565b9150613940826146b5565b602082019050919050565b6000613958600883613fdf565b9150613963826146de565b602082019050919050565b600061397b602c83613fdf565b915061398682614707565b604082019050919050565b600061399e602083613fdf565b91506139a982614756565b602082019050919050565b60006139c1602983613fdf565b91506139cc8261477f565b604082019050919050565b60006139e4602f83613fdf565b91506139ef826147ce565b604082019050919050565b6000613a07601183613fdf565b9150613a128261481d565b602082019050919050565b6000613a2a602183613fdf565b9150613a3582614846565b604082019050919050565b6000613a4d600a83613fdf565b9150613a5882614895565b602082019050919050565b6000613a70603183613fdf565b9150613a7b826148be565b604082019050919050565b6000613a93602c83613fdf565b9150613a9e8261490d565b604082019050919050565b613ab28161417a565b82525050565b613ac18161417a565b82525050565b6000613ad38285613730565b9150613adf8284613730565b91508190509392505050565b6000602082019050613b006000830184613642565b92915050565b6000608082019050613b1b6000830187613642565b613b286020830186613642565b613b356040830185613ab8565b8181036060830152613b4781846136be565b905095945050505050565b60006020820190508181036000830152613b6c8184613651565b905092915050565b6000602082019050613b8960008301846136af565b92915050565b60006020820190508181036000830152613ba981846136f7565b905092915050565b60006020820190508181036000830152613bca81613761565b9050919050565b60006020820190508181036000830152613bea81613784565b9050919050565b60006020820190508181036000830152613c0a816137a7565b9050919050565b60006020820190508181036000830152613c2a816137ca565b9050919050565b60006020820190508181036000830152613c4a816137ed565b9050919050565b60006020820190508181036000830152613c6a81613810565b9050919050565b60006020820190508181036000830152613c8a81613833565b9050919050565b60006020820190508181036000830152613caa81613856565b9050919050565b60006020820190508181036000830152613cca81613879565b9050919050565b60006020820190508181036000830152613cea8161389c565b9050919050565b60006020820190508181036000830152613d0a816138bf565b9050919050565b60006020820190508181036000830152613d2a816138e2565b9050919050565b60006020820190508181036000830152613d4a81613905565b9050919050565b60006020820190508181036000830152613d6a81613928565b9050919050565b60006020820190508181036000830152613d8a8161394b565b9050919050565b60006020820190508181036000830152613daa8161396e565b9050919050565b60006020820190508181036000830152613dca81613991565b9050919050565b60006020820190508181036000830152613dea816139b4565b9050919050565b60006020820190508181036000830152613e0a816139d7565b9050919050565b60006020820190508181036000830152613e2a816139fa565b9050919050565b60006020820190508181036000830152613e4a81613a1d565b9050919050565b60006020820190508181036000830152613e6a81613a40565b9050919050565b60006020820190508181036000830152613e8a81613a63565b9050919050565b60006020820190508181036000830152613eaa81613a86565b9050919050565b6000602082019050613ec66000830184613ab8565b92915050565b6000613ed6613ee7565b9050613ee282826141f8565b919050565b6000604051905090565b600067ffffffffffffffff821115613f0c57613f0b614330565b5b602082029050602081019050919050565b600067ffffffffffffffff821115613f3857613f37614330565b5b613f418261435f565b9050602081019050919050565b600067ffffffffffffffff821115613f6957613f68614330565b5b613f728261435f565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006140068261417a565b91506140118361417a565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614046576140456142a3565b5b828201905092915050565b600061405c8261417a565b91506140678361417a565b925082614077576140766142d2565b5b828204905092915050565b600061408d8261417a565b91506140988361417a565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156140d1576140d06142a3565b5b828202905092915050565b60006140e78261417a565b91506140f28361417a565b925082821015614105576141046142a3565b5b828203905092915050565b600061411b8261415a565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156141b1578082015181840152602081019050614196565b838111156141c0576000848401525b50505050565b600060028204905060018216806141de57607f821691505b602082108114156141f2576141f1614301565b5b50919050565b6142018261435f565b810181811067ffffffffffffffff821117156142205761421f614330565b5b80604052505050565b60006142348261417a565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614267576142666142a3565b5b600182019050919050565b600061427d8261417a565b91506142888361417a565b925082614298576142976142d2565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f5061757365000000000000000000000000000000000000000000000000000000600082015250565b7f4d6178206c696d69740000000000000000000000000000000000000000000000600082015250565b7f426164206f776e65720000000000000000000000000000000000000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f53616c6520656e64000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f56616c75652062656c6f77207072696365000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4578636565647320323000000000000000000000000000000000000000000000600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b61496581614110565b811461497057600080fd5b50565b61497c81614122565b811461498757600080fd5b50565b6149938161412e565b811461499e57600080fd5b50565b6149aa8161417a565b81146149b557600080fd5b5056fea2646970667358221220e95d542612ab0eb08e5a02417c410815589f25d54dbf69c0f08a4982a435743864736f6c63430008040033

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

0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001f68747470733a2f2f6170692e63727970746f666f7865732e696f2f666f782f00

-----Decoded View---------------
Arg [0] : baseTokenURI (string): https://api.cryptofoxes.io/fox/

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 000000000000000000000000000000000000000000000000000000000000001f
Arg [2] : 68747470733a2f2f6170692e63727970746f666f7865732e696f2f666f782f00


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.