ETH Price: $3,576.46 (+2.32%)
Gas: 21 Gwei

Contract

0x37078802B8f4d6cDD7e8dA89bFcf3853e43Fea98
 

Overview

ETH Balance

0.027578142667247646 ETH

Eth Value

$98.63 (@ $3,576.46/ETH)
Transaction Hash
Method
Block
From
To
Value
Set Approval For...194501992024-03-16 21:43:4712 days ago1710625427IN
0x37078802...3e43Fea98
0 ETH0.0016053934.37166554
Set Approval For...194235742024-03-13 3:49:1115 days ago1710301751IN
0x37078802...3e43Fea98
0 ETH0.0018877440.4168021
Set Approval For...194090892024-03-11 3:12:1117 days ago1710126731IN
0x37078802...3e43Fea98
0 ETH0.0010665142.8681449
Set Approval For...193702682024-03-05 16:50:1123 days ago1709657411IN
0x37078802...3e43Fea98
0 ETH0.00298106111.20489731
Set Approval For...193702662024-03-05 16:49:4723 days ago1709657387IN
0x37078802...3e43Fea98
0 ETH0.00548168117.36325188
Set Approval For...190798622024-01-24 23:46:2364 days ago1706139983IN
0x37078802...3e43Fea98
0 ETH0.0003210212.90353398
Set Approval For...189635582024-01-08 16:44:4780 days ago1704732287IN
0x37078802...3e43Fea98
0 ETH0.0006050624.32015736
Set Approval For...189101182024-01-01 4:08:1187 days ago1704082091IN
0x37078802...3e43Fea98
0 ETH0.000423169.04370808
Set Approval For...189023712023-12-31 2:04:4788 days ago1703988287IN
0x37078802...3e43Fea98
0 ETH0.0005595511.98007045
Approve188815032023-12-28 3:41:1191 days ago1703734871IN
0x37078802...3e43Fea98
0 ETH0.0010720920.67919247
Approve188814902023-12-28 3:38:3591 days ago1703734715IN
0x37078802...3e43Fea98
0 ETH0.0011489622.16204547
Safe Transfer Fr...188616872023-12-25 8:53:3594 days ago1703494415IN
0x37078802...3e43Fea98
0 ETH0.0007510115.33943077
Set Approval For...188606542023-12-25 5:23:4794 days ago1703481827IN
0x37078802...3e43Fea98
0 ETH0.0005659612.09859279
Set Approval For...188081552023-12-17 20:35:47102 days ago1702845347IN
0x37078802...3e43Fea98
0 ETH0.0015329232.76957574
Set Approval For...188029552023-12-17 3:03:47102 days ago1702782227IN
0x37078802...3e43Fea98
0 ETH0.000872835.08219694
Set Approval For...187208882023-12-05 14:58:47114 days ago1701788327IN
0x37078802...3e43Fea98
0 ETH0.001633965.89654235
Set Approval For...186182862023-11-21 6:14:11128 days ago1700547251IN
0x37078802...3e43Fea98
0 ETH0.0007419627.59148048
Set Approval For...186182772023-11-21 6:12:23128 days ago1700547143IN
0x37078802...3e43Fea98
0 ETH0.0013653329.17954212
Set Approval For...185757162023-11-15 7:09:59134 days ago1700032199IN
0x37078802...3e43Fea98
0 ETH0.0005302221.38437318
Approve184818852023-11-02 3:59:47147 days ago1698897587IN
0x37078802...3e43Fea98
0 ETH0.0011411122.01046924
Approve184818802023-11-02 3:58:47147 days ago1698897527IN
0x37078802...3e43Fea98
0 ETH0.0010924521.07203957
Transfer From184730022023-10-31 22:11:23149 days ago1698790283IN
0x37078802...3e43Fea98
0 ETH0.0013112320.66441475
Transfer From182251772023-09-27 6:00:47183 days ago1695794447IN
0x37078802...3e43Fea98
0 ETH0.0004712410.1661835
Transfer From182249882023-09-27 5:22:47183 days ago1695792167IN
0x37078802...3e43Fea98
0 ETH0.000479439.37242945
Transfer From182249812023-09-27 5:21:11183 days ago1695792071IN
0x37078802...3e43Fea98
0 ETH0.000452678.84917771
View all transactions

Latest 10 internal transactions

Advanced mode:
Parent Txn Hash Block From To Value
143940892022-03-15 23:19:57744 days ago1647386397
0x37078802...3e43Fea98
3.4452 ETH
143817722022-03-14 1:27:58746 days ago1647221278
0x37078802...3e43Fea98
11.1969 ETH
143817652022-03-14 1:26:24746 days ago1647221184
0x37078802...3e43Fea98
27.5616 ETH
143817522022-03-14 1:22:24746 days ago1647220944
0x37078802...3e43Fea98
31.8681 ETH
143816642022-03-14 1:02:31746 days ago1647219751
0x37078802...3e43Fea98
17.226 ETH
143813342022-03-13 23:47:20746 days ago1647215240
0x37078802...3e43Fea98
22.3938 ETH
143813202022-03-13 23:43:58746 days ago1647215038
0x37078802...3e43Fea98
13.7808 ETH
143813132022-03-13 23:41:12746 days ago1647214872
0x37078802...3e43Fea98
27.5616 ETH
143812972022-03-13 23:37:10746 days ago1647214630
0x37078802...3e43Fea98
17.226 ETH
143746632022-03-12 22:30:37747 days ago1647124237
0x37078802...3e43Fea98
373.8 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
COSMIQS

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 16 : CSMQERC721A.sol
// SPDX-License-Identifier: MIT
/*                                                                                                                                                                 
                                                                                                                                                                                                                                                                                                                               
                                    .'.                                                                                                                         
                                  .;:c:;,,,;;,,;:c:'.                                                                                                           
                                .,cc:::cclloooddxkkko:.                                                                                                         
                             .':cc:;;;:lloodddxxkkkOOOxc.                                                                                                       
                            'cc:;;;;;;:cooodxkkkkkOOO000Odll,                                                                                                   
                          .:c:;,,,,,,,lxdlccokOOOO000KKK00KK0o.                                                                                                 
                         .,;,,,,,,,,,,lxoc:coO00000KKKKKKKKKKKo.                                                                                                
                        .,,,,,,,,,;;,,:loodxO000000KKKKKKKKKKKk'                                                                                                
                        ,;,,,,,,,,;::::coxkkOOO0O00KKKKKXXKKKKl                                                                                                 
                       'c;,,,,,,,;:lcclc;;cdkkOOO0OdloOKXXXKKKl.                                                                                                
                      .;:;,,,,,,,;:cccl;,c;:xkkkkOo:oolOXKKKKKk'                                                                                                
                      .;;,,,,,,,,,;::cclloddoddddddk0000KKKK0Kx.                                                                                                
                       ':;,,,,,,,,,;::cclodl......;k0000KK0000l.                                                                                                
                       .;;,,,,,,,,,;;;:cccoo:.  .'oOO00000000k,                                                                                                 
                        ';,,,,,,,,,,,;::,;codolcoxOOOOOO000OOl.                                                                                                 
                        .,,,,,,,,,,,,;:;,;cloodxkkO000Okkkkkl.                                                                                                  
                         ',',',,',,,,;:;,;:cccldxxddxkOkxxd:.                                                                                                   
                          .'',,,,,,,,,;;;;;;;,:llc;;;cdxdc'                                                                                                     
                           ..',,,;,,,,:c:;,,,,,coolccloc'                                                                                                       
                               ..,;::;;::,,,,,;coddoc,.                                                                                                         
                                   ..''',,,;;;;;,,..                                                                                                            
                                                                                                                                                                
                  .......                  ......               ....                                                     ......               ....              
              .:dkOOOOOOOko:.          'cdkOOkOOOOdc'         ,d0000Od,       .:o'               .:.     .od'        'cxOOOOOOOkd:.        .:x0000Oo,           
            ,xKKxc,.....,cdKKd'      ,xK0d:'....':o0Xk;...   cNKc..':OXl      'OMO'             .xK;     '0K,      ;kKOo;'....,:d0Kd'     .oNO:..'l0K:          
          .oXKc.           .cx;    .oX0:.          .:ONXK0x'.xWl     .'.      :XMWO'           .xWWl     'OK,    .xXk;           .c0Xl.   'ON:     .'.          
         .oWO'                    .dNx.              .OMMMK, cX0:             oNX0KO'         .xX0Nx.    '0K,   .xNo.  .'.    '.   .ONo   .oNO,                 
         ;KX;                     ;X0,            .;lkXMMk.   ;kXOc.         .kKx;:KO'       .xXl,O0'    '0K,   cNk.   lNo   :Xx.   ;KK,    :OKk:.              
         :NO.                     oWx.       .':okKNXkd0Mo      ,dKKx;       ,Kk:. :KO'     .xXl..xNc    '0K,   dMo    'l'   .c,    .ON:     .;dKKd,            
         ;X0'                   .dXMO. .';cdkKNNKkl;. .kWl        .cOXk,     lWd.   :KO'   .dXl   cWd    '0K,   oWx.                '0X;        .l0Xx.          
         .kNo.                 .xMMMN00XNNXOxo:'.     cX0'          .oNK,   .xN:     :KO' .dXl    ,KO.   '0K,   ,KX:               .oNx.          .dNO.         
          'ONd.             .,. 'lddKWXd;'.         .lX0;   .,.      .OWl   '00'      :KO;dXo     .kX;   '0K,    :KKc.            .xXk.   ''       ,0N:         
           .oXKo;.       .;o0K:     .oK0o,.      .,l0Kd.   .oXk,    .oXK,   ;Xx.       :KNXo.      oWl   '0K,     'xXOc'.      .;oKXo.   .xXd'    .dNO.         
             .ck00kxdddxk00xc.        .ck0Okxddxk00kl.      .:kKOddx0Kx'    lNl         :0o.       :Xx.  .OK,       'lk0Okxddxk00kKXl.    .cOKkddkK0o.          
                .';:ccc:;'.              .';cccc:,.            .;cc:,.      .'.          .          ..    ..           .,:ccc:;'. .d0d.      ':cc:,.            
                                                                                                                                    ...                         
                                                                                                                                                                
*/
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/access/Ownable.sol";
import "erc721a/contracts/ERC721A.sol";
import "@openzeppelin/contracts/finance/PaymentSplitter.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";


contract COSMIQS is ERC721A, Ownable, PaymentSplitter  {
   
    using Strings for uint256;

    //Settings

    string private baseURI;
    string private URIextension = ".json";
    uint256 public constant maxSupply = 8888;  //First 4 will be auctioned off for charity. Dev mint 36 will be minted for giveaways and partnerships. 
    uint256 public mintPrice = 0.15 ether;
    uint256 public whitelistMaxMint = 2;
    uint256 public incubatorMaxMint = 1;
    uint256 private maxMintperTxn = 2;    
    bool public paused = true;
    bool private activeWhitelist = true;
    mapping(address => uint256) private amountMinted;
    bytes32 private incubatorMerkleRoot;
    bytes32 private whitelistMerkleRoot;

    event URIChanged(string _newBaseURI);
    event WhitelistStateChanged(bool _wlactive);


    //Equity
    address[] payees = [0xE8F8eD5E4E07bb87330780269f4147B6113b8a8B,    // Cosmiqs Admin Wallet
        0xa35fa69E715975128c659e04B0D5f6FE26422f28,
        0x65BeF03EB4B6690ECbE18Fd715621e79e99737d5,
        0x69192A30Bb363396A0E8750C95E35f12183f5509,
        0x66aED5F269137dcE8073046A8dd910190543b40C,
        0x4E988d6d347D22258A6649205Fe51c92A7D8297b,
        0x3156B8C7FaFF01334e22E31BecDE257975c480C1,
        0x9B14D932FEf3aff01b3f600c8BB639CFb51cd871,
        0x4cB2d0A4428B5D827885E5b0AD2C97DCaf3F6BAb];
    uint256[] shares_ = [185,
        100,
        20,
        100,
        65,
        130,
        80,
        160,
        160];


    constructor(
        string memory _initBaseURI
    ) ERC721A("COSMIQS", "CSMQ") PaymentSplitter(payees, shares_) {
        setURI(_initBaseURI);
    }
    
    //Minting functionality
    function mintCosmiq(uint256 _tokenAmount, bytes32[] calldata proof) external payable {
        uint256 supply = totalSupply();

        require(msg.sender == tx.origin, "No transaction from smart contracts");
        require(_tokenAmount > 0, "Can't mint zero!");      
        require(supply + _tokenAmount <= maxSupply, "Can't mint that many!");      
        
        if (msg.sender != owner()) {
            require(_tokenAmount <= maxMintperTxn, "Max mint per transaction exceeded!");
            require(paused == false, "Sale is not active!");
            if(activeWhitelist == true) {
                require(MerkleProof.verify(proof, whitelistMerkleRoot, keccak256(abi.encodePacked(msg.sender))), "Not on Whitelist!");
                require(amountMinted[msg.sender] + _tokenAmount <= whitelistMaxMint, "Can't mint that many!");
            } 
            require(msg.value == mintPrice * _tokenAmount, "Wrong ETH amount!");
        }

        amountMinted[msg.sender] += _tokenAmount;
        _safeMint(msg.sender, _tokenAmount);

    }

    function mintIncubator(uint256 _tokenAmount, bytes32[] calldata proof) external payable {
        uint256 supply = totalSupply();

        require(msg.sender == tx.origin, "No transaction from smart contracts");
        require(_tokenAmount > 0, "Can't mint zero!");
        require(supply + _tokenAmount <= maxSupply, "Can't mint that many!");

        require(_tokenAmount <= maxMintperTxn, "Max mint per transaction exceeded!");
        require(paused == false, "Sale is not active");
        require(activeWhitelist == true, "Incubatorlist sale is not active!");
        require(amountMinted[msg.sender] + _tokenAmount <= incubatorMaxMint, "Can't mint that many!");
        require(MerkleProof.verify(proof, incubatorMerkleRoot, keccak256(abi.encodePacked(msg.sender))), "Not on Incubatorlist");
        require(msg.value == mintPrice * _tokenAmount, "Wrong ETH amount!");

        amountMinted[msg.sender] += _tokenAmount;
        _safeMint(msg.sender, _tokenAmount);
    }


    //WL+PreSale setting
    function setIncubatorlistMerkleRoot(bytes32 incubatorlistRoot) external onlyOwner {
        incubatorMerkleRoot = incubatorlistRoot;
    }

    function setWhitelistMerkleRoot(bytes32 whitelistRoot) external onlyOwner {
        whitelistMerkleRoot = whitelistRoot;
    }

    //Metadata
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        require(_exists(tokenId), "Nonexistent token query!");

        string memory currentBaseURI = _baseURI();
        return bytes(currentBaseURI).length > 0 ? string(abi.encodePacked(currentBaseURI, tokenId.toString(), URIextension)) : "";
    }

    function _baseURI() internal view virtual override returns (string memory) {
        return baseURI;
    }
    
    function setURI(string memory _newBaseURI) public onlyOwner {
        baseURI = _newBaseURI;
        
        emit URIChanged(_newBaseURI);
    }

    function _startTokenId() internal view virtual override returns (uint256) {
        return 1;
    }


    //Sale State
    //If true, WL is active, if false public sale is active.
    function setWhitelistActive(bool _wlactive) public onlyOwner {
        activeWhitelist = _wlactive;

        emit WhitelistStateChanged(_wlactive);
    }
    
    function isPaused(bool _paused) public onlyOwner {
        paused = _paused;
    }

    function setPrice(uint256 _newPrice) external onlyOwner {
        mintPrice = _newPrice;
    }

    function withdraw() public payable onlyOwner {
        (bool success, ) = payable(msg.sender).call{value: address(this).balance}("");
        require(success);
    }
}

File 2 of 16 : 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 3 of 16 : ERC721A.sol
// SPDX-License-Identifier: MIT
// Creator: Chiru Labs

pragma solidity ^0.8.4;

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/token/ERC721/extensions/IERC721Enumerable.sol';
import '@openzeppelin/contracts/utils/Address.sol';
import '@openzeppelin/contracts/utils/Context.sol';
import '@openzeppelin/contracts/utils/Strings.sol';
import '@openzeppelin/contracts/utils/introspection/ERC165.sol';

error ApprovalCallerNotOwnerNorApproved();
error ApprovalQueryForNonexistentToken();
error ApproveToCaller();
error ApprovalToCurrentOwner();
error BalanceQueryForZeroAddress();
error MintedQueryForZeroAddress();
error BurnedQueryForZeroAddress();
error AuxQueryForZeroAddress();
error MintToZeroAddress();
error MintZeroQuantity();
error OwnerIndexOutOfBounds();
error OwnerQueryForNonexistentToken();
error TokenIndexOutOfBounds();
error TransferCallerNotOwnerNorApproved();
error TransferFromIncorrectOwner();
error TransferToNonERC721ReceiverImplementer();
error TransferToZeroAddress();
error URIQueryForNonexistentToken();

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension. Built to optimize for lower gas during batch mints.
 *
 * Assumes serials are sequentially minted starting at _startTokenId() (defaults to 0, e.g. 0, 1, 2, 3..).
 *
 * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply.
 *
 * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256).
 */
contract ERC721A is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Compiler will pack this into a single 256bit word.
    struct TokenOwnership {
        // The address of the owner.
        address addr;
        // Keeps track of the start time of ownership with minimal overhead for tokenomics.
        uint64 startTimestamp;
        // Whether the token has been burned.
        bool burned;
    }

    // Compiler will pack this into a single 256bit word.
    struct AddressData {
        // Realistically, 2**64-1 is more than enough.
        uint64 balance;
        // Keeps track of mint count with minimal overhead for tokenomics.
        uint64 numberMinted;
        // Keeps track of burn count with minimal overhead for tokenomics.
        uint64 numberBurned;
        // For miscellaneous variable(s) pertaining to the address
        // (e.g. number of whitelist mint slots used).
        // If there are multiple variables, please pack them into a uint64.
        uint64 aux;
    }

    // The tokenId of the next token to be minted.
    uint256 internal _currentIndex;

    // The number of tokens burned.
    uint256 internal _burnCounter;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to ownership details
    // An empty struct value does not necessarily mean the token is unowned. See ownershipOf implementation for details.
    mapping(uint256 => TokenOwnership) internal _ownerships;

    // Mapping owner address to address data
    mapping(address => AddressData) private _addressData;

    // Mapping from token ID to approved address
    mapping(uint256 => address) private _tokenApprovals;

    // Mapping from owner to operator approvals
    mapping(address => mapping(address => bool)) private _operatorApprovals;

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

    /**
     * To change the starting tokenId, please override this function.
     */
    function _startTokenId() internal view virtual returns (uint256) {
        return 0;
    }

    /**
     * @dev See {IERC721Enumerable-totalSupply}.
     * @dev Burned tokens are calculated here, use _totalMinted() if you want to count just minted tokens.
     */
    function totalSupply() public view returns (uint256) {
        // Counter underflow is impossible as _burnCounter cannot be incremented
        // more than _currentIndex - _startTokenId() times
        unchecked {
            return _currentIndex - _burnCounter - _startTokenId();
        }
    }

    /**
     * Returns the total amount of tokens minted in the contract.
     */
    function _totalMinted() internal view returns (uint256) {
        // Counter underflow is impossible as _currentIndex does not decrement,
        // and it is initialized to _startTokenId()
        unchecked {
            return _currentIndex - _startTokenId();
        }
    }

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

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view override returns (uint256) {
        if (owner == address(0)) revert BalanceQueryForZeroAddress();
        return uint256(_addressData[owner].balance);
    }

    /**
     * Returns the number of tokens minted by `owner`.
     */
    function _numberMinted(address owner) internal view returns (uint256) {
        if (owner == address(0)) revert MintedQueryForZeroAddress();
        return uint256(_addressData[owner].numberMinted);
    }

    /**
     * Returns the number of tokens burned by or on behalf of `owner`.
     */
    function _numberBurned(address owner) internal view returns (uint256) {
        if (owner == address(0)) revert BurnedQueryForZeroAddress();
        return uint256(_addressData[owner].numberBurned);
    }

    /**
     * Returns the auxillary data for `owner`. (e.g. number of whitelist mint slots used).
     */
    function _getAux(address owner) internal view returns (uint64) {
        if (owner == address(0)) revert AuxQueryForZeroAddress();
        return _addressData[owner].aux;
    }

    /**
     * Sets the auxillary data for `owner`. (e.g. number of whitelist mint slots used).
     * If there are multiple variables, please pack them into a uint64.
     */
    function _setAux(address owner, uint64 aux) internal {
        if (owner == address(0)) revert AuxQueryForZeroAddress();
        _addressData[owner].aux = aux;
    }

    /**
     * Gas spent here starts off proportional to the maximum mint batch size.
     * It gradually moves to O(1) as tokens get transferred around in the collection over time.
     */
    function ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) {
        uint256 curr = tokenId;

        unchecked {
            if (_startTokenId() <= curr && curr < _currentIndex) {
                TokenOwnership memory ownership = _ownerships[curr];
                if (!ownership.burned) {
                    if (ownership.addr != address(0)) {
                        return ownership;
                    }
                    // Invariant:
                    // There will always be an ownership that has an address and is not burned
                    // before an ownership that does not have an address and is not burned.
                    // Hence, curr will not underflow.
                    while (true) {
                        curr--;
                        ownership = _ownerships[curr];
                        if (ownership.addr != address(0)) {
                            return ownership;
                        }
                    }
                }
            }
        }
        revert OwnerQueryForNonexistentToken();
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view override returns (address) {
        return ownershipOf(tokenId).addr;
    }

    /**
     * @dev See {IERC721Metadata-name}.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev See {IERC721Metadata-symbol}.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        if (!_exists(tokenId)) revert URIQueryForNonexistentToken();

        string memory baseURI = _baseURI();
        return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : '';
    }

    /**
     * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each
     * token will be the concatenation of the `baseURI` and the `tokenId`. Empty
     * by default, can be overriden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return '';
    }

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public override {
        address owner = ERC721A.ownerOf(tokenId);
        if (to == owner) revert ApprovalToCurrentOwner();

        if (_msgSender() != owner && !isApprovedForAll(owner, _msgSender())) {
            revert ApprovalCallerNotOwnerNorApproved();
        }

        _approve(to, tokenId, owner);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view override returns (address) {
        if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken();

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public override {
        if (operator == _msgSender()) revert ApproveToCaller();

        _operatorApprovals[_msgSender()][operator] = approved;
        emit ApprovalForAll(_msgSender(), operator, approved);
    }

    /**
     * @dev See {IERC721-isApprovedForAll}.
     */
    function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {
        return _operatorApprovals[owner][operator];
    }

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        _transfer(from, to, tokenId);
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        safeTransferFrom(from, to, tokenId, '');
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public virtual override {
        _transfer(from, to, tokenId);
        if (to.isContract() && !_checkContractOnERC721Received(from, to, tokenId, _data)) {
            revert TransferToNonERC721ReceiverImplementer();
        }
    }

    /**
     * @dev Returns whether `tokenId` exists.
     *
     * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
     *
     * Tokens start existing when they are minted (`_mint`),
     */
    function _exists(uint256 tokenId) internal view returns (bool) {
        return _startTokenId() <= tokenId && tokenId < _currentIndex &&
            !_ownerships[tokenId].burned;
    }

    function _safeMint(address to, uint256 quantity) internal {
        _safeMint(to, quantity, '');
    }

    /**
     * @dev Safely mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called for each safe transfer.
     * - `quantity` must be greater than 0.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(
        address to,
        uint256 quantity,
        bytes memory _data
    ) internal {
        _mint(to, quantity, _data, true);
    }

    /**
     * @dev Mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `quantity` must be greater than 0.
     *
     * Emits a {Transfer} event.
     */
    function _mint(
        address to,
        uint256 quantity,
        bytes memory _data,
        bool safe
    ) internal {
        uint256 startTokenId = _currentIndex;
        if (to == address(0)) revert MintToZeroAddress();
        if (quantity == 0) revert MintZeroQuantity();

        _beforeTokenTransfers(address(0), to, startTokenId, quantity);

        // Overflows are incredibly unrealistic.
        // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1
        // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1
        unchecked {
            _addressData[to].balance += uint64(quantity);
            _addressData[to].numberMinted += uint64(quantity);

            _ownerships[startTokenId].addr = to;
            _ownerships[startTokenId].startTimestamp = uint64(block.timestamp);

            uint256 updatedIndex = startTokenId;
            uint256 end = updatedIndex + quantity;

            if (safe && to.isContract()) {
                do {
                    emit Transfer(address(0), to, updatedIndex);
                    if (!_checkContractOnERC721Received(address(0), to, updatedIndex++, _data)) {
                        revert TransferToNonERC721ReceiverImplementer();
                    }
                } while (updatedIndex != end);
                // Reentrancy protection
                if (_currentIndex != startTokenId) revert();
            } else {
                do {
                    emit Transfer(address(0), to, updatedIndex++);
                } while (updatedIndex != end);
            }
            _currentIndex = updatedIndex;
        }
        _afterTokenTransfers(address(0), to, startTokenId, quantity);
    }

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function _transfer(
        address from,
        address to,
        uint256 tokenId
    ) private {
        TokenOwnership memory prevOwnership = ownershipOf(tokenId);

        bool isApprovedOrOwner = (_msgSender() == prevOwnership.addr ||
            isApprovedForAll(prevOwnership.addr, _msgSender()) ||
            getApproved(tokenId) == _msgSender());

        if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        if (prevOwnership.addr != from) revert TransferFromIncorrectOwner();
        if (to == address(0)) revert TransferToZeroAddress();

        _beforeTokenTransfers(from, to, tokenId, 1);

        // Clear approvals from the previous owner
        _approve(address(0), tokenId, prevOwnership.addr);

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256.
        unchecked {
            _addressData[from].balance -= 1;
            _addressData[to].balance += 1;

            _ownerships[tokenId].addr = to;
            _ownerships[tokenId].startTimestamp = uint64(block.timestamp);

            // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it.
            // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
            uint256 nextTokenId = tokenId + 1;
            if (_ownerships[nextTokenId].addr == address(0)) {
                // This will suffice for checking _exists(nextTokenId),
                // as a burned slot cannot contain the zero address.
                if (nextTokenId < _currentIndex) {
                    _ownerships[nextTokenId].addr = prevOwnership.addr;
                    _ownerships[nextTokenId].startTimestamp = prevOwnership.startTimestamp;
                }
            }
        }

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

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId) internal virtual {
        TokenOwnership memory prevOwnership = ownershipOf(tokenId);

        _beforeTokenTransfers(prevOwnership.addr, address(0), tokenId, 1);

        // Clear approvals from the previous owner
        _approve(address(0), tokenId, prevOwnership.addr);

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256.
        unchecked {
            _addressData[prevOwnership.addr].balance -= 1;
            _addressData[prevOwnership.addr].numberBurned += 1;

            // Keep track of who burned the token, and the timestamp of burning.
            _ownerships[tokenId].addr = prevOwnership.addr;
            _ownerships[tokenId].startTimestamp = uint64(block.timestamp);
            _ownerships[tokenId].burned = true;

            // If the ownership slot of tokenId+1 is not explicitly set, that means the burn initiator owns it.
            // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
            uint256 nextTokenId = tokenId + 1;
            if (_ownerships[nextTokenId].addr == address(0)) {
                // This will suffice for checking _exists(nextTokenId),
                // as a burned slot cannot contain the zero address.
                if (nextTokenId < _currentIndex) {
                    _ownerships[nextTokenId].addr = prevOwnership.addr;
                    _ownerships[nextTokenId].startTimestamp = prevOwnership.startTimestamp;
                }
            }
        }

        emit Transfer(prevOwnership.addr, address(0), tokenId);
        _afterTokenTransfers(prevOwnership.addr, address(0), tokenId, 1);

        // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times.
        unchecked {
            _burnCounter++;
        }
    }

    /**
     * @dev Approve `to` to operate on `tokenId`
     *
     * Emits a {Approval} event.
     */
    function _approve(
        address to,
        uint256 tokenId,
        address owner
    ) private {
        _tokenApprovals[tokenId] = to;
        emit Approval(owner, to, tokenId);
    }

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target contract.
     *
     * @param from address representing the previous owner of the given token ID
     * @param to target address that will receive the tokens
     * @param tokenId uint256 ID of the token to be transferred
     * @param _data bytes optional data to send along with the call
     * @return bool whether the call correctly returned the expected magic value
     */
    function _checkContractOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
            return retval == IERC721Receiver(to).onERC721Received.selector;
        } catch (bytes memory reason) {
            if (reason.length == 0) {
                revert TransferToNonERC721ReceiverImplementer();
            } else {
                assembly {
                    revert(add(32, reason), mload(reason))
                }
            }
        }
    }

    /**
     * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting.
     * And also called before burning one token.
     *
     * startTokenId - the first token id to be transferred
     * quantity - the amount to be transferred
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, `tokenId` will be burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _beforeTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}

    /**
     * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes
     * minting.
     * And also called after one token has been burned.
     *
     * startTokenId - the first token id to be transferred
     * quantity - the amount to be transferred
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been
     * transferred to `to`.
     * - When `from` is zero, `tokenId` has been minted for `to`.
     * - When `to` is zero, `tokenId` has been burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _afterTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}
}

File 4 of 16 : 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 5 of 16 : MerkleProof.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Trees proofs.
 *
 * The proofs can be generated using the JavaScript library
 * https://github.com/miguelmota/merkletreejs[merkletreejs].
 * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
 *
 * See `test/utils/cryptography/MerkleProof.test.js` for some examples.
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(
        bytes32[] memory proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProof(proof, leaf) == root;
    }

    /**
     * @dev Returns the rebuilt hash obtained by traversing a Merklee tree up
     * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt
     * hash matches the root of the tree. When processing the proof, the pairs
     * of leafs & pre-images are assumed to be sorted.
     *
     * _Available since v4.4._
     */
    function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            bytes32 proofElement = proof[i];
            if (computedHash <= proofElement) {
                // Hash(current computed hash + current element of the proof)
                computedHash = _efficientHash(computedHash, proofElement);
            } else {
                // Hash(current element of the proof + current computed hash)
                computedHash = _efficientHash(proofElement, computedHash);
            }
        }
        return computedHash;
    }

    function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) {
        assembly {
            mstore(0x00, a)
            mstore(0x20, b)
            value := keccak256(0x00, 0x40)
        }
    }
}

File 6 of 16 : 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 7 of 16 : 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 8 of 16 : 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 9 of 16 : 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 10 of 16 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

    /**
     * @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 11 of 16 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 12 of 16 : 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 13 of 16 : 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 14 of 16 : 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 15 of 16 : 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 16 of 16 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (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 `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, 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 `from` to `to` 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 from,
        address to,
        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": false,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_initBaseURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"URIChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"_wlactive","type":"bool"}],"name":"WhitelistStateChanged","type":"event"},{"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":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"incubatorMaxMint","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":"bool","name":"_paused","type":"bool"}],"name":"isPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenAmount","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"mintCosmiq","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenAmount","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"mintIncubator","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"bytes32","name":"incubatorlistRoot","type":"bytes32"}],"name":"setIncubatorlistMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newPrice","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_wlactive","type":"bool"}],"name":"setWhitelistActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"whitelistRoot","type":"bytes32"}],"name":"setWhitelistMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"shares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"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":"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":[],"name":"whitelistMaxMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60806040526040518060400160405280600581526020017f2e6a736f6e000000000000000000000000000000000000000000000000000000815250601190805190602001906200005192919062000ac9565b50670214e8348c4f00006012556002601355600160145560026015556001601660006101000a81548160ff0219169083151502179055506001601660016101000a81548160ff02191690831515021790555060405180610120016040528073e8f8ed5e4e07bb87330780269f4147b6113b8a8b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200173a35fa69e715975128c659e04b0d5f6fe26422f2873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020017365bef03eb4b6690ecbe18fd715621e79e99737d573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020017369192a30bb363396a0e8750c95e35f12183f550973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020017366aed5f269137dce8073046a8dd910190543b40c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001734e988d6d347d22258a6649205fe51c92a7d8297b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001733156b8c7faff01334e22e31becde257975c480c173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001739b14d932fef3aff01b3f600c8bb639cfb51cd87173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001734cb2d0a4428b5d827885e5b0ad2c97dcaf3f6bab73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815250601a9060096200033592919062000b5a565b5060405180610120016040528060b960ff168152602001606460ff168152602001601460ff168152602001606460ff168152602001604160ff168152602001608260ff168152602001605060ff16815260200160a060ff16815260200160a060ff16815250601b906009620003ac92919062000be9565b50348015620003ba57600080fd5b5060405162006ab438038062006ab48339818101604052810190620003e0919062000cdd565b601a8054806020026020016040519081016040528092919081815260200182805480156200046457602002820191906000526020600020905b8160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001906001019080831162000419575b5050505050601b805480602002602001604051908101604052809291908181526020018280548015620004b757602002820191906000526020600020905b815481526020019060010190808311620004a2575b50505050506040518060400160405280600781526020017f434f534d495153000000000000000000000000000000000000000000000000008152506040518060400160405280600481526020017f43534d510000000000000000000000000000000000000000000000000000000081525081600290805190602001906200054092919062000ac9565b5080600390805190602001906200055992919062000ac9565b506200056a620006aa60201b60201c565b60008190555050506200059262000586620006b360201b60201c565b620006bb60201b60201c565b8051825114620005d9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620005d09062000f10565b60405180910390fd5b600082511162000620576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620006179062000f54565b60405180910390fd5b60005b82518110156200068f5762000679838281518110620006475762000646620011fc565b5b6020026020010151838381518110620006655762000664620011fc565b5b60200260200101516200078160201b60201c565b8080620006869062001150565b91505062000623565b505050620006a381620009bb60201b60201c565b50620013e7565b60006001905090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415620007f4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620007eb9062000ecc565b60405180910390fd5b600081116200083a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620008319062000f76565b60405180910390fd5b6000600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205414620008bf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620008b69062000f32565b60405180910390fd5b600d829080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508060095462000976919062001013565b6009819055507f40c340f65e17194d14ddddb073d3c9f888e3cb52b5aae0c6c7706b4fbc905fac8282604051620009af92919062000e7b565b60405180910390a15050565b620009cb620006b360201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16620009f162000a9f60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff161462000a4a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000a419062000eee565b60405180910390fd5b806010908051906020019062000a6292919062000ac9565b507fbd06d92759c326896ec0f7c3a981e801ae4644e020f89b2a198909b692df0ddd8160405162000a94919062000ea8565b60405180910390a150565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b82805462000ad790620010e4565b90600052602060002090601f01602090048101928262000afb576000855562000b47565b82601f1062000b1657805160ff191683800117855562000b47565b8280016001018555821562000b47579182015b8281111562000b4657825182559160200191906001019062000b29565b5b50905062000b56919062000c40565b5090565b82805482825590600052602060002090810192821562000bd6579160200282015b8281111562000bd55782518260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055509160200191906001019062000b7b565b5b50905062000be5919062000c40565b5090565b82805482825590600052602060002090810192821562000c2d579160200282015b8281111562000c2c578251829060ff1690559160200191906001019062000c0a565b5b50905062000c3c919062000c40565b5090565b5b8082111562000c5b57600081600090555060010162000c41565b5090565b600062000c7662000c708462000fc1565b62000f98565b90508281526020810184848401111562000c955762000c946200125f565b5b62000ca2848285620010ae565b509392505050565b600082601f83011262000cc25762000cc16200125a565b5b815162000cd484826020860162000c5f565b91505092915050565b60006020828403121562000cf65762000cf562001269565b5b600082015167ffffffffffffffff81111562000d175762000d1662001264565b5b62000d258482850162000caa565b91505092915050565b62000d398162001070565b82525050565b600062000d4c8262000ff7565b62000d58818562001002565b935062000d6a818560208601620010ae565b62000d75816200126e565b840191505092915050565b600062000d8f602c8362001002565b915062000d9c826200127f565b604082019050919050565b600062000db660208362001002565b915062000dc382620012ce565b602082019050919050565b600062000ddd60328362001002565b915062000dea82620012f7565b604082019050919050565b600062000e04602b8362001002565b915062000e118262001346565b604082019050919050565b600062000e2b601a8362001002565b915062000e388262001395565b602082019050919050565b600062000e52601d8362001002565b915062000e5f82620013be565b602082019050919050565b62000e7581620010a4565b82525050565b600060408201905062000e92600083018562000d2e565b62000ea1602083018462000e6a565b9392505050565b6000602082019050818103600083015262000ec4818462000d3f565b905092915050565b6000602082019050818103600083015262000ee78162000d80565b9050919050565b6000602082019050818103600083015262000f098162000da7565b9050919050565b6000602082019050818103600083015262000f2b8162000dce565b9050919050565b6000602082019050818103600083015262000f4d8162000df5565b9050919050565b6000602082019050818103600083015262000f6f8162000e1c565b9050919050565b6000602082019050818103600083015262000f918162000e43565b9050919050565b600062000fa462000fb7565b905062000fb282826200111a565b919050565b6000604051905090565b600067ffffffffffffffff82111562000fdf5762000fde6200122b565b5b62000fea826200126e565b9050602081019050919050565b600081519050919050565b600082825260208201905092915050565b60006200102082620010a4565b91506200102d83620010a4565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156200106557620010646200119e565b5b828201905092915050565b60006200107d8262001084565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60005b83811015620010ce578082015181840152602081019050620010b1565b83811115620010de576000848401525b50505050565b60006002820490506001821680620010fd57607f821691505b60208210811415620011145762001113620011cd565b5b50919050565b62001125826200126e565b810181811067ffffffffffffffff821117156200114757620011466200122b565b5b80604052505050565b60006200115d82620010a4565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156200119357620011926200119e565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f5061796d656e7453706c69747465723a206163636f756e74206973207468652060008201527f7a65726f20616464726573730000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f5061796d656e7453706c69747465723a2070617965657320616e64207368617260008201527f6573206c656e677468206d69736d617463680000000000000000000000000000602082015250565b7f5061796d656e7453706c69747465723a206163636f756e7420616c726561647960008201527f2068617320736861726573000000000000000000000000000000000000000000602082015250565b7f5061796d656e7453706c69747465723a206e6f20706179656573000000000000600082015250565b7f5061796d656e7453706c69747465723a20736861726573206172652030000000600082015250565b6156bd80620013f76000396000f3fe60806040526004361061023f5760003560e01c8063715018a61161012e578063b88d4fde116100ab578063d5abeb011161006f578063d5abeb01146108a1578063d79779b2146108cc578063e33b7de314610909578063e985e9c514610934578063f2fde38b1461097157610286565b8063b88d4fde146107ac578063bd32fb66146107d5578063c3b754dc146107fe578063c87b56dd14610827578063ce7c2ac21461086457610286565b806391b7f5ed116100f257806391b7f5ed146106c757806395d89b41146106f05780639852595c1461071b578063a01595ac14610758578063a22cb4651461078357610286565b8063715018a6146105f4578063722e141d1461060b5780637843b14d146106365780638b83209b1461065f5780638da5cb5b1461069c57610286565b80633a98ef39116101bc57806348b750441161018057806348b75044146104fb5780635c975abb146105245780636352211e1461054f5780636817c76c1461058c57806370a08231146105b757610286565b80633a98ef39146104445780633ccfd60b1461046f578063406072a91461047957806342842e0e146104b6578063489679c6146104df57610286565b8063095ea7b311610203578063095ea7b31461037557806318160ddd1461039e57806319165587146103c957806320f1dbbc146103f257806323b872dd1461041b57610286565b806301ffc9a71461028b57806302fe5305146102c857806306075a2a146102f157806306fdde031461030d578063081812fc1461033857610286565b36610286577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be77061026d61099a565b3460405161027c929190614917565b60405180910390a1005b600080fd5b34801561029757600080fd5b506102b260048036038101906102ad91906141c0565b6109a2565b6040516102bf9190614940565b60405180910390f35b3480156102d457600080fd5b506102ef60048036038101906102ea9190614287565b610a84565b005b61030b6004803603810190610306919061432a565b610b51565b005b34801561031957600080fd5b50610322610f48565b60405161032f919061495b565b60405180910390f35b34801561034457600080fd5b5061035f600480360381019061035a91906142d0565b610fda565b60405161036c9190614887565b60405180910390f35b34801561038157600080fd5b5061039c600480360381019061039791906140f9565b611056565b005b3480156103aa57600080fd5b506103b3611161565b6040516103c09190614bfd565b60405180910390f35b3480156103d557600080fd5b506103f060048036038101906103eb9190613f76565b611178565b005b3480156103fe57600080fd5b5061041960048036038101906104149190614139565b611323565b005b34801561042757600080fd5b50610442600480360381019061043d9190613fe3565b6113bc565b005b34801561045057600080fd5b506104596113cc565b6040516104669190614bfd565b60405180910390f35b6104776113d6565b005b34801561048557600080fd5b506104a0600480360381019061049b9190614247565b6114cb565b6040516104ad9190614bfd565b60405180910390f35b3480156104c257600080fd5b506104dd60048036038101906104d89190613fe3565b611552565b005b6104f960048036038101906104f4919061432a565b611572565b005b34801561050757600080fd5b50610522600480360381019061051d9190614247565b611967565b005b34801561053057600080fd5b50610539611c2f565b6040516105469190614940565b60405180910390f35b34801561055b57600080fd5b50610576600480360381019061057191906142d0565b611c42565b6040516105839190614887565b60405180910390f35b34801561059857600080fd5b506105a1611c58565b6040516105ae9190614bfd565b60405180910390f35b3480156105c357600080fd5b506105de60048036038101906105d99190613f49565b611c5e565b6040516105eb9190614bfd565b60405180910390f35b34801561060057600080fd5b50610609611d2e565b005b34801561061757600080fd5b50610620611db6565b60405161062d9190614bfd565b60405180910390f35b34801561064257600080fd5b5061065d60048036038101906106589190614193565b611dbc565b005b34801561066b57600080fd5b50610686600480360381019061068191906142d0565b611e42565b6040516106939190614887565b60405180910390f35b3480156106a857600080fd5b506106b1611e8a565b6040516106be9190614887565b60405180910390f35b3480156106d357600080fd5b506106ee60048036038101906106e991906142d0565b611eb4565b005b3480156106fc57600080fd5b50610705611f3a565b604051610712919061495b565b60405180910390f35b34801561072757600080fd5b50610742600480360381019061073d9190613f49565b611fcc565b60405161074f9190614bfd565b60405180910390f35b34801561076457600080fd5b5061076d612015565b60405161077a9190614bfd565b60405180910390f35b34801561078f57600080fd5b506107aa60048036038101906107a591906140b9565b61201b565b005b3480156107b857600080fd5b506107d360048036038101906107ce9190614036565b612193565b005b3480156107e157600080fd5b506107fc60048036038101906107f79190614193565b61220f565b005b34801561080a57600080fd5b5061082560048036038101906108209190614139565b612295565b005b34801561083357600080fd5b5061084e600480360381019061084991906142d0565b612365565b60405161085b919061495b565b60405180910390f35b34801561087057600080fd5b5061088b60048036038101906108869190613f49565b61240f565b6040516108989190614bfd565b60405180910390f35b3480156108ad57600080fd5b506108b6612458565b6040516108c39190614bfd565b60405180910390f35b3480156108d857600080fd5b506108f360048036038101906108ee919061421a565b61245e565b6040516109009190614bfd565b60405180910390f35b34801561091557600080fd5b5061091e6124a7565b60405161092b9190614bfd565b60405180910390f35b34801561094057600080fd5b5061095b60048036038101906109569190613fa3565b6124b1565b6040516109689190614940565b60405180910390f35b34801561097d57600080fd5b5061099860048036038101906109939190613f49565b612545565b005b600033905090565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a6d57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610a7d5750610a7c8261263d565b5b9050919050565b610a8c61099a565b73ffffffffffffffffffffffffffffffffffffffff16610aaa611e8a565b73ffffffffffffffffffffffffffffffffffffffff1614610b00576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610af790614add565b60405180910390fd5b8060109080519060200190610b16929190613c5b565b507fbd06d92759c326896ec0f7c3a981e801ae4644e020f89b2a198909b692df0ddd81604051610b46919061495b565b60405180910390a150565b6000610b5b611161565b90503273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610bcb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bc290614b3d565b60405180910390fd5b60008411610c0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c0590614b9d565b60405180910390fd5b6122b88482610c1d9190614d02565b1115610c5e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c5590614a9d565b60405180910390fd5b610c66611e8a565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610ee257601554841115610cdd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cd490614b7d565b60405180910390fd5b60001515601660009054906101000a900460ff16151514610d33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d2a90614afd565b60405180910390fd5b60011515601660019054906101000a900460ff1615151415610e9257610dc3838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505060195433604051602001610da8919061480f565b604051602081830303815290604052805190602001206126a7565b610e02576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610df990614b1d565b60405180910390fd5b60135484601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610e509190614d02565b1115610e91576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e8890614a9d565b60405180910390fd5b5b83601254610ea09190614d89565b3414610ee1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ed890614bdd565b60405180910390fd5b5b83601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610f319190614d02565b92505081905550610f4233856126be565b50505050565b606060028054610f5790614f31565b80601f0160208091040260200160405190810160405280929190818152602001828054610f8390614f31565b8015610fd05780601f10610fa557610100808354040283529160200191610fd0565b820191906000526020600020905b815481529060010190602001808311610fb357829003601f168201915b5050505050905090565b6000610fe5826126dc565b61101b576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061106182611c42565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156110c9576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166110e861099a565b73ffffffffffffffffffffffffffffffffffffffff161415801561111a57506111188161111361099a565b6124b1565b155b15611151576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61115c83838361272a565b505050565b600061116b6127dc565b6001546000540303905090565b6000600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054116111fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111f19061499d565b60405180910390fd5b60006112046124a7565b4761120f9190614d02565b90506000611226838361122186611fcc565b6127e5565b9050600081141561126c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161126390614a5d565b60405180910390fd5b80600c60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546112bb9190614d02565b9250508190555080600a60008282546112d49190614d02565b925050819055506112e58382612853565b7fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b05683826040516113169291906148a2565b60405180910390a1505050565b61132b61099a565b73ffffffffffffffffffffffffffffffffffffffff16611349611e8a565b73ffffffffffffffffffffffffffffffffffffffff161461139f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161139690614add565b60405180910390fd5b80601660006101000a81548160ff02191690831515021790555050565b6113c7838383612947565b505050565b6000600954905090565b6113de61099a565b73ffffffffffffffffffffffffffffffffffffffff166113fc611e8a565b73ffffffffffffffffffffffffffffffffffffffff1614611452576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161144990614add565b60405180910390fd5b60003373ffffffffffffffffffffffffffffffffffffffff164760405161147890614872565b60006040518083038185875af1925050503d80600081146114b5576040519150601f19603f3d011682016040523d82523d6000602084013e6114ba565b606091505b50509050806114c857600080fd5b50565b6000600f60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b61156d83838360405180602001604052806000815250612193565b505050565b600061157c611161565b90503273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146115ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115e390614b3d565b60405180910390fd5b6000841161162f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161162690614b9d565b60405180910390fd5b6122b8848261163e9190614d02565b111561167f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161167690614a9d565b60405180910390fd5b6015548411156116c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116bb90614b7d565b60405180910390fd5b60001515601660009054906101000a900460ff1615151461171a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611711906149bd565b60405180910390fd5b60011515601660019054906101000a900460ff16151514611770576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161176790614a7d565b60405180910390fd5b60145484601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546117be9190614d02565b11156117ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117f690614a9d565b60405180910390fd5b611873838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505060185433604051602001611858919061480f565b604051602081830303815290604052805190602001206126a7565b6118b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118a990614abd565b60405180910390fd5b836012546118c09190614d89565b3414611901576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118f890614bdd565b60405180910390fd5b83601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546119509190614d02565b9250508190555061196133856126be565b50505050565b6000600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054116119e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119e09061499d565b60405180910390fd5b60006119f48361245e565b8373ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401611a2d9190614887565b60206040518083038186803b158015611a4557600080fd5b505afa158015611a59573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a7d91906142fd565b611a879190614d02565b90506000611a9f8383611a9a87876114cb565b6127e5565b90506000811415611ae5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611adc90614a5d565b60405180910390fd5b80600f60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611b719190614d02565b9250508190555080600e60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611bc79190614d02565b92505081905550611bd9848483612e38565b8373ffffffffffffffffffffffffffffffffffffffff167f3be5b7a71e84ed12875d241991c70855ac5817d847039e17a9d895c1ceb0f18a8483604051611c21929190614917565b60405180910390a250505050565b601660009054906101000a900460ff1681565b6000611c4d82612ebe565b600001519050919050565b60125481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611cc6576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b611d3661099a565b73ffffffffffffffffffffffffffffffffffffffff16611d54611e8a565b73ffffffffffffffffffffffffffffffffffffffff1614611daa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611da190614add565b60405180910390fd5b611db4600061314d565b565b60135481565b611dc461099a565b73ffffffffffffffffffffffffffffffffffffffff16611de2611e8a565b73ffffffffffffffffffffffffffffffffffffffff1614611e38576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e2f90614add565b60405180910390fd5b8060188190555050565b6000600d8281548110611e5857611e576150bf565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611ebc61099a565b73ffffffffffffffffffffffffffffffffffffffff16611eda611e8a565b73ffffffffffffffffffffffffffffffffffffffff1614611f30576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f2790614add565b60405180910390fd5b8060128190555050565b606060038054611f4990614f31565b80601f0160208091040260200160405190810160405280929190818152602001828054611f7590614f31565b8015611fc25780601f10611f9757610100808354040283529160200191611fc2565b820191906000526020600020905b815481529060010190602001808311611fa557829003601f168201915b5050505050905090565b6000600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60145481565b61202361099a565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612088576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806007600061209561099a565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661214261099a565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516121879190614940565b60405180910390a35050565b61219e848484612947565b6121bd8373ffffffffffffffffffffffffffffffffffffffff16613213565b80156121d257506121d084848484613236565b155b15612209576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b61221761099a565b73ffffffffffffffffffffffffffffffffffffffff16612235611e8a565b73ffffffffffffffffffffffffffffffffffffffff161461228b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161228290614add565b60405180910390fd5b8060198190555050565b61229d61099a565b73ffffffffffffffffffffffffffffffffffffffff166122bb611e8a565b73ffffffffffffffffffffffffffffffffffffffff1614612311576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161230890614add565b60405180910390fd5b80601660016101000a81548160ff0219169083151502179055507f1764936847e7a31cd617c631a4758379574d9d75b90f32d133497a5dfe0f78648160405161235a9190614940565b60405180910390a150565b6060612370826126dc565b6123af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123a6906149dd565b60405180910390fd5b60006123b9613396565b905060008151116123d95760405180602001604052806000815250612407565b806123e384613428565b60116040516020016123f793929190614841565b6040516020818303038152906040525b915050919050565b6000600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6122b881565b6000600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000600a54905090565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61254d61099a565b73ffffffffffffffffffffffffffffffffffffffff1661256b611e8a565b73ffffffffffffffffffffffffffffffffffffffff16146125c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125b890614add565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612631576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126289061497d565b60405180910390fd5b61263a8161314d565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000826126b48584613589565b1490509392505050565b6126d88282604051806020016040528060008152506135fe565b5050565b6000816126e76127dc565b111580156126f6575060005482105b8015612723575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60006001905090565b600081600954600b60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054856128369190614d89565b6128409190614d58565b61284a9190614de3565b90509392505050565b80471015612896576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161288d90614a1d565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff16826040516128bc90614872565b60006040518083038185875af1925050503d80600081146128f9576040519150601f19603f3d011682016040523d82523d6000602084013e6128fe565b606091505b5050905080612942576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612939906149fd565b60405180910390fd5b505050565b600061295282612ebe565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff1661297961099a565b73ffffffffffffffffffffffffffffffffffffffff1614806129ac57506129ab82600001516129a661099a565b6124b1565b5b806129f157506129ba61099a565b73ffffffffffffffffffffffffffffffffffffffff166129d984610fda565b73ffffffffffffffffffffffffffffffffffffffff16145b905080612a2a576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff1614612a93576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612afa576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612b078585856001613610565b612b17600084846000015161272a565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550836004600085815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600085815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600184019050600073ffffffffffffffffffffffffffffffffffffffff166004600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415612dc857600054811015612dc75782600001516004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082602001516004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b50828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612e318585856001613616565b5050505050565b612eb98363a9059cbb60e01b8484604051602401612e57929190614917565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff838183161783525050505061361c565b505050565b612ec6613ce1565b600082905080612ed46127dc565b11158015612ee3575060005481105b15613116576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050806040015161311457600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612ff8578092505050613148565b5b60011561311357818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461310e578092505050613148565b612ff9565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261325c61099a565b8786866040518563ffffffff1660e01b815260040161327e94939291906148cb565b602060405180830381600087803b15801561329857600080fd5b505af19250505080156132c957506040513d601f19601f820116820180604052508101906132c691906141ed565b60015b613343573d80600081146132f9576040519150601f19603f3d011682016040523d82523d6000602084013e6132fe565b606091505b5060008151141561333b576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060601080546133a590614f31565b80601f01602080910402602001604051908101604052809291908181526020018280546133d190614f31565b801561341e5780601f106133f35761010080835404028352916020019161341e565b820191906000526020600020905b81548152906001019060200180831161340157829003601f168201915b5050505050905090565b60606000821415613470576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613584565b600082905060005b600082146134a257808061348b90614f94565b915050600a8261349b9190614d58565b9150613478565b60008167ffffffffffffffff8111156134be576134bd6150ee565b5b6040519080825280601f01601f1916602001820160405280156134f05781602001600182028036833780820191505090505b5090505b6000851461357d576001826135099190614de3565b9150600a856135189190615001565b60306135249190614d02565b60f81b81838151811061353a576135396150bf565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856135769190614d58565b94506134f4565b8093505050505b919050565b60008082905060005b84518110156135f35760008582815181106135b0576135af6150bf565b5b602002602001015190508083116135d2576135cb83826136e3565b92506135df565b6135dc81846136e3565b92505b5080806135eb90614f94565b915050613592565b508091505092915050565b61360b83838360016136fa565b505050565b50505050565b50505050565b600061367e826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16613ac89092919063ffffffff16565b90506000815111156136de578080602001905181019061369e9190614166565b6136dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136d490614bbd565b60405180910390fd5b5b505050565b600082600052816020526040600020905092915050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415613767576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008414156137a2576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6137af6000868387613610565b83600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060008190506000858201905083801561397957506139788773ffffffffffffffffffffffffffffffffffffffff16613213565b5b15613a3f575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46139ee6000888480600101955088613236565b613a24576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8082141561397f578260005414613a3a57600080fd5b613aab565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a480821415613a40575b816000819055505050613ac16000868387613616565b5050505050565b6060613ad78484600085613ae0565b90509392505050565b606082471015613b25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613b1c90614a3d565b60405180910390fd5b613b2e85613213565b613b6d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613b6490614b5d565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff168587604051613b96919061482a565b60006040518083038185875af1925050503d8060008114613bd3576040519150601f19603f3d011682016040523d82523d6000602084013e613bd8565b606091505b5091509150613be8828286613bf4565b92505050949350505050565b60608315613c0457829050613c54565b600083511115613c175782518084602001fd5b816040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613c4b919061495b565b60405180910390fd5b9392505050565b828054613c6790614f31565b90600052602060002090601f016020900481019282613c895760008555613cd0565b82601f10613ca257805160ff1916838001178555613cd0565b82800160010185558215613cd0579182015b82811115613ccf578251825591602001919060010190613cb4565b5b509050613cdd9190613d24565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b80821115613d3d576000816000905550600101613d25565b5090565b6000613d54613d4f84614c3d565b614c18565b905082815260208101848484011115613d7057613d6f61512c565b5b613d7b848285614eef565b509392505050565b6000613d96613d9184614c6e565b614c18565b905082815260208101848484011115613db257613db161512c565b5b613dbd848285614eef565b509392505050565b600081359050613dd4816155e6565b92915050565b600081359050613de9816155fd565b92915050565b60008083601f840112613e0557613e04615122565b5b8235905067ffffffffffffffff811115613e2257613e2161511d565b5b602083019150836020820283011115613e3e57613e3d615127565b5b9250929050565b600081359050613e5481615614565b92915050565b600081519050613e6981615614565b92915050565b600081359050613e7e8161562b565b92915050565b600081359050613e9381615642565b92915050565b600081519050613ea881615642565b92915050565b600082601f830112613ec357613ec2615122565b5b8135613ed3848260208601613d41565b91505092915050565b600081359050613eeb81615659565b92915050565b600082601f830112613f0657613f05615122565b5b8135613f16848260208601613d83565b91505092915050565b600081359050613f2e81615670565b92915050565b600081519050613f4381615670565b92915050565b600060208284031215613f5f57613f5e615136565b5b6000613f6d84828501613dc5565b91505092915050565b600060208284031215613f8c57613f8b615136565b5b6000613f9a84828501613dda565b91505092915050565b60008060408385031215613fba57613fb9615136565b5b6000613fc885828601613dc5565b9250506020613fd985828601613dc5565b9150509250929050565b600080600060608486031215613ffc57613ffb615136565b5b600061400a86828701613dc5565b935050602061401b86828701613dc5565b925050604061402c86828701613f1f565b9150509250925092565b600080600080608085870312156140505761404f615136565b5b600061405e87828801613dc5565b945050602061406f87828801613dc5565b935050604061408087828801613f1f565b925050606085013567ffffffffffffffff8111156140a1576140a0615131565b5b6140ad87828801613eae565b91505092959194509250565b600080604083850312156140d0576140cf615136565b5b60006140de85828601613dc5565b92505060206140ef85828601613e45565b9150509250929050565b600080604083850312156141105761410f615136565b5b600061411e85828601613dc5565b925050602061412f85828601613f1f565b9150509250929050565b60006020828403121561414f5761414e615136565b5b600061415d84828501613e45565b91505092915050565b60006020828403121561417c5761417b615136565b5b600061418a84828501613e5a565b91505092915050565b6000602082840312156141a9576141a8615136565b5b60006141b784828501613e6f565b91505092915050565b6000602082840312156141d6576141d5615136565b5b60006141e484828501613e84565b91505092915050565b60006020828403121561420357614202615136565b5b600061421184828501613e99565b91505092915050565b6000602082840312156142305761422f615136565b5b600061423e84828501613edc565b91505092915050565b6000806040838503121561425e5761425d615136565b5b600061426c85828601613edc565b925050602061427d85828601613dc5565b9150509250929050565b60006020828403121561429d5761429c615136565b5b600082013567ffffffffffffffff8111156142bb576142ba615131565b5b6142c784828501613ef1565b91505092915050565b6000602082840312156142e6576142e5615136565b5b60006142f484828501613f1f565b91505092915050565b60006020828403121561431357614312615136565b5b600061432184828501613f34565b91505092915050565b60008060006040848603121561434357614342615136565b5b600061435186828701613f1f565b935050602084013567ffffffffffffffff81111561437257614371615131565b5b61437e86828701613def565b92509250509250925092565b61439381614eb9565b82525050565b6143a281614e17565b82525050565b6143b96143b482614e17565b614fdd565b82525050565b6143c881614e3b565b82525050565b60006143d982614cb4565b6143e38185614cca565b93506143f3818560208601614efe565b6143fc8161513b565b840191505092915050565b600061441282614cb4565b61441c8185614cdb565b935061442c818560208601614efe565b80840191505092915050565b600061444382614cbf565b61444d8185614ce6565b935061445d818560208601614efe565b6144668161513b565b840191505092915050565b600061447c82614cbf565b6144868185614cf7565b9350614496818560208601614efe565b80840191505092915050565b600081546144af81614f31565b6144b98186614cf7565b945060018216600081146144d457600181146144e557614518565b60ff19831686528186019350614518565b6144ee85614c9f565b60005b83811015614510578154818901526001820191506020810190506144f1565b838801955050505b50505092915050565b600061452e602683614ce6565b915061453982615159565b604082019050919050565b6000614551602683614ce6565b915061455c826151a8565b604082019050919050565b6000614574601283614ce6565b915061457f826151f7565b602082019050919050565b6000614597601883614ce6565b91506145a282615220565b602082019050919050565b60006145ba603a83614ce6565b91506145c582615249565b604082019050919050565b60006145dd601d83614ce6565b91506145e882615298565b602082019050919050565b6000614600602683614ce6565b915061460b826152c1565b604082019050919050565b6000614623602b83614ce6565b915061462e82615310565b604082019050919050565b6000614646602183614ce6565b91506146518261535f565b604082019050919050565b6000614669601583614ce6565b9150614674826153ae565b602082019050919050565b600061468c601483614ce6565b9150614697826153d7565b602082019050919050565b60006146af602083614ce6565b91506146ba82615400565b602082019050919050565b60006146d2601383614ce6565b91506146dd82615429565b602082019050919050565b60006146f5601183614ce6565b915061470082615452565b602082019050919050565b6000614718602383614ce6565b91506147238261547b565b604082019050919050565b600061473b600083614cdb565b9150614746826154ca565b600082019050919050565b600061475e601d83614ce6565b9150614769826154cd565b602082019050919050565b6000614781602283614ce6565b915061478c826154f6565b604082019050919050565b60006147a4601083614ce6565b91506147af82615545565b602082019050919050565b60006147c7602a83614ce6565b91506147d28261556e565b604082019050919050565b60006147ea601183614ce6565b91506147f5826155bd565b602082019050919050565b61480981614eaf565b82525050565b600061481b82846143a8565b60148201915081905092915050565b60006148368284614407565b915081905092915050565b600061484d8286614471565b91506148598285614471565b915061486582846144a2565b9150819050949350505050565b600061487d8261472e565b9150819050919050565b600060208201905061489c6000830184614399565b92915050565b60006040820190506148b7600083018561438a565b6148c46020830184614800565b9392505050565b60006080820190506148e06000830187614399565b6148ed6020830186614399565b6148fa6040830185614800565b818103606083015261490c81846143ce565b905095945050505050565b600060408201905061492c6000830185614399565b6149396020830184614800565b9392505050565b600060208201905061495560008301846143bf565b92915050565b600060208201905081810360008301526149758184614438565b905092915050565b6000602082019050818103600083015261499681614521565b9050919050565b600060208201905081810360008301526149b681614544565b9050919050565b600060208201905081810360008301526149d681614567565b9050919050565b600060208201905081810360008301526149f68161458a565b9050919050565b60006020820190508181036000830152614a16816145ad565b9050919050565b60006020820190508181036000830152614a36816145d0565b9050919050565b60006020820190508181036000830152614a56816145f3565b9050919050565b60006020820190508181036000830152614a7681614616565b9050919050565b60006020820190508181036000830152614a9681614639565b9050919050565b60006020820190508181036000830152614ab68161465c565b9050919050565b60006020820190508181036000830152614ad68161467f565b9050919050565b60006020820190508181036000830152614af6816146a2565b9050919050565b60006020820190508181036000830152614b16816146c5565b9050919050565b60006020820190508181036000830152614b36816146e8565b9050919050565b60006020820190508181036000830152614b568161470b565b9050919050565b60006020820190508181036000830152614b7681614751565b9050919050565b60006020820190508181036000830152614b9681614774565b9050919050565b60006020820190508181036000830152614bb681614797565b9050919050565b60006020820190508181036000830152614bd6816147ba565b9050919050565b60006020820190508181036000830152614bf6816147dd565b9050919050565b6000602082019050614c126000830184614800565b92915050565b6000614c22614c33565b9050614c2e8282614f63565b919050565b6000604051905090565b600067ffffffffffffffff821115614c5857614c576150ee565b5b614c618261513b565b9050602081019050919050565b600067ffffffffffffffff821115614c8957614c886150ee565b5b614c928261513b565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000614d0d82614eaf565b9150614d1883614eaf565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614d4d57614d4c615032565b5b828201905092915050565b6000614d6382614eaf565b9150614d6e83614eaf565b925082614d7e57614d7d615061565b5b828204905092915050565b6000614d9482614eaf565b9150614d9f83614eaf565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614dd857614dd7615032565b5b828202905092915050565b6000614dee82614eaf565b9150614df983614eaf565b925082821015614e0c57614e0b615032565b5b828203905092915050565b6000614e2282614e8f565b9050919050565b6000614e3482614e8f565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6000614e8882614e17565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b6000614ec482614ecb565b9050919050565b6000614ed682614edd565b9050919050565b6000614ee882614e8f565b9050919050565b82818337600083830152505050565b60005b83811015614f1c578082015181840152602081019050614f01565b83811115614f2b576000848401525b50505050565b60006002820490506001821680614f4957607f821691505b60208210811415614f5d57614f5c615090565b5b50919050565b614f6c8261513b565b810181811067ffffffffffffffff82111715614f8b57614f8a6150ee565b5b80604052505050565b6000614f9f82614eaf565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614fd257614fd1615032565b5b600182019050919050565b6000614fe882614fef565b9050919050565b6000614ffa8261514c565b9050919050565b600061500c82614eaf565b915061501783614eaf565b92508261502757615026615061565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060008201527f7368617265730000000000000000000000000000000000000000000000000000602082015250565b7f53616c65206973206e6f74206163746976650000000000000000000000000000600082015250565b7f4e6f6e6578697374656e7420746f6b656e207175657279210000000000000000600082015250565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b7f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060008201527f647565207061796d656e74000000000000000000000000000000000000000000602082015250565b7f496e63756261746f726c6973742073616c65206973206e6f742061637469766560008201527f2100000000000000000000000000000000000000000000000000000000000000602082015250565b7f43616e2774206d696e742074686174206d616e79210000000000000000000000600082015250565b7f4e6f74206f6e20496e63756261746f726c697374000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f53616c65206973206e6f74206163746976652100000000000000000000000000600082015250565b7f4e6f74206f6e2057686974656c69737421000000000000000000000000000000600082015250565b7f4e6f207472616e73616374696f6e2066726f6d20736d61727420636f6e74726160008201527f6374730000000000000000000000000000000000000000000000000000000000602082015250565b50565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b7f4d6178206d696e7420706572207472616e73616374696f6e206578636565646560008201527f6421000000000000000000000000000000000000000000000000000000000000602082015250565b7f43616e2774206d696e74207a65726f2100000000000000000000000000000000600082015250565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b7f57726f6e672045544820616d6f756e7421000000000000000000000000000000600082015250565b6155ef81614e17565b81146155fa57600080fd5b50565b61560681614e29565b811461561157600080fd5b50565b61561d81614e3b565b811461562857600080fd5b50565b61563481614e47565b811461563f57600080fd5b50565b61564b81614e51565b811461565657600080fd5b50565b61566281614e7d565b811461566d57600080fd5b50565b61567981614eaf565b811461568457600080fd5b5056fea2646970667358221220dcdb276a9823b6131bc6e081fe4d37944c458bf1fe857f0a35846508c088baf664736f6c6343000807003300000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d5033316a71536235694750514737506b6b6a5a6f4134355747514b316e523547504a56325a376735324e66622f00000000000000000000

Deployed Bytecode

0x60806040526004361061023f5760003560e01c8063715018a61161012e578063b88d4fde116100ab578063d5abeb011161006f578063d5abeb01146108a1578063d79779b2146108cc578063e33b7de314610909578063e985e9c514610934578063f2fde38b1461097157610286565b8063b88d4fde146107ac578063bd32fb66146107d5578063c3b754dc146107fe578063c87b56dd14610827578063ce7c2ac21461086457610286565b806391b7f5ed116100f257806391b7f5ed146106c757806395d89b41146106f05780639852595c1461071b578063a01595ac14610758578063a22cb4651461078357610286565b8063715018a6146105f4578063722e141d1461060b5780637843b14d146106365780638b83209b1461065f5780638da5cb5b1461069c57610286565b80633a98ef39116101bc57806348b750441161018057806348b75044146104fb5780635c975abb146105245780636352211e1461054f5780636817c76c1461058c57806370a08231146105b757610286565b80633a98ef39146104445780633ccfd60b1461046f578063406072a91461047957806342842e0e146104b6578063489679c6146104df57610286565b8063095ea7b311610203578063095ea7b31461037557806318160ddd1461039e57806319165587146103c957806320f1dbbc146103f257806323b872dd1461041b57610286565b806301ffc9a71461028b57806302fe5305146102c857806306075a2a146102f157806306fdde031461030d578063081812fc1461033857610286565b36610286577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be77061026d61099a565b3460405161027c929190614917565b60405180910390a1005b600080fd5b34801561029757600080fd5b506102b260048036038101906102ad91906141c0565b6109a2565b6040516102bf9190614940565b60405180910390f35b3480156102d457600080fd5b506102ef60048036038101906102ea9190614287565b610a84565b005b61030b6004803603810190610306919061432a565b610b51565b005b34801561031957600080fd5b50610322610f48565b60405161032f919061495b565b60405180910390f35b34801561034457600080fd5b5061035f600480360381019061035a91906142d0565b610fda565b60405161036c9190614887565b60405180910390f35b34801561038157600080fd5b5061039c600480360381019061039791906140f9565b611056565b005b3480156103aa57600080fd5b506103b3611161565b6040516103c09190614bfd565b60405180910390f35b3480156103d557600080fd5b506103f060048036038101906103eb9190613f76565b611178565b005b3480156103fe57600080fd5b5061041960048036038101906104149190614139565b611323565b005b34801561042757600080fd5b50610442600480360381019061043d9190613fe3565b6113bc565b005b34801561045057600080fd5b506104596113cc565b6040516104669190614bfd565b60405180910390f35b6104776113d6565b005b34801561048557600080fd5b506104a0600480360381019061049b9190614247565b6114cb565b6040516104ad9190614bfd565b60405180910390f35b3480156104c257600080fd5b506104dd60048036038101906104d89190613fe3565b611552565b005b6104f960048036038101906104f4919061432a565b611572565b005b34801561050757600080fd5b50610522600480360381019061051d9190614247565b611967565b005b34801561053057600080fd5b50610539611c2f565b6040516105469190614940565b60405180910390f35b34801561055b57600080fd5b50610576600480360381019061057191906142d0565b611c42565b6040516105839190614887565b60405180910390f35b34801561059857600080fd5b506105a1611c58565b6040516105ae9190614bfd565b60405180910390f35b3480156105c357600080fd5b506105de60048036038101906105d99190613f49565b611c5e565b6040516105eb9190614bfd565b60405180910390f35b34801561060057600080fd5b50610609611d2e565b005b34801561061757600080fd5b50610620611db6565b60405161062d9190614bfd565b60405180910390f35b34801561064257600080fd5b5061065d60048036038101906106589190614193565b611dbc565b005b34801561066b57600080fd5b50610686600480360381019061068191906142d0565b611e42565b6040516106939190614887565b60405180910390f35b3480156106a857600080fd5b506106b1611e8a565b6040516106be9190614887565b60405180910390f35b3480156106d357600080fd5b506106ee60048036038101906106e991906142d0565b611eb4565b005b3480156106fc57600080fd5b50610705611f3a565b604051610712919061495b565b60405180910390f35b34801561072757600080fd5b50610742600480360381019061073d9190613f49565b611fcc565b60405161074f9190614bfd565b60405180910390f35b34801561076457600080fd5b5061076d612015565b60405161077a9190614bfd565b60405180910390f35b34801561078f57600080fd5b506107aa60048036038101906107a591906140b9565b61201b565b005b3480156107b857600080fd5b506107d360048036038101906107ce9190614036565b612193565b005b3480156107e157600080fd5b506107fc60048036038101906107f79190614193565b61220f565b005b34801561080a57600080fd5b5061082560048036038101906108209190614139565b612295565b005b34801561083357600080fd5b5061084e600480360381019061084991906142d0565b612365565b60405161085b919061495b565b60405180910390f35b34801561087057600080fd5b5061088b60048036038101906108869190613f49565b61240f565b6040516108989190614bfd565b60405180910390f35b3480156108ad57600080fd5b506108b6612458565b6040516108c39190614bfd565b60405180910390f35b3480156108d857600080fd5b506108f360048036038101906108ee919061421a565b61245e565b6040516109009190614bfd565b60405180910390f35b34801561091557600080fd5b5061091e6124a7565b60405161092b9190614bfd565b60405180910390f35b34801561094057600080fd5b5061095b60048036038101906109569190613fa3565b6124b1565b6040516109689190614940565b60405180910390f35b34801561097d57600080fd5b5061099860048036038101906109939190613f49565b612545565b005b600033905090565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a6d57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610a7d5750610a7c8261263d565b5b9050919050565b610a8c61099a565b73ffffffffffffffffffffffffffffffffffffffff16610aaa611e8a565b73ffffffffffffffffffffffffffffffffffffffff1614610b00576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610af790614add565b60405180910390fd5b8060109080519060200190610b16929190613c5b565b507fbd06d92759c326896ec0f7c3a981e801ae4644e020f89b2a198909b692df0ddd81604051610b46919061495b565b60405180910390a150565b6000610b5b611161565b90503273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610bcb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bc290614b3d565b60405180910390fd5b60008411610c0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c0590614b9d565b60405180910390fd5b6122b88482610c1d9190614d02565b1115610c5e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c5590614a9d565b60405180910390fd5b610c66611e8a565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610ee257601554841115610cdd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cd490614b7d565b60405180910390fd5b60001515601660009054906101000a900460ff16151514610d33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d2a90614afd565b60405180910390fd5b60011515601660019054906101000a900460ff1615151415610e9257610dc3838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505060195433604051602001610da8919061480f565b604051602081830303815290604052805190602001206126a7565b610e02576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610df990614b1d565b60405180910390fd5b60135484601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610e509190614d02565b1115610e91576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e8890614a9d565b60405180910390fd5b5b83601254610ea09190614d89565b3414610ee1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ed890614bdd565b60405180910390fd5b5b83601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610f319190614d02565b92505081905550610f4233856126be565b50505050565b606060028054610f5790614f31565b80601f0160208091040260200160405190810160405280929190818152602001828054610f8390614f31565b8015610fd05780601f10610fa557610100808354040283529160200191610fd0565b820191906000526020600020905b815481529060010190602001808311610fb357829003601f168201915b5050505050905090565b6000610fe5826126dc565b61101b576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061106182611c42565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156110c9576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166110e861099a565b73ffffffffffffffffffffffffffffffffffffffff161415801561111a57506111188161111361099a565b6124b1565b155b15611151576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61115c83838361272a565b505050565b600061116b6127dc565b6001546000540303905090565b6000600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054116111fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111f19061499d565b60405180910390fd5b60006112046124a7565b4761120f9190614d02565b90506000611226838361122186611fcc565b6127e5565b9050600081141561126c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161126390614a5d565b60405180910390fd5b80600c60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546112bb9190614d02565b9250508190555080600a60008282546112d49190614d02565b925050819055506112e58382612853565b7fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b05683826040516113169291906148a2565b60405180910390a1505050565b61132b61099a565b73ffffffffffffffffffffffffffffffffffffffff16611349611e8a565b73ffffffffffffffffffffffffffffffffffffffff161461139f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161139690614add565b60405180910390fd5b80601660006101000a81548160ff02191690831515021790555050565b6113c7838383612947565b505050565b6000600954905090565b6113de61099a565b73ffffffffffffffffffffffffffffffffffffffff166113fc611e8a565b73ffffffffffffffffffffffffffffffffffffffff1614611452576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161144990614add565b60405180910390fd5b60003373ffffffffffffffffffffffffffffffffffffffff164760405161147890614872565b60006040518083038185875af1925050503d80600081146114b5576040519150601f19603f3d011682016040523d82523d6000602084013e6114ba565b606091505b50509050806114c857600080fd5b50565b6000600f60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b61156d83838360405180602001604052806000815250612193565b505050565b600061157c611161565b90503273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146115ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115e390614b3d565b60405180910390fd5b6000841161162f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161162690614b9d565b60405180910390fd5b6122b8848261163e9190614d02565b111561167f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161167690614a9d565b60405180910390fd5b6015548411156116c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116bb90614b7d565b60405180910390fd5b60001515601660009054906101000a900460ff1615151461171a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611711906149bd565b60405180910390fd5b60011515601660019054906101000a900460ff16151514611770576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161176790614a7d565b60405180910390fd5b60145484601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546117be9190614d02565b11156117ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117f690614a9d565b60405180910390fd5b611873838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505060185433604051602001611858919061480f565b604051602081830303815290604052805190602001206126a7565b6118b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118a990614abd565b60405180910390fd5b836012546118c09190614d89565b3414611901576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118f890614bdd565b60405180910390fd5b83601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546119509190614d02565b9250508190555061196133856126be565b50505050565b6000600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054116119e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119e09061499d565b60405180910390fd5b60006119f48361245e565b8373ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401611a2d9190614887565b60206040518083038186803b158015611a4557600080fd5b505afa158015611a59573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a7d91906142fd565b611a879190614d02565b90506000611a9f8383611a9a87876114cb565b6127e5565b90506000811415611ae5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611adc90614a5d565b60405180910390fd5b80600f60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611b719190614d02565b9250508190555080600e60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611bc79190614d02565b92505081905550611bd9848483612e38565b8373ffffffffffffffffffffffffffffffffffffffff167f3be5b7a71e84ed12875d241991c70855ac5817d847039e17a9d895c1ceb0f18a8483604051611c21929190614917565b60405180910390a250505050565b601660009054906101000a900460ff1681565b6000611c4d82612ebe565b600001519050919050565b60125481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611cc6576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b611d3661099a565b73ffffffffffffffffffffffffffffffffffffffff16611d54611e8a565b73ffffffffffffffffffffffffffffffffffffffff1614611daa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611da190614add565b60405180910390fd5b611db4600061314d565b565b60135481565b611dc461099a565b73ffffffffffffffffffffffffffffffffffffffff16611de2611e8a565b73ffffffffffffffffffffffffffffffffffffffff1614611e38576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e2f90614add565b60405180910390fd5b8060188190555050565b6000600d8281548110611e5857611e576150bf565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611ebc61099a565b73ffffffffffffffffffffffffffffffffffffffff16611eda611e8a565b73ffffffffffffffffffffffffffffffffffffffff1614611f30576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f2790614add565b60405180910390fd5b8060128190555050565b606060038054611f4990614f31565b80601f0160208091040260200160405190810160405280929190818152602001828054611f7590614f31565b8015611fc25780601f10611f9757610100808354040283529160200191611fc2565b820191906000526020600020905b815481529060010190602001808311611fa557829003601f168201915b5050505050905090565b6000600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60145481565b61202361099a565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612088576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806007600061209561099a565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661214261099a565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516121879190614940565b60405180910390a35050565b61219e848484612947565b6121bd8373ffffffffffffffffffffffffffffffffffffffff16613213565b80156121d257506121d084848484613236565b155b15612209576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b61221761099a565b73ffffffffffffffffffffffffffffffffffffffff16612235611e8a565b73ffffffffffffffffffffffffffffffffffffffff161461228b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161228290614add565b60405180910390fd5b8060198190555050565b61229d61099a565b73ffffffffffffffffffffffffffffffffffffffff166122bb611e8a565b73ffffffffffffffffffffffffffffffffffffffff1614612311576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161230890614add565b60405180910390fd5b80601660016101000a81548160ff0219169083151502179055507f1764936847e7a31cd617c631a4758379574d9d75b90f32d133497a5dfe0f78648160405161235a9190614940565b60405180910390a150565b6060612370826126dc565b6123af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123a6906149dd565b60405180910390fd5b60006123b9613396565b905060008151116123d95760405180602001604052806000815250612407565b806123e384613428565b60116040516020016123f793929190614841565b6040516020818303038152906040525b915050919050565b6000600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6122b881565b6000600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000600a54905090565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61254d61099a565b73ffffffffffffffffffffffffffffffffffffffff1661256b611e8a565b73ffffffffffffffffffffffffffffffffffffffff16146125c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125b890614add565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612631576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126289061497d565b60405180910390fd5b61263a8161314d565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000826126b48584613589565b1490509392505050565b6126d88282604051806020016040528060008152506135fe565b5050565b6000816126e76127dc565b111580156126f6575060005482105b8015612723575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60006001905090565b600081600954600b60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054856128369190614d89565b6128409190614d58565b61284a9190614de3565b90509392505050565b80471015612896576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161288d90614a1d565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff16826040516128bc90614872565b60006040518083038185875af1925050503d80600081146128f9576040519150601f19603f3d011682016040523d82523d6000602084013e6128fe565b606091505b5050905080612942576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612939906149fd565b60405180910390fd5b505050565b600061295282612ebe565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff1661297961099a565b73ffffffffffffffffffffffffffffffffffffffff1614806129ac57506129ab82600001516129a661099a565b6124b1565b5b806129f157506129ba61099a565b73ffffffffffffffffffffffffffffffffffffffff166129d984610fda565b73ffffffffffffffffffffffffffffffffffffffff16145b905080612a2a576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff1614612a93576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612afa576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612b078585856001613610565b612b17600084846000015161272a565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550836004600085815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600085815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600184019050600073ffffffffffffffffffffffffffffffffffffffff166004600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415612dc857600054811015612dc75782600001516004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082602001516004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b50828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612e318585856001613616565b5050505050565b612eb98363a9059cbb60e01b8484604051602401612e57929190614917565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff838183161783525050505061361c565b505050565b612ec6613ce1565b600082905080612ed46127dc565b11158015612ee3575060005481105b15613116576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050806040015161311457600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612ff8578092505050613148565b5b60011561311357818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461310e578092505050613148565b612ff9565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261325c61099a565b8786866040518563ffffffff1660e01b815260040161327e94939291906148cb565b602060405180830381600087803b15801561329857600080fd5b505af19250505080156132c957506040513d601f19601f820116820180604052508101906132c691906141ed565b60015b613343573d80600081146132f9576040519150601f19603f3d011682016040523d82523d6000602084013e6132fe565b606091505b5060008151141561333b576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060601080546133a590614f31565b80601f01602080910402602001604051908101604052809291908181526020018280546133d190614f31565b801561341e5780601f106133f35761010080835404028352916020019161341e565b820191906000526020600020905b81548152906001019060200180831161340157829003601f168201915b5050505050905090565b60606000821415613470576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613584565b600082905060005b600082146134a257808061348b90614f94565b915050600a8261349b9190614d58565b9150613478565b60008167ffffffffffffffff8111156134be576134bd6150ee565b5b6040519080825280601f01601f1916602001820160405280156134f05781602001600182028036833780820191505090505b5090505b6000851461357d576001826135099190614de3565b9150600a856135189190615001565b60306135249190614d02565b60f81b81838151811061353a576135396150bf565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856135769190614d58565b94506134f4565b8093505050505b919050565b60008082905060005b84518110156135f35760008582815181106135b0576135af6150bf565b5b602002602001015190508083116135d2576135cb83826136e3565b92506135df565b6135dc81846136e3565b92505b5080806135eb90614f94565b915050613592565b508091505092915050565b61360b83838360016136fa565b505050565b50505050565b50505050565b600061367e826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16613ac89092919063ffffffff16565b90506000815111156136de578080602001905181019061369e9190614166565b6136dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136d490614bbd565b60405180910390fd5b5b505050565b600082600052816020526040600020905092915050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415613767576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008414156137a2576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6137af6000868387613610565b83600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060008190506000858201905083801561397957506139788773ffffffffffffffffffffffffffffffffffffffff16613213565b5b15613a3f575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46139ee6000888480600101955088613236565b613a24576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8082141561397f578260005414613a3a57600080fd5b613aab565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a480821415613a40575b816000819055505050613ac16000868387613616565b5050505050565b6060613ad78484600085613ae0565b90509392505050565b606082471015613b25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613b1c90614a3d565b60405180910390fd5b613b2e85613213565b613b6d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613b6490614b5d565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff168587604051613b96919061482a565b60006040518083038185875af1925050503d8060008114613bd3576040519150601f19603f3d011682016040523d82523d6000602084013e613bd8565b606091505b5091509150613be8828286613bf4565b92505050949350505050565b60608315613c0457829050613c54565b600083511115613c175782518084602001fd5b816040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613c4b919061495b565b60405180910390fd5b9392505050565b828054613c6790614f31565b90600052602060002090601f016020900481019282613c895760008555613cd0565b82601f10613ca257805160ff1916838001178555613cd0565b82800160010185558215613cd0579182015b82811115613ccf578251825591602001919060010190613cb4565b5b509050613cdd9190613d24565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b80821115613d3d576000816000905550600101613d25565b5090565b6000613d54613d4f84614c3d565b614c18565b905082815260208101848484011115613d7057613d6f61512c565b5b613d7b848285614eef565b509392505050565b6000613d96613d9184614c6e565b614c18565b905082815260208101848484011115613db257613db161512c565b5b613dbd848285614eef565b509392505050565b600081359050613dd4816155e6565b92915050565b600081359050613de9816155fd565b92915050565b60008083601f840112613e0557613e04615122565b5b8235905067ffffffffffffffff811115613e2257613e2161511d565b5b602083019150836020820283011115613e3e57613e3d615127565b5b9250929050565b600081359050613e5481615614565b92915050565b600081519050613e6981615614565b92915050565b600081359050613e7e8161562b565b92915050565b600081359050613e9381615642565b92915050565b600081519050613ea881615642565b92915050565b600082601f830112613ec357613ec2615122565b5b8135613ed3848260208601613d41565b91505092915050565b600081359050613eeb81615659565b92915050565b600082601f830112613f0657613f05615122565b5b8135613f16848260208601613d83565b91505092915050565b600081359050613f2e81615670565b92915050565b600081519050613f4381615670565b92915050565b600060208284031215613f5f57613f5e615136565b5b6000613f6d84828501613dc5565b91505092915050565b600060208284031215613f8c57613f8b615136565b5b6000613f9a84828501613dda565b91505092915050565b60008060408385031215613fba57613fb9615136565b5b6000613fc885828601613dc5565b9250506020613fd985828601613dc5565b9150509250929050565b600080600060608486031215613ffc57613ffb615136565b5b600061400a86828701613dc5565b935050602061401b86828701613dc5565b925050604061402c86828701613f1f565b9150509250925092565b600080600080608085870312156140505761404f615136565b5b600061405e87828801613dc5565b945050602061406f87828801613dc5565b935050604061408087828801613f1f565b925050606085013567ffffffffffffffff8111156140a1576140a0615131565b5b6140ad87828801613eae565b91505092959194509250565b600080604083850312156140d0576140cf615136565b5b60006140de85828601613dc5565b92505060206140ef85828601613e45565b9150509250929050565b600080604083850312156141105761410f615136565b5b600061411e85828601613dc5565b925050602061412f85828601613f1f565b9150509250929050565b60006020828403121561414f5761414e615136565b5b600061415d84828501613e45565b91505092915050565b60006020828403121561417c5761417b615136565b5b600061418a84828501613e5a565b91505092915050565b6000602082840312156141a9576141a8615136565b5b60006141b784828501613e6f565b91505092915050565b6000602082840312156141d6576141d5615136565b5b60006141e484828501613e84565b91505092915050565b60006020828403121561420357614202615136565b5b600061421184828501613e99565b91505092915050565b6000602082840312156142305761422f615136565b5b600061423e84828501613edc565b91505092915050565b6000806040838503121561425e5761425d615136565b5b600061426c85828601613edc565b925050602061427d85828601613dc5565b9150509250929050565b60006020828403121561429d5761429c615136565b5b600082013567ffffffffffffffff8111156142bb576142ba615131565b5b6142c784828501613ef1565b91505092915050565b6000602082840312156142e6576142e5615136565b5b60006142f484828501613f1f565b91505092915050565b60006020828403121561431357614312615136565b5b600061432184828501613f34565b91505092915050565b60008060006040848603121561434357614342615136565b5b600061435186828701613f1f565b935050602084013567ffffffffffffffff81111561437257614371615131565b5b61437e86828701613def565b92509250509250925092565b61439381614eb9565b82525050565b6143a281614e17565b82525050565b6143b96143b482614e17565b614fdd565b82525050565b6143c881614e3b565b82525050565b60006143d982614cb4565b6143e38185614cca565b93506143f3818560208601614efe565b6143fc8161513b565b840191505092915050565b600061441282614cb4565b61441c8185614cdb565b935061442c818560208601614efe565b80840191505092915050565b600061444382614cbf565b61444d8185614ce6565b935061445d818560208601614efe565b6144668161513b565b840191505092915050565b600061447c82614cbf565b6144868185614cf7565b9350614496818560208601614efe565b80840191505092915050565b600081546144af81614f31565b6144b98186614cf7565b945060018216600081146144d457600181146144e557614518565b60ff19831686528186019350614518565b6144ee85614c9f565b60005b83811015614510578154818901526001820191506020810190506144f1565b838801955050505b50505092915050565b600061452e602683614ce6565b915061453982615159565b604082019050919050565b6000614551602683614ce6565b915061455c826151a8565b604082019050919050565b6000614574601283614ce6565b915061457f826151f7565b602082019050919050565b6000614597601883614ce6565b91506145a282615220565b602082019050919050565b60006145ba603a83614ce6565b91506145c582615249565b604082019050919050565b60006145dd601d83614ce6565b91506145e882615298565b602082019050919050565b6000614600602683614ce6565b915061460b826152c1565b604082019050919050565b6000614623602b83614ce6565b915061462e82615310565b604082019050919050565b6000614646602183614ce6565b91506146518261535f565b604082019050919050565b6000614669601583614ce6565b9150614674826153ae565b602082019050919050565b600061468c601483614ce6565b9150614697826153d7565b602082019050919050565b60006146af602083614ce6565b91506146ba82615400565b602082019050919050565b60006146d2601383614ce6565b91506146dd82615429565b602082019050919050565b60006146f5601183614ce6565b915061470082615452565b602082019050919050565b6000614718602383614ce6565b91506147238261547b565b604082019050919050565b600061473b600083614cdb565b9150614746826154ca565b600082019050919050565b600061475e601d83614ce6565b9150614769826154cd565b602082019050919050565b6000614781602283614ce6565b915061478c826154f6565b604082019050919050565b60006147a4601083614ce6565b91506147af82615545565b602082019050919050565b60006147c7602a83614ce6565b91506147d28261556e565b604082019050919050565b60006147ea601183614ce6565b91506147f5826155bd565b602082019050919050565b61480981614eaf565b82525050565b600061481b82846143a8565b60148201915081905092915050565b60006148368284614407565b915081905092915050565b600061484d8286614471565b91506148598285614471565b915061486582846144a2565b9150819050949350505050565b600061487d8261472e565b9150819050919050565b600060208201905061489c6000830184614399565b92915050565b60006040820190506148b7600083018561438a565b6148c46020830184614800565b9392505050565b60006080820190506148e06000830187614399565b6148ed6020830186614399565b6148fa6040830185614800565b818103606083015261490c81846143ce565b905095945050505050565b600060408201905061492c6000830185614399565b6149396020830184614800565b9392505050565b600060208201905061495560008301846143bf565b92915050565b600060208201905081810360008301526149758184614438565b905092915050565b6000602082019050818103600083015261499681614521565b9050919050565b600060208201905081810360008301526149b681614544565b9050919050565b600060208201905081810360008301526149d681614567565b9050919050565b600060208201905081810360008301526149f68161458a565b9050919050565b60006020820190508181036000830152614a16816145ad565b9050919050565b60006020820190508181036000830152614a36816145d0565b9050919050565b60006020820190508181036000830152614a56816145f3565b9050919050565b60006020820190508181036000830152614a7681614616565b9050919050565b60006020820190508181036000830152614a9681614639565b9050919050565b60006020820190508181036000830152614ab68161465c565b9050919050565b60006020820190508181036000830152614ad68161467f565b9050919050565b60006020820190508181036000830152614af6816146a2565b9050919050565b60006020820190508181036000830152614b16816146c5565b9050919050565b60006020820190508181036000830152614b36816146e8565b9050919050565b60006020820190508181036000830152614b568161470b565b9050919050565b60006020820190508181036000830152614b7681614751565b9050919050565b60006020820190508181036000830152614b9681614774565b9050919050565b60006020820190508181036000830152614bb681614797565b9050919050565b60006020820190508181036000830152614bd6816147ba565b9050919050565b60006020820190508181036000830152614bf6816147dd565b9050919050565b6000602082019050614c126000830184614800565b92915050565b6000614c22614c33565b9050614c2e8282614f63565b919050565b6000604051905090565b600067ffffffffffffffff821115614c5857614c576150ee565b5b614c618261513b565b9050602081019050919050565b600067ffffffffffffffff821115614c8957614c886150ee565b5b614c928261513b565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000614d0d82614eaf565b9150614d1883614eaf565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614d4d57614d4c615032565b5b828201905092915050565b6000614d6382614eaf565b9150614d6e83614eaf565b925082614d7e57614d7d615061565b5b828204905092915050565b6000614d9482614eaf565b9150614d9f83614eaf565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614dd857614dd7615032565b5b828202905092915050565b6000614dee82614eaf565b9150614df983614eaf565b925082821015614e0c57614e0b615032565b5b828203905092915050565b6000614e2282614e8f565b9050919050565b6000614e3482614e8f565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6000614e8882614e17565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b6000614ec482614ecb565b9050919050565b6000614ed682614edd565b9050919050565b6000614ee882614e8f565b9050919050565b82818337600083830152505050565b60005b83811015614f1c578082015181840152602081019050614f01565b83811115614f2b576000848401525b50505050565b60006002820490506001821680614f4957607f821691505b60208210811415614f5d57614f5c615090565b5b50919050565b614f6c8261513b565b810181811067ffffffffffffffff82111715614f8b57614f8a6150ee565b5b80604052505050565b6000614f9f82614eaf565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614fd257614fd1615032565b5b600182019050919050565b6000614fe882614fef565b9050919050565b6000614ffa8261514c565b9050919050565b600061500c82614eaf565b915061501783614eaf565b92508261502757615026615061565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060008201527f7368617265730000000000000000000000000000000000000000000000000000602082015250565b7f53616c65206973206e6f74206163746976650000000000000000000000000000600082015250565b7f4e6f6e6578697374656e7420746f6b656e207175657279210000000000000000600082015250565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b7f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060008201527f647565207061796d656e74000000000000000000000000000000000000000000602082015250565b7f496e63756261746f726c6973742073616c65206973206e6f742061637469766560008201527f2100000000000000000000000000000000000000000000000000000000000000602082015250565b7f43616e2774206d696e742074686174206d616e79210000000000000000000000600082015250565b7f4e6f74206f6e20496e63756261746f726c697374000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f53616c65206973206e6f74206163746976652100000000000000000000000000600082015250565b7f4e6f74206f6e2057686974656c69737421000000000000000000000000000000600082015250565b7f4e6f207472616e73616374696f6e2066726f6d20736d61727420636f6e74726160008201527f6374730000000000000000000000000000000000000000000000000000000000602082015250565b50565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b7f4d6178206d696e7420706572207472616e73616374696f6e206578636565646560008201527f6421000000000000000000000000000000000000000000000000000000000000602082015250565b7f43616e2774206d696e74207a65726f2100000000000000000000000000000000600082015250565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b7f57726f6e672045544820616d6f756e7421000000000000000000000000000000600082015250565b6155ef81614e17565b81146155fa57600080fd5b50565b61560681614e29565b811461561157600080fd5b50565b61561d81614e3b565b811461562857600080fd5b50565b61563481614e47565b811461563f57600080fd5b50565b61564b81614e51565b811461565657600080fd5b50565b61566281614e7d565b811461566d57600080fd5b50565b61567981614eaf565b811461568457600080fd5b5056fea2646970667358221220dcdb276a9823b6131bc6e081fe4d37944c458bf1fe857f0a35846508c088baf664736f6c63430008070033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d5033316a71536235694750514737506b6b6a5a6f4134355747514b316e523547504a56325a376735324e66622f00000000000000000000

-----Decoded View---------------
Arg [0] : _initBaseURI (string): ipfs://QmP31jqSb5iGPQG7PkkjZoA45WGQK1nR5GPJV2Z7g52Nfb/

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [2] : 697066733a2f2f516d5033316a71536235694750514737506b6b6a5a6f413435
Arg [3] : 5747514b316e523547504a56325a376735324e66622f00000000000000000000


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

Txn Hash Block Value Eth2 PubKey Valid
View All Deposits
[ 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.