ETH Price: $3,635.36 (+0.13%)
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Transfer From170774812023-04-19 1:43:59627 days ago1681868639IN
0x6C260d4D...Fad595233
0 ETH0.002000850.90461602
Set Approval For...163755762023-01-10 9:41:23726 days ago1673343683IN
0x6C260d4D...Fad595233
0 ETH0.0008410518.25836756
Set Approval For...158457742022-10-28 9:51:11800 days ago1666950671IN
0x6C260d4D...Fad595233
0 ETH0.0005530322.81865952
Set Approval For...157181542022-10-10 13:59:23818 days ago1665410363IN
0x6C260d4D...Fad595233
0 ETH0.0020627944.78107555
Set Approval For...154821012022-09-06 5:01:16852 days ago1662440476IN
0x6C260d4D...Fad595233
0 ETH0.000377958.19006083
Set Approval For...152436242022-07-30 11:54:55890 days ago1659182095IN
0x6C260d4D...Fad595233
0 ETH0.000090923.75155684
Set Approval For...150906712022-07-06 18:54:11914 days ago1657133651IN
0x6C260d4D...Fad595233
0 ETH0.0010347942.69652693
Transfer From149129682022-06-06 4:26:41944 days ago1654489601IN
0x6C260d4D...Fad595233
0 ETH0.0015659839.85400123
Transfer From148707272022-05-30 5:11:35951 days ago1653887495IN
0x6C260d4D...Fad595233
0 ETH0.0006578216.73630929
Transfer From148707222022-05-30 5:10:42951 days ago1653887442IN
0x6C260d4D...Fad595233
0 ETH0.0006965517.72167555
Set Approval For...147832582022-05-16 1:02:34965 days ago1652662954IN
0x6C260d4D...Fad595233
0 ETH0.000398316.43456926
Safe Transfer Fr...147805332022-05-15 14:43:20966 days ago1652625800IN
0x6C260d4D...Fad595233
0 ETH0.000833219.78777547
Set Approval For...147484502022-05-10 12:01:46971 days ago1652184106IN
0x6C260d4D...Fad595233
0 ETH0.0007220329.79186967
Set Approval For...147389392022-05-08 23:14:16972 days ago1652051656IN
0x6C260d4D...Fad595233
0 ETH0.0009719921.06805997
Set Approval For...147339162022-05-08 4:15:40973 days ago1651983340IN
0x6C260d4D...Fad595233
0 ETH0.0007413930.59081648
Transfer From147271592022-05-07 2:17:28974 days ago1651889848IN
0x6C260d4D...Fad595233
0 ETH0.0012715932.35204527
Transfer From146987702022-05-02 14:16:19979 days ago1651500979IN
0x6C260d4D...Fad595233
0 ETH0.0023914660.84366766
Transfer From146986652022-05-02 13:57:41979 days ago1651499861IN
0x6C260d4D...Fad595233
0 ETH0.0025662465.29044472
Set Approval For...146460752022-04-24 7:11:09987 days ago1650784269IN
0x6C260d4D...Fad595233
0 ETH0.0008948219.39030117
Set Approval For...146305992022-04-21 21:11:46989 days ago1650575506IN
0x6C260d4D...Fad595233
0 ETH0.0043877395.07966106
Set Approval For...146300022022-04-21 18:55:32990 days ago1650567332IN
0x6C260d4D...Fad595233
0 ETH0.0038183982.74244793
Transfer From146195752022-04-20 3:41:14991 days ago1650426074IN
0x6C260d4D...Fad595233
0 ETH0.0018964848.25056025
Set Approval For...146182592022-04-19 22:28:13991 days ago1650407293IN
0x6C260d4D...Fad595233
0 ETH0.0018713540.55110327
Transfer From146173892022-04-19 19:14:46991 days ago1650395686IN
0x6C260d4D...Fad595233
0 ETH0.0023941460.93045266
Transfer From146173872022-04-19 19:14:16991 days ago1650395656IN
0x6C260d4D...Fad595233
0 ETH0.0026535567.51186332
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
QwertyTurtles2

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 18 : 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 mintToAccount( address account, uint tw ) external;
}

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

  uint public ETH_PRICE  = 0 ether;
  uint public MAX_ORDER  = 10;
  uint public MAX_SUPPLY = 3888;

  // //seconds
  bool public isActive;

  string private _tokenURIPrefix = "https://qwertyturtles.mypinata.cloud/ipfs/QmUYgttPgmwFgkGq9j95EAoCCLNewnYVQUw1xadbFW8QRG/";
  string private _tokenURISuffix = ".json";

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

  constructor()
    T721("QwertyTurtles2", "QT2")
    PaymentSplitterMod(addressList, shareList){
  }


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

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

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

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

  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{
    
  }

  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 18 : 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 18 : 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 18 : 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 18 : 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 18 : 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 18 : 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 18 : 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 18 : 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 18 : IERC721Batch.sol
// SPDX-License-Identifier: BSD-3-Clause

pragma solidity ^0.8.0;

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

File 11 of 18 : 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 18 : 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 18 : 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";

abstract contract T721 is Context, 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 {
    _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 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 {
    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 18 : 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 18 : 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 18 : 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 18 : 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 18 : 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;
    }
}

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":"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":"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":[{"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"}]

6000600c55600a600d55610f30600e556101006040526059608081815290620031b660a03980516200003a9160109160209091019062000607565b5060408051808201909152600580825264173539b7b760d91b6020909201918252620000699160119162000607565b50604080516060810182527391f30728b869f2ddf36de0db1c9c8f51d84606c281527346462ee2b2e26561360ee7f629da0ff7e1f02b76602082015273f403829905a2799076f741b2397d6c5f0c34d22491810191909152620000d190601290600362000696565b5060408051606081018252605a81526005602082018190529181019190915262000100906013906003620006ee565b503480156200010e57600080fd5b5060128054806020026020016040519081016040528092919081815260200182805480156200016757602002820191906000526020600020905b81546001600160a01b0316815260019091019060200180831162000148575b50505050506013805480602002602001604051908101604052809291908181526020018280548015620001ba57602002820191906000526020600020905b815481526020019060010190808311620001a5575b50505050506040518060400160405280600e81526020016d28bbb2b93a3caa3ab93a3632b99960911b8152506040518060400160405280600381526020016228aa1960e91b8152506200021c62000216620003c560201b60201c565b620003c9565b6001806000620002346000546001600160a01b031690565b6001600160a01b03168152602080820192909252604001600020805460ff191692151592909217909155825162000272916003919085019062000607565b5080516200028890600490602084019062000607565b5050508051825114620002fd5760405162461bcd60e51b815260206004820152603260248201527f5061796d656e7453706c69747465723a2070617965657320616e6420736861726044820152710cae640d8cadccee8d040dad2e6dac2e8c6d60731b60648201526084015b60405180910390fd5b6000825111620003505760405162461bcd60e51b815260206004820152601a60248201527f5061796d656e7453706c69747465723a206e6f207061796565730000000000006044820152606401620002f4565b60005b8251811015620003bc57620003a783828151811062000376576200037662000748565b602002602001015183838151811062000393576200039362000748565b60200260200101516200041960201b60201c565b80620003b38162000774565b91505062000353565b505050620007ea565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b038216620004865760405162461bcd60e51b815260206004820152602c60248201527f5061796d656e7453706c69747465723a206163636f756e74206973207468652060448201526b7a65726f206164647265737360a01b6064820152608401620002f4565b60008111620004d85760405162461bcd60e51b815260206004820152601d60248201527f5061796d656e7453706c69747465723a207368617265732061726520300000006044820152606401620002f4565b6001600160a01b03821660009081526009602052604090205415620005545760405162461bcd60e51b815260206004820152602b60248201527f5061796d656e7453706c69747465723a206163636f756e7420616c726561647960448201526a206861732073686172657360a81b6064820152608401620002f4565b600b8054600181019091557f0175b7a638427703f0dbe7bb9bbf987a2551717b34e79f33b5b1008d1fa01db90180546001600160a01b0319166001600160a01b0384169081179091556000908152600960205260409020819055600754620005be90829062000792565b600755604080516001600160a01b0384168152602081018390527f40c340f65e17194d14ddddb073d3c9f888e3cb52b5aae0c6c7706b4fbc905fac910160405180910390a15050565b8280546200061590620007ad565b90600052602060002090601f01602090048101928262000639576000855562000684565b82601f106200065457805160ff191683800117855562000684565b8280016001018555821562000684579182015b828111156200068457825182559160200191906001019062000667565b506200069292915062000731565b5090565b82805482825590600052602060002090810192821562000684579160200282015b828111156200068457825182546001600160a01b0319166001600160a01b03909116178255602090920191600190910190620006b7565b82805482825590600052602060002090810192821562000684579160200282015b8281111562000684578251829060ff169055916020019190600101906200070f565b5b8082111562000692576000815560010162000732565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60006000198214156200078b576200078b6200075e565b5060010190565b60008219821115620007a857620007a86200075e565b500190565b600181811c90821680620007c257607f821691505b60208210811415620007e457634e487b7160e01b600052602260045260246000fd5b50919050565b6129bc80620007fa6000396000f3fe6080604052600436106102325760003560e01c80636790a9de1161012d578063a0712d68116100b0578063c87b56dd11610077578063c87b56dd14610708578063ce7c2ac214610728578063e33b7de31461075e578063e966d51214610773578063e985e9c514610786578063f2fde38b146107cf57005b8063a0712d6814610675578063a22cb46514610688578063acec338a146106a8578063b534a5c4146106c8578063b88d4fde146106e857005b80638b83209b116100f45780638b83209b146105cc5780638da5cb5b146105ec57806391b7f5ed1461060a57806395d89b411461062a5780639852595c1461063f57005b80636790a9de146105415780636bd21d3e1461056157806370a0823114610581578063715018a6146105a15780638832bc29146105b657005b806332cb6b0c116101b55780634d44660c1161017c5780634d44660c1461047d5780634f64b2be1461049d5780634f6ccce7146104eb57806350c5a00c1461050b5780636352211e1461052157005b806332cb6b0c146103e55780633a98ef39146103fb57806342842e0e14610410578063438b6300146104305780634a994eef1461045d57005b806318160ddd116101f957806318160ddd1461034c578063191655871461036b57806322f3e2d41461038b57806323b872dd146103a55780632f745c59146103c557005b806301ffc9a71461027d57806306fdde03146102b257806307779627146102d4578063081812fc146102f4578063095ea7b31461032c57005b3661027b577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be77033604080516001600160a01b0390921682523460208301520160405180910390a1005b005b34801561028957600080fd5b5061029d6102983660046120a8565b6107ef565b60405190151581526020015b60405180910390f35b3480156102be57600080fd5b506102c761081a565b6040516102a9919061211d565b3480156102e057600080fd5b5061029d6102ef366004612145565b6108ac565b34801561030057600080fd5b5061031461030f366004612162565b610903565b6040516001600160a01b0390911681526020016102a9565b34801561033857600080fd5b5061027b61034736600461217b565b610946565b34801561035857600080fd5b506002545b6040519081526020016102a9565b34801561037757600080fd5b5061027b610386366004612145565b610a43565b34801561039757600080fd5b50600f5461029d9060ff1681565b3480156103b157600080fd5b5061027b6103c03660046121a7565b610c14565b3480156103d157600080fd5b5061035d6103e036600461217b565b610c45565b3480156103f157600080fd5b5061035d600e5481565b34801561040757600080fd5b5060075461035d565b34801561041c57600080fd5b5061027b61042b3660046121a7565b610d0f565b34801561043c57600080fd5b5061045061044b366004612145565b610d2a565b6040516102a991906121e8565b34801561046957600080fd5b5061027b61047836600461223c565b610e10565b34801561048957600080fd5b5061029d6104983660046122bd565b610e65565b3480156104a957600080fd5b506104bd6104b8366004612162565b610ee7565b604080516001600160a01b03909416845263ffffffff909216602084015261ffff16908201526060016102a9565b3480156104f757600080fd5b5061035d610506366004612162565b610f2b565b34801561051757600080fd5b5061035d600d5481565b34801561052d57600080fd5b5061031461053c366004612162565b610f97565b34801561054d57600080fd5b5061027b61055c366004612354565b610fec565b34801561056d57600080fd5b5061027b61057c3660046123c0565b61103b565b34801561058d57600080fd5b5061035d61059c366004612145565b6110de565b3480156105ad57600080fd5b5061027b611197565b3480156105c257600080fd5b5061035d600c5481565b3480156105d857600080fd5b506103146105e7366004612162565b6111cd565b3480156105f857600080fd5b506000546001600160a01b0316610314565b34801561061657600080fd5b5061027b610625366004612162565b6111e2565b34801561063657600080fd5b506102c7611216565b34801561064b57600080fd5b5061035d61065a366004612145565b6001600160a01b03166000908152600a602052604090205490565b61027b610683366004612162565b611225565b34801561069457600080fd5b5061027b6106a336600461223c565b6113df565b3480156106b457600080fd5b5061027b6106c33660046123e2565b61144b565b3480156106d457600080fd5b5061027b6106e33660046123fd565b6114de565b3480156106f457600080fd5b5061027b6107033660046124a8565b61155c565b34801561071457600080fd5b506102c7610723366004612162565b611594565b34801561073457600080fd5b5061035d610743366004612145565b6001600160a01b031660009081526009602052604090205490565b34801561076a57600080fd5b5060085461035d565b61027b610781366004612588565b611633565b34801561079257600080fd5b5061029d6107a13660046125e8565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b3480156107db57600080fd5b5061027b6107ea366004612145565b6117ee565b60006001600160e01b0319821663780e9d6360e01b148061081457506108148261184a565b92915050565b60606003805461082990612621565b80601f016020809104026020016040519081016040528092919081815260200182805461085590612621565b80156108a25780601f10610877576101008083540402835291602001916108a2565b820191906000526020600020905b81548152906001019060200180831161088557829003601f168201915b5050505050905090565b600080546001600160a01b031633146108e05760405162461bcd60e51b81526004016108d790612656565b60405180910390fd5b506001600160a01b03811660009081526001602052604090205460ff165b919050565b600061090e8261189a565b61092a5760405162461bcd60e51b81526004016108d79061268b565b506000908152600560205260409020546001600160a01b031690565b600061095182610f97565b9050806001600160a01b0316836001600160a01b031614156109b55760405162461bcd60e51b815260206004820152601f60248201527f543732313a20617070726f76616c20746f2063757272656e74206f776e65720060448201526064016108d7565b336001600160a01b03821614806109d157506109d181336107a1565b610a345760405162461bcd60e51b815260206004820152602e60248201527f543732313a2063616c6c6572206973206e6f74206f776e6572206e6f7220617060448201526d1c1c9bdd995908199bdc88185b1b60921b60648201526084016108d7565b610a3e83836118e4565b505050565b6001600160a01b038116600090815260096020526040902054610ab75760405162461bcd60e51b815260206004820152602660248201527f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060448201526573686172657360d01b60648201526084016108d7565b600060085447610ac791906126e2565b6001600160a01b0383166000908152600a60209081526040808320546007546009909352908320549394509192610afe90856126fa565b610b08919061272f565b610b129190612743565b905080610b755760405162461bcd60e51b815260206004820152602b60248201527f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060448201526a191d59481c185e5b595b9d60aa1b60648201526084016108d7565b6001600160a01b0383166000908152600a6020526040902054610b999082906126e2565b6001600160a01b0384166000908152600a6020526040902055600854610bc09082906126e2565b600855610bcd8382611952565b604080516001600160a01b0385168152602081018390527fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b056910160405180910390a1505050565b610c1e3382611a6b565b610c3a5760405162461bcd60e51b81526004016108d79061275a565b610a3e838383611b10565b60008060005b600254811015610cb45760028181548110610c6857610c686127a0565b6000918252602090912001546001600160a01b0386811691161415610ca45783821415610c985791506108149050565b610ca1826127b6565b91505b610cad816127b6565b9050610c4b565b5060405162461bcd60e51b815260206004820152602960248201527f54373231456e756d657261626c653a206f776e657220696e646578206f7574206044820152686f6620626f756e647360b81b60648201526084016108d7565b610a3e8383836040518060200160405280600081525061155c565b60606000610d37836110de565b90506000808267ffffffffffffffff811115610d5557610d55612492565b604051908082528060200260200182016040528015610d7e578160200160208202803683370190505b50905060005b600254811015610e075760028181548110610da157610da16127a0565b6000918252602090912001546001600160a01b0387811691161415610df757808284610dcc816127b6565b955081518110610dde57610dde6127a0565b60200260200101818152505083831415610df757610e07565b610e00816127b6565b9050610d84565b50949350505050565b6000546001600160a01b03163314610e3a5760405162461bcd60e51b81526004016108d790612656565b6001600160a01b03919091166000908152600160205260409020805460ff1916911515919091179055565b6000805b82811015610eda57846001600160a01b03166002858584818110610e8f57610e8f6127a0565b9050602002013581548110610ea657610ea66127a0565b6000918252602090912001546001600160a01b031614610eca576000915050610ee0565b610ed3816127b6565b9050610e69565b50600190505b9392505050565b60028181548110610ef757600080fd5b6000918252602090912001546001600160a01b0381169150600160a01b810463ffffffff1690600160c01b900461ffff1683565b6002546000908210610f935760405162461bcd60e51b815260206004820152602b60248201527f54373231456e756d657261626c653a20717565727920666f72206e6f6e65786960448201526a39ba32b73a103a37b5b2b760a91b60648201526084016108d7565b5090565b6000610fa28261189a565b610fbe5760405162461bcd60e51b81526004016108d79061268b565b60028281548110610fd157610fd16127a0565b6000918252602090912001546001600160a01b031692915050565b3360009081526001602052604090205460ff1661101b5760405162461bcd60e51b81526004016108d7906127d1565b61102760108585612002565b5061103460118383612002565b5050505050565b3360009081526001602052604090205460ff1661106a5760405162461bcd60e51b81526004016108d7906127d1565b6002548110156110d35760405162461bcd60e51b815260206004820152602e60248201527f53706563696669656420737570706c79206973206c6f776572207468616e206360448201526d757272656e742062616c616e636560901b60648201526084016108d7565b600d91909155600e55565b60006001600160a01b0382166111365760405162461bcd60e51b815260206004820181905260248201527f543732313a20717565727920666f7220746865207a65726f206164647265737360448201526064016108d7565b60005b6002548110156111915760028181548110611156576111566127a0565b6000918252602090912001546001600160a01b03848116911614156111815761117e826127b6565b91505b61118a816127b6565b9050611139565b50919050565b6000546001600160a01b031633146111c15760405162461bcd60e51b81526004016108d790612656565b6111cb6000611c02565b565b6000600b8281548110610fd157610fd16127a0565b3360009081526001602052604090205460ff166112115760405162461bcd60e51b81526004016108d7906127d1565b600c55565b60606004805461082990612621565b600f5460ff166112815760405162461bcd60e51b815260206004820152602160248201527f517565727479547572746c65733a2053616c65206973206e6f742061637469766044820152606560f81b60648201526084016108d7565b600d548111156112d35760405162461bcd60e51b815260206004820152601c60248201527f517565727479547572746c65733a204f7264657220746f6f206269670000000060448201526064016108d7565b80600c546112e191906126fa565b3410156113415760405162461bcd60e51b815260206004820152602860248201527f517565727479547572746c65733a2045746865722073656e74206973206e6f746044820152670818dbdc9c9958dd60c21b60648201526084016108d7565b600061134c60025490565b600e5490915061135c83836126e2565b11156113bb5760405162461bcd60e51b815260206004820152602860248201527f517565727479547572746c65733a204d696e742f6f72646572206578636565646044820152677320737570706c7960c01b60648201526084016108d7565b60005b82811015610a3e576113cf33611c52565b6113d8816127b6565b90506113be565b3360008181526006602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b3360009081526001602052604090205460ff1661147a5760405162461bcd60e51b81526004016108d7906127d1565b600f5460ff16151581151514156114cb5760405162461bcd60e51b815260206004820152601560248201527413995dc81d985b1d59481b585d18da195cc81bdb19605a1b60448201526064016108d7565b600f805460ff1916911515919091179055565b60005b83811015611553576115438787878785818110611500576115006127a0565b9050602002013586868080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061155c92505050565b61154c816127b6565b90506114e1565b50505050505050565b6115663383611a6b565b6115825760405162461bcd60e51b81526004016108d79061275a565b61158e84848484611d2c565b50505050565b606061159f8261189a565b6115fe5760405162461bcd60e51b815260206004820152602a60248201527f517565727479547572746c65733a20717565727920666f72206e6f6e657869736044820152693a32b73a103a37b5b2b760b11b60648201526084016108d7565b601061160983611d5f565b601160405160200161161d93929190612895565b6040516020818303038152906040529050919050565b3360009081526001602052604090205460ff166116625760405162461bcd60e51b81526004016108d7906127d1565b8281146116c65760405162461bcd60e51b815260206004820152602c60248201527f4d7573742070726f7669646520657175616c207175616e74697469657320616e60448201526b6420726563697069656e747360a01b60648201526084016108d7565b6000806116d260025490565b905060005b85811015611715578686828181106116f1576116f16127a0565b905060200201358361170391906126e2565b925061170e816127b6565b90506116d7565b50600e5461172383836126e2565b106117705760405162461bcd60e51b815260206004820152601960248201527f4d696e742f6f72646572206578636565647320737570706c790000000000000060448201526064016108d7565b60005b838110156115535760005b878783818110611790576117906127a0565b905060200201358110156117dd576117cd8686848181106117b3576117b36127a0565b90506020020160208101906117c89190612145565b611c52565b6117d6816127b6565b905061177e565b506117e7816127b6565b9050611773565b6000546001600160a01b031633146118185760405162461bcd60e51b81526004016108d790612656565b6001600160a01b0381166000908152600160208190526040909120805460ff1916909117905561184781611e5d565b50565b60006001600160e01b031982166380ac58cd60e01b148061187b57506001600160e01b03198216635b5e139f60e01b145b8061081457506301ffc9a760e01b6001600160e01b0319831614610814565b60025460009082108015610814575060006001600160a01b0316600283815481106118c7576118c76127a0565b6000918252602090912001546001600160a01b0316141592915050565b600081815260056020526040902080546001600160a01b0319166001600160a01b038416908117909155819061191982610f97565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b804710156119a25760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e636500000060448201526064016108d7565b6000826001600160a01b03168260405160006040518083038185875af1925050503d80600081146119ef576040519150601f19603f3d011682016040523d82523d6000602084013e6119f4565b606091505b5050905080610a3e5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d6179206861766520726576657274656400000000000060648201526084016108d7565b6000611a768261189a565b611a925760405162461bcd60e51b81526004016108d79061268b565b6000611a9d83610f97565b9050806001600160a01b0316846001600160a01b03161480611ad85750836001600160a01b0316611acd84610903565b6001600160a01b0316145b80611b0857506001600160a01b0380821660009081526006602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316611b2382610f97565b6001600160a01b031614611b895760405162461bcd60e51b815260206004820152602760248201527f543732313a207472616e73666572206f6620746f6b656e2074686174206973206044820152663737ba1037bbb760c91b60648201526084016108d7565b611b946000826118e4565b8160028281548110611ba857611ba86127a0565b6000918252602082200180546001600160a01b0319166001600160a01b03938416179055604051839285811692908716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9190a4505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600254604080516060810182526001600160a01b0380851680835261ffff8086166020850190815260008587018181526002805460018101825590835296517f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace909701805493519151909416600160c01b0261ffff60c01b1963ffffffff92909216600160a01b026001600160c01b031990941697909616969096179190911794909416929092179091559151839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b611d37848484611b10565b611d4384848484611ef5565b61158e5760405162461bcd60e51b81526004016108d7906128c8565b606081611d835750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611dad5780611d97816127b6565b9150611da69050600a8361272f565b9150611d87565b60008167ffffffffffffffff811115611dc857611dc8612492565b6040519080825280601f01601f191660200182016040528015611df2576020820181803683370190505b5090505b8415611b0857611e07600183612743565b9150611e14600a86612918565b611e1f9060306126e2565b60f81b818381518110611e3457611e346127a0565b60200101906001600160f81b031916908160001a905350611e56600a8661272f565b9450611df6565b6000546001600160a01b03163314611e875760405162461bcd60e51b81526004016108d790612656565b6001600160a01b038116611eec5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108d7565b61184781611c02565b60006001600160a01b0384163b15611ff757604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611f3990339089908890889060040161292c565b602060405180830381600087803b158015611f5357600080fd5b505af1925050508015611f83575060408051601f3d908101601f19168201909252611f8091810190612969565b60015b611fdd573d808015611fb1576040519150601f19603f3d011682016040523d82523d6000602084013e611fb6565b606091505b508051611fd55760405162461bcd60e51b81526004016108d7906128c8565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611b08565b506001949350505050565b82805461200e90612621565b90600052602060002090601f0160209004810192826120305760008555612076565b82601f106120495782800160ff19823516178555612076565b82800160010185558215612076579182015b8281111561207657823582559160200191906001019061205b565b50610f939291505b80821115610f93576000815560010161207e565b6001600160e01b03198116811461184757600080fd5b6000602082840312156120ba57600080fd5b8135610ee081612092565b60005b838110156120e05781810151838201526020016120c8565b8381111561158e5750506000910152565b600081518084526121098160208601602086016120c5565b601f01601f19169290920160200192915050565b602081526000610ee060208301846120f1565b6001600160a01b038116811461184757600080fd5b60006020828403121561215757600080fd5b8135610ee081612130565b60006020828403121561217457600080fd5b5035919050565b6000806040838503121561218e57600080fd5b823561219981612130565b946020939093013593505050565b6000806000606084860312156121bc57600080fd5b83356121c781612130565b925060208401356121d781612130565b929592945050506040919091013590565b6020808252825182820181905260009190848201906040850190845b8181101561222057835183529284019291840191600101612204565b50909695505050505050565b803580151581146108fe57600080fd5b6000806040838503121561224f57600080fd5b823561225a81612130565b91506122686020840161222c565b90509250929050565b60008083601f84011261228357600080fd5b50813567ffffffffffffffff81111561229b57600080fd5b6020830191508360208260051b85010111156122b657600080fd5b9250929050565b6000806000604084860312156122d257600080fd5b83356122dd81612130565b9250602084013567ffffffffffffffff8111156122f957600080fd5b61230586828701612271565b9497909650939450505050565b60008083601f84011261232457600080fd5b50813567ffffffffffffffff81111561233c57600080fd5b6020830191508360208285010111156122b657600080fd5b6000806000806040858703121561236a57600080fd5b843567ffffffffffffffff8082111561238257600080fd5b61238e88838901612312565b909650945060208701359150808211156123a757600080fd5b506123b487828801612312565b95989497509550505050565b600080604083850312156123d357600080fd5b50508035926020909101359150565b6000602082840312156123f457600080fd5b610ee08261222c565b6000806000806000806080878903121561241657600080fd5b863561242181612130565b9550602087013561243181612130565b9450604087013567ffffffffffffffff8082111561244e57600080fd5b61245a8a838b01612271565b9096509450606089013591508082111561247357600080fd5b5061248089828a01612312565b979a9699509497509295939492505050565b634e487b7160e01b600052604160045260246000fd5b600080600080608085870312156124be57600080fd5b84356124c981612130565b935060208501356124d981612130565b925060408501359150606085013567ffffffffffffffff808211156124fd57600080fd5b818701915087601f83011261251157600080fd5b81358181111561252357612523612492565b604051601f8201601f19908116603f0116810190838211818310171561254b5761254b612492565b816040528281528a602084870101111561256457600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b6000806000806040858703121561259e57600080fd5b843567ffffffffffffffff808211156125b657600080fd5b6125c288838901612271565b909650945060208701359150808211156125db57600080fd5b506123b487828801612271565b600080604083850312156125fb57600080fd5b823561260681612130565b9150602083013561261681612130565b809150509250929050565b600181811c9082168061263557607f821691505b6020821081141561119157634e487b7160e01b600052602260045260246000fd5b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526021908201527f543732313a20717565727920666f72206e6f6e6578697374656e7420746f6b656040820152603760f91b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b600082198211156126f5576126f56126cc565b500190565b6000816000190483118215151615612714576127146126cc565b500290565b634e487b7160e01b600052601260045260246000fd5b60008261273e5761273e612719565b500490565b600082821015612755576127556126cc565b500390565b60208082526026908201527f543732313a2063616c6c6572206973206e6f74206f776e6572206e6f722061706040820152651c1c9bdd995960d21b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b60006000198214156127ca576127ca6126cc565b5060010190565b60208082526010908201526f496e76616c69642064656c656761746560801b604082015260600190565b8054600090600181811c908083168061281557607f831692505b602080841082141561283757634e487b7160e01b600052602260045260246000fd5b81801561284b576001811461285c57612889565b60ff19861689528489019650612889565b60008881526020902060005b868110156128815781548b820152908501908301612868565b505084890196505b50505050505092915050565b60006128a182866127fb565b84516128b18183602089016120c5565b6128bd818301866127fb565b979650505050505050565b60208082526030908201527f543732313a207472616e7366657220746f206e6f6e204552433732315265636560408201526f34bb32b91034b6b83632b6b2b73a32b960811b606082015260800190565b60008261292757612927612719565b500690565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061295f908301846120f1565b9695505050505050565b60006020828403121561297b57600080fd5b8151610ee08161209256fea2646970667358221220863cf080da6492687f5c7ef079beb3c72cf2123f3ddce92d6e79c31ded200aa864736f6c6343000809003368747470733a2f2f717765727479747572746c65732e6d7970696e6174612e636c6f75642f697066732f516d555967747450676d7746676b4771396a393545416f43434c4e65776e595651557731786164624657385152472f

Deployed Bytecode

0x6080604052600436106102325760003560e01c80636790a9de1161012d578063a0712d68116100b0578063c87b56dd11610077578063c87b56dd14610708578063ce7c2ac214610728578063e33b7de31461075e578063e966d51214610773578063e985e9c514610786578063f2fde38b146107cf57005b8063a0712d6814610675578063a22cb46514610688578063acec338a146106a8578063b534a5c4146106c8578063b88d4fde146106e857005b80638b83209b116100f45780638b83209b146105cc5780638da5cb5b146105ec57806391b7f5ed1461060a57806395d89b411461062a5780639852595c1461063f57005b80636790a9de146105415780636bd21d3e1461056157806370a0823114610581578063715018a6146105a15780638832bc29146105b657005b806332cb6b0c116101b55780634d44660c1161017c5780634d44660c1461047d5780634f64b2be1461049d5780634f6ccce7146104eb57806350c5a00c1461050b5780636352211e1461052157005b806332cb6b0c146103e55780633a98ef39146103fb57806342842e0e14610410578063438b6300146104305780634a994eef1461045d57005b806318160ddd116101f957806318160ddd1461034c578063191655871461036b57806322f3e2d41461038b57806323b872dd146103a55780632f745c59146103c557005b806301ffc9a71461027d57806306fdde03146102b257806307779627146102d4578063081812fc146102f4578063095ea7b31461032c57005b3661027b577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be77033604080516001600160a01b0390921682523460208301520160405180910390a1005b005b34801561028957600080fd5b5061029d6102983660046120a8565b6107ef565b60405190151581526020015b60405180910390f35b3480156102be57600080fd5b506102c761081a565b6040516102a9919061211d565b3480156102e057600080fd5b5061029d6102ef366004612145565b6108ac565b34801561030057600080fd5b5061031461030f366004612162565b610903565b6040516001600160a01b0390911681526020016102a9565b34801561033857600080fd5b5061027b61034736600461217b565b610946565b34801561035857600080fd5b506002545b6040519081526020016102a9565b34801561037757600080fd5b5061027b610386366004612145565b610a43565b34801561039757600080fd5b50600f5461029d9060ff1681565b3480156103b157600080fd5b5061027b6103c03660046121a7565b610c14565b3480156103d157600080fd5b5061035d6103e036600461217b565b610c45565b3480156103f157600080fd5b5061035d600e5481565b34801561040757600080fd5b5060075461035d565b34801561041c57600080fd5b5061027b61042b3660046121a7565b610d0f565b34801561043c57600080fd5b5061045061044b366004612145565b610d2a565b6040516102a991906121e8565b34801561046957600080fd5b5061027b61047836600461223c565b610e10565b34801561048957600080fd5b5061029d6104983660046122bd565b610e65565b3480156104a957600080fd5b506104bd6104b8366004612162565b610ee7565b604080516001600160a01b03909416845263ffffffff909216602084015261ffff16908201526060016102a9565b3480156104f757600080fd5b5061035d610506366004612162565b610f2b565b34801561051757600080fd5b5061035d600d5481565b34801561052d57600080fd5b5061031461053c366004612162565b610f97565b34801561054d57600080fd5b5061027b61055c366004612354565b610fec565b34801561056d57600080fd5b5061027b61057c3660046123c0565b61103b565b34801561058d57600080fd5b5061035d61059c366004612145565b6110de565b3480156105ad57600080fd5b5061027b611197565b3480156105c257600080fd5b5061035d600c5481565b3480156105d857600080fd5b506103146105e7366004612162565b6111cd565b3480156105f857600080fd5b506000546001600160a01b0316610314565b34801561061657600080fd5b5061027b610625366004612162565b6111e2565b34801561063657600080fd5b506102c7611216565b34801561064b57600080fd5b5061035d61065a366004612145565b6001600160a01b03166000908152600a602052604090205490565b61027b610683366004612162565b611225565b34801561069457600080fd5b5061027b6106a336600461223c565b6113df565b3480156106b457600080fd5b5061027b6106c33660046123e2565b61144b565b3480156106d457600080fd5b5061027b6106e33660046123fd565b6114de565b3480156106f457600080fd5b5061027b6107033660046124a8565b61155c565b34801561071457600080fd5b506102c7610723366004612162565b611594565b34801561073457600080fd5b5061035d610743366004612145565b6001600160a01b031660009081526009602052604090205490565b34801561076a57600080fd5b5060085461035d565b61027b610781366004612588565b611633565b34801561079257600080fd5b5061029d6107a13660046125e8565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b3480156107db57600080fd5b5061027b6107ea366004612145565b6117ee565b60006001600160e01b0319821663780e9d6360e01b148061081457506108148261184a565b92915050565b60606003805461082990612621565b80601f016020809104026020016040519081016040528092919081815260200182805461085590612621565b80156108a25780601f10610877576101008083540402835291602001916108a2565b820191906000526020600020905b81548152906001019060200180831161088557829003601f168201915b5050505050905090565b600080546001600160a01b031633146108e05760405162461bcd60e51b81526004016108d790612656565b60405180910390fd5b506001600160a01b03811660009081526001602052604090205460ff165b919050565b600061090e8261189a565b61092a5760405162461bcd60e51b81526004016108d79061268b565b506000908152600560205260409020546001600160a01b031690565b600061095182610f97565b9050806001600160a01b0316836001600160a01b031614156109b55760405162461bcd60e51b815260206004820152601f60248201527f543732313a20617070726f76616c20746f2063757272656e74206f776e65720060448201526064016108d7565b336001600160a01b03821614806109d157506109d181336107a1565b610a345760405162461bcd60e51b815260206004820152602e60248201527f543732313a2063616c6c6572206973206e6f74206f776e6572206e6f7220617060448201526d1c1c9bdd995908199bdc88185b1b60921b60648201526084016108d7565b610a3e83836118e4565b505050565b6001600160a01b038116600090815260096020526040902054610ab75760405162461bcd60e51b815260206004820152602660248201527f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060448201526573686172657360d01b60648201526084016108d7565b600060085447610ac791906126e2565b6001600160a01b0383166000908152600a60209081526040808320546007546009909352908320549394509192610afe90856126fa565b610b08919061272f565b610b129190612743565b905080610b755760405162461bcd60e51b815260206004820152602b60248201527f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060448201526a191d59481c185e5b595b9d60aa1b60648201526084016108d7565b6001600160a01b0383166000908152600a6020526040902054610b999082906126e2565b6001600160a01b0384166000908152600a6020526040902055600854610bc09082906126e2565b600855610bcd8382611952565b604080516001600160a01b0385168152602081018390527fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b056910160405180910390a1505050565b610c1e3382611a6b565b610c3a5760405162461bcd60e51b81526004016108d79061275a565b610a3e838383611b10565b60008060005b600254811015610cb45760028181548110610c6857610c686127a0565b6000918252602090912001546001600160a01b0386811691161415610ca45783821415610c985791506108149050565b610ca1826127b6565b91505b610cad816127b6565b9050610c4b565b5060405162461bcd60e51b815260206004820152602960248201527f54373231456e756d657261626c653a206f776e657220696e646578206f7574206044820152686f6620626f756e647360b81b60648201526084016108d7565b610a3e8383836040518060200160405280600081525061155c565b60606000610d37836110de565b90506000808267ffffffffffffffff811115610d5557610d55612492565b604051908082528060200260200182016040528015610d7e578160200160208202803683370190505b50905060005b600254811015610e075760028181548110610da157610da16127a0565b6000918252602090912001546001600160a01b0387811691161415610df757808284610dcc816127b6565b955081518110610dde57610dde6127a0565b60200260200101818152505083831415610df757610e07565b610e00816127b6565b9050610d84565b50949350505050565b6000546001600160a01b03163314610e3a5760405162461bcd60e51b81526004016108d790612656565b6001600160a01b03919091166000908152600160205260409020805460ff1916911515919091179055565b6000805b82811015610eda57846001600160a01b03166002858584818110610e8f57610e8f6127a0565b9050602002013581548110610ea657610ea66127a0565b6000918252602090912001546001600160a01b031614610eca576000915050610ee0565b610ed3816127b6565b9050610e69565b50600190505b9392505050565b60028181548110610ef757600080fd5b6000918252602090912001546001600160a01b0381169150600160a01b810463ffffffff1690600160c01b900461ffff1683565b6002546000908210610f935760405162461bcd60e51b815260206004820152602b60248201527f54373231456e756d657261626c653a20717565727920666f72206e6f6e65786960448201526a39ba32b73a103a37b5b2b760a91b60648201526084016108d7565b5090565b6000610fa28261189a565b610fbe5760405162461bcd60e51b81526004016108d79061268b565b60028281548110610fd157610fd16127a0565b6000918252602090912001546001600160a01b031692915050565b3360009081526001602052604090205460ff1661101b5760405162461bcd60e51b81526004016108d7906127d1565b61102760108585612002565b5061103460118383612002565b5050505050565b3360009081526001602052604090205460ff1661106a5760405162461bcd60e51b81526004016108d7906127d1565b6002548110156110d35760405162461bcd60e51b815260206004820152602e60248201527f53706563696669656420737570706c79206973206c6f776572207468616e206360448201526d757272656e742062616c616e636560901b60648201526084016108d7565b600d91909155600e55565b60006001600160a01b0382166111365760405162461bcd60e51b815260206004820181905260248201527f543732313a20717565727920666f7220746865207a65726f206164647265737360448201526064016108d7565b60005b6002548110156111915760028181548110611156576111566127a0565b6000918252602090912001546001600160a01b03848116911614156111815761117e826127b6565b91505b61118a816127b6565b9050611139565b50919050565b6000546001600160a01b031633146111c15760405162461bcd60e51b81526004016108d790612656565b6111cb6000611c02565b565b6000600b8281548110610fd157610fd16127a0565b3360009081526001602052604090205460ff166112115760405162461bcd60e51b81526004016108d7906127d1565b600c55565b60606004805461082990612621565b600f5460ff166112815760405162461bcd60e51b815260206004820152602160248201527f517565727479547572746c65733a2053616c65206973206e6f742061637469766044820152606560f81b60648201526084016108d7565b600d548111156112d35760405162461bcd60e51b815260206004820152601c60248201527f517565727479547572746c65733a204f7264657220746f6f206269670000000060448201526064016108d7565b80600c546112e191906126fa565b3410156113415760405162461bcd60e51b815260206004820152602860248201527f517565727479547572746c65733a2045746865722073656e74206973206e6f746044820152670818dbdc9c9958dd60c21b60648201526084016108d7565b600061134c60025490565b600e5490915061135c83836126e2565b11156113bb5760405162461bcd60e51b815260206004820152602860248201527f517565727479547572746c65733a204d696e742f6f72646572206578636565646044820152677320737570706c7960c01b60648201526084016108d7565b60005b82811015610a3e576113cf33611c52565b6113d8816127b6565b90506113be565b3360008181526006602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b3360009081526001602052604090205460ff1661147a5760405162461bcd60e51b81526004016108d7906127d1565b600f5460ff16151581151514156114cb5760405162461bcd60e51b815260206004820152601560248201527413995dc81d985b1d59481b585d18da195cc81bdb19605a1b60448201526064016108d7565b600f805460ff1916911515919091179055565b60005b83811015611553576115438787878785818110611500576115006127a0565b9050602002013586868080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061155c92505050565b61154c816127b6565b90506114e1565b50505050505050565b6115663383611a6b565b6115825760405162461bcd60e51b81526004016108d79061275a565b61158e84848484611d2c565b50505050565b606061159f8261189a565b6115fe5760405162461bcd60e51b815260206004820152602a60248201527f517565727479547572746c65733a20717565727920666f72206e6f6e657869736044820152693a32b73a103a37b5b2b760b11b60648201526084016108d7565b601061160983611d5f565b601160405160200161161d93929190612895565b6040516020818303038152906040529050919050565b3360009081526001602052604090205460ff166116625760405162461bcd60e51b81526004016108d7906127d1565b8281146116c65760405162461bcd60e51b815260206004820152602c60248201527f4d7573742070726f7669646520657175616c207175616e74697469657320616e60448201526b6420726563697069656e747360a01b60648201526084016108d7565b6000806116d260025490565b905060005b85811015611715578686828181106116f1576116f16127a0565b905060200201358361170391906126e2565b925061170e816127b6565b90506116d7565b50600e5461172383836126e2565b106117705760405162461bcd60e51b815260206004820152601960248201527f4d696e742f6f72646572206578636565647320737570706c790000000000000060448201526064016108d7565b60005b838110156115535760005b878783818110611790576117906127a0565b905060200201358110156117dd576117cd8686848181106117b3576117b36127a0565b90506020020160208101906117c89190612145565b611c52565b6117d6816127b6565b905061177e565b506117e7816127b6565b9050611773565b6000546001600160a01b031633146118185760405162461bcd60e51b81526004016108d790612656565b6001600160a01b0381166000908152600160208190526040909120805460ff1916909117905561184781611e5d565b50565b60006001600160e01b031982166380ac58cd60e01b148061187b57506001600160e01b03198216635b5e139f60e01b145b8061081457506301ffc9a760e01b6001600160e01b0319831614610814565b60025460009082108015610814575060006001600160a01b0316600283815481106118c7576118c76127a0565b6000918252602090912001546001600160a01b0316141592915050565b600081815260056020526040902080546001600160a01b0319166001600160a01b038416908117909155819061191982610f97565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b804710156119a25760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e636500000060448201526064016108d7565b6000826001600160a01b03168260405160006040518083038185875af1925050503d80600081146119ef576040519150601f19603f3d011682016040523d82523d6000602084013e6119f4565b606091505b5050905080610a3e5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d6179206861766520726576657274656400000000000060648201526084016108d7565b6000611a768261189a565b611a925760405162461bcd60e51b81526004016108d79061268b565b6000611a9d83610f97565b9050806001600160a01b0316846001600160a01b03161480611ad85750836001600160a01b0316611acd84610903565b6001600160a01b0316145b80611b0857506001600160a01b0380821660009081526006602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316611b2382610f97565b6001600160a01b031614611b895760405162461bcd60e51b815260206004820152602760248201527f543732313a207472616e73666572206f6620746f6b656e2074686174206973206044820152663737ba1037bbb760c91b60648201526084016108d7565b611b946000826118e4565b8160028281548110611ba857611ba86127a0565b6000918252602082200180546001600160a01b0319166001600160a01b03938416179055604051839285811692908716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9190a4505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600254604080516060810182526001600160a01b0380851680835261ffff8086166020850190815260008587018181526002805460018101825590835296517f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace909701805493519151909416600160c01b0261ffff60c01b1963ffffffff92909216600160a01b026001600160c01b031990941697909616969096179190911794909416929092179091559151839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b611d37848484611b10565b611d4384848484611ef5565b61158e5760405162461bcd60e51b81526004016108d7906128c8565b606081611d835750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611dad5780611d97816127b6565b9150611da69050600a8361272f565b9150611d87565b60008167ffffffffffffffff811115611dc857611dc8612492565b6040519080825280601f01601f191660200182016040528015611df2576020820181803683370190505b5090505b8415611b0857611e07600183612743565b9150611e14600a86612918565b611e1f9060306126e2565b60f81b818381518110611e3457611e346127a0565b60200101906001600160f81b031916908160001a905350611e56600a8661272f565b9450611df6565b6000546001600160a01b03163314611e875760405162461bcd60e51b81526004016108d790612656565b6001600160a01b038116611eec5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108d7565b61184781611c02565b60006001600160a01b0384163b15611ff757604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611f3990339089908890889060040161292c565b602060405180830381600087803b158015611f5357600080fd5b505af1925050508015611f83575060408051601f3d908101601f19168201909252611f8091810190612969565b60015b611fdd573d808015611fb1576040519150601f19603f3d011682016040523d82523d6000602084013e611fb6565b606091505b508051611fd55760405162461bcd60e51b81526004016108d7906128c8565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611b08565b506001949350505050565b82805461200e90612621565b90600052602060002090601f0160209004810192826120305760008555612076565b82601f106120495782800160ff19823516178555612076565b82800160010185558215612076579182015b8281111561207657823582559160200191906001019061205b565b50610f939291505b80821115610f93576000815560010161207e565b6001600160e01b03198116811461184757600080fd5b6000602082840312156120ba57600080fd5b8135610ee081612092565b60005b838110156120e05781810151838201526020016120c8565b8381111561158e5750506000910152565b600081518084526121098160208601602086016120c5565b601f01601f19169290920160200192915050565b602081526000610ee060208301846120f1565b6001600160a01b038116811461184757600080fd5b60006020828403121561215757600080fd5b8135610ee081612130565b60006020828403121561217457600080fd5b5035919050565b6000806040838503121561218e57600080fd5b823561219981612130565b946020939093013593505050565b6000806000606084860312156121bc57600080fd5b83356121c781612130565b925060208401356121d781612130565b929592945050506040919091013590565b6020808252825182820181905260009190848201906040850190845b8181101561222057835183529284019291840191600101612204565b50909695505050505050565b803580151581146108fe57600080fd5b6000806040838503121561224f57600080fd5b823561225a81612130565b91506122686020840161222c565b90509250929050565b60008083601f84011261228357600080fd5b50813567ffffffffffffffff81111561229b57600080fd5b6020830191508360208260051b85010111156122b657600080fd5b9250929050565b6000806000604084860312156122d257600080fd5b83356122dd81612130565b9250602084013567ffffffffffffffff8111156122f957600080fd5b61230586828701612271565b9497909650939450505050565b60008083601f84011261232457600080fd5b50813567ffffffffffffffff81111561233c57600080fd5b6020830191508360208285010111156122b657600080fd5b6000806000806040858703121561236a57600080fd5b843567ffffffffffffffff8082111561238257600080fd5b61238e88838901612312565b909650945060208701359150808211156123a757600080fd5b506123b487828801612312565b95989497509550505050565b600080604083850312156123d357600080fd5b50508035926020909101359150565b6000602082840312156123f457600080fd5b610ee08261222c565b6000806000806000806080878903121561241657600080fd5b863561242181612130565b9550602087013561243181612130565b9450604087013567ffffffffffffffff8082111561244e57600080fd5b61245a8a838b01612271565b9096509450606089013591508082111561247357600080fd5b5061248089828a01612312565b979a9699509497509295939492505050565b634e487b7160e01b600052604160045260246000fd5b600080600080608085870312156124be57600080fd5b84356124c981612130565b935060208501356124d981612130565b925060408501359150606085013567ffffffffffffffff808211156124fd57600080fd5b818701915087601f83011261251157600080fd5b81358181111561252357612523612492565b604051601f8201601f19908116603f0116810190838211818310171561254b5761254b612492565b816040528281528a602084870101111561256457600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b6000806000806040858703121561259e57600080fd5b843567ffffffffffffffff808211156125b657600080fd5b6125c288838901612271565b909650945060208701359150808211156125db57600080fd5b506123b487828801612271565b600080604083850312156125fb57600080fd5b823561260681612130565b9150602083013561261681612130565b809150509250929050565b600181811c9082168061263557607f821691505b6020821081141561119157634e487b7160e01b600052602260045260246000fd5b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526021908201527f543732313a20717565727920666f72206e6f6e6578697374656e7420746f6b656040820152603760f91b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b600082198211156126f5576126f56126cc565b500190565b6000816000190483118215151615612714576127146126cc565b500290565b634e487b7160e01b600052601260045260246000fd5b60008261273e5761273e612719565b500490565b600082821015612755576127556126cc565b500390565b60208082526026908201527f543732313a2063616c6c6572206973206e6f74206f776e6572206e6f722061706040820152651c1c9bdd995960d21b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b60006000198214156127ca576127ca6126cc565b5060010190565b60208082526010908201526f496e76616c69642064656c656761746560801b604082015260600190565b8054600090600181811c908083168061281557607f831692505b602080841082141561283757634e487b7160e01b600052602260045260246000fd5b81801561284b576001811461285c57612889565b60ff19861689528489019650612889565b60008881526020902060005b868110156128815781548b820152908501908301612868565b505084890196505b50505050505092915050565b60006128a182866127fb565b84516128b18183602089016120c5565b6128bd818301866127fb565b979650505050505050565b60208082526030908201527f543732313a207472616e7366657220746f206e6f6e204552433732315265636560408201526f34bb32b91034b6b83632b6b2b73a32b960811b606082015260800190565b60008261292757612927612719565b500690565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061295f908301846120f1565b9695505050505050565b60006020828403121561297b57600080fd5b8151610ee08161209256fea2646970667358221220863cf080da6492687f5c7ef079beb3c72cf2123f3ddce92d6e79c31ded200aa864736f6c63430008090033

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.