ETH Price: $2,506.12 (+0.17%)

Token

NuCyber (NC)
 

Overview

Max Total Supply

6,457 NC

Holders

3,139

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
0 NC
0xd74c5307ac1c9e4f0764134166dc4ac742458529
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

NuCyber is a gaming/metaverse platform focused on using blockchain technology to give more power to the players.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
Gridcraft_LlamascapeLand

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 1000 runs

Other Settings:
default evmVersion
File 1 of 12 : Gridcraft_LlamascapeLand.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.7;

import "@openzeppelin/contracts/access/Ownable.sol";
import "./ERC721P.sol";

contract Gridcraft_LlamascapeLand is ERC721P, Ownable {

  string private baseTokenURI = " ipfs://QmPRcB57ojGAXsMvZSuQ4UTWkfaTWGNm8fdJAaUpDEc8ne/";
  string public provenance = "";
  uint256 public startingIndexBlock;
  uint256 public startingIndex;

  uint256 public revealDate = 4796668800;

  uint256 public maxSupply = 9800;
  uint256 public reserved = 650;

  address public mintCoordinator;

  modifier onlyCoordinator {
    require (_msgSender() == mintCoordinator, "Not allowed");
    _;
  }

  constructor() ERC721P("Llamascape Land", "LLAMALAND") {}

  function saleMint(address _recepient, uint256 _amount, bool _startStaking) external onlyCoordinator {
    mint(_amount, _recepient, _startStaking);
  }

  function ownerMint(address _recepient, uint256 _amount, bool _startStaking) external onlyOwner {
    require(totalSupply() + _amount <= maxSupply, "Exceeds max supply");
    require(_amount <= reserved, "Amount exceeds reserve");
    unchecked {
        reserved -= _amount;
    }
    
    mint(_amount, _recepient, _startStaking);
  }

  function mint(uint256 _amount, address _recepient, bool _startStaking) internal {
    for (uint i; i<_amount; ){
      _safeMint(_recepient);
      if (_startStaking){
        _stake(uint16(totalSupply()));
      }
      unchecked { ++i; }
    }

    if (startingIndexBlock == 0 && (totalSupply() == maxSupply || block.timestamp > revealDate)) {
        _setStartingIndex();
    } 
  }

   function stake(uint16[] memory _tokenIds) external {
    for (uint i; i < _tokenIds.length ;){
      require(ownerOf(_tokenIds[i]) == msg.sender, "Not owned or already staked");
      _stake(_tokenIds[i]);
      unchecked { ++i; }
    }
  }

  function stakeAll() external {
    uint16[] memory tokensOwned = tokensOfOwner(msg.sender);
    for (uint i; i < tokensOwned.length ; ){
      if (ownerOf(tokensOwned[i]) == msg.sender) {
        _stake(tokensOwned[i]);
      }
      unchecked { ++i; }
    }
  }

  function unstake(uint16[] memory _tokenIds) external {
    require(isTrueOwnerOfTokens(msg.sender, _tokenIds), "Not owned");
    for (uint i; i < _tokenIds.length ;){
      require(isTokenStaked(_tokenIds[i]), "Not staked");
      _unstake(msg.sender, _tokenIds[i]);
      unchecked { ++i; }
    }
  }

  function unstakeAll() external {
    uint16[] memory tokensOwned = tokensOfOwner(msg.sender);
    for (uint i; i < tokensOwned.length ; ){
      if (ownerOf(tokensOwned[i]) != msg.sender) {
        _unstake(msg.sender, tokensOwned[i]);
      }
      unchecked { ++i; }
    }
  }

  // internal

  function _stake(uint16 _tokenId) internal {
    _owners[_tokenId] = address(this);
    emit Transfer(ownerOf(_tokenId), address(this), _tokenId);
  }

  function _unstake(address _realOwner, uint16 _tokenId) internal {
    _owners[_tokenId] = _realOwner;
    emit Transfer(address(this), _realOwner, _tokenId);
  }

  function _setStartingIndex() internal {
    require(startingIndexBlock == 0, "Starting index already set");

    startingIndexBlock = block.number - 1;

    startingIndex = uint(blockhash(startingIndexBlock)) % maxSupply;
  }

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

  function baseURI() public view returns (string memory) {
    return _baseURI();
  }

  function isTokenStaked(uint16 _tokenId) public view returns (bool) {
    return ownerOf(_tokenId) == address(this);
  }

  // returns number of tokens staked by user
  function stakedNumberByOwner(address _user) public view returns (uint16 stakedCount) {
    uint16[] memory tokensOwned = tokensOfOwner(_user);
    for (uint i; i < tokensOwned.length ;) {
      if (isTokenStaked(tokensOwned[i])){
        ++stakedCount;
      }
      unchecked { ++i; }
    }
  }

  function unstakedNumberByOwner(address _user) public view returns (uint16 unstakedCount) {
    uint16[] memory tokensOwned = tokensOfOwner(_user);
    for (uint i; i < tokensOwned.length ;) {
      if (!isTokenStaked(tokensOwned[i])){
        ++unstakedCount;
      }
      unchecked { ++i; }
    }
  }

  // returns array of tokenIds staked by user
  function stakedIdsByOwner(address _user) external view returns (uint16[] memory) {
    uint16[] memory tokensOwned = tokensOfOwner(_user);
    uint stakedCount = stakedNumberByOwner(_user);
    uint16[] memory tokensStaked = new uint16[](stakedCount);
    uint idx;
    for (uint i; i < tokensOwned.length ;) {
      if (isTokenStaked(tokensOwned[i])){
        tokensStaked[idx] = tokensOwned[i];
        ++idx;
      }
      unchecked { ++i; }
    }
    return tokensStaked;
  }

  function unstakedIdsByOwner(address _user) external view returns (uint16[] memory) {
    uint16[] memory tokensOwned = tokensOfOwner(_user);
    uint unstakedCount = unstakedNumberByOwner(_user);
    uint16[] memory tokensUnstaked = new uint16[](unstakedCount);
    uint idx;
    for (uint i; i < tokensOwned.length ;) {
      if (!isTokenStaked(tokensOwned[i])){
        tokensUnstaked[idx] = tokensOwned[i];
        ++idx;
      }
      unchecked { ++i; }
    }
    return tokensUnstaked;
  }

  function isTrueOwnerOfTokens(address _user, uint16[] memory _tokenIds) public view returns (bool) {
    bool found;
    uint16[] memory tokensOwned = tokensOfOwner(_user);
    for (uint i; i < _tokenIds.length ; ) {
      found = false;
      for (uint j; j < tokensOwned.length ; ) {  
        if (_tokenIds[i] == tokensOwned[j]){
          found = true;
          break;
        }
        unchecked { ++j; }
      }
      if (!found) return false;
      unchecked { ++i; }
    }
    return true;
  }

  function remaining() public view returns (uint256 nftsRemaining){
    unchecked{
      nftsRemaining = maxSupply - totalSupply() - reserved;
    }
  }

  // Owner setters

  function setCoordinator(address _newCoordinator) external onlyOwner {
    mintCoordinator = _newCoordinator;
  }

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

  function setRevealDate(uint256 _newReveal) external onlyOwner {
    revealDate = _newReveal;
  }

  function setProvenanceHash(string memory provenanceHash) external onlyOwner {
    provenance = provenanceHash;
  }

}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

File 3 of 12 : ERC721P.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.7;

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

/**
 * @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 ERC721P is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable {
    using Address for address;
    using Strings for uint256;

    uint16 currentIndex;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

    // Mapping owner address to tokens
    mapping(address => uint16[]) public _addressTokens;

    // 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 _addressTokens[owner].length;
    }

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

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

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

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

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

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

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

    /**
     * @dev See {IERC721Enumerable-tokenByIndex}.
     */
    function tokenByIndex(uint256 index) public view override returns (uint256) {
        require(index > 0 && index <= totalSupply(), "ERC721: global index out of bounds");
        return index;
    }

    /**
     * @dev not part of standard IERC721Enumerable
     * This function returns all the tokens of a certain owner as an array
     * and is very cheap to use on-chain
     */
    
    function tokensOfOwner(address owner)
    public
    view
    returns (uint16[] memory)
    {
        return _addressTokens[owner];
    }
    

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


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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        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`),
     */
    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 = ownerOf(tokenId);
        return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender));
    }

    /**
     * @dev Safely mints `tokenId` and transfers it to `to`.
     *
     * Requirements:
     *
     * - 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) internal virtual {
        _safeMint(to, "");
    }

    /**
     * @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,
        bytes memory _data
    ) internal virtual {
        _mint(to);
        require(
            _checkOnERC721Received(address(0), to, currentIndex, _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:
     *
     * - `to` cannot be the zero address.
     *
     * Emits a {Transfer} event.
     */
    function _mint(address to) internal virtual {
        require(to != address(0), "ERC721: mint to the zero address");

        unchecked { ++currentIndex; }

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

        _addressTokens[to].push(currentIndex);
        _owners[currentIndex] = to;

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

    /**
     * @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(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);

        _findAndDelete(from,uint16(tokenId));
        _addressTokens[to].push(uint16(tokenId));
        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);
    }

    function _findAndDelete(address owner, uint16 tokenId) internal {
        uint256 length = _addressTokens[owner].length;
        if (length == 1){
            _addressTokens[owner].pop();
            return;
        }
        unchecked { --length; }
        for (uint i; i < length; ){
            if (_addressTokens[owner][i] == tokenId){
                _addressTokens[owner][i] = _addressTokens[owner][length];
                _addressTokens[owner].pop();
                return;
            }
            unchecked { ++i; }
        }
        _addressTokens[owner].pop();
    }

    /**
     * @dev Approve `to` to operate on `tokenId`
     *
     * Emits a {Approval} event.
     */
    function _approve(address to, uint256 tokenId) internal virtual {
        _tokenApprovals[tokenId] = to;
        emit Approval(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 {
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     *
     * 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`.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}
}

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

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

File 8 of 12 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * 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;

    /**
     * @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 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 the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

    /**
     * @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);
}

File 9 of 12 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"_addressTokens","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"_owners","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"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":"uint16","name":"_tokenId","type":"uint16"}],"name":"isTokenStaked","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"},{"internalType":"uint16[]","name":"_tokenIds","type":"uint16[]"}],"name":"isTrueOwnerOfTokens","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintCoordinator","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"address","name":"_recepient","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"bool","name":"_startStaking","type":"bool"}],"name":"ownerMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"provenance","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"remaining","outputs":[{"internalType":"uint256","name":"nftsRemaining","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reserved","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"revealDate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_recepient","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"bool","name":"_startStaking","type":"bool"}],"name":"saleMint","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":"_newBaseTokenURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newCoordinator","type":"address"}],"name":"setCoordinator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"provenanceHash","type":"string"}],"name":"setProvenanceHash","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newReveal","type":"uint256"}],"name":"setRevealDate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16[]","name":"_tokenIds","type":"uint16[]"}],"name":"stake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stakeAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"stakedIdsByOwner","outputs":[{"internalType":"uint16[]","name":"","type":"uint16[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"stakedNumberByOwner","outputs":[{"internalType":"uint16","name":"stakedCount","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"startingIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"startingIndexBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":[{"internalType":"address","name":"owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint16[]","name":"","type":"uint16[]"}],"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":"uint16[]","name":"_tokenIds","type":"uint16[]"}],"name":"unstake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unstakeAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"unstakedIdsByOwner","outputs":[{"internalType":"uint16[]","name":"","type":"uint16[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"unstakedNumberByOwner","outputs":[{"internalType":"uint16","name":"unstakedCount","type":"uint16"}],"stateMutability":"view","type":"function"}]

60e060405260376080818152906200316c60a0398051620000299160089160209091019062000155565b506040805160208101918290526000908190526200004a9160099162000155565b5064011de75b80600c55612648600d5561028a600e553480156200006d57600080fd5b50604080518082018252600f81526e131b185b585cd8d85c194813185b99608a1b60208083019182528351808501909452600984526813131053505310539160ba1b908401528151919291620000c69160019162000155565b508051620000dc90600290602084019062000155565b505050620000f9620000f3620000ff60201b60201c565b62000103565b62000238565b3390565b600780546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200016390620001fb565b90600052602060002090601f016020900481019282620001875760008555620001d2565b82601f10620001a257805160ff1916838001178555620001d2565b82800160010185558215620001d2579182015b82811115620001d2578251825591602001919060010190620001b5565b50620001e0929150620001e4565b5090565b5b80821115620001e05760008155600101620001e5565b600181811c908216806200021057607f821691505b602082108114156200023257634e487b7160e01b600052602260045260246000fd5b50919050565b612f2480620002486000396000f3fe608060405234801561001057600080fd5b50600436106103155760003560e01c8063715018a6116101a7578063a22cb465116100ee578063d5abeb0111610097578063f2fde38b11610071578063f2fde38b1461067a578063f3daaa661461068d578063fe60d12c146106a057600080fd5b8063d5abeb011461062c578063e36d649814610635578063e985e9c51461063e57600080fd5b8063c87b56dd116100c8578063c87b56dd146105fd578063cb774d4714610610578063ce18a0531461061957600080fd5b8063a22cb465146105c4578063b88d4fde146105d7578063be5ff0e1146105ea57600080fd5b80638ea9811711610150578063976711301161012a5780639767113014610575578063992924a6146105885780639fe43c0f146105b157600080fd5b80638ea981171461054757806391d65b4d1461055a57806395d89b411461056d57600080fd5b8063880b1d0411610181578063880b1d041461051b5780638da5cb5b1461052e5780638dcb40611461053f57600080fd5b8063715018a6146104da578063732b1df5146104e25780638462151c1461050857600080fd5b80632f745c591161026b57806355f804b3116102145780636b7450d5116101ee5780636b7450d51461049f5780636c0360eb146104bf57806370a08231146104c757600080fd5b806355f804b31461046657806357c1af93146104795780636352211e1461048c57600080fd5b806342842e0e1161024557806342842e0e146104385780634f6ccce71461044b57806355234ec01461045e57600080fd5b80632f745c591461040a57806335322f371461041d578063393f1df61461042557600080fd5b80630f7309e8116102cd5780631e08a9e4116102a75780631e08a9e4146103db57806323b872dd146103e45780632bdcfe72146103f757600080fd5b80630f7309e8146103aa57806310969523146103b257806318160ddd146103c557600080fd5b8063081812fc116102fe578063081812fc14610357578063095ea7b3146103825780630c88b7311461039757600080fd5b806301ffc9a71461031a57806306fdde0314610342575b600080fd5b61032d610328366004612b23565b6106a9565b60405190151581526020015b60405180910390f35b61034a610746565b6040516103399190612d2b565b61036a610365366004612c33565b6107d8565b6040516001600160a01b039091168152602001610339565b610395610390366004612a88565b610872565b005b6103956103a5366004612c33565b6109a4565b61034a610a03565b6103956103c0366004612bcf565b610a91565b60005461ffff165b604051908152602001610339565b6103cd600c5481565b6103956103f2366004612958565b610b02565b610395610405366004612aee565b610b89565b6103cd610418366004612a88565b610c45565b610395610d18565b61032d610433366004612a10565b610d89565b610395610446366004612958565b610e2e565b6103cd610459366004612c33565b610e49565b6103cd610ed6565b610395610474366004612b5d565b610ef2565b610395610487366004612aee565b610f58565b61036a61049a366004612c33565b611046565b6104b26104ad36600461290a565b6110d1565b6040516103399190612ce3565b61034a6111bd565b6103cd6104d536600461290a565b6111cc565b610395611266565b6104f56104f036600461290a565b6112cc565b60405161ffff9091168152602001610339565b6104b261051636600461290a565b61131b565b61032d610529366004612c18565b6113af565b6007546001600160a01b031661036a565b6103956113cf565b61039561055536600461290a565b611433565b610395610568366004612ab2565b6114af565b61034a61151d565b6104f561058336600461290a565b61152c565b61036a610596366004612c33565b6003602052600090815260409020546001600160a01b031681565b6103956105bf366004612ab2565b611573565b6103956105d2366004612a5e565b61169c565b6103956105e5366004612994565b611761565b6104b26105f836600461290a565b6117ef565b61034a61060b366004612c33565b6118cf565b6103cd600b5481565b6104f5610627366004612a88565b6119b8565b6103cd600d5481565b6103cd600a5481565b61032d61064c366004612925565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b61039561068836600461290a565b6119ff565b600f5461036a906001600160a01b031681565b6103cd600e5481565b60006001600160e01b031982167f80ac58cd00000000000000000000000000000000000000000000000000000000148061070c57506001600160e01b031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b8061074057507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b03198316145b92915050565b60606001805461075590612dde565b80601f016020809104026020016040519081016040528092919081815260200182805461078190612dde565b80156107ce5780601f106107a3576101008083540402835291602001916107ce565b820191906000526020600020905b8154815290600101906020018083116107b157829003601f168201915b5050505050905090565b6000818152600360205260408120546001600160a01b03166108565760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600560205260409020546001600160a01b031690565b600061087d82611046565b9050806001600160a01b0316836001600160a01b031614156109075760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f7200000000000000000000000000000000000000000000000000000000000000606482015260840161084d565b336001600160a01b03821614806109235750610923813361064c565b6109955760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606482015260840161084d565b61099f8383611ae1565b505050565b6007546001600160a01b031633146109fe5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161084d565b600c55565b60098054610a1090612dde565b80601f0160208091040260200160405190810160405280929190818152602001828054610a3c90612dde565b8015610a895780601f10610a5e57610100808354040283529160200191610a89565b820191906000526020600020905b815481529060010190602001808311610a6c57829003601f168201915b505050505081565b6007546001600160a01b03163314610aeb5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161084d565b8051610afe9060099060208401906126de565b5050565b610b0c3382611b4f565b610b7e5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f766564000000000000000000000000000000606482015260840161084d565b61099f838383611c46565b60005b8151811015610afe57336001600160a01b0316610bc5838381518110610bb457610bb4612eac565b602002602001015161ffff16611046565b6001600160a01b031614610c1b5760405162461bcd60e51b815260206004820152601b60248201527f4e6f74206f776e6564206f7220616c7265616479207374616b65640000000000604482015260640161084d565b610c3d828281518110610c3057610c30612eac565b6020026020010151611dff565b600101610b8c565b6000610c50836111cc565b8210610cc45760405162461bcd60e51b815260206004820152602160248201527f4552433732313a206f776e657220696e646578206f7574206f6620626f756e6460448201527f7300000000000000000000000000000000000000000000000000000000000000606482015260840161084d565b6001600160a01b0383166000908152600460205260409020805483908110610cee57610cee612eac565b60009182526020909120601082040154600f9091166002026101000a900461ffff16905092915050565b6000610d233361131b565b905060005b8151811015610afe57336001600160a01b0316610d50838381518110610bb457610bb4612eac565b6001600160a01b031614610d8157610d8133838381518110610d7457610d74612eac565b6020026020010151611e66565b600101610d28565b6000806000610d978561131b565b905060005b8451811015610e22576000925060005b8251811015610e0857828181518110610dc757610dc7612eac565b602002602001015161ffff16868381518110610de557610de5612eac565b602002602001015161ffff161415610e005760019350610e08565b600101610dac565b5082610e1a5760009350505050610740565b600101610d9c565b50600195945050505050565b61099f83838360405180602001604052806000815250611761565b60008082118015610e60575060005461ffff168211155b610ed25760405162461bcd60e51b815260206004820152602260248201527f4552433732313a20676c6f62616c20696e646578206f7574206f6620626f756e60448201527f6473000000000000000000000000000000000000000000000000000000000000606482015260840161084d565b5090565b6000600e54610ee860005461ffff1690565b600d540303905090565b6007546001600160a01b03163314610f4c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161084d565b61099f6008838361275e565b610f623382610d89565b610fae5760405162461bcd60e51b815260206004820152600960248201527f4e6f74206f776e65640000000000000000000000000000000000000000000000604482015260640161084d565b60005b8151811015610afe57610fdc828281518110610fcf57610fcf612eac565b60200260200101516113af565b6110285760405162461bcd60e51b815260206004820152600a60248201527f4e6f74207374616b656400000000000000000000000000000000000000000000604482015260640161084d565b61103e33838381518110610d7457610d74612eac565b600101610fb1565b6000818152600360205260408120546001600160a01b0316806107405760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e0000000000000000000000000000000000000000000000606482015260840161084d565b606060006110de8361131b565b905060006110eb846112cc565b61ffff16905060008167ffffffffffffffff81111561110c5761110c612ec2565b604051908082528060200260200182016040528015611135578160200160208202803683370190505b5090506000805b84518110156111b25761115a858281518110610fcf57610fcf612eac565b156111aa5784818151811061117157611171612eac565b602002602001015183838151811061118b5761118b612eac565b61ffff909216602092830291909101909101526111a782612e3b565b91505b60010161113c565b509095945050505050565b60606111c7611ec4565b905090565b60006001600160a01b03821661124a5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f206164647265737300000000000000000000000000000000000000000000606482015260840161084d565b506001600160a01b031660009081526004602052604090205490565b6007546001600160a01b031633146112c05760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161084d565b6112ca6000611ed3565b565b6000806112d88361131b565b905060005b8151811015611314576112fb828281518110610fcf57610fcf612eac565b1561130c5761130983612e19565b92505b6001016112dd565b5050919050565b6001600160a01b0381166000908152600460209081526040918290208054835181840281018401909452808452606093928301828280156113a357602002820191906000526020600020906000905b82829054906101000a900461ffff1661ffff168152602001906002019060208260010104928301926001038202915080841161136a5790505b50505050509050919050565b6000306113bf61ffff8416611046565b6001600160a01b03161492915050565b60006113da3361131b565b905060005b8151811015610afe57336001600160a01b0316611407838381518110610bb457610bb4612eac565b6001600160a01b0316141561142b5761142b828281518110610c3057610c30612eac565b6001016113df565b6007546001600160a01b0316331461148d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161084d565b600f80546001600160a01b0319166001600160a01b0392909216919091179055565b600f546001600160a01b0316336001600160a01b0316146115125760405162461bcd60e51b815260206004820152600b60248201527f4e6f7420616c6c6f776564000000000000000000000000000000000000000000604482015260640161084d565b61099f828483611f25565b60606002805461075590612dde565b6000806115388361131b565b905060005b81518110156113145761155b828281518110610fcf57610fcf612eac565b61156b5761156883612e19565b92505b60010161153d565b6007546001600160a01b031633146115cd5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161084d565b600d54826115de60005461ffff1690565b6115e89190612d6f565b11156116365760405162461bcd60e51b815260206004820152601260248201527f45786365656473206d617820737570706c790000000000000000000000000000604482015260640161084d565b600e548211156116885760405162461bcd60e51b815260206004820152601660248201527f416d6f756e742065786365656473207265736572766500000000000000000000604482015260640161084d565b600e8054839003905561099f828483611f25565b6001600160a01b0382163314156116f55760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161084d565b3360008181526006602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b61176b3383611b4f565b6117dd5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f766564000000000000000000000000000000606482015260840161084d565b6117e984848484611f8c565b50505050565b606060006117fc8361131b565b905060006118098461152c565b61ffff16905060008167ffffffffffffffff81111561182a5761182a612ec2565b604051908082528060200260200182016040528015611853578160200160208202803683370190505b5090506000805b84518110156111b257611878858281518110610fcf57610fcf612eac565b6118c75784818151811061188e5761188e612eac565b60200260200101518383815181106118a8576118a8612eac565b61ffff909216602092830291909101909101526118c482612e3b565b91505b60010161185a565b6000818152600360205260409020546060906001600160a01b031661195c5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000606482015260840161084d565b6000611966611ec4565b9050600081511161198657604051806020016040528060008152506119b1565b806119908461200a565b6040516020016119a1929190612c78565b6040516020818303038152906040525b9392505050565b600460205281600052604060002081815481106119d457600080fd5b9060005260206000209060109182820401919006600202915091509054906101000a900461ffff1681565b6007546001600160a01b03163314611a595760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161084d565b6001600160a01b038116611ad55760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161084d565b611ade81611ed3565b50565b600081815260056020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611b1682611046565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600360205260408120546001600160a01b0316611bc85760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161084d565b6000611bd383611046565b9050806001600160a01b0316846001600160a01b03161480611c0e5750836001600160a01b0316611c03846107d8565b6001600160a01b0316145b80611c3e57506001600160a01b0380821660009081526006602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316611c5982611046565b6001600160a01b031614611cd55760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e0000000000000000000000000000000000000000000000606482015260840161084d565b6001600160a01b038216611d505760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f7265737300000000000000000000000000000000000000000000000000000000606482015260840161084d565b611d5b600082611ae1565b611d65838261213c565b6001600160a01b038281166000818152600460209081526040808320805460018101825590845282842060108204018054600f9092166002026101000a61ffff8181021990931692891602919091179055858352600390915280822080546001600160a01b031916841790555184938716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b61ffff8116600081815260036020526040902080546001600160a01b03191630908117909155611e2e82611046565b6001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a450565b61ffff811660008181526003602052604080822080546001600160a01b0319166001600160a01b0387169081179091559051909130917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9190a45050565b60606008805461075590612dde565b600780546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60005b83811015611f5c57611f3983612367565b8115611f5457611f54611f4f60005461ffff1690565b611dff565b600101611f28565b50600a54158015611f7f5750600d5460005461ffff161480611f7f5750600c5442115b1561099f5761099f612380565b611f97848484611c46565b611fa3848484846123f2565b6117e95760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606482015260840161084d565b60608161204a57505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115612074578061205e81612e3b565b915061206d9050600a83612d87565b915061204e565b60008167ffffffffffffffff81111561208f5761208f612ec2565b6040519080825280601f01601f1916602001820160405280156120b9576020820181803683370190505b5090505b8415611c3e576120ce600183612d9b565b91506120db600a86612e56565b6120e6906030612d6f565b60f81b8183815181106120fb576120fb612eac565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350612135600a86612d87565b94506120bd565b6001600160a01b03821660009081526004602052604090205460018114156121b6576001600160a01b038316600090815260046020526040902080548061218557612185612e96565b600082815260209020601060001990920191820401805461ffff6002600f8516026101000a02191690559055505050565b6000190160005b8181101561233f576001600160a01b0384166000908152600460205260409020805461ffff85169190839081106121f6576121f6612eac565b60009182526020909120601082040154600f9091166002026101000a900461ffff161415612337576001600160a01b038416600090815260046020526040902080548390811061224857612248612eac565b90600052602060002090601091828204019190066002029054906101000a900461ffff1660046000866001600160a01b03166001600160a01b0316815260200190815260200160002082815481106122a2576122a2612eac565b90600052602060002090601091828204019190066002026101000a81548161ffff021916908361ffff16021790555060046000856001600160a01b03166001600160a01b0316815260200190815260200160002080548061230557612305612e96565b600082815260209020601060001990920191820401805461ffff6002600f8516026101000a0219169055905550505050565b6001016121bd565b506001600160a01b038316600090815260046020526040902080548061218557612185612e96565b611ade816040518060200160405280600081525061254a565b600a54156123d05760405162461bcd60e51b815260206004820152601a60248201527f5374617274696e6720696e64657820616c726561647920736574000000000000604482015260640161084d565b6123db600143612d9b565b600a819055600d546123ed9140612e56565b600b55565b60006001600160a01b0384163b1561253f57604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612436903390899088908890600401612ca7565b602060405180830381600087803b15801561245057600080fd5b505af1925050508015612480575060408051601f3d908101601f1916820190925261247d91810190612b40565b60015b612525573d8080156124ae576040519150601f19603f3d011682016040523d82523d6000602084013e6124b3565b606091505b50805161251d5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606482015260840161084d565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611c3e565b506001949350505050565b612553826125cf565b600080546125689190849061ffff16846123f2565b610afe5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606482015260840161084d565b6001600160a01b0381166126255760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161084d565b6000805461ffff8082166001011661ffff199091161790556001600160a01b0381166000818152600460209081526040808320835481546001810183559185528385206010830401805461ffff600f9094166002026101000a8481021990911692841602919091179055835481168452600390925280832080546001600160a01b031916851790558254905191169291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a450565b8280546126ea90612dde565b90600052602060002090601f01602090048101928261270c5760008555612752565b82601f1061272557805160ff1916838001178555612752565b82800160010185558215612752579182015b82811115612752578251825591602001919060010190612737565b50610ed29291506127d2565b82805461276a90612dde565b90600052602060002090601f01602090048101928261278c5760008555612752565b82601f106127a55782800160ff19823516178555612752565b82800160010185558215612752579182015b828111156127525782358255916020019190600101906127b7565b5b80821115610ed257600081556001016127d3565b600067ffffffffffffffff83111561280157612801612ec2565b612814601f8401601f1916602001612d3e565b905082815283838301111561282857600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b038116811461285657600080fd5b919050565b600082601f83011261286c57600080fd5b8135602067ffffffffffffffff82111561288857612888612ec2565b8160051b612897828201612d3e565b8381528281019086840183880185018910156128b257600080fd5b600093505b858410156128dc576128c8816128f8565b8352600193909301929184019184016128b7565b50979650505050505050565b8035801515811461285657600080fd5b803561ffff8116811461285657600080fd5b60006020828403121561291c57600080fd5b6119b18261283f565b6000806040838503121561293857600080fd5b6129418361283f565b915061294f6020840161283f565b90509250929050565b60008060006060848603121561296d57600080fd5b6129768461283f565b92506129846020850161283f565b9150604084013590509250925092565b600080600080608085870312156129aa57600080fd5b6129b38561283f565b93506129c16020860161283f565b925060408501359150606085013567ffffffffffffffff8111156129e457600080fd5b8501601f810187136129f557600080fd5b612a04878235602084016127e7565b91505092959194509250565b60008060408385031215612a2357600080fd5b612a2c8361283f565b9150602083013567ffffffffffffffff811115612a4857600080fd5b612a548582860161285b565b9150509250929050565b60008060408385031215612a7157600080fd5b612a7a8361283f565b915061294f602084016128e8565b60008060408385031215612a9b57600080fd5b612aa48361283f565b946020939093013593505050565b600080600060608486031215612ac757600080fd5b612ad08461283f565b925060208401359150612ae5604085016128e8565b90509250925092565b600060208284031215612b0057600080fd5b813567ffffffffffffffff811115612b1757600080fd5b611c3e8482850161285b565b600060208284031215612b3557600080fd5b81356119b181612ed8565b600060208284031215612b5257600080fd5b81516119b181612ed8565b60008060208385031215612b7057600080fd5b823567ffffffffffffffff80821115612b8857600080fd5b818501915085601f830112612b9c57600080fd5b813581811115612bab57600080fd5b866020828501011115612bbd57600080fd5b60209290920196919550909350505050565b600060208284031215612be157600080fd5b813567ffffffffffffffff811115612bf857600080fd5b8201601f81018413612c0957600080fd5b611c3e848235602084016127e7565b600060208284031215612c2a57600080fd5b6119b1826128f8565b600060208284031215612c4557600080fd5b5035919050565b60008151808452612c64816020860160208601612db2565b601f01601f19169290920160200192915050565b60008351612c8a818460208801612db2565b835190830190612c9e818360208801612db2565b01949350505050565b60006001600160a01b03808716835280861660208401525083604083015260806060830152612cd96080830184612c4c565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015612d1f57835161ffff1683529284019291840191600101612cff565b50909695505050505050565b6020815260006119b16020830184612c4c565b604051601f8201601f1916810167ffffffffffffffff81118282101715612d6757612d67612ec2565b604052919050565b60008219821115612d8257612d82612e6a565b500190565b600082612d9657612d96612e80565b500490565b600082821015612dad57612dad612e6a565b500390565b60005b83811015612dcd578181015183820152602001612db5565b838111156117e95750506000910152565b600181811c90821680612df257607f821691505b60208210811415612e1357634e487b7160e01b600052602260045260246000fd5b50919050565b600061ffff80831681811415612e3157612e31612e6a565b6001019392505050565b6000600019821415612e4f57612e4f612e6a565b5060010190565b600082612e6557612e65612e80565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114611ade57600080fdfea2646970667358221220b54f042fe1424f0947eabd5149319a60dad745aac1e5b580794bde5a4b53c15164736f6c6343000807003320697066733a2f2f516d5052634235376f6a474158734d765a537551345554576b66615457474e6d3866644a41615570444563386e652f

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106103155760003560e01c8063715018a6116101a7578063a22cb465116100ee578063d5abeb0111610097578063f2fde38b11610071578063f2fde38b1461067a578063f3daaa661461068d578063fe60d12c146106a057600080fd5b8063d5abeb011461062c578063e36d649814610635578063e985e9c51461063e57600080fd5b8063c87b56dd116100c8578063c87b56dd146105fd578063cb774d4714610610578063ce18a0531461061957600080fd5b8063a22cb465146105c4578063b88d4fde146105d7578063be5ff0e1146105ea57600080fd5b80638ea9811711610150578063976711301161012a5780639767113014610575578063992924a6146105885780639fe43c0f146105b157600080fd5b80638ea981171461054757806391d65b4d1461055a57806395d89b411461056d57600080fd5b8063880b1d0411610181578063880b1d041461051b5780638da5cb5b1461052e5780638dcb40611461053f57600080fd5b8063715018a6146104da578063732b1df5146104e25780638462151c1461050857600080fd5b80632f745c591161026b57806355f804b3116102145780636b7450d5116101ee5780636b7450d51461049f5780636c0360eb146104bf57806370a08231146104c757600080fd5b806355f804b31461046657806357c1af93146104795780636352211e1461048c57600080fd5b806342842e0e1161024557806342842e0e146104385780634f6ccce71461044b57806355234ec01461045e57600080fd5b80632f745c591461040a57806335322f371461041d578063393f1df61461042557600080fd5b80630f7309e8116102cd5780631e08a9e4116102a75780631e08a9e4146103db57806323b872dd146103e45780632bdcfe72146103f757600080fd5b80630f7309e8146103aa57806310969523146103b257806318160ddd146103c557600080fd5b8063081812fc116102fe578063081812fc14610357578063095ea7b3146103825780630c88b7311461039757600080fd5b806301ffc9a71461031a57806306fdde0314610342575b600080fd5b61032d610328366004612b23565b6106a9565b60405190151581526020015b60405180910390f35b61034a610746565b6040516103399190612d2b565b61036a610365366004612c33565b6107d8565b6040516001600160a01b039091168152602001610339565b610395610390366004612a88565b610872565b005b6103956103a5366004612c33565b6109a4565b61034a610a03565b6103956103c0366004612bcf565b610a91565b60005461ffff165b604051908152602001610339565b6103cd600c5481565b6103956103f2366004612958565b610b02565b610395610405366004612aee565b610b89565b6103cd610418366004612a88565b610c45565b610395610d18565b61032d610433366004612a10565b610d89565b610395610446366004612958565b610e2e565b6103cd610459366004612c33565b610e49565b6103cd610ed6565b610395610474366004612b5d565b610ef2565b610395610487366004612aee565b610f58565b61036a61049a366004612c33565b611046565b6104b26104ad36600461290a565b6110d1565b6040516103399190612ce3565b61034a6111bd565b6103cd6104d536600461290a565b6111cc565b610395611266565b6104f56104f036600461290a565b6112cc565b60405161ffff9091168152602001610339565b6104b261051636600461290a565b61131b565b61032d610529366004612c18565b6113af565b6007546001600160a01b031661036a565b6103956113cf565b61039561055536600461290a565b611433565b610395610568366004612ab2565b6114af565b61034a61151d565b6104f561058336600461290a565b61152c565b61036a610596366004612c33565b6003602052600090815260409020546001600160a01b031681565b6103956105bf366004612ab2565b611573565b6103956105d2366004612a5e565b61169c565b6103956105e5366004612994565b611761565b6104b26105f836600461290a565b6117ef565b61034a61060b366004612c33565b6118cf565b6103cd600b5481565b6104f5610627366004612a88565b6119b8565b6103cd600d5481565b6103cd600a5481565b61032d61064c366004612925565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b61039561068836600461290a565b6119ff565b600f5461036a906001600160a01b031681565b6103cd600e5481565b60006001600160e01b031982167f80ac58cd00000000000000000000000000000000000000000000000000000000148061070c57506001600160e01b031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b8061074057507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b03198316145b92915050565b60606001805461075590612dde565b80601f016020809104026020016040519081016040528092919081815260200182805461078190612dde565b80156107ce5780601f106107a3576101008083540402835291602001916107ce565b820191906000526020600020905b8154815290600101906020018083116107b157829003601f168201915b5050505050905090565b6000818152600360205260408120546001600160a01b03166108565760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600560205260409020546001600160a01b031690565b600061087d82611046565b9050806001600160a01b0316836001600160a01b031614156109075760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f7200000000000000000000000000000000000000000000000000000000000000606482015260840161084d565b336001600160a01b03821614806109235750610923813361064c565b6109955760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606482015260840161084d565b61099f8383611ae1565b505050565b6007546001600160a01b031633146109fe5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161084d565b600c55565b60098054610a1090612dde565b80601f0160208091040260200160405190810160405280929190818152602001828054610a3c90612dde565b8015610a895780601f10610a5e57610100808354040283529160200191610a89565b820191906000526020600020905b815481529060010190602001808311610a6c57829003601f168201915b505050505081565b6007546001600160a01b03163314610aeb5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161084d565b8051610afe9060099060208401906126de565b5050565b610b0c3382611b4f565b610b7e5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f766564000000000000000000000000000000606482015260840161084d565b61099f838383611c46565b60005b8151811015610afe57336001600160a01b0316610bc5838381518110610bb457610bb4612eac565b602002602001015161ffff16611046565b6001600160a01b031614610c1b5760405162461bcd60e51b815260206004820152601b60248201527f4e6f74206f776e6564206f7220616c7265616479207374616b65640000000000604482015260640161084d565b610c3d828281518110610c3057610c30612eac565b6020026020010151611dff565b600101610b8c565b6000610c50836111cc565b8210610cc45760405162461bcd60e51b815260206004820152602160248201527f4552433732313a206f776e657220696e646578206f7574206f6620626f756e6460448201527f7300000000000000000000000000000000000000000000000000000000000000606482015260840161084d565b6001600160a01b0383166000908152600460205260409020805483908110610cee57610cee612eac565b60009182526020909120601082040154600f9091166002026101000a900461ffff16905092915050565b6000610d233361131b565b905060005b8151811015610afe57336001600160a01b0316610d50838381518110610bb457610bb4612eac565b6001600160a01b031614610d8157610d8133838381518110610d7457610d74612eac565b6020026020010151611e66565b600101610d28565b6000806000610d978561131b565b905060005b8451811015610e22576000925060005b8251811015610e0857828181518110610dc757610dc7612eac565b602002602001015161ffff16868381518110610de557610de5612eac565b602002602001015161ffff161415610e005760019350610e08565b600101610dac565b5082610e1a5760009350505050610740565b600101610d9c565b50600195945050505050565b61099f83838360405180602001604052806000815250611761565b60008082118015610e60575060005461ffff168211155b610ed25760405162461bcd60e51b815260206004820152602260248201527f4552433732313a20676c6f62616c20696e646578206f7574206f6620626f756e60448201527f6473000000000000000000000000000000000000000000000000000000000000606482015260840161084d565b5090565b6000600e54610ee860005461ffff1690565b600d540303905090565b6007546001600160a01b03163314610f4c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161084d565b61099f6008838361275e565b610f623382610d89565b610fae5760405162461bcd60e51b815260206004820152600960248201527f4e6f74206f776e65640000000000000000000000000000000000000000000000604482015260640161084d565b60005b8151811015610afe57610fdc828281518110610fcf57610fcf612eac565b60200260200101516113af565b6110285760405162461bcd60e51b815260206004820152600a60248201527f4e6f74207374616b656400000000000000000000000000000000000000000000604482015260640161084d565b61103e33838381518110610d7457610d74612eac565b600101610fb1565b6000818152600360205260408120546001600160a01b0316806107405760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e0000000000000000000000000000000000000000000000606482015260840161084d565b606060006110de8361131b565b905060006110eb846112cc565b61ffff16905060008167ffffffffffffffff81111561110c5761110c612ec2565b604051908082528060200260200182016040528015611135578160200160208202803683370190505b5090506000805b84518110156111b25761115a858281518110610fcf57610fcf612eac565b156111aa5784818151811061117157611171612eac565b602002602001015183838151811061118b5761118b612eac565b61ffff909216602092830291909101909101526111a782612e3b565b91505b60010161113c565b509095945050505050565b60606111c7611ec4565b905090565b60006001600160a01b03821661124a5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f206164647265737300000000000000000000000000000000000000000000606482015260840161084d565b506001600160a01b031660009081526004602052604090205490565b6007546001600160a01b031633146112c05760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161084d565b6112ca6000611ed3565b565b6000806112d88361131b565b905060005b8151811015611314576112fb828281518110610fcf57610fcf612eac565b1561130c5761130983612e19565b92505b6001016112dd565b5050919050565b6001600160a01b0381166000908152600460209081526040918290208054835181840281018401909452808452606093928301828280156113a357602002820191906000526020600020906000905b82829054906101000a900461ffff1661ffff168152602001906002019060208260010104928301926001038202915080841161136a5790505b50505050509050919050565b6000306113bf61ffff8416611046565b6001600160a01b03161492915050565b60006113da3361131b565b905060005b8151811015610afe57336001600160a01b0316611407838381518110610bb457610bb4612eac565b6001600160a01b0316141561142b5761142b828281518110610c3057610c30612eac565b6001016113df565b6007546001600160a01b0316331461148d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161084d565b600f80546001600160a01b0319166001600160a01b0392909216919091179055565b600f546001600160a01b0316336001600160a01b0316146115125760405162461bcd60e51b815260206004820152600b60248201527f4e6f7420616c6c6f776564000000000000000000000000000000000000000000604482015260640161084d565b61099f828483611f25565b60606002805461075590612dde565b6000806115388361131b565b905060005b81518110156113145761155b828281518110610fcf57610fcf612eac565b61156b5761156883612e19565b92505b60010161153d565b6007546001600160a01b031633146115cd5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161084d565b600d54826115de60005461ffff1690565b6115e89190612d6f565b11156116365760405162461bcd60e51b815260206004820152601260248201527f45786365656473206d617820737570706c790000000000000000000000000000604482015260640161084d565b600e548211156116885760405162461bcd60e51b815260206004820152601660248201527f416d6f756e742065786365656473207265736572766500000000000000000000604482015260640161084d565b600e8054839003905561099f828483611f25565b6001600160a01b0382163314156116f55760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161084d565b3360008181526006602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b61176b3383611b4f565b6117dd5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f766564000000000000000000000000000000606482015260840161084d565b6117e984848484611f8c565b50505050565b606060006117fc8361131b565b905060006118098461152c565b61ffff16905060008167ffffffffffffffff81111561182a5761182a612ec2565b604051908082528060200260200182016040528015611853578160200160208202803683370190505b5090506000805b84518110156111b257611878858281518110610fcf57610fcf612eac565b6118c75784818151811061188e5761188e612eac565b60200260200101518383815181106118a8576118a8612eac565b61ffff909216602092830291909101909101526118c482612e3b565b91505b60010161185a565b6000818152600360205260409020546060906001600160a01b031661195c5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000606482015260840161084d565b6000611966611ec4565b9050600081511161198657604051806020016040528060008152506119b1565b806119908461200a565b6040516020016119a1929190612c78565b6040516020818303038152906040525b9392505050565b600460205281600052604060002081815481106119d457600080fd5b9060005260206000209060109182820401919006600202915091509054906101000a900461ffff1681565b6007546001600160a01b03163314611a595760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161084d565b6001600160a01b038116611ad55760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161084d565b611ade81611ed3565b50565b600081815260056020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611b1682611046565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600360205260408120546001600160a01b0316611bc85760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161084d565b6000611bd383611046565b9050806001600160a01b0316846001600160a01b03161480611c0e5750836001600160a01b0316611c03846107d8565b6001600160a01b0316145b80611c3e57506001600160a01b0380821660009081526006602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316611c5982611046565b6001600160a01b031614611cd55760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e0000000000000000000000000000000000000000000000606482015260840161084d565b6001600160a01b038216611d505760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f7265737300000000000000000000000000000000000000000000000000000000606482015260840161084d565b611d5b600082611ae1565b611d65838261213c565b6001600160a01b038281166000818152600460209081526040808320805460018101825590845282842060108204018054600f9092166002026101000a61ffff8181021990931692891602919091179055858352600390915280822080546001600160a01b031916841790555184938716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b61ffff8116600081815260036020526040902080546001600160a01b03191630908117909155611e2e82611046565b6001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a450565b61ffff811660008181526003602052604080822080546001600160a01b0319166001600160a01b0387169081179091559051909130917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9190a45050565b60606008805461075590612dde565b600780546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60005b83811015611f5c57611f3983612367565b8115611f5457611f54611f4f60005461ffff1690565b611dff565b600101611f28565b50600a54158015611f7f5750600d5460005461ffff161480611f7f5750600c5442115b1561099f5761099f612380565b611f97848484611c46565b611fa3848484846123f2565b6117e95760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606482015260840161084d565b60608161204a57505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115612074578061205e81612e3b565b915061206d9050600a83612d87565b915061204e565b60008167ffffffffffffffff81111561208f5761208f612ec2565b6040519080825280601f01601f1916602001820160405280156120b9576020820181803683370190505b5090505b8415611c3e576120ce600183612d9b565b91506120db600a86612e56565b6120e6906030612d6f565b60f81b8183815181106120fb576120fb612eac565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350612135600a86612d87565b94506120bd565b6001600160a01b03821660009081526004602052604090205460018114156121b6576001600160a01b038316600090815260046020526040902080548061218557612185612e96565b600082815260209020601060001990920191820401805461ffff6002600f8516026101000a02191690559055505050565b6000190160005b8181101561233f576001600160a01b0384166000908152600460205260409020805461ffff85169190839081106121f6576121f6612eac565b60009182526020909120601082040154600f9091166002026101000a900461ffff161415612337576001600160a01b038416600090815260046020526040902080548390811061224857612248612eac565b90600052602060002090601091828204019190066002029054906101000a900461ffff1660046000866001600160a01b03166001600160a01b0316815260200190815260200160002082815481106122a2576122a2612eac565b90600052602060002090601091828204019190066002026101000a81548161ffff021916908361ffff16021790555060046000856001600160a01b03166001600160a01b0316815260200190815260200160002080548061230557612305612e96565b600082815260209020601060001990920191820401805461ffff6002600f8516026101000a0219169055905550505050565b6001016121bd565b506001600160a01b038316600090815260046020526040902080548061218557612185612e96565b611ade816040518060200160405280600081525061254a565b600a54156123d05760405162461bcd60e51b815260206004820152601a60248201527f5374617274696e6720696e64657820616c726561647920736574000000000000604482015260640161084d565b6123db600143612d9b565b600a819055600d546123ed9140612e56565b600b55565b60006001600160a01b0384163b1561253f57604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612436903390899088908890600401612ca7565b602060405180830381600087803b15801561245057600080fd5b505af1925050508015612480575060408051601f3d908101601f1916820190925261247d91810190612b40565b60015b612525573d8080156124ae576040519150601f19603f3d011682016040523d82523d6000602084013e6124b3565b606091505b50805161251d5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606482015260840161084d565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611c3e565b506001949350505050565b612553826125cf565b600080546125689190849061ffff16846123f2565b610afe5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606482015260840161084d565b6001600160a01b0381166126255760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161084d565b6000805461ffff8082166001011661ffff199091161790556001600160a01b0381166000818152600460209081526040808320835481546001810183559185528385206010830401805461ffff600f9094166002026101000a8481021990911692841602919091179055835481168452600390925280832080546001600160a01b031916851790558254905191169291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a450565b8280546126ea90612dde565b90600052602060002090601f01602090048101928261270c5760008555612752565b82601f1061272557805160ff1916838001178555612752565b82800160010185558215612752579182015b82811115612752578251825591602001919060010190612737565b50610ed29291506127d2565b82805461276a90612dde565b90600052602060002090601f01602090048101928261278c5760008555612752565b82601f106127a55782800160ff19823516178555612752565b82800160010185558215612752579182015b828111156127525782358255916020019190600101906127b7565b5b80821115610ed257600081556001016127d3565b600067ffffffffffffffff83111561280157612801612ec2565b612814601f8401601f1916602001612d3e565b905082815283838301111561282857600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b038116811461285657600080fd5b919050565b600082601f83011261286c57600080fd5b8135602067ffffffffffffffff82111561288857612888612ec2565b8160051b612897828201612d3e565b8381528281019086840183880185018910156128b257600080fd5b600093505b858410156128dc576128c8816128f8565b8352600193909301929184019184016128b7565b50979650505050505050565b8035801515811461285657600080fd5b803561ffff8116811461285657600080fd5b60006020828403121561291c57600080fd5b6119b18261283f565b6000806040838503121561293857600080fd5b6129418361283f565b915061294f6020840161283f565b90509250929050565b60008060006060848603121561296d57600080fd5b6129768461283f565b92506129846020850161283f565b9150604084013590509250925092565b600080600080608085870312156129aa57600080fd5b6129b38561283f565b93506129c16020860161283f565b925060408501359150606085013567ffffffffffffffff8111156129e457600080fd5b8501601f810187136129f557600080fd5b612a04878235602084016127e7565b91505092959194509250565b60008060408385031215612a2357600080fd5b612a2c8361283f565b9150602083013567ffffffffffffffff811115612a4857600080fd5b612a548582860161285b565b9150509250929050565b60008060408385031215612a7157600080fd5b612a7a8361283f565b915061294f602084016128e8565b60008060408385031215612a9b57600080fd5b612aa48361283f565b946020939093013593505050565b600080600060608486031215612ac757600080fd5b612ad08461283f565b925060208401359150612ae5604085016128e8565b90509250925092565b600060208284031215612b0057600080fd5b813567ffffffffffffffff811115612b1757600080fd5b611c3e8482850161285b565b600060208284031215612b3557600080fd5b81356119b181612ed8565b600060208284031215612b5257600080fd5b81516119b181612ed8565b60008060208385031215612b7057600080fd5b823567ffffffffffffffff80821115612b8857600080fd5b818501915085601f830112612b9c57600080fd5b813581811115612bab57600080fd5b866020828501011115612bbd57600080fd5b60209290920196919550909350505050565b600060208284031215612be157600080fd5b813567ffffffffffffffff811115612bf857600080fd5b8201601f81018413612c0957600080fd5b611c3e848235602084016127e7565b600060208284031215612c2a57600080fd5b6119b1826128f8565b600060208284031215612c4557600080fd5b5035919050565b60008151808452612c64816020860160208601612db2565b601f01601f19169290920160200192915050565b60008351612c8a818460208801612db2565b835190830190612c9e818360208801612db2565b01949350505050565b60006001600160a01b03808716835280861660208401525083604083015260806060830152612cd96080830184612c4c565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015612d1f57835161ffff1683529284019291840191600101612cff565b50909695505050505050565b6020815260006119b16020830184612c4c565b604051601f8201601f1916810167ffffffffffffffff81118282101715612d6757612d67612ec2565b604052919050565b60008219821115612d8257612d82612e6a565b500190565b600082612d9657612d96612e80565b500490565b600082821015612dad57612dad612e6a565b500390565b60005b83811015612dcd578181015183820152602001612db5565b838111156117e95750506000910152565b600181811c90821680612df257607f821691505b60208210811415612e1357634e487b7160e01b600052602260045260246000fd5b50919050565b600061ffff80831681811415612e3157612e31612e6a565b6001019392505050565b6000600019821415612e4f57612e4f612e6a565b5060010190565b600082612e6557612e65612e80565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114611ade57600080fdfea2646970667358221220b54f042fe1424f0947eabd5149319a60dad745aac1e5b580794bde5a4b53c15164736f6c63430008070033

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.