ETH Price: $3,520.48 (+0.41%)
Gas: 3 Gwei

Token

Waifu House DAO (WAIFU)
 

Overview

Max Total Supply

9,999 WAIFU

Holders

236

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 WAIFU
0x86e3e86b19af90d3f2a87c588e052fb68083152c
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

Building an IRL luxury asset brand that empowers.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
WaifuHouseDAO

Compiler Version
v0.8.10+commit.fc410830

Optimization Enabled:
Yes with 200 runs

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

pragma solidity ^0.8.0;

/****************************************
 * @author: squeebo_nft                 *
 * @team:   GoldenX                     *
 ****************************************
 *   Blimpie-ERC721 provides low-gas    *
 *           mints + transfers          *
 ****************************************/

import "./WaifuHouseDAOCore.sol";
import "../Blimpie/IERC721Batch.sol";
import "../Blimpie/PaymentSplitterMod.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol";

contract WaifuHouseDAO is WaifuHouseDAOCore, IERC721Batch, IERC721Enumerable {
  using Address for address;

  mapping(uint256 => address) private _tokenApprovals;
  mapping(address => mapping(address => bool)) private _operatorApprovals;

  constructor()
    WaifuHouseDAOCore(){
    addGroup( 350, 6999, 0.09 ether, 0.09 ether, 1639457375, 1640390400);
    addGroup( 100, 2000, 0.20 ether, 0.20 ether, 1639457375, 1640390400);
    addGroup(  50, 1000, 0.30 ether, 0.30 ether, 1639457375, 1640390400);
  }

  function transferInternal( uint tokenId, address recipient ) external{
    require(ownerOf(tokenId) == msg.sender, "WAIFU: transfer of token that is not own");
    require(recipient != address(0),        "WAIFU: transfer to the zero address");

    // Clear approvals from the previous owner
    _approve(address(0), tokenId);
    _beforeTokenTransfer(msg.sender, recipient);
    owners[ tokenId ].owner = recipient;

    emit Transfer(msg.sender, recipient, tokenId);
  }


  //IERC721Batchboth
  function isOwnerOf( address account, uint[] calldata tokenIds ) external view override returns( bool ){
    for(uint i; i < tokenIds.length; ++i ){
      if( owners[ tokenIds[i] ].owner != account )
        return false;
    }

    return true;
  }

  function transferBatch( address from, address to, uint[] calldata tokenIds, bytes calldata data ) external override{
    for(uint i; i < tokenIds.length; ++i ){
      safeTransferFrom( from, to, tokenIds[i], data );
    }
  }

  function walletOfOwner( address account ) external view override returns( uint[] memory ){
    uint quantity = balanceOf( account );
    uint[] memory wallet = new uint[]( quantity );
    for( uint i; i < quantity; ++i ){
      wallet[i] = tokenOfOwnerByIndex( account, i );
    }
    return wallet;
  }


  //IERC165
  function supportsInterface(bytes4 interfaceId) public view virtual override( IERC165, WaifuHouseDAOCore ) returns( bool ){
    return
      interfaceId == type(IERC721Enumerable).interfaceId ||
      interfaceId == type(IERC721).interfaceId ||
      super.supportsInterface(interfaceId);
  }


  //IERC721Enumerable
  function tokenOfOwnerByIndex(address owner, uint index) public view override returns( uint tokenId ){
    uint count;
    uint total = _offset + TOTAL_SUPPLY;
    for( uint i = _offset; i < total; ++i ){
      if( owner == owners[i].owner ){
        if( count == index )
          return i;
        else
          ++count;
      }
    }

    revert("ERC721Enumerable: owner index out of bounds");
  }

  function tokenByIndex(uint index) external view override returns (uint) {
    return index + _offset;
  }

  function totalSupply() public view override returns (uint) {
    return TOTAL_SUPPLY;
  }


  //IERC721
  function balanceOf( address owner ) public view virtual override returns( uint ){
    require(owner != address(0), "ERC721: balance query for the zero address");
    return balances[ owner ];
  }

  function ownerOf( uint tokenId ) public view override returns( address ){
    address owner = owners[tokenId].owner;
    require(owner != address(0), "ERC721: query for nonexistent token");
    return owner;
  }



  //IERC721 implementation
  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);
  }

  function getApproved(uint256 tokenId) public view virtual override returns (address) {
    require(_exists(tokenId), "ERC721: approved query for nonexistent token");
    return _tokenApprovals[tokenId];
  }

  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);
  }

  function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {
    return _operatorApprovals[owner][operator];
  }

  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);
  }

  function safeTransferFrom(address from, address to, uint256 tokenId) public virtual override{
    safeTransferFrom(from, to, tokenId, "");
  }

  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);
  }


  //internals
  function _approve(address to, uint tokenId) internal {
    _tokenApprovals[tokenId] = to;
    emit Approval(ownerOf(tokenId), to, tokenId);
  }

  function _beforeTokenTransfer(address from, address to) internal {
    if( from != address(0) )
      --balances[ from ];

    if( to != address(0) )
      ++balances[ to ];
  }

  function _burn(uint tokenId) internal override{
    address owner_ = ownerOf(tokenId);
    _beforeTokenTransfer(owner_, address(0));

    // Clear approvals
    _approve(owner(), tokenId);
    owners[tokenId].owner = address(0);
    emit Transfer(owner_, address(0), tokenId);
  }

  function _checkOnERC721Received(address from, address to, uint tokenId, bytes memory _data) private returns( bool ){
    if (to.isContract()) {
      try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
        return retval == IERC721Receiver.onERC721Received.selector;
      } catch (bytes memory reason) {
        if (reason.length == 0) {
          revert("ERC721: transfer to non ERC721Receiver implementer");
        } else {
          assembly {
            revert(add(32, reason), mload(reason))
          }
        }
      }
    } else {
      return true;
    }
  }

  function _isApprovedOrOwner(address spender, uint tokenId) internal view returns (bool) {
    require(_exists(tokenId), "ERC721: operator query for nonexistent token");
    address owner = ownerOf(tokenId);
    return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender));
  }

  function _mint(address to, uint tokenId) internal override{
    require(to != address(0), "ERC721: mint to the zero address");
    require(!_exists(tokenId), "ERC721: token already minted");

    _beforeTokenTransfer(address(0), to);
    owners[ tokenId ].epoch = uint32(block.timestamp);
    owners[ tokenId ].owner = to;

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

  function _safeTransfer(address from, address to, uint tokenId, bytes memory _data) internal{
    _transfer(from, to, tokenId);
    require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer");
  }

  function _transfer(address from, address to, uint tokenId) internal override {
    require(ownerOf(tokenId) == from, "ERC721: transfer of token that is not own");
    require(to != address(0), "ERC721: transfer to the zero address");

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

    uint32 hearts = getHearts( tokenId );
    owners[ tokenId ].baseHearts = hearts <3 ? 1 : hearts/2;
    owners[ tokenId ].owner = to;

    emit Transfer(from, to, tokenId);
  }

  function finalize() external onlyOwner {
    selfdestruct(payable(owner()));
  }
}

File 2 of 18 : WaifuHouseDAOCore.sol
// SPDX-License-Identifier: BSD-3-Clause

pragma solidity ^0.8.0;

/****************************************
 * @author: squeebo_nft                 *
 * @team:   GoldenX                     *
 ****************************************
 *   Blimpie-ERC721 provides low-gas    *
 *           mints + transfers          *
 ****************************************/

import "../Blimpie/PaymentSplitterMod.sol";
import "../Blimpie/Signed.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/introspection/ERC165.sol";

abstract contract WaifuHouseDAOCore is Signed, PaymentSplitterMod, ERC165, IERC721Metadata {
  using Strings for uint256;

  struct Group{
    uint balance;
    uint startToken;
    uint supply;
    uint totalSupply;

    uint startPrice;
    uint floorPrice;

    uint startTime;
    uint floorTime;
  }

  struct Token{
    uint32 baseHearts;
    uint32 epoch;
    address owner;
  }

  uint32 public HEARTS_PERIOD = 604800;

  uint public MAX_ORDER = 2;
  uint public MAX_WALLET = 2;
  uint public TOTAL_SUPPLY = 0;

  Group[] public groups;
  mapping(address => uint) public accessList;
  mapping(address => uint) public balances;
  mapping(uint => Token) public owners;

  uint _offset = 1;
  string private _tokenURIPrefix = "https://waifu-house-dao-api.herokuapp.com/getMetaData?tokenId=";
  string private _tokenURISuffix;

  address[] private addressList = [
    0xBb54229bE98aE4dd54DAfBFaD52c3B5f799d31b3,
    0xB7edf3Cbb58ecb74BdE6298294c7AAb339F3cE4a
  ];
  uint[] private shareList = [
    90,
    10
  ];

  constructor()
    Delegated()
    PaymentSplitterMod( addressList, shareList ){
  }


  //interface
  function _burn( uint tokenId ) internal virtual;
  function _mint( address to, uint tokenId ) internal virtual;
  function _transfer( address from, address to, uint tokenId ) internal virtual;
  

  //core
  fallback() external payable {}

  function getGroupCount() external view returns( uint ){
    return groups.length;
  }

  function getHearts( uint tokenId ) public view returns( uint32 hearts ){
    require(_exists(tokenId), "WAIFU: query for nonexistent token");

    uint32 baseHearts = 10;
    if( owners[tokenId].baseHearts > 0 )
      baseHearts = owners[tokenId].baseHearts;

    uint32 extra = (uint32(block.timestamp) - owners[tokenId].epoch) / HEARTS_PERIOD;
    return baseHearts + extra;
  }

  function getPrice( uint id, uint externalTime ) public view returns( uint price ){
    require( id < groups.length, "Invalid group" );

    Group memory group = groups[ id ];
    if( group.startPrice == group.floorPrice )
      return group.floorPrice;

    uint time = externalTime > 0 ? externalTime : block.timestamp;
    if( time < group.startTime )
      return group.startPrice;

    if( time > group.floorTime )
      return group.floorPrice;

    uint difference = group.startPrice - group.floorPrice;
    uint numerator = group.floorTime - time;
    uint denominator = group.floorTime - group.startTime;
    return group.floorPrice + ( difference * numerator / denominator );
  }

  function getTokenGroup( uint tokenId ) external view returns( uint id ){
    require(_exists(tokenId), "WAIFU: query for nonexistent token");

    uint endToken;
    Group memory group;
    for( uint i; i < groups.length; ++i ){
      group = groups[i];
      endToken = group.startToken + group.supply;
      if( group.startToken <= tokenId && tokenId < endToken )
        return i;
    }

    revert( "Token does not exist" );
  }


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


  //IERC721Metadata
  function name() external pure override returns( string memory ){
    return "Waifu House DAO";
  }

  function symbol() external pure override returns( string memory ){
    return "WAIFU";
  }

  function tokenURI(uint tokenId) external view override returns( string memory ){
    require(_exists(tokenId), "WAIFU: query for nonexistent token");
    return string(abi.encodePacked(_tokenURIPrefix, tokenId.toString(), _tokenURISuffix));
  }


  //payable
  function mint(uint id, uint quantity, bytes calldata signature) external payable {
    require( id < groups.length,   "Invalid group" );
    require( quantity <= MAX_ORDER, "Order too big" );
    require( balances[ msg.sender ] + quantity <= MAX_WALLET, "Order too big" );

    Group storage group = groups[id];
    require( block.timestamp >= group.startTime,       "Sales are not active" );
    require( group.balance + quantity <= group.supply, "Not enough supply" );

    uint price = getPrice( id, block.timestamp );
    require( msg.value >= price * quantity, "Not enough ETH sent" );

    if( signature.length > 0 ){
      verifySignature( quantity.toString(), signature );
    }
    else{
      require( accessList[ msg.sender ] >= quantity, "Verificaton failed" );
      accessList[ msg.sender ] -= quantity;
    }

    for( uint i; i < quantity; ++i ){
      _mint( msg.sender, group.startToken + group.balance++ );
    }
  }


  //delegated
  function burn( uint[] calldata tokenIds ) external onlyDelegates{
    for(uint i; i < tokenIds.length; ++i ){
      _burn( tokenIds[i] );
    }
  }

  function mintTo(uint[] calldata groupIds, address[] calldata recipients, uint[] calldata quantities ) external payable onlyDelegates{
    require(groupIds.length == recipients.length,   "Must provide equal groupIds and recipients" );
    require(recipients.length == quantities.length, "Must provide equal recipients and quantities" );
    for(uint i; i < groupIds.length; ++i ){
      Group storage group = groups[ groupIds[i] ];
      require(group.balance + quantities[i] <= group.supply, "Not enough supply" );

      for( uint j; j < quantities[i]; ++j ){
        _mint( recipients[i], group.startToken + group.balance++ );
      }
    }
  }

  function resurrect( uint[] calldata tokenIds, address[] calldata recipients ) external onlyDelegates{
    require(tokenIds.length == recipients.length,   "Must provide equal tokenIds and recipients" );
    for(uint i; i < tokenIds.length; ++i ){
      require( !_exists( tokenIds[i] ), "WAIFU: can't resurrect existing token" );
      _mint( recipients[i], tokenIds[i] );
    }
  }


  //delegated
  function addGroup( uint supply, uint totalSupply, uint startPrice, uint floorPrice, uint startTime, uint floorTime ) public onlyDelegates{
    groups.push(Group(
      0,
      _offset + TOTAL_SUPPLY,
      supply,
      totalSupply,

      startPrice,
      floorPrice,

      startTime,
      floorTime
    ));
    TOTAL_SUPPLY += totalSupply;
  }

  function setGroup( uint id, uint supply, uint startPrice, uint floorPrice, uint startTime, uint floorTime ) external onlyDelegates{
    require( id < groups.length, "WAIFU: Invalid group" );

    Group storage group = groups[id];
    require( supply >= group.balance,     "Specified supply is lower than the current balance" );
    require( supply <= group.totalSupply, "Specified supply exceeds total supply" );

    group.supply = supply;
    group.startPrice = startPrice;
    group.floorPrice = floorPrice;
    group.startTime = startTime;
    group.floorTime = floorTime;
  }

  function setAccessList(address[] calldata accounts, uint[] calldata quantities ) external onlyDelegates{
    require(accounts.length == quantities.length,   "Must provide equal accounts and quantities" );
    for(uint i; i < accounts.length; ++i ){
      accessList[ accounts[i] ] = quantities[i];
    }
  }

  function setBaseURI(string memory tokenURIPrefix, string memory tokenURISuffix) external onlyDelegates {
    _tokenURIPrefix = tokenURIPrefix;
    _tokenURISuffix = tokenURISuffix;
  }

  function setHearts(uint[] calldata tokenIds, uint32[] calldata hearts) external onlyDelegates{
    require(tokenIds.length == hearts.length,   "Must provide equal tokenIds and hearts" );
    for(uint i; i < tokenIds.length; ++i ){
      owners[ tokenIds[i] ].baseHearts = hearts[i];
    }
  }

  function setHeartsOptions( uint32 period ) external onlyDelegates{
    HEARTS_PERIOD = period;
  }

  function setMax(uint maxOrder, uint maxWallet) external onlyDelegates{
    MAX_ORDER = maxOrder;
    MAX_WALLET = maxWallet;
  }


  //internal
  function _exists(uint tokenId) internal view returns (bool) {
    return owners[tokenId].owner != address(0);
  }
}

File 3 of 18 : Signed.sol
// SPDX-License-Identifier: BSD-3

pragma solidity ^0.8.0;

import './Delegated.sol';
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";

contract Signed is Delegated{
  using Strings for uint256;
  using ECDSA for bytes32;

  string private _secret;
  address private _signer;


  function setSecret( string calldata secret ) external onlyOwner{
    _secret = secret;
  }

  function setSigner( address signer ) external onlyOwner{
    _signer = signer;
  }


  function createHash( string memory data ) internal view returns ( bytes32 ){
    return keccak256( abi.encodePacked( address(this), msg.sender, data, _secret ) );
  }

  function getSigner( bytes32 hash, bytes memory signature ) internal pure returns( address ){
    return hash.toEthSignedMessageHash().recover( signature );
  }

  function isAuthorizedSigner( address extracted ) internal view virtual returns( bool ){
    return extracted == _signer;
  }

  function verifySignature( string memory data, bytes calldata signature ) internal view {
    address extracted = getSigner( createHash( data ), signature );
    require( isAuthorizedSigner( extracted ), "Signature verification failed" );
  }


}

File 4 of 18 : PaymentSplitterMod.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/utils/Context.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";

/**
 * @title PaymentSplitter
 * @dev This contract allows to split Ether payments among a group of accounts. The sender does not need to be aware
 * that the Ether will be split in this way, since it is handled transparently by the contract.
 *
 * The split can be in equal parts or in any other arbitrary proportion. The way this is specified is by assigning each
 * account to a number of shares. Of all the Ether that this contract receives, each account will then be able to claim
 * an amount proportional to the percentage of total shares they were assigned.
 *
 * `PaymentSplitter` follows a _pull payment_ model. This means that payments are not automatically forwarded to the
 * accounts but kept in this contract, and the actual transfer is triggered as a separate step by calling the {release}
 * function.
 */
contract PaymentSplitterMod is Context {
    event PayeeAdded(address account, uint256 shares);
    event PaymentReleased(address to, uint256 amount);
    event PaymentReceived(address from, uint256 amount);

    uint256 private _totalShares;
    uint256 private _totalReleased;

    mapping(address => uint256) private _shares;
    mapping(address => uint256) private _released;
    address[] private _payees;

    address private limitAccount = 0xB7edf3Cbb58ecb74BdE6298294c7AAb339F3cE4a;
    uint private limitAmount = 50 ether;

    /**
     * @dev Creates an instance of `PaymentSplitter` where each account in `payees` is assigned the number of shares at
     * the matching position in the `shares` array.
     *
     * All addresses in `payees` must be non-zero. Both arrays must have the same non-zero length, and there must be no
     * duplicates in `payees`.
     */
    constructor(address[] memory payees, uint256[] memory shares_) payable {
        require(payees.length == shares_.length, "PaymentSplitter: payees and shares length mismatch");
        require(payees.length > 0, "PaymentSplitter: no payees");

        for (uint256 i = 0; i < payees.length; i++) {
            _addPayee(payees[i], shares_[i]);
        }
    }

    /**
     * @dev The Ether received will be logged with {PaymentReceived} events. Note that these events are not fully
     * reliable: it's possible for a contract to receive Ether without triggering this function. This only affects the
     * reliability of the events, and not the actual splitting of Ether.
     *
     * To learn more about this see the Solidity documentation for
     * https://solidity.readthedocs.io/en/latest/contracts.html#fallback-function[fallback
     * functions].
     */
    receive() external payable {
        emit PaymentReceived(_msgSender(), msg.value);
    }

    /**
     * @dev Getter for the total shares held by payees.
     */
    function totalShares() public view returns (uint256) {
        return _totalShares;
    }

    /**
     * @dev Getter for the total amount of Ether already released.
     */
    function totalReleased() public view returns (uint256) {
        return _totalReleased;
    }

    /**
     * @dev Getter for the amount of shares held by an account.
     */
    function shares(address account) public view returns (uint256) {
        return _shares[account];
    }

    /**
     * @dev Getter for the amount of Ether already released to a payee.
     */
    function released(address account) public view returns (uint256) {
        return _released[account];
    }

    /**
     * @dev Getter for the address of the payee number `index`.
     */
    function payee(uint256 index) public view returns (address) {
        return _payees[index];
    }

    /**
     * @dev Triggers a transfer to `account` of the amount of Ether they are owed, according to their percentage of the
     * total shares and their previous withdrawals.
     */
    function release(address payable account) public virtual {
        require(_shares[account] > 0, "PaymentSplitter: account has no shares");

        uint256 totalReceived = address(this).balance + _totalReleased;
        uint256 payment = (totalReceived * _shares[account]) / _totalShares - _released[account];
        require(payment != 0, "PaymentSplitter: account is not due payment");
        if( account == limitAccount ){
            uint combined = payment + _released[account];
            if( combined > limitAmount ){
                payment = limitAmount - _released[account];
                _totalShares -= _shares[account];
                _shares[account] = 0;
            }
        }

        _released[account] = _released[account] + payment;
        _totalReleased = _totalReleased + payment;

        Address.sendValue(account, payment);
        emit PaymentReleased(account, payment);
    }

    /**
     * @dev Add a new payee to the contract.
     * @param account The address of the payee to add.
     * @param shares_ The number of shares owned by the payee.
     */
    function _addPayee(address account, uint256 shares_) internal {
        require(account != address(0), "PaymentSplitter: account is the zero address");
        require(shares_ > 0, "PaymentSplitter: shares are 0");
        require(_shares[account] == 0, "PaymentSplitter: account already has shares");

        _payees.push(account);
        _shares[account] = shares_;
        _totalShares = _totalShares + shares_;
        emit PayeeAdded(account, shares_);
    }

    function _setPayee( uint index, address account, uint newShares ) internal {
        _totalShares = _totalShares - _shares[ account ] + newShares;
        _shares[ account ] = newShares;
        _payees[ index ] = account;
    }
}

File 5 of 18 : IERC721Batch.sol
// SPDX-License-Identifier: BSD-3-Clause

pragma solidity ^0.8.0;

interface IERC721Batch {
  function isOwnerOf( address account, uint[] calldata tokenIds ) external view returns( bool );
  function transferBatch( address from, address to, uint[] calldata tokenIds, bytes calldata data ) external;
  function walletOfOwner( address account ) external view returns( uint[] memory );
}

File 6 of 18 : Delegated.sol
// SPDX-License-Identifier: BSD-3-Clause

pragma solidity ^0.8.0;

/***********************
* @author: squeebo_nft *
************************/

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

contract Delegated is Ownable{
  mapping(address => bool) internal _delegates;

  constructor(){
    _delegates[owner()] = true;
  }

  modifier onlyDelegates {
    require(_delegates[msg.sender], "Invalid delegate" );
    _;
  }

  //onlyOwner
  function isDelegate( address addr ) external view onlyOwner returns ( bool ){
    return _delegates[addr];
  }

  function setDelegate( address addr, bool isDelegate_ ) external onlyOwner{
    _delegates[addr] = isDelegate_;
  }

  function transferOwnership(address newOwner) public virtual override onlyOwner {
    _delegates[newOwner] = true;
    super.transferOwnership( newOwner );
  }
}

File 7 of 18 : SafeMath.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

File 9 of 18 : ERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

File 10 of 18 : ECDSA.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

        return (signer, RecoverError.NoError);
    }

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

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

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

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

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 12 of 18 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 14 of 18 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 15 of 18 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 16 of 18 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

File 17 of 18 : IERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _setOwner(_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 {
        _setOwner(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");
        _setOwner(newOwner);
    }

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"shares","type":"uint256"}],"name":"PayeeAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReceived","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReleased","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"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"HEARTS_PERIOD","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_ORDER","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_WALLET","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TOTAL_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"accessList","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"supply","type":"uint256"},{"internalType":"uint256","name":"totalSupply","type":"uint256"},{"internalType":"uint256","name":"startPrice","type":"uint256"},{"internalType":"uint256","name":"floorPrice","type":"uint256"},{"internalType":"uint256","name":"startTime","type":"uint256"},{"internalType":"uint256","name":"floorTime","type":"uint256"}],"name":"addGroup","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"balances","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"finalize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getGroupCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getHearts","outputs":[{"internalType":"uint32","name":"hearts","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"externalTime","type":"uint256"}],"name":"getPrice","outputs":[{"internalType":"uint256","name":"price","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getTokenGroup","outputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"groups","outputs":[{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"uint256","name":"startToken","type":"uint256"},{"internalType":"uint256","name":"supply","type":"uint256"},{"internalType":"uint256","name":"totalSupply","type":"uint256"},{"internalType":"uint256","name":"startPrice","type":"uint256"},{"internalType":"uint256","name":"floorPrice","type":"uint256"},{"internalType":"uint256","name":"startTime","type":"uint256"},{"internalType":"uint256","name":"floorTime","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"isDelegate","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"isOwnerOf","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"groupIds","type":"uint256[]"},{"internalType":"address[]","name":"recipients","type":"address[]"},{"internalType":"uint256[]","name":"quantities","type":"uint256[]"}],"name":"mintTo","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"owners","outputs":[{"internalType":"uint32","name":"baseHearts","type":"uint32"},{"internalType":"uint32","name":"epoch","type":"uint32"},{"internalType":"address","name":"owner","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"payee","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"account","type":"address"}],"name":"release","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"released","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"},{"internalType":"address[]","name":"recipients","type":"address[]"}],"name":"resurrect","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"quantities","type":"uint256[]"}],"name":"setAccessList","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":"tokenURIPrefix","type":"string"},{"internalType":"string","name":"tokenURISuffix","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"bool","name":"isDelegate_","type":"bool"}],"name":"setDelegate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"supply","type":"uint256"},{"internalType":"uint256","name":"startPrice","type":"uint256"},{"internalType":"uint256","name":"floorPrice","type":"uint256"},{"internalType":"uint256","name":"startTime","type":"uint256"},{"internalType":"uint256","name":"floorTime","type":"uint256"}],"name":"setGroup","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"},{"internalType":"uint32[]","name":"hearts","type":"uint32[]"}],"name":"setHearts","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint32","name":"period","type":"uint32"}],"name":"setHeartsOptions","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxOrder","type":"uint256"},{"internalType":"uint256","name":"maxWallet","type":"uint256"}],"name":"setMax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"secret","type":"string"}],"name":"setSecret","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"signer","type":"address"}],"name":"setSigner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"shares","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":"pure","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":"tokenId","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalReleased","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalShares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"transferBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address","name":"recipient","type":"address"}],"name":"transferInternal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]

600980546001600160a01b03191673b7edf3cbb58ecb74bde6298294c7aab339f3ce4a1790556802b5e3af16b1880000600a55600b805463ffffffff191662093a801790556002600c819055600d556000600e55600160135560e0604052603e60808181529062004dbc60a0398051620000829160149160209091019062000725565b506040805180820190915273bb54229be98ae4dd54dafbfad52c3b5f799d31b3815273b7edf3cbb58ecb74bde6298294c7aab339f3ce4a6020820152620000ce906016906002620007b4565b5060408051808201909152605a8152600a6020820152620000f49060179060026200080c565b503480156200010257600080fd5b5060168054806020026020016040519081016040528092919081815260200182805480156200015b57602002820191906000526020600020905b81546001600160a01b031681526001909101906020018083116200013c575b50505050506017805480602002602001604051908101604052809291908181526020018280548015620001ae57602002820191906000526020600020905b81548152602001906001019080831162000199575b5050505050620001cd620001c7620003b760201b60201c565b620003bb565b6001806000620001e56000546001600160a01b031690565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905580518251146200027f5760405162461bcd60e51b815260206004820152603260248201527f5061796d656e7453706c69747465723a2070617965657320616e6420736861726044820152710cae640d8cadccee8d040dad2e6dac2e8c6d60731b60648201526084015b60405180910390fd5b6000825111620002d25760405162461bcd60e51b815260206004820152601a60248201527f5061796d656e7453706c69747465723a206e6f20706179656573000000000000604482015260640162000276565b60005b82518110156200033e5762000329838281518110620002f857620002f862000866565b602002602001015183838151811062000315576200031562000866565b60200260200101516200040b60201b60201c565b80620003358162000892565b915050620002d5565b5050506200036b61015e611b5767013fbe85edc90000806361b8225f6361c65f00620005f960201b60201c565b6200038e60646107d06702c68af0bb140000806361b8225f6361c65f00620005f9565b620003b160326103e8670429d069189e0000806361b8225f6361c65f00620005f9565b62000908565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b038216620004785760405162461bcd60e51b815260206004820152602c60248201527f5061796d656e7453706c69747465723a206163636f756e74206973207468652060448201526b7a65726f206164647265737360a01b606482015260840162000276565b60008111620004ca5760405162461bcd60e51b815260206004820152601d60248201527f5061796d656e7453706c69747465723a20736861726573206172652030000000604482015260640162000276565b6001600160a01b03821660009081526006602052604090205415620005465760405162461bcd60e51b815260206004820152602b60248201527f5061796d656e7453706c69747465723a206163636f756e7420616c726561647960448201526a206861732073686172657360a81b606482015260840162000276565b60088054600181019091557ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30180546001600160a01b0319166001600160a01b0384169081179091556000908152600660205260409020819055600454620005b0908290620008b0565b600455604080516001600160a01b0384168152602081018390527f40c340f65e17194d14ddddb073d3c9f888e3cb52b5aae0c6c7706b4fbc905fac910160405180910390a15050565b3360009081526001602052604090205460ff166200064d5760405162461bcd60e51b815260206004820152601060248201526f496e76616c69642064656c656761746560801b604482015260640162000276565b600f60405180610100016040528060008152602001600e54601354620006749190620008b0565b815260208082018a905260408083018a905260608084018a905260808085018a905260a08086018a905260c0958601899052875460018181018a556000998a52868a20895160089093020191825595880151958101959095559286015160028501559085015160038401558401516004830155830151600582015590820151600682015560e090910151600790910155600e805487929062000718908490620008b0565b9091555050505050505050565b8280546200073390620008cb565b90600052602060002090601f016020900481019282620007575760008555620007a2565b82601f106200077257805160ff1916838001178555620007a2565b82800160010185558215620007a2579182015b82811115620007a257825182559160200191906001019062000785565b50620007b09291506200084f565b5090565b828054828255906000526020600020908101928215620007a2579160200282015b82811115620007a257825182546001600160a01b0319166001600160a01b03909116178255602090920191600190910190620007d5565b828054828255906000526020600020908101928215620007a2579160200282015b82811115620007a2578251829060ff169055916020019190600101906200082d565b5b80821115620007b0576000815560010162000850565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000600019821415620008a957620008a96200087c565b5060010190565b60008219821115620008c657620008c66200087c565b500190565b600181811c90821680620008e057607f821691505b602082108114156200090257634e487b7160e01b600052602260045260246000fd5b50919050565b6144a480620009186000396000f3fe60806040526004361061034a5760003560e01c80635cf4ee91116101b957806396324bd4116100f6578063b88d4fde1161009a578063df7787a41161006c578063df7787a414610b32578063e33b7de314610b48578063e985e9c514610b5d578063f2fde38b14610ba657005b8063b88d4fde14610a9c578063bb39e02914610abc578063c87b56dd14610adc578063ce7c2ac214610afc57005b8063b534a5c4116100d3578063b534a5c414610a1c578063b58daa6414610a3c578063b7a70c2814610a5c578063b80f55c914610a7c57005b806396324bd41461096b5780639852595c146109c6578063a22cb465146109fc57005b80637ed6c9261161015d5780638b83209b1161013a5780638b83209b146108e95780638da5cb5b14610909578063902d55a51461092757806395d89b411461093d57005b80637ed6c9261461087c5780638166c9dc1461089c57806387a5b67c146108bc57005b80636c19e783116101965780636c19e7831461080757806370a0823114610827578063715018a6146108475780637e91b36f1461085c57005b80635cf4ee91146107a75780636352211e146107c75780636790a9de146107e757005b80632c567bc4116102875780634a994eef1161022b5780634f6ccce7116102085780634f6ccce7146107315780635060e3141461075157806350c5a00c14610771578063561b23fb1461078757005b80634a994eef146106dc5780634bb278f3146106fc5780634d44660c1461071157005b80633b91ceef116102645780633b91ceef1461063d5780633e9938a61461065d57806342842e0e1461068f578063438b6300146106af57005b80632c567bc4146105e85780632f745c59146106085780633a98ef391461062857005b806308dc9f42116102ee57806318160ddd116102cb57806318160ddd14610566578063191655871461057b57806323b872dd1461059b57806327e235e3146105bb57005b806308dc9f4214610513578063095ea7b3146105265780630eb66fce1461054657005b806306fdde031161032757806306fdde031461046757806307779627146104a857806307d644b3146104c8578063081812fc146104db57005b806301ffc9a714610395578063025e7c27146103ca57806306545a931461044857005b36610393577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be77033604080516001600160a01b0390921682523460208301520160405180910390a1005b005b3480156103a157600080fd5b506103b56103b03660046138aa565b610bc6565b60405190151581526020015b60405180910390f35b3480156103d657600080fd5b5061041c6103e53660046138c7565b60126020526000908152604090205463ffffffff80821691640100000000810490911690600160401b90046001600160a01b031683565b6040805163ffffffff94851681529390921660208401526001600160a01b0316908201526060016103c1565b34801561045457600080fd5b50600f545b6040519081526020016103c1565b34801561047357600080fd5b5060408051808201909152600f81526e576169667520486f7573652044414f60881b60208201525b6040516103c19190613938565b3480156104b457600080fd5b506103b56104c3366004613960565b610c0c565b6103936104d63660046139c1565b610c5f565b3480156104e757600080fd5b506104fb6104f63660046138c7565b610eaa565b6040516001600160a01b0390911681526020016103c1565b610393610521366004613a9b565b610f32565b34801561053257600080fd5b50610393610541366004613aed565b61120b565b34801561055257600080fd5b50610393610561366004613b19565b611321565b34801561057257600080fd5b50600e54610459565b34801561058757600080fd5b50610393610596366004613960565b611444565b3480156105a757600080fd5b506103936105b6366004613b78565b6116da565b3480156105c757600080fd5b506104596105d6366004613960565b60116020526000908152604090205481565b3480156105f457600080fd5b50610393610603366004613bb9565b61170b565b34801561061457600080fd5b50610459610623366004613aed565b611756565b34801561063457600080fd5b50600454610459565b34801561064957600080fd5b50610393610658366004613bdf565b61182e565b34801561066957600080fd5b50600b5461067a9063ffffffff1681565b60405163ffffffff90911681526020016103c1565b34801561069b57600080fd5b506103936106aa366004613b78565b611868565b3480156106bb57600080fd5b506106cf6106ca366004613960565b611883565b6040516103c19190613c01565b3480156106e857600080fd5b506103936106f7366004613c45565b611922565b34801561070857600080fd5b50610393611977565b34801561071d57600080fd5b506103b561072c366004613c83565b6119af565b34801561073d57600080fd5b5061045961074c3660046138c7565b611a31565b34801561075d57600080fd5b5061039361076c366004613cd7565b611a41565b34801561077d57600080fd5b50610459600c5481565b34801561079357600080fd5b5061067a6107a23660046138c7565b611b7c565b3480156107b357600080fd5b506104596107c2366004613bdf565b611c26565b3480156107d357600080fd5b506104fb6107e23660046138c7565b611dbd565b3480156107f357600080fd5b50610393610802366004613da7565b611e35565b34801561081357600080fd5b50610393610822366004613960565b611e8b565b34801561083357600080fd5b50610459610842366004613960565b611ed7565b34801561085357600080fd5b50610393611f5e565b34801561086857600080fd5b50610393610877366004613b19565b611f94565b34801561088857600080fd5b50610393610897366004613e0a565b61209e565b3480156108a857600080fd5b506104596108b73660046138c7565b6120d4565b3480156108c857600080fd5b506104596108d7366004613960565b60106020526000908152604090205481565b3480156108f557600080fd5b506104fb6109043660046138c7565b61224c565b34801561091557600080fd5b506000546001600160a01b03166104fb565b34801561093357600080fd5b50610459600e5481565b34801561094957600080fd5b50604080518082019091526005815264574149465560d81b602082015261049b565b34801561097757600080fd5b5061098b6109863660046138c7565b61227c565b604080519889526020890197909752958701949094526060860192909252608085015260a084015260c083015260e0820152610100016103c1565b3480156109d257600080fd5b506104596109e1366004613960565b6001600160a01b031660009081526007602052604090205490565b348015610a0857600080fd5b50610393610a17366004613c45565b6122d4565b348015610a2857600080fd5b50610393610a37366004613e4b565b612399565b348015610a4857600080fd5b50610393610a57366004613ecd565b61240e565b348015610a6857600080fd5b50610393610a77366004613ecd565b612511565b348015610a8857600080fd5b50610393610a97366004613f10565b6126a4565b348015610aa857600080fd5b50610393610ab7366004613f45565b61270f565b348015610ac857600080fd5b50610393610ad7366004613b19565b612747565b348015610ae857600080fd5b5061049b610af73660046138c7565b6128b7565b348015610b0857600080fd5b50610459610b17366004613960565b6001600160a01b031660009081526006602052604090205490565b348015610b3e57600080fd5b50610459600d5481565b348015610b5457600080fd5b50600554610459565b348015610b6957600080fd5b506103b5610b78366004613fc4565b6001600160a01b03918216600090815260196020908152604080832093909416825291909152205460ff1690565b348015610bb257600080fd5b50610393610bc1366004613960565b612913565b60006001600160e01b0319821663780e9d6360e01b1480610bf757506001600160e01b031982166380ac58cd60e01b145b80610c065750610c068261296f565b92915050565b600080546001600160a01b03163314610c405760405162461bcd60e51b8152600401610c3790613ff2565b60405180910390fd5b506001600160a01b031660009081526001602052604090205460ff1690565b3360009081526001602052604090205460ff16610c8e5760405162461bcd60e51b8152600401610c3790614027565b848314610cf05760405162461bcd60e51b815260206004820152602a60248201527f4d7573742070726f7669646520657175616c2067726f757049647320616e6420604482015269726563697069656e747360b01b6064820152608401610c37565b828114610d545760405162461bcd60e51b815260206004820152602c60248201527f4d7573742070726f7669646520657175616c20726563697069656e747320616e60448201526b64207175616e74697469657360a01b6064820152608401610c37565b60005b85811015610ea1576000600f888884818110610d7557610d75614051565b9050602002013581548110610d8c57610d8c614051565b906000526020600020906008020190508060020154848484818110610db357610db3614051565b905060200201358260000154610dc9919061407d565b1115610e0b5760405162461bcd60e51b81526020600482015260116024820152704e6f7420656e6f75676820737570706c7960781b6044820152606401610c37565b60005b848484818110610e2057610e20614051565b90506020020135811015610e8e57610e7e878785818110610e4357610e43614051565b9050602002016020810190610e589190613960565b8354846000610e6683614095565b919050558460010154610e79919061407d565b6129a4565b610e8781614095565b9050610e0e565b505080610e9a90614095565b9050610d57565b50505050505050565b6000610eb582612acb565b610f165760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610c37565b506000908152601860205260409020546001600160a01b031690565b600f548410610f735760405162461bcd60e51b815260206004820152600d60248201526c0496e76616c69642067726f757609c1b6044820152606401610c37565b600c54831115610fb55760405162461bcd60e51b815260206004820152600d60248201526c4f7264657220746f6f2062696760981b6044820152606401610c37565b600d5433600090815260116020526040902054610fd390859061407d565b11156110115760405162461bcd60e51b815260206004820152600d60248201526c4f7264657220746f6f2062696760981b6044820152606401610c37565b6000600f858154811061102657611026614051565b9060005260206000209060080201905080600601544210156110815760405162461bcd60e51b815260206004820152601460248201527353616c657320617265206e6f742061637469766560601b6044820152606401610c37565b6002810154815461109390869061407d565b11156110d55760405162461bcd60e51b81526020600482015260116024820152704e6f7420656e6f75676820737570706c7960781b6044820152606401610c37565b60006110e18642611c26565b90506110ed85826140b0565b3410156111325760405162461bcd60e51b8152602060048201526013602482015272139bdd08195b9bdd59da08115512081cd95b9d606a1b6044820152606401610c37565b82156111505761114b61114486612aef565b8585612bec565b6111c9565b336000908152601060205260409020548511156111a45760405162461bcd60e51b815260206004820152601260248201527115995c9a599a58d85d1bdb8819985a5b195960721b6044820152606401610c37565b33600090815260106020526040812080548792906111c39084906140cf565b90915550505b60005b85811015610ea15782546111fb9033908560006111e883614095565b919050558560010154610e79919061407d565b61120481614095565b90506111cc565b600061121682611dbd565b9050806001600160a01b0316836001600160a01b031614156112845760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610c37565b336001600160a01b03821614806112a057506112a08133610b78565b6113125760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610c37565b61131c8383612c9c565b505050565b3360009081526001602052604090205460ff166113505760405162461bcd60e51b8152600401610c3790614027565b8281146113ae5760405162461bcd60e51b815260206004820152602660248201527f4d7573742070726f7669646520657175616c20746f6b656e49647320616e642060448201526568656172747360d01b6064820152608401610c37565b60005b8381101561143d578282828181106113cb576113cb614051565b90506020020160208101906113e09190613bb9565b601260008787858181106113f6576113f6614051565b90506020020135815260200190815260200160002060000160006101000a81548163ffffffff021916908363ffffffff1602179055508061143690614095565b90506113b1565b5050505050565b6001600160a01b0381166000908152600660205260409020546114b85760405162461bcd60e51b815260206004820152602660248201527f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060448201526573686172657360d01b6064820152608401610c37565b6000600554476114c8919061407d565b6001600160a01b03831660009081526007602090815260408083205460045460069093529083205493945091926114ff90856140b0565b61150991906140fc565b61151391906140cf565b9050806115765760405162461bcd60e51b815260206004820152602b60248201527f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060448201526a191d59481c185e5b595b9d60aa1b6064820152608401610c37565b6009546001600160a01b038481169116141561163b576001600160a01b0383166000908152600760205260408120546115af908361407d565b9050600a54811115611639576001600160a01b038416600090815260076020526040902054600a546115e191906140cf565b915060066000856001600160a01b03166001600160a01b03168152602001908152602001600020546004600082825461161a91906140cf565b90915550506001600160a01b0384166000908152600660205260408120555b505b6001600160a01b03831660009081526007602052604090205461165f90829061407d565b6001600160a01b03841660009081526007602052604090205560055461168690829061407d565b6005556116938382612d0a565b604080516001600160a01b0385168152602081018390527fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b056910160405180910390a1505050565b6116e43382612e23565b6117005760405162461bcd60e51b8152600401610c3790614110565b61131c838383612f09565b3360009081526001602052604090205460ff1661173a5760405162461bcd60e51b8152600401610c3790614027565b600b805463ffffffff191663ffffffff92909216919091179055565b6000806000600e5460135461176b919061407d565b6013549091505b818110156117d1576000818152601260205260409020546001600160a01b03878116600160401b9092041614156117c157848314156117b5579250610c06915050565b6117be83614095565b92505b6117ca81614095565b9050611772565b5060405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610c37565b3360009081526001602052604090205460ff1661185d5760405162461bcd60e51b8152600401610c3790614027565b600c91909155600d55565b61131c8383836040518060200160405280600081525061270f565b6060600061189083611ed7565b90506000816001600160401b038111156118ac576118ac613cfc565b6040519080825280602002602001820160405280156118d5578160200160208202803683370190505b50905060005b8281101561191a576118ed8582611756565b8282815181106118ff576118ff614051565b602090810291909101015261191381614095565b90506118db565b509392505050565b6000546001600160a01b0316331461194c5760405162461bcd60e51b8152600401610c3790613ff2565b6001600160a01b03919091166000908152600160205260409020805460ff1916911515919091179055565b6000546001600160a01b031633146119a15760405162461bcd60e51b8152600401610c3790613ff2565b6000546001600160a01b0316ff5b6000805b82811015611a2457846001600160a01b0316601260008686858181106119db576119db614051565b6020908102929092013583525081019190915260400160002054600160401b90046001600160a01b031614611a14576000915050611a2a565b611a1d81614095565b90506119b3565b50600190505b9392505050565b600060135482610c06919061407d565b33611a4b83611dbd565b6001600160a01b031614611ab25760405162461bcd60e51b815260206004820152602860248201527f57414946553a207472616e73666572206f6620746f6b656e2074686174206973604482015267103737ba1037bbb760c11b6064820152608401610c37565b6001600160a01b038116611b145760405162461bcd60e51b815260206004820152602360248201527f57414946553a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610c37565b611b1f600083612c9c565b611b293382613093565b6000828152601260205260408082208054600160401b600160e01b031916600160401b6001600160a01b0386169081029190911790915590518492339160008051602061444f8339815191529190a45050565b6000611b8782612acb565b611ba35760405162461bcd60e51b8152600401610c3790614161565b600082815260126020526040902054600a9063ffffffff1615611bd7575060008281526012602052604090205463ffffffff165b600b54600084815260126020526040812054909163ffffffff90811691611c089164010000000090910416426141a3565b611c1291906141c8565b9050611c1e81836141eb565b949350505050565b600f546000908310611c6a5760405162461bcd60e51b815260206004820152600d60248201526c0496e76616c69642067726f757609c1b6044820152606401610c37565b6000600f8481548110611c7f57611c7f614051565b9060005260206000209060080201604051806101000160405290816000820154815260200160018201548152602001600282015481526020016003820154815260200160048201548152602001600582015481526020016006820154815260200160078201548152505090508060a0015181608001511415611d065760a001519050610c06565b6000808411611d155742611d17565b835b90508160c00151811015611d315750608001519050610c06565b8160e00151811115611d49575060a001519050610c06565b60008260a001518360800151611d5f91906140cf565b90506000828460e00151611d7391906140cf565b905060008460c001518560e00151611d8b91906140cf565b905080611d9883856140b0565b611da291906140fc565b8560a00151611db1919061407d565b98975050505050505050565b600081815260126020526040812054600160401b90046001600160a01b031680610c065760405162461bcd60e51b815260206004820152602360248201527f4552433732313a20717565727920666f72206e6f6e6578697374656e7420746f60448201526235b2b760e91b6064820152608401610c37565b3360009081526001602052604090205460ff16611e645760405162461bcd60e51b8152600401610c3790614027565b8151611e77906014906020850190613787565b50805161131c906015906020840190613787565b6000546001600160a01b03163314611eb55760405162461bcd60e51b8152600401610c3790613ff2565b600380546001600160a01b0319166001600160a01b0392909216919091179055565b60006001600160a01b038216611f425760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610c37565b506001600160a01b031660009081526011602052604090205490565b6000546001600160a01b03163314611f885760405162461bcd60e51b8152600401610c3790613ff2565b611f92600061310b565b565b3360009081526001602052604090205460ff16611fc35760405162461bcd60e51b8152600401610c3790614027565b8281146120255760405162461bcd60e51b815260206004820152602a60248201527f4d7573742070726f7669646520657175616c206163636f756e747320616e64206044820152697175616e74697469657360b01b6064820152608401610c37565b60005b8381101561143d5782828281811061204257612042614051565b905060200201356010600087878581811061205f5761205f614051565b90506020020160208101906120749190613960565b6001600160a01b0316815260208101919091526040016000205561209781614095565b9050612028565b6000546001600160a01b031633146120c85760405162461bcd60e51b8152600401610c3790613ff2565b61131c6002838361380b565b60006120df82612acb565b6120fb5760405162461bcd60e51b8152600401610c3790614161565b600061214560405180610100016040528060008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081525090565b60005b600f5481101561220c57600f818154811061216557612165614051565b60009182526020918290206040805161010081018252600890930290910180548352600181015493830184905260028101549183018290526003810154606084015260048101546080840152600581015460a0840152600681015460c08401526007015460e08301529093506121da9161407d565b9250848260200151111580156121ef57508285105b156121fc57949350505050565b61220581614095565b9050612148565b5060405162461bcd60e51b8152602060048201526014602482015273151bdad95b88191bd95cc81b9bdd08195e1a5cdd60621b6044820152606401610c37565b60006008828154811061226157612261614051565b6000918252602090912001546001600160a01b031692915050565b600f818154811061228c57600080fd5b90600052602060002090600802016000915090508060000154908060010154908060020154908060030154908060040154908060050154908060060154908060070154905088565b6001600160a01b03821633141561232d5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610c37565b3360008181526019602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b60005b83811015610ea1576123fe87878787858181106123bb576123bb614051565b9050602002013586868080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061270f92505050565b61240781614095565b905061239c565b3360009081526001602052604090205460ff1661243d5760405162461bcd60e51b8152600401610c3790614027565b600f60405180610100016040528060008152602001600e54601354612462919061407d565b815260208082018a905260408083018a905260608084018a905260808085018a905260a08086018a905260c0958601899052875460018181018a556000998a52868a20895160089093020191825595880151958101959095559286015160028501559085015160038401558401516004830155830151600582015590820151600682015560e090910151600790910155600e805487929061250490849061407d565b9091555050505050505050565b3360009081526001602052604090205460ff166125405760405162461bcd60e51b8152600401610c3790614027565b600f5486106125885760405162461bcd60e51b8152602060048201526014602482015273057414946553a20496e76616c69642067726f75760641b6044820152606401610c37565b6000600f878154811061259d5761259d614051565b90600052602060002090600802019050806000015486101561261c5760405162461bcd60e51b815260206004820152603260248201527f53706563696669656420737570706c79206973206c6f776572207468616e207460448201527168652063757272656e742062616c616e636560701b6064820152608401610c37565b806003015486111561267e5760405162461bcd60e51b815260206004820152602560248201527f53706563696669656420737570706c79206578636565647320746f74616c20736044820152647570706c7960d81b6064820152608401610c37565b600281019590955560048501939093556005840191909155600683015560079091015550565b3360009081526001602052604090205460ff166126d35760405162461bcd60e51b8152600401610c3790614027565b60005b8181101561131c576126ff8383838181106126f3576126f3614051565b9050602002013561315b565b61270881614095565b90506126d6565b6127193383612e23565b6127355760405162461bcd60e51b8152600401610c3790614110565b612741848484846131d4565b50505050565b3360009081526001602052604090205460ff166127765760405162461bcd60e51b8152600401610c3790614027565b8281146127d85760405162461bcd60e51b815260206004820152602a60248201527f4d7573742070726f7669646520657175616c20746f6b656e49647320616e6420604482015269726563697069656e747360b01b6064820152608401610c37565b60005b8381101561143d576128048585838181106127f8576127f8614051565b90506020020135612acb565b1561285f5760405162461bcd60e51b815260206004820152602560248201527f57414946553a2063616e277420726573757272656374206578697374696e67206044820152643a37b5b2b760d91b6064820152608401610c37565b6128a783838381811061287457612874614051565b90506020020160208101906128899190613960565b86868481811061289b5761289b614051565b905060200201356129a4565b6128b081614095565b90506127db565b60606128c282612acb565b6128de5760405162461bcd60e51b8152600401610c3790614161565b60146128e983612aef565b60156040516020016128fd939291906142e8565b6040516020818303038152906040529050919050565b6000546001600160a01b0316331461293d5760405162461bcd60e51b8152600401610c3790613ff2565b6001600160a01b0381166000908152600160208190526040909120805460ff1916909117905561296c81613207565b50565b60006001600160e01b03198216635b5e139f60e01b1480610c0657506301ffc9a760e01b6001600160e01b0319831614610c06565b6001600160a01b0382166129fa5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610c37565b612a0381612acb565b15612a505760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610c37565b612a5b600083613093565b6000818152601260205260408082208054640100000000600160e01b0319166401000000004263ffffffff1602600160401b600160e01b03191617600160401b6001600160a01b03871690810291909117909155905183929060008051602061444f833981519152908290a45050565b600090815260126020526040902054600160401b90046001600160a01b0316151590565b606081612b135750506040805180820190915260018152600360fc1b602082015290565b8160005b8115612b3d5780612b2781614095565b9150612b369050600a836140fc565b9150612b17565b6000816001600160401b03811115612b5757612b57613cfc565b6040519080825280601f01601f191660200182016040528015612b81576020820181803683370190505b5090505b8415611c1e57612b966001836140cf565b9150612ba3600a8661431b565b612bae90603061407d565b60f81b818381518110612bc357612bc3614051565b60200101906001600160f81b031916908160001a905350612be5600a866140fc565b9450612b85565b6000612c36612bfa8561329f565b84848080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506132d692505050565b9050612c50816003546001600160a01b0391821691161490565b6127415760405162461bcd60e51b815260206004820152601d60248201527f5369676e617475726520766572696669636174696f6e206661696c65640000006044820152606401610c37565b600081815260186020526040902080546001600160a01b0319166001600160a01b0384169081179091558190612cd182611dbd565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b80471015612d5a5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610c37565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114612da7576040519150601f19603f3d011682016040523d82523d6000602084013e612dac565b606091505b505090508061131c5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610c37565b6000612e2e82612acb565b612e8f5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610c37565b6000612e9a83611dbd565b9050806001600160a01b0316846001600160a01b03161480612ed55750836001600160a01b0316612eca84610eaa565b6001600160a01b0316145b80611c1e57506001600160a01b0380821660009081526019602090815260408083209388168352929052205460ff16611c1e565b826001600160a01b0316612f1c82611dbd565b6001600160a01b031614612f845760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610c37565b6001600160a01b038216612fe65760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610c37565b612ff1600082612c9c565b612ffb8383613093565b600061300682611b7c565b905060038163ffffffff1610613026576130216002826141c8565b613029565b60015b60008381526012602052604080822080546001600160a01b03808916600160401b810267ffffffff00000001600160e01b031990931663ffffffff97909716969096179190911790915590518593929188169160008051602061444f83398151915291a450505050565b6001600160a01b038216156130cd576001600160a01b038216600090815260116020526040812080549091906130c89061432f565b909155505b6001600160a01b03811615613107576001600160a01b0381166000908152601160205260408120805490919061310290614095565b909155505b5050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600061316682611dbd565b9050613173816000613093565b61318e6131886000546001600160a01b031690565b83612c9c565b6000828152601260205260408082208054600160401b600160e01b0319169055518391906001600160a01b0384169060008051602061444f833981519152908390a45050565b6131df848484612f09565b6131eb848484846132eb565b6127415760405162461bcd60e51b8152600401610c3790614346565b6000546001600160a01b031633146132315760405162461bcd60e51b8152600401610c3790613ff2565b6001600160a01b0381166132965760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610c37565b61296c8161310b565b600030338360026040516020016132b99493929190614398565b604051602081830303815290604052805190602001209050919050565b6000611a2a826132e5856133e9565b90613424565b60006001600160a01b0384163b156133de57604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061332f9033908990889088906004016143de565b6020604051808303816000875af192505050801561336a575060408051601f3d908101601f191682019092526133679181019061441b565b60015b6133c4573d808015613398576040519150601f19603f3d011682016040523d82523d6000602084013e61339d565b606091505b5080516133bc5760405162461bcd60e51b8152600401610c3790614346565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611c1e565b506001949350505050565b6040517f19457468657265756d205369676e6564204d6573736167653a0a3332000000006020820152603c8101829052600090605c016132b9565b60008060006134338585613440565b9150915061191a816134b0565b6000808251604114156134775760208301516040840151606085015160001a61346b8782858561366b565b945094505050506134a9565b8251604014156134a15760208301516040840151613496868383613758565b9350935050506134a9565b506000905060025b9250929050565b60008160048111156134c4576134c4614438565b14156134cd5750565b60018160048111156134e1576134e1614438565b141561352f5760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610c37565b600281600481111561354357613543614438565b14156135915760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610c37565b60038160048111156135a5576135a5614438565b14156135fe5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610c37565b600481600481111561361257613612614438565b141561296c5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610c37565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08311156136a2575060009050600361374f565b8460ff16601b141580156136ba57508460ff16601c14155b156136cb575060009050600461374f565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa15801561371f573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166137485760006001925092505061374f565b9150600090505b94509492505050565b6000806001600160ff1b03831660ff84901c601b016137798782888561366b565b935093505050935093915050565b82805461379390614213565b90600052602060002090601f0160209004810192826137b557600085556137fb565b82601f106137ce57805160ff19168380011785556137fb565b828001600101855582156137fb579182015b828111156137fb5782518255916020019190600101906137e0565b5061380792915061387f565b5090565b82805461381790614213565b90600052602060002090601f01602090048101928261383957600085556137fb565b82601f106138525782800160ff198235161785556137fb565b828001600101855582156137fb579182015b828111156137fb578235825591602001919060010190613864565b5b808211156138075760008155600101613880565b6001600160e01b03198116811461296c57600080fd5b6000602082840312156138bc57600080fd5b8135611a2a81613894565b6000602082840312156138d957600080fd5b5035919050565b60005b838110156138fb5781810151838201526020016138e3565b838111156127415750506000910152565b600081518084526139248160208601602086016138e0565b601f01601f19169290920160200192915050565b602081526000611a2a602083018461390c565b6001600160a01b038116811461296c57600080fd5b60006020828403121561397257600080fd5b8135611a2a8161394b565b60008083601f84011261398f57600080fd5b5081356001600160401b038111156139a657600080fd5b6020830191508360208260051b85010111156134a957600080fd5b600080600080600080606087890312156139da57600080fd5b86356001600160401b03808211156139f157600080fd5b6139fd8a838b0161397d565b90985096506020890135915080821115613a1657600080fd5b613a228a838b0161397d565b90965094506040890135915080821115613a3b57600080fd5b50613a4889828a0161397d565b979a9699509497509295939492505050565b60008083601f840112613a6c57600080fd5b5081356001600160401b03811115613a8357600080fd5b6020830191508360208285010111156134a957600080fd5b60008060008060608587031215613ab157600080fd5b843593506020850135925060408501356001600160401b03811115613ad557600080fd5b613ae187828801613a5a565b95989497509550505050565b60008060408385031215613b0057600080fd5b8235613b0b8161394b565b946020939093013593505050565b60008060008060408587031215613b2f57600080fd5b84356001600160401b0380821115613b4657600080fd5b613b528883890161397d565b90965094506020870135915080821115613b6b57600080fd5b50613ae18782880161397d565b600080600060608486031215613b8d57600080fd5b8335613b988161394b565b92506020840135613ba88161394b565b929592945050506040919091013590565b600060208284031215613bcb57600080fd5b813563ffffffff81168114611a2a57600080fd5b60008060408385031215613bf257600080fd5b50508035926020909101359150565b6020808252825182820181905260009190848201906040850190845b81811015613c3957835183529284019291840191600101613c1d565b50909695505050505050565b60008060408385031215613c5857600080fd5b8235613c638161394b565b915060208301358015158114613c7857600080fd5b809150509250929050565b600080600060408486031215613c9857600080fd5b8335613ca38161394b565b925060208401356001600160401b03811115613cbe57600080fd5b613cca8682870161397d565b9497909650939450505050565b60008060408385031215613cea57600080fd5b823591506020830135613c788161394b565b634e487b7160e01b600052604160045260246000fd5b60006001600160401b0380841115613d2c57613d2c613cfc565b604051601f8501601f19908116603f01168101908282118183101715613d5457613d54613cfc565b81604052809350858152868686011115613d6d57600080fd5b858560208301376000602087830101525050509392505050565b600082601f830112613d9857600080fd5b611a2a83833560208501613d12565b60008060408385031215613dba57600080fd5b82356001600160401b0380821115613dd157600080fd5b613ddd86838701613d87565b93506020850135915080821115613df357600080fd5b50613e0085828601613d87565b9150509250929050565b60008060208385031215613e1d57600080fd5b82356001600160401b03811115613e3357600080fd5b613e3f85828601613a5a565b90969095509350505050565b60008060008060008060808789031215613e6457600080fd5b8635613e6f8161394b565b95506020870135613e7f8161394b565b945060408701356001600160401b0380821115613e9b57600080fd5b613ea78a838b0161397d565b90965094506060890135915080821115613ec057600080fd5b50613a4889828a01613a5a565b60008060008060008060c08789031215613ee657600080fd5b505084359660208601359650604086013595606081013595506080810135945060a0013592509050565b60008060208385031215613f2357600080fd5b82356001600160401b03811115613f3957600080fd5b613e3f8582860161397d565b60008060008060808587031215613f5b57600080fd5b8435613f668161394b565b93506020850135613f768161394b565b92506040850135915060608501356001600160401b03811115613f9857600080fd5b8501601f81018713613fa957600080fd5b613fb887823560208401613d12565b91505092959194509250565b60008060408385031215613fd757600080fd5b8235613fe28161394b565b91506020830135613c788161394b565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526010908201526f496e76616c69642064656c656761746560801b604082015260600190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000821982111561409057614090614067565b500190565b60006000198214156140a9576140a9614067565b5060010190565b60008160001904831182151516156140ca576140ca614067565b500290565b6000828210156140e1576140e1614067565b500390565b634e487b7160e01b600052601260045260246000fd5b60008261410b5761410b6140e6565b500490565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b60208082526022908201527f57414946553a20717565727920666f72206e6f6e6578697374656e7420746f6b60408201526132b760f11b606082015260800190565b600063ffffffff838116908316818110156141c0576141c0614067565b039392505050565b600063ffffffff808416806141df576141df6140e6565b92169190910492915050565b600063ffffffff80831681851680830382111561420a5761420a614067565b01949350505050565b600181811c9082168061422757607f821691505b6020821081141561424857634e487b7160e01b600052602260045260246000fd5b50919050565b8054600090600181811c908083168061426857607f831692505b602080841082141561428a57634e487b7160e01b600052602260045260246000fd5b81801561429e57600181146142af576142dc565b60ff198616895284890196506142dc565b60008881526020902060005b868110156142d45781548b8201529085019083016142bb565b505084890196505b50505050505092915050565b60006142f4828661424e565b84516143048183602089016138e0565b6143108183018661424e565b979650505050505050565b60008261432a5761432a6140e6565b500690565b60008161433e5761433e614067565b506000190190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60006bffffffffffffffffffffffff19808760601b168352808660601b1660148401525083516143cf8160288501602088016138e0565b6143106028828501018561424e565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906144119083018461390c565b9695505050505050565b60006020828403121561442d57600080fd5b8151611a2a81613894565b634e487b7160e01b600052602160045260246000fdfeddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa264697066735822122023b0ebd37893bf91261ceaba37076806cee61d86f8caceb9d8aadeb4b1d6b95964736f6c634300080a003368747470733a2f2f77616966752d686f7573652d64616f2d6170692e6865726f6b756170702e636f6d2f6765744d657461446174613f746f6b656e49643d

Deployed Bytecode

0x60806040526004361061034a5760003560e01c80635cf4ee91116101b957806396324bd4116100f6578063b88d4fde1161009a578063df7787a41161006c578063df7787a414610b32578063e33b7de314610b48578063e985e9c514610b5d578063f2fde38b14610ba657005b8063b88d4fde14610a9c578063bb39e02914610abc578063c87b56dd14610adc578063ce7c2ac214610afc57005b8063b534a5c4116100d3578063b534a5c414610a1c578063b58daa6414610a3c578063b7a70c2814610a5c578063b80f55c914610a7c57005b806396324bd41461096b5780639852595c146109c6578063a22cb465146109fc57005b80637ed6c9261161015d5780638b83209b1161013a5780638b83209b146108e95780638da5cb5b14610909578063902d55a51461092757806395d89b411461093d57005b80637ed6c9261461087c5780638166c9dc1461089c57806387a5b67c146108bc57005b80636c19e783116101965780636c19e7831461080757806370a0823114610827578063715018a6146108475780637e91b36f1461085c57005b80635cf4ee91146107a75780636352211e146107c75780636790a9de146107e757005b80632c567bc4116102875780634a994eef1161022b5780634f6ccce7116102085780634f6ccce7146107315780635060e3141461075157806350c5a00c14610771578063561b23fb1461078757005b80634a994eef146106dc5780634bb278f3146106fc5780634d44660c1461071157005b80633b91ceef116102645780633b91ceef1461063d5780633e9938a61461065d57806342842e0e1461068f578063438b6300146106af57005b80632c567bc4146105e85780632f745c59146106085780633a98ef391461062857005b806308dc9f42116102ee57806318160ddd116102cb57806318160ddd14610566578063191655871461057b57806323b872dd1461059b57806327e235e3146105bb57005b806308dc9f4214610513578063095ea7b3146105265780630eb66fce1461054657005b806306fdde031161032757806306fdde031461046757806307779627146104a857806307d644b3146104c8578063081812fc146104db57005b806301ffc9a714610395578063025e7c27146103ca57806306545a931461044857005b36610393577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be77033604080516001600160a01b0390921682523460208301520160405180910390a1005b005b3480156103a157600080fd5b506103b56103b03660046138aa565b610bc6565b60405190151581526020015b60405180910390f35b3480156103d657600080fd5b5061041c6103e53660046138c7565b60126020526000908152604090205463ffffffff80821691640100000000810490911690600160401b90046001600160a01b031683565b6040805163ffffffff94851681529390921660208401526001600160a01b0316908201526060016103c1565b34801561045457600080fd5b50600f545b6040519081526020016103c1565b34801561047357600080fd5b5060408051808201909152600f81526e576169667520486f7573652044414f60881b60208201525b6040516103c19190613938565b3480156104b457600080fd5b506103b56104c3366004613960565b610c0c565b6103936104d63660046139c1565b610c5f565b3480156104e757600080fd5b506104fb6104f63660046138c7565b610eaa565b6040516001600160a01b0390911681526020016103c1565b610393610521366004613a9b565b610f32565b34801561053257600080fd5b50610393610541366004613aed565b61120b565b34801561055257600080fd5b50610393610561366004613b19565b611321565b34801561057257600080fd5b50600e54610459565b34801561058757600080fd5b50610393610596366004613960565b611444565b3480156105a757600080fd5b506103936105b6366004613b78565b6116da565b3480156105c757600080fd5b506104596105d6366004613960565b60116020526000908152604090205481565b3480156105f457600080fd5b50610393610603366004613bb9565b61170b565b34801561061457600080fd5b50610459610623366004613aed565b611756565b34801561063457600080fd5b50600454610459565b34801561064957600080fd5b50610393610658366004613bdf565b61182e565b34801561066957600080fd5b50600b5461067a9063ffffffff1681565b60405163ffffffff90911681526020016103c1565b34801561069b57600080fd5b506103936106aa366004613b78565b611868565b3480156106bb57600080fd5b506106cf6106ca366004613960565b611883565b6040516103c19190613c01565b3480156106e857600080fd5b506103936106f7366004613c45565b611922565b34801561070857600080fd5b50610393611977565b34801561071d57600080fd5b506103b561072c366004613c83565b6119af565b34801561073d57600080fd5b5061045961074c3660046138c7565b611a31565b34801561075d57600080fd5b5061039361076c366004613cd7565b611a41565b34801561077d57600080fd5b50610459600c5481565b34801561079357600080fd5b5061067a6107a23660046138c7565b611b7c565b3480156107b357600080fd5b506104596107c2366004613bdf565b611c26565b3480156107d357600080fd5b506104fb6107e23660046138c7565b611dbd565b3480156107f357600080fd5b50610393610802366004613da7565b611e35565b34801561081357600080fd5b50610393610822366004613960565b611e8b565b34801561083357600080fd5b50610459610842366004613960565b611ed7565b34801561085357600080fd5b50610393611f5e565b34801561086857600080fd5b50610393610877366004613b19565b611f94565b34801561088857600080fd5b50610393610897366004613e0a565b61209e565b3480156108a857600080fd5b506104596108b73660046138c7565b6120d4565b3480156108c857600080fd5b506104596108d7366004613960565b60106020526000908152604090205481565b3480156108f557600080fd5b506104fb6109043660046138c7565b61224c565b34801561091557600080fd5b506000546001600160a01b03166104fb565b34801561093357600080fd5b50610459600e5481565b34801561094957600080fd5b50604080518082019091526005815264574149465560d81b602082015261049b565b34801561097757600080fd5b5061098b6109863660046138c7565b61227c565b604080519889526020890197909752958701949094526060860192909252608085015260a084015260c083015260e0820152610100016103c1565b3480156109d257600080fd5b506104596109e1366004613960565b6001600160a01b031660009081526007602052604090205490565b348015610a0857600080fd5b50610393610a17366004613c45565b6122d4565b348015610a2857600080fd5b50610393610a37366004613e4b565b612399565b348015610a4857600080fd5b50610393610a57366004613ecd565b61240e565b348015610a6857600080fd5b50610393610a77366004613ecd565b612511565b348015610a8857600080fd5b50610393610a97366004613f10565b6126a4565b348015610aa857600080fd5b50610393610ab7366004613f45565b61270f565b348015610ac857600080fd5b50610393610ad7366004613b19565b612747565b348015610ae857600080fd5b5061049b610af73660046138c7565b6128b7565b348015610b0857600080fd5b50610459610b17366004613960565b6001600160a01b031660009081526006602052604090205490565b348015610b3e57600080fd5b50610459600d5481565b348015610b5457600080fd5b50600554610459565b348015610b6957600080fd5b506103b5610b78366004613fc4565b6001600160a01b03918216600090815260196020908152604080832093909416825291909152205460ff1690565b348015610bb257600080fd5b50610393610bc1366004613960565b612913565b60006001600160e01b0319821663780e9d6360e01b1480610bf757506001600160e01b031982166380ac58cd60e01b145b80610c065750610c068261296f565b92915050565b600080546001600160a01b03163314610c405760405162461bcd60e51b8152600401610c3790613ff2565b60405180910390fd5b506001600160a01b031660009081526001602052604090205460ff1690565b3360009081526001602052604090205460ff16610c8e5760405162461bcd60e51b8152600401610c3790614027565b848314610cf05760405162461bcd60e51b815260206004820152602a60248201527f4d7573742070726f7669646520657175616c2067726f757049647320616e6420604482015269726563697069656e747360b01b6064820152608401610c37565b828114610d545760405162461bcd60e51b815260206004820152602c60248201527f4d7573742070726f7669646520657175616c20726563697069656e747320616e60448201526b64207175616e74697469657360a01b6064820152608401610c37565b60005b85811015610ea1576000600f888884818110610d7557610d75614051565b9050602002013581548110610d8c57610d8c614051565b906000526020600020906008020190508060020154848484818110610db357610db3614051565b905060200201358260000154610dc9919061407d565b1115610e0b5760405162461bcd60e51b81526020600482015260116024820152704e6f7420656e6f75676820737570706c7960781b6044820152606401610c37565b60005b848484818110610e2057610e20614051565b90506020020135811015610e8e57610e7e878785818110610e4357610e43614051565b9050602002016020810190610e589190613960565b8354846000610e6683614095565b919050558460010154610e79919061407d565b6129a4565b610e8781614095565b9050610e0e565b505080610e9a90614095565b9050610d57565b50505050505050565b6000610eb582612acb565b610f165760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610c37565b506000908152601860205260409020546001600160a01b031690565b600f548410610f735760405162461bcd60e51b815260206004820152600d60248201526c0496e76616c69642067726f757609c1b6044820152606401610c37565b600c54831115610fb55760405162461bcd60e51b815260206004820152600d60248201526c4f7264657220746f6f2062696760981b6044820152606401610c37565b600d5433600090815260116020526040902054610fd390859061407d565b11156110115760405162461bcd60e51b815260206004820152600d60248201526c4f7264657220746f6f2062696760981b6044820152606401610c37565b6000600f858154811061102657611026614051565b9060005260206000209060080201905080600601544210156110815760405162461bcd60e51b815260206004820152601460248201527353616c657320617265206e6f742061637469766560601b6044820152606401610c37565b6002810154815461109390869061407d565b11156110d55760405162461bcd60e51b81526020600482015260116024820152704e6f7420656e6f75676820737570706c7960781b6044820152606401610c37565b60006110e18642611c26565b90506110ed85826140b0565b3410156111325760405162461bcd60e51b8152602060048201526013602482015272139bdd08195b9bdd59da08115512081cd95b9d606a1b6044820152606401610c37565b82156111505761114b61114486612aef565b8585612bec565b6111c9565b336000908152601060205260409020548511156111a45760405162461bcd60e51b815260206004820152601260248201527115995c9a599a58d85d1bdb8819985a5b195960721b6044820152606401610c37565b33600090815260106020526040812080548792906111c39084906140cf565b90915550505b60005b85811015610ea15782546111fb9033908560006111e883614095565b919050558560010154610e79919061407d565b61120481614095565b90506111cc565b600061121682611dbd565b9050806001600160a01b0316836001600160a01b031614156112845760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610c37565b336001600160a01b03821614806112a057506112a08133610b78565b6113125760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610c37565b61131c8383612c9c565b505050565b3360009081526001602052604090205460ff166113505760405162461bcd60e51b8152600401610c3790614027565b8281146113ae5760405162461bcd60e51b815260206004820152602660248201527f4d7573742070726f7669646520657175616c20746f6b656e49647320616e642060448201526568656172747360d01b6064820152608401610c37565b60005b8381101561143d578282828181106113cb576113cb614051565b90506020020160208101906113e09190613bb9565b601260008787858181106113f6576113f6614051565b90506020020135815260200190815260200160002060000160006101000a81548163ffffffff021916908363ffffffff1602179055508061143690614095565b90506113b1565b5050505050565b6001600160a01b0381166000908152600660205260409020546114b85760405162461bcd60e51b815260206004820152602660248201527f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060448201526573686172657360d01b6064820152608401610c37565b6000600554476114c8919061407d565b6001600160a01b03831660009081526007602090815260408083205460045460069093529083205493945091926114ff90856140b0565b61150991906140fc565b61151391906140cf565b9050806115765760405162461bcd60e51b815260206004820152602b60248201527f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060448201526a191d59481c185e5b595b9d60aa1b6064820152608401610c37565b6009546001600160a01b038481169116141561163b576001600160a01b0383166000908152600760205260408120546115af908361407d565b9050600a54811115611639576001600160a01b038416600090815260076020526040902054600a546115e191906140cf565b915060066000856001600160a01b03166001600160a01b03168152602001908152602001600020546004600082825461161a91906140cf565b90915550506001600160a01b0384166000908152600660205260408120555b505b6001600160a01b03831660009081526007602052604090205461165f90829061407d565b6001600160a01b03841660009081526007602052604090205560055461168690829061407d565b6005556116938382612d0a565b604080516001600160a01b0385168152602081018390527fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b056910160405180910390a1505050565b6116e43382612e23565b6117005760405162461bcd60e51b8152600401610c3790614110565b61131c838383612f09565b3360009081526001602052604090205460ff1661173a5760405162461bcd60e51b8152600401610c3790614027565b600b805463ffffffff191663ffffffff92909216919091179055565b6000806000600e5460135461176b919061407d565b6013549091505b818110156117d1576000818152601260205260409020546001600160a01b03878116600160401b9092041614156117c157848314156117b5579250610c06915050565b6117be83614095565b92505b6117ca81614095565b9050611772565b5060405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610c37565b3360009081526001602052604090205460ff1661185d5760405162461bcd60e51b8152600401610c3790614027565b600c91909155600d55565b61131c8383836040518060200160405280600081525061270f565b6060600061189083611ed7565b90506000816001600160401b038111156118ac576118ac613cfc565b6040519080825280602002602001820160405280156118d5578160200160208202803683370190505b50905060005b8281101561191a576118ed8582611756565b8282815181106118ff576118ff614051565b602090810291909101015261191381614095565b90506118db565b509392505050565b6000546001600160a01b0316331461194c5760405162461bcd60e51b8152600401610c3790613ff2565b6001600160a01b03919091166000908152600160205260409020805460ff1916911515919091179055565b6000546001600160a01b031633146119a15760405162461bcd60e51b8152600401610c3790613ff2565b6000546001600160a01b0316ff5b6000805b82811015611a2457846001600160a01b0316601260008686858181106119db576119db614051565b6020908102929092013583525081019190915260400160002054600160401b90046001600160a01b031614611a14576000915050611a2a565b611a1d81614095565b90506119b3565b50600190505b9392505050565b600060135482610c06919061407d565b33611a4b83611dbd565b6001600160a01b031614611ab25760405162461bcd60e51b815260206004820152602860248201527f57414946553a207472616e73666572206f6620746f6b656e2074686174206973604482015267103737ba1037bbb760c11b6064820152608401610c37565b6001600160a01b038116611b145760405162461bcd60e51b815260206004820152602360248201527f57414946553a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610c37565b611b1f600083612c9c565b611b293382613093565b6000828152601260205260408082208054600160401b600160e01b031916600160401b6001600160a01b0386169081029190911790915590518492339160008051602061444f8339815191529190a45050565b6000611b8782612acb565b611ba35760405162461bcd60e51b8152600401610c3790614161565b600082815260126020526040902054600a9063ffffffff1615611bd7575060008281526012602052604090205463ffffffff165b600b54600084815260126020526040812054909163ffffffff90811691611c089164010000000090910416426141a3565b611c1291906141c8565b9050611c1e81836141eb565b949350505050565b600f546000908310611c6a5760405162461bcd60e51b815260206004820152600d60248201526c0496e76616c69642067726f757609c1b6044820152606401610c37565b6000600f8481548110611c7f57611c7f614051565b9060005260206000209060080201604051806101000160405290816000820154815260200160018201548152602001600282015481526020016003820154815260200160048201548152602001600582015481526020016006820154815260200160078201548152505090508060a0015181608001511415611d065760a001519050610c06565b6000808411611d155742611d17565b835b90508160c00151811015611d315750608001519050610c06565b8160e00151811115611d49575060a001519050610c06565b60008260a001518360800151611d5f91906140cf565b90506000828460e00151611d7391906140cf565b905060008460c001518560e00151611d8b91906140cf565b905080611d9883856140b0565b611da291906140fc565b8560a00151611db1919061407d565b98975050505050505050565b600081815260126020526040812054600160401b90046001600160a01b031680610c065760405162461bcd60e51b815260206004820152602360248201527f4552433732313a20717565727920666f72206e6f6e6578697374656e7420746f60448201526235b2b760e91b6064820152608401610c37565b3360009081526001602052604090205460ff16611e645760405162461bcd60e51b8152600401610c3790614027565b8151611e77906014906020850190613787565b50805161131c906015906020840190613787565b6000546001600160a01b03163314611eb55760405162461bcd60e51b8152600401610c3790613ff2565b600380546001600160a01b0319166001600160a01b0392909216919091179055565b60006001600160a01b038216611f425760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610c37565b506001600160a01b031660009081526011602052604090205490565b6000546001600160a01b03163314611f885760405162461bcd60e51b8152600401610c3790613ff2565b611f92600061310b565b565b3360009081526001602052604090205460ff16611fc35760405162461bcd60e51b8152600401610c3790614027565b8281146120255760405162461bcd60e51b815260206004820152602a60248201527f4d7573742070726f7669646520657175616c206163636f756e747320616e64206044820152697175616e74697469657360b01b6064820152608401610c37565b60005b8381101561143d5782828281811061204257612042614051565b905060200201356010600087878581811061205f5761205f614051565b90506020020160208101906120749190613960565b6001600160a01b0316815260208101919091526040016000205561209781614095565b9050612028565b6000546001600160a01b031633146120c85760405162461bcd60e51b8152600401610c3790613ff2565b61131c6002838361380b565b60006120df82612acb565b6120fb5760405162461bcd60e51b8152600401610c3790614161565b600061214560405180610100016040528060008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081525090565b60005b600f5481101561220c57600f818154811061216557612165614051565b60009182526020918290206040805161010081018252600890930290910180548352600181015493830184905260028101549183018290526003810154606084015260048101546080840152600581015460a0840152600681015460c08401526007015460e08301529093506121da9161407d565b9250848260200151111580156121ef57508285105b156121fc57949350505050565b61220581614095565b9050612148565b5060405162461bcd60e51b8152602060048201526014602482015273151bdad95b88191bd95cc81b9bdd08195e1a5cdd60621b6044820152606401610c37565b60006008828154811061226157612261614051565b6000918252602090912001546001600160a01b031692915050565b600f818154811061228c57600080fd5b90600052602060002090600802016000915090508060000154908060010154908060020154908060030154908060040154908060050154908060060154908060070154905088565b6001600160a01b03821633141561232d5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610c37565b3360008181526019602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b60005b83811015610ea1576123fe87878787858181106123bb576123bb614051565b9050602002013586868080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061270f92505050565b61240781614095565b905061239c565b3360009081526001602052604090205460ff1661243d5760405162461bcd60e51b8152600401610c3790614027565b600f60405180610100016040528060008152602001600e54601354612462919061407d565b815260208082018a905260408083018a905260608084018a905260808085018a905260a08086018a905260c0958601899052875460018181018a556000998a52868a20895160089093020191825595880151958101959095559286015160028501559085015160038401558401516004830155830151600582015590820151600682015560e090910151600790910155600e805487929061250490849061407d565b9091555050505050505050565b3360009081526001602052604090205460ff166125405760405162461bcd60e51b8152600401610c3790614027565b600f5486106125885760405162461bcd60e51b8152602060048201526014602482015273057414946553a20496e76616c69642067726f75760641b6044820152606401610c37565b6000600f878154811061259d5761259d614051565b90600052602060002090600802019050806000015486101561261c5760405162461bcd60e51b815260206004820152603260248201527f53706563696669656420737570706c79206973206c6f776572207468616e207460448201527168652063757272656e742062616c616e636560701b6064820152608401610c37565b806003015486111561267e5760405162461bcd60e51b815260206004820152602560248201527f53706563696669656420737570706c79206578636565647320746f74616c20736044820152647570706c7960d81b6064820152608401610c37565b600281019590955560048501939093556005840191909155600683015560079091015550565b3360009081526001602052604090205460ff166126d35760405162461bcd60e51b8152600401610c3790614027565b60005b8181101561131c576126ff8383838181106126f3576126f3614051565b9050602002013561315b565b61270881614095565b90506126d6565b6127193383612e23565b6127355760405162461bcd60e51b8152600401610c3790614110565b612741848484846131d4565b50505050565b3360009081526001602052604090205460ff166127765760405162461bcd60e51b8152600401610c3790614027565b8281146127d85760405162461bcd60e51b815260206004820152602a60248201527f4d7573742070726f7669646520657175616c20746f6b656e49647320616e6420604482015269726563697069656e747360b01b6064820152608401610c37565b60005b8381101561143d576128048585838181106127f8576127f8614051565b90506020020135612acb565b1561285f5760405162461bcd60e51b815260206004820152602560248201527f57414946553a2063616e277420726573757272656374206578697374696e67206044820152643a37b5b2b760d91b6064820152608401610c37565b6128a783838381811061287457612874614051565b90506020020160208101906128899190613960565b86868481811061289b5761289b614051565b905060200201356129a4565b6128b081614095565b90506127db565b60606128c282612acb565b6128de5760405162461bcd60e51b8152600401610c3790614161565b60146128e983612aef565b60156040516020016128fd939291906142e8565b6040516020818303038152906040529050919050565b6000546001600160a01b0316331461293d5760405162461bcd60e51b8152600401610c3790613ff2565b6001600160a01b0381166000908152600160208190526040909120805460ff1916909117905561296c81613207565b50565b60006001600160e01b03198216635b5e139f60e01b1480610c0657506301ffc9a760e01b6001600160e01b0319831614610c06565b6001600160a01b0382166129fa5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610c37565b612a0381612acb565b15612a505760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610c37565b612a5b600083613093565b6000818152601260205260408082208054640100000000600160e01b0319166401000000004263ffffffff1602600160401b600160e01b03191617600160401b6001600160a01b03871690810291909117909155905183929060008051602061444f833981519152908290a45050565b600090815260126020526040902054600160401b90046001600160a01b0316151590565b606081612b135750506040805180820190915260018152600360fc1b602082015290565b8160005b8115612b3d5780612b2781614095565b9150612b369050600a836140fc565b9150612b17565b6000816001600160401b03811115612b5757612b57613cfc565b6040519080825280601f01601f191660200182016040528015612b81576020820181803683370190505b5090505b8415611c1e57612b966001836140cf565b9150612ba3600a8661431b565b612bae90603061407d565b60f81b818381518110612bc357612bc3614051565b60200101906001600160f81b031916908160001a905350612be5600a866140fc565b9450612b85565b6000612c36612bfa8561329f565b84848080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506132d692505050565b9050612c50816003546001600160a01b0391821691161490565b6127415760405162461bcd60e51b815260206004820152601d60248201527f5369676e617475726520766572696669636174696f6e206661696c65640000006044820152606401610c37565b600081815260186020526040902080546001600160a01b0319166001600160a01b0384169081179091558190612cd182611dbd565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b80471015612d5a5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610c37565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114612da7576040519150601f19603f3d011682016040523d82523d6000602084013e612dac565b606091505b505090508061131c5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610c37565b6000612e2e82612acb565b612e8f5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610c37565b6000612e9a83611dbd565b9050806001600160a01b0316846001600160a01b03161480612ed55750836001600160a01b0316612eca84610eaa565b6001600160a01b0316145b80611c1e57506001600160a01b0380821660009081526019602090815260408083209388168352929052205460ff16611c1e565b826001600160a01b0316612f1c82611dbd565b6001600160a01b031614612f845760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610c37565b6001600160a01b038216612fe65760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610c37565b612ff1600082612c9c565b612ffb8383613093565b600061300682611b7c565b905060038163ffffffff1610613026576130216002826141c8565b613029565b60015b60008381526012602052604080822080546001600160a01b03808916600160401b810267ffffffff00000001600160e01b031990931663ffffffff97909716969096179190911790915590518593929188169160008051602061444f83398151915291a450505050565b6001600160a01b038216156130cd576001600160a01b038216600090815260116020526040812080549091906130c89061432f565b909155505b6001600160a01b03811615613107576001600160a01b0381166000908152601160205260408120805490919061310290614095565b909155505b5050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600061316682611dbd565b9050613173816000613093565b61318e6131886000546001600160a01b031690565b83612c9c565b6000828152601260205260408082208054600160401b600160e01b0319169055518391906001600160a01b0384169060008051602061444f833981519152908390a45050565b6131df848484612f09565b6131eb848484846132eb565b6127415760405162461bcd60e51b8152600401610c3790614346565b6000546001600160a01b031633146132315760405162461bcd60e51b8152600401610c3790613ff2565b6001600160a01b0381166132965760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610c37565b61296c8161310b565b600030338360026040516020016132b99493929190614398565b604051602081830303815290604052805190602001209050919050565b6000611a2a826132e5856133e9565b90613424565b60006001600160a01b0384163b156133de57604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061332f9033908990889088906004016143de565b6020604051808303816000875af192505050801561336a575060408051601f3d908101601f191682019092526133679181019061441b565b60015b6133c4573d808015613398576040519150601f19603f3d011682016040523d82523d6000602084013e61339d565b606091505b5080516133bc5760405162461bcd60e51b8152600401610c3790614346565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611c1e565b506001949350505050565b6040517f19457468657265756d205369676e6564204d6573736167653a0a3332000000006020820152603c8101829052600090605c016132b9565b60008060006134338585613440565b9150915061191a816134b0565b6000808251604114156134775760208301516040840151606085015160001a61346b8782858561366b565b945094505050506134a9565b8251604014156134a15760208301516040840151613496868383613758565b9350935050506134a9565b506000905060025b9250929050565b60008160048111156134c4576134c4614438565b14156134cd5750565b60018160048111156134e1576134e1614438565b141561352f5760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610c37565b600281600481111561354357613543614438565b14156135915760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610c37565b60038160048111156135a5576135a5614438565b14156135fe5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610c37565b600481600481111561361257613612614438565b141561296c5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610c37565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08311156136a2575060009050600361374f565b8460ff16601b141580156136ba57508460ff16601c14155b156136cb575060009050600461374f565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa15801561371f573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166137485760006001925092505061374f565b9150600090505b94509492505050565b6000806001600160ff1b03831660ff84901c601b016137798782888561366b565b935093505050935093915050565b82805461379390614213565b90600052602060002090601f0160209004810192826137b557600085556137fb565b82601f106137ce57805160ff19168380011785556137fb565b828001600101855582156137fb579182015b828111156137fb5782518255916020019190600101906137e0565b5061380792915061387f565b5090565b82805461381790614213565b90600052602060002090601f01602090048101928261383957600085556137fb565b82601f106138525782800160ff198235161785556137fb565b828001600101855582156137fb579182015b828111156137fb578235825591602001919060010190613864565b5b808211156138075760008155600101613880565b6001600160e01b03198116811461296c57600080fd5b6000602082840312156138bc57600080fd5b8135611a2a81613894565b6000602082840312156138d957600080fd5b5035919050565b60005b838110156138fb5781810151838201526020016138e3565b838111156127415750506000910152565b600081518084526139248160208601602086016138e0565b601f01601f19169290920160200192915050565b602081526000611a2a602083018461390c565b6001600160a01b038116811461296c57600080fd5b60006020828403121561397257600080fd5b8135611a2a8161394b565b60008083601f84011261398f57600080fd5b5081356001600160401b038111156139a657600080fd5b6020830191508360208260051b85010111156134a957600080fd5b600080600080600080606087890312156139da57600080fd5b86356001600160401b03808211156139f157600080fd5b6139fd8a838b0161397d565b90985096506020890135915080821115613a1657600080fd5b613a228a838b0161397d565b90965094506040890135915080821115613a3b57600080fd5b50613a4889828a0161397d565b979a9699509497509295939492505050565b60008083601f840112613a6c57600080fd5b5081356001600160401b03811115613a8357600080fd5b6020830191508360208285010111156134a957600080fd5b60008060008060608587031215613ab157600080fd5b843593506020850135925060408501356001600160401b03811115613ad557600080fd5b613ae187828801613a5a565b95989497509550505050565b60008060408385031215613b0057600080fd5b8235613b0b8161394b565b946020939093013593505050565b60008060008060408587031215613b2f57600080fd5b84356001600160401b0380821115613b4657600080fd5b613b528883890161397d565b90965094506020870135915080821115613b6b57600080fd5b50613ae18782880161397d565b600080600060608486031215613b8d57600080fd5b8335613b988161394b565b92506020840135613ba88161394b565b929592945050506040919091013590565b600060208284031215613bcb57600080fd5b813563ffffffff81168114611a2a57600080fd5b60008060408385031215613bf257600080fd5b50508035926020909101359150565b6020808252825182820181905260009190848201906040850190845b81811015613c3957835183529284019291840191600101613c1d565b50909695505050505050565b60008060408385031215613c5857600080fd5b8235613c638161394b565b915060208301358015158114613c7857600080fd5b809150509250929050565b600080600060408486031215613c9857600080fd5b8335613ca38161394b565b925060208401356001600160401b03811115613cbe57600080fd5b613cca8682870161397d565b9497909650939450505050565b60008060408385031215613cea57600080fd5b823591506020830135613c788161394b565b634e487b7160e01b600052604160045260246000fd5b60006001600160401b0380841115613d2c57613d2c613cfc565b604051601f8501601f19908116603f01168101908282118183101715613d5457613d54613cfc565b81604052809350858152868686011115613d6d57600080fd5b858560208301376000602087830101525050509392505050565b600082601f830112613d9857600080fd5b611a2a83833560208501613d12565b60008060408385031215613dba57600080fd5b82356001600160401b0380821115613dd157600080fd5b613ddd86838701613d87565b93506020850135915080821115613df357600080fd5b50613e0085828601613d87565b9150509250929050565b60008060208385031215613e1d57600080fd5b82356001600160401b03811115613e3357600080fd5b613e3f85828601613a5a565b90969095509350505050565b60008060008060008060808789031215613e6457600080fd5b8635613e6f8161394b565b95506020870135613e7f8161394b565b945060408701356001600160401b0380821115613e9b57600080fd5b613ea78a838b0161397d565b90965094506060890135915080821115613ec057600080fd5b50613a4889828a01613a5a565b60008060008060008060c08789031215613ee657600080fd5b505084359660208601359650604086013595606081013595506080810135945060a0013592509050565b60008060208385031215613f2357600080fd5b82356001600160401b03811115613f3957600080fd5b613e3f8582860161397d565b60008060008060808587031215613f5b57600080fd5b8435613f668161394b565b93506020850135613f768161394b565b92506040850135915060608501356001600160401b03811115613f9857600080fd5b8501601f81018713613fa957600080fd5b613fb887823560208401613d12565b91505092959194509250565b60008060408385031215613fd757600080fd5b8235613fe28161394b565b91506020830135613c788161394b565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526010908201526f496e76616c69642064656c656761746560801b604082015260600190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000821982111561409057614090614067565b500190565b60006000198214156140a9576140a9614067565b5060010190565b60008160001904831182151516156140ca576140ca614067565b500290565b6000828210156140e1576140e1614067565b500390565b634e487b7160e01b600052601260045260246000fd5b60008261410b5761410b6140e6565b500490565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b60208082526022908201527f57414946553a20717565727920666f72206e6f6e6578697374656e7420746f6b60408201526132b760f11b606082015260800190565b600063ffffffff838116908316818110156141c0576141c0614067565b039392505050565b600063ffffffff808416806141df576141df6140e6565b92169190910492915050565b600063ffffffff80831681851680830382111561420a5761420a614067565b01949350505050565b600181811c9082168061422757607f821691505b6020821081141561424857634e487b7160e01b600052602260045260246000fd5b50919050565b8054600090600181811c908083168061426857607f831692505b602080841082141561428a57634e487b7160e01b600052602260045260246000fd5b81801561429e57600181146142af576142dc565b60ff198616895284890196506142dc565b60008881526020902060005b868110156142d45781548b8201529085019083016142bb565b505084890196505b50505050505092915050565b60006142f4828661424e565b84516143048183602089016138e0565b6143108183018661424e565b979650505050505050565b60008261432a5761432a6140e6565b500690565b60008161433e5761433e614067565b506000190190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60006bffffffffffffffffffffffff19808760601b168352808660601b1660148401525083516143cf8160288501602088016138e0565b6143106028828501018561424e565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906144119083018461390c565b9695505050505050565b60006020828403121561442d57600080fd5b8151611a2a81613894565b634e487b7160e01b600052602160045260246000fdfeddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa264697066735822122023b0ebd37893bf91261ceaba37076806cee61d86f8caceb9d8aadeb4b1d6b95964736f6c634300080a0033

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.