ETH Price: $3,630.44 (+1.28%)

Token

ERC-20: QwertyTurtles (QT)
 

Overview

Max Total Supply

5,555 QT

Holders

532

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Filtered by Token Holder
manaadd1ct.eth
Balance
10 QT
0xd4Af804b5fc981c889E7b7c3af0E8D8aC2e2630D
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
QwertyTurtles

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
Yes with 200 runs

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

pragma solidity ^0.8.0;

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

import "../openzeppelin-contracts/contracts/utils/Strings.sol";
import '../contracts/Delegated.sol';
import '../contracts/PaymentSplitterMod.sol';
import '../contracts/T721Batch.sol';

interface IERC20Proxy{
  function burnFromAccount( address account, uint tw ) external;
  function mintToAccount( address account, uint tw ) external;
}

contract QwertyTurtles is Delegated, T721Batch, PaymentSplitterMod {
  using Strings for uint16;
  using Strings for uint256;

  uint public ETH_PRICE  = 0.025 ether;
  uint public MAX_ORDER  = 10;
  uint public MAX_SUPPLY = 5555;

  // //seconds
  bool public isActive;
  uint public qtyBurned;

  string private _tokenURIPrefix = "";
  string private _tokenURISuffix = "";

  address[] private addressList = [
    0x91f30728B869f2dDF36De0dB1c9C8f51d84606c2,
    0x46462Ee2B2e26561360ee7F629Da0Ff7E1F02B76,
    0xF403829905A2799076f741b2397d6c5f0c34D224
  ];
  uint[] private shareList = [
    90,
    5,
    5
  ];

  constructor()
    T721("QwertyTurtles", "QT")
    PaymentSplitterMod(addressList, shareList){
  }


  //view: external
  fallback() external payable {}

  function isFrozen( uint tokenId ) external view returns( bool isFrozen_ ){
    return _isStaked( tokenId );
  }


  //view: IERC721Enumerable
  function totalSupply() public view override returns( uint totalSupply_ ){
    return tokens.length - qtyBurned;
  }

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

  function freeze( uint[] calldata tokenIds ) external {
    for(uint i; i < tokenIds.length; ++i ){
      require( _exists(tokenIds[i]), "QuertyTurtles: freeze for nonexistent token" );

      Token storage token = tokens[ tokenIds[i] ];
      require( token.owner == msg.sender, "QuertyTurtles: caller is not owner" );
      require( token.freezeDate < 2, string(abi.encodePacked("QuertyTurtles: token ", token.id.toString(), " is already frozen")));
      tokens[ tokenIds[ i ] ].freezeDate = uint32(block.timestamp);
    }
  }

  //payable
  function mint( uint quantity ) external payable {
    require( isActive,                          "QuertyTurtles: Sale is not active"        );
    require( quantity <= MAX_ORDER,             "QuertyTurtles: Order too big"             );
    require( msg.value >= ETH_PRICE * quantity, "QuertyTurtles: Ether sent is not correct" );

    uint supply = totalSupply();
    require( supply + quantity <= MAX_SUPPLY, "QuertyTurtles: Mint/order exceeds supply" );
    for(uint i; i < quantity; ++i){
      _mint( msg.sender );
    }
  }

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

  function mintTo(uint[] calldata quantity, address[] calldata recipient) external payable onlyDelegates{
    require(quantity.length == recipient.length, "Must provide equal quantities and recipients" );

    uint totalQuantity;
    uint supply = totalSupply();
    for(uint i; i < quantity.length; ++i){
      totalQuantity += quantity[i];
    }
    require( supply + totalQuantity < MAX_SUPPLY, "Mint/order exceeds supply" );

    for(uint i; i < recipient.length; ++i){
      for(uint j; j < quantity[i]; ++j){
        _mint( recipient[i] );
      }
    }
  }

  function setActive(bool isActive_) external onlyDelegates{
    require( isActive != isActive_, "New value matches old" );
    isActive = isActive_;
  }

  function setBaseURI(string calldata _newPrefix, string calldata _newSuffix) external onlyDelegates{
    _tokenURIPrefix = _newPrefix;
    _tokenURISuffix = _newSuffix;
  }

  function setMaxOrder(uint maxOrder, uint maxSupply) external onlyDelegates{
    require( maxSupply >= totalSupply(), "Specified supply is lower than current balance" );
    MAX_ORDER = maxOrder;
    MAX_SUPPLY = maxSupply;
  }

  function setPrice( uint ethPrice ) external onlyDelegates{
    ETH_PRICE = ethPrice;
  }

  //private
  function _beforeTokenTransfer(address from, address to, uint tokenId) internal override{
    if( to == address(0) )
      ++qtyBurned;
  }

  function _burn(uint tokenId) private notStaked( tokenId ){
    address owner = ownerOf(tokenId);
    _beforeTokenTransfer(owner, address(0), tokenId);

    // Clear approvals
    _approve(address(0), tokenId);
    tokens[tokenId].owner = address(0);

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

  function _isStaked( uint tokenId ) internal view override returns( bool isStaked_ ){
    return tokens[ tokenId ].freezeDate > 1;
  }

  function _mint( address to ) private {
    uint tokenId = tokens.length;
    _beforeTokenTransfer(address(0), to, tokenId);
    tokens.push(Token( to, uint16(tokenId), 0));
    emit Transfer(address(0), to, tokenId);
  }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

import "../openzeppelin-contracts/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 4 of 19 : PaymentSplitterMod.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

    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 _resetCounters() internal {
        _totalReleased = 0;
        for(uint i; i < _payees.length; ++i ){
            _released[ _payees[i] ] = 0;
        }
    }

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

File 5 of 19 : T721Batch.sol
// SPDX-License-Identifier: BSD-3-Clause

pragma solidity ^0.8.0;

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

import "../contracts/IERC721Batch.sol";
import "../contracts/T721Enumerable.sol";

abstract contract T721Batch is T721Enumerable, IERC721Batch {
  function isOwnerOf( address account, uint[] calldata tokenIds ) external view override returns( bool ){
    for(uint i; i < tokenIds.length; ++i ){
      if( tokens[ 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 ) public view override returns( uint[] memory wallet_ ){
    uint quantity = balanceOf( account );

    uint count;
    uint[] memory wallet = new uint[]( quantity );
    for( uint i; i < tokens.length; ++i ){
      if( account == tokens[i].owner ){
        wallet[ count++ ] = i;
        if( count == quantity )
          break;
      }
    }
    return wallet;
  }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 9 of 19 : SafeMath.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/math/SafeMath.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 10 of 19 : 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 11 of 19 : T721Enumerable.sol
// SPDX-License-Identifier: BSD-3-Clause

pragma solidity ^0.8.0;

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

import "../openzeppelin-contracts/contracts/token/ERC721/extensions/IERC721Enumerable.sol";
import "../contracts/T721.sol";

abstract contract T721Enumerable is T721, IERC721Enumerable {
  function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, T721) returns( bool isSupported ){
    return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId);
  }

  function tokenOfOwnerByIndex(address owner, uint index) external view override returns( uint tokenId ){
    uint count;
    for( uint i; i < tokens.length; ++i ){
      if( owner == tokens[i].owner ){
        if( count == index )
          return i;
        else
          ++count;
      }
    }

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

  //TODO: skip burned
  function tokenByIndex(uint index) external view override returns( uint tokenId ){
    require(index < tokens.length, "T721Enumerable: query for nonexistent token");
    return index;
  }
}

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

    /**
     * @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 13 of 19 : T721.sol
// SPDX-License-Identifier: BSD-3-Clause

pragma solidity ^0.8.0;

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

import "../openzeppelin-contracts/contracts/token/ERC721/IERC721.sol";
import "../openzeppelin-contracts/contracts/token/ERC721/IERC721Receiver.sol";
import "../openzeppelin-contracts/contracts/token/ERC721/extensions/IERC721Metadata.sol";
import "../openzeppelin-contracts/contracts/utils/Address.sol";
import "../openzeppelin-contracts/contracts/utils/Context.sol";
import "../openzeppelin-contracts/contracts/utils/introspection/ERC165.sol";
import "../contracts/Staked.sol";

abstract contract T721 is Context, Staked, ERC165, IERC721, IERC721Metadata {
  using Address for address;

  struct Token{
    address owner;
    uint32 freezeDate;
    uint16 id;
  }

  Token[] public tokens;
  string private _name;
  string private _symbol;

  mapping(uint => address) internal _tokenApprovals;
  mapping(address => mapping(address => bool)) private _operatorApprovals;

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

  //public view
  function balanceOf(address owner) public view override returns (uint balance){
    require(owner != address(0), "T721: query for the zero address");

    for(uint i; i < tokens.length; ++i){
      if( owner == tokens[i].owner )
        ++balance;
    }
    return balance;
  }

  function name() external view override returns( string memory name_ ){
    return _name;
  }

  function ownerOf(uint tokenId) public view override returns( address owner ){
    require(_exists(tokenId), "T721: query for nonexistent token");
    return tokens[tokenId].owner;
  }

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

  function symbol() external view override returns( string memory symbol_ ){
    return _symbol;
  }


  //approvals
  function approve(address to, uint tokenId) external override {
    address owner = ownerOf(tokenId);
    require(to != owner, "T721: approval to current owner");

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

    _approve(to, tokenId);
  }

  function getApproved(uint tokenId) public view override returns( address approver ){
    require(_exists(tokenId), "T721: query for nonexistent token");
    return _tokenApprovals[tokenId];
  }

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

  function setApprovalForAll(address operator, bool approved) external override {
    _operatorApprovals[_msgSender()][operator] = approved;
    emit ApprovalForAll(_msgSender(), operator, approved);
  }


  //transfers
  function safeTransferFrom(address from, address to, uint tokenId) external override{
    safeTransferFrom(from, to, tokenId, "");
  }

  function safeTransferFrom(address from, address to, uint tokenId, bytes memory _data) public override {
    require(_isApprovedOrOwner(_msgSender(), tokenId), "T721: caller is not owner nor approved");
    _safeTransfer(from, to, tokenId, _data);
  }

  function transferFrom(address from, address to, uint tokenId) external override {
    require(_isApprovedOrOwner(_msgSender(), tokenId), "T721: caller is not owner nor approved");
    _transfer(from, to, tokenId);
  }


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

  function _beforeTokenTransfer(address from, address to, uint tokenId) internal virtual;

  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("T721: transfer to non ERC721Receiver implementer");
        } else {
          assembly {
            revert(add(32, reason), mload(reason))
          }
        }
      }
    } else {
      return true;
    }
  }

  function _exists(uint tokenId) internal view returns ( bool ){
    return tokenId < tokens.length && tokens[tokenId].owner != address(0);
  }

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

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

  function _transfer(address from, address to, uint tokenId) internal notStaked( tokenId ){
    require(ownerOf(tokenId) == from, "T721: transfer of token that is not own");

    _beforeTokenTransfer(from, to, tokenId);

    // Clear approvals from the previous owner
    _approve(address(0), tokenId);
    tokens[tokenId].owner = to;

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

File 14 of 19 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

File 16 of 19 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

File 19 of 19 : Staked.sol
// SPDX-License-Identifier: BSD-3

pragma solidity ^0.8.0;

abstract contract Staked {
  modifier notStaked( uint tokenId ) {
    require( !_isStaked( tokenId ), "Token is locked during staking" );
    _;
  }

  function _isStaked( uint tokenId ) internal view virtual returns (bool isStaked_);
}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":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":"ETH_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_ORDER","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"balance","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"freeze","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"approver","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"isApproved","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":"uint256","name":"tokenId","type":"uint256"}],"name":"isFrozen","outputs":[{"internalType":"bool","name":"isFrozen_","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":"quantity","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"quantity","type":"uint256[]"},{"internalType":"address[]","name":"recipient","type":"address[]"}],"name":"mintTo","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"name_","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"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":[],"name":"qtyBurned","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"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":"bool","name":"isActive_","type":"bool"}],"name":"setActive","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":"_newPrefix","type":"string"},{"internalType":"string","name":"_newSuffix","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":"maxOrder","type":"uint256"},{"internalType":"uint256","name":"maxSupply","type":"uint256"}],"name":"setMaxOrder","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"ethPrice","type":"uint256"}],"name":"setPrice","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":"isSupported","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"symbol_","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"tokenId","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":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokens","outputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint32","name":"freezeDate","type":"uint32"},{"internalType":"uint16","name":"id","type":"uint16"}],"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":"totalSupply_","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":"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":"wallet_","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]

6658d15e17628000600c55600a600d556115b3600e5560a06040819052600060808190526200003191601191620005ee565b506040805160208101918290526000908190526200005291601291620005ee565b50604080516060810182527391f30728b869f2ddf36de0db1c9c8f51d84606c281527346462ee2b2e26561360ee7f629da0ff7e1f02b76602082015273f403829905a2799076f741b2397d6c5f0c34d22491810191909152620000ba9060139060036200067d565b5060408051606081018252605a815260056020820181905291810191909152620000e9906014906003620006d5565b50348015620000f757600080fd5b5060138054806020026020016040519081016040528092919081815260200182805480156200015057602002820191906000526020600020905b81546001600160a01b0316815260019091019060200180831162000131575b50505050506014805480602002602001604051908101604052809291908181526020018280548015620001a357602002820191906000526020600020905b8154815260200190600101908083116200018e575b50505050506040518060400160405280600d81526020016c517765727479547572746c657360981b81525060405180604001604052806002815260200161145560f21b81525062000203620001fd620003ac60201b60201c565b620003b0565b60018060006200021b6000546001600160a01b031690565b6001600160a01b03168152602080820192909252604001600020805460ff1916921515929092179091558251620002599160039190850190620005ee565b5080516200026f906004906020840190620005ee565b5050508051825114620002e45760405162461bcd60e51b815260206004820152603260248201527f5061796d656e7453706c69747465723a2070617965657320616e6420736861726044820152710cae640d8cadccee8d040dad2e6dac2e8c6d60731b60648201526084015b60405180910390fd5b6000825111620003375760405162461bcd60e51b815260206004820152601a60248201527f5061796d656e7453706c69747465723a206e6f207061796565730000000000006044820152606401620002db565b60005b8251811015620003a3576200038e8382815181106200035d576200035d6200072f565b60200260200101518383815181106200037a576200037a6200072f565b60200260200101516200040060201b60201c565b806200039a816200075b565b9150506200033a565b505050620007d1565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b0382166200046d5760405162461bcd60e51b815260206004820152602c60248201527f5061796d656e7453706c69747465723a206163636f756e74206973207468652060448201526b7a65726f206164647265737360a01b6064820152608401620002db565b60008111620004bf5760405162461bcd60e51b815260206004820152601d60248201527f5061796d656e7453706c69747465723a207368617265732061726520300000006044820152606401620002db565b6001600160a01b038216600090815260096020526040902054156200053b5760405162461bcd60e51b815260206004820152602b60248201527f5061796d656e7453706c69747465723a206163636f756e7420616c726561647960448201526a206861732073686172657360a81b6064820152608401620002db565b600b8054600181019091557f0175b7a638427703f0dbe7bb9bbf987a2551717b34e79f33b5b1008d1fa01db90180546001600160a01b0319166001600160a01b0384169081179091556000908152600960205260409020819055600754620005a590829062000779565b600755604080516001600160a01b0384168152602081018390527f40c340f65e17194d14ddddb073d3c9f888e3cb52b5aae0c6c7706b4fbc905fac910160405180910390a15050565b828054620005fc9062000794565b90600052602060002090601f0160209004810192826200062057600085556200066b565b82601f106200063b57805160ff19168380011785556200066b565b828001600101855582156200066b579182015b828111156200066b5782518255916020019190600101906200064e565b506200067992915062000718565b5090565b8280548282559060005260206000209081019282156200066b579160200282015b828111156200066b57825182546001600160a01b0319166001600160a01b039091161782556020909201916001909101906200069e565b8280548282559060005260206000209081019282156200066b579160200282015b828111156200066b578251829060ff16905591602001919060010190620006f6565b5b8082111562000679576000815560010162000719565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600060001982141562000772576200077262000745565b5060010190565b600082198211156200078f576200078f62000745565b500190565b600181811c90821680620007a957607f821691505b60208210811415620007cb57634e487b7160e01b600052602260045260246000fd5b50919050565b612f3a80620007e16000396000f3fe60806040526004361061025e5760003560e01c80636bd21d3e11610143578063a22cb465116100bb578063e33b7de311610077578063e33b7de3146107c4578063e5d1ea41146107d9578063e966d512146107f9578063e985e9c51461080c578063f2fde38b14610855578063fc4b3aae1461087557005b8063a22cb465146106ee578063acec338a1461070e578063b534a5c41461072e578063b88d4fde1461074e578063c87b56dd1461076e578063ce7c2ac21461078e57005b80638da5cb5b1161010a5780638da5cb5b1461063257806391b7f5ed1461065057806395d89b41146106705780639852595c14610685578063a0712d68146106bb578063a0894799146106ce57005b80636bd21d3e146105a757806370a08231146105c7578063715018a6146105e75780638832bc29146105fc5780638b83209b1461061257005b806332cb6b0c116101d65780634d44660c1161019d5780634d44660c146104c35780634f64b2be146104e35780634f6ccce71461053157806350c5a00c146105515780636352211e146105675780636790a9de1461058757005b806332cb6b0c1461042b5780633a98ef391461044157806342842e0e14610456578063438b6300146104765780634a994eef146104a357005b80630e5f633c116102255780630e5f633c1461037857806318160ddd1461039c57806319165587146103b157806322f3e2d4146103d157806323b872dd146103eb5780632f745c591461040b57005b806301ffc9a7146102a957806306fdde03146102de5780630777962714610300578063081812fc14610320578063095ea7b31461035857005b366102a7577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be77033604080516001600160a01b0390921682523460208301520160405180910390a1005b005b3480156102b557600080fd5b506102c96102c4366004612554565b610895565b60405190151581526020015b60405180910390f35b3480156102ea57600080fd5b506102f36108c0565b6040516102d591906125c9565b34801561030c57600080fd5b506102c961031b3660046125f1565b610952565b34801561032c57600080fd5b5061034061033b36600461260e565b6109a9565b6040516001600160a01b0390911681526020016102d5565b34801561036457600080fd5b506102a7610373366004612627565b6109ec565b34801561038457600080fd5b5061038e60105481565b6040519081526020016102d5565b3480156103a857600080fd5b5061038e610ae9565b3480156103bd57600080fd5b506102a76103cc3660046125f1565b610b00565b3480156103dd57600080fd5b50600f546102c99060ff1681565b3480156103f757600080fd5b506102a7610406366004612653565b610cd1565b34801561041757600080fd5b5061038e610426366004612627565b610d02565b34801561043757600080fd5b5061038e600e5481565b34801561044d57600080fd5b5060075461038e565b34801561046257600080fd5b506102a7610471366004612653565b610dcc565b34801561048257600080fd5b506104966104913660046125f1565b610de7565b6040516102d59190612694565b3480156104af57600080fd5b506102a76104be3660046126e8565b610ecd565b3480156104cf57600080fd5b506102c96104de366004612769565b610f22565b3480156104ef57600080fd5b506105036104fe36600461260e565b610fa4565b604080516001600160a01b03909416845263ffffffff909216602084015261ffff16908201526060016102d5565b34801561053d57600080fd5b5061038e61054c36600461260e565b610fe8565b34801561055d57600080fd5b5061038e600d5481565b34801561057357600080fd5b5061034061058236600461260e565b611054565b34801561059357600080fd5b506102a76105a2366004612800565b6110a9565b3480156105b357600080fd5b506102a76105c236600461286c565b6110f8565b3480156105d357600080fd5b5061038e6105e23660046125f1565b6111a0565b3480156105f357600080fd5b506102a7611259565b34801561060857600080fd5b5061038e600c5481565b34801561061e57600080fd5b5061034061062d36600461260e565b61128f565b34801561063e57600080fd5b506000546001600160a01b0316610340565b34801561065c57600080fd5b506102a761066b36600461260e565b6112a4565b34801561067c57600080fd5b506102f36112d8565b34801561069157600080fd5b5061038e6106a03660046125f1565b6001600160a01b03166000908152600a602052604090205490565b6102a76106c936600461260e565b6112e7565b3480156106da57600080fd5b506102c96106e936600461260e565b6114a0565b3480156106fa57600080fd5b506102a76107093660046126e8565b6114ab565b34801561071a57600080fd5b506102a761072936600461288e565b611517565b34801561073a57600080fd5b506102a76107493660046128a9565b6115aa565b34801561075a57600080fd5b506102a7610769366004612954565b611628565b34801561077a57600080fd5b506102f361078936600461260e565b611660565b34801561079a57600080fd5b5061038e6107a93660046125f1565b6001600160a01b031660009081526009602052604090205490565b3480156107d057600080fd5b5060085461038e565b3480156107e557600080fd5b506102a76107f4366004612a34565b6116ff565b6102a7610807366004612a76565b6118fa565b34801561081857600080fd5b506102c9610827366004612ad6565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b34801561086157600080fd5b506102a76108703660046125f1565b611ab4565b34801561088157600080fd5b506102a7610890366004612a34565b611b10565b60006001600160e01b0319821663780e9d6360e01b14806108ba57506108ba82611b4c565b92915050565b6060600380546108cf90612b0f565b80601f01602080910402602001604051908101604052809291908181526020018280546108fb90612b0f565b80156109485780601f1061091d57610100808354040283529160200191610948565b820191906000526020600020905b81548152906001019060200180831161092b57829003601f168201915b5050505050905090565b600080546001600160a01b031633146109865760405162461bcd60e51b815260040161097d90612b44565b60405180910390fd5b506001600160a01b03811660009081526001602052604090205460ff165b919050565b60006109b482611b9c565b6109d05760405162461bcd60e51b815260040161097d90612b79565b506000908152600560205260409020546001600160a01b031690565b60006109f782611054565b9050806001600160a01b0316836001600160a01b03161415610a5b5760405162461bcd60e51b815260206004820152601f60248201527f543732313a20617070726f76616c20746f2063757272656e74206f776e657200604482015260640161097d565b336001600160a01b0382161480610a775750610a778133610827565b610ada5760405162461bcd60e51b815260206004820152602e60248201527f543732313a2063616c6c6572206973206e6f74206f776e6572206e6f7220617060448201526d1c1c9bdd995908199bdc88185b1b60921b606482015260840161097d565b610ae48383611be6565b505050565b601054600254600091610afb91612bd0565b905090565b6001600160a01b038116600090815260096020526040902054610b745760405162461bcd60e51b815260206004820152602660248201527f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060448201526573686172657360d01b606482015260840161097d565b600060085447610b849190612be7565b6001600160a01b0383166000908152600a60209081526040808320546007546009909352908320549394509192610bbb9085612bff565b610bc59190612c34565b610bcf9190612bd0565b905080610c325760405162461bcd60e51b815260206004820152602b60248201527f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060448201526a191d59481c185e5b595b9d60aa1b606482015260840161097d565b6001600160a01b0383166000908152600a6020526040902054610c56908290612be7565b6001600160a01b0384166000908152600a6020526040902055600854610c7d908290612be7565b600855610c8a8382611c7c565b604080516001600160a01b0385168152602081018390527fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b056910160405180910390a1505050565b610cdb3382611d95565b610cf75760405162461bcd60e51b815260040161097d90612c48565b610ae4838383611e62565b60008060005b600254811015610d715760028181548110610d2557610d25612c8e565b6000918252602090912001546001600160a01b0386811691161415610d615783821415610d555791506108ba9050565b610d5e82612ca4565b91505b610d6a81612ca4565b9050610d08565b5060405162461bcd60e51b815260206004820152602960248201527f54373231456e756d657261626c653a206f776e657220696e646578206f7574206044820152686f6620626f756e647360b81b606482015260840161097d565b610ae483838360405180602001604052806000815250611628565b60606000610df4836111a0565b90506000808267ffffffffffffffff811115610e1257610e1261293e565b604051908082528060200260200182016040528015610e3b578160200160208202803683370190505b50905060005b600254811015610ec45760028181548110610e5e57610e5e612c8e565b6000918252602090912001546001600160a01b0387811691161415610eb457808284610e8981612ca4565b955081518110610e9b57610e9b612c8e565b60200260200101818152505083831415610eb457610ec4565b610ebd81612ca4565b9050610e41565b50949350505050565b6000546001600160a01b03163314610ef75760405162461bcd60e51b815260040161097d90612b44565b6001600160a01b03919091166000908152600160205260409020805460ff1916911515919091179055565b6000805b82811015610f9757846001600160a01b03166002858584818110610f4c57610f4c612c8e565b9050602002013581548110610f6357610f63612c8e565b6000918252602090912001546001600160a01b031614610f87576000915050610f9d565b610f9081612ca4565b9050610f26565b50600190505b9392505050565b60028181548110610fb457600080fd5b6000918252602090912001546001600160a01b0381169150600160a01b810463ffffffff1690600160c01b900461ffff1683565b60025460009082106110505760405162461bcd60e51b815260206004820152602b60248201527f54373231456e756d657261626c653a20717565727920666f72206e6f6e65786960448201526a39ba32b73a103a37b5b2b760a91b606482015260840161097d565b5090565b600061105f82611b9c565b61107b5760405162461bcd60e51b815260040161097d90612b79565b6002828154811061108e5761108e612c8e565b6000918252602090912001546001600160a01b031692915050565b3360009081526001602052604090205460ff166110d85760405162461bcd60e51b815260040161097d90612cbf565b6110e4601185856124ae565b506110f1601283836124ae565b5050505050565b3360009081526001602052604090205460ff166111275760405162461bcd60e51b815260040161097d90612cbf565b61112f610ae9565b8110156111955760405162461bcd60e51b815260206004820152602e60248201527f53706563696669656420737570706c79206973206c6f776572207468616e206360448201526d757272656e742062616c616e636560901b606482015260840161097d565b600d91909155600e55565b60006001600160a01b0382166111f85760405162461bcd60e51b815260206004820181905260248201527f543732313a20717565727920666f7220746865207a65726f2061646472657373604482015260640161097d565b60005b600254811015611253576002818154811061121857611218612c8e565b6000918252602090912001546001600160a01b03848116911614156112435761124082612ca4565b91505b61124c81612ca4565b90506111fb565b50919050565b6000546001600160a01b031633146112835760405162461bcd60e51b815260040161097d90612b44565b61128d6000611f87565b565b6000600b828154811061108e5761108e612c8e565b3360009081526001602052604090205460ff166112d35760405162461bcd60e51b815260040161097d90612cbf565b600c55565b6060600480546108cf90612b0f565b600f5460ff166113435760405162461bcd60e51b815260206004820152602160248201527f517565727479547572746c65733a2053616c65206973206e6f742061637469766044820152606560f81b606482015260840161097d565b600d548111156113955760405162461bcd60e51b815260206004820152601c60248201527f517565727479547572746c65733a204f7264657220746f6f2062696700000000604482015260640161097d565b80600c546113a39190612bff565b3410156114035760405162461bcd60e51b815260206004820152602860248201527f517565727479547572746c65733a2045746865722073656e74206973206e6f746044820152670818dbdc9c9958dd60c21b606482015260840161097d565b600061140d610ae9565b600e5490915061141d8383612be7565b111561147c5760405162461bcd60e51b815260206004820152602860248201527f517565727479547572746c65733a204d696e742f6f72646572206578636565646044820152677320737570706c7960c01b606482015260840161097d565b60005b82811015610ae45761149033611fd7565b61149981612ca4565b905061147f565b60006108ba826120bd565b3360008181526006602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b3360009081526001602052604090205460ff166115465760405162461bcd60e51b815260040161097d90612cbf565b600f5460ff16151581151514156115975760405162461bcd60e51b815260206004820152601560248201527413995dc81d985b1d59481b585d18da195cc81bdb19605a1b604482015260640161097d565b600f805460ff1916911515919091179055565b60005b8381101561161f5761160f87878787858181106115cc576115cc612c8e565b9050602002013586868080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061162892505050565b61161881612ca4565b90506115ad565b50505050505050565b6116323383611d95565b61164e5760405162461bcd60e51b815260040161097d90612c48565b61165a848484846120f4565b50505050565b606061166b82611b9c565b6116ca5760405162461bcd60e51b815260206004820152602a60248201527f517565727479547572746c65733a20717565727920666f72206e6f6e657869736044820152693a32b73a103a37b5b2b760b11b606482015260840161097d565b60116116d583612127565b60126040516020016116e993929190612d83565b6040516020818303038152906040529050919050565b60005b81811015610ae45761172b83838381811061171f5761171f612c8e565b90506020020135611b9c565b61178b5760405162461bcd60e51b815260206004820152602b60248201527f517565727479547572746c65733a20667265657a6520666f72206e6f6e65786960448201526a39ba32b73a103a37b5b2b760a91b606482015260840161097d565b600060028484848181106117a1576117a1612c8e565b90506020020135815481106117b8576117b8612c8e565b600091825260209091200180549091506001600160a01b0316331461182a5760405162461bcd60e51b815260206004820152602260248201527f517565727479547572746c65733a2063616c6c6572206973206e6f74206f776e60448201526132b960f11b606482015260840161097d565b80546002600160a01b820463ffffffff16109061185190600160c01b900461ffff16612127565b6040516020016118619190612db6565b6040516020818303038152906040529061188e5760405162461bcd60e51b815260040161097d91906125c9565b504260028585858181106118a4576118a4612c8e565b90506020020135815481106118bb576118bb612c8e565b6000918252602090912001805463ffffffff92909216600160a01b0263ffffffff60a01b19909216919091179055506118f381612ca4565b9050611702565b3360009081526001602052604090205460ff166119295760405162461bcd60e51b815260040161097d90612cbf565b82811461198d5760405162461bcd60e51b815260206004820152602c60248201527f4d7573742070726f7669646520657175616c207175616e74697469657320616e60448201526b6420726563697069656e747360a01b606482015260840161097d565b600080611998610ae9565b905060005b858110156119db578686828181106119b7576119b7612c8e565b90506020020135836119c99190612be7565b92506119d481612ca4565b905061199d565b50600e546119e98383612be7565b10611a365760405162461bcd60e51b815260206004820152601960248201527f4d696e742f6f72646572206578636565647320737570706c7900000000000000604482015260640161097d565b60005b8381101561161f5760005b878783818110611a5657611a56612c8e565b90506020020135811015611aa357611a93868684818110611a7957611a79612c8e565b9050602002016020810190611a8e91906125f1565b611fd7565b611a9c81612ca4565b9050611a44565b50611aad81612ca4565b9050611a39565b6000546001600160a01b03163314611ade5760405162461bcd60e51b815260040161097d90612b44565b6001600160a01b0381166000908152600160208190526040909120805460ff19169091179055611b0d8161222d565b50565b60005b81811015610ae457611b3c838383818110611b3057611b30612c8e565b905060200201356122c5565b611b4581612ca4565b9050611b13565b60006001600160e01b031982166380ac58cd60e01b1480611b7d57506001600160e01b03198216635b5e139f60e01b145b806108ba57506301ffc9a760e01b6001600160e01b03198316146108ba565b600254600090821080156108ba575060006001600160a01b031660028381548110611bc957611bc9612c8e565b6000918252602090912001546001600160a01b0316141592915050565b80611bf0816120bd565b15611c0d5760405162461bcd60e51b815260040161097d90612e0f565b600082815260056020526040902080546001600160a01b0319166001600160a01b0385169081179091558290611c4282611054565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b80471015611ccc5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e6365000000604482015260640161097d565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611d19576040519150601f19603f3d011682016040523d82523d6000602084013e611d1e565b606091505b5050905080610ae45760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d61792068617665207265766572746564000000000000606482015260840161097d565b600081611da1816120bd565b15611dbe5760405162461bcd60e51b815260040161097d90612e0f565b611dc783611b9c565b611de35760405162461bcd60e51b815260040161097d90612b79565b6000611dee84611054565b9050806001600160a01b0316856001600160a01b03161480611e295750846001600160a01b0316611e1e856109a9565b6001600160a01b0316145b80611e5957506001600160a01b0380821660009081526006602090815260408083209389168352929052205460ff165b95945050505050565b80611e6c816120bd565b15611e895760405162461bcd60e51b815260040161097d90612e0f565b836001600160a01b0316611e9c83611054565b6001600160a01b031614611f025760405162461bcd60e51b815260206004820152602760248201527f543732313a207472616e73666572206f6620746f6b656e2074686174206973206044820152663737ba1037bbb760c91b606482015260840161097d565b611f0d84848461237b565b611f18600083611be6565b8260028381548110611f2c57611f2c612c8e565b6000918252602082200180546001600160a01b0319166001600160a01b03938416179055604051849286811692908816917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9190a450505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600254611fe66000838361237b565b604080516060810182526001600160a01b0380851680835261ffff8086166020850190815260008587018181526002805460018101825590835296517f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace909701805493519151909416600160c01b0261ffff60c01b1963ffffffff92909216600160a01b026001600160c01b031990941697909616969096179190911794909416929092179091559151839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60006001600283815481106120d4576120d4612c8e565b600091825260209091200154600160a01b900463ffffffff161192915050565b6120ff848484611e62565b61210b848484846123a1565b61165a5760405162461bcd60e51b815260040161097d90612e46565b60608161214b5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115612175578061215f81612ca4565b915061216e9050600a83612c34565b915061214f565b60008167ffffffffffffffff8111156121905761219061293e565b6040519080825280601f01601f1916602001820160405280156121ba576020820181803683370190505b5090505b8415612225576121cf600183612bd0565b91506121dc600a86612e96565b6121e7906030612be7565b60f81b8183815181106121fc576121fc612c8e565b60200101906001600160f81b031916908160001a90535061221e600a86612c34565b94506121be565b949350505050565b6000546001600160a01b031633146122575760405162461bcd60e51b815260040161097d90612b44565b6001600160a01b0381166122bc5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161097d565b611b0d81611f87565b806122cf816120bd565b156122ec5760405162461bcd60e51b815260040161097d90612e0f565b60006122f783611054565b90506123058160008561237b565b612310600084611be6565b60006002848154811061232557612325612c8e565b6000918252602082200180546001600160a01b0319166001600160a01b0393841617905560405185928416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a4505050565b6001600160a01b038216610ae45760106000815461239890612ca4565b90915550505050565b60006001600160a01b0384163b156124a357604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906123e5903390899088908890600401612eaa565b602060405180830381600087803b1580156123ff57600080fd5b505af192505050801561242f575060408051601f3d908101601f1916820190925261242c91810190612ee7565b60015b612489573d80801561245d576040519150601f19603f3d011682016040523d82523d6000602084013e612462565b606091505b5080516124815760405162461bcd60e51b815260040161097d90612e46565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050612225565b506001949350505050565b8280546124ba90612b0f565b90600052602060002090601f0160209004810192826124dc5760008555612522565b82601f106124f55782800160ff19823516178555612522565b82800160010185558215612522579182015b82811115612522578235825591602001919060010190612507565b506110509291505b80821115611050576000815560010161252a565b6001600160e01b031981168114611b0d57600080fd5b60006020828403121561256657600080fd5b8135610f9d8161253e565b60005b8381101561258c578181015183820152602001612574565b8381111561165a5750506000910152565b600081518084526125b5816020860160208601612571565b601f01601f19169290920160200192915050565b602081526000610f9d602083018461259d565b6001600160a01b0381168114611b0d57600080fd5b60006020828403121561260357600080fd5b8135610f9d816125dc565b60006020828403121561262057600080fd5b5035919050565b6000806040838503121561263a57600080fd5b8235612645816125dc565b946020939093013593505050565b60008060006060848603121561266857600080fd5b8335612673816125dc565b92506020840135612683816125dc565b929592945050506040919091013590565b6020808252825182820181905260009190848201906040850190845b818110156126cc578351835292840192918401916001016126b0565b50909695505050505050565b803580151581146109a457600080fd5b600080604083850312156126fb57600080fd5b8235612706816125dc565b9150612714602084016126d8565b90509250929050565b60008083601f84011261272f57600080fd5b50813567ffffffffffffffff81111561274757600080fd5b6020830191508360208260051b850101111561276257600080fd5b9250929050565b60008060006040848603121561277e57600080fd5b8335612789816125dc565b9250602084013567ffffffffffffffff8111156127a557600080fd5b6127b18682870161271d565b9497909650939450505050565b60008083601f8401126127d057600080fd5b50813567ffffffffffffffff8111156127e857600080fd5b60208301915083602082850101111561276257600080fd5b6000806000806040858703121561281657600080fd5b843567ffffffffffffffff8082111561282e57600080fd5b61283a888389016127be565b9096509450602087013591508082111561285357600080fd5b50612860878288016127be565b95989497509550505050565b6000806040838503121561287f57600080fd5b50508035926020909101359150565b6000602082840312156128a057600080fd5b610f9d826126d8565b600080600080600080608087890312156128c257600080fd5b86356128cd816125dc565b955060208701356128dd816125dc565b9450604087013567ffffffffffffffff808211156128fa57600080fd5b6129068a838b0161271d565b9096509450606089013591508082111561291f57600080fd5b5061292c89828a016127be565b979a9699509497509295939492505050565b634e487b7160e01b600052604160045260246000fd5b6000806000806080858703121561296a57600080fd5b8435612975816125dc565b93506020850135612985816125dc565b925060408501359150606085013567ffffffffffffffff808211156129a957600080fd5b818701915087601f8301126129bd57600080fd5b8135818111156129cf576129cf61293e565b604051601f8201601f19908116603f011681019083821181831017156129f7576129f761293e565b816040528281528a6020848701011115612a1057600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b60008060208385031215612a4757600080fd5b823567ffffffffffffffff811115612a5e57600080fd5b612a6a8582860161271d565b90969095509350505050565b60008060008060408587031215612a8c57600080fd5b843567ffffffffffffffff80821115612aa457600080fd5b612ab08883890161271d565b90965094506020870135915080821115612ac957600080fd5b506128608782880161271d565b60008060408385031215612ae957600080fd5b8235612af4816125dc565b91506020830135612b04816125dc565b809150509250929050565b600181811c90821680612b2357607f821691505b6020821081141561125357634e487b7160e01b600052602260045260246000fd5b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526021908201527f543732313a20717565727920666f72206e6f6e6578697374656e7420746f6b656040820152603760f91b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b600082821015612be257612be2612bba565b500390565b60008219821115612bfa57612bfa612bba565b500190565b6000816000190483118215151615612c1957612c19612bba565b500290565b634e487b7160e01b600052601260045260246000fd5b600082612c4357612c43612c1e565b500490565b60208082526026908201527f543732313a2063616c6c6572206973206e6f74206f776e6572206e6f722061706040820152651c1c9bdd995960d21b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b6000600019821415612cb857612cb8612bba565b5060010190565b60208082526010908201526f496e76616c69642064656c656761746560801b604082015260600190565b8054600090600181811c9080831680612d0357607f831692505b6020808410821415612d2557634e487b7160e01b600052602260045260246000fd5b818015612d395760018114612d4a57612d77565b60ff19861689528489019650612d77565b60008881526020902060005b86811015612d6f5781548b820152908501908301612d56565b505084890196505b50505050505092915050565b6000612d8f8286612ce9565b8451612d9f818360208901612571565b612dab81830186612ce9565b979650505050505050565b74028bab2b93a3caa3ab93a3632b99d103a37b5b2b71605d1b815260008251612de6816015850160208701612571565b711034b99030b63932b0b23c90333937bd32b760711b6015939091019283015250602701919050565b6020808252601e908201527f546f6b656e206973206c6f636b656420647572696e67207374616b696e670000604082015260600190565b60208082526030908201527f543732313a207472616e7366657220746f206e6f6e204552433732315265636560408201526f34bb32b91034b6b83632b6b2b73a32b960811b606082015260800190565b600082612ea557612ea5612c1e565b500690565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612edd9083018461259d565b9695505050505050565b600060208284031215612ef957600080fd5b8151610f9d8161253e56fea2646970667358221220550939bef879d0ae865b7b4be22a167e26417330c8348d75b7d1573d23b6582464736f6c63430008090033

Deployed Bytecode

0x60806040526004361061025e5760003560e01c80636bd21d3e11610143578063a22cb465116100bb578063e33b7de311610077578063e33b7de3146107c4578063e5d1ea41146107d9578063e966d512146107f9578063e985e9c51461080c578063f2fde38b14610855578063fc4b3aae1461087557005b8063a22cb465146106ee578063acec338a1461070e578063b534a5c41461072e578063b88d4fde1461074e578063c87b56dd1461076e578063ce7c2ac21461078e57005b80638da5cb5b1161010a5780638da5cb5b1461063257806391b7f5ed1461065057806395d89b41146106705780639852595c14610685578063a0712d68146106bb578063a0894799146106ce57005b80636bd21d3e146105a757806370a08231146105c7578063715018a6146105e75780638832bc29146105fc5780638b83209b1461061257005b806332cb6b0c116101d65780634d44660c1161019d5780634d44660c146104c35780634f64b2be146104e35780634f6ccce71461053157806350c5a00c146105515780636352211e146105675780636790a9de1461058757005b806332cb6b0c1461042b5780633a98ef391461044157806342842e0e14610456578063438b6300146104765780634a994eef146104a357005b80630e5f633c116102255780630e5f633c1461037857806318160ddd1461039c57806319165587146103b157806322f3e2d4146103d157806323b872dd146103eb5780632f745c591461040b57005b806301ffc9a7146102a957806306fdde03146102de5780630777962714610300578063081812fc14610320578063095ea7b31461035857005b366102a7577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be77033604080516001600160a01b0390921682523460208301520160405180910390a1005b005b3480156102b557600080fd5b506102c96102c4366004612554565b610895565b60405190151581526020015b60405180910390f35b3480156102ea57600080fd5b506102f36108c0565b6040516102d591906125c9565b34801561030c57600080fd5b506102c961031b3660046125f1565b610952565b34801561032c57600080fd5b5061034061033b36600461260e565b6109a9565b6040516001600160a01b0390911681526020016102d5565b34801561036457600080fd5b506102a7610373366004612627565b6109ec565b34801561038457600080fd5b5061038e60105481565b6040519081526020016102d5565b3480156103a857600080fd5b5061038e610ae9565b3480156103bd57600080fd5b506102a76103cc3660046125f1565b610b00565b3480156103dd57600080fd5b50600f546102c99060ff1681565b3480156103f757600080fd5b506102a7610406366004612653565b610cd1565b34801561041757600080fd5b5061038e610426366004612627565b610d02565b34801561043757600080fd5b5061038e600e5481565b34801561044d57600080fd5b5060075461038e565b34801561046257600080fd5b506102a7610471366004612653565b610dcc565b34801561048257600080fd5b506104966104913660046125f1565b610de7565b6040516102d59190612694565b3480156104af57600080fd5b506102a76104be3660046126e8565b610ecd565b3480156104cf57600080fd5b506102c96104de366004612769565b610f22565b3480156104ef57600080fd5b506105036104fe36600461260e565b610fa4565b604080516001600160a01b03909416845263ffffffff909216602084015261ffff16908201526060016102d5565b34801561053d57600080fd5b5061038e61054c36600461260e565b610fe8565b34801561055d57600080fd5b5061038e600d5481565b34801561057357600080fd5b5061034061058236600461260e565b611054565b34801561059357600080fd5b506102a76105a2366004612800565b6110a9565b3480156105b357600080fd5b506102a76105c236600461286c565b6110f8565b3480156105d357600080fd5b5061038e6105e23660046125f1565b6111a0565b3480156105f357600080fd5b506102a7611259565b34801561060857600080fd5b5061038e600c5481565b34801561061e57600080fd5b5061034061062d36600461260e565b61128f565b34801561063e57600080fd5b506000546001600160a01b0316610340565b34801561065c57600080fd5b506102a761066b36600461260e565b6112a4565b34801561067c57600080fd5b506102f36112d8565b34801561069157600080fd5b5061038e6106a03660046125f1565b6001600160a01b03166000908152600a602052604090205490565b6102a76106c936600461260e565b6112e7565b3480156106da57600080fd5b506102c96106e936600461260e565b6114a0565b3480156106fa57600080fd5b506102a76107093660046126e8565b6114ab565b34801561071a57600080fd5b506102a761072936600461288e565b611517565b34801561073a57600080fd5b506102a76107493660046128a9565b6115aa565b34801561075a57600080fd5b506102a7610769366004612954565b611628565b34801561077a57600080fd5b506102f361078936600461260e565b611660565b34801561079a57600080fd5b5061038e6107a93660046125f1565b6001600160a01b031660009081526009602052604090205490565b3480156107d057600080fd5b5060085461038e565b3480156107e557600080fd5b506102a76107f4366004612a34565b6116ff565b6102a7610807366004612a76565b6118fa565b34801561081857600080fd5b506102c9610827366004612ad6565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b34801561086157600080fd5b506102a76108703660046125f1565b611ab4565b34801561088157600080fd5b506102a7610890366004612a34565b611b10565b60006001600160e01b0319821663780e9d6360e01b14806108ba57506108ba82611b4c565b92915050565b6060600380546108cf90612b0f565b80601f01602080910402602001604051908101604052809291908181526020018280546108fb90612b0f565b80156109485780601f1061091d57610100808354040283529160200191610948565b820191906000526020600020905b81548152906001019060200180831161092b57829003601f168201915b5050505050905090565b600080546001600160a01b031633146109865760405162461bcd60e51b815260040161097d90612b44565b60405180910390fd5b506001600160a01b03811660009081526001602052604090205460ff165b919050565b60006109b482611b9c565b6109d05760405162461bcd60e51b815260040161097d90612b79565b506000908152600560205260409020546001600160a01b031690565b60006109f782611054565b9050806001600160a01b0316836001600160a01b03161415610a5b5760405162461bcd60e51b815260206004820152601f60248201527f543732313a20617070726f76616c20746f2063757272656e74206f776e657200604482015260640161097d565b336001600160a01b0382161480610a775750610a778133610827565b610ada5760405162461bcd60e51b815260206004820152602e60248201527f543732313a2063616c6c6572206973206e6f74206f776e6572206e6f7220617060448201526d1c1c9bdd995908199bdc88185b1b60921b606482015260840161097d565b610ae48383611be6565b505050565b601054600254600091610afb91612bd0565b905090565b6001600160a01b038116600090815260096020526040902054610b745760405162461bcd60e51b815260206004820152602660248201527f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060448201526573686172657360d01b606482015260840161097d565b600060085447610b849190612be7565b6001600160a01b0383166000908152600a60209081526040808320546007546009909352908320549394509192610bbb9085612bff565b610bc59190612c34565b610bcf9190612bd0565b905080610c325760405162461bcd60e51b815260206004820152602b60248201527f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060448201526a191d59481c185e5b595b9d60aa1b606482015260840161097d565b6001600160a01b0383166000908152600a6020526040902054610c56908290612be7565b6001600160a01b0384166000908152600a6020526040902055600854610c7d908290612be7565b600855610c8a8382611c7c565b604080516001600160a01b0385168152602081018390527fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b056910160405180910390a1505050565b610cdb3382611d95565b610cf75760405162461bcd60e51b815260040161097d90612c48565b610ae4838383611e62565b60008060005b600254811015610d715760028181548110610d2557610d25612c8e565b6000918252602090912001546001600160a01b0386811691161415610d615783821415610d555791506108ba9050565b610d5e82612ca4565b91505b610d6a81612ca4565b9050610d08565b5060405162461bcd60e51b815260206004820152602960248201527f54373231456e756d657261626c653a206f776e657220696e646578206f7574206044820152686f6620626f756e647360b81b606482015260840161097d565b610ae483838360405180602001604052806000815250611628565b60606000610df4836111a0565b90506000808267ffffffffffffffff811115610e1257610e1261293e565b604051908082528060200260200182016040528015610e3b578160200160208202803683370190505b50905060005b600254811015610ec45760028181548110610e5e57610e5e612c8e565b6000918252602090912001546001600160a01b0387811691161415610eb457808284610e8981612ca4565b955081518110610e9b57610e9b612c8e565b60200260200101818152505083831415610eb457610ec4565b610ebd81612ca4565b9050610e41565b50949350505050565b6000546001600160a01b03163314610ef75760405162461bcd60e51b815260040161097d90612b44565b6001600160a01b03919091166000908152600160205260409020805460ff1916911515919091179055565b6000805b82811015610f9757846001600160a01b03166002858584818110610f4c57610f4c612c8e565b9050602002013581548110610f6357610f63612c8e565b6000918252602090912001546001600160a01b031614610f87576000915050610f9d565b610f9081612ca4565b9050610f26565b50600190505b9392505050565b60028181548110610fb457600080fd5b6000918252602090912001546001600160a01b0381169150600160a01b810463ffffffff1690600160c01b900461ffff1683565b60025460009082106110505760405162461bcd60e51b815260206004820152602b60248201527f54373231456e756d657261626c653a20717565727920666f72206e6f6e65786960448201526a39ba32b73a103a37b5b2b760a91b606482015260840161097d565b5090565b600061105f82611b9c565b61107b5760405162461bcd60e51b815260040161097d90612b79565b6002828154811061108e5761108e612c8e565b6000918252602090912001546001600160a01b031692915050565b3360009081526001602052604090205460ff166110d85760405162461bcd60e51b815260040161097d90612cbf565b6110e4601185856124ae565b506110f1601283836124ae565b5050505050565b3360009081526001602052604090205460ff166111275760405162461bcd60e51b815260040161097d90612cbf565b61112f610ae9565b8110156111955760405162461bcd60e51b815260206004820152602e60248201527f53706563696669656420737570706c79206973206c6f776572207468616e206360448201526d757272656e742062616c616e636560901b606482015260840161097d565b600d91909155600e55565b60006001600160a01b0382166111f85760405162461bcd60e51b815260206004820181905260248201527f543732313a20717565727920666f7220746865207a65726f2061646472657373604482015260640161097d565b60005b600254811015611253576002818154811061121857611218612c8e565b6000918252602090912001546001600160a01b03848116911614156112435761124082612ca4565b91505b61124c81612ca4565b90506111fb565b50919050565b6000546001600160a01b031633146112835760405162461bcd60e51b815260040161097d90612b44565b61128d6000611f87565b565b6000600b828154811061108e5761108e612c8e565b3360009081526001602052604090205460ff166112d35760405162461bcd60e51b815260040161097d90612cbf565b600c55565b6060600480546108cf90612b0f565b600f5460ff166113435760405162461bcd60e51b815260206004820152602160248201527f517565727479547572746c65733a2053616c65206973206e6f742061637469766044820152606560f81b606482015260840161097d565b600d548111156113955760405162461bcd60e51b815260206004820152601c60248201527f517565727479547572746c65733a204f7264657220746f6f2062696700000000604482015260640161097d565b80600c546113a39190612bff565b3410156114035760405162461bcd60e51b815260206004820152602860248201527f517565727479547572746c65733a2045746865722073656e74206973206e6f746044820152670818dbdc9c9958dd60c21b606482015260840161097d565b600061140d610ae9565b600e5490915061141d8383612be7565b111561147c5760405162461bcd60e51b815260206004820152602860248201527f517565727479547572746c65733a204d696e742f6f72646572206578636565646044820152677320737570706c7960c01b606482015260840161097d565b60005b82811015610ae45761149033611fd7565b61149981612ca4565b905061147f565b60006108ba826120bd565b3360008181526006602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b3360009081526001602052604090205460ff166115465760405162461bcd60e51b815260040161097d90612cbf565b600f5460ff16151581151514156115975760405162461bcd60e51b815260206004820152601560248201527413995dc81d985b1d59481b585d18da195cc81bdb19605a1b604482015260640161097d565b600f805460ff1916911515919091179055565b60005b8381101561161f5761160f87878787858181106115cc576115cc612c8e565b9050602002013586868080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061162892505050565b61161881612ca4565b90506115ad565b50505050505050565b6116323383611d95565b61164e5760405162461bcd60e51b815260040161097d90612c48565b61165a848484846120f4565b50505050565b606061166b82611b9c565b6116ca5760405162461bcd60e51b815260206004820152602a60248201527f517565727479547572746c65733a20717565727920666f72206e6f6e657869736044820152693a32b73a103a37b5b2b760b11b606482015260840161097d565b60116116d583612127565b60126040516020016116e993929190612d83565b6040516020818303038152906040529050919050565b60005b81811015610ae45761172b83838381811061171f5761171f612c8e565b90506020020135611b9c565b61178b5760405162461bcd60e51b815260206004820152602b60248201527f517565727479547572746c65733a20667265657a6520666f72206e6f6e65786960448201526a39ba32b73a103a37b5b2b760a91b606482015260840161097d565b600060028484848181106117a1576117a1612c8e565b90506020020135815481106117b8576117b8612c8e565b600091825260209091200180549091506001600160a01b0316331461182a5760405162461bcd60e51b815260206004820152602260248201527f517565727479547572746c65733a2063616c6c6572206973206e6f74206f776e60448201526132b960f11b606482015260840161097d565b80546002600160a01b820463ffffffff16109061185190600160c01b900461ffff16612127565b6040516020016118619190612db6565b6040516020818303038152906040529061188e5760405162461bcd60e51b815260040161097d91906125c9565b504260028585858181106118a4576118a4612c8e565b90506020020135815481106118bb576118bb612c8e565b6000918252602090912001805463ffffffff92909216600160a01b0263ffffffff60a01b19909216919091179055506118f381612ca4565b9050611702565b3360009081526001602052604090205460ff166119295760405162461bcd60e51b815260040161097d90612cbf565b82811461198d5760405162461bcd60e51b815260206004820152602c60248201527f4d7573742070726f7669646520657175616c207175616e74697469657320616e60448201526b6420726563697069656e747360a01b606482015260840161097d565b600080611998610ae9565b905060005b858110156119db578686828181106119b7576119b7612c8e565b90506020020135836119c99190612be7565b92506119d481612ca4565b905061199d565b50600e546119e98383612be7565b10611a365760405162461bcd60e51b815260206004820152601960248201527f4d696e742f6f72646572206578636565647320737570706c7900000000000000604482015260640161097d565b60005b8381101561161f5760005b878783818110611a5657611a56612c8e565b90506020020135811015611aa357611a93868684818110611a7957611a79612c8e565b9050602002016020810190611a8e91906125f1565b611fd7565b611a9c81612ca4565b9050611a44565b50611aad81612ca4565b9050611a39565b6000546001600160a01b03163314611ade5760405162461bcd60e51b815260040161097d90612b44565b6001600160a01b0381166000908152600160208190526040909120805460ff19169091179055611b0d8161222d565b50565b60005b81811015610ae457611b3c838383818110611b3057611b30612c8e565b905060200201356122c5565b611b4581612ca4565b9050611b13565b60006001600160e01b031982166380ac58cd60e01b1480611b7d57506001600160e01b03198216635b5e139f60e01b145b806108ba57506301ffc9a760e01b6001600160e01b03198316146108ba565b600254600090821080156108ba575060006001600160a01b031660028381548110611bc957611bc9612c8e565b6000918252602090912001546001600160a01b0316141592915050565b80611bf0816120bd565b15611c0d5760405162461bcd60e51b815260040161097d90612e0f565b600082815260056020526040902080546001600160a01b0319166001600160a01b0385169081179091558290611c4282611054565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b80471015611ccc5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e6365000000604482015260640161097d565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611d19576040519150601f19603f3d011682016040523d82523d6000602084013e611d1e565b606091505b5050905080610ae45760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d61792068617665207265766572746564000000000000606482015260840161097d565b600081611da1816120bd565b15611dbe5760405162461bcd60e51b815260040161097d90612e0f565b611dc783611b9c565b611de35760405162461bcd60e51b815260040161097d90612b79565b6000611dee84611054565b9050806001600160a01b0316856001600160a01b03161480611e295750846001600160a01b0316611e1e856109a9565b6001600160a01b0316145b80611e5957506001600160a01b0380821660009081526006602090815260408083209389168352929052205460ff165b95945050505050565b80611e6c816120bd565b15611e895760405162461bcd60e51b815260040161097d90612e0f565b836001600160a01b0316611e9c83611054565b6001600160a01b031614611f025760405162461bcd60e51b815260206004820152602760248201527f543732313a207472616e73666572206f6620746f6b656e2074686174206973206044820152663737ba1037bbb760c91b606482015260840161097d565b611f0d84848461237b565b611f18600083611be6565b8260028381548110611f2c57611f2c612c8e565b6000918252602082200180546001600160a01b0319166001600160a01b03938416179055604051849286811692908816917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9190a450505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600254611fe66000838361237b565b604080516060810182526001600160a01b0380851680835261ffff8086166020850190815260008587018181526002805460018101825590835296517f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace909701805493519151909416600160c01b0261ffff60c01b1963ffffffff92909216600160a01b026001600160c01b031990941697909616969096179190911794909416929092179091559151839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60006001600283815481106120d4576120d4612c8e565b600091825260209091200154600160a01b900463ffffffff161192915050565b6120ff848484611e62565b61210b848484846123a1565b61165a5760405162461bcd60e51b815260040161097d90612e46565b60608161214b5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115612175578061215f81612ca4565b915061216e9050600a83612c34565b915061214f565b60008167ffffffffffffffff8111156121905761219061293e565b6040519080825280601f01601f1916602001820160405280156121ba576020820181803683370190505b5090505b8415612225576121cf600183612bd0565b91506121dc600a86612e96565b6121e7906030612be7565b60f81b8183815181106121fc576121fc612c8e565b60200101906001600160f81b031916908160001a90535061221e600a86612c34565b94506121be565b949350505050565b6000546001600160a01b031633146122575760405162461bcd60e51b815260040161097d90612b44565b6001600160a01b0381166122bc5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161097d565b611b0d81611f87565b806122cf816120bd565b156122ec5760405162461bcd60e51b815260040161097d90612e0f565b60006122f783611054565b90506123058160008561237b565b612310600084611be6565b60006002848154811061232557612325612c8e565b6000918252602082200180546001600160a01b0319166001600160a01b0393841617905560405185928416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a4505050565b6001600160a01b038216610ae45760106000815461239890612ca4565b90915550505050565b60006001600160a01b0384163b156124a357604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906123e5903390899088908890600401612eaa565b602060405180830381600087803b1580156123ff57600080fd5b505af192505050801561242f575060408051601f3d908101601f1916820190925261242c91810190612ee7565b60015b612489573d80801561245d576040519150601f19603f3d011682016040523d82523d6000602084013e612462565b606091505b5080516124815760405162461bcd60e51b815260040161097d90612e46565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050612225565b506001949350505050565b8280546124ba90612b0f565b90600052602060002090601f0160209004810192826124dc5760008555612522565b82601f106124f55782800160ff19823516178555612522565b82800160010185558215612522579182015b82811115612522578235825591602001919060010190612507565b506110509291505b80821115611050576000815560010161252a565b6001600160e01b031981168114611b0d57600080fd5b60006020828403121561256657600080fd5b8135610f9d8161253e565b60005b8381101561258c578181015183820152602001612574565b8381111561165a5750506000910152565b600081518084526125b5816020860160208601612571565b601f01601f19169290920160200192915050565b602081526000610f9d602083018461259d565b6001600160a01b0381168114611b0d57600080fd5b60006020828403121561260357600080fd5b8135610f9d816125dc565b60006020828403121561262057600080fd5b5035919050565b6000806040838503121561263a57600080fd5b8235612645816125dc565b946020939093013593505050565b60008060006060848603121561266857600080fd5b8335612673816125dc565b92506020840135612683816125dc565b929592945050506040919091013590565b6020808252825182820181905260009190848201906040850190845b818110156126cc578351835292840192918401916001016126b0565b50909695505050505050565b803580151581146109a457600080fd5b600080604083850312156126fb57600080fd5b8235612706816125dc565b9150612714602084016126d8565b90509250929050565b60008083601f84011261272f57600080fd5b50813567ffffffffffffffff81111561274757600080fd5b6020830191508360208260051b850101111561276257600080fd5b9250929050565b60008060006040848603121561277e57600080fd5b8335612789816125dc565b9250602084013567ffffffffffffffff8111156127a557600080fd5b6127b18682870161271d565b9497909650939450505050565b60008083601f8401126127d057600080fd5b50813567ffffffffffffffff8111156127e857600080fd5b60208301915083602082850101111561276257600080fd5b6000806000806040858703121561281657600080fd5b843567ffffffffffffffff8082111561282e57600080fd5b61283a888389016127be565b9096509450602087013591508082111561285357600080fd5b50612860878288016127be565b95989497509550505050565b6000806040838503121561287f57600080fd5b50508035926020909101359150565b6000602082840312156128a057600080fd5b610f9d826126d8565b600080600080600080608087890312156128c257600080fd5b86356128cd816125dc565b955060208701356128dd816125dc565b9450604087013567ffffffffffffffff808211156128fa57600080fd5b6129068a838b0161271d565b9096509450606089013591508082111561291f57600080fd5b5061292c89828a016127be565b979a9699509497509295939492505050565b634e487b7160e01b600052604160045260246000fd5b6000806000806080858703121561296a57600080fd5b8435612975816125dc565b93506020850135612985816125dc565b925060408501359150606085013567ffffffffffffffff808211156129a957600080fd5b818701915087601f8301126129bd57600080fd5b8135818111156129cf576129cf61293e565b604051601f8201601f19908116603f011681019083821181831017156129f7576129f761293e565b816040528281528a6020848701011115612a1057600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b60008060208385031215612a4757600080fd5b823567ffffffffffffffff811115612a5e57600080fd5b612a6a8582860161271d565b90969095509350505050565b60008060008060408587031215612a8c57600080fd5b843567ffffffffffffffff80821115612aa457600080fd5b612ab08883890161271d565b90965094506020870135915080821115612ac957600080fd5b506128608782880161271d565b60008060408385031215612ae957600080fd5b8235612af4816125dc565b91506020830135612b04816125dc565b809150509250929050565b600181811c90821680612b2357607f821691505b6020821081141561125357634e487b7160e01b600052602260045260246000fd5b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526021908201527f543732313a20717565727920666f72206e6f6e6578697374656e7420746f6b656040820152603760f91b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b600082821015612be257612be2612bba565b500390565b60008219821115612bfa57612bfa612bba565b500190565b6000816000190483118215151615612c1957612c19612bba565b500290565b634e487b7160e01b600052601260045260246000fd5b600082612c4357612c43612c1e565b500490565b60208082526026908201527f543732313a2063616c6c6572206973206e6f74206f776e6572206e6f722061706040820152651c1c9bdd995960d21b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b6000600019821415612cb857612cb8612bba565b5060010190565b60208082526010908201526f496e76616c69642064656c656761746560801b604082015260600190565b8054600090600181811c9080831680612d0357607f831692505b6020808410821415612d2557634e487b7160e01b600052602260045260246000fd5b818015612d395760018114612d4a57612d77565b60ff19861689528489019650612d77565b60008881526020902060005b86811015612d6f5781548b820152908501908301612d56565b505084890196505b50505050505092915050565b6000612d8f8286612ce9565b8451612d9f818360208901612571565b612dab81830186612ce9565b979650505050505050565b74028bab2b93a3caa3ab93a3632b99d103a37b5b2b71605d1b815260008251612de6816015850160208701612571565b711034b99030b63932b0b23c90333937bd32b760711b6015939091019283015250602701919050565b6020808252601e908201527f546f6b656e206973206c6f636b656420647572696e67207374616b696e670000604082015260600190565b60208082526030908201527f543732313a207472616e7366657220746f206e6f6e204552433732315265636560408201526f34bb32b91034b6b83632b6b2b73a32b960811b606082015260800190565b600082612ea557612ea5612c1e565b500690565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612edd9083018461259d565b9695505050505050565b600060208284031215612ef957600080fd5b8151610f9d8161253e56fea2646970667358221220550939bef879d0ae865b7b4be22a167e26417330c8348d75b7d1573d23b6582464736f6c63430008090033

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.