ETH Price: $2,499.22 (+1.23%)

Contract

0x7F7CcC0204Af2361E5E356485Eb1410647f07f99
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Set Approval For...205561642024-08-18 14:38:5915 days ago1723991939IN
0x7F7CcC02...647f07f99
0 ETH0.000035311.44686218
Transfer From195187822024-03-26 13:02:23160 days ago1711458143IN
0x7F7CcC02...647f07f99
0 ETH0.0036777247.84466855
Transfer From195187792024-03-26 13:01:47160 days ago1711458107IN
0x7F7CcC02...647f07f99
0 ETH0.0029772738.73234045
Transfer From195187672024-03-26 12:59:23160 days ago1711457963IN
0x7F7CcC02...647f07f99
0 ETH0.0019916325.01736428
Transfer From195187282024-03-26 12:51:35160 days ago1711457495IN
0x7F7CcC02...647f07f99
0 ETH0.0018951324.65440214
Transfer From195186582024-03-26 12:37:23160 days ago1711456643IN
0x7F7CcC02...647f07f99
0 ETH0.0023005729.92893235
Transfer From195186482024-03-26 12:35:11160 days ago1711456511IN
0x7F7CcC02...647f07f99
0 ETH0.0025028128.71783017
Set Approval For...188025772023-12-17 1:47:11261 days ago1702777631IN
0x7F7CcC02...647f07f99
0 ETH0.000916237.44814614
Set Approval For...187677012023-12-12 4:23:47266 days ago1702355027IN
0x7F7CcC02...647f07f99
0 ETH0.0011298324.40564506
Set Approval For...184200022023-10-24 12:04:47314 days ago1698149087IN
0x7F7CcC02...647f07f99
0 ETH0.0011950525.76780713
Set Approval For...178037012023-07-30 5:15:23401 days ago1690694123IN
0x7F7CcC02...647f07f99
0 ETH0.0008227917.77326079
Safe Transfer Fr...175019792023-06-17 20:42:23443 days ago1687034543IN
0x7F7CcC02...647f07f99
0 ETH0.0010258614.51078709
Safe Transfer Fr...175019512023-06-17 20:36:47443 days ago1687034207IN
0x7F7CcC02...647f07f99
0 ETH0.0013831514.54253741
Set Approval For...174895592023-06-16 2:53:35445 days ago1686884015IN
0x7F7CcC02...647f07f99
0 ETH0.000703315.19219179
Set Approval For...170107422023-04-09 12:28:11512 days ago1681043291IN
0x7F7CcC02...647f07f99
0 ETH0.0004582518.79483749
Set Approval For...169699672023-04-03 17:27:23518 days ago1680542843IN
0x7F7CcC02...647f07f99
0 ETH0.0012474226.94571505
Set Approval For...166695252023-02-20 11:41:59560 days ago1676893319IN
0x7F7CcC02...647f07f99
0 ETH0.0011631325.07938139
Set Approval For...166695212023-02-20 11:41:11560 days ago1676893271IN
0x7F7CcC02...647f07f99
0 ETH0.0010318822.28982718
Set Approval For...165069862023-01-28 18:03:59583 days ago1674929039IN
0x7F7CcC02...647f07f99
0 ETH0.0013532329.2161473
Set Approval For...164955342023-01-27 3:40:59585 days ago1674790859IN
0x7F7CcC02...647f07f99
0 ETH0.0007517830.72754968
Set Approval For...164568902023-01-21 18:12:23590 days ago1674324743IN
0x7F7CcC02...647f07f99
0 ETH0.0007574716.36234085
Set Approval For...164568092023-01-21 17:56:11590 days ago1674323771IN
0x7F7CcC02...647f07f99
0 ETH0.0009637820.8187175
Set Approval For...163089132023-01-01 2:25:35611 days ago1672539935IN
0x7F7CcC02...647f07f99
0 ETH0.0007170915.48992668
Set Approval For...163082532023-01-01 0:12:47611 days ago1672531967IN
0x7F7CcC02...647f07f99
0 ETH0.0003891914.70533882
Set Approval For...163082522023-01-01 0:12:35611 days ago1672531955IN
0x7F7CcC02...647f07f99
0 ETH0.0004019915.18922244
View all transactions

Latest 4 internal transactions

Advanced mode:
Parent Transaction Hash Block From To
143856302022-03-14 15:49:26903 days ago1647272966
0x7F7CcC02...647f07f99
33.28 ETH
142642982022-02-23 19:47:09922 days ago1645645629
0x7F7CcC02...647f07f99
1.722 ETH
142597362022-02-23 2:42:29923 days ago1645584149
0x7F7CcC02...647f07f99
4.16 ETH
140958272022-01-28 18:35:52948 days ago1643394952
0x7F7CcC02...647f07f99
2.438 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
FLSxCatharsis

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 18 : FLSxCatharsis.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

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

import './Blimpie/ERC721EnumerableB.sol';
import './Blimpie/Delegated.sol';
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/finance/PaymentSplitter.sol";

contract FLSxCatharsis is ERC721EnumerableB, Delegated, PaymentSplitter {
    using Strings for uint;
 
    uint public MAX_SUPPLY  = 888;
    uint public MAX_ORDER  = 40;
    uint[] private PRICES = [0.07 ether, 0.08 ether, 0.07 ether, 0.08 ether];

    bool public _paused = false;
        
    string private _baseTokenURI = 'https://gateway.pinata.cloud/ipfs/QmPb7UJzvwPiDPh3V9ZqQKnV4i4wDNiQsLhcfGBBSqyQLk/';
    string private _tokenURISuffix = '.json';

    mapping(uint => uint) private tokenTypeMap;
    
    address withdraw1 = 0x172c418b3bDA2Ad1226287376051f5749567d568;
    address withdraw2 = 0xB7edf3Cbb58ecb74BdE6298294c7AAb339F3cE4a;
    address withdraw3 = 0xE75cF2B04B21262d64A262DB4FE650b0bc85D17E;

    address[] addressList = [withdraw1, withdraw2, withdraw3];
    uint[] shareList = [80, 10, 10];

    constructor() 
        ERC721B( "Fame Lady Squad X Catharsis", "FLSxC", 0 )
        PaymentSplitter(addressList, shareList) {
    }

    //external
    function burn(uint256 tokenId) external {
        require(_msgSender() == ownerOf(tokenId), "Only token owner allowed to burn");
        _burn(tokenId);
    }

    fallback() external payable {}

    //onlyDelegates
    function setBaseURI(string calldata _newBaseURI, string calldata _newSuffix) external onlyDelegates {
        _baseTokenURI = _newBaseURI;
        _tokenURISuffix = _newSuffix;
    }

    function togglePaused () external onlyDelegates {
        _paused = !_paused;
    }

    function setPrices ( uint[] calldata _newPrices ) external onlyDelegates {
        require( _newPrices.length == 4, "Invalid input array");
        PRICES = _newPrices;
    }

    function setMaxSupply ( uint _newSupply ) external onlyDelegates { 
        require( _newSupply < totalSupply (), "New Supply less than existing supply" );
        MAX_SUPPLY = _newSupply;
    }

    function setMaxOrder ( uint _newMaxOrder ) external onlyDelegates { 
        MAX_ORDER = _newMaxOrder;
    }

    function mint( uint[] calldata quantity ) external payable {
        require( quantity.length == 4, "Invalid input array" );
        require( !_paused, "Sale is currently paused");
        
        uint cost = 0;
        uint quantitySent = 0;
        for ( uint i = 0; i < PRICES.length; i++ ){
            cost += PRICES[i] * quantity[i];
            quantitySent += quantity[i];
        }

        require( msg.value >= cost, "Ether sent is not correct" );
        require( quantitySent <= MAX_ORDER,         "Order exceeds max order size" );
        uint supply = totalSupply();
        require( supply + quantitySent <= MAX_SUPPLY, "Mint/order exceeds supply" );
        
        // Cycle through token types, then # per token
        for ( uint i = 0; i < quantity.length; i++ ) {
            for (uint j; j < quantity[i]; j++){
                tokenTypeMap[supply] = i;
                _safeMint( msg.sender, supply++ );
            }
        }
    }

    function airdrop( address recipient, uint[] calldata quantity ) public onlyDelegates {
        require( quantity.length == 4, "Invalid input array" );

        uint quantitySent = 0;
        for ( uint i = 0; i < quantity.length; i++ ){
            quantitySent += quantity[i];
        }
        uint supply = totalSupply();
        require( supply + quantitySent <= MAX_SUPPLY, "Mint/order exceeds supply" );
        
        // Cycle through token types, then # per token
        for ( uint i = 0; i < quantity.length; i++ ) {
            for (uint j; j < quantity[i]; j++){
                tokenTypeMap[supply] = i;
                _safeMint( recipient, supply++ );
            }
        }
    }

    function tokenURI(uint tokenId) external view virtual override returns (string memory) {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");
        return string(abi.encodePacked(_baseTokenURI, tokenTypeMap[tokenId].toString(), _tokenURISuffix));
    }

    function getTokensByOwner(address owner) external view returns(uint256[] memory) {
        return _walletOfOwner(owner);
    }

    function _walletOfOwner(address owner) private view returns(uint256[] memory) {
        uint256 balance = balanceOf(owner);
        uint256[] memory tokenIds = new uint256[] (balance);
        for(uint256 i; i < balance; i++){
            tokenIds[i] = tokenOfOwnerByIndex(owner, i);
        }
        return tokenIds;
    }
}

File 2 of 18 : ERC721EnumerableB.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 "./ERC721B.sol";
import "./IERC721Batch.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol";

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

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

    function isOwnerOf( address account, uint[] calldata tokenIds ) public view 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 virtual override returns (uint tokenId) {
        require(index < balanceOf(owner), "ERC721Enumerable: owner index out of bounds");
        return _balances[owner][index];
    }

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

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

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

    function walletOfOwner( address account ) public view override returns( uint[] memory ){
        return _balances[ account ];
    }


    //internal
    function _beforeTokenTransfer(address from, address to, uint tokenId) internal override virtual {
        address zero = address(0);
        if( from != zero ){
            //find this token and remove it
            uint length = _balances[from].length;
            for( uint i; i < length; ++i ){
                if( _balances[from][i] == tokenId ){
                    _balances[from][i] = _balances[from][length - 1];
                    _balances[from].pop();
                    break;
                }
            }
        }

        if( to != zero )
            _balances[to].push( tokenId );
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

File 5 of 18 : PaymentSplitter.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (finance/PaymentSplitter.sol)

pragma solidity ^0.8.0;

import "../token/ERC20/utils/SafeERC20.sol";
import "../utils/Address.sol";
import "../utils/Context.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.
 *
 * NOTE: This contract assumes that ERC20 tokens will behave similarly to native tokens (Ether). Rebasing tokens, and
 * tokens that apply fees during transfers, are likely to not be supported as expected. If in doubt, we encourage you
 * to run tests before sending real value to this contract.
 */
contract PaymentSplitter is Context {
    event PayeeAdded(address account, uint256 shares);
    event PaymentReleased(address to, uint256 amount);
    event ERC20PaymentReleased(IERC20 indexed token, 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;

    mapping(IERC20 => uint256) private _erc20TotalReleased;
    mapping(IERC20 => mapping(address => uint256)) private _erc20Released;

    /**
     * @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 virtual {
        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 total amount of `token` already released. `token` should be the address of an IERC20
     * contract.
     */
    function totalReleased(IERC20 token) public view returns (uint256) {
        return _erc20TotalReleased[token];
    }

    /**
     * @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 amount of `token` tokens already released to a payee. `token` should be the address of an
     * IERC20 contract.
     */
    function released(IERC20 token, address account) public view returns (uint256) {
        return _erc20Released[token][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 = _pendingPayment(account, totalReceived, released(account));

        require(payment != 0, "PaymentSplitter: account is not due payment");

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

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

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

        uint256 totalReceived = token.balanceOf(address(this)) + totalReleased(token);
        uint256 payment = _pendingPayment(account, totalReceived, released(token, account));

        require(payment != 0, "PaymentSplitter: account is not due payment");

        _erc20Released[token][account] += payment;
        _erc20TotalReleased[token] += payment;

        SafeERC20.safeTransfer(token, account, payment);
        emit ERC20PaymentReleased(token, account, payment);
    }

    /**
     * @dev internal logic for computing the pending payment of an `account` given the token historical balances and
     * already released amounts.
     */
    function _pendingPayment(
        address account,
        uint256 totalReceived,
        uint256 alreadyReleased
    ) private view returns (uint256) {
        return (totalReceived * _shares[account]) / _totalShares - alreadyReleased;
    }

    /**
     * @dev Add a new payee to the contract.
     * @param account The address of the payee to add.
     * @param shares_ The number of shares owned by the payee.
     */
    function _addPayee(address account, uint256 shares_) private {
        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_);
    }
}

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

    /**
     * @dev Returns a token ID owned by `owner` at a given `index` of its token list.
     * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 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 9 of 18 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 12 of 18 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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 18 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

File 17 of 18 : SafeERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/utils/SafeERC20.sol)

pragma solidity ^0.8.0;

import "../IERC20.sol";
import "../../../utils/Address.sol";

/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    using Address for address;

    function safeTransfer(
        IERC20 token,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    function safeTransferFrom(
        IERC20 token,
        address from,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

    /**
     * @dev Deprecated. This function has issues similar to the ones found in
     * {IERC20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    function safeApprove(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        require(
            (value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    function safeIncreaseAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        uint256 newAllowance = token.allowance(address(this), spender) + value;
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    function safeDecreaseAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        unchecked {
            uint256 oldAllowance = token.allowance(address(this), spender);
            require(oldAllowance >= value, "SafeERC20: decreased allowance below zero");
            uint256 newAllowance = oldAllowance - value;
            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
        }
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that
        // the target address contains contract code and also asserts for success in the low-level call.

        bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
        if (returndata.length > 0) {
            // Return data is optional
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}

File 18 of 18 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `sender` to `recipient` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) external returns (bool);

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"contract IERC20","name":"token","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"ERC20PaymentReleased","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":"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":"_paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256[]","name":"quantity","type":"uint256[]"}],"name":"airdrop","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":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"getTokensByOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"isDelegate","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"isOwnerOf","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"quantity","type":"uint256[]"}],"name":"mint","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":"address payable","name":"account","type":"address"}],"name":"release","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"account","type":"address"}],"name":"release","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"account","type":"address"}],"name":"released","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"released","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","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":"_newMaxOrder","type":"uint256"}],"name":"setMaxOrder","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newSupply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_newPrices","type":"uint256[]"}],"name":"setPrices","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":[],"name":"togglePaused","outputs":[],"stateMutability":"nonpayable","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":[{"internalType":"contract IERC20","name":"token","type":"address"}],"name":"totalReleased","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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"}]

610378601155602860125561010060405266f8b0a10e470000608081815267011c37937e08000060a081905260c09290925260e09190915262000047906013906004620005ee565b506014805460ff1916905560408051608081019091526051808252620040e860208301398051620000819160159160209091019062000649565b5060408051808201909152600580825264173539b7b760d91b6020909201918252620000b09160169162000649565b50601880546001600160a01b031990811673172c418b3bda2ad1226287376051f5749567d568179182905560198054821673b7edf3cbb58ecb74bde6298294c7aab339f3ce4a1790819055601a805490921673e75cf2b04b21262d64a262db4fe650b0bc85d17e1791829055604080516060810182526001600160a01b039485168152918416602083015291909216908201526200015390601b906003620006c6565b506040805160608101825260508152600a60208201819052918101919091526200018290601c9060036200071e565b503480156200019057600080fd5b50601b805480602002602001604051908101604052809291908181526020018280548015620001e957602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311620001ca575b5050505050601c8054806020026020016040519081016040528092919081815260200182805480156200023c57602002820191906000526020600020905b81548152602001906001019080831162000227575b5050604080518082018252601b81527f46616d65204c6164792053717561642058204361746861727369730000000000602080830191825283518085019094526005845264464c53784360d81b90840152815191955091935060009250620002a691839162000649565b508151620002bc90600190602085019062000649565b50600381905560005b6003548110156200032357600480546001810182556000919091527f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b0180546001600160a01b03191690556200031b8162000940565b9050620002c5565b50505050620003416200033b6200045760201b60201c565b6200045b565b60016009600062000351620004ad565b6001600160a01b031681526020810191909152604001600020805460ff19169115159190911790558051825114620003a65760405162461bcd60e51b81526004016200039d90620007dd565b60405180910390fd5b6000825111620003ca5760405162461bcd60e51b81526004016200039d906200087a565b60005b82518110156200044e5762000439838281518110620003fc57634e487b7160e01b600052603260045260246000fd5b60200260200101518383815181106200042557634e487b7160e01b600052603260045260246000fd5b6020026020010151620004bc60201b60201c565b80620004458162000940565b915050620003cd565b50505062000974565b3390565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6008546001600160a01b031690565b6001600160a01b038216620004e55760405162461bcd60e51b81526004016200039d9062000791565b60008111620005085760405162461bcd60e51b81526004016200039d90620008b1565b6001600160a01b0382166000908152600c602052604090205415620005415760405162461bcd60e51b81526004016200039d906200082f565b600e8054600181019091557fbb7b4a454dc3493923482f07822329ed19e8244eff582cc204f8554c3620c3fd0180546001600160a01b0319166001600160a01b0384169081179091556000908152600c60205260409020819055600a54620005ab908290620008e8565b600a556040517f40c340f65e17194d14ddddb073d3c9f888e3cb52b5aae0c6c7706b4fbc905fac90620005e2908490849062000778565b60405180910390a15050565b82805482825590600052602060002090810192821562000637579160200282015b828111156200063757825182906001600160401b03169055916020019190600101906200060f565b506200064592915062000761565b5090565b828054620006579062000903565b90600052602060002090601f0160209004810192826200067b576000855562000637565b82601f106200069657805160ff191683800117855562000637565b8280016001018555821562000637579182015b8281111562000637578251825591602001919060010190620006a9565b82805482825590600052602060002090810192821562000637579160200282015b828111156200063757825182546001600160a01b0319166001600160a01b03909116178255602090920191600190910190620006e7565b82805482825590600052602060002090810192821562000637579160200282015b8281111562000637578251829060ff169055916020019190600101906200073f565b5b8082111562000645576000815560010162000762565b6001600160a01b03929092168252602082015260400190565b6020808252602c908201527f5061796d656e7453706c69747465723a206163636f756e74206973207468652060408201526b7a65726f206164647265737360a01b606082015260800190565b60208082526032908201527f5061796d656e7453706c69747465723a2070617965657320616e6420736861726040820152710cae640d8cadccee8d040dad2e6dac2e8c6d60731b606082015260800190565b6020808252602b908201527f5061796d656e7453706c69747465723a206163636f756e7420616c726561647960408201526a206861732073686172657360a81b606082015260800190565b6020808252601a908201527f5061796d656e7453706c69747465723a206e6f20706179656573000000000000604082015260600190565b6020808252601d908201527f5061796d656e7453706c69747465723a20736861726573206172652030000000604082015260600190565b60008219821115620008fe57620008fe6200095e565b500190565b6002810460018216806200091857607f821691505b602082108114156200093a57634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156200095757620009576200095e565b5060010190565b634e487b7160e01b600052601160045260246000fd5b61376480620009846000396000f3fe6080604052600436106102765760003560e01c806350c5a00c1161014f5780639852595c116100c1578063d79779b21161007a578063d79779b21461077b578063dde3d3131461079b578063e33b7de3146107bb578063e985e9c5146107d0578063f2fde38b146107f0578063f8e93ef914610810576102bd565b80639852595c146106bb578063a22cb465146106db578063b534a5c4146106fb578063b88d4fde1461071b578063c87b56dd1461073b578063ce7c2ac21461075b576102bd565b8063715018a611610113578063715018a61461061c57806379cf92d31461063157806385bc4d83146106515780638b83209b146106715780638da5cb5b1461069157806395d89b41146106a6576102bd565b806350c5a00c146105875780636352211e1461059c5780636790a9de146105bc5780636f8b44b0146105dc57806370a08231146105fc576102bd565b806336566f06116101e857806342966c68116101ac57806342966c68146104c7578063438b6300146104e757806348b75044146105075780634a994eef146105275780634d44660c146105475780634f6ccce714610567576102bd565b806336566f06146104305780633a98ef391461044557806340398d671461045a578063406072a91461048757806342842e0e146104a7576102bd565b806316c61ccc1161023a57806316c61ccc1461038457806318160ddd1461039957806319165587146103bb57806323b872dd146103db5780632f745c59146103fb57806332cb6b0c1461041b576102bd565b806301ffc9a7146102bf57806306fdde03146102f55780630777962714610317578063081812fc14610337578063095ea7b314610364576102bd565b366102bd577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be7706102a4610823565b346040516102b3929190612c59565b60405180910390a1005b005b3480156102cb57600080fd5b506102df6102da366004612a57565b610827565b6040516102ec9190612cf3565b60405180910390f35b34801561030157600080fd5b5061030a610854565b6040516102ec9190612cfe565b34801561032357600080fd5b506102df61033236600461275a565b6108e6565b34801561034357600080fd5b50610357610352366004612b0a565b61094f565b6040516102ec9190612c45565b34801561037057600080fd5b506102bd61037f3660046129d0565b610992565b34801561039057600080fd5b506102df610a2a565b3480156103a557600080fd5b506103ae610a33565b6040516102ec91906135a6565b3480156103c757600080fd5b506102bd6103d636600461275a565b610a4a565b3480156103e757600080fd5b506102bd6103f6366004612840565b610b58565b34801561040757600080fd5b506103ae6104163660046129d0565b610b90565b34801561042757600080fd5b506103ae610c04565b34801561043c57600080fd5b506102bd610c0a565b34801561045157600080fd5b506103ae610c4d565b34801561046657600080fd5b5061047a61047536600461275a565b610c53565b6040516102ec9190612caf565b34801561049357600080fd5b506103ae6104a2366004612a8f565b610c5e565b3480156104b357600080fd5b506102bd6104c2366004612840565b610c89565b3480156104d357600080fd5b506102bd6104e2366004612b0a565b610ca4565b3480156104f357600080fd5b5061047a61050236600461275a565b610cf0565b34801561051357600080fd5b506102bd610522366004612a8f565b610d5c565b34801561053357600080fd5b506102bd6105423660046129a3565b610f12565b34801561055357600080fd5b506102df610562366004612950565b610f7c565b34801561057357600080fd5b506103ae610582366004612b0a565b61101a565b34801561059357600080fd5b506103ae61104f565b3480156105a857600080fd5b506103576105b7366004612b0a565b611055565b3480156105c857600080fd5b506102bd6105d7366004612aa1565b6110ad565b3480156105e857600080fd5b506102bd6105f7366004612b0a565b6110fc565b34801561060857600080fd5b506103ae61061736600461275a565b611156565b34801561062857600080fd5b506102bd61119a565b34801561063d57600080fd5b506102bd61064c3660046129fb565b6111e5565b34801561065d57600080fd5b506102bd61066c366004612950565b611240565b34801561067d57600080fd5b5061035761068c366004612b0a565b6113a9565b34801561069d57600080fd5b506103576113e7565b3480156106b257600080fd5b5061030a6113f6565b3480156106c757600080fd5b506103ae6106d636600461275a565b611405565b3480156106e757600080fd5b506102bd6106f63660046129a3565b611420565b34801561070757600080fd5b506102bd6107163660046127ae565b6114ee565b34801561072757600080fd5b506102bd610736366004612880565b61157a565b34801561074757600080fd5b5061030a610756366004612b0a565b6115b9565b34801561076757600080fd5b506103ae61077636600461275a565b611625565b34801561078757600080fd5b506103ae61079636600461275a565b611640565b3480156107a757600080fd5b506102bd6107b6366004612b0a565b61165b565b3480156107c757600080fd5b506103ae61168f565b3480156107dc57600080fd5b506102df6107eb366004612776565b611695565b3480156107fc57600080fd5b506102bd61080b36600461275a565b6116c3565b6102bd61081e3660046129fb565b61172e565b3390565b60006001600160e01b0319821663780e9d6360e01b148061084c575061084c8261192b565b90505b919050565b60606000805461086390613649565b80601f016020809104026020016040519081016040528092919081815260200182805461088f90613649565b80156108dc5780601f106108b1576101008083540402835291602001916108dc565b820191906000526020600020905b8154815290600101906020018083116108bf57829003601f168201915b5050505050905090565b60006108f0610823565b6001600160a01b03166109016113e7565b6001600160a01b0316146109305760405162461bcd60e51b8152600401610927906132c8565b60405180910390fd5b506001600160a01b031660009081526009602052604090205460ff1690565b600061095a8261196b565b6109765760405162461bcd60e51b81526004016109279061327c565b506000908152600560205260409020546001600160a01b031690565b600061099d82611055565b9050806001600160a01b0316836001600160a01b031614156109d15760405162461bcd60e51b815260040161092790613395565b806001600160a01b03166109e3610823565b6001600160a01b031614806109ff57506109ff816107eb610823565b610a1b5760405162461bcd60e51b815260040161092790613157565b610a2583836119c3565b505050565b60145460ff1681565b600354600454600091610a4591613606565b905090565b6001600160a01b0381166000908152600c6020526040902054610a7f5760405162461bcd60e51b815260040161092790612e55565b6000610a8961168f565b610a9390476135bb565b90506000610aaa8383610aa586611405565b611a31565b905080610ac95760405162461bcd60e51b815260040161092790613069565b6001600160a01b0383166000908152600d602052604081208054839290610af19084906135bb565b9250508190555080600b6000828254610b0a91906135bb565b90915550610b1a90508382611a77565b7fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b0568382604051610b4b929190612c59565b60405180910390a1505050565b610b69610b63610823565b82611b13565b610b855760405162461bcd60e51b81526004016109279061340d565b610a25838383611b90565b6000610b9b83611156565b8210610bb95760405162461bcd60e51b815260040161092790612d3b565b6001600160a01b0383166000908152600760205260409020805483908110610bf157634e487b7160e01b600052603260045260246000fd5b9060005260206000200154905092915050565b60115481565b3360009081526009602052604090205460ff16610c395760405162461bcd60e51b815260040161092790612d11565b6014805460ff19811660ff90911615179055565b600a5490565b606061084c82611c81565b6001600160a01b03918216600090815260106020908152604080832093909416825291909152205490565b610a258383836040518060200160405280600081525061157a565b610cad81611055565b6001600160a01b0316610cbe610823565b6001600160a01b031614610ce45760405162461bcd60e51b8152600401610927906130eb565b610ced81611d3f565b50565b6001600160a01b038116600090815260076020908152604091829020805483518184028101840190945280845260609392830182828015610d5057602002820191906000526020600020905b815481526020019060010190808311610d3c575b50505050509050919050565b6001600160a01b0381166000908152600c6020526040902054610d915760405162461bcd60e51b815260040161092790612e55565b6000610d9c83611640565b6040516370a0823160e01b81526001600160a01b038516906370a0823190610dc8903090600401612c45565b60206040518083038186803b158015610de057600080fd5b505afa158015610df4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e189190612b22565b610e2291906135bb565b90506000610e358383610aa58787610c5e565b905080610e545760405162461bcd60e51b815260040161092790613069565b6001600160a01b03808516600090815260106020908152604080832093871683529290529081208054839290610e8b9084906135bb565b90915550506001600160a01b0384166000908152600f602052604081208054839290610eb89084906135bb565b90915550610ec99050848483611ddb565b836001600160a01b03167f3be5b7a71e84ed12875d241991c70855ac5817d847039e17a9d895c1ceb0f18a8483604051610f04929190612c59565b60405180910390a250505050565b610f1a610823565b6001600160a01b0316610f2b6113e7565b6001600160a01b031614610f515760405162461bcd60e51b8152600401610927906132c8565b6001600160a01b03919091166000908152600960205260409020805460ff1916911515919091179055565b6000805b8281101561100d57846001600160a01b03166004858584818110610fb457634e487b7160e01b600052603260045260246000fd5b9050602002013581548110610fd957634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b031614610ffd576000915050611013565b61100681613684565b9050610f80565b50600190505b9392505050565b6000611024610a33565b82106110425760405162461bcd60e51b815260040161092790613495565b60035461084c90836135bb565b60125481565b6000806004838154811061107957634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b031690508061084c5760405162461bcd60e51b8152600401610927906131fe565b3360009081526009602052604090205460ff166110dc5760405162461bcd60e51b815260040161092790612d11565b6110e8601585856125fe565b506110f5601683836125fe565b5050505050565b3360009081526009602052604090205460ff1661112b5760405162461bcd60e51b815260040161092790612d11565b611133610a33565b81106111515760405162461bcd60e51b8152600401610927906134e1565b601155565b60006001600160a01b03821661117e5760405162461bcd60e51b8152600401610927906131b4565b506001600160a01b031660009081526007602052604090205490565b6111a2610823565b6001600160a01b03166111b36113e7565b6001600160a01b0316146111d95760405162461bcd60e51b8152600401610927906132c8565b6111e36000611e31565b565b3360009081526009602052604090205460ff166112145760405162461bcd60e51b815260040161092790612d11565b600481146112345760405162461bcd60e51b815260040161092790612f16565b610a2560138383612682565b3360009081526009602052604090205460ff1661126f5760405162461bcd60e51b815260040161092790612d11565b6004811461128f5760405162461bcd60e51b815260040161092790612f16565b6000805b828110156112e1578383828181106112bb57634e487b7160e01b600052603260045260246000fd5b90506020020135826112cd91906135bb565b9150806112d981613684565b915050611293565b5060006112ec610a33565b6011549091506112fc83836135bb565b111561131a5760405162461bcd60e51b81526004016109279061356f565b60005b838110156113a15760005b85858381811061134857634e487b7160e01b600052603260045260246000fd5b9050602002013581101561138e57600083815260176020526040902082905561137c878461137581613684565b9550611e83565b8061138681613684565b915050611328565b508061139981613684565b91505061131d565b505050505050565b6000600e82815481106113cc57634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b031692915050565b6008546001600160a01b031690565b60606001805461086390613649565b6001600160a01b03166000908152600d602052604090205490565b611428610823565b6001600160a01b0316826001600160a01b031614156114595760405162461bcd60e51b815260040161092790612edf565b8060066000611466610823565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff1916921515929092179091556114aa610823565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516114e29190612cf3565b60405180910390a35050565b60005b8381101561157157611561878787878581811061151e57634e487b7160e01b600052603260045260246000fd5b9050602002013586868080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061157a92505050565b61156a81613684565b90506114f1565b50505050505050565b61158b611585610823565b83611b13565b6115a75760405162461bcd60e51b81526004016109279061340d565b6115b384848484611ea1565b50505050565b60606115c48261196b565b6115e05760405162461bcd60e51b815260040161092790613346565b6000828152601760205260409020546015906115fb90611ed4565b601660405160200161160f93929190612c1a565b6040516020818303038152906040529050919050565b6001600160a01b03166000908152600c602052604090205490565b6001600160a01b03166000908152600f602052604090205490565b3360009081526009602052604090205460ff1661168a5760405162461bcd60e51b815260040161092790612d11565b601255565b600b5490565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b6116cb610823565b6001600160a01b03166116dc6113e7565b6001600160a01b0316146117025760405162461bcd60e51b8152600401610927906132c8565b6001600160a01b0381166000908152600960205260409020805460ff19166001179055610ced81611fef565b6004811461174e5760405162461bcd60e51b815260040161092790612f16565b60145460ff16156117715760405162461bcd60e51b815260040161092790613120565b60008060005b601354811015611830578484828181106117a157634e487b7160e01b600052603260045260246000fd5b90506020020135601382815481106117c957634e487b7160e01b600052603260045260246000fd5b90600052602060002001546117de91906135e7565b6117e890846135bb565b925084848281811061180a57634e487b7160e01b600052603260045260246000fd5b905060200201358261181c91906135bb565b91508061182881613684565b915050611777565b50813410156118515760405162461bcd60e51b8152600401610927906133d6565b6012548111156118735760405162461bcd60e51b8152600401610927906130b4565b600061187d610a33565b60115490915061188d83836135bb565b11156118ab5760405162461bcd60e51b81526004016109279061356f565b60005b848110156113a15760005b8686838181106118d957634e487b7160e01b600052603260045260246000fd5b90506020020135811015611918576000838152601760205260409020829055611906338461137581613684565b8061191081613684565b9150506118b9565b508061192381613684565b9150506118ae565b60006001600160e01b031982166380ac58cd60e01b148061195c57506001600160e01b03198216635b5e139f60e01b145b8061084c575061084c8261205d565b6004546000908210801561084c575060006001600160a01b0316600483815481106119a657634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b0316141592915050565b600081815260056020526040902080546001600160a01b0319166001600160a01b03841690811790915581906119f882611055565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600a546001600160a01b0384166000908152600c602052604081205490918391611a5b90866135e7565b611a6591906135d3565b611a6f9190613606565b949350505050565b80471015611a975760405162461bcd60e51b815260040161092790612fa0565b6000826001600160a01b031682604051611ab090612c42565b60006040518083038185875af1925050503d8060008114611aed576040519150601f19603f3d011682016040523d82523d6000602084013e611af2565b606091505b5050905080610a255760405162461bcd60e51b815260040161092790612f43565b6000611b1e8261196b565b611b3a5760405162461bcd60e51b81526004016109279061301d565b6000611b4583611055565b9050806001600160a01b0316846001600160a01b03161480611b805750836001600160a01b0316611b758461094f565b6001600160a01b0316145b80611a6f5750611a6f8185611695565b826001600160a01b0316611ba382611055565b6001600160a01b031614611bc95760405162461bcd60e51b8152600401610927906132fd565b6001600160a01b038216611bef5760405162461bcd60e51b815260040161092790612e9b565b611bfa838383612076565b611c056000826119c3565b8160048281548110611c2757634e487b7160e01b600052603260045260246000fd5b6000918252602082200180546001600160a01b0319166001600160a01b03938416179055604051839285811692908716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9190a4505050565b60606000611c8e83611156565b905060008167ffffffffffffffff811115611cb957634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015611ce2578160200160208202803683370190505b50905060005b82811015611d3757611cfa8582610b90565b828281518110611d1a57634e487b7160e01b600052603260045260246000fd5b602090810291909101015280611d2f81613684565b915050611ce8565b509392505050565b6000611d4a82611055565b9050611d5881600084612076565b611d636000836119c3565b600060048381548110611d8657634e487b7160e01b600052603260045260246000fd5b6000918252602082200180546001600160a01b0319166001600160a01b0393841617905560405184928416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b610a258363a9059cbb60e01b8484604051602401611dfa929190612c59565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915261223f565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b611e9d8282604051806020016040528060008152506122ce565b5050565b611eac848484611b90565b611eb884848484612301565b6115b35760405162461bcd60e51b815260040161092790612d86565b606081611ef957506040805180820190915260018152600360fc1b602082015261084f565b8160005b8115611f235780611f0d81613684565b9150611f1c9050600a836135d3565b9150611efd565b60008167ffffffffffffffff811115611f4c57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611f76576020820181803683370190505b5090505b8415611a6f57611f8b600183613606565b9150611f98600a8661369f565b611fa39060306135bb565b60f81b818381518110611fc657634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350611fe8600a866135d3565b9450611f7a565b611ff7610823565b6001600160a01b03166120086113e7565b6001600160a01b03161461202e5760405162461bcd60e51b8152600401610927906132c8565b6001600160a01b0381166120545760405162461bcd60e51b815260040161092790612dd8565b610ced81611e31565b6001600160e01b031981166301ffc9a760e01b14919050565b60006001600160a01b038416156121f7576001600160a01b038416600090815260076020526040812054905b818110156121f4576001600160a01b03861660009081526007602052604090208054859190839081106120e557634e487b7160e01b600052603260045260246000fd5b906000526020600020015414156121e4576001600160a01b0386166000908152600760205260409020612119600184613606565b8154811061213757634e487b7160e01b600052603260045260246000fd5b906000526020600020015460076000886001600160a01b03166001600160a01b03168152602001908152602001600020828154811061218657634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101929092556001600160a01b03881681526007909152604090208054806121c957634e487b7160e01b600052603160045260246000fd5b600190038181906000526020600020016000905590556121f4565b6121ed81613684565b90506120a2565b50505b806001600160a01b0316836001600160a01b0316146115b357506001600160a01b03919091166000908152600760209081526040822080546001810182559083529120015550565b6000612294826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b031661241c9092919063ffffffff16565b805190915015610a2557808060200190518101906122b29190612a3b565b610a255760405162461bcd60e51b815260040161092790613525565b6122d8838361242b565b6122e56000848484612301565b610a255760405162461bcd60e51b815260040161092790612d86565b6000612315846001600160a01b03166124ff565b1561241157836001600160a01b031663150b7a02612331610823565b8786866040518563ffffffff1660e01b81526004016123539493929190612c72565b602060405180830381600087803b15801561236d57600080fd5b505af192505050801561239d575060408051601f3d908101601f1916820190925261239a91810190612a73565b60015b6123f7573d8080156123cb576040519150601f19603f3d011682016040523d82523d6000602084013e6123d0565b606091505b5080516123ef5760405162461bcd60e51b815260040161092790612d86565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611a6f565b506001949350505050565b6060611a6f8484600085612505565b6001600160a01b0382166124515760405162461bcd60e51b815260040161092790613247565b61245a8161196b565b156124775760405162461bcd60e51b815260040161092790612e1e565b61248360008383612076565b6004805460018101825560009182527f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b0180546001600160a01b0319166001600160a01b0385169081179091556040518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b3b151590565b6060824710156125275760405162461bcd60e51b815260040161092790612fd7565b612530856124ff565b61254c5760405162461bcd60e51b81526004016109279061345e565b600080866001600160a01b031685876040516125689190612bfe565b60006040518083038185875af1925050503d80600081146125a5576040519150601f19603f3d011682016040523d82523d6000602084013e6125aa565b606091505b50915091506125ba8282866125c5565b979650505050505050565b606083156125d4575081611013565b8251156125e45782518084602001fd5b8160405162461bcd60e51b81526004016109279190612cfe565b82805461260a90613649565b90600052602060002090601f01602090048101928261262c5760008555612672565b82601f106126455782800160ff19823516178555612672565b82800160010185558215612672579182015b82811115612672578235825591602001919060010190612657565b5061267e9291506126bc565b5090565b8280548282559060005260206000209081019282156126725791602002820182811115612672578235825591602001919060010190612657565b5b8082111561267e57600081556001016126bd565b60008083601f8401126126e2578081fd5b50813567ffffffffffffffff8111156126f9578182fd5b602083019150836020808302850101111561271357600080fd5b9250929050565b60008083601f84011261272b578182fd5b50813567ffffffffffffffff811115612742578182fd5b60208301915083602082850101111561271357600080fd5b60006020828403121561276b578081fd5b8135611013816136f5565b60008060408385031215612788578081fd5b8235612793816136f5565b915060208301356127a3816136f5565b809150509250929050565b600080600080600080608087890312156127c6578182fd5b86356127d1816136f5565b955060208701356127e1816136f5565b9450604087013567ffffffffffffffff808211156127fd578384fd5b6128098a838b016126d1565b90965094506060890135915080821115612821578384fd5b5061282e89828a0161271a565b979a9699509497509295939492505050565b600080600060608486031215612854578283fd5b833561285f816136f5565b9250602084013561286f816136f5565b929592945050506040919091013590565b60008060008060808587031215612895578384fd5b84356128a0816136f5565b93506020858101356128b1816136f5565b935060408601359250606086013567ffffffffffffffff808211156128d4578384fd5b818801915088601f8301126128e7578384fd5b8135818111156128f9576128f96136df565b604051601f8201601f191681018501838111828210171561291c5761291c6136df565b60405281815283820185018b1015612932578586fd5b81858501868301379081019093019390935250939692955090935050565b600080600060408486031215612964578283fd5b833561296f816136f5565b9250602084013567ffffffffffffffff81111561298a578283fd5b612996868287016126d1565b9497909650939450505050565b600080604083850312156129b5578182fd5b82356129c0816136f5565b915060208301356127a38161370a565b600080604083850312156129e2578182fd5b82356129ed816136f5565b946020939093013593505050565b60008060208385031215612a0d578182fd5b823567ffffffffffffffff811115612a23578283fd5b612a2f858286016126d1565b90969095509350505050565b600060208284031215612a4c578081fd5b81516110138161370a565b600060208284031215612a68578081fd5b813561101381613718565b600060208284031215612a84578081fd5b815161101381613718565b60008060408385031215612788578182fd5b60008060008060408587031215612ab6578182fd5b843567ffffffffffffffff80821115612acd578384fd5b612ad98883890161271a565b90965094506020870135915080821115612af1578384fd5b50612afe8782880161271a565b95989497509550505050565b600060208284031215612b1b578081fd5b5035919050565b600060208284031215612b33578081fd5b5051919050565b60008151808452612b5281602086016020860161361d565b601f01601f19169290920160200192915050565b805460009060028104600180831680612b8057607f831692505b6020808410821415612ba057634e487b7160e01b86526022600452602486fd5b818015612bb45760018114612bc557612bf2565b60ff19861689528489019650612bf2565b612bce886135af565b60005b86811015612bea5781548b820152908501908301612bd1565b505084890196505b50505050505092915050565b60008251612c1081846020870161361d565b9190910192915050565b6000612c268286612b66565b8451612c3681836020890161361d565b6125ba81830186612b66565b90565b6001600160a01b0391909116815260200190565b6001600160a01b03929092168252602082015260400190565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612ca590830184612b3a565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015612ce757835183529284019291840191600101612ccb565b50909695505050505050565b901515815260200190565b6000602082526110136020830184612b3a565b60208082526010908201526f496e76616c69642064656c656761746560801b604082015260600190565b6020808252602b908201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560408201526a74206f6620626f756e647360a81b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252601c908201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604082015260600190565b60208082526026908201527f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060408201526573686172657360d01b606082015260800190565b60208082526024908201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646040820152637265737360e01b606082015260800190565b60208082526019908201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604082015260600190565b602080825260139082015272496e76616c696420696e70757420617272617960681b604082015260600190565b6020808252603a908201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260408201527f6563697069656e74206d61792068617665207265766572746564000000000000606082015260800190565b6020808252601d908201527f416464726573733a20696e73756666696369656e742062616c616e6365000000604082015260600190565b60208082526026908201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6040820152651c8818d85b1b60d21b606082015260800190565b6020808252602c908201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b6020808252602b908201527f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060408201526a191d59481c185e5b595b9d60aa1b606082015260800190565b6020808252601c908201527f4f726465722065786365656473206d6178206f726465722073697a6500000000604082015260600190565b6020808252818101527f4f6e6c7920746f6b656e206f776e657220616c6c6f77656420746f206275726e604082015260600190565b60208082526018908201527f53616c652069732063757272656e746c79207061757365640000000000000000604082015260600190565b60208082526038908201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760408201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606082015260800190565b6020808252602a908201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604082015269726f206164647265737360b01b606082015260800190565b60208082526029908201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460408201526832b73a103a37b5b2b760b91b606082015260800190565b6020808252818101527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604082015260600190565b6020808252602c908201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526029908201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960408201526839903737ba1037bbb760b91b606082015260800190565b6020808252602f908201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60408201526e3732bc34b9ba32b73a103a37b5b2b760891b606082015260800190565b60208082526021908201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656040820152603960f91b606082015260800190565b60208082526019908201527f45746865722073656e74206973206e6f7420636f727265637400000000000000604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252601d908201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604082015260600190565b6020808252602c908201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60408201526b7574206f6620626f756e647360a01b606082015260800190565b60208082526024908201527f4e657720537570706c79206c657373207468616e206578697374696e6720737560408201526370706c7960e01b606082015260800190565b6020808252602a908201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6040820152691bdd081cdd58d8d9595960b21b606082015260800190565b60208082526019908201527f4d696e742f6f72646572206578636565647320737570706c7900000000000000604082015260600190565b90815260200190565b60009081526020902090565b600082198211156135ce576135ce6136b3565b500190565b6000826135e2576135e26136c9565b500490565b6000816000190483118215151615613601576136016136b3565b500290565b600082821015613618576136186136b3565b500390565b60005b83811015613638578181015183820152602001613620565b838111156115b35750506000910152565b60028104600182168061365d57607f821691505b6020821081141561367e57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415613698576136986136b3565b5060010190565b6000826136ae576136ae6136c9565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114610ced57600080fd5b8015158114610ced57600080fd5b6001600160e01b031981168114610ced57600080fdfea264697066735822122059cffcf98934b2e83549f607013a9104b27cea2042334b1c7fce12222d6154c564736f6c6343000800003368747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066732f516d506237554a7a767750694450683356395a71514b6e5634693477444e6951734c686366474242537179514c6b2f

Deployed Bytecode

0x6080604052600436106102765760003560e01c806350c5a00c1161014f5780639852595c116100c1578063d79779b21161007a578063d79779b21461077b578063dde3d3131461079b578063e33b7de3146107bb578063e985e9c5146107d0578063f2fde38b146107f0578063f8e93ef914610810576102bd565b80639852595c146106bb578063a22cb465146106db578063b534a5c4146106fb578063b88d4fde1461071b578063c87b56dd1461073b578063ce7c2ac21461075b576102bd565b8063715018a611610113578063715018a61461061c57806379cf92d31461063157806385bc4d83146106515780638b83209b146106715780638da5cb5b1461069157806395d89b41146106a6576102bd565b806350c5a00c146105875780636352211e1461059c5780636790a9de146105bc5780636f8b44b0146105dc57806370a08231146105fc576102bd565b806336566f06116101e857806342966c68116101ac57806342966c68146104c7578063438b6300146104e757806348b75044146105075780634a994eef146105275780634d44660c146105475780634f6ccce714610567576102bd565b806336566f06146104305780633a98ef391461044557806340398d671461045a578063406072a91461048757806342842e0e146104a7576102bd565b806316c61ccc1161023a57806316c61ccc1461038457806318160ddd1461039957806319165587146103bb57806323b872dd146103db5780632f745c59146103fb57806332cb6b0c1461041b576102bd565b806301ffc9a7146102bf57806306fdde03146102f55780630777962714610317578063081812fc14610337578063095ea7b314610364576102bd565b366102bd577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be7706102a4610823565b346040516102b3929190612c59565b60405180910390a1005b005b3480156102cb57600080fd5b506102df6102da366004612a57565b610827565b6040516102ec9190612cf3565b60405180910390f35b34801561030157600080fd5b5061030a610854565b6040516102ec9190612cfe565b34801561032357600080fd5b506102df61033236600461275a565b6108e6565b34801561034357600080fd5b50610357610352366004612b0a565b61094f565b6040516102ec9190612c45565b34801561037057600080fd5b506102bd61037f3660046129d0565b610992565b34801561039057600080fd5b506102df610a2a565b3480156103a557600080fd5b506103ae610a33565b6040516102ec91906135a6565b3480156103c757600080fd5b506102bd6103d636600461275a565b610a4a565b3480156103e757600080fd5b506102bd6103f6366004612840565b610b58565b34801561040757600080fd5b506103ae6104163660046129d0565b610b90565b34801561042757600080fd5b506103ae610c04565b34801561043c57600080fd5b506102bd610c0a565b34801561045157600080fd5b506103ae610c4d565b34801561046657600080fd5b5061047a61047536600461275a565b610c53565b6040516102ec9190612caf565b34801561049357600080fd5b506103ae6104a2366004612a8f565b610c5e565b3480156104b357600080fd5b506102bd6104c2366004612840565b610c89565b3480156104d357600080fd5b506102bd6104e2366004612b0a565b610ca4565b3480156104f357600080fd5b5061047a61050236600461275a565b610cf0565b34801561051357600080fd5b506102bd610522366004612a8f565b610d5c565b34801561053357600080fd5b506102bd6105423660046129a3565b610f12565b34801561055357600080fd5b506102df610562366004612950565b610f7c565b34801561057357600080fd5b506103ae610582366004612b0a565b61101a565b34801561059357600080fd5b506103ae61104f565b3480156105a857600080fd5b506103576105b7366004612b0a565b611055565b3480156105c857600080fd5b506102bd6105d7366004612aa1565b6110ad565b3480156105e857600080fd5b506102bd6105f7366004612b0a565b6110fc565b34801561060857600080fd5b506103ae61061736600461275a565b611156565b34801561062857600080fd5b506102bd61119a565b34801561063d57600080fd5b506102bd61064c3660046129fb565b6111e5565b34801561065d57600080fd5b506102bd61066c366004612950565b611240565b34801561067d57600080fd5b5061035761068c366004612b0a565b6113a9565b34801561069d57600080fd5b506103576113e7565b3480156106b257600080fd5b5061030a6113f6565b3480156106c757600080fd5b506103ae6106d636600461275a565b611405565b3480156106e757600080fd5b506102bd6106f63660046129a3565b611420565b34801561070757600080fd5b506102bd6107163660046127ae565b6114ee565b34801561072757600080fd5b506102bd610736366004612880565b61157a565b34801561074757600080fd5b5061030a610756366004612b0a565b6115b9565b34801561076757600080fd5b506103ae61077636600461275a565b611625565b34801561078757600080fd5b506103ae61079636600461275a565b611640565b3480156107a757600080fd5b506102bd6107b6366004612b0a565b61165b565b3480156107c757600080fd5b506103ae61168f565b3480156107dc57600080fd5b506102df6107eb366004612776565b611695565b3480156107fc57600080fd5b506102bd61080b36600461275a565b6116c3565b6102bd61081e3660046129fb565b61172e565b3390565b60006001600160e01b0319821663780e9d6360e01b148061084c575061084c8261192b565b90505b919050565b60606000805461086390613649565b80601f016020809104026020016040519081016040528092919081815260200182805461088f90613649565b80156108dc5780601f106108b1576101008083540402835291602001916108dc565b820191906000526020600020905b8154815290600101906020018083116108bf57829003601f168201915b5050505050905090565b60006108f0610823565b6001600160a01b03166109016113e7565b6001600160a01b0316146109305760405162461bcd60e51b8152600401610927906132c8565b60405180910390fd5b506001600160a01b031660009081526009602052604090205460ff1690565b600061095a8261196b565b6109765760405162461bcd60e51b81526004016109279061327c565b506000908152600560205260409020546001600160a01b031690565b600061099d82611055565b9050806001600160a01b0316836001600160a01b031614156109d15760405162461bcd60e51b815260040161092790613395565b806001600160a01b03166109e3610823565b6001600160a01b031614806109ff57506109ff816107eb610823565b610a1b5760405162461bcd60e51b815260040161092790613157565b610a2583836119c3565b505050565b60145460ff1681565b600354600454600091610a4591613606565b905090565b6001600160a01b0381166000908152600c6020526040902054610a7f5760405162461bcd60e51b815260040161092790612e55565b6000610a8961168f565b610a9390476135bb565b90506000610aaa8383610aa586611405565b611a31565b905080610ac95760405162461bcd60e51b815260040161092790613069565b6001600160a01b0383166000908152600d602052604081208054839290610af19084906135bb565b9250508190555080600b6000828254610b0a91906135bb565b90915550610b1a90508382611a77565b7fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b0568382604051610b4b929190612c59565b60405180910390a1505050565b610b69610b63610823565b82611b13565b610b855760405162461bcd60e51b81526004016109279061340d565b610a25838383611b90565b6000610b9b83611156565b8210610bb95760405162461bcd60e51b815260040161092790612d3b565b6001600160a01b0383166000908152600760205260409020805483908110610bf157634e487b7160e01b600052603260045260246000fd5b9060005260206000200154905092915050565b60115481565b3360009081526009602052604090205460ff16610c395760405162461bcd60e51b815260040161092790612d11565b6014805460ff19811660ff90911615179055565b600a5490565b606061084c82611c81565b6001600160a01b03918216600090815260106020908152604080832093909416825291909152205490565b610a258383836040518060200160405280600081525061157a565b610cad81611055565b6001600160a01b0316610cbe610823565b6001600160a01b031614610ce45760405162461bcd60e51b8152600401610927906130eb565b610ced81611d3f565b50565b6001600160a01b038116600090815260076020908152604091829020805483518184028101840190945280845260609392830182828015610d5057602002820191906000526020600020905b815481526020019060010190808311610d3c575b50505050509050919050565b6001600160a01b0381166000908152600c6020526040902054610d915760405162461bcd60e51b815260040161092790612e55565b6000610d9c83611640565b6040516370a0823160e01b81526001600160a01b038516906370a0823190610dc8903090600401612c45565b60206040518083038186803b158015610de057600080fd5b505afa158015610df4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e189190612b22565b610e2291906135bb565b90506000610e358383610aa58787610c5e565b905080610e545760405162461bcd60e51b815260040161092790613069565b6001600160a01b03808516600090815260106020908152604080832093871683529290529081208054839290610e8b9084906135bb565b90915550506001600160a01b0384166000908152600f602052604081208054839290610eb89084906135bb565b90915550610ec99050848483611ddb565b836001600160a01b03167f3be5b7a71e84ed12875d241991c70855ac5817d847039e17a9d895c1ceb0f18a8483604051610f04929190612c59565b60405180910390a250505050565b610f1a610823565b6001600160a01b0316610f2b6113e7565b6001600160a01b031614610f515760405162461bcd60e51b8152600401610927906132c8565b6001600160a01b03919091166000908152600960205260409020805460ff1916911515919091179055565b6000805b8281101561100d57846001600160a01b03166004858584818110610fb457634e487b7160e01b600052603260045260246000fd5b9050602002013581548110610fd957634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b031614610ffd576000915050611013565b61100681613684565b9050610f80565b50600190505b9392505050565b6000611024610a33565b82106110425760405162461bcd60e51b815260040161092790613495565b60035461084c90836135bb565b60125481565b6000806004838154811061107957634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b031690508061084c5760405162461bcd60e51b8152600401610927906131fe565b3360009081526009602052604090205460ff166110dc5760405162461bcd60e51b815260040161092790612d11565b6110e8601585856125fe565b506110f5601683836125fe565b5050505050565b3360009081526009602052604090205460ff1661112b5760405162461bcd60e51b815260040161092790612d11565b611133610a33565b81106111515760405162461bcd60e51b8152600401610927906134e1565b601155565b60006001600160a01b03821661117e5760405162461bcd60e51b8152600401610927906131b4565b506001600160a01b031660009081526007602052604090205490565b6111a2610823565b6001600160a01b03166111b36113e7565b6001600160a01b0316146111d95760405162461bcd60e51b8152600401610927906132c8565b6111e36000611e31565b565b3360009081526009602052604090205460ff166112145760405162461bcd60e51b815260040161092790612d11565b600481146112345760405162461bcd60e51b815260040161092790612f16565b610a2560138383612682565b3360009081526009602052604090205460ff1661126f5760405162461bcd60e51b815260040161092790612d11565b6004811461128f5760405162461bcd60e51b815260040161092790612f16565b6000805b828110156112e1578383828181106112bb57634e487b7160e01b600052603260045260246000fd5b90506020020135826112cd91906135bb565b9150806112d981613684565b915050611293565b5060006112ec610a33565b6011549091506112fc83836135bb565b111561131a5760405162461bcd60e51b81526004016109279061356f565b60005b838110156113a15760005b85858381811061134857634e487b7160e01b600052603260045260246000fd5b9050602002013581101561138e57600083815260176020526040902082905561137c878461137581613684565b9550611e83565b8061138681613684565b915050611328565b508061139981613684565b91505061131d565b505050505050565b6000600e82815481106113cc57634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b031692915050565b6008546001600160a01b031690565b60606001805461086390613649565b6001600160a01b03166000908152600d602052604090205490565b611428610823565b6001600160a01b0316826001600160a01b031614156114595760405162461bcd60e51b815260040161092790612edf565b8060066000611466610823565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff1916921515929092179091556114aa610823565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516114e29190612cf3565b60405180910390a35050565b60005b8381101561157157611561878787878581811061151e57634e487b7160e01b600052603260045260246000fd5b9050602002013586868080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061157a92505050565b61156a81613684565b90506114f1565b50505050505050565b61158b611585610823565b83611b13565b6115a75760405162461bcd60e51b81526004016109279061340d565b6115b384848484611ea1565b50505050565b60606115c48261196b565b6115e05760405162461bcd60e51b815260040161092790613346565b6000828152601760205260409020546015906115fb90611ed4565b601660405160200161160f93929190612c1a565b6040516020818303038152906040529050919050565b6001600160a01b03166000908152600c602052604090205490565b6001600160a01b03166000908152600f602052604090205490565b3360009081526009602052604090205460ff1661168a5760405162461bcd60e51b815260040161092790612d11565b601255565b600b5490565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b6116cb610823565b6001600160a01b03166116dc6113e7565b6001600160a01b0316146117025760405162461bcd60e51b8152600401610927906132c8565b6001600160a01b0381166000908152600960205260409020805460ff19166001179055610ced81611fef565b6004811461174e5760405162461bcd60e51b815260040161092790612f16565b60145460ff16156117715760405162461bcd60e51b815260040161092790613120565b60008060005b601354811015611830578484828181106117a157634e487b7160e01b600052603260045260246000fd5b90506020020135601382815481106117c957634e487b7160e01b600052603260045260246000fd5b90600052602060002001546117de91906135e7565b6117e890846135bb565b925084848281811061180a57634e487b7160e01b600052603260045260246000fd5b905060200201358261181c91906135bb565b91508061182881613684565b915050611777565b50813410156118515760405162461bcd60e51b8152600401610927906133d6565b6012548111156118735760405162461bcd60e51b8152600401610927906130b4565b600061187d610a33565b60115490915061188d83836135bb565b11156118ab5760405162461bcd60e51b81526004016109279061356f565b60005b848110156113a15760005b8686838181106118d957634e487b7160e01b600052603260045260246000fd5b90506020020135811015611918576000838152601760205260409020829055611906338461137581613684565b8061191081613684565b9150506118b9565b508061192381613684565b9150506118ae565b60006001600160e01b031982166380ac58cd60e01b148061195c57506001600160e01b03198216635b5e139f60e01b145b8061084c575061084c8261205d565b6004546000908210801561084c575060006001600160a01b0316600483815481106119a657634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b0316141592915050565b600081815260056020526040902080546001600160a01b0319166001600160a01b03841690811790915581906119f882611055565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600a546001600160a01b0384166000908152600c602052604081205490918391611a5b90866135e7565b611a6591906135d3565b611a6f9190613606565b949350505050565b80471015611a975760405162461bcd60e51b815260040161092790612fa0565b6000826001600160a01b031682604051611ab090612c42565b60006040518083038185875af1925050503d8060008114611aed576040519150601f19603f3d011682016040523d82523d6000602084013e611af2565b606091505b5050905080610a255760405162461bcd60e51b815260040161092790612f43565b6000611b1e8261196b565b611b3a5760405162461bcd60e51b81526004016109279061301d565b6000611b4583611055565b9050806001600160a01b0316846001600160a01b03161480611b805750836001600160a01b0316611b758461094f565b6001600160a01b0316145b80611a6f5750611a6f8185611695565b826001600160a01b0316611ba382611055565b6001600160a01b031614611bc95760405162461bcd60e51b8152600401610927906132fd565b6001600160a01b038216611bef5760405162461bcd60e51b815260040161092790612e9b565b611bfa838383612076565b611c056000826119c3565b8160048281548110611c2757634e487b7160e01b600052603260045260246000fd5b6000918252602082200180546001600160a01b0319166001600160a01b03938416179055604051839285811692908716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9190a4505050565b60606000611c8e83611156565b905060008167ffffffffffffffff811115611cb957634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015611ce2578160200160208202803683370190505b50905060005b82811015611d3757611cfa8582610b90565b828281518110611d1a57634e487b7160e01b600052603260045260246000fd5b602090810291909101015280611d2f81613684565b915050611ce8565b509392505050565b6000611d4a82611055565b9050611d5881600084612076565b611d636000836119c3565b600060048381548110611d8657634e487b7160e01b600052603260045260246000fd5b6000918252602082200180546001600160a01b0319166001600160a01b0393841617905560405184928416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b610a258363a9059cbb60e01b8484604051602401611dfa929190612c59565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915261223f565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b611e9d8282604051806020016040528060008152506122ce565b5050565b611eac848484611b90565b611eb884848484612301565b6115b35760405162461bcd60e51b815260040161092790612d86565b606081611ef957506040805180820190915260018152600360fc1b602082015261084f565b8160005b8115611f235780611f0d81613684565b9150611f1c9050600a836135d3565b9150611efd565b60008167ffffffffffffffff811115611f4c57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611f76576020820181803683370190505b5090505b8415611a6f57611f8b600183613606565b9150611f98600a8661369f565b611fa39060306135bb565b60f81b818381518110611fc657634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350611fe8600a866135d3565b9450611f7a565b611ff7610823565b6001600160a01b03166120086113e7565b6001600160a01b03161461202e5760405162461bcd60e51b8152600401610927906132c8565b6001600160a01b0381166120545760405162461bcd60e51b815260040161092790612dd8565b610ced81611e31565b6001600160e01b031981166301ffc9a760e01b14919050565b60006001600160a01b038416156121f7576001600160a01b038416600090815260076020526040812054905b818110156121f4576001600160a01b03861660009081526007602052604090208054859190839081106120e557634e487b7160e01b600052603260045260246000fd5b906000526020600020015414156121e4576001600160a01b0386166000908152600760205260409020612119600184613606565b8154811061213757634e487b7160e01b600052603260045260246000fd5b906000526020600020015460076000886001600160a01b03166001600160a01b03168152602001908152602001600020828154811061218657634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101929092556001600160a01b03881681526007909152604090208054806121c957634e487b7160e01b600052603160045260246000fd5b600190038181906000526020600020016000905590556121f4565b6121ed81613684565b90506120a2565b50505b806001600160a01b0316836001600160a01b0316146115b357506001600160a01b03919091166000908152600760209081526040822080546001810182559083529120015550565b6000612294826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b031661241c9092919063ffffffff16565b805190915015610a2557808060200190518101906122b29190612a3b565b610a255760405162461bcd60e51b815260040161092790613525565b6122d8838361242b565b6122e56000848484612301565b610a255760405162461bcd60e51b815260040161092790612d86565b6000612315846001600160a01b03166124ff565b1561241157836001600160a01b031663150b7a02612331610823565b8786866040518563ffffffff1660e01b81526004016123539493929190612c72565b602060405180830381600087803b15801561236d57600080fd5b505af192505050801561239d575060408051601f3d908101601f1916820190925261239a91810190612a73565b60015b6123f7573d8080156123cb576040519150601f19603f3d011682016040523d82523d6000602084013e6123d0565b606091505b5080516123ef5760405162461bcd60e51b815260040161092790612d86565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611a6f565b506001949350505050565b6060611a6f8484600085612505565b6001600160a01b0382166124515760405162461bcd60e51b815260040161092790613247565b61245a8161196b565b156124775760405162461bcd60e51b815260040161092790612e1e565b61248360008383612076565b6004805460018101825560009182527f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b0180546001600160a01b0319166001600160a01b0385169081179091556040518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b3b151590565b6060824710156125275760405162461bcd60e51b815260040161092790612fd7565b612530856124ff565b61254c5760405162461bcd60e51b81526004016109279061345e565b600080866001600160a01b031685876040516125689190612bfe565b60006040518083038185875af1925050503d80600081146125a5576040519150601f19603f3d011682016040523d82523d6000602084013e6125aa565b606091505b50915091506125ba8282866125c5565b979650505050505050565b606083156125d4575081611013565b8251156125e45782518084602001fd5b8160405162461bcd60e51b81526004016109279190612cfe565b82805461260a90613649565b90600052602060002090601f01602090048101928261262c5760008555612672565b82601f106126455782800160ff19823516178555612672565b82800160010185558215612672579182015b82811115612672578235825591602001919060010190612657565b5061267e9291506126bc565b5090565b8280548282559060005260206000209081019282156126725791602002820182811115612672578235825591602001919060010190612657565b5b8082111561267e57600081556001016126bd565b60008083601f8401126126e2578081fd5b50813567ffffffffffffffff8111156126f9578182fd5b602083019150836020808302850101111561271357600080fd5b9250929050565b60008083601f84011261272b578182fd5b50813567ffffffffffffffff811115612742578182fd5b60208301915083602082850101111561271357600080fd5b60006020828403121561276b578081fd5b8135611013816136f5565b60008060408385031215612788578081fd5b8235612793816136f5565b915060208301356127a3816136f5565b809150509250929050565b600080600080600080608087890312156127c6578182fd5b86356127d1816136f5565b955060208701356127e1816136f5565b9450604087013567ffffffffffffffff808211156127fd578384fd5b6128098a838b016126d1565b90965094506060890135915080821115612821578384fd5b5061282e89828a0161271a565b979a9699509497509295939492505050565b600080600060608486031215612854578283fd5b833561285f816136f5565b9250602084013561286f816136f5565b929592945050506040919091013590565b60008060008060808587031215612895578384fd5b84356128a0816136f5565b93506020858101356128b1816136f5565b935060408601359250606086013567ffffffffffffffff808211156128d4578384fd5b818801915088601f8301126128e7578384fd5b8135818111156128f9576128f96136df565b604051601f8201601f191681018501838111828210171561291c5761291c6136df565b60405281815283820185018b1015612932578586fd5b81858501868301379081019093019390935250939692955090935050565b600080600060408486031215612964578283fd5b833561296f816136f5565b9250602084013567ffffffffffffffff81111561298a578283fd5b612996868287016126d1565b9497909650939450505050565b600080604083850312156129b5578182fd5b82356129c0816136f5565b915060208301356127a38161370a565b600080604083850312156129e2578182fd5b82356129ed816136f5565b946020939093013593505050565b60008060208385031215612a0d578182fd5b823567ffffffffffffffff811115612a23578283fd5b612a2f858286016126d1565b90969095509350505050565b600060208284031215612a4c578081fd5b81516110138161370a565b600060208284031215612a68578081fd5b813561101381613718565b600060208284031215612a84578081fd5b815161101381613718565b60008060408385031215612788578182fd5b60008060008060408587031215612ab6578182fd5b843567ffffffffffffffff80821115612acd578384fd5b612ad98883890161271a565b90965094506020870135915080821115612af1578384fd5b50612afe8782880161271a565b95989497509550505050565b600060208284031215612b1b578081fd5b5035919050565b600060208284031215612b33578081fd5b5051919050565b60008151808452612b5281602086016020860161361d565b601f01601f19169290920160200192915050565b805460009060028104600180831680612b8057607f831692505b6020808410821415612ba057634e487b7160e01b86526022600452602486fd5b818015612bb45760018114612bc557612bf2565b60ff19861689528489019650612bf2565b612bce886135af565b60005b86811015612bea5781548b820152908501908301612bd1565b505084890196505b50505050505092915050565b60008251612c1081846020870161361d565b9190910192915050565b6000612c268286612b66565b8451612c3681836020890161361d565b6125ba81830186612b66565b90565b6001600160a01b0391909116815260200190565b6001600160a01b03929092168252602082015260400190565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612ca590830184612b3a565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015612ce757835183529284019291840191600101612ccb565b50909695505050505050565b901515815260200190565b6000602082526110136020830184612b3a565b60208082526010908201526f496e76616c69642064656c656761746560801b604082015260600190565b6020808252602b908201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560408201526a74206f6620626f756e647360a81b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252601c908201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604082015260600190565b60208082526026908201527f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060408201526573686172657360d01b606082015260800190565b60208082526024908201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646040820152637265737360e01b606082015260800190565b60208082526019908201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604082015260600190565b602080825260139082015272496e76616c696420696e70757420617272617960681b604082015260600190565b6020808252603a908201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260408201527f6563697069656e74206d61792068617665207265766572746564000000000000606082015260800190565b6020808252601d908201527f416464726573733a20696e73756666696369656e742062616c616e6365000000604082015260600190565b60208082526026908201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6040820152651c8818d85b1b60d21b606082015260800190565b6020808252602c908201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b6020808252602b908201527f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060408201526a191d59481c185e5b595b9d60aa1b606082015260800190565b6020808252601c908201527f4f726465722065786365656473206d6178206f726465722073697a6500000000604082015260600190565b6020808252818101527f4f6e6c7920746f6b656e206f776e657220616c6c6f77656420746f206275726e604082015260600190565b60208082526018908201527f53616c652069732063757272656e746c79207061757365640000000000000000604082015260600190565b60208082526038908201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760408201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606082015260800190565b6020808252602a908201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604082015269726f206164647265737360b01b606082015260800190565b60208082526029908201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460408201526832b73a103a37b5b2b760b91b606082015260800190565b6020808252818101527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604082015260600190565b6020808252602c908201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526029908201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960408201526839903737ba1037bbb760b91b606082015260800190565b6020808252602f908201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60408201526e3732bc34b9ba32b73a103a37b5b2b760891b606082015260800190565b60208082526021908201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656040820152603960f91b606082015260800190565b60208082526019908201527f45746865722073656e74206973206e6f7420636f727265637400000000000000604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252601d908201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604082015260600190565b6020808252602c908201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60408201526b7574206f6620626f756e647360a01b606082015260800190565b60208082526024908201527f4e657720537570706c79206c657373207468616e206578697374696e6720737560408201526370706c7960e01b606082015260800190565b6020808252602a908201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6040820152691bdd081cdd58d8d9595960b21b606082015260800190565b60208082526019908201527f4d696e742f6f72646572206578636565647320737570706c7900000000000000604082015260600190565b90815260200190565b60009081526020902090565b600082198211156135ce576135ce6136b3565b500190565b6000826135e2576135e26136c9565b500490565b6000816000190483118215151615613601576136016136b3565b500290565b600082821015613618576136186136b3565b500390565b60005b83811015613638578181015183820152602001613620565b838111156115b35750506000910152565b60028104600182168061365d57607f821691505b6020821081141561367e57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415613698576136986136b3565b5060010190565b6000826136ae576136ae6136c9565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114610ced57600080fd5b8015158114610ced57600080fd5b6001600160e01b031981168114610ced57600080fdfea264697066735822122059cffcf98934b2e83549f607013a9104b27cea2042334b1c7fce12222d6154c564736f6c63430008000033

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

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