MATIC Price: $0.68 (+0.35%)
Gas: 65 GWei
 

Overview

MATIC Balance

Polygon PoS Chain LogoPolygon PoS Chain LogoPolygon PoS Chain Logo0 MATIC

MATIC Value

$0.00

Sponsored

Transaction Hash
Method
Block
From
To
Value
Mint Token468646962023-08-28 17:24:38235 days ago1693243478IN
0x31dEa8a3...533aB1fD2
0 MATIC0.02341387125
Mint Token435661382023-06-05 17:50:28319 days ago1685987428IN
0x31dEa8a3...533aB1fD2
0 MATIC0.03703934197.74247219
Mint Token435652742023-06-05 17:17:20319 days ago1685985440IN
0x31dEa8a3...533aB1fD2
0 MATIC0.02837521151.48719348
Mint Token434616512023-06-03 0:03:16321 days ago1685750596IN
0x31dEa8a3...533aB1fD2
0 MATIC0.02661507142.0903145
Mint Token434573422023-06-02 20:42:41322 days ago1685738561IN
0x31dEa8a3...533aB1fD2
0 MATIC0.03096215181.9045656
Mint Token433827492023-05-31 21:33:09324 days ago1685568789IN
0x31dEa8a3...533aB1fD2
0 MATIC0.0278365163.54115465
Mint Token433824802023-05-31 21:23:15324 days ago1685568195IN
0x31dEa8a3...533aB1fD2
0 MATIC0.02442695143.50986832
Mint Token433816542023-05-31 20:53:59324 days ago1685566439IN
0x31dEa8a3...533aB1fD2
0 MATIC0.02469101145.06121955
Mint Token433806672023-05-31 20:18:59324 days ago1685564339IN
0x31dEa8a3...533aB1fD2
0 MATIC0.02574378151.24627725
Mint Token433798862023-05-31 19:50:13324 days ago1685562613IN
0x31dEa8a3...533aB1fD2
0 MATIC0.02581462151.66251171
Mint Token433797292023-05-31 19:44:18324 days ago1685562258IN
0x31dEa8a3...533aB1fD2
0 MATIC0.02676503142.89090068
Mint Token433795172023-05-31 19:36:42324 days ago1685561802IN
0x31dEa8a3...533aB1fD2
0 MATIC0.03058747163.29781905
Mint Token433792862023-05-31 19:28:08324 days ago1685561288IN
0x31dEa8a3...533aB1fD2
0 MATIC0.02843438167.05374587
Mint Token433784502023-05-31 18:56:56324 days ago1685559416IN
0x31dEa8a3...533aB1fD2
0 MATIC0.02653628141.66967881
Mint Token433485002023-05-31 1:03:04324 days ago1685494984IN
0x31dEa8a3...533aB1fD2
0 MATIC0.02687302143.46743879
Mint Token433483302023-05-31 0:56:53324 days ago1685494613IN
0x31dEa8a3...533aB1fD2
0 MATIC0.0291703155.73195537
Mint Token433479552023-05-31 0:42:54324 days ago1685493774IN
0x31dEa8a3...533aB1fD2
0 MATIC0.02606048139.12951038
Mint Token433479402023-05-31 0:42:22324 days ago1685493742IN
0x31dEa8a3...533aB1fD2
0 MATIC0.02532309135.1927843
Mint Token433470622023-05-31 0:10:51324 days ago1685491851IN
0x31dEa8a3...533aB1fD2
0 MATIC0.02801137149.54476675
Mint Token433470382023-05-31 0:09:59324 days ago1685491799IN
0x31dEa8a3...533aB1fD2
0 MATIC0.02804865149.74377877
Mint Token433470122023-05-31 0:09:05324 days ago1685491745IN
0x31dEa8a3...533aB1fD2
0 MATIC0.02575416137.49415987
Mint Token433432322023-05-30 21:52:22325 days ago1685483542IN
0x31dEa8a3...533aB1fD2
0 MATIC0.02673778142.7454064
Mint Token433430882023-05-30 21:47:15325 days ago1685483235IN
0x31dEa8a3...533aB1fD2
0 MATIC0.02648362141.38851845
Mint Token433430332023-05-30 21:45:13325 days ago1685483113IN
0x31dEa8a3...533aB1fD2
0 MATIC0.02823538150.74069225
Mint Token433401202023-05-30 19:59:07325 days ago1685476747IN
0x31dEa8a3...533aB1fD2
0 MATIC0.04552328243.03580702
View all transactions

Parent Txn Hash Block From To Value
View All Internal Transactions
Loading...
Loading

Similar Match Source Code
This contract matches the deployed Bytecode of the Source Code for Contract 0xD17aD06c...8d365e2CD
The constructor portion of the code might be different and could alter the actual behaviour of the contract

Contract Name:
s54nft_erc721_v4

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity Multiple files format)

File 1 of 13: 54nft_erc721_v4.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.7.0;

import "./basicERC20.sol";
import "./ERC721URIStorage.sol";
import "./verifySignature.sol";

contract s54nft_erc721_v4 is ERC721URIStorage, VerifySignature {
    
    using Strings for uint256;

    address public creator;
    address public moderator;

    bool    public onlyWhiteListed   = false;
    bool    public allowDirectMint   = false;

    uint256 public creRoyalties      = 200; //it's cuz has 2 decimal = 2.00
    uint256 public modFirstRoyalties = 200;
    uint256 public modRoyalties      = 200;
    
    uint256 public drop       = 0;
    uint256 public maxMint    = 0;
    uint256 public maxSupply  = 0;
    uint256 public supply     = 0;
    uint256 public cost       = 0.001 ether;

    uint256 public lastNonce  = 0;

    uint256 public modTime    = 7 days;

    uint8   public version    = 4;
    
    mapping(address => bool) public whiteList;
    
    mapping(uint256 => uint8) internal usedNonce;
    mapping(uint256 => uint256) internal lastTransact;

    event nftMinted(address to, uint256 count, address payToken, uint256 payAmount, uint256[] tokenIds);

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

    constructor(string memory name, string memory symbol, address setCreator, address setModerator,
                uint256 setModFirstRoyalties, uint256 setModRoyalties, uint256 setCreRoyalties ,
                uint256 setCost, uint256 setMaxSuplly, uint256 limitDrop, uint256 limitMint) ERC721(name, symbol) {
        
        creator             = setCreator;
        creRoyalties        = setCreRoyalties;
        moderator           = setModerator;
        modFirstRoyalties   = setModFirstRoyalties;
        modRoyalties        = setModRoyalties;

        drop                = limitDrop;
        maxMint             = limitMint;
        maxSupply           = setMaxSuplly;
        cost                = setCost;

    }
    
    function modifModRoyalties(uint256 royalties) public onlyModerator {
        modRoyalties = royalties;
    }
    
    function modifCreRoyalties(uint256 royalties) public onlyCreator {
        creRoyalties = royalties;
    }
    
    function modifCost(uint256 setCost) public onlyCreator {
        cost = setCost;
    }

    function setDirectMint(bool setDriect) public onlyModerator {
        allowDirectMint = setDriect;
    }

    function setOnlyWL(bool setWLonly) public onlyModerator {
        onlyWhiteListed = setWLonly;
    }

    function addToWl(address[] memory list) public onlyModerator {
        uint256 count = list.length;
        for (uint256 i = 0; i < count; i++) {
            if(whiteList[list[i]] == false){
                whiteList[list[i]] = true;
            }
        }
    }
    
    function _setBaseURI(string memory _uri) public onlyModerator {
        _baseURIstr = _uri;
    }

    function calcShares(address tokenOwner, uint256 amount) private view returns(uint256 [] memory) {
        
        uint256 svalue = amount;
        uint256[] memory shares = new uint256[](3);

        if(amount < 10000){
            svalue = svalue * 10000;
        }

        if(tokenOwner == creator){
           
            shares[0] = svalue / 10000 * (10000 - modFirstRoyalties); //creator share
           
            if(amount < 10000){
                shares[0] = shares[0] / 10000;
                shares[1] = amount - shares[0];
            } else {
                shares[1] = svalue - shares[0]; //moderator share
            }

            return shares;  

        } else {
            
            uint256 totShares = creRoyalties + modRoyalties;
            
            uint256 shareable =  svalue / 10000 * totShares;
            
            shares[0] = shareable / totShares * creRoyalties; //creator share
            shares[1] = shareable - shares[0]; //moderator share
            
            shares[2] = amount - shareable; // seller share

            if(amount < 10000){
                shares[0] = shares[0] / 10000;
                shares[1] = shares[1] / 10000;
                shares[2] = shares[2] / 10000;
            }

            return shares; 
            
        }
    }
    
    function distribShares(address tokenOwner, address payToken, uint256 amount) internal {
        //require(msg.value >= cost, "Amount send not enough");

        if(amount > 0){

            uint256[] memory _shares = calcShares(tokenOwner, amount);
            
            if(payToken == address(0)){
                
                if(tokenOwner != creator && _shares[2] > 0){
                    //payable(tokenOwner).transfer(shares[2]);
                    require(payable(tokenOwner).send(_shares[2]));
                }
                if(_shares[0] > 0){
                    //payable(creator).transfer( _shares[0]);
                    require(payable(creator).send(_shares[0]));
                }
                if(_shares[1] > 0){
                    //payable(moderator).transfer(_shares[1]);
                    require(payable(moderator).send(_shares[1]));
                }
                
            } else {

                ERC20 t = ERC20(payToken);
                
                require(t.transferFrom(msg.sender, address(this), amount));
                                
                if(tokenOwner != creator  && _shares[2] > 0){
                    require(t.transfer(tokenOwner, _shares[2]));
                }
                if(_shares[0] > 0){
                    require(t.transfer(creator, _shares[0]));
                }
                if(_shares[1] > 0){
                    require(t.transfer(moderator, _shares[1]));
                }
                
            }

        }

    }

    function directMint(uint256 amount) public payable returns (uint256[] memory){
        require(allowDirectMint == true,"No direct Mint");
        string[] memory a;
        uint256[] memory b;
        return mintToken(msg.sender,a,b,address(0),0,amount,"");
    }
    
    function mintToken(address reciver, string[] memory optionalURI, uint256[] memory optionalId, address payToken,
                        uint256 payAmount, uint256 nonce, bytes memory data)
        public
        payable
        returns (uint256[] memory)
    {
        
        uint256 count = 1;
        if(allowDirectMint == false){
            count = optionalURI.length;
        } else {
            count = nonce;
        }

        uint256[] memory tokenIds = new uint256[](count);

        if(maxSupply != 0){
            require(supply + (count - 1) < maxSupply, "Max supply reached");
        }

        if(msg.value > 0 && payToken == address(0)){
            payAmount = msg.value;
        }

        // if(allowDirectMint == false){
            if(msg.sender != moderator && msg.sender != creator && allowDirectMint == false){
                lognonce(nonce);
                require(verifyMint(moderator, reciver, payToken, payAmount, optionalURI, optionalId, nonce, data), "Not allowed");
            }
        // }

        if(drop > 0){
            require(supply + count <= drop, "Drop limit");
        }

        if(cost > 0 && (msg.sender != moderator || msg.sender != creator)){
            require(payAmount >= cost,"Amount send underpriced");
        }

        if(onlyWhiteListed == true){
            require(whiteList[msg.sender] == true,"Not whitelisted");
        }

        if(maxMint > 0){
            require((balanceOf(msg.sender) + count) <= maxMint, "maxMint Limit");
        }

        distribShares(creator, payToken, payAmount);

        for (uint256 i = 0; i < count; i++) {
            
            supply += 1;

            uint256 tmpid = supply; // supply as item id

            if(allowDirectMint == false){
                if( optionalId[i] > 0 ){                
                    tmpid = optionalId[i];
                }
            }

            if(_exists(tmpid) == false){
                tokenIds[i] = tmpid;
                _mint(reciver, tmpid);
                if(allowDirectMint == false && keccak256(abi.encodePacked(optionalURI[i])) != keccak256(abi.encodePacked(""))){                   
                    _setTokenURI(tmpid, optionalURI[i]);
                } else {
                    _setTokenURI(tmpid, tmpid.toString());
                }
                lastTransact[tmpid]=block.timestamp;
            } else {
                revert("TokenId Used");
            }

        }

        emit nftMinted(reciver, count, payToken, payAmount, tokenIds);
        return tokenIds;

    }

    function buy(
        address from,
        uint256 tokenid,
        address reciver,
        address payToken,
        uint256 payAmount,
        uint256 nonce,
        bytes memory data
    ) public payable {

        if(msg.value > 0 && payToken == address(0)){
            payAmount = msg.value;
        }

        if(msg.sender != moderator){
            lognonce(nonce);
            require(verifyBuy(moderator, from, tokenid, reciver, payToken, payAmount, nonce, data), "Not allowed");
        }

        distribShares(from, payToken, payAmount);

        _transfer(from, reciver, tokenid);

        lastTransact[tokenid]=block.timestamp;

    }
    
    function transferFrom(
        address from,
        address to,
        uint256 tokenid
    ) public payable virtual override {

        ifAllOk(tokenid);
        
        distribShares(ownerOf(tokenid), address(0), msg.value);
        
        _transfer(from, to, tokenid);

        lastTransact[tokenid] = block.timestamp;

    }
    
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public payable virtual override {
        safeTransferFrom(from, to, tokenId, "");
    }
    
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenid,
        bytes memory _data
    ) public payable virtual override {

        ifAllOk(tokenid);
        
        distribShares(from, address(0), msg.value);

        _safeTransfer(from, to, tokenid, _data);

        lastTransact[tokenid]=block.timestamp;
        
    }

    function burn(uint256 tokenid) public virtual {
        ifAllOk(tokenid);
        _burn(tokenid);
    }

    function totalSupply() public view returns (uint256) {
        return maxSupply;
    }

    function approveSpendERC20(address token, address spender, uint256 value)
        public onlyModerator returns (bool)
    {
        ERC20 t = ERC20(token);
        return t.approve(spender, value);
    }
    
    function withdraw() public payable onlyModerator {
        require(payable(msg.sender).send(address(this).balance));
    }

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

    /**
     * @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 onlyCreator {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _setOwner(newOwner);
    }

    function _setOwner(address newOwner) private {
        address oldOwner = creator;
        creator = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }

    function setDrop(uint256 amount) public onlyModerator {
        require(amount >= supply && amount <= maxSupply,"Wrong Amount");
        drop = amount;
    }

    modifier onlyCreator {
        require(msg.sender == creator, "Only owner function");
        _;
    }
    
    modifier onlyModerator {
        require(msg.sender == moderator, "Only Moderator Function");
        _;
    }
    function ifAprovedOrOwner(uint256 tokenid) private view {
        require(_isApprovedOrOwner(_msgSender(), tokenid), "ERC721: caller is not owner nor approved");
    }

    function ifcanModerate(uint256 tokenid) private view {
        require(lastTransact[tokenid] + modTime > block.timestamp, "Moderation time over");
    }

    function ifAllOk(uint256 tokenid) internal view {
        if(msg.sender != moderator ){
            ifAprovedOrOwner(tokenid);
        } else {
            ifcanModerate(tokenid);
        }
    }

    function lognonce(uint256 nonce) internal {
        require(usedNonce[nonce] != 1, "Nonce already Used");
        if(nonce > lastNonce){
            lastNonce = nonce;
        }
        usedNonce[nonce] = 1;
    }
    
}

File 2 of 13: Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 3 of 13: basicERC20.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

abstract contract ERC20Basic {
  function totalSupply() public virtual view returns (uint256);
  function balanceOf(address who) public virtual view returns (uint256);
  function transfer(address to, uint256 value) public virtual returns (bool);
  event Transfer(address indexed from, address indexed to, uint256 value);
}

abstract contract ERC20 is ERC20Basic {
  function allowance(address owner, address spender)
    public virtual view returns (uint256);

  function transferFrom(address from, address to, uint256 value)
    public virtual returns (bool);

  function approve(address spender, uint256 value) public virtual returns (bool);
  event Approval(
    address indexed owner,
    address indexed spender,
    uint256 value
  );
}

File 4 of 13: Context.sol
// SPDX-License-Identifier: MIT

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 5 of 13: ERC165.sol
// SPDX-License-Identifier: MIT

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 6 of 13: ERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC721.sol";
import "./IERC721Metadata.sol";
import "./Address.sol";
import "./Context.sol";
import "./Strings.sol";
import "./ERC165.sol";
import "./IERC721Receiver.sol";

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension, but not including the Enumerable extension, which is available separately as
 * {ERC721Enumerable}.
 */
abstract contract ERC721 is Context, ERC165, IERC721 {
    using Address for address;
    using Strings for uint256;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    string internal _baseURIstr = "https://ipfs.io/ipfs/";

    // Mapping from token ID to owner address
    mapping(uint256 => address) internal _owners;

    // Mapping owner address to token count
    mapping(address => uint256) private _balances;

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

    /**
     * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    /**
     * @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 virtual override returns (uint256) {
        require(owner != address(0), "ERC721: balance query for the zero address");
        return _balances[owner];
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        address owner = _owners[tokenId];
        require(owner != address(0), "ERC721: owner query for nonexistent token");
        return owner;
    }

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

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

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual returns (string memory) {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");

        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 _baseURIstr;
    }

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public virtual override {
        address owner = ERC721.ownerOf(tokenId);
        require(to != owner, "ERC721: approval to current owner");

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

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        require(_exists(tokenId), "ERC721: approved query for nonexistent token");

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        require(operator != _msgSender(), "ERC721: approve to caller");

        _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 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.
     *
     * `_data` is additional data, it has no specified format and it is sent in call to `to`.
     *
     * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
     * implement alternative mechanisms to perform token transfer, such as signature-based.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeTransfer(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _transfer(from, to, tokenId);
        require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer");
    }

    /**
     * @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`),
     * and stop existing when they are burned (`_burn`).
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return _owners[tokenId] != address(0);
    }

    /**
     * @dev Returns whether `spender` is allowed to manage `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {
        require(_exists(tokenId), "ERC721: operator query for nonexistent token");
        address owner = ERC721.ownerOf(tokenId);
        return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender));
    }

    /**
     * @dev Safely mints `tokenId` and transfers it to `to`.
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(address to, uint256 tokenId) internal virtual {
        _safeMint(to, tokenId, "");
    }

    /**
     * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is
     * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
     */
    function _safeMint(
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _mint(to, tokenId);
        require(
            _checkOnERC721Received(address(0), to, tokenId, _data),
            "ERC721: transfer to non ERC721Receiver implementer"
        );
    }

    /**
     * @dev Mints `tokenId` and transfers it to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - `to` cannot be the zero address.
     *
     * Emits a {Transfer} event.
     */
    function _mint(address to, uint256 tokenId) internal virtual {
        require(to != address(0), "ERC721: mint to the zero address");
        require(!_exists(tokenId), "ERC721: token already minted");

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

        _balances[to] += 1;
        _owners[tokenId] = to;

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

    /**
     * @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 {
        address owner = ERC721.ownerOf(tokenId);

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

        // Clear approvals
        _approve(address(0), tokenId);

        _balances[owner] -= 1;
        delete _owners[tokenId];

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

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *  As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
     *
     * 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
    ) internal virtual {
        require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own");
        require(to != address(0), "ERC721: transfer to the zero address");

        _beforeTokenTransfer(from, to, tokenId);

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

        _balances[from] -= 1;
        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);
    }

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

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
     * The call is not executed if the target address is not a 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 _checkOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        if (to.isContract()) {
            try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
                return retval == IERC721Receiver.onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert("ERC721: transfer to non ERC721Receiver implementer");
                } else {
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning.
     *
     * 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, ``from``'s `tokenId` will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}
}

File 7 of 13: ERC721URIStorage.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./ERC721.sol";

/**
 * @dev ERC721 token with storage based token URI management.
 */
abstract contract ERC721URIStorage is ERC721 {
    using Strings for uint256;

    // Optional mapping for token URIs
    mapping(uint256 => string) private _tokenURIs;

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        require(_exists(tokenId), "ERC721URIStorage: URI query for nonexistent token");

        string memory _tokenURI = _tokenURIs[tokenId];
        string memory base = _baseURI();

        // If there is no base URI, return the token URI.
        if (bytes(base).length == 0) {
            return _tokenURI;
        }
        // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked).
        if (bytes(_tokenURI).length > 0) {
            return string(abi.encodePacked(base, _tokenURI));
        }

        return super.tokenURI(tokenId);
    }

    /**
     * @dev Sets `_tokenURI` as the tokenURI of `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual {
        require(_exists(tokenId), "ERC721URIStorage: URI set of nonexistent token");
        _tokenURIs[tokenId] = _tokenURI;
    }

    /**
     * @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 override {
        super._burn(tokenId);

        if (bytes(_tokenURIs[tokenId]).length != 0) {
            delete _tokenURIs[tokenId];
        }
    }
}

File 8 of 13: IERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

File 9 of 13: IERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./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 payable;

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

    /**
     * @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 payable;
}

File 10 of 13: IERC721Metadata.sol
// SPDX-License-Identifier: MIT

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 11 of 13: IERC721Receiver.sol
// SPDX-License-Identifier: MIT

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 12 of 13: Strings.sol
// SPDX-License-Identifier: MIT

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 13: verifySignature.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.3;

/* Signature Verification

How to Sign and Verify
# Signing
1. Create message to sign
2. Hash the message
3. Sign the hash (off chain, keep your private key secret)

# Verify
1. Recreate hash from the original message
2. Recover signer from signature and hash
3. Compare recovered signer to claimed signer
*/

contract VerifySignature {
    /* 1. Unlock MetaMask account
    ethereum.enable()
    */

    /* 2. Get message hash to sign
    getMessageHash(
        0x14723A09ACff6D2A60DcdF7aA4AFf308FDDC160C,
        123,
        "coffee and donuts",
        1
    )
    

    hash = "0xcf36ac4f97dc10d91fc2cbb20d718e94a8cbfe0f82eaedc6a4aa38946fb797cd"
    */
    
    function getBuyMessageHash(
        address from,
        uint256 tokenid,
        address reciver,
        address payToken,
        uint256 payAmount,
        uint256 _nonce
    ) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked(from, tokenid, reciver, payToken, payAmount, _nonce));
    }
    
    function getMintMessageHash(
        address _reciver,
        address _payToken,
        uint256 _value,
        string[] memory _tokenURI,
        uint256[] memory optionalId,
        uint256 _nonce
    ) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked(_reciver, _payToken, _value, abi.encode(_tokenURI), optionalId, _nonce));
    }

    /* 3. Sign message hash
    # using browser
    account = "copy paste account of signer here"
    ethereum.request({ method: "personal_sign", params: [account, hash]}).then(console.log)

    # using web3
    web3.personal.sign(hash, web3.eth.defaultAccount, console.log)

    Signature will be different for different accounts
    0x993dab3dd91f5c6dc28e17439be475478f5635c92a56e17e82349d3fb2f166196f466c0b4e0c146f285204f0dcb13e5ae67bc33f4b888ec32dfe0a063e8f3f781b
    */
    function getEthSignedMessageHash(bytes32 _messageHash)
        internal
        pure
        returns (bytes32)
    {
        /*
        Signature is produced by signing a keccak256 hash with the following format:
        "\x19Ethereum Signed Message\n" + len(msg) + msg
        */
        return
            keccak256(
                abi.encodePacked("\x19Ethereum Signed Message:\n32", _messageHash)
            );
    }

    /* 4. Verify signature
    signer = 0xB273216C05A8c0D4F0a4Dd0d7Bae1D2EfFE636dd
    to = 0x14723A09ACff6D2A60DcdF7aA4AFf308FDDC160C
    amount = 123
    message = "coffee and donuts"
    nonce = 1
    signature =
        0x993dab3dd91f5c6dc28e17439be475478f5635c92a56e17e82349d3fb2f166196f466c0b4e0c146f285204f0dcb13e5ae67bc33f4b888ec32dfe0a063e8f3f781b
    */
    function verifyBuy(
        address _signer,
        address from,
        uint256 tokenid,
        address reciver,
        address payToken,
        uint256 payAmount,
        uint256 _nonce,
        bytes memory signature
    ) internal pure returns (bool) {
        bytes32 messageHash = getBuyMessageHash(from, tokenid, reciver, payToken, payAmount, _nonce);
        bytes32 ethSignedMessageHash = getEthSignedMessageHash(messageHash);
        return recoverSigner(ethSignedMessageHash, signature) == _signer;
    }
    
    function verifyMint(
        address _signer,
        address _reciver,
        address _payToken,
        uint256 _value,
        string[] memory tokenURI,
        uint256[] memory optionalId,
        uint256 _nonce,
        bytes memory signature
    ) internal pure returns (bool) {
        bytes32 messageHash = getMintMessageHash(_reciver, _payToken, _value, tokenURI, optionalId, _nonce);
        bytes32 ethSignedMessageHash = getEthSignedMessageHash(messageHash);
        return recoverSigner(ethSignedMessageHash, signature) == _signer;
    }

    function recoverSigner(bytes32 _ethSignedMessageHash, bytes memory _signature)
        internal
        pure
        returns (address)
    {
        (bytes32 r, bytes32 s, uint8 v) = splitSignature(_signature);

        return ecrecover(_ethSignedMessageHash, v, r, s);
    }

    function splitSignature(bytes memory sig)
        internal
        pure
        returns (
            bytes32 r,
            bytes32 s,
            uint8 v
        )
    {
        require(sig.length == 65, "invalid signature length");

        assembly {
            /*
            First 32 bytes stores the length of the signature

            add(sig, 32) = pointer of sig + 32
            effectively, skips first 32 bytes of signature

            mload(p) loads next 32 bytes starting at the memory address p into memory
            */

            // first 32 bytes, after the length prefix
            r := mload(add(sig, 32))
            // second 32 bytes
            s := mload(add(sig, 64))
            // final byte (first byte of the next 32 bytes)
            v := byte(0, mload(add(sig, 96)))
        }

        // implicitly return (r, s, v)
    }
    
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"address","name":"setCreator","type":"address"},{"internalType":"address","name":"setModerator","type":"address"},{"internalType":"uint256","name":"setModFirstRoyalties","type":"uint256"},{"internalType":"uint256","name":"setModRoyalties","type":"uint256"},{"internalType":"uint256","name":"setCreRoyalties","type":"uint256"},{"internalType":"uint256","name":"setCost","type":"uint256"},{"internalType":"uint256","name":"setMaxSuplly","type":"uint256"},{"internalType":"uint256","name":"limitDrop","type":"uint256"},{"internalType":"uint256","name":"limitMint","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":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":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"count","type":"uint256"},{"indexed":false,"internalType":"address","name":"payToken","type":"address"},{"indexed":false,"internalType":"uint256","name":"payAmount","type":"uint256"},{"indexed":false,"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"nftMinted","type":"event"},{"inputs":[{"internalType":"string","name":"_uri","type":"string"}],"name":"_setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"list","type":"address[]"}],"name":"addToWl","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"allowDirectMint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"approveSpendERC20","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenid","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"uint256","name":"tokenid","type":"uint256"},{"internalType":"address","name":"reciver","type":"address"},{"internalType":"address","name":"payToken","type":"address"},{"internalType":"uint256","name":"payAmount","type":"uint256"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"buy","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"creRoyalties","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"creator","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"directMint","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"drop","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":[{"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":[],"name":"lastNonce","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"reciver","type":"address"},{"internalType":"string[]","name":"optionalURI","type":"string[]"},{"internalType":"uint256[]","name":"optionalId","type":"uint256[]"},{"internalType":"address","name":"payToken","type":"address"},{"internalType":"uint256","name":"payAmount","type":"uint256"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"mintToken","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"modFirstRoyalties","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"modRoyalties","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"modTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"moderator","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"setCost","type":"uint256"}],"name":"modifCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"royalties","type":"uint256"}],"name":"modifCreRoyalties","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"royalties","type":"uint256"}],"name":"modifModRoyalties","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"onlyWhiteListed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","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":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"setDriect","type":"bool"}],"name":"setDirectMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setDrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"setWLonly","type":"bool"}],"name":"setOnlyWL","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"supply","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":[],"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":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"version","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whiteList","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]

Deployed Bytecode

0x60806040526004361061027d5760003560e01c80635e61016b1161014f578063a4759074116100c1578063e985e9c51161007a578063e985e9c51461072a578063f08077491461074a578063f2fde38b1461076b578063f751cd8f1461078b578063f8321b95146107a1578063f98fc0c5146107b457600080fd5b8063a475907414610680578063b88d4fde146106a1578063c87b56dd146106b4578063ca889d80146106d4578063ced59f3b146106f4578063d5abeb011461071457600080fd5b80637501f741116101135780637501f741146105e15780637e681223146105f75780638da5cb5b1461061757806395d89b41146106355780639f3793301461064a578063a22cb4651461066057600080fd5b80635e61016b1461054b5780636352211e1461056b5780636634bfe11461058b57806366aca638146105ab57806370a08231146105c157600080fd5b8063245eddd2116101f357806342966c68116101ac57806342966c681461049357806352631ab4146104b357806352cfc8c3146104c957806353439aa2146104df57806354fd4d50146104ff57806358b2971a1461052b57600080fd5b8063245eddd2146103e857806331b5b90714610408578063372c12b11461042857806338743904146104585780633ccfd60b1461047857806342842e0e1461048057600080fd5b8063081812fc11610245578063081812fc1461034a578063095ea7b31461036a57806313faede61461038a57806318160ddd146103a057806323ad1dac146103b557806323b872dd146103d557600080fd5b806301ffc9a71461028257806302d05d3f146102b7578063047fc9aa146102ef578063062e8e901461031357806306fdde0314610328575b600080fd5b34801561028e57600080fd5b506102a261029d3660046133cb565b6107ca565b60405190151581526020015b60405180910390f35b3480156102c357600080fd5b506008546102d7906001600160a01b031681565b6040516001600160a01b0390911681526020016102ae565b3480156102fb57600080fd5b5061030560105481565b6040519081526020016102ae565b610326610321366004613275565b61081c565b005b34801561033457600080fd5b5061033d6108e1565b6040516102ae9190613679565b34801561035657600080fd5b506102d761036536600461343a565b610973565b34801561037657600080fd5b5061032661038536600461324b565b6109fb565b34801561039657600080fd5b5061030560115481565b3480156103ac57600080fd5b50600f54610305565b3480156103c157600080fd5b506103266103d036600461343a565b610b11565b6103266103e3366004613036565b610b8f565b3480156103f457600080fd5b5061032661040336600461343a565b610bcc565b34801561041457600080fd5b50610326610423366004613405565b610bfb565b34801561043457600080fd5b506102a2610443366004612fe8565b60156020526000908152604090205460ff1681565b34801561046457600080fd5b506009546102d7906001600160a01b031681565b610326610c3c565b61032661048e366004613036565b610c8c565b34801561049f57600080fd5b506103266104ae36600461343a565b610ca7565b3480156104bf57600080fd5b5061030560125481565b3480156104d557600080fd5b5061030560135481565b3480156104eb57600080fd5b506103266104fa3660046132f2565b610cbc565b34801561050b57600080fd5b506014546105199060ff1681565b60405160ff90911681526020016102ae565b34801561053757600080fd5b5061032661054636600461343a565b610d9e565b61055e61055936600461343a565b610dcd565b6040516102ae9190613666565b34801561057757600080fd5b506102d761058636600461343a565b610e49565b34801561059757600080fd5b506103266105a6366004613391565b610ec0565b3480156105b757600080fd5b50610305600a5481565b3480156105cd57600080fd5b506103056105dc366004612fe8565b610f08565b3480156105ed57600080fd5b50610305600e5481565b34801561060357600080fd5b506102a2610612366004613036565b610f8f565b34801561062357600080fd5b506008546001600160a01b03166102d7565b34801561064157600080fd5b5061033d61104a565b34801561065657600080fd5b50610305600c5481565b34801561066c57600080fd5b5061032661067b366004613214565b611059565b34801561068c57600080fd5b506009546102a290600160a01b900460ff1681565b6103266106af366004613072565b61111e565b3480156106c057600080fd5b5061033d6106cf36600461343a565b611155565b3480156106e057600080fd5b506103266106ef36600461343a565b6112b7565b34801561070057600080fd5b5061032661070f366004613391565b6112e6565b34801561072057600080fd5b50610305600f5481565b34801561073657600080fd5b506102a2610745366004613003565b61132e565b34801561075657600080fd5b506009546102a290600160a81b900460ff1681565b34801561077757600080fd5b50610326610786366004612fe8565b61135c565b34801561079757600080fd5b50610305600d5481565b61055e6107af3660046130da565b6113f4565b3480156107c057600080fd5b50610305600b5481565b60006001600160e01b031982166380ac58cd60e01b14806107fb57506001600160e01b03198216635b5e139f60e01b145b8061081657506301ffc9a760e01b6001600160e01b03198316145b92915050565b60003411801561083357506001600160a01b038416155b1561083c573492505b6009546001600160a01b031633146108b25761085782611947565b600954610873906001600160a01b0316888888888888886119c9565b6108b25760405162461bcd60e51b815260206004820152600b60248201526a139bdd08185b1b1bddd95960aa1b60448201526064015b60405180910390fd5b6108bd878585611a64565b6108c8878688611f50565b5050506000928352505060176020526040902042905550565b6060600080546108f090613825565b80601f016020809104026020016040519081016040528092919081815260200182805461091c90613825565b80156109695780601f1061093e57610100808354040283529160200191610969565b820191906000526020600020905b81548152906001019060200180831161094c57829003601f168201915b5050505050905090565b600061097e826120f0565b6109df5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016108a9565b506000908152600560205260409020546001600160a01b031690565b6000610a0682610e49565b9050806001600160a01b0316836001600160a01b03161415610a745760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016108a9565b336001600160a01b0382161480610a905750610a90813361132e565b610b025760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016108a9565b610b0c838361210d565b505050565b6009546001600160a01b03163314610b3b5760405162461bcd60e51b81526004016108a99061370b565b6010548110158015610b4f5750600f548111155b610b8a5760405162461bcd60e51b815260206004820152600c60248201526b15dc9bdb99c8105b5bdd5b9d60a21b60448201526064016108a9565b600d55565b610b988161217b565b610bac610ba482610e49565b600034611a64565b610bb7838383611f50565b60009081526017602052604090204290555050565b6008546001600160a01b03163314610bf65760405162461bcd60e51b81526004016108a9906136de565b600a55565b6009546001600160a01b03163314610c255760405162461bcd60e51b81526004016108a99061370b565b8051610c38906002906020840190612e1b565b5050565b6009546001600160a01b03163314610c665760405162461bcd60e51b81526004016108a99061370b565b60405133904780156108fc02916000818181858888f19350505050610c8a57600080fd5b565b610b0c8383836040518060200160405280600081525061111e565b610cb08161217b565b610cb98161219f565b50565b6009546001600160a01b03163314610ce65760405162461bcd60e51b81526004016108a99061370b565b805160005b81811015610b0c5760156000848381518110610d0957610d096138bb565b6020908102919091018101516001600160a01b031682528101919091526040016000205460ff16610d8c57600160156000858481518110610d4c57610d4c6138bb565b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060006101000a81548160ff0219169083151502179055505b80610d9681613860565b915050610ceb565b6009546001600160a01b03163314610dc85760405162461bcd60e51b81526004016108a99061370b565b600c55565b600954606090600160a81b900460ff161515600114610e1f5760405162461bcd60e51b815260206004820152600e60248201526d139bc8191a5c9958dd08135a5b9d60921b60448201526064016108a9565b606080610e4133838360008089604051806020016040528060008152506113f4565b949350505050565b6000818152600360205260408120546001600160a01b0316806108165760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016108a9565b6009546001600160a01b03163314610eea5760405162461bcd60e51b81526004016108a99061370b565b60098054911515600160a81b0260ff60a81b19909216919091179055565b60006001600160a01b038216610f735760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016108a9565b506001600160a01b031660009081526004602052604090205490565b6009546000906001600160a01b03163314610fbc5760405162461bcd60e51b81526004016108a99061370b565b60405163095ea7b360e01b81526001600160a01b0384811660048301526024820184905285919082169063095ea7b390604401602060405180830381600087803b15801561100957600080fd5b505af115801561101d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061104191906133ae565b95945050505050565b6060600180546108f090613825565b6001600160a01b0382163314156110b25760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016108a9565b3360008181526006602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6111278261217b565b61113384600034611a64565b61113f848484846121df565b5060009081526017602052604090204290555050565b6060611160826120f0565b6111c65760405162461bcd60e51b815260206004820152603160248201527f45524337323155524953746f726167653a2055524920717565727920666f72206044820152703737b732bc34b9ba32b73a103a37b5b2b760791b60648201526084016108a9565b600082815260076020526040812080546111df90613825565b80601f016020809104026020016040519081016040528092919081815260200182805461120b90613825565b80156112585780601f1061122d57610100808354040283529160200191611258565b820191906000526020600020905b81548152906001019060200180831161123b57829003601f168201915b505050505090506000611269612212565b905080516000141561127c575092915050565b8151156112ae578082604051602001611296929190613553565b60405160208183030381529060405292505050919050565b610e4184612221565b6008546001600160a01b031633146112e15760405162461bcd60e51b81526004016108a9906136de565b601155565b6009546001600160a01b031633146113105760405162461bcd60e51b81526004016108a99061370b565b60098054911515600160a01b0260ff60a01b19909216919091179055565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b6008546001600160a01b031633146113865760405162461bcd60e51b81526004016108a9906136de565b6001600160a01b0381166113eb5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108a9565b610cb9816122ec565b600954606090600190600160a81b900460ff1661141357508651611416565b50825b60008167ffffffffffffffff811115611431576114316138d1565b60405190808252806020026020018201604052801561145a578160200160208202803683370190505b509050600f546000146114c457600f546114756001846137e2565b6010546114829190613797565b106114c45760405162461bcd60e51b815260206004820152601260248201527113585e081cdd5c1c1b1e481c995858da195960721b60448201526064016108a9565b6000341180156114db57506001600160a01b038716155b156114e4573495505b6009546001600160a01b0316331480159061150a57506008546001600160a01b03163314155b80156115205750600954600160a81b900460ff16155b156115845761152e85611947565b60095461154a906001600160a01b03168b89898d8d8b8b61233e565b6115845760405162461bcd60e51b815260206004820152600b60248201526a139bdd08185b1b1bddd95960aa1b60448201526064016108a9565b600d54156115d857600d548260105461159d9190613797565b11156115d85760405162461bcd60e51b815260206004820152600a602482015269111c9bdc081b1a5b5a5d60b21b60448201526064016108a9565b600060115411801561160a57506009546001600160a01b03163314158061160a57506008546001600160a01b03163314155b15611661576011548610156116615760405162461bcd60e51b815260206004820152601760248201527f416d6f756e742073656e6420756e64657270726963656400000000000000000060448201526064016108a9565b600954600160a01b900460ff161515600114156116ce573360009081526015602052604090205460ff1615156001146116ce5760405162461bcd60e51b815260206004820152600f60248201526e139bdd081dda1a5d195b1a5cdd1959608a1b60448201526064016108a9565b600e541561172b57600e54826116e333610f08565b6116ed9190613797565b111561172b5760405162461bcd60e51b815260206004820152600d60248201526c1b585e135a5b9d08131a5b5a5d609a1b60448201526064016108a9565b600854611742906001600160a01b03168888611a64565b60005b828110156118fa576001601060008282546117609190613797565b9091555050601054600954600160a81b900460ff166117b85760008a838151811061178d5761178d6138bb565b602002602001015111156117b8578982815181106117ad576117ad6138bb565b602002602001015190505b6117c1816120f0565b6118b057808383815181106117d8576117d86138bb565b6020026020010181815250506117ee8c8261234f565b600954600160a81b900460ff1615801561185b5750604080516000815260208101918290525190208b518c908490811061182a5761182a6138bb565b60200260200101516040516020016118429190613537565b6040516020818303038152906040528051906020012014155b1561188857611883818c8481518110611876576118766138bb565b6020026020010151612482565b61189a565b61189a816118958361250d565b612482565b60008181526017602052604090204290556118e7565b60405162461bcd60e51b815260206004820152600c60248201526b151bdad95b925908155cd95960a21b60448201526064016108a9565b50806118f281613860565b915050611745565b507f2ad7ca0d3c2e5ecc29a9466186263310753b53fbb5a0f710be5fb496c8e120828a838989856040516119329594939291906135bf565b60405180910390a19998505050505050505050565b60008181526016602052604090205460ff166001141561199e5760405162461bcd60e51b8152602060048201526012602482015271139bdb98d948185b1c9958591e48155cd95960721b60448201526064016108a9565b6012548111156119ae5760128190555b6000908152601660205260409020805460ff19166001179055565b6000806119da89898989898961260b565b90506000611a35826040517f19457468657265756d205369676e6564204d6573736167653a0a3332000000006020820152603c8101829052600090605c01604051602081830303815290604052805190602001209050919050565b90508a6001600160a01b0316611a4b8286612679565b6001600160a01b0316149b9a5050505050505050505050565b8015610b0c576000611a7684836126f8565b90506001600160a01b038316611bfd576008546001600160a01b03858116911614801590611abe5750600081600281518110611ab457611ab46138bb565b6020026020010151115b15611b0e57836001600160a01b03166108fc82600281518110611ae357611ae36138bb565b60200260200101519081150290604051600060405180830381858888f19350505050611b0e57600080fd5b600081600081518110611b2357611b236138bb565b60200260200101511115611b825760085481516001600160a01b03909116906108fc908390600090611b5757611b576138bb565b60200260200101519081150290604051600060405180830381858888f19350505050611b8257600080fd5b600081600181518110611b9757611b976138bb565b60200260200101511115611bf85760095481516001600160a01b03909116906108fc9083906001908110611bcd57611bcd6138bb565b60200260200101519081150290604051600060405180830381858888f19350505050611bf857600080fd5b611f4a565b6040516323b872dd60e01b81523360048201523060248201526044810183905283906001600160a01b038216906323b872dd90606401602060405180830381600087803b158015611c4d57600080fd5b505af1158015611c61573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c8591906133ae565b611c8e57600080fd5b6008546001600160a01b03868116911614801590611cc65750600082600281518110611cbc57611cbc6138bb565b6020026020010151115b15611d8257806001600160a01b031663a9059cbb8684600281518110611cee57611cee6138bb565b60200260200101516040518363ffffffff1660e01b8152600401611d279291906001600160a01b03929092168252602082015260400190565b602060405180830381600087803b158015611d4157600080fd5b505af1158015611d55573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d7991906133ae565b611d8257600080fd5b600082600081518110611d9757611d976138bb565b60200260200101511115611e645760085482516001600160a01b038084169263a9059cbb929116908590600090611dd057611dd06138bb565b60200260200101516040518363ffffffff1660e01b8152600401611e099291906001600160a01b03929092168252602082015260400190565b602060405180830381600087803b158015611e2357600080fd5b505af1158015611e37573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e5b91906133ae565b611e6457600080fd5b600082600181518110611e7957611e796138bb565b60200260200101511115611f485760095482516001600160a01b038084169263a9059cbb9291169085906001908110611eb457611eb46138bb565b60200260200101516040518363ffffffff1660e01b8152600401611eed9291906001600160a01b03929092168252602082015260400190565b602060405180830381600087803b158015611f0757600080fd5b505af1158015611f1b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f3f91906133ae565b611f4857600080fd5b505b50505050565b826001600160a01b0316611f6382610e49565b6001600160a01b031614611fcb5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b60648201526084016108a9565b6001600160a01b03821661202d5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016108a9565b61203860008261210d565b6001600160a01b03831660009081526004602052604081208054600192906120619084906137e2565b90915550506001600160a01b038216600090815260046020526040812080546001929061208f908490613797565b909155505060008181526003602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6000908152600360205260409020546001600160a01b0316151590565b600081815260056020526040902080546001600160a01b0319166001600160a01b038416908117909155819061214282610e49565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6009546001600160a01b0316331461219657610cb981612a3b565b610cb981612aa2565b6121a881612b03565b600081815260076020526040902080546121c190613825565b159050610cb9576000818152600760205260408120610cb991612e9f565b6121ea848484611f50565b6121f684848484612b9e565b611f4a5760405162461bcd60e51b81526004016108a99061368c565b6060600280546108f090613825565b606061222c826120f0565b6122905760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016108a9565b600061229a612212565b905060008151116122ba57604051806020016040528060008152506122e5565b806122c48461250d565b6040516020016122d5929190613553565b6040516020818303038152906040525b9392505050565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6000806119da898989898989612cab565b6001600160a01b0382166123a55760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016108a9565b6123ae816120f0565b156123fb5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016108a9565b6001600160a01b0382166000908152600460205260408120805460019290612424908490613797565b909155505060008181526003602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b61248b826120f0565b6124ee5760405162461bcd60e51b815260206004820152602e60248201527f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60448201526d32bc34b9ba32b73a103a37b5b2b760911b60648201526084016108a9565b60008281526007602090815260409091208251610b0c92840190612e1b565b6060816125315750506040805180820190915260018152600360fc1b602082015290565b8160005b811561255b578061254581613860565b91506125549050600a836137af565b9150612535565b60008167ffffffffffffffff811115612576576125766138d1565b6040519080825280601f01601f1916602001820160405280156125a0576020820181803683370190505b5090505b8415610e41576125b56001836137e2565b91506125c2600a8661387b565b6125cd906030613797565b60f81b8183815181106125e2576125e26138bb565b60200101906001600160f81b031916908160001a905350612604600a866137af565b94506125a4565b6040516bffffffffffffffffffffffff19606088811b821660208401526034830188905286811b8216605484015285901b166068820152607c8101839052609c810182905260009060bc015b6040516020818303038152906040528051906020012090509695505050505050565b60008060008061268885612ce5565b6040805160008152602081018083528b905260ff8316918101919091526060810184905260808101839052929550909350915060019060a0016020604051602081039080840390855afa1580156126e3573d6000803e3d6000fd5b5050604051601f190151979650505050505050565b60408051600380825260808201909252606091839160009160208201858036833701905050905061271084101561273857612735826127106137c3565b91505b6008546001600160a01b038681169116141561287c57600b5461275d906127106137e2565b612769612710846137af565b61277391906137c3565b81600081518110612786576127866138bb565b60200260200101818152505061271084101561282d57612710816000815181106127b2576127b26138bb565b60200260200101516127c491906137af565b816000815181106127d7576127d76138bb565b602002602001018181525050806000815181106127f6576127f66138bb565b60200260200101518461280991906137e2565b8160018151811061281c5761281c6138bb565b602002602001018181525050612873565b80600081518110612840576128406138bb565b60200260200101518261285391906137e2565b81600181518110612866576128666138bb565b6020026020010181815250505b91506108169050565b6000600c54600a5461288e9190613797565b905060008161289f612710866137af565b6128a991906137c3565b600a549091506128b983836137af565b6128c391906137c3565b836000815181106128d6576128d66138bb565b602002602001018181525050826000815181106128f5576128f56138bb565b60200260200101518161290891906137e2565b8360018151811061291b5761291b6138bb565b602090810291909101015261293081876137e2565b83600281518110612943576129436138bb565b602002602001018181525050612710861015612a2f576127108360008151811061296f5761296f6138bb565b602002602001015161298191906137af565b83600081518110612994576129946138bb565b602002602001018181525050612710836001815181106129b6576129b66138bb565b60200260200101516129c891906137af565b836001815181106129db576129db6138bb565b602002602001018181525050612710836002815181106129fd576129fd6138bb565b6020026020010151612a0f91906137af565b83600281518110612a2257612a226138bb565b6020026020010181815250505b82945050505050610816565b612a453382612d59565b610cb95760405162461bcd60e51b815260206004820152602860248201527f4552433732313a2063616c6c6572206973206e6f74206f776e6572206e6f7220604482015267185c1c1c9bdd995960c21b60648201526084016108a9565b6013546000828152601760205260409020544291612abf91613797565b11610cb95760405162461bcd60e51b815260206004820152601460248201527326b7b232b930ba34b7b7103a34b6b29037bb32b960611b60448201526064016108a9565b6000612b0e82610e49565b9050612b1b60008361210d565b6001600160a01b0381166000908152600460205260408120805460019290612b449084906137e2565b909155505060008281526003602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b60006001600160a01b0384163b15612ca057604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612be2903390899088908890600401613582565b602060405180830381600087803b158015612bfc57600080fd5b505af1925050508015612c2c575060408051601f3d908101601f19168201909252612c29918101906133e8565b60015b612c86573d808015612c5a576040519150601f19603f3d011682016040523d82523d6000602084013e612c5f565b606091505b508051612c7e5760405162461bcd60e51b81526004016108a99061368c565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610e41565b506001949350505050565b600086868686604051602001612cc19190613604565b60408051601f198184030181529082905261265794939291889088906020016134ba565b60008060008351604114612d3b5760405162461bcd60e51b815260206004820152601860248201527f696e76616c6964207369676e6174757265206c656e677468000000000000000060448201526064016108a9565b50505060208101516040820151606090920151909260009190911a90565b6000612d64826120f0565b612dc55760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016108a9565b6000612dd083610e49565b9050806001600160a01b0316846001600160a01b03161480612e0b5750836001600160a01b0316612e0084610973565b6001600160a01b0316145b80610e415750610e41818561132e565b828054612e2790613825565b90600052602060002090601f016020900481019282612e495760008555612e8f565b82601f10612e6257805160ff1916838001178555612e8f565b82800160010185558215612e8f579182015b82811115612e8f578251825591602001919060010190612e74565b50612e9b929150612ed5565b5090565b508054612eab90613825565b6000825580601f10612ebb575050565b601f016020900490600052602060002090810190610cb991905b5b80821115612e9b5760008155600101612ed6565b80356001600160a01b0381168114612f0157600080fd5b919050565b600082601f830112612f1757600080fd5b81356020612f2c612f2783613773565b613742565b80838252828201915082860187848660051b8901011115612f4c57600080fd5b60005b85811015612f6b57813584529284019290840190600101612f4f565b5090979650505050505050565b600082601f830112612f8957600080fd5b813567ffffffffffffffff811115612fa357612fa36138d1565b612fb6601f8201601f1916602001613742565b818152846020838601011115612fcb57600080fd5b816020850160208301376000918101602001919091529392505050565b600060208284031215612ffa57600080fd5b6122e582612eea565b6000806040838503121561301657600080fd5b61301f83612eea565b915061302d60208401612eea565b90509250929050565b60008060006060848603121561304b57600080fd5b61305484612eea565b925061306260208501612eea565b9150604084013590509250925092565b6000806000806080858703121561308857600080fd5b61309185612eea565b935061309f60208601612eea565b925060408501359150606085013567ffffffffffffffff8111156130c257600080fd5b6130ce87828801612f78565b91505092959194509250565b600080600080600080600060e0888a0312156130f557600080fd5b6130fe88612eea565b9650602088013567ffffffffffffffff8082111561311b57600080fd5b818a0191508a601f83011261312f57600080fd5b61313c612f278335613773565b8083358252602082019150602084018d6020863560051b870101111561316157600080fd5b60005b85358110156131a057848235111561317b57600080fd5b61318b8f60208435890101612f78565b84526020938401939190910190600101613164565b50909950505060408a01359150808211156131ba57600080fd5b6131c68b838c01612f06565b96506131d460608b01612eea565b955060808a0135945060a08a0135935060c08a01359150808211156131f857600080fd5b506132058a828b01612f78565b91505092959891949750929550565b6000806040838503121561322757600080fd5b61323083612eea565b91506020830135613240816138e7565b809150509250929050565b6000806040838503121561325e57600080fd5b61326783612eea565b946020939093013593505050565b600080600080600080600060e0888a03121561329057600080fd5b61329988612eea565b9650602088013595506132ae60408901612eea565b94506132bc60608901612eea565b93506080880135925060a0880135915060c088013567ffffffffffffffff8111156132e657600080fd5b6132058a828b01612f78565b6000602080838503121561330557600080fd5b823567ffffffffffffffff81111561331c57600080fd5b8301601f8101851361332d57600080fd5b803561333b612f2782613773565b80828252848201915084840188868560051b870101111561335b57600080fd5b600094505b838510156133855761337181612eea565b835260019490940193918501918501613360565b50979650505050505050565b6000602082840312156133a357600080fd5b81356122e5816138e7565b6000602082840312156133c057600080fd5b81516122e5816138e7565b6000602082840312156133dd57600080fd5b81356122e5816138f5565b6000602082840312156133fa57600080fd5b81516122e5816138f5565b60006020828403121561341757600080fd5b813567ffffffffffffffff81111561342e57600080fd5b610e4184828501612f78565b60006020828403121561344c57600080fd5b5035919050565b600081518084526020808501945080840160005b8381101561348357815187529582019590820190600101613467565b509495945050505050565b600081518084526134a68160208601602086016137f9565b601f01601f19169290920160200192915050565b60006bffffffffffffffffffffffff19808960601b168352808860601b16601484015250856028830152845160206134f88260488601838a016137f9565b85519184016048019181870160005b8281101561352357815185529383019390830190600101613507565b505050938152909201979650505050505050565b600082516135498184602087016137f9565b9190910192915050565b600083516135658184602088016137f9565b8351908301906135798183602088016137f9565b01949350505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906135b59083018461348e565b9695505050505050565b6001600160a01b03868116825260208201869052841660408201526060810183905260a0608082018190526000906135f990830184613453565b979650505050505050565b6000602080830181845280855180835260408601915060408160051b870101925083870160005b8281101561365957603f1988860301845261364785835161348e565b9450928501929085019060010161362b565b5092979650505050505050565b6020815260006122e56020830184613453565b6020815260006122e5602083018461348e565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526013908201527227b7363c9037bbb732b910333ab731ba34b7b760691b604082015260600190565b60208082526017908201527f4f6e6c79204d6f64657261746f722046756e6374696f6e000000000000000000604082015260600190565b604051601f8201601f1916810167ffffffffffffffff8111828210171561376b5761376b6138d1565b604052919050565b600067ffffffffffffffff82111561378d5761378d6138d1565b5060051b60200190565b600082198211156137aa576137aa61388f565b500190565b6000826137be576137be6138a5565b500490565b60008160001904831182151516156137dd576137dd61388f565b500290565b6000828210156137f4576137f461388f565b500390565b60005b838110156138145781810151838201526020016137fc565b83811115611f4a5750506000910152565b600181811c9082168061383957607f821691505b6020821081141561385a57634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156138745761387461388f565b5060010190565b60008261388a5761388a6138a5565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b8015158114610cb957600080fd5b6001600160e01b031981168114610cb957600080fdfea264697066735822122026be3d293d4ea89b423812b3b285dd3abe94d4d06e5e452261e6577d2c6b786364736f6c63430008070033

Deployed Bytecode Sourcemap

161:12756:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1536:305:4;;;;;;;;;;-1:-1:-1;1536:305:4;;;;;:::i;:::-;;:::i;:::-;;;15192:14:13;;15185:22;15167:41;;15155:2;15140:18;1536:305:4;;;;;;;;271:22:0;;;;;;;;;;-1:-1:-1;271:22:0;;;;-1:-1:-1;;;;;271:22:0;;;;;;-1:-1:-1;;;;;12149:32:13;;;12131:51;;12119:2;12104:18;271:22:0;11985:203:13;710:29:0;;;;;;;;;;;;;;;;;;;27675:25:13;;;27663:2;27648:18;710:29:0;27529:177:13;8838:677:0;;;;;;:::i;:::-;;:::i;:::-;;2481:91:4;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;4022:221::-;;;;;;;;;;-1:-1:-1;4022:221:4;;;;;:::i;:::-;;:::i;3545:411::-;;;;;;;;;;-1:-1:-1;3545:411:4;;;;;:::i;:::-;;:::i;746:39:0:-;;;;;;;;;;;;;;;;10588:88;;;;;;;;;;-1:-1:-1;10659:9:0;;10588:88;;11737:160;;;;;;;;;;-1:-1:-1;11737:160:0;;;;;:::i;:::-;;:::i;9527:346::-;;;;;;:::i;:::-;;:::i;2151:108::-;;;;;;;;;;-1:-1:-1;2151:108:0;;;;;:::i;:::-;;:::i;2873:99::-;;;;;;;;;;-1:-1:-1;2873:99:0;;;;;:::i;:::-;;:::i;917:41::-;;;;;;;;;;-1:-1:-1;917:41:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;300:24;;;;;;;;;;-1:-1:-1;300:24:0;;;;-1:-1:-1;;;;;300:24:0;;;10904:124;;;:::i;9885:193::-;;;;;;:::i;:::-;;:::i;10474:106::-;;;;;;;;;;-1:-1:-1;10474:106:0;;;;;:::i;:::-;;:::i;794:29::-;;;;;;;;;;;;;;;;832:34;;;;;;;;;;;;;;;;2591:270;;;;;;;;;;-1:-1:-1;2591:270:0;;;;;:::i;:::-;;:::i;875:29::-;;;;;;;;;;-1:-1:-1;875:29:0;;;;;;;;;;;27883:4:13;27871:17;;;27853:36;;27841:2;27826:18;875:29:0;27711:184:13;2029:110:0;;;;;;;;;;-1:-1:-1;2029:110:0;;;;;:::i;:::-;;:::i;5922:268::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;2175:239:4:-;;;;;;;;;;-1:-1:-1;2175:239:4;;;;;:::i;:::-;;:::i;2367:106:0:-;;;;;;;;;;-1:-1:-1;2367:106:0;;;;;:::i;:::-;;:::i;429:38::-;;;;;;;;;;;;;;;;1905:208:4;;;;;;;;;;-1:-1:-1;1905:208:4;;;;;:::i;:::-;;:::i;638:29:0:-;;;;;;;;;;;;;;;;10684:208;;;;;;;;;;-1:-1:-1;10684:208:0;;;;;:::i;:::-;;:::i;11109:88::-;;;;;;;;;;-1:-1:-1;11182:7:0;;-1:-1:-1;;;;;11182:7:0;11109:88;;2641:95:4;;;;;;;;;;;;;:::i;551:38:0:-;;;;;;;;;;;;;;;;4315:295:4;;;;;;;;;;-1:-1:-1;4315:295:4;;;;;:::i;:::-;;:::i;333:40:0:-;;;;;;;;;;-1:-1:-1;333:40:0;;;;-1:-1:-1;;;333:40:0;;;;;;10090:376;;;;;;:::i;:::-;;:::i;404:679:5:-;;;;;;;;;;-1:-1:-1;404:679:5;;;;;:::i;:::-;;:::i;2271:88:0:-;;;;;;;;;;-1:-1:-1;2271:88:0;;;;;:::i;:::-;;:::i;2481:102::-;;;;;;;;;;-1:-1:-1;2481:102:0;;;;;:::i;:::-;;:::i;674:29::-;;;;;;;;;;;;;;;;4681:164:4;;;;;;;;;;-1:-1:-1;4681:164:4;;;;;:::i;:::-;;:::i;380:40:0:-;;;;;;;;;;-1:-1:-1;380:40:0;;;;-1:-1:-1;;;380:40:0;;;;;;11352:194;;;;;;;;;;-1:-1:-1;11352:194:0;;;;;:::i;:::-;;:::i;602:29::-;;;;;;;;;;;;;;;;6202:2628;;;;;;:::i;:::-;;:::i;506:38::-;;;;;;;;;;;;;;;;1536:305:4;1638:4;-1:-1:-1;;;;;;1675:40:4;;-1:-1:-1;;;1675:40:4;;:105;;-1:-1:-1;;;;;;;1732:48:4;;-1:-1:-1;;;1732:48:4;1675:105;:158;;;-1:-1:-1;;;;;;;;;;896:40:3;;;1797:36:4;1655:178;1536:305;-1:-1:-1;;1536:305:4:o;8838:677:0:-;9083:1;9071:9;:13;:39;;;;-1:-1:-1;;;;;;9088:22:0;;;9071:39;9068:91;;;9138:9;9126:21;;9068:91;9188:9;;-1:-1:-1;;;;;9188:9:0;9174:10;:23;9171:186;;9213:15;9222:5;9213:8;:15::i;:::-;9261:9;;9251:78;;-1:-1:-1;;;;;9261:9:0;9272:4;9278:7;9287;9296:8;9306:9;9317:5;9324:4;9251:9;:78::i;:::-;9243:102;;;;-1:-1:-1;;;9243:102:0;;23379:2:13;9243:102:0;;;23361:21:13;23418:2;23398:18;;;23391:30;-1:-1:-1;;;23437:18:13;;;23430:41;23488:18;;9243:102:0;;;;;;;;;9369:40;9383:4;9389:8;9399:9;9369:13;:40::i;:::-;9422:33;9432:4;9438:7;9447;9422:9;:33::i;:::-;-1:-1:-1;;;9468:21:0;;;;-1:-1:-1;;9468:12:0;:21;;;;;9490:15;9468:37;;-1:-1:-1;8838:677:0:o;2481:91:4:-;2526:13;2559:5;2552:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2481:91;:::o;4022:221::-;4098:7;4126:16;4134:7;4126;:16::i;:::-;4118:73;;;;-1:-1:-1;;;4118:73:4;;22966:2:13;4118:73:4;;;22948:21:13;23005:2;22985:18;;;22978:30;23044:34;23024:18;;;23017:62;-1:-1:-1;;;23095:18:13;;;23088:42;23147:19;;4118:73:4;22764:408:13;4118:73:4;-1:-1:-1;4211:24:4;;;;:15;:24;;;;;;-1:-1:-1;;;;;4211:24:4;;4022:221::o;3545:411::-;3626:13;3642:23;3657:7;3642:14;:23::i;:::-;3626:39;;3690:5;-1:-1:-1;;;;;3684:11:4;:2;-1:-1:-1;;;;;3684:11:4;;;3676:57;;;;-1:-1:-1;;;3676:57:4;;24897:2:13;3676:57:4;;;24879:21:13;24936:2;24916:18;;;24909:30;24975:34;24955:18;;;24948:62;-1:-1:-1;;;25026:18:13;;;25019:31;25067:19;;3676:57:4;24695:397:13;3676:57:4;682:10:2;-1:-1:-1;;;;;3768:21:4;;;;:62;;-1:-1:-1;3793:37:4;3810:5;682:10:2;4681:164:4;:::i;3793:37::-;3746:168;;;;-1:-1:-1;;;3746:168:4;;19091:2:13;3746:168:4;;;19073:21:13;19130:2;19110:18;;;19103:30;19169:34;19149:18;;;19142:62;19240:26;19220:18;;;19213:54;19284:19;;3746:168:4;18889:420:13;3746:168:4;3927:21;3936:2;3940:7;3927:8;:21::i;:::-;3615:341;3545:411;;:::o;11737:160:0:-;12078:9;;-1:-1:-1;;;;;12078:9:0;12064:10;:23;12056:59;;;;-1:-1:-1;;;12056:59:0;;;;;;;:::i;:::-;11820:6:::1;;11810;:16;;:39;;;;;11840:9;;11830:6;:19;;11810:39;11802:63;;;::::0;-1:-1:-1;;;11802:63:0;;21437:2:13;11802:63:0::1;::::0;::::1;21419:21:13::0;21476:2;21456:18;;;21449:30;-1:-1:-1;;;21495:18:13;;;21488:42;21547:18;;11802:63:0::1;21235:336:13::0;11802:63:0::1;11876:4;:13:::0;11737:160::o;9527:346::-;9671:16;9679:7;9671;:16::i;:::-;9708:54;9722:16;9730:7;9722;:16::i;:::-;9748:1;9752:9;9708:13;:54::i;:::-;9783:28;9793:4;9799:2;9803:7;9783:9;:28::i;:::-;9824:21;;;;:12;:21;;;;;9848:15;9824:39;;-1:-1:-1;;9527:346:0:o;2151:108::-;11959:7;;-1:-1:-1;;;;;11959:7:0;11945:10;:21;11937:53;;;;-1:-1:-1;;;11937:53:0;;;;;;;:::i;:::-;2227:12:::1;:24:::0;2151:108::o;2873:99::-;12078:9;;-1:-1:-1;;;;;12078:9:0;12064:10;:23;12056:59;;;;-1:-1:-1;;;12056:59:0;;;;;;;:::i;:::-;2946:18;;::::1;::::0;:11:::1;::::0;:18:::1;::::0;::::1;::::0;::::1;:::i;:::-;;2873:99:::0;:::o;10904:124::-;12078:9;;-1:-1:-1;;;;;12078:9:0;12064:10;:23;12056:59;;;;-1:-1:-1;;;12056:59:0;;;;;;;:::i;:::-;10972:47:::1;::::0;10980:10:::1;::::0;10997:21:::1;10972:47:::0;::::1;;;::::0;::::1;::::0;;;10997:21;10980:10;10972:47;::::1;;;;;;10964:56;;;::::0;::::1;;10904:124::o:0;9885:193::-;10031:39;10048:4;10054:2;10058:7;10031:39;;;;;;;;;;;;:16;:39::i;10474:106::-;10531:16;10539:7;10531;:16::i;:::-;10558:14;10564:7;10558:5;:14::i;:::-;10474:106;:::o;2591:270::-;12078:9;;-1:-1:-1;;;;;12078:9:0;12064:10;:23;12056:59;;;;-1:-1:-1;;;12056:59:0;;;;;;;:::i;:::-;2679:11;;2663:13:::1;2701:153;2725:5;2721:1;:9;2701:153;;;2755:9;:18;2765:4;2770:1;2765:7;;;;;;;;:::i;:::-;;::::0;;::::1;::::0;;;;;;;-1:-1:-1;;;;;2755:18:0::1;::::0;;;::::1;::::0;;;;;;-1:-1:-1;2755:18:0;;::::1;;2752:91;;2823:4;2802:9;:18;2812:4;2817:1;2812:7;;;;;;;;:::i;:::-;;;;;;;-1:-1:-1::0;;;;;2802:18:0::1;-1:-1:-1::0;;;;;2802:18:0::1;;;;;;;;;;;;;:25;;;;;;;;;;;;;;;;;;2752:91;2732:3:::0;::::1;::::0;::::1;:::i;:::-;;;;2701:153;;2029:110:::0;12078:9;;-1:-1:-1;;;;;12078:9:0;12064:10;:23;12056:59;;;;-1:-1:-1;;;12056:59:0;;;;;;;:::i;:::-;2107:12:::1;:24:::0;2029:110::o;5922:268::-;6018:15;;5982:16;;-1:-1:-1;;;6018:15:0;;;;:23;;6037:4;6018:23;6010:49;;;;-1:-1:-1;;;6010:49:0;;25299:2:13;6010:49:0;;;25281:21:13;25338:2;25318:18;;;25311:30;-1:-1:-1;;;25357:18:13;;;25350:44;25411:18;;6010:49:0;25097:338:13;6010:49:0;6070:17;6098:18;6134:48;6144:10;6155:1;6157;6167;6170;6172:6;6134:48;;;;;;;;;;;;:9;:48::i;:::-;6127:55;5922:268;-1:-1:-1;;;;5922:268:0:o;2175:239:4:-;2247:7;2283:16;;;:7;:16;;;;;;-1:-1:-1;;;;;2283:16:4;2318:19;2310:73;;;;-1:-1:-1;;;2310:73:4;;20612:2:13;2310:73:4;;;20594:21:13;20651:2;20631:18;;;20624:30;20690:34;20670:18;;;20663:62;-1:-1:-1;;;20741:18:13;;;20734:39;20790:19;;2310:73:4;20410:405:13;2367:106:0;12078:9;;-1:-1:-1;;;;;12078:9:0;12064:10;:23;12056:59;;;;-1:-1:-1;;;12056:59:0;;;;;;;:::i;:::-;2438:15:::1;:27:::0;;;::::1;;-1:-1:-1::0;;;2438:27:0::1;-1:-1:-1::0;;;;2438:27:0;;::::1;::::0;;;::::1;::::0;;2367:106::o;1905:208:4:-;1977:7;-1:-1:-1;;;;;2005:19:4;;1997:74;;;;-1:-1:-1;;;1997:74:4;;20201:2:13;1997:74:4;;;20183:21:13;20240:2;20220:18;;;20213:30;20279:34;20259:18;;;20252:62;-1:-1:-1;;;20330:18:13;;;20323:40;20380:19;;1997:74:4;19999:406:13;1997:74:4;-1:-1:-1;;;;;;2089:16:4;;;;;:9;:16;;;;;;;1905:208::o;10684::0:-;12078:9;;10797:4;;-1:-1:-1;;;;;12078:9:0;12064:10;:23;12056:59;;;;-1:-1:-1;;;12056:59:0;;;;;;;:::i;:::-;10859:25:::1;::::0;-1:-1:-1;;;10859:25:0;;-1:-1:-1;;;;;13258:32:13;;;10859:25:0::1;::::0;::::1;13240:51:13::0;13307:18;;;13300:34;;;10835:5:0;;10859:9;;::::1;::::0;::::1;::::0;13213:18:13;;10859:25:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;10852:32:::0;10684:208;-1:-1:-1;;;;;10684:208:0:o;2641:95:4:-;2688:13;2721:7;2714:14;;;;;:::i;4315:295::-;-1:-1:-1;;;;;4418:24:4;;682:10:2;4418:24:4;;4410:62;;;;-1:-1:-1;;;4410:62:4;;17985:2:13;4410:62:4;;;17967:21:13;18024:2;18004:18;;;17997:30;18063:27;18043:18;;;18036:55;18108:18;;4410:62:4;17783:349:13;4410:62:4;682:10:2;4485:32:4;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;4485:42:4;;;;;;;;;;;;:53;;-1:-1:-1;;4485:53:4;;;;;;;;;;4554:48;;15167:41:13;;;4485:42:4;;682:10:2;4554:48:4;;15140:18:13;4554:48:4;;;;;;;4315:295;;:::o;10090:376:0:-;10267:16;10275:7;10267;:16::i;:::-;10304:42;10318:4;10332:1;10336:9;10304:13;:42::i;:::-;10359:39;10373:4;10379:2;10383:7;10392:5;10359:13;:39::i;:::-;-1:-1:-1;10411:21:0;;;;:12;:21;;;;;10433:15;10411:37;;-1:-1:-1;;10090:376:0:o;404:679:5:-;477:13;511:16;519:7;511;:16::i;:::-;503:78;;;;-1:-1:-1;;;503:78:5;;22139:2:13;503:78:5;;;22121:21:13;22178:2;22158:18;;;22151:30;22217:34;22197:18;;;22190:62;-1:-1:-1;;;22268:18:13;;;22261:47;22325:19;;503:78:5;21937:413:13;503:78:5;594:23;620:19;;;:10;:19;;;;;594:45;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;650:18;671:10;:8;:10::i;:::-;650:31;;763:4;757:18;779:1;757:23;753:72;;;-1:-1:-1;804:9:5;404:679;-1:-1:-1;;404:679:5:o;753:72::-;929:23;;:27;925:108;;1004:4;1010:9;987:33;;;;;;;;;:::i;:::-;;;;;;;;;;;;;973:48;;;;404:679;;;:::o;925:108::-;1052:23;1067:7;1052:14;:23::i;2271:88:0:-;11959:7;;-1:-1:-1;;;;;11959:7:0;11945:10;:21;11937:53;;;;-1:-1:-1;;;11937:53:0;;;;;;;:::i;:::-;2337:4:::1;:14:::0;2271:88::o;2481:102::-;12078:9;;-1:-1:-1;;;;;12078:9:0;12064:10;:23;12056:59;;;;-1:-1:-1;;;12056:59:0;;;;;;;:::i;:::-;2548:15:::1;:27:::0;;;::::1;;-1:-1:-1::0;;;2548:27:0::1;-1:-1:-1::0;;;;2548:27:0;;::::1;::::0;;;::::1;::::0;;2481:102::o;4681:164:4:-;-1:-1:-1;;;;;4802:25:4;;;4778:4;4802:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;4681:164::o;11352:194:0:-;11959:7;;-1:-1:-1;;;;;11959:7:0;11945:10;:21;11937:53;;;;-1:-1:-1;;;11937:53:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;11443:22:0;::::1;11435:73;;;::::0;-1:-1:-1;;;11435:73:0;;16467:2:13;11435:73:0::1;::::0;::::1;16449:21:13::0;16506:2;16486:18;;;16479:30;16545:34;16525:18;;;16518:62;-1:-1:-1;;;16596:18:13;;;16589:36;16642:19;;11435:73:0::1;16265:402:13::0;11435:73:0::1;11519:19;11529:8;11519:9;:19::i;6202:2628::-:0;6518:15;;6443:16;;6503:1;;-1:-1:-1;;;6518:15:0;;;;6515:127;;-1:-1:-1;6566:18:0;;6515:127;;;-1:-1:-1;6625:5:0;6515:127;6654:25;6696:5;6682:20;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;6682:20:0;;6654:48;;6718:9;;6731:1;6718:14;6715:108;;6779:9;;6766;6774:1;6766:5;:9;:::i;:::-;6756:6;;:20;;;;:::i;:::-;:32;6748:63;;;;-1:-1:-1;;;6748:63:0;;26337:2:13;6748:63:0;;;26319:21:13;26376:2;26356:18;;;26349:30;-1:-1:-1;;;26395:18:13;;;26388:48;26453:18;;6748:63:0;26135:342:13;6748:63:0;6850:1;6838:9;:13;:39;;;;-1:-1:-1;;;;;;6855:22:0;;;6838:39;6835:91;;;6905:9;6893:21;;6835:91;7001:9;;-1:-1:-1;;;;;7001:9:0;6987:10;:23;;;;:48;;-1:-1:-1;7028:7:0;;-1:-1:-1;;;;;7028:7:0;7014:10;:21;;6987:48;:76;;;;-1:-1:-1;7039:15:0;;-1:-1:-1;;;7039:15:0;;;;:24;6987:76;6984:262;;;7083:15;7092:5;7083:8;:15::i;:::-;7136:9;;7125:89;;-1:-1:-1;;;;;7136:9:0;7147:7;7156:8;7166:9;7177:11;7190:10;7202:5;7209:4;7125:10;:89::i;:::-;7117:113;;;;-1:-1:-1;;;7117:113:0;;23379:2:13;7117:113:0;;;23361:21:13;23418:2;23398:18;;;23391:30;-1:-1:-1;;;23437:18:13;;;23430:41;23488:18;;7117:113:0;23177:335:13;7117:113:0;7275:4;;:8;7272:84;;7325:4;;7316:5;7307:6;;:14;;;;:::i;:::-;:22;;7299:45;;;;-1:-1:-1;;;7299:45:0;;18752:2:13;7299:45:0;;;18734:21:13;18791:2;18771:18;;;18764:30;-1:-1:-1;;;18810:18:13;;;18803:40;18860:18;;7299:45:0;18550:334:13;7299:45:0;7378:1;7371:4;;:8;:62;;;;-1:-1:-1;7398:9:0;;-1:-1:-1;;;;;7398:9:0;7384:10;:23;;;:48;;-1:-1:-1;7425:7:0;;-1:-1:-1;;;;;7425:7:0;7411:10;:21;;7384:48;7368:145;;;7470:4;;7457:9;:17;;7449:52;;;;-1:-1:-1;;;7449:52:0;;23719:2:13;7449:52:0;;;23701:21:13;23758:2;23738:18;;;23731:30;23797:25;23777:18;;;23770:53;23840:18;;7449:52:0;23517:347:13;7449:52:0;7528:15;;-1:-1:-1;;;7528:15:0;;;;:23;;7547:4;7528:23;7525:110;;;7585:10;7575:21;;;;:9;:21;;;;;;;;:29;;:21;:29;7567:56;;;;-1:-1:-1;;;7567:56:0;;19857:2:13;7567:56:0;;;19839:21:13;19896:2;19876:18;;;19869:30;-1:-1:-1;;;19915:18:13;;;19908:45;19970:18;;7567:56:0;19655:339:13;7567:56:0;7650:7;;:11;7647:110;;7720:7;;7710:5;7686:21;7696:10;7686:9;:21::i;:::-;:29;;;;:::i;:::-;7685:42;;7677:68;;;;-1:-1:-1;;;7677:68:0;;27036:2:13;7677:68:0;;;27018:21:13;27075:2;27055:18;;;27048:30;-1:-1:-1;;;27094:18:13;;;27087:43;27147:18;;7677:68:0;26834:337:13;7677:68:0;7783:7;;7769:43;;-1:-1:-1;;;;;7783:7:0;7792:8;7802:9;7769:13;:43::i;:::-;7830:9;7825:896;7849:5;7845:1;:9;7825:896;;;7900:1;7890:6;;:11;;;;;;;:::i;:::-;;;;-1:-1:-1;;7934:6:0;;7981:15;;-1:-1:-1;;;7981:15:0;;;;7978:165;;8045:1;8029:10;8040:1;8029:13;;;;;;;;:::i;:::-;;;;;;;:17;8025:103;;;8095:10;8106:1;8095:13;;;;;;;;:::i;:::-;;;;;;;8087:21;;8025:103;8162:14;8170:5;8162:7;:14::i;:::-;8159:549;;8219:5;8205:8;8214:1;8205:11;;;;;;;;:::i;:::-;;;;;;:19;;;;;8243:21;8249:7;8258:5;8243;:21::i;:::-;8286:15;;-1:-1:-1;;;8286:15:0;;;;:24;;;:106;;-1:-1:-1;8371:20:0;;;;;;;;;;;;;8361:31;;;8341:14;;:11;;8353:1;;8341:14;;;;;;:::i;:::-;;;;;;;8324:32;;;;;;;;:::i;:::-;;;;;;;;;;;;;8314:43;;;;;;:78;;8286:106;8283:293;;;8435:35;8448:5;8455:11;8467:1;8455:14;;;;;;;;:::i;:::-;;;;;;;8435:12;:35::i;:::-;8283:293;;;8519:37;8532:5;8539:16;:5;:14;:16::i;:::-;8519:12;:37::i;:::-;8594:19;;;;:12;:19;;;;;8614:15;8594:35;;8159:549;;;8670:22;;-1:-1:-1;;;8670:22:0;;19516:2:13;8670:22:0;;;19498:21:13;19555:2;19535:18;;;19528:30;-1:-1:-1;;;19574:18:13;;;19567:42;19626:18;;8670:22:0;19314:336:13;8159:549:0;-1:-1:-1;7856:3:0;;;;:::i;:::-;;;;7825:896;;;;8738:56;8748:7;8757:5;8764:8;8774:9;8785:8;8738:56;;;;;;;;;;:::i;:::-;;;;;;;;8812:8;6202:2628;-1:-1:-1;;;;;;;;;6202:2628:0:o;12689:219::-;12750:16;;;;:9;:16;;;;;;;;;:21;;12742:52;;;;-1:-1:-1;;;12742:52:0;;25642:2:13;12742:52:0;;;25624:21:13;25681:2;25661:18;;;25654:30;-1:-1:-1;;;25700:18:13;;;25693:48;25758:18;;12742:52:0;25440:342:13;12742:52:0;12816:9;;12808:5;:17;12805:65;;;12841:9;:17;;;12805:65;12880:16;;;;:9;:16;;;;;:20;;-1:-1:-1;;12880:20:0;12899:1;12880:20;;;12689:219::o;2779:533:12:-;3042:4;3059:19;3081:70;3099:4;3105:7;3114;3123:8;3133:9;3144:6;3081:17;:70::i;:::-;3059:92;;3162:28;3193:36;3217:11;2309:66;;11631::13;2309::12;;;11619:79:13;11714:12;;;11707:28;;;2068:7:12;;11751:12:13;;2309:66:12;;;;;;;;;;;;2281:109;;;;;;2261:129;;1963:435;;;;3193:36;3162:67;;3297:7;-1:-1:-1;;;;;3247:57:12;:46;3261:20;3283:9;3247:13;:46::i;:::-;-1:-1:-1;;;;;3247:57:12;;;2779:533;-1:-1:-1;;;;;;;;;;;2779:533:12:o;4346:1568:0:-;4513:10;;4510:1395;;4541:24;4568:30;4579:10;4591:6;4568:10;:30::i;:::-;4541:57;-1:-1:-1;;;;;;4630:22:0;;4627:1265;;4707:7;;-1:-1:-1;;;;;4693:21:0;;;4707:7;;4693:21;;;;:39;;;4731:1;4718:7;4726:1;4718:10;;;;;;;;:::i;:::-;;;;;;;:14;4693:39;4690:195;;;4836:10;-1:-1:-1;;;;;4828:24:0;:36;4853:7;4861:1;4853:10;;;;;;;;:::i;:::-;;;;;;;4828:36;;;;;;;;;;;;;;;;;;;;;;;4820:45;;;;;;4919:1;4906:7;4914:1;4906:10;;;;;;;;:::i;:::-;;;;;;;:14;4903:166;;;5023:7;;5037:10;;-1:-1:-1;;;;;5023:7:0;;;;5015:33;;5037:7;;5023;;5037:10;;;;:::i;:::-;;;;;;;5015:33;;;;;;;;;;;;;;;;;;;;;;;5007:42;;;;;;5103:1;5090:7;5098:1;5090:10;;;;;;;;:::i;:::-;;;;;;;:14;5087:169;;;5208:9;;5224:10;;-1:-1:-1;;;;;5208:9:0;;;;5200:35;;5224:7;;5208:9;;5224:10;;;;;;:::i;:::-;;;;;;;5200:35;;;;;;;;;;;;;;;;;;;;;;;5192:44;;;;;;4627:1265;;;5386:49;;-1:-1:-1;;;5386:49:0;;5401:10;5386:49;;;12433:34:13;5421:4:0;12483:18:13;;;12476:43;12535:18;;;12528:34;;;5332:8:0;;-1:-1:-1;;;;;5386:14:0;;;;;12368:18:13;;5386:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;5378:58;;;;;;5506:7;;-1:-1:-1;;;;;5492:21:0;;;5506:7;;5492:21;;;;:40;;;5531:1;5518:7;5526:1;5518:10;;;;;;;;:::i;:::-;;;;;;;:14;5492:40;5489:130;;;5564:1;-1:-1:-1;;;;;5564:10:0;;5575;5587:7;5595:1;5587:10;;;;;;;;:::i;:::-;;;;;;;5564:34;;;;;;;;;;;;;;;-1:-1:-1;;;;;13258:32:13;;;;13240:51;;13322:2;13307:18;;13300:34;13228:2;13213:18;;13066:274;5564:34:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;5556:43;;;;;;5653:1;5640:7;5648:1;5640:10;;;;;;;;:::i;:::-;;;;;;;:14;5637:101;;;5697:7;;5706:10;;-1:-1:-1;;;;;5686:10:0;;;;;;5697:7;;;5706;;5697;;5706:10;;;;:::i;:::-;;;;;;;5686:31;;;;;;;;;;;;;;;-1:-1:-1;;;;;13258:32:13;;;;13240:51;;13322:2;13307:18;;13300:34;13228:2;13213:18;;13066:274;5686:31:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;5678:40;;;;;;5772:1;5759:7;5767:1;5759:10;;;;;;;;:::i;:::-;;;;;;;:14;5756:103;;;5816:9;;5827:10;;-1:-1:-1;;;;;5805:10:0;;;;;;5816:9;;;5827:7;;5816:9;;5827:10;;;;;;:::i;:::-;;;;;;;5805:33;;;;;;;;;;;;;;;-1:-1:-1;;;;;13258:32:13;;;;13240:51;;13322:2;13307:18;;13300:34;13228:2;13213:18;;13066:274;5805:33:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;5797:42;;;;;;5295:597;4627:1265;4524:1381;4346:1568;;;:::o;9643:578:4:-;9802:4;-1:-1:-1;;;;;9775:31:4;:23;9790:7;9775:14;:23::i;:::-;-1:-1:-1;;;;;9775:31:4;;9767:85;;;;-1:-1:-1;;;9767:85:4;;24071:2:13;9767:85:4;;;24053:21:13;24110:2;24090:18;;;24083:30;24149:34;24129:18;;;24122:62;-1:-1:-1;;;24200:18:13;;;24193:39;24249:19;;9767:85:4;23869:405:13;9767:85:4;-1:-1:-1;;;;;9871:16:4;;9863:65;;;;-1:-1:-1;;;9863:65:4;;17580:2:13;9863:65:4;;;17562:21:13;17619:2;17599:18;;;17592:30;17658:34;17638:18;;;17631:62;-1:-1:-1;;;17709:18:13;;;17702:34;17753:19;;9863:65:4;17378:400:13;9863:65:4;10045:29;10062:1;10066:7;10045:8;:29::i;:::-;-1:-1:-1;;;;;10087:15:4;;;;;;:9;:15;;;;;:20;;10106:1;;10087:15;:20;;10106:1;;10087:20;:::i;:::-;;;;-1:-1:-1;;;;;;;10118:13:4;;;;;;:9;:13;;;;;:18;;10135:1;;10118:13;:18;;10135:1;;10118:18;:::i;:::-;;;;-1:-1:-1;;10147:16:4;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;10147:21:4;-1:-1:-1;;;;;10147:21:4;;;;;;;;;10186:27;;10147:16;;10186:27;;;;;;;9643:578;;;:::o;6357:127::-;6422:4;6446:16;;;:7;:16;;;;;;-1:-1:-1;;;;;6446:16:4;:30;;;6357:127::o;10339:174::-;10414:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;10414:29:4;-1:-1:-1;;;;;10414:29:4;;;;;;;;:24;;10468:23;10414:24;10468:14;:23::i;:::-;-1:-1:-1;;;;;10459:46:4;;;;;;;;;;;10339:174;;:::o;12480:201:0:-;12556:9;;-1:-1:-1;;;;;12556:9:0;12542:10;:23;12539:135;;12582:25;12599:7;12582:16;:25::i;12539:135::-;12640:22;12654:7;12640:13;:22::i;1685:206:5:-;1754:20;1766:7;1754:11;:20::i;:::-;1797:19;;;;:10;:19;;;;;1791:33;;;;;:::i;:::-;:38;;-1:-1:-1;1787:97:5;;1853:19;;;;:10;:19;;;;;1846:26;;;:::i;5729:315:4:-;5886:28;5896:4;5902:2;5906:7;5886:9;:28::i;:::-;5933:48;5956:4;5962:2;5966:7;5975:5;5933:22;:48::i;:::-;5925:111;;;;-1:-1:-1;;;5925:111:4;;;;;;;:::i;3380:103::-;3431:13;3464:11;3457:18;;;;;:::i;2807:325::-;2871:13;2905:16;2913:7;2905;:16::i;:::-;2897:76;;;;-1:-1:-1;;;2897:76:4;;24481:2:13;2897:76:4;;;24463:21:13;24520:2;24500:18;;;24493:30;24559:34;24539:18;;;24532:62;-1:-1:-1;;;24610:18:13;;;24603:45;24665:19;;2897:76:4;24279:411:13;2897:76:4;2986:21;3010:10;:8;:10::i;:::-;2986:34;;3062:1;3044:7;3038:21;:25;:86;;;;;;;;;;;;;;;;;3090:7;3099:18;:7;:16;:18::i;:::-;3073:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;3038:86;3031:93;2807:325;-1:-1:-1;;;2807:325:4:o;11554:175:0:-;11629:7;;;-1:-1:-1;;;;;11647:18:0;;;-1:-1:-1;;;;;;11647:18:0;;;;;;;11681:40;;11629:7;;;11647:18;11629:7;;11681:40;;11610:16;;11681:40;11599:130;11554:175;:::o;3324:564:12:-;3611:4;3628:19;3650:77;3669:8;3679:9;3690:6;3698:8;3708:10;3720:6;3650:18;:77::i;8335:382:4:-;-1:-1:-1;;;;;8415:16:4;;8407:61;;;;-1:-1:-1;;;8407:61:4;;21778:2:13;8407:61:4;;;21760:21:13;;;21797:18;;;21790:30;21856:34;21836:18;;;21829:62;21908:18;;8407:61:4;21576:356:13;8407:61:4;8488:16;8496:7;8488;:16::i;:::-;8487:17;8479:58;;;;-1:-1:-1;;;8479:58:4;;16874:2:13;8479:58:4;;;16856:21:13;16913:2;16893:18;;;16886:30;16952;16932:18;;;16925:58;17000:18;;8479:58:4;16672:352:13;8479:58:4;-1:-1:-1;;;;;8608:13:4;;;;;;:9;:13;;;;;:18;;8625:1;;8608:13;:18;;8625:1;;8608:18;:::i;:::-;;;;-1:-1:-1;;8637:16:4;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;8637:21:4;-1:-1:-1;;;;;8637:21:4;;;;;;;;8676:33;;8637:16;;;8676:33;;8637:16;;8676:33;8335:382;;:::o;1239:217:5:-;1339:16;1347:7;1339;:16::i;:::-;1331:75;;;;-1:-1:-1;;;1331:75:5;;21022:2:13;1331:75:5;;;21004:21:13;21061:2;21041:18;;;21034:30;21100:34;21080:18;;;21073:62;-1:-1:-1;;;21151:18:13;;;21144:44;21205:19;;1331:75:5;20820:410:13;1331:75:5;1417:19;;;;:10;:19;;;;;;;;:31;;;;;;;;:::i;288:723:10:-;344:13;565:10;561:53;;-1:-1:-1;;592:10:10;;;;;;;;;;;;-1:-1:-1;;;592:10:10;;;;;288:723::o;561:53::-;639:5;624:12;680:78;687:9;;680:78;;713:8;;;;:::i;:::-;;-1:-1:-1;736:10:10;;-1:-1:-1;744:2:10;736:10;;:::i;:::-;;;680:78;;;768:19;800:6;790:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;790:17:10;;768:39;;818:154;825:10;;818:154;;852:11;862:1;852:11;;:::i;:::-;;-1:-1:-1;921:10:10;929:2;921:5;:10;:::i;:::-;908:24;;:2;:24;:::i;:::-;895:39;;878:6;885;878:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;878:56:10;;;;;;;;-1:-1:-1;949:11:10;958:2;949:11;;:::i;:::-;;;818:154;;759:327:12;1008:69;;-1:-1:-1;;10354:2:13;10350:15;;;10346:24;;1008:69:12;;;10334:37:13;10387:12;;;10380:28;;;10442:15;;;10438:24;;10424:12;;;10417:46;10497:15;;;10493:24;10479:12;;;10472:46;10534:12;;;10527:28;;;10571:13;;;10564:29;;;971:7:12;;10609:13:13;;1008:69:12;;;;;;;;;;;;;998:80;;;;;;991:87;;759:327;;;;;;;;:::o;3896:283::-;4025:7;4051:9;4062;4073:7;4084:26;4099:10;4084:14;:26::i;:::-;4130:41;;;;;;;;;;;;15446:25:13;;;15519:4;15507:17;;15487:18;;;15480:45;;;;15541:18;;;15534:34;;;15584:18;;;15577:34;;;4050:60:12;;-1:-1:-1;4050:60:12;;-1:-1:-1;4050:60:12;-1:-1:-1;4130:41:12;;15418:19:13;;4130:41:12;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;4130:41:12;;-1:-1:-1;;4130:41:12;;;3896:283;-1:-1:-1;;;;;;;3896:283:12:o;2980:1354:0:-;3157:16;;;3171:1;3157:16;;;;;;;;;3057:17;;3114:6;;3097:14;;3157:16;;;3057:17;;3157:16;;;;;-1:-1:-1;3157:16:0;3131:42;;3198:5;3189:6;:14;3186:68;;;3228:14;:6;3237:5;3228:14;:::i;:::-;3219:23;;3186:68;3283:7;;-1:-1:-1;;;;;3269:21:0;;;3283:7;;3269:21;3266:1061;;;3357:17;;3349:25;;:5;:25;:::i;:::-;3331:14;3340:5;3331:6;:14;:::i;:::-;:44;;;;:::i;:::-;3319:6;3326:1;3319:9;;;;;;;;:::i;:::-;;;;;;:56;;;;;3431:5;3422:6;:14;3419:220;;;3480:5;3468:6;3475:1;3468:9;;;;;;;;:::i;:::-;;;;;;;:17;;;;:::i;:::-;3456:6;3463:1;3456:9;;;;;;;;:::i;:::-;;;;;;:29;;;;;3525:6;3532:1;3525:9;;;;;;;;:::i;:::-;;;;;;;3516:6;:18;;;;:::i;:::-;3504:6;3511:1;3504:9;;;;;;;;:::i;:::-;;;;;;:30;;;;;3419:220;;;3596:6;3603:1;3596:9;;;;;;;;:::i;:::-;;;;;;;3587:6;:18;;;;:::i;:::-;3575:6;3582:1;3575:9;;;;;;;;:::i;:::-;;;;;;:30;;;;;3419:220;3662:6;-1:-1:-1;3655:13:0;;-1:-1:-1;3655:13:0;3266:1061;3719:17;3754:12;;3739;;:27;;;;:::i;:::-;3719:47;-1:-1:-1;3795:17:0;3719:47;3816:14;3825:5;3816:6;:14;:::i;:::-;:26;;;;:::i;:::-;3907:12;;3795:47;;-1:-1:-1;3883:21:0;3895:9;3795:47;3883:21;:::i;:::-;:36;;;;:::i;:::-;3871:6;3878:1;3871:9;;;;;;;;:::i;:::-;;;;;;:48;;;;;3974:6;3981:1;3974:9;;;;;;;;:::i;:::-;;;;;;;3962;:21;;;;:::i;:::-;3950:6;3957:1;3950:9;;;;;;;;:::i;:::-;;;;;;;;;;:33;4042:18;4051:9;4042:6;:18;:::i;:::-;4030:6;4037:1;4030:9;;;;;;;;:::i;:::-;;;;;;:30;;;;;4105:5;4096:6;:14;4093:178;;;4154:5;4142:6;4149:1;4142:9;;;;;;;;:::i;:::-;;;;;;;:17;;;;:::i;:::-;4130:6;4137:1;4130:9;;;;;;;;:::i;:::-;;;;;;:29;;;;;4202:5;4190:6;4197:1;4190:9;;;;;;;;:::i;:::-;;;;;;;:17;;;;:::i;:::-;4178:6;4185:1;4178:9;;;;;;;;:::i;:::-;;;;;;:29;;;;;4250:5;4238:6;4245:1;4238:9;;;;;;;;:::i;:::-;;;;;;;:17;;;;:::i;:::-;4226:6;4233:1;4226:9;;;;;;;;:::i;:::-;;;;;;:29;;;;;4093:178;4294:6;4287:13;;;;;;;;12141:169;12216:41;682:10:2;12249:7:0;12216:18;:41::i;:::-;12208:94;;;;-1:-1:-1;;;12208:94:0;;22557:2:13;12208:94:0;;;22539:21:13;22596:2;22576:18;;;22569:30;22635:34;22615:18;;;22608:62;-1:-1:-1;;;22686:18:13;;;22679:38;22734:19;;12208:94:0;22355:404:13;12318:154:0;12414:7;;12390:21;;;;:12;:21;;;;;;12424:15;;12390:31;;;:::i;:::-;:49;12382:82;;;;-1:-1:-1;;;12382:82:0;;17231:2:13;12382:82:0;;;17213:21:13;17270:2;17250:18;;;17243:30;-1:-1:-1;;;17289:18:13;;;17282:50;17349:18;;12382:82:0;17029:344:13;8946:360:4;9006:13;9022:23;9037:7;9022:14;:23::i;:::-;9006:39;;9147:29;9164:1;9168:7;9147:8;:29::i;:::-;-1:-1:-1;;;;;9189:16:4;;;;;;:9;:16;;;;;:21;;9209:1;;9189:16;:21;;9209:1;;9189:21;:::i;:::-;;;;-1:-1:-1;;9228:16:4;;;;:7;:16;;;;;;9221:23;;-1:-1:-1;;;;;;9221:23:4;;;9262:36;9236:7;;9228:16;-1:-1:-1;;;;;9262:36:4;;;;;9228:16;;9262:36;8995:311;8946:360;:::o;11078:799::-;11233:4;-1:-1:-1;;;;;11254:13:4;;1066:20:1;1114:8;11250:620:4;;11290:72;;-1:-1:-1;;;11290:72:4;;-1:-1:-1;;;;;11290:36:4;;;;;:72;;682:10:2;;11341:4:4;;11347:7;;11356:5;;11290:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;11290:72:4;;;;;;;;-1:-1:-1;;11290:72:4;;;;;;;;;;;;:::i;:::-;;;11286:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;11532:13:4;;11528:272;;11575:60;;-1:-1:-1;;;11575:60:4;;;;;;;:::i;11528:272::-;11750:6;11744:13;11735:6;11731:2;11727:15;11720:38;11286:529;-1:-1:-1;;;;;;11413:51:4;-1:-1:-1;;;11413:51:4;;-1:-1:-1;11406:58:4;;11250:620;-1:-1:-1;11854:4:4;11078:799;;;;;;:::o;1098:371:12:-;1335:7;1389:8;1399:9;1410:6;1429:9;1418:21;;;;;;;;:::i;:::-;;;;-1:-1:-1;;1418:21:12;;;;;;;;;;1372:88;;;;;1441:10;;1453:6;;1418:21;1372:88;;:::i;4187:893::-;4293:9;4317;4341:7;4384:3;:10;4398:2;4384:16;4376:53;;;;-1:-1:-1;;;4376:53:12;;27378:2:13;4376:53:12;;;27360:21:13;27417:2;27397:18;;;27390:30;27456:26;27436:18;;;27429:54;27500:18;;4376:53:12;27176:348:13;4376:53:12;-1:-1:-1;;;4838:2:12;4829:12;;4823:19;4908:2;4899:12;;4893:19;5015:2;5006:12;;;5000:19;4823;;4997:1;4992:28;;;;;4187:893::o;6651:348:4:-;6744:4;6769:16;6777:7;6769;:16::i;:::-;6761:73;;;;-1:-1:-1;;;6761:73:4;;18339:2:13;6761:73:4;;;18321:21:13;18378:2;18358:18;;;18351:30;18417:34;18397:18;;;18390:62;-1:-1:-1;;;18468:18:13;;;18461:42;18520:19;;6761:73:4;18137:408:13;6761:73:4;6845:13;6861:23;6876:7;6861:14;:23::i;:::-;6845:39;;6914:5;-1:-1:-1;;;;;6903:16:4;:7;-1:-1:-1;;;;;6903:16:4;;:51;;;;6947:7;-1:-1:-1;;;;;6923:31:4;:20;6935:7;6923:11;:20::i;:::-;-1:-1:-1;;;;;6923:31:4;;6903:51;:87;;;;6958:32;6975:5;6982:7;6958:16;:32::i;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;:::i;:::-;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14:173:13;82:20;;-1:-1:-1;;;;;131:31:13;;121:42;;111:70;;177:1;174;167:12;111:70;14:173;;;:::o;192:673::-;246:5;299:3;292:4;284:6;280:17;276:27;266:55;;317:1;314;307:12;266:55;353:6;340:20;379:4;403:60;419:43;459:2;419:43;:::i;:::-;403:60;:::i;:::-;485:3;509:2;504:3;497:15;537:2;532:3;528:12;521:19;;572:2;564:6;560:15;624:3;619:2;613;610:1;606:10;598:6;594:23;590:32;587:41;584:61;;;641:1;638;631:12;584:61;663:1;673:163;687:2;684:1;681:9;673:163;;;744:17;;732:30;;782:12;;;;814;;;;705:1;698:9;673:163;;;-1:-1:-1;854:5:13;;192:673;-1:-1:-1;;;;;;;192:673:13:o;870:530::-;912:5;965:3;958:4;950:6;946:17;942:27;932:55;;983:1;980;973:12;932:55;1019:6;1006:20;1045:18;1041:2;1038:26;1035:52;;;1067:18;;:::i;:::-;1111:55;1154:2;1135:13;;-1:-1:-1;;1131:27:13;1160:4;1127:38;1111:55;:::i;:::-;1191:2;1182:7;1175:19;1237:3;1230:4;1225:2;1217:6;1213:15;1209:26;1206:35;1203:55;;;1254:1;1251;1244:12;1203:55;1319:2;1312:4;1304:6;1300:17;1293:4;1284:7;1280:18;1267:55;1367:1;1342:16;;;1360:4;1338:27;1331:38;;;;1346:7;870:530;-1:-1:-1;;;870:530:13:o;1405:186::-;1464:6;1517:2;1505:9;1496:7;1492:23;1488:32;1485:52;;;1533:1;1530;1523:12;1485:52;1556:29;1575:9;1556:29;:::i;1596:260::-;1664:6;1672;1725:2;1713:9;1704:7;1700:23;1696:32;1693:52;;;1741:1;1738;1731:12;1693:52;1764:29;1783:9;1764:29;:::i;:::-;1754:39;;1812:38;1846:2;1835:9;1831:18;1812:38;:::i;:::-;1802:48;;1596:260;;;;;:::o;1861:328::-;1938:6;1946;1954;2007:2;1995:9;1986:7;1982:23;1978:32;1975:52;;;2023:1;2020;2013:12;1975:52;2046:29;2065:9;2046:29;:::i;:::-;2036:39;;2094:38;2128:2;2117:9;2113:18;2094:38;:::i;:::-;2084:48;;2179:2;2168:9;2164:18;2151:32;2141:42;;1861:328;;;;;:::o;2194:537::-;2289:6;2297;2305;2313;2366:3;2354:9;2345:7;2341:23;2337:33;2334:53;;;2383:1;2380;2373:12;2334:53;2406:29;2425:9;2406:29;:::i;:::-;2396:39;;2454:38;2488:2;2477:9;2473:18;2454:38;:::i;:::-;2444:48;;2539:2;2528:9;2524:18;2511:32;2501:42;;2594:2;2583:9;2579:18;2566:32;2621:18;2613:6;2610:30;2607:50;;;2653:1;2650;2643:12;2607:50;2676:49;2717:7;2708:6;2697:9;2693:22;2676:49;:::i;:::-;2666:59;;;2194:537;;;;;;;:::o;2736:1748::-;2918:6;2926;2934;2942;2950;2958;2966;3019:3;3007:9;2998:7;2994:23;2990:33;2987:53;;;3036:1;3033;3026:12;2987:53;3059:29;3078:9;3059:29;:::i;:::-;3049:39;;3139:2;3128:9;3124:18;3111:32;3162:18;3203:2;3195:6;3192:14;3189:34;;;3219:1;3216;3209:12;3189:34;3257:6;3246:9;3242:22;3232:32;;3302:7;3295:4;3291:2;3287:13;3283:27;3273:55;;3324:1;3321;3314:12;3273:55;3348:74;3364:57;3417:2;3404:16;3364:57;:::i;3348:74::-;3444:3;3481:2;3468:16;3463:3;3456:29;3510:2;3505:3;3501:12;3494:19;;3541:2;3537;3533:11;3603:7;3598:2;3591;3578:16;3575:1;3571:24;3567:2;3563:33;3559:42;3556:55;3553:75;;;3624:1;3621;3614:12;3553:75;3646:1;3656:280;3683:2;3670:16;3667:1;3664:23;3656:280;;;3754:2;3748:3;3735:17;3732:25;3729:45;;;3770:1;3767;3760:12;3729:45;3799:62;3853:7;3848:2;3841:3;3828:17;3824:2;3820:26;3816:35;3799:62;:::i;:::-;3787:75;;3891:2;3882:12;;;;3914;;;;;3702:1;3695:9;3656:280;;;-1:-1:-1;3955:5:13;;-1:-1:-1;;;4013:2:13;3998:18;;3985:32;;-1:-1:-1;4029:16:13;;;4026:36;;;4058:1;4055;4048:12;4026:36;4081:63;4136:7;4125:8;4114:9;4110:24;4081:63;:::i;:::-;4071:73;;4163:38;4197:2;4186:9;4182:18;4163:38;:::i;:::-;4153:48;;4248:3;4237:9;4233:19;4220:33;4210:43;;4300:3;4289:9;4285:19;4272:33;4262:43;;4358:3;4347:9;4343:19;4330:33;4314:49;;4388:2;4378:8;4375:16;4372:36;;;4404:1;4401;4394:12;4372:36;;4427:51;4470:7;4459:8;4448:9;4444:24;4427:51;:::i;:::-;4417:61;;;2736:1748;;;;;;;;;;:::o;4489:315::-;4554:6;4562;4615:2;4603:9;4594:7;4590:23;4586:32;4583:52;;;4631:1;4628;4621:12;4583:52;4654:29;4673:9;4654:29;:::i;:::-;4644:39;;4733:2;4722:9;4718:18;4705:32;4746:28;4768:5;4746:28;:::i;:::-;4793:5;4783:15;;;4489:315;;;;;:::o;4809:254::-;4877:6;4885;4938:2;4926:9;4917:7;4913:23;4909:32;4906:52;;;4954:1;4951;4944:12;4906:52;4977:29;4996:9;4977:29;:::i;:::-;4967:39;5053:2;5038:18;;;;5025:32;;-1:-1:-1;;;4809:254:13:o;5068:750::-;5190:6;5198;5206;5214;5222;5230;5238;5291:3;5279:9;5270:7;5266:23;5262:33;5259:53;;;5308:1;5305;5298:12;5259:53;5331:29;5350:9;5331:29;:::i;:::-;5321:39;;5407:2;5396:9;5392:18;5379:32;5369:42;;5430:38;5464:2;5453:9;5449:18;5430:38;:::i;:::-;5420:48;;5487:38;5521:2;5510:9;5506:18;5487:38;:::i;:::-;5477:48;;5572:3;5561:9;5557:19;5544:33;5534:43;;5624:3;5613:9;5609:19;5596:33;5586:43;;5680:3;5669:9;5665:19;5652:33;5708:18;5700:6;5697:30;5694:50;;;5740:1;5737;5730:12;5694:50;5763:49;5804:7;5795:6;5784:9;5780:22;5763:49;:::i;5823:908::-;5907:6;5938:2;5981;5969:9;5960:7;5956:23;5952:32;5949:52;;;5997:1;5994;5987:12;5949:52;6037:9;6024:23;6070:18;6062:6;6059:30;6056:50;;;6102:1;6099;6092:12;6056:50;6125:22;;6178:4;6170:13;;6166:27;-1:-1:-1;6156:55:13;;6207:1;6204;6197:12;6156:55;6243:2;6230:16;6266:60;6282:43;6322:2;6282:43;:::i;6266:60::-;6348:3;6372:2;6367:3;6360:15;6400:2;6395:3;6391:12;6384:19;;6431:2;6427;6423:11;6479:7;6474:2;6468;6465:1;6461:10;6457:2;6453:19;6449:28;6446:41;6443:61;;;6500:1;6497;6490:12;6443:61;6522:1;6513:10;;6532:169;6546:2;6543:1;6540:9;6532:169;;;6603:23;6622:3;6603:23;:::i;:::-;6591:36;;6564:1;6557:9;;;;;6647:12;;;;6679;;6532:169;;;-1:-1:-1;6720:5:13;5823:908;-1:-1:-1;;;;;;;5823:908:13:o;6736:241::-;6792:6;6845:2;6833:9;6824:7;6820:23;6816:32;6813:52;;;6861:1;6858;6851:12;6813:52;6900:9;6887:23;6919:28;6941:5;6919:28;:::i;6982:245::-;7049:6;7102:2;7090:9;7081:7;7077:23;7073:32;7070:52;;;7118:1;7115;7108:12;7070:52;7150:9;7144:16;7169:28;7191:5;7169:28;:::i;7232:245::-;7290:6;7343:2;7331:9;7322:7;7318:23;7314:32;7311:52;;;7359:1;7356;7349:12;7311:52;7398:9;7385:23;7417:30;7441:5;7417:30;:::i;7482:249::-;7551:6;7604:2;7592:9;7583:7;7579:23;7575:32;7572:52;;;7620:1;7617;7610:12;7572:52;7652:9;7646:16;7671:30;7695:5;7671:30;:::i;7736:321::-;7805:6;7858:2;7846:9;7837:7;7833:23;7829:32;7826:52;;;7874:1;7871;7864:12;7826:52;7914:9;7901:23;7947:18;7939:6;7936:30;7933:50;;;7979:1;7976;7969:12;7933:50;8002:49;8043:7;8034:6;8023:9;8019:22;8002:49;:::i;8062:180::-;8121:6;8174:2;8162:9;8153:7;8149:23;8145:32;8142:52;;;8190:1;8187;8180:12;8142:52;-1:-1:-1;8213:23:13;;8062:180;-1:-1:-1;8062:180:13:o;8247:435::-;8300:3;8338:5;8332:12;8365:6;8360:3;8353:19;8391:4;8420:2;8415:3;8411:12;8404:19;;8457:2;8450:5;8446:14;8478:1;8488:169;8502:6;8499:1;8496:13;8488:169;;;8563:13;;8551:26;;8597:12;;;;8632:15;;;;8524:1;8517:9;8488:169;;;-1:-1:-1;8673:3:13;;8247:435;-1:-1:-1;;;;;8247:435:13:o;8687:257::-;8728:3;8766:5;8760:12;8793:6;8788:3;8781:19;8809:63;8865:6;8858:4;8853:3;8849:14;8842:4;8835:5;8831:16;8809:63;:::i;:::-;8926:2;8905:15;-1:-1:-1;;8901:29:13;8892:39;;;;8933:4;8888:50;;8687:257;-1:-1:-1;;8687:257:13:o;8949:1061::-;9268:3;9300:26;9296:31;9369:2;9360:6;9356:2;9352:15;9348:24;9343:3;9336:37;9424:2;9415:6;9411:2;9407:15;9403:24;9398:2;9393:3;9389:12;9382:46;;9458:6;9453:2;9448:3;9444:12;9437:28;9494:6;9488:13;9520:4;9533:60;9586:6;9581:2;9576:3;9572:12;9567:2;9559:6;9555:15;9533:60;:::i;:::-;9665:13;;9619:16;;;9637:2;9615:25;;9724:15;;;9757:1;9767:177;9781:8;9778:1;9775:15;9767:177;;;9846:13;;9832:28;;9882:14;;;;9919:15;;;;9805:1;9798:9;9767:177;;;-1:-1:-1;;;9953:21:13;;;9990:14;;;;;-1:-1:-1;;;;;;;8949:1061:13:o;10633:276::-;10764:3;10802:6;10796:13;10818:53;10864:6;10859:3;10852:4;10844:6;10840:17;10818:53;:::i;:::-;10887:16;;;;;10633:276;-1:-1:-1;;10633:276:13:o;10914:470::-;11093:3;11131:6;11125:13;11147:53;11193:6;11188:3;11181:4;11173:6;11169:17;11147:53;:::i;:::-;11263:13;;11222:16;;;;11285:57;11263:13;11222:16;11319:4;11307:17;;11285:57;:::i;:::-;11358:20;;10914:470;-1:-1:-1;;;;10914:470:13:o;12573:488::-;-1:-1:-1;;;;;12842:15:13;;;12824:34;;12894:15;;12889:2;12874:18;;12867:43;12941:2;12926:18;;12919:34;;;12989:3;12984:2;12969:18;;12962:31;;;12767:4;;13010:45;;13035:19;;13027:6;13010:45;:::i;:::-;13002:53;12573:488;-1:-1:-1;;;;;;12573:488:13:o;13345:604::-;-1:-1:-1;;;;;13674:15:13;;;13656:34;;13721:2;13706:18;;13699:34;;;13769:15;;13764:2;13749:18;;13742:43;13816:2;13801:18;;13794:34;;;13636:3;13859;13844:19;;13837:32;;;13599:4;;13886:57;;13923:19;;13915:6;13886:57;:::i;:::-;13878:65;13345:604;-1:-1:-1;;;;;;;13345:604:13:o;13954:802::-;14116:4;14145:2;14185;14174:9;14170:18;14215:2;14204:9;14197:21;14238:6;14273;14267:13;14304:6;14296;14289:22;14342:2;14331:9;14327:18;14320:25;;14404:2;14394:6;14391:1;14387:14;14376:9;14372:30;14368:39;14354:53;;14442:2;14434:6;14430:15;14463:1;14473:254;14487:6;14484:1;14481:13;14473:254;;;14580:2;14576:7;14564:9;14556:6;14552:22;14548:36;14543:3;14536:49;14608:39;14640:6;14631;14625:13;14608:39;:::i;:::-;14598:49;-1:-1:-1;14705:12:13;;;;14670:15;;;;14509:1;14502:9;14473:254;;;-1:-1:-1;14744:6:13;;13954:802;-1:-1:-1;;;;;;;13954:802:13:o;14761:261::-;14940:2;14929:9;14922:21;14903:4;14960:56;15012:2;15001:9;14997:18;14989:6;14960:56;:::i;15622:219::-;15771:2;15760:9;15753:21;15734:4;15791:44;15831:2;15820:9;15816:18;15808:6;15791:44;:::i;15846:414::-;16048:2;16030:21;;;16087:2;16067:18;;;16060:30;16126:34;16121:2;16106:18;;16099:62;-1:-1:-1;;;16192:2:13;16177:18;;16170:48;16250:3;16235:19;;15846:414::o;25787:343::-;25989:2;25971:21;;;26028:2;26008:18;;;26001:30;-1:-1:-1;;;26062:2:13;26047:18;;26040:49;26121:2;26106:18;;25787:343::o;26482:347::-;26684:2;26666:21;;;26723:2;26703:18;;;26696:30;26762:25;26757:2;26742:18;;26735:53;26820:2;26805:18;;26482:347::o;27900:275::-;27971:2;27965:9;28036:2;28017:13;;-1:-1:-1;;28013:27:13;28001:40;;28071:18;28056:34;;28092:22;;;28053:62;28050:88;;;28118:18;;:::i;:::-;28154:2;28147:22;27900:275;;-1:-1:-1;27900:275:13:o;28180:183::-;28240:4;28273:18;28265:6;28262:30;28259:56;;;28295:18;;:::i;:::-;-1:-1:-1;28340:1:13;28336:14;28352:4;28332:25;;28180:183::o;28368:128::-;28408:3;28439:1;28435:6;28432:1;28429:13;28426:39;;;28445:18;;:::i;:::-;-1:-1:-1;28481:9:13;;28368:128::o;28501:120::-;28541:1;28567;28557:35;;28572:18;;:::i;:::-;-1:-1:-1;28606:9:13;;28501:120::o;28626:168::-;28666:7;28732:1;28728;28724:6;28720:14;28717:1;28714:21;28709:1;28702:9;28695:17;28691:45;28688:71;;;28739:18;;:::i;:::-;-1:-1:-1;28779:9:13;;28626:168::o;28799:125::-;28839:4;28867:1;28864;28861:8;28858:34;;;28872:18;;:::i;:::-;-1:-1:-1;28909:9:13;;28799:125::o;28929:258::-;29001:1;29011:113;29025:6;29022:1;29019:13;29011:113;;;29101:11;;;29095:18;29082:11;;;29075:39;29047:2;29040:10;29011:113;;;29142:6;29139:1;29136:13;29133:48;;;-1:-1:-1;;29177:1:13;29159:16;;29152:27;28929:258::o;29192:380::-;29271:1;29267:12;;;;29314;;;29335:61;;29389:4;29381:6;29377:17;29367:27;;29335:61;29442:2;29434:6;29431:14;29411:18;29408:38;29405:161;;;29488:10;29483:3;29479:20;29476:1;29469:31;29523:4;29520:1;29513:15;29551:4;29548:1;29541:15;29405:161;;29192:380;;;:::o;29577:135::-;29616:3;-1:-1:-1;;29637:17:13;;29634:43;;;29657:18;;:::i;:::-;-1:-1:-1;29704:1:13;29693:13;;29577:135::o;29717:112::-;29749:1;29775;29765:35;;29780:18;;:::i;:::-;-1:-1:-1;29814:9:13;;29717:112::o;29834:127::-;29895:10;29890:3;29886:20;29883:1;29876:31;29926:4;29923:1;29916:15;29950:4;29947:1;29940:15;29966:127;30027:10;30022:3;30018:20;30015:1;30008:31;30058:4;30055:1;30048:15;30082:4;30079:1;30072:15;30098:127;30159:10;30154:3;30150:20;30147:1;30140:31;30190:4;30187:1;30180:15;30214:4;30211:1;30204:15;30230:127;30291:10;30286:3;30282:20;30279:1;30272:31;30322:4;30319:1;30312:15;30346:4;30343:1;30336:15;30362:118;30448:5;30441:13;30434:21;30427:5;30424:32;30414:60;;30470:1;30467;30460:12;30485:131;-1:-1:-1;;;;;;30559:32:13;;30549:43;;30539:71;;30606:1;30603;30596:12

Swarm Source

ipfs://26be3d293d4ea89b423812b3b285dd3abe94d4d06e5e452261e6577d2c6b7863

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

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