ETH Price: $3,116.38 (+1.67%)

Contract

0x43E9103650ea0462AFecF35B6B46b745A4Eb4fAb
 

Overview

ETH Balance

0.172325143112000001 ETH

Eth Value

$537.03 (@ $3,116.38/ETH)

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Set Approval For...211156732024-11-04 17:07:2311 days ago1730740043IN
8th Wonders: 8THWONDERS Token
0 ETH0.0005781712.49326103
Set Approval For...210856872024-10-31 12:42:1115 days ago1730378531IN
8th Wonders: 8THWONDERS Token
0 ETH0.000504210.91463316
Set Approval For...210833382024-10-31 4:49:5916 days ago1730350199IN
8th Wonders: 8THWONDERS Token
0 ETH0.000345757.48476226
Set Approval For...210710532024-10-29 11:40:2317 days ago1730202023IN
8th Wonders: 8THWONDERS Token
0 ETH0.000368527.9775689
Set Approval For...209872162024-10-17 18:56:2329 days ago1729191383IN
8th Wonders: 8THWONDERS Token
0 ETH0.0008991419.46422641
Set Approval For...209684262024-10-15 3:57:4732 days ago1728964667IN
8th Wonders: 8THWONDERS Token
0 ETH0.0003129112.8419412
Set Approval For...209629582024-10-14 9:36:5932 days ago1728898619IN
8th Wonders: 8THWONDERS Token
0 ETH0.0006191613.40334123
Safe Transfer Fr...206924042024-09-06 15:19:4770 days ago1725635987IN
8th Wonders: 8THWONDERS Token
0 ETH0.000692316.9929267
Set Approval For...206202712024-08-27 13:38:2380 days ago1724765903IN
8th Wonders: 8THWONDERS Token
0 ETH0.000113332.45345626
Set Approval For...206182432024-08-27 6:51:3581 days ago1724741495IN
8th Wonders: 8THWONDERS Token
0 ETH0.00006071.31415181
Safe Transfer Fr...206182332024-08-27 6:49:3581 days ago1724741375IN
8th Wonders: 8THWONDERS Token
0 ETH0.000055741.37049102
Transfer From204020552024-07-28 2:26:59111 days ago1722133619IN
8th Wonders: 8THWONDERS Token
0 ETH0.000080942.13786829
Set Approval For...202062452024-06-30 18:18:47138 days ago1719771527IN
8th Wonders: 8THWONDERS Token
0 ETH0.000158013.41537871
Set Approval For...201506862024-06-23 0:01:59146 days ago1719100919IN
8th Wonders: 8THWONDERS Token
0 ETH0.000127972.77033289
Safe Transfer Fr...201501742024-06-22 22:19:11146 days ago1719094751IN
8th Wonders: 8THWONDERS Token
0 ETH0.000070081.72017558
Set Approval For...197487432024-04-27 19:26:23202 days ago1714245983IN
8th Wonders: 8THWONDERS Token
0 ETH0.000253035.47764197
Set Approval For...197263692024-04-24 16:17:47205 days ago1713975467IN
8th Wonders: 8THWONDERS Token
0 ETH0.0006744614.57381367
Safe Transfer Fr...197197562024-04-23 18:03:11206 days ago1713895391IN
8th Wonders: 8THWONDERS Token
0 ETH0.0006326215.55227922
Set Approval For...196715802024-04-17 0:21:59213 days ago1713313319IN
8th Wonders: 8THWONDERS Token
0 ETH0.000328237.10532279
Set Approval For...195880332024-04-05 7:23:47224 days ago1712301827IN
8th Wonders: 8THWONDERS Token
0 ETH0.0008385618.12447911
Set Approval For...195323372024-03-28 11:33:11232 days ago1711625591IN
8th Wonders: 8THWONDERS Token
0 ETH0.0014950232.36324886
Safe Transfer Fr...195148712024-03-25 23:53:11235 days ago1711410791IN
8th Wonders: 8THWONDERS Token
0 ETH0.000979724.04714698
Set Approval For...194507612024-03-16 23:37:59244 days ago1710632279IN
8th Wonders: 8THWONDERS Token
0 ETH0.0007262129.80309628
Set Approval For...193222942024-02-27 23:54:59262 days ago1709078099IN
8th Wonders: 8THWONDERS Token
0 ETH0.0020567544.52331397
Set Approval For...192173852024-02-13 6:43:47277 days ago1707806627IN
8th Wonders: 8THWONDERS Token
0 ETH0.0008077317.48534013
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To
203971882024-07-27 10:08:59111 days ago1722074939
8th Wonders: 8THWONDERS Token
0.0000001 ETH
197198712024-04-23 18:26:11206 days ago1713896771
8th Wonders: 8THWONDERS Token
0.0020424 ETH
197171562024-04-23 9:19:23206 days ago1713863963
8th Wonders: 8THWONDERS Token
0.001332 ETH
191218602024-01-30 20:59:11290 days ago1706648351
8th Wonders: 8THWONDERS Token
0.0007992 ETH
180048692023-08-27 8:39:59446 days ago1693125599
8th Wonders: 8THWONDERS Token
0.0000995 ETH
170131882023-04-09 20:49:47586 days ago1681073387
8th Wonders: 8THWONDERS Token
0.000175 ETH
170051582023-04-08 17:30:23587 days ago1680975023
8th Wonders: 8THWONDERS Token
0.0029748 ETH
168310472023-03-15 4:51:35612 days ago1678855895
8th Wonders: 8THWONDERS Token
0.0028416 ETH
167355862023-03-01 18:35:59625 days ago1677695759
8th Wonders: 8THWONDERS Token
0.0001 ETH
166403362023-02-16 9:16:23638 days ago1676538983
8th Wonders: 8THWONDERS Token
0.002664 ETH
165065742023-01-28 16:41:11657 days ago1674924071
8th Wonders: 8THWONDERS Token
0.003552 ETH
162727712022-12-27 1:21:47690 days ago1672104107
8th Wonders: 8THWONDERS Token
0.001776 ETH
162582612022-12-25 0:44:59692 days ago1671929099
8th Wonders: 8THWONDERS Token
0.00444 ETH
162145362022-12-18 22:22:47698 days ago1671402167
8th Wonders: 8THWONDERS Token
0.001332 ETH
162143052022-12-18 21:36:11698 days ago1671399371
8th Wonders: 8THWONDERS Token
0.001776 ETH
161918982022-12-15 18:31:11701 days ago1671129071
8th Wonders: 8THWONDERS Token
0.001776 ETH
160675982022-11-28 9:30:11718 days ago1669627811
8th Wonders: 8THWONDERS Token
0.00255744 ETH
159731202022-11-15 4:42:59732 days ago1668487379
8th Wonders: 8THWONDERS Token
0.000888 ETH
159437392022-11-11 2:16:59736 days ago1668133019
8th Wonders: 8THWONDERS Token
0.0001776 ETH
159158102022-11-07 4:39:11740 days ago1667795951
8th Wonders: 8THWONDERS Token
0.0012432 ETH
159010272022-11-05 3:07:35742 days ago1667617655
8th Wonders: 8THWONDERS Token
0.0010656 ETH
157584492022-10-16 5:00:11762 days ago1665896411
8th Wonders: 8THWONDERS Token
0.00255743 ETH
157521602022-10-15 7:55:59762 days ago1665820559
8th Wonders: 8THWONDERS Token
0.0011544 ETH
157025302022-10-08 9:39:23769 days ago1665221963
8th Wonders: 8THWONDERS Token
0.001332 ETH
156556152022-10-01 20:14:23776 days ago1664655263
8th Wonders: 8THWONDERS Token
0.000888 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
_8thWonders

Compiler Version
v0.8.10+commit.fc410830

Optimization Enabled:
Yes with 200 runs

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

pragma solidity ^0.8.0;

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

import './Blimpie/Delegated.sol';
import './Blimpie/ERC721EnumerableLite.sol';
import './Blimpie/PaymentSplitterMod.sol';
import "@openzeppelin/contracts/utils/Strings.sol";

contract _8thWonders is Delegated, ERC721EnumerableLite, PaymentSplitterMod {
  using Strings for uint;

  uint public MAX_ORDER      = 20;
  uint public MAX_SUPPLY     = 1111;
  uint public MAINSALE_PRICE = 0.06 ether;
  uint public PRESALE_PRICE  = 0.05 ether;

  bool public isMintActive   = false;
  bool public isPresaleActive   = false;
  mapping(address=>uint) public accessList;

  string private _tokenURIPrefix = '';
  string private _tokenURISuffix = '';

  address[] private addressList = [
    0x627137FC6cFa3fbfa0ed936fB4B5d66fB383DBE8,
    0x31727A6d264a60bFd6A637505f87AEe4e1e3b1A9
  ];

  uint[] private shareList = [
    70,
    30
  ];

  constructor()
    Delegated()
    ERC721B("8th Wonders", "8THWONDERS", 0)
    PaymentSplitterMod( addressList, shareList ){
  }

  //public view
  fallback() external payable {}

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


  //public payable
  function presale( uint quantity ) external payable {
    require( isPresaleActive,               "Presale is not active"     );
    require( quantity <= MAX_ORDER,         "Order too big"             );
    require( msg.value >= PRESALE_PRICE * quantity, "Ether sent is not correct" );
    require( accessList[msg.sender] > 0,    "Not authorized"            );

    uint supply = totalSupply();
    require( supply + quantity <= MAX_SUPPLY, "Mint/order exceeds supply" );
    accessList[msg.sender] -= quantity;

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

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

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


  //delegated payable
  function burnFrom( address owner, uint[] calldata tokenIds ) external payable onlyDelegates{
    for(uint i; i < tokenIds.length; ++i ){
      require( _exists( tokenIds[i] ), "Burn for nonexistent token" );
      require( _owners[ tokenIds[i] ] == owner, "Owner mismatch" );
      _burn( tokenIds[i] );
    }
  }

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

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

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


  //delegated nonpayable
  function resurrect( uint[] calldata tokenIds, address[] calldata recipients ) external onlyDelegates{
    require(tokenIds.length == recipients.length,   "Must provide equal tokenIds and recipients" );

    address to;
    uint tokenId;
    address zero = address(0);
    for(uint i; i < tokenIds.length; ++i ){
      to = recipients[i];
      require(recipients[i] != address(0), "resurrect to the zero address" );

      tokenId = tokenIds[i];
      require( !_exists( tokenId ), "can't resurrect existing token" );

      
      _owners[tokenId] = to;
      // Clear approvals
      _approve(zero, tokenId);
      emit Transfer(zero, to, tokenId);
    }
  }

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

  function setActive(bool isPresaleActive_, bool isMintActive_) external onlyDelegates{
    require( isPresaleActive != isPresaleActive_ || isMintActive != isMintActive_, "New value matches old" );
    isPresaleActive = isPresaleActive_;
    isMintActive = isMintActive_;
  }

  function setBaseURI(string calldata newPrefix, string calldata newSuffix) external onlyDelegates{
    _tokenURIPrefix = newPrefix;
    _tokenURISuffix = newSuffix;
  }

  function setMax(uint maxOrder, uint maxSupply) external onlyDelegates{
    require( MAX_ORDER != maxOrder || MAX_SUPPLY != maxSupply, "New value matches old" );
    require(maxSupply >= totalSupply(), "Specified supply is lower than current balance" );
    MAX_ORDER = maxOrder;
    MAX_SUPPLY = maxSupply;
  }

  function setPrice(uint presalePrice, uint mainsalePrice ) external onlyDelegates{
    require( PRESALE_PRICE != presalePrice || MAINSALE_PRICE != mainsalePrice, "New value matches old" );
    PRESALE_PRICE = presalePrice;
    MAINSALE_PRICE = mainsalePrice;
  }


  //owner
  function addPayee(address account, uint256 shares_) external onlyOwner {
    _addPayee(account, shares_);
  }

  function setPayee( uint index, address account, uint newShares ) external onlyOwner {
    _setPayee(index, account, newShares);
  }


  //internal
  function _burn(uint tokenId) internal override {
    address curOwner = ERC721B.ownerOf(tokenId);

    // Clear approvals
    _approve(owner(), tokenId);
    _owners[tokenId] = address(0);
    emit Transfer(curOwner, address(0), tokenId);
  }

  function _mint(address to, uint tokenId) internal override {
    _owners.push(to);
    emit Transfer(address(0), to, tokenId);
  }
}

File 2 of 17 : PaymentSplitterMod.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

    uint256 private _totalShares;
    uint256 private _totalReleased;

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

    /**
     * @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 _setPayee( uint index, address account, uint newShares ) internal {
        _totalShares = _totalShares - _shares[ account ] + newShares;
        _shares[ account ] = newShares;
        _payees[ index ] = account;
    }
}

File 3 of 17 : 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 4 of 17 : ERC721EnumerableLite.sol
// SPDX-License-Identifier: BSD-3-Clause

pragma solidity ^0.8.0;

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

import "./ERC721B.sol";
import "./IERC721Batch.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol";

abstract contract ERC721EnumerableLite is ERC721B, IERC721Batch, IERC721Enumerable {
    mapping(address => uint) internal _balances;

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

        return true;
    }

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

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

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

    function tokenByIndex(uint index) external view virtual override returns (uint) {
        require(index < totalSupply(), "ERC721Enumerable: global index out of bounds");
        return index;
    }

    function totalSupply() public view virtual override( ERC721B, IERC721Enumerable ) returns (uint) {
        return _owners.length - (_offset + _burned);
    }

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

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

File 5 of 17 : ERC721B.sol
// SPDX-License-Identifier: BSD-3-Clause

pragma solidity ^0.8.0;

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

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

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

    string private _name;
    string private _symbol;

    uint internal _burned;
    uint internal _offset;
    address[] internal _owners;

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

    constructor(string memory name_, string memory symbol_, uint offset) {
        _name = name_;
        _symbol = symbol_;
        _offset = offset;
        for(uint i; i < _offset; ++i ){
            _owners.push(address(0));
        }
    }

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

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

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

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

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

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

    function totalSupply() public view virtual returns (uint) {
        return _owners.length - (_offset + _burned);
    }


    function approve(address to, uint tokenId) external virtual override {
        address owner = ERC721B.ownerOf(tokenId);
        require(to != owner, "ERC721: approval to current owner");

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

        _approve(to, tokenId);
    }

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

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

    function setApprovalForAll(address operator, bool approved) external virtual override {
        require(operator != _msgSender(), "ERC721: approve to caller");
        _operatorApprovals[_msgSender()][operator] = approved;
        emit ApprovalForAll(_msgSender(), operator, approved);
    }

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

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

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


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

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

    function _burn(uint tokenId) internal virtual {
        address owner = ERC721B.ownerOf(tokenId);

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

        // Clear approvals
        _approve(address(0), tokenId);
        _owners[tokenId] = address(0);

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

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

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

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

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

        _beforeTokenTransfer(address(0), to, tokenId);
        _owners.push(to);

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

    function _next() internal view virtual returns( uint ){
        return _owners.length;
    }

    function _safeMint(address to, uint tokenId) internal virtual {
        _safeMint(to, tokenId, "");
    }

    function _safeMint(
        address to,
        uint tokenId,
        bytes memory _data
    ) internal virtual {
        _mint(to, tokenId);
        require(
            _checkOnERC721Received(address(0), to, tokenId, _data),
            "ERC721: transfer to non ERC721Receiver implementer"
        );
    }

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

File 7 of 17 : SafeMath.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (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 8 of 17 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (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 9 of 17 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

File 10 of 17 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (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 11 of 17 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (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 12 of 17 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (utils/Address.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 13 of 17 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (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 14 of 17 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (token/ERC721/extensions/IERC721Enumerable.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 15 of 17 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

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

File 16 of 17 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, 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 17 of 17 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (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);
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"shares","type":"uint256"}],"name":"PayeeAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReceived","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReleased","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"MAINSALE_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":[],"name":"PRESALE_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"accessList","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"shares_","type":"uint256"}],"name":"addPayee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"burnFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"isDelegate","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isMintActive","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":[],"name":"isPresaleActive","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":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"payee","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"presale","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address payable","name":"account","type":"address"}],"name":"release","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"released","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"},{"internalType":"address[]","name":"recipients","type":"address[]"}],"name":"resurrect","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"quantities","type":"uint256[]"}],"name":"setAccessList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"isPresaleActive_","type":"bool"},{"internalType":"bool","name":"isMintActive_","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":"setMax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"},{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"newShares","type":"uint256"}],"name":"setPayee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"presalePrice","type":"uint256"},{"internalType":"uint256","name":"mainsalePrice","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":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalReleased","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalShares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"transferBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]

6014600f5561045760105566d529ae9e86000060115566b1a2bc2ec500006012556013805461ffff1916905560a060408190526000608081905262000047916015916200064f565b5060408051602081019182905260009081905262000068916016916200064f565b506040805180820190915273627137fc6cfa3fbfa0ed936fb4b5d66fb383dbe881527331727a6d264a60bfd6a637505f87aee4e1e3b1a96020820152620000b4906017906002620006de565b506040805180820190915260468152601e6020820152620000da90601890600262000736565b50348015620000e857600080fd5b5060178054806020026020016040519081016040528092919081815260200182805480156200014157602002820191906000526020600020905b81546001600160a01b0316815260019091019060200180831162000122575b505050505060188054806020026020016040519081016040528092919081815260200182805480156200019457602002820191906000526020600020905b8154815260200190600101908083116200017f575b50505050506040518060400160405280600b81526020016a38746820576f6e6465727360a81b8152506040518060400160405280600a815260200169385448574f4e4445525360b01b8152506000620001fc620001f66200040d60201b60201c565b62000411565b6001806000620002146000546001600160a01b031690565b6001600160a01b03168152602080820192909252604001600020805460ff19169215159290921790915583516200025291600291908601906200064f565b508151620002689060039060208501906200064f565b50600581905560005b600554811015620002cf57600680546001810182556000919091527ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f0180546001600160a01b0319169055620002c781620007a6565b905062000271565b505050508051825114620003455760405162461bcd60e51b815260206004820152603260248201527f5061796d656e7453706c69747465723a2070617965657320616e6420736861726044820152710cae640d8cadccee8d040dad2e6dac2e8c6d60731b60648201526084015b60405180910390fd5b6000825111620003985760405162461bcd60e51b815260206004820152601a60248201527f5061796d656e7453706c69747465723a206e6f2070617965657300000000000060448201526064016200033c565b60005b82518110156200040457620003ef838281518110620003be57620003be620007c4565b6020026020010151838381518110620003db57620003db620007c4565b60200260200101516200046160201b60201c565b80620003fb81620007a6565b9150506200039b565b50505062000832565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b038216620004ce5760405162461bcd60e51b815260206004820152602c60248201527f5061796d656e7453706c69747465723a206163636f756e74206973207468652060448201526b7a65726f206164647265737360a01b60648201526084016200033c565b60008111620005205760405162461bcd60e51b815260206004820152601d60248201527f5061796d656e7453706c69747465723a2073686172657320617265203000000060448201526064016200033c565b6001600160a01b0382166000908152600c6020526040902054156200059c5760405162461bcd60e51b815260206004820152602b60248201527f5061796d656e7453706c69747465723a206163636f756e7420616c726561647960448201526a206861732073686172657360a81b60648201526084016200033c565b600e8054600181019091557fbb7b4a454dc3493923482f07822329ed19e8244eff582cc204f8554c3620c3fd0180546001600160a01b0319166001600160a01b0384169081179091556000908152600c60205260409020819055600a5462000606908290620007da565b600a55604080516001600160a01b0384168152602081018390527f40c340f65e17194d14ddddb073d3c9f888e3cb52b5aae0c6c7706b4fbc905fac910160405180910390a15050565b8280546200065d90620007f5565b90600052602060002090601f016020900481019282620006815760008555620006cc565b82601f106200069c57805160ff1916838001178555620006cc565b82800160010185558215620006cc579182015b82811115620006cc578251825591602001919060010190620006af565b50620006da92915062000779565b5090565b828054828255906000526020600020908101928215620006cc579160200282015b82811115620006cc57825182546001600160a01b0319166001600160a01b03909116178255602090920191600190910190620006ff565b828054828255906000526020600020908101928215620006cc579160200282015b82811115620006cc578251829060ff1690559160200191906001019062000757565b5b80821115620006da57600081556001016200077a565b634e487b7160e01b600052601160045260246000fd5b6000600019821415620007bd57620007bd62000790565b5060010190565b634e487b7160e01b600052603260045260246000fd5b60008219821115620007f057620007f062000790565b500190565b600181811c908216806200080a57607f821691505b602082108114156200082c57634e487b7160e01b600052602260045260246000fd5b50919050565b6135dc80620008426000396000f3fe6080604052600436106102975760003560e01c806370a0823111610166578063b294faec116100d3578063df2388001161008f578063e966d5121161006c578063e966d51214610876578063e985e9c514610889578063f2fde38b146108d2578063f7d97577146108f257005b8063df2388001461082e578063e33b7de31461084e578063e6ab14341461086357005b8063b294faec14610762578063b534a5c414610778578063b88d4fde14610798578063bb39e029146107b8578063c87b56dd146107d8578063ce7c2ac2146107f857005b80638b83209b116101225780638b83209b146106a65780638da5cb5b146106c657806395d89b41146106e45780639852595c146106f9578063a0712d681461072f578063a22cb4651461074257005b806370a08231146105f1578063715018a6146106115780637e91b36f146106265780637f608d031461064657806387a5b67c1461066657806389af61071461069357005b80633b91ceef1161020457806350c5a00c116101c057806350c5a00c1461054c5780635b92ac0d1461056257806360d938dc1461057c57806362dc6e211461059b5780636352211e146105b15780636790a9de146105d157005b80633b91ceef1461047f57806342842e0e1461049f578063438b6300146104bf5780634a994eef146104ec5780634d44660c1461050c5780634f6ccce71461052c57005b806318f9b0231161025357806318f9b023146103d457806319165587146103f457806323b872dd146104145780632f745c591461043457806332cb6b0c146104545780633a98ef391461046a57005b806301ffc9a7146102e257806306fdde03146103175780630777962714610339578063081812fc14610359578063095ea7b31461039157806318160ddd146103b157005b366102e0577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be77033604080516001600160a01b0390921682523460208301520160405180910390a1005b005b3480156102ee57600080fd5b506103026102fd366004612c48565b610912565b60405190151581526020015b60405180910390f35b34801561032357600080fd5b5061032c61093d565b60405161030e9190612cbd565b34801561034557600080fd5b50610302610354366004612ce5565b6109cf565b34801561036557600080fd5b50610379610374366004612d02565b610a26565b6040516001600160a01b03909116815260200161030e565b34801561039d57600080fd5b506102e06103ac366004612d1b565b610aae565b3480156103bd57600080fd5b506103c6610bc4565b60405190815260200161030e565b3480156103e057600080fd5b506102e06103ef366004612d1b565b610be8565b34801561040057600080fd5b506102e061040f366004612ce5565b610c20565b34801561042057600080fd5b506102e061042f366004612d47565b610df1565b34801561044057600080fd5b506103c661044f366004612d1b565b610e22565b34801561046057600080fd5b506103c660105481565b34801561047657600080fd5b50600a546103c6565b34801561048b57600080fd5b506102e061049a366004612d88565b610eee565b3480156104ab57600080fd5b506102e06104ba366004612d47565b610fc5565b3480156104cb57600080fd5b506104df6104da366004612ce5565b610fe0565b60405161030e9190612daa565b3480156104f857600080fd5b506102e0610507366004612dfe565b611080565b34801561051857600080fd5b50610302610527366004612e7f565b6110d5565b34801561053857600080fd5b506103c6610547366004612d02565b611157565b34801561055857600080fd5b506103c6600f5481565b34801561056e57600080fd5b506013546103029060ff1681565b34801561058857600080fd5b5060135461030290610100900460ff1681565b3480156105a757600080fd5b506103c660125481565b3480156105bd57600080fd5b506103796105cc366004612d02565b6111c8565b3480156105dd57600080fd5b506102e06105ec366004612f16565b611254565b3480156105fd57600080fd5b506103c661060c366004612ce5565b6112a3565b34801561061d57600080fd5b506102e0611371565b34801561063257600080fd5b506102e0610641366004612f82565b6113a7565b34801561065257600080fd5b506102e0610661366004612fe2565b6114b1565b34801561067257600080fd5b506103c6610681366004612ce5565b60146020526000908152604090205481565b6102e06106a1366004612e7f565b611546565b3480156106b257600080fd5b506103796106c1366004612d02565b6116ac565b3480156106d257600080fd5b506000546001600160a01b0316610379565b3480156106f057600080fd5b5061032c6116dc565b34801561070557600080fd5b506103c6610714366004612ce5565b6001600160a01b03166000908152600d602052604090205490565b6102e061073d366004612d02565b6116eb565b34801561074e57600080fd5b506102e061075d366004612dfe565b611835565b34801561076e57600080fd5b506103c660115481565b34801561078457600080fd5b506102e0610793366004612ffe565b6118fa565b3480156107a457600080fd5b506102e06107b33660046130a9565b611978565b3480156107c457600080fd5b506102e06107d3366004612f82565b6119aa565b3480156107e457600080fd5b5061032c6107f3366004612d02565b611bf9565b34801561080457600080fd5b506103c6610813366004612ce5565b6001600160a01b03166000908152600c602052604090205490565b34801561083a57600080fd5b506102e0610849366004613189565b611c85565b34801561085a57600080fd5b50600b546103c6565b6102e0610871366004612d02565b611cba565b6102e0610884366004612f82565b611e77565b34801561089557600080fd5b506103026108a43660046131b0565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b3480156108de57600080fd5b506102e06108ed366004612ce5565b61200e565b3480156108fe57600080fd5b506102e061090d366004612d88565b61206a565b60006001600160e01b0319821663780e9d6360e01b14806109375750610937826120d3565b92915050565b60606002805461094c906131e9565b80601f0160208091040260200160405190810160405280929190818152602001828054610978906131e9565b80156109c55780601f1061099a576101008083540402835291602001916109c5565b820191906000526020600020905b8154815290600101906020018083116109a857829003601f168201915b5050505050905090565b600080546001600160a01b03163314610a035760405162461bcd60e51b81526004016109fa90613224565b60405180910390fd5b506001600160a01b03811660009081526001602052604090205460ff165b919050565b6000610a3182612123565b610a925760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016109fa565b506000908152600760205260409020546001600160a01b031690565b6000610ab9826111c8565b9050806001600160a01b0316836001600160a01b03161415610b275760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016109fa565b336001600160a01b0382161480610b435750610b4381336108a4565b610bb55760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016109fa565b610bbf838361216d565b505050565b6000600454600554610bd6919061326f565b600654610be39190613287565b905090565b6000546001600160a01b03163314610c125760405162461bcd60e51b81526004016109fa90613224565b610c1c82826121db565b5050565b6001600160a01b0381166000908152600c6020526040902054610c945760405162461bcd60e51b815260206004820152602660248201527f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060448201526573686172657360d01b60648201526084016109fa565b6000600b5447610ca4919061326f565b6001600160a01b0383166000908152600d6020908152604080832054600a54600c909352908320549394509192610cdb908561329e565b610ce591906132d3565b610cef9190613287565b905080610d525760405162461bcd60e51b815260206004820152602b60248201527f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060448201526a191d59481c185e5b595b9d60aa1b60648201526084016109fa565b6001600160a01b0383166000908152600d6020526040902054610d7690829061326f565b6001600160a01b0384166000908152600d6020526040902055600b54610d9d90829061326f565b600b55610daa83826123c1565b604080516001600160a01b0385168152602081018390527fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b056910160405180910390a1505050565b610dfb33826124da565b610e175760405162461bcd60e51b81526004016109fa906132e7565b610bbf8383836125c4565b60008060005b600654811015610e915760068181548110610e4557610e45613338565b6000918252602090912001546001600160a01b0386811691161415610e815783821415610e755791506109379050565b610e7e8261334e565b91505b610e8a8161334e565b9050610e28565b5060405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016109fa565b3360009081526001602052604090205460ff16610f1d5760405162461bcd60e51b81526004016109fa90613369565b81600f54141580610f3057508060105414155b610f4c5760405162461bcd60e51b81526004016109fa90613393565b610f54610bc4565b811015610fba5760405162461bcd60e51b815260206004820152602e60248201527f53706563696669656420737570706c79206973206c6f776572207468616e206360448201526d757272656e742062616c616e636560901b60648201526084016109fa565b600f91909155601055565b610bbf83838360405180602001604052806000815250611978565b60606000610fed836112a3565b905060008167ffffffffffffffff81111561100a5761100a613093565b604051908082528060200260200182016040528015611033578160200160208202803683370190505b50905060005b828110156110785761104b8582610e22565b82828151811061105d5761105d613338565b60209081029190910101526110718161334e565b9050611039565b509392505050565b6000546001600160a01b031633146110aa5760405162461bcd60e51b81526004016109fa90613224565b6001600160a01b03919091166000908152600160205260409020805460ff1916911515919091179055565b6000805b8281101561114a57846001600160a01b031660068585848181106110ff576110ff613338565b905060200201358154811061111657611116613338565b6000918252602090912001546001600160a01b03161461113a576000915050611150565b6111438161334e565b90506110d9565b50600190505b9392505050565b6000611161610bc4565b82106111c45760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b60648201526084016109fa565b5090565b600080600683815481106111de576111de613338565b6000918252602090912001546001600160a01b03169050806109375760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016109fa565b3360009081526001602052604090205460ff166112835760405162461bcd60e51b81526004016109fa90613369565b61128f60158585612ba2565b5061129c60168383612ba2565b5050505050565b60006001600160a01b03821661130e5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016109fa565b6000805b60065481101561136a576006818154811061132f5761132f613338565b6000918252602090912001546001600160a01b038581169116141561135a576113578261334e565b91505b6113638161334e565b9050611312565b5092915050565b6000546001600160a01b0316331461139b5760405162461bcd60e51b81526004016109fa90613224565b6113a56000612708565b565b3360009081526001602052604090205460ff166113d65760405162461bcd60e51b81526004016109fa90613369565b8281146114385760405162461bcd60e51b815260206004820152602a60248201527f4d7573742070726f7669646520657175616c206163636f756e747320616e64206044820152697175616e74697469657360b01b60648201526084016109fa565b60005b8381101561129c5782828281811061145557611455613338565b905060200201356014600087878581811061147257611472613338565b90506020020160208101906114879190612ce5565b6001600160a01b031681526020810191909152604001600020556114aa8161334e565b905061143b565b3360009081526001602052604090205460ff166114e05760405162461bcd60e51b81526004016109fa90613369565b60135460ff610100909104161515821515141580611507575060135460ff16151581151514155b6115235760405162461bcd60e51b81526004016109fa90613393565b6013805461ffff19166101009315159390930260ff191692909217901515179055565b3360009081526001602052604090205460ff166115755760405162461bcd60e51b81526004016109fa90613369565b60005b818110156116a6576115a183838381811061159557611595613338565b90506020020135612123565b6115ed5760405162461bcd60e51b815260206004820152601a60248201527f4275726e20666f72206e6f6e6578697374656e7420746f6b656e00000000000060448201526064016109fa565b836001600160a01b0316600684848481811061160b5761160b613338565b905060200201358154811061162257611622613338565b6000918252602090912001546001600160a01b0316146116755760405162461bcd60e51b815260206004820152600e60248201526d09eeedccae440dad2e6dac2e8c6d60931b60448201526064016109fa565b61169683838381811061168a5761168a613338565b90506020020135612758565b61169f8161334e565b9050611578565b50505050565b6000600e82815481106116c1576116c1613338565b6000918252602090912001546001600160a01b031692915050565b60606003805461094c906131e9565b60135460ff166117325760405162461bcd60e51b815260206004820152601260248201527153616c65206973206e6f742061637469766560701b60448201526064016109fa565b600f548111156117745760405162461bcd60e51b815260206004820152600d60248201526c4f7264657220746f6f2062696760981b60448201526064016109fa565b80601154611782919061329e565b3410156117cd5760405162461bcd60e51b8152602060048201526019602482015278115d1a195c881cd95b9d081a5cc81b9bdd0818dbdc9c9958dd603a1b60448201526064016109fa565b60006117d7610bc4565b6010549091506117e7838361326f565b11156118055760405162461bcd60e51b81526004016109fa906133c2565b60005b82811015610bbf57611825338361181e8161334e565b94506127d8565b61182e8161334e565b9050611808565b6001600160a01b03821633141561188e5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016109fa565b3360008181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b60005b8381101561196f5761195f878787878581811061191c5761191c613338565b9050602002013586868080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061197892505050565b6119688161334e565b90506118fd565b50505050505050565b61198233836124da565b61199e5760405162461bcd60e51b81526004016109fa906132e7565b6116a684848484612842565b3360009081526001602052604090205460ff166119d95760405162461bcd60e51b81526004016109fa90613369565b828114611a3b5760405162461bcd60e51b815260206004820152602a60248201527f4d7573742070726f7669646520657175616c20746f6b656e49647320616e6420604482015269726563697069656e747360b01b60648201526084016109fa565b6000806000805b86811015611bef57858582818110611a5c57611a5c613338565b9050602002016020810190611a719190612ce5565b93506000868683818110611a8757611a87613338565b9050602002016020810190611a9c9190612ce5565b6001600160a01b03161415611af35760405162461bcd60e51b815260206004820152601d60248201527f72657375727265637420746f20746865207a65726f206164647265737300000060448201526064016109fa565b878782818110611b0557611b05613338565b905060200201359250611b1783612123565b15611b645760405162461bcd60e51b815260206004820152601e60248201527f63616e277420726573757272656374206578697374696e6720746f6b656e000060448201526064016109fa565b8360068481548110611b7857611b78613338565b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b03160217905550611bb0828461216d565b82846001600160a01b0316836001600160a01b031660008051602061358783398151915260405160405180910390a4611be88161334e565b9050611a42565b5050505050505050565b6060611c0482612123565b611c505760405162461bcd60e51b815260206004820152601b60248201527f517565727920666f72206e6f6e6578697374656e7420746f6b656e000000000060448201526064016109fa565b6015611c5b83612875565b6016604051602001611c6f93929190613493565b6040516020818303038152906040529050919050565b6000546001600160a01b03163314611caf5760405162461bcd60e51b81526004016109fa90613224565b610bbf838383612973565b601354610100900460ff16611d095760405162461bcd60e51b815260206004820152601560248201527450726573616c65206973206e6f742061637469766560581b60448201526064016109fa565b600f54811115611d4b5760405162461bcd60e51b815260206004820152600d60248201526c4f7264657220746f6f2062696760981b60448201526064016109fa565b80601254611d59919061329e565b341015611da45760405162461bcd60e51b8152602060048201526019602482015278115d1a195c881cd95b9d081a5cc81b9bdd0818dbdc9c9958dd603a1b60448201526064016109fa565b33600090815260146020526040902054611df15760405162461bcd60e51b815260206004820152600e60248201526d139bdd08185d5d1a1bdc9a5e995960921b60448201526064016109fa565b6000611dfb610bc4565b601054909150611e0b838361326f565b1115611e295760405162461bcd60e51b81526004016109fa906133c2565b3360009081526014602052604081208054849290611e48908490613287565b90915550600090505b82811015610bbf57611e67338361181e8161334e565b611e708161334e565b9050611e51565b3360009081526001602052604090205460ff16611ea65760405162461bcd60e51b81526004016109fa90613369565b828114611f0a5760405162461bcd60e51b815260206004820152602c60248201527f4d7573742070726f7669646520657175616c207175616e74697469657320616e60448201526b6420726563697069656e747360a01b60648201526084016109fa565b600080611f15610bc4565b905060005b85811015611f5857868682818110611f3457611f34613338565b9050602002013583611f46919061326f565b9250611f518161334e565b9050611f1a565b50601054611f66838361326f565b1115611f845760405162461bcd60e51b81526004016109fa906133c2565b60005b8381101561196f5760005b878783818110611fa457611fa4613338565b90506020020135811015611ffd57611fed868684818110611fc757611fc7613338565b9050602002016020810190611fdc9190612ce5565b84611fe68161334e565b95506127d8565b611ff68161334e565b9050611f92565b506120078161334e565b9050611f87565b6000546001600160a01b031633146120385760405162461bcd60e51b81526004016109fa90613224565b6001600160a01b0381166000908152600160208190526040909120805460ff1916909117905561206781612a0c565b50565b3360009081526001602052604090205460ff166120995760405162461bcd60e51b81526004016109fa90613369565b816012541415806120ac57508060115414155b6120c85760405162461bcd60e51b81526004016109fa90613393565b601291909155601155565b60006001600160e01b031982166380ac58cd60e01b148061210457506001600160e01b03198216635b5e139f60e01b145b8061093757506301ffc9a760e01b6001600160e01b0319831614610937565b60065460009082108015610937575060006001600160a01b03166006838154811061215057612150613338565b6000918252602090912001546001600160a01b0316141592915050565b600081815260076020526040902080546001600160a01b0319166001600160a01b03841690811790915581906121a2826111c8565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6001600160a01b0382166122465760405162461bcd60e51b815260206004820152602c60248201527f5061796d656e7453706c69747465723a206163636f756e74206973207468652060448201526b7a65726f206164647265737360a01b60648201526084016109fa565b600081116122965760405162461bcd60e51b815260206004820152601d60248201527f5061796d656e7453706c69747465723a2073686172657320617265203000000060448201526064016109fa565b6001600160a01b0382166000908152600c6020526040902054156123105760405162461bcd60e51b815260206004820152602b60248201527f5061796d656e7453706c69747465723a206163636f756e7420616c726561647960448201526a206861732073686172657360a81b60648201526084016109fa565b600e8054600181019091557fbb7b4a454dc3493923482f07822329ed19e8244eff582cc204f8554c3620c3fd0180546001600160a01b0319166001600160a01b0384169081179091556000908152600c60205260409020819055600a5461237890829061326f565b600a55604080516001600160a01b0384168152602081018390527f40c340f65e17194d14ddddb073d3c9f888e3cb52b5aae0c6c7706b4fbc905fac910160405180910390a15050565b804710156124115760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e636500000060448201526064016109fa565b6000826001600160a01b03168260405160006040518083038185875af1925050503d806000811461245e576040519150601f19603f3d011682016040523d82523d6000602084013e612463565b606091505b5050905080610bbf5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d6179206861766520726576657274656400000000000060648201526084016109fa565b60006124e582612123565b6125465760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016109fa565b6000612551836111c8565b9050806001600160a01b0316846001600160a01b0316148061258c5750836001600160a01b031661258184610a26565b6001600160a01b0316145b806125bc57506001600160a01b0380821660009081526008602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b03166125d7826111c8565b6001600160a01b03161461263f5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b60648201526084016109fa565b6001600160a01b0382166126a15760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016109fa565b6126ac60008261216d565b81600682815481106126c0576126c0613338565b6000918252602082200180546001600160a01b0319166001600160a01b03938416179055604051839285811692908716916000805160206135878339815191529190a4505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000612763826111c8565b905061278061277a6000546001600160a01b031690565b8361216d565b60006006838154811061279557612795613338565b6000918252602082200180546001600160a01b0319166001600160a01b039384161790556040518492841690600080516020613587833981519152908390a45050565b6006805460018101825560009182527ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f0180546001600160a01b0319166001600160a01b038516908117909155604051839290600080516020613587833981519152908290a45050565b61284d8484846125c4565b61285984848484612aa4565b6116a65760405162461bcd60e51b81526004016109fa906134c6565b6060816128995750506040805180820190915260018152600360fc1b602082015290565b8160005b81156128c357806128ad8161334e565b91506128bc9050600a836132d3565b915061289d565b60008167ffffffffffffffff8111156128de576128de613093565b6040519080825280601f01601f191660200182016040528015612908576020820181803683370190505b5090505b84156125bc5761291d600183613287565b915061292a600a86613518565b61293590603061326f565b60f81b81838151811061294a5761294a613338565b60200101906001600160f81b031916908160001a90535061296c600a866132d3565b945061290c565b6001600160a01b0382166000908152600c6020526040902054600a54829161299a91613287565b6129a4919061326f565b600a556001600160a01b0382166000908152600c60205260409020819055600e8054839190859081106129d9576129d9613338565b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b03160217905550505050565b6000546001600160a01b03163314612a365760405162461bcd60e51b81526004016109fa90613224565b6001600160a01b038116612a9b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016109fa565b61206781612708565b60006001600160a01b0384163b15612b9757604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612ae890339089908890889060040161352c565b6020604051808303816000875af1925050508015612b23575060408051601f3d908101601f19168201909252612b2091810190613569565b60015b612b7d573d808015612b51576040519150601f19603f3d011682016040523d82523d6000602084013e612b56565b606091505b508051612b755760405162461bcd60e51b81526004016109fa906134c6565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506125bc565b506001949350505050565b828054612bae906131e9565b90600052602060002090601f016020900481019282612bd05760008555612c16565b82601f10612be95782800160ff19823516178555612c16565b82800160010185558215612c16579182015b82811115612c16578235825591602001919060010190612bfb565b506111c49291505b808211156111c45760008155600101612c1e565b6001600160e01b03198116811461206757600080fd5b600060208284031215612c5a57600080fd5b813561115081612c32565b60005b83811015612c80578181015183820152602001612c68565b838111156116a65750506000910152565b60008151808452612ca9816020860160208601612c65565b601f01601f19169290920160200192915050565b6020815260006111506020830184612c91565b6001600160a01b038116811461206757600080fd5b600060208284031215612cf757600080fd5b813561115081612cd0565b600060208284031215612d1457600080fd5b5035919050565b60008060408385031215612d2e57600080fd5b8235612d3981612cd0565b946020939093013593505050565b600080600060608486031215612d5c57600080fd5b8335612d6781612cd0565b92506020840135612d7781612cd0565b929592945050506040919091013590565b60008060408385031215612d9b57600080fd5b50508035926020909101359150565b6020808252825182820181905260009190848201906040850190845b81811015612de257835183529284019291840191600101612dc6565b50909695505050505050565b80358015158114610a2157600080fd5b60008060408385031215612e1157600080fd5b8235612e1c81612cd0565b9150612e2a60208401612dee565b90509250929050565b60008083601f840112612e4557600080fd5b50813567ffffffffffffffff811115612e5d57600080fd5b6020830191508360208260051b8501011115612e7857600080fd5b9250929050565b600080600060408486031215612e9457600080fd5b8335612e9f81612cd0565b9250602084013567ffffffffffffffff811115612ebb57600080fd5b612ec786828701612e33565b9497909650939450505050565b60008083601f840112612ee657600080fd5b50813567ffffffffffffffff811115612efe57600080fd5b602083019150836020828501011115612e7857600080fd5b60008060008060408587031215612f2c57600080fd5b843567ffffffffffffffff80821115612f4457600080fd5b612f5088838901612ed4565b90965094506020870135915080821115612f6957600080fd5b50612f7687828801612ed4565b95989497509550505050565b60008060008060408587031215612f9857600080fd5b843567ffffffffffffffff80821115612fb057600080fd5b612fbc88838901612e33565b90965094506020870135915080821115612fd557600080fd5b50612f7687828801612e33565b60008060408385031215612ff557600080fd5b612e1c83612dee565b6000806000806000806080878903121561301757600080fd5b863561302281612cd0565b9550602087013561303281612cd0565b9450604087013567ffffffffffffffff8082111561304f57600080fd5b61305b8a838b01612e33565b9096509450606089013591508082111561307457600080fd5b5061308189828a01612ed4565b979a9699509497509295939492505050565b634e487b7160e01b600052604160045260246000fd5b600080600080608085870312156130bf57600080fd5b84356130ca81612cd0565b935060208501356130da81612cd0565b925060408501359150606085013567ffffffffffffffff808211156130fe57600080fd5b818701915087601f83011261311257600080fd5b81358181111561312457613124613093565b604051601f8201601f19908116603f0116810190838211818310171561314c5761314c613093565b816040528281528a602084870101111561316557600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b60008060006060848603121561319e57600080fd5b833592506020840135612d7781612cd0565b600080604083850312156131c357600080fd5b82356131ce81612cd0565b915060208301356131de81612cd0565b809150509250929050565b600181811c908216806131fd57607f821691505b6020821081141561321e57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b6000821982111561328257613282613259565b500190565b60008282101561329957613299613259565b500390565b60008160001904831182151516156132b8576132b8613259565b500290565b634e487b7160e01b600052601260045260246000fd5b6000826132e2576132e26132bd565b500490565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b600060001982141561336257613362613259565b5060010190565b60208082526010908201526f496e76616c69642064656c656761746560801b604082015260600190565b60208082526015908201527413995dc81d985b1d59481b585d18da195cc81bdb19605a1b604082015260600190565b60208082526019908201527f4d696e742f6f72646572206578636565647320737570706c7900000000000000604082015260600190565b8054600090600181811c908083168061341357607f831692505b602080841082141561343557634e487b7160e01b600052602260045260246000fd5b818015613449576001811461345a57613487565b60ff19861689528489019650613487565b60008881526020902060005b8681101561347f5781548b820152908501908301613466565b505084890196505b50505050505092915050565b600061349f82866133f9565b84516134af818360208901612c65565b6134bb818301866133f9565b979650505050505050565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b600082613527576135276132bd565b500690565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061355f90830184612c91565b9695505050505050565b60006020828403121561357b57600080fd5b815161115081612c3256feddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa2646970667358221220735d6e1e1fbbbde569afa96775fe835c1a53ced61946786a71ecdef9bc79960f64736f6c634300080a0033

Deployed Bytecode

0x6080604052600436106102975760003560e01c806370a0823111610166578063b294faec116100d3578063df2388001161008f578063e966d5121161006c578063e966d51214610876578063e985e9c514610889578063f2fde38b146108d2578063f7d97577146108f257005b8063df2388001461082e578063e33b7de31461084e578063e6ab14341461086357005b8063b294faec14610762578063b534a5c414610778578063b88d4fde14610798578063bb39e029146107b8578063c87b56dd146107d8578063ce7c2ac2146107f857005b80638b83209b116101225780638b83209b146106a65780638da5cb5b146106c657806395d89b41146106e45780639852595c146106f9578063a0712d681461072f578063a22cb4651461074257005b806370a08231146105f1578063715018a6146106115780637e91b36f146106265780637f608d031461064657806387a5b67c1461066657806389af61071461069357005b80633b91ceef1161020457806350c5a00c116101c057806350c5a00c1461054c5780635b92ac0d1461056257806360d938dc1461057c57806362dc6e211461059b5780636352211e146105b15780636790a9de146105d157005b80633b91ceef1461047f57806342842e0e1461049f578063438b6300146104bf5780634a994eef146104ec5780634d44660c1461050c5780634f6ccce71461052c57005b806318f9b0231161025357806318f9b023146103d457806319165587146103f457806323b872dd146104145780632f745c591461043457806332cb6b0c146104545780633a98ef391461046a57005b806301ffc9a7146102e257806306fdde03146103175780630777962714610339578063081812fc14610359578063095ea7b31461039157806318160ddd146103b157005b366102e0577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be77033604080516001600160a01b0390921682523460208301520160405180910390a1005b005b3480156102ee57600080fd5b506103026102fd366004612c48565b610912565b60405190151581526020015b60405180910390f35b34801561032357600080fd5b5061032c61093d565b60405161030e9190612cbd565b34801561034557600080fd5b50610302610354366004612ce5565b6109cf565b34801561036557600080fd5b50610379610374366004612d02565b610a26565b6040516001600160a01b03909116815260200161030e565b34801561039d57600080fd5b506102e06103ac366004612d1b565b610aae565b3480156103bd57600080fd5b506103c6610bc4565b60405190815260200161030e565b3480156103e057600080fd5b506102e06103ef366004612d1b565b610be8565b34801561040057600080fd5b506102e061040f366004612ce5565b610c20565b34801561042057600080fd5b506102e061042f366004612d47565b610df1565b34801561044057600080fd5b506103c661044f366004612d1b565b610e22565b34801561046057600080fd5b506103c660105481565b34801561047657600080fd5b50600a546103c6565b34801561048b57600080fd5b506102e061049a366004612d88565b610eee565b3480156104ab57600080fd5b506102e06104ba366004612d47565b610fc5565b3480156104cb57600080fd5b506104df6104da366004612ce5565b610fe0565b60405161030e9190612daa565b3480156104f857600080fd5b506102e0610507366004612dfe565b611080565b34801561051857600080fd5b50610302610527366004612e7f565b6110d5565b34801561053857600080fd5b506103c6610547366004612d02565b611157565b34801561055857600080fd5b506103c6600f5481565b34801561056e57600080fd5b506013546103029060ff1681565b34801561058857600080fd5b5060135461030290610100900460ff1681565b3480156105a757600080fd5b506103c660125481565b3480156105bd57600080fd5b506103796105cc366004612d02565b6111c8565b3480156105dd57600080fd5b506102e06105ec366004612f16565b611254565b3480156105fd57600080fd5b506103c661060c366004612ce5565b6112a3565b34801561061d57600080fd5b506102e0611371565b34801561063257600080fd5b506102e0610641366004612f82565b6113a7565b34801561065257600080fd5b506102e0610661366004612fe2565b6114b1565b34801561067257600080fd5b506103c6610681366004612ce5565b60146020526000908152604090205481565b6102e06106a1366004612e7f565b611546565b3480156106b257600080fd5b506103796106c1366004612d02565b6116ac565b3480156106d257600080fd5b506000546001600160a01b0316610379565b3480156106f057600080fd5b5061032c6116dc565b34801561070557600080fd5b506103c6610714366004612ce5565b6001600160a01b03166000908152600d602052604090205490565b6102e061073d366004612d02565b6116eb565b34801561074e57600080fd5b506102e061075d366004612dfe565b611835565b34801561076e57600080fd5b506103c660115481565b34801561078457600080fd5b506102e0610793366004612ffe565b6118fa565b3480156107a457600080fd5b506102e06107b33660046130a9565b611978565b3480156107c457600080fd5b506102e06107d3366004612f82565b6119aa565b3480156107e457600080fd5b5061032c6107f3366004612d02565b611bf9565b34801561080457600080fd5b506103c6610813366004612ce5565b6001600160a01b03166000908152600c602052604090205490565b34801561083a57600080fd5b506102e0610849366004613189565b611c85565b34801561085a57600080fd5b50600b546103c6565b6102e0610871366004612d02565b611cba565b6102e0610884366004612f82565b611e77565b34801561089557600080fd5b506103026108a43660046131b0565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b3480156108de57600080fd5b506102e06108ed366004612ce5565b61200e565b3480156108fe57600080fd5b506102e061090d366004612d88565b61206a565b60006001600160e01b0319821663780e9d6360e01b14806109375750610937826120d3565b92915050565b60606002805461094c906131e9565b80601f0160208091040260200160405190810160405280929190818152602001828054610978906131e9565b80156109c55780601f1061099a576101008083540402835291602001916109c5565b820191906000526020600020905b8154815290600101906020018083116109a857829003601f168201915b5050505050905090565b600080546001600160a01b03163314610a035760405162461bcd60e51b81526004016109fa90613224565b60405180910390fd5b506001600160a01b03811660009081526001602052604090205460ff165b919050565b6000610a3182612123565b610a925760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016109fa565b506000908152600760205260409020546001600160a01b031690565b6000610ab9826111c8565b9050806001600160a01b0316836001600160a01b03161415610b275760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016109fa565b336001600160a01b0382161480610b435750610b4381336108a4565b610bb55760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016109fa565b610bbf838361216d565b505050565b6000600454600554610bd6919061326f565b600654610be39190613287565b905090565b6000546001600160a01b03163314610c125760405162461bcd60e51b81526004016109fa90613224565b610c1c82826121db565b5050565b6001600160a01b0381166000908152600c6020526040902054610c945760405162461bcd60e51b815260206004820152602660248201527f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060448201526573686172657360d01b60648201526084016109fa565b6000600b5447610ca4919061326f565b6001600160a01b0383166000908152600d6020908152604080832054600a54600c909352908320549394509192610cdb908561329e565b610ce591906132d3565b610cef9190613287565b905080610d525760405162461bcd60e51b815260206004820152602b60248201527f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060448201526a191d59481c185e5b595b9d60aa1b60648201526084016109fa565b6001600160a01b0383166000908152600d6020526040902054610d7690829061326f565b6001600160a01b0384166000908152600d6020526040902055600b54610d9d90829061326f565b600b55610daa83826123c1565b604080516001600160a01b0385168152602081018390527fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b056910160405180910390a1505050565b610dfb33826124da565b610e175760405162461bcd60e51b81526004016109fa906132e7565b610bbf8383836125c4565b60008060005b600654811015610e915760068181548110610e4557610e45613338565b6000918252602090912001546001600160a01b0386811691161415610e815783821415610e755791506109379050565b610e7e8261334e565b91505b610e8a8161334e565b9050610e28565b5060405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016109fa565b3360009081526001602052604090205460ff16610f1d5760405162461bcd60e51b81526004016109fa90613369565b81600f54141580610f3057508060105414155b610f4c5760405162461bcd60e51b81526004016109fa90613393565b610f54610bc4565b811015610fba5760405162461bcd60e51b815260206004820152602e60248201527f53706563696669656420737570706c79206973206c6f776572207468616e206360448201526d757272656e742062616c616e636560901b60648201526084016109fa565b600f91909155601055565b610bbf83838360405180602001604052806000815250611978565b60606000610fed836112a3565b905060008167ffffffffffffffff81111561100a5761100a613093565b604051908082528060200260200182016040528015611033578160200160208202803683370190505b50905060005b828110156110785761104b8582610e22565b82828151811061105d5761105d613338565b60209081029190910101526110718161334e565b9050611039565b509392505050565b6000546001600160a01b031633146110aa5760405162461bcd60e51b81526004016109fa90613224565b6001600160a01b03919091166000908152600160205260409020805460ff1916911515919091179055565b6000805b8281101561114a57846001600160a01b031660068585848181106110ff576110ff613338565b905060200201358154811061111657611116613338565b6000918252602090912001546001600160a01b03161461113a576000915050611150565b6111438161334e565b90506110d9565b50600190505b9392505050565b6000611161610bc4565b82106111c45760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b60648201526084016109fa565b5090565b600080600683815481106111de576111de613338565b6000918252602090912001546001600160a01b03169050806109375760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016109fa565b3360009081526001602052604090205460ff166112835760405162461bcd60e51b81526004016109fa90613369565b61128f60158585612ba2565b5061129c60168383612ba2565b5050505050565b60006001600160a01b03821661130e5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016109fa565b6000805b60065481101561136a576006818154811061132f5761132f613338565b6000918252602090912001546001600160a01b038581169116141561135a576113578261334e565b91505b6113638161334e565b9050611312565b5092915050565b6000546001600160a01b0316331461139b5760405162461bcd60e51b81526004016109fa90613224565b6113a56000612708565b565b3360009081526001602052604090205460ff166113d65760405162461bcd60e51b81526004016109fa90613369565b8281146114385760405162461bcd60e51b815260206004820152602a60248201527f4d7573742070726f7669646520657175616c206163636f756e747320616e64206044820152697175616e74697469657360b01b60648201526084016109fa565b60005b8381101561129c5782828281811061145557611455613338565b905060200201356014600087878581811061147257611472613338565b90506020020160208101906114879190612ce5565b6001600160a01b031681526020810191909152604001600020556114aa8161334e565b905061143b565b3360009081526001602052604090205460ff166114e05760405162461bcd60e51b81526004016109fa90613369565b60135460ff610100909104161515821515141580611507575060135460ff16151581151514155b6115235760405162461bcd60e51b81526004016109fa90613393565b6013805461ffff19166101009315159390930260ff191692909217901515179055565b3360009081526001602052604090205460ff166115755760405162461bcd60e51b81526004016109fa90613369565b60005b818110156116a6576115a183838381811061159557611595613338565b90506020020135612123565b6115ed5760405162461bcd60e51b815260206004820152601a60248201527f4275726e20666f72206e6f6e6578697374656e7420746f6b656e00000000000060448201526064016109fa565b836001600160a01b0316600684848481811061160b5761160b613338565b905060200201358154811061162257611622613338565b6000918252602090912001546001600160a01b0316146116755760405162461bcd60e51b815260206004820152600e60248201526d09eeedccae440dad2e6dac2e8c6d60931b60448201526064016109fa565b61169683838381811061168a5761168a613338565b90506020020135612758565b61169f8161334e565b9050611578565b50505050565b6000600e82815481106116c1576116c1613338565b6000918252602090912001546001600160a01b031692915050565b60606003805461094c906131e9565b60135460ff166117325760405162461bcd60e51b815260206004820152601260248201527153616c65206973206e6f742061637469766560701b60448201526064016109fa565b600f548111156117745760405162461bcd60e51b815260206004820152600d60248201526c4f7264657220746f6f2062696760981b60448201526064016109fa565b80601154611782919061329e565b3410156117cd5760405162461bcd60e51b8152602060048201526019602482015278115d1a195c881cd95b9d081a5cc81b9bdd0818dbdc9c9958dd603a1b60448201526064016109fa565b60006117d7610bc4565b6010549091506117e7838361326f565b11156118055760405162461bcd60e51b81526004016109fa906133c2565b60005b82811015610bbf57611825338361181e8161334e565b94506127d8565b61182e8161334e565b9050611808565b6001600160a01b03821633141561188e5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016109fa565b3360008181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b60005b8381101561196f5761195f878787878581811061191c5761191c613338565b9050602002013586868080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061197892505050565b6119688161334e565b90506118fd565b50505050505050565b61198233836124da565b61199e5760405162461bcd60e51b81526004016109fa906132e7565b6116a684848484612842565b3360009081526001602052604090205460ff166119d95760405162461bcd60e51b81526004016109fa90613369565b828114611a3b5760405162461bcd60e51b815260206004820152602a60248201527f4d7573742070726f7669646520657175616c20746f6b656e49647320616e6420604482015269726563697069656e747360b01b60648201526084016109fa565b6000806000805b86811015611bef57858582818110611a5c57611a5c613338565b9050602002016020810190611a719190612ce5565b93506000868683818110611a8757611a87613338565b9050602002016020810190611a9c9190612ce5565b6001600160a01b03161415611af35760405162461bcd60e51b815260206004820152601d60248201527f72657375727265637420746f20746865207a65726f206164647265737300000060448201526064016109fa565b878782818110611b0557611b05613338565b905060200201359250611b1783612123565b15611b645760405162461bcd60e51b815260206004820152601e60248201527f63616e277420726573757272656374206578697374696e6720746f6b656e000060448201526064016109fa565b8360068481548110611b7857611b78613338565b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b03160217905550611bb0828461216d565b82846001600160a01b0316836001600160a01b031660008051602061358783398151915260405160405180910390a4611be88161334e565b9050611a42565b5050505050505050565b6060611c0482612123565b611c505760405162461bcd60e51b815260206004820152601b60248201527f517565727920666f72206e6f6e6578697374656e7420746f6b656e000000000060448201526064016109fa565b6015611c5b83612875565b6016604051602001611c6f93929190613493565b6040516020818303038152906040529050919050565b6000546001600160a01b03163314611caf5760405162461bcd60e51b81526004016109fa90613224565b610bbf838383612973565b601354610100900460ff16611d095760405162461bcd60e51b815260206004820152601560248201527450726573616c65206973206e6f742061637469766560581b60448201526064016109fa565b600f54811115611d4b5760405162461bcd60e51b815260206004820152600d60248201526c4f7264657220746f6f2062696760981b60448201526064016109fa565b80601254611d59919061329e565b341015611da45760405162461bcd60e51b8152602060048201526019602482015278115d1a195c881cd95b9d081a5cc81b9bdd0818dbdc9c9958dd603a1b60448201526064016109fa565b33600090815260146020526040902054611df15760405162461bcd60e51b815260206004820152600e60248201526d139bdd08185d5d1a1bdc9a5e995960921b60448201526064016109fa565b6000611dfb610bc4565b601054909150611e0b838361326f565b1115611e295760405162461bcd60e51b81526004016109fa906133c2565b3360009081526014602052604081208054849290611e48908490613287565b90915550600090505b82811015610bbf57611e67338361181e8161334e565b611e708161334e565b9050611e51565b3360009081526001602052604090205460ff16611ea65760405162461bcd60e51b81526004016109fa90613369565b828114611f0a5760405162461bcd60e51b815260206004820152602c60248201527f4d7573742070726f7669646520657175616c207175616e74697469657320616e60448201526b6420726563697069656e747360a01b60648201526084016109fa565b600080611f15610bc4565b905060005b85811015611f5857868682818110611f3457611f34613338565b9050602002013583611f46919061326f565b9250611f518161334e565b9050611f1a565b50601054611f66838361326f565b1115611f845760405162461bcd60e51b81526004016109fa906133c2565b60005b8381101561196f5760005b878783818110611fa457611fa4613338565b90506020020135811015611ffd57611fed868684818110611fc757611fc7613338565b9050602002016020810190611fdc9190612ce5565b84611fe68161334e565b95506127d8565b611ff68161334e565b9050611f92565b506120078161334e565b9050611f87565b6000546001600160a01b031633146120385760405162461bcd60e51b81526004016109fa90613224565b6001600160a01b0381166000908152600160208190526040909120805460ff1916909117905561206781612a0c565b50565b3360009081526001602052604090205460ff166120995760405162461bcd60e51b81526004016109fa90613369565b816012541415806120ac57508060115414155b6120c85760405162461bcd60e51b81526004016109fa90613393565b601291909155601155565b60006001600160e01b031982166380ac58cd60e01b148061210457506001600160e01b03198216635b5e139f60e01b145b8061093757506301ffc9a760e01b6001600160e01b0319831614610937565b60065460009082108015610937575060006001600160a01b03166006838154811061215057612150613338565b6000918252602090912001546001600160a01b0316141592915050565b600081815260076020526040902080546001600160a01b0319166001600160a01b03841690811790915581906121a2826111c8565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6001600160a01b0382166122465760405162461bcd60e51b815260206004820152602c60248201527f5061796d656e7453706c69747465723a206163636f756e74206973207468652060448201526b7a65726f206164647265737360a01b60648201526084016109fa565b600081116122965760405162461bcd60e51b815260206004820152601d60248201527f5061796d656e7453706c69747465723a2073686172657320617265203000000060448201526064016109fa565b6001600160a01b0382166000908152600c6020526040902054156123105760405162461bcd60e51b815260206004820152602b60248201527f5061796d656e7453706c69747465723a206163636f756e7420616c726561647960448201526a206861732073686172657360a81b60648201526084016109fa565b600e8054600181019091557fbb7b4a454dc3493923482f07822329ed19e8244eff582cc204f8554c3620c3fd0180546001600160a01b0319166001600160a01b0384169081179091556000908152600c60205260409020819055600a5461237890829061326f565b600a55604080516001600160a01b0384168152602081018390527f40c340f65e17194d14ddddb073d3c9f888e3cb52b5aae0c6c7706b4fbc905fac910160405180910390a15050565b804710156124115760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e636500000060448201526064016109fa565b6000826001600160a01b03168260405160006040518083038185875af1925050503d806000811461245e576040519150601f19603f3d011682016040523d82523d6000602084013e612463565b606091505b5050905080610bbf5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d6179206861766520726576657274656400000000000060648201526084016109fa565b60006124e582612123565b6125465760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016109fa565b6000612551836111c8565b9050806001600160a01b0316846001600160a01b0316148061258c5750836001600160a01b031661258184610a26565b6001600160a01b0316145b806125bc57506001600160a01b0380821660009081526008602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b03166125d7826111c8565b6001600160a01b03161461263f5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b60648201526084016109fa565b6001600160a01b0382166126a15760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016109fa565b6126ac60008261216d565b81600682815481106126c0576126c0613338565b6000918252602082200180546001600160a01b0319166001600160a01b03938416179055604051839285811692908716916000805160206135878339815191529190a4505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000612763826111c8565b905061278061277a6000546001600160a01b031690565b8361216d565b60006006838154811061279557612795613338565b6000918252602082200180546001600160a01b0319166001600160a01b039384161790556040518492841690600080516020613587833981519152908390a45050565b6006805460018101825560009182527ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f0180546001600160a01b0319166001600160a01b038516908117909155604051839290600080516020613587833981519152908290a45050565b61284d8484846125c4565b61285984848484612aa4565b6116a65760405162461bcd60e51b81526004016109fa906134c6565b6060816128995750506040805180820190915260018152600360fc1b602082015290565b8160005b81156128c357806128ad8161334e565b91506128bc9050600a836132d3565b915061289d565b60008167ffffffffffffffff8111156128de576128de613093565b6040519080825280601f01601f191660200182016040528015612908576020820181803683370190505b5090505b84156125bc5761291d600183613287565b915061292a600a86613518565b61293590603061326f565b60f81b81838151811061294a5761294a613338565b60200101906001600160f81b031916908160001a90535061296c600a866132d3565b945061290c565b6001600160a01b0382166000908152600c6020526040902054600a54829161299a91613287565b6129a4919061326f565b600a556001600160a01b0382166000908152600c60205260409020819055600e8054839190859081106129d9576129d9613338565b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b03160217905550505050565b6000546001600160a01b03163314612a365760405162461bcd60e51b81526004016109fa90613224565b6001600160a01b038116612a9b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016109fa565b61206781612708565b60006001600160a01b0384163b15612b9757604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612ae890339089908890889060040161352c565b6020604051808303816000875af1925050508015612b23575060408051601f3d908101601f19168201909252612b2091810190613569565b60015b612b7d573d808015612b51576040519150601f19603f3d011682016040523d82523d6000602084013e612b56565b606091505b508051612b755760405162461bcd60e51b81526004016109fa906134c6565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506125bc565b506001949350505050565b828054612bae906131e9565b90600052602060002090601f016020900481019282612bd05760008555612c16565b82601f10612be95782800160ff19823516178555612c16565b82800160010185558215612c16579182015b82811115612c16578235825591602001919060010190612bfb565b506111c49291505b808211156111c45760008155600101612c1e565b6001600160e01b03198116811461206757600080fd5b600060208284031215612c5a57600080fd5b813561115081612c32565b60005b83811015612c80578181015183820152602001612c68565b838111156116a65750506000910152565b60008151808452612ca9816020860160208601612c65565b601f01601f19169290920160200192915050565b6020815260006111506020830184612c91565b6001600160a01b038116811461206757600080fd5b600060208284031215612cf757600080fd5b813561115081612cd0565b600060208284031215612d1457600080fd5b5035919050565b60008060408385031215612d2e57600080fd5b8235612d3981612cd0565b946020939093013593505050565b600080600060608486031215612d5c57600080fd5b8335612d6781612cd0565b92506020840135612d7781612cd0565b929592945050506040919091013590565b60008060408385031215612d9b57600080fd5b50508035926020909101359150565b6020808252825182820181905260009190848201906040850190845b81811015612de257835183529284019291840191600101612dc6565b50909695505050505050565b80358015158114610a2157600080fd5b60008060408385031215612e1157600080fd5b8235612e1c81612cd0565b9150612e2a60208401612dee565b90509250929050565b60008083601f840112612e4557600080fd5b50813567ffffffffffffffff811115612e5d57600080fd5b6020830191508360208260051b8501011115612e7857600080fd5b9250929050565b600080600060408486031215612e9457600080fd5b8335612e9f81612cd0565b9250602084013567ffffffffffffffff811115612ebb57600080fd5b612ec786828701612e33565b9497909650939450505050565b60008083601f840112612ee657600080fd5b50813567ffffffffffffffff811115612efe57600080fd5b602083019150836020828501011115612e7857600080fd5b60008060008060408587031215612f2c57600080fd5b843567ffffffffffffffff80821115612f4457600080fd5b612f5088838901612ed4565b90965094506020870135915080821115612f6957600080fd5b50612f7687828801612ed4565b95989497509550505050565b60008060008060408587031215612f9857600080fd5b843567ffffffffffffffff80821115612fb057600080fd5b612fbc88838901612e33565b90965094506020870135915080821115612fd557600080fd5b50612f7687828801612e33565b60008060408385031215612ff557600080fd5b612e1c83612dee565b6000806000806000806080878903121561301757600080fd5b863561302281612cd0565b9550602087013561303281612cd0565b9450604087013567ffffffffffffffff8082111561304f57600080fd5b61305b8a838b01612e33565b9096509450606089013591508082111561307457600080fd5b5061308189828a01612ed4565b979a9699509497509295939492505050565b634e487b7160e01b600052604160045260246000fd5b600080600080608085870312156130bf57600080fd5b84356130ca81612cd0565b935060208501356130da81612cd0565b925060408501359150606085013567ffffffffffffffff808211156130fe57600080fd5b818701915087601f83011261311257600080fd5b81358181111561312457613124613093565b604051601f8201601f19908116603f0116810190838211818310171561314c5761314c613093565b816040528281528a602084870101111561316557600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b60008060006060848603121561319e57600080fd5b833592506020840135612d7781612cd0565b600080604083850312156131c357600080fd5b82356131ce81612cd0565b915060208301356131de81612cd0565b809150509250929050565b600181811c908216806131fd57607f821691505b6020821081141561321e57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b6000821982111561328257613282613259565b500190565b60008282101561329957613299613259565b500390565b60008160001904831182151516156132b8576132b8613259565b500290565b634e487b7160e01b600052601260045260246000fd5b6000826132e2576132e26132bd565b500490565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b600060001982141561336257613362613259565b5060010190565b60208082526010908201526f496e76616c69642064656c656761746560801b604082015260600190565b60208082526015908201527413995dc81d985b1d59481b585d18da195cc81bdb19605a1b604082015260600190565b60208082526019908201527f4d696e742f6f72646572206578636565647320737570706c7900000000000000604082015260600190565b8054600090600181811c908083168061341357607f831692505b602080841082141561343557634e487b7160e01b600052602260045260246000fd5b818015613449576001811461345a57613487565b60ff19861689528489019650613487565b60008881526020902060005b8681101561347f5781548b820152908501908301613466565b505084890196505b50505050505092915050565b600061349f82866133f9565b84516134af818360208901612c65565b6134bb818301866133f9565b979650505050505050565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b600082613527576135276132bd565b500690565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061355f90830184612c91565b9695505050505050565b60006020828403121561357b57600080fd5b815161115081612c3256feddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa2646970667358221220735d6e1e1fbbbde569afa96775fe835c1a53ced61946786a71ecdef9bc79960f64736f6c634300080a0033

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

OVERVIEW

8th Wonders is the flagship PFP collection by renowned cubist artist 8th Project! We are sold out.

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]
[ 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.