Contract 0xc07b6dbe4378886c7ea10da1f2484be0c58e3a73

Contract Overview

Balance:
0 MATIC
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x76f2e4fae430971ba1de62f730ef195adcc140e9b4f1dc2ddc044bf35bd6a9080x60806040219319332021-11-26 3:53:419 days 16 hrs ago0x25af24c4b2c0695b1694f1248143b6d7a7c63b9c IN  Contract Creation0 MATIC0.017463537
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
PolygonCryptoNijigenGirlsUpgradeable

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity Standard Json-Input format)

File 1 of 14 : PolygonCryptoNijigenGirlsUpgradeable.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

import "@openzeppelin/contracts-upgradeable/token/ERC721/ERC721Upgradeable.sol";
import "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol";
import "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol";
import "@openzeppelin/contracts-upgradeable/token/ERC20/IERC20Upgradeable.sol";
import "./polygon/IChildToken.sol";

contract PolygonCryptoNijigenGirlsUpgradeable is IChildToken, Initializable, ERC721Upgradeable, OwnableUpgradeable {
    using AddressUpgradeable for address;
    using StringsUpgradeable for uint256;

    uint256[] private _tokenIds;

    uint256 _baseMintPrice;

    uint256 _maxTokenId;

    string private _uri;

    // Optional mapping for token price
    mapping(uint256 => uint256) private _tokenPrice;

    address private _erc20TokenAddress;

    mapping (uint256 => bool) public withdrawnTokens;

    mapping (address => bool) public adminMap;

    mapping(uint256 => uint256) private sellTokenPrice;

    function initialize() initializer public {
        __ERC721_init("Crypto Nijigen Girls", "CNG");
        __Ownable_init();
        setURI("https://ipfs.io/ipns/k51qzi5uqu5dgqtirtxnm0vy6zvtu3enn4vmisee4dd67g0ue9plk8mhm2mwq3/CNG");
        _baseMintPrice = 0.05 ether;
    }

    event NftSell(address _seller, uint256 _price, uint256 _tokenId, uint256 _days);
    event NftBan(address _seller, uint256 _tokenId);
    event NftBought(address _seller, address _buyer, uint256 _price, uint256 _tokenId);
    event NftBatchMintFrom(address _seller, address[] _buyer, uint256[] _tokenIds);
    event PaymentReleased(address to, uint256 amount);

    function addAdmin (address newAddress) public onlyOwner {
        adminMap[newAddress] = true;
    }

    function tokenURI(uint256 tokenId)
    public
    view
    override(ERC721Upgradeable)
    returns (string memory)
    {
        return string(abi.encodePacked(_uri,tokenId.toString(),".json")) ;
    }

    function totalSupply()
    public
    view
    virtual
    returns (uint256)
    {
        return _tokenIds.length;
    }

    function setURI(string memory newuri) public virtual onlyOwner{
        _uri = newuri;
    }

    function setErc20TokenAddress(address newErc20TokenAddress) public virtual onlyOwner{
        _erc20TokenAddress = newErc20TokenAddress;
    }

    function setBaseSellPrice(uint256 baseSellPrice) public virtual onlyOwner{
        _baseMintPrice = baseSellPrice;
    }

    function sellCNG(uint256 _tokenId, uint256 _price, uint256 _days) external {
        require(msg.sender == ownerOf(_tokenId), 'CNGE001');
        require(_price > _baseMintPrice, 'CNGE002');
        sellTokenPrice[_tokenId] = _price;

        emit NftSell(msg.sender, _price, _tokenId, _days);
    }

    function banCNG(uint256 _tokenId) external {
        require(msg.sender == ownerOf(_tokenId), 'CNGE001');
        sellTokenPrice[_tokenId] = 0;

        emit NftBan(msg.sender, _tokenId);
    }

    function buyCNG(uint256 _tokenId) external {
        uint256 price = sellTokenPrice[_tokenId];
        require(price > 0, 'CNGE002');
        uint256 txFee = price / 100 * 2;
        address seller = ownerOf(_tokenId);
        if(_erc20TokenAddress != address(0)){
            IERC20Upgradeable tokenContract = IERC20Upgradeable(_erc20TokenAddress);
            require(tokenContract.transferFrom(msg.sender, seller, price - txFee), "CNGE020");
            require(tokenContract.transferFrom(msg.sender, owner(), txFee), "CNGE021");
        } else {
            payable(seller).transfer(price - txFee); // send the ETH to the seller
        }
        _transfer(seller, msg.sender, _tokenId);
        sellTokenPrice[_tokenId] = 0; // not for sale anymore

        emit NftBought(seller, msg.sender, price, _tokenId);
    }

    function release(address payable account) public virtual onlyOwner{

        uint256 payment = address(this).balance;

        require(payment != 0, "CNGE005");

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

    function tokenIdOfIndex(uint256 _index) public view virtual returns (uint256){
        return _tokenIds[_index];
    }

    function ownerTokenIds(address account) public view virtual returns (string memory){
        string memory senderTokenIds = "";
        for(uint256 i=0;i < _tokenIds.length;i++){
            if(_tokenIds[i] == 0){
                continue;
            }
            address ownerAddress = ownerOf(_tokenIds[i]);
            if(ownerAddress == account){
                senderTokenIds = string(abi.encodePacked(senderTokenIds,_tokenIds[i].toString(),"/")) ;
            }
        }
        return senderTokenIds;
    }

    function mint(address user, uint256 _tokenId) external {
        require(adminMap[msg.sender] || msg.sender == owner(), 'CNGE001');
        _safeMint(user, _tokenId);
        _tokenIds.push(_tokenId);
    }

    function batchMintFrom(address[] memory users,uint256[] memory ids) external payable{
        require(users.length == ids.length, 'CNGE111');
        require(adminMap[msg.sender] || msg.sender == owner(), 'CNGE001');
        for(uint256 j = 0 ; j<ids.length ; j++){
            _safeMint(users[j],ids[j]);
            _tokenIds.push(ids[j]);
        }
        emit NftBatchMintFrom(address(0), users, ids);
    }

    function exists(uint256 tokenId) external view returns (bool) {
        return _exists(tokenId);
    }

    // polygon deposit
    function deposit(address user, bytes calldata depositData)
    external
    override
    {
        require(adminMap[msg.sender], "CNGE001");
        // deposit single
        if (depositData.length == 32) {
            uint256 tokenId = abi.decode(depositData, (uint256));
            withdrawnTokens[tokenId] = false;
            _mint(user, tokenId);
            _tokenIds.push(tokenId);
            // deposit batch
        } else {
            uint256[] memory tokens = abi.decode(depositData, (uint256[]));
            uint256 length = tokens.length;
            for (uint256 i; i < length; i++) {
                withdrawnTokens[tokens[i]] = false;
                _mint(user, tokens[i]);
                _tokenIds.push(tokens[i]);
            }
        }
    }

    /**
     * @notice called when user wants to withdraw token back to root chain
     * @dev Should handle withraw by burning user's token.
     * Should set `withdrawnTokens` mapping to `true` for the tokenId being withdrawn
     * This transaction will be verified when exiting on root chain
     * @param tokenId tokenId to withdraw
     */
    function withdraw(uint256 tokenId) external {
        require(tokenId < 17778, "CNGE110");
        require(msg.sender == ownerOf(tokenId), "CNGE001");
        withdrawnTokens[tokenId] = true;
        uint256 index = _tokenIds.length;
        for(uint256 i=0;i < _tokenIds.length;i++){
            if(tokenId == _tokenIds[i]){
                index = i;
                break;
            }
        }
        if(index < _tokenIds.length){
            delete _tokenIds[index];
        }
        _burn(tokenId);
    }
}

File 2 of 14 : ERC721Upgradeable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC721Upgradeable.sol";
import "./IERC721ReceiverUpgradeable.sol";
import "./extensions/IERC721MetadataUpgradeable.sol";
import "../../utils/AddressUpgradeable.sol";
import "../../utils/ContextUpgradeable.sol";
import "../../utils/StringsUpgradeable.sol";
import "../../utils/introspection/ERC165Upgradeable.sol";
import "../../proxy/utils/Initializable.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}.
 */
contract ERC721Upgradeable is Initializable, ContextUpgradeable, ERC165Upgradeable, IERC721Upgradeable, IERC721MetadataUpgradeable {
    using AddressUpgradeable for address;
    using StringsUpgradeable for uint256;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to owner address
    mapping(uint256 => address) private _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.
     */
    function __ERC721_init(string memory name_, string memory symbol_) internal initializer {
        __Context_init_unchained();
        __ERC165_init_unchained();
        __ERC721_init_unchained(name_, symbol_);
    }

    function __ERC721_init_unchained(string memory name_, string memory symbol_) internal initializer {
        _name = name_;
        _symbol = symbol_;
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165Upgradeable, IERC165Upgradeable) returns (bool) {
        return
            interfaceId == type(IERC721Upgradeable).interfaceId ||
            interfaceId == type(IERC721MetadataUpgradeable).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 override returns (string memory) {
        return _name;
    }

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

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        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 "";
    }

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public virtual override {
        address owner = ERC721Upgradeable.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 See {IERC721-transferFrom}.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");

        _transfer(from, to, tokenId);
    }

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

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public virtual override {
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");
        _safeTransfer(from, to, tokenId, _data);
    }

    /**
     * @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 = ERC721Upgradeable.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 = ERC721Upgradeable.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(ERC721Upgradeable.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(ERC721Upgradeable.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 IERC721ReceiverUpgradeable(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
                return retval == IERC721ReceiverUpgradeable.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 {}
    uint256[44] private __gap;
}

File 3 of 14 : Initializable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed
 * behind a proxy. Since a proxied contract can't have a constructor, it's common to move constructor logic to an
 * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer
 * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect.
 *
 * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as
 * possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}.
 *
 * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure
 * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity.
 */
abstract contract Initializable {
    /**
     * @dev Indicates that the contract has been initialized.
     */
    bool private _initialized;

    /**
     * @dev Indicates that the contract is in the process of being initialized.
     */
    bool private _initializing;

    /**
     * @dev Modifier to protect an initializer function from being invoked twice.
     */
    modifier initializer() {
        require(_initializing || !_initialized, "Initializable: contract is already initialized");

        bool isTopLevelCall = !_initializing;
        if (isTopLevelCall) {
            _initializing = true;
            _initialized = true;
        }

        _;

        if (isTopLevelCall) {
            _initializing = false;
        }
    }
}

File 4 of 14 : OwnableUpgradeable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../utils/ContextUpgradeable.sol";
import "../proxy/utils/Initializable.sol";

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

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    function __Ownable_init() internal initializer {
        __Context_init_unchained();
        __Ownable_init_unchained();
    }

    function __Ownable_init_unchained() internal initializer {
        _setOwner(_msgSender());
    }

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

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

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

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

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
    uint256[49] private __gap;
}

File 5 of 14 : IERC20Upgradeable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

File 6 of 14 : IChildToken.sol
pragma solidity ^0.8.2;

interface IChildToken {
    function deposit(address user, bytes calldata depositData) external;
}

File 7 of 14 : IERC721Upgradeable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

File 8 of 14 : IERC721ReceiverUpgradeable.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 IERC721ReceiverUpgradeable {
    /**
     * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
     * by `operator` from `from`, this function is called.
     *
     * It must return its Solidity selector to confirm the token transfer.
     * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.
     *
     * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

File 9 of 14 : IERC721MetadataUpgradeable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721Upgradeable.sol";

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

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

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

File 10 of 14 : AddressUpgradeable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Collection of functions related to the address type
 */
library AddressUpgradeable {
    /**
     * @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 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 11 of 14 : ContextUpgradeable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;
import "../proxy/utils/Initializable.sol";

/**
 * @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 ContextUpgradeable is Initializable {
    function __Context_init() internal initializer {
        __Context_init_unchained();
    }

    function __Context_init_unchained() internal initializer {
    }
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
    uint256[50] private __gap;
}

File 12 of 14 : StringsUpgradeable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library StringsUpgradeable {
    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 14 : ERC165Upgradeable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC165Upgradeable.sol";
import "../../proxy/utils/Initializable.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 ERC165Upgradeable is Initializable, IERC165Upgradeable {
    function __ERC165_init() internal initializer {
        __ERC165_init_unchained();
    }

    function __ERC165_init_unchained() internal initializer {
    }
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165Upgradeable).interfaceId;
    }
    uint256[50] private __gap;
}

File 14 of 14 : IERC165Upgradeable.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 IERC165Upgradeable {
    /**
     * @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);
}

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

Contract ABI

[{"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":false,"internalType":"address","name":"_seller","type":"address"},{"indexed":false,"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"NftBan","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_seller","type":"address"},{"indexed":false,"internalType":"address[]","name":"_buyer","type":"address[]"},{"indexed":false,"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"}],"name":"NftBatchMintFrom","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_seller","type":"address"},{"indexed":false,"internalType":"address","name":"_buyer","type":"address"},{"indexed":false,"internalType":"uint256","name":"_price","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"NftBought","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_seller","type":"address"},{"indexed":false,"internalType":"uint256","name":"_price","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_tokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_days","type":"uint256"}],"name":"NftSell","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReleased","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"newAddress","type":"address"}],"name":"addAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"adminMap","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":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"banCNG","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"users","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"batchMintFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"buyCNG","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"},{"internalType":"bytes","name":"depositData","type":"bytes"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"exists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"},{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"ownerTokenIds","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"account","type":"address"}],"name":"release","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_price","type":"uint256"},{"internalType":"uint256","name":"_days","type":"uint256"}],"name":"sellCNG","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"baseSellPrice","type":"uint256"}],"name":"setBaseSellPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newErc20TokenAddress","type":"address"}],"name":"setErc20TokenAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newuri","type":"string"}],"name":"setURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_index","type":"uint256"}],"name":"tokenIdOfIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"withdrawnTokens","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"}]

608060405234801561001057600080fd5b506159dc80620000216000396000f3fe6080604052600436106102045760003560e01c806370a0823111610118578063a22cb465116100a0578063d437132b1161006f578063d437132b1461074e578063dbbc830b1461078b578063e985e9c5146107c8578063eb107e2014610805578063f2fde38b1461082e57610204565b8063a22cb46514610696578063b88d4fde146106bf578063c87b56dd146106e8578063cf2c52cb1461072557610204565b8063821baacb116100e7578063821baacb146105be5780638aa90213146105da5780638bb8fa92146106175780638da5cb5b1461064057806395d89b411461066b57610204565b806370a082311461052a578063715018a61461056757806372639c811461057e5780638129fc1c146105a757610204565b806323b872dd1161019b578063499e69821161016a578063499e6982146104355780634f558e791461045e5780636352211e1461049b5780636504cb30146104d8578063704802751461050157610204565b806323b872dd146103915780632e1a7d4d146103ba57806340c10f19146103e357806342842e0e1461040c57610204565b8063081812fc116101d7578063081812fc146102d7578063095ea7b31461031457806318160ddd1461033d578063191655871461036857610204565b806301ffc9a71461020957806302fe53051461024657806306fdde031461026f57806307a974fc1461029a575b600080fd5b34801561021557600080fd5b50610230600480360381019061022b9190614036565b610857565b60405161023d91906149af565b60405180910390f35b34801561025257600080fd5b5061026d60048036038101906102689190614088565b610939565b005b34801561027b57600080fd5b506102846109cf565b60405161029191906149ca565b60405180910390f35b3480156102a657600080fd5b506102c160048036038101906102bc91906140c9565b610a61565b6040516102ce91906149af565b60405180910390f35b3480156102e357600080fd5b506102fe60048036038101906102f991906140c9565b610a81565b60405161030b91906147f0565b60405180910390f35b34801561032057600080fd5b5061033b60048036038101906103369190613f24565b610b06565b005b34801561034957600080fd5b50610352610c1e565b60405161035f9190614d0c565b60405180910390f35b34801561037457600080fd5b5061038f600480360381019061038a9190613d61565b610c2b565b005b34801561039d57600080fd5b506103b860048036038101906103b39190613dc6565b610d37565b005b3480156103c657600080fd5b506103e160048036038101906103dc91906140c9565b610d97565b005b3480156103ef57600080fd5b5061040a60048036038101906104059190613f24565b610f62565b005b34801561041857600080fd5b50610433600480360381019061042e9190613dc6565b611062565b005b34801561044157600080fd5b5061045c600480360381019061045791906140c9565b611082565b005b34801561046a57600080fd5b50610485600480360381019061048091906140c9565b6113f2565b60405161049291906149af565b60405180910390f35b3480156104a757600080fd5b506104c260048036038101906104bd91906140c9565b611404565b6040516104cf91906147f0565b60405180910390f35b3480156104e457600080fd5b506104ff60048036038101906104fa91906140c9565b6114b6565b005b34801561050d57600080fd5b5061052860048036038101906105239190613d38565b61153c565b005b34801561053657600080fd5b50610551600480360381019061054c9190613d38565b611613565b60405161055e9190614d0c565b60405180910390f35b34801561057357600080fd5b5061057c6116cb565b005b34801561058a57600080fd5b506105a560048036038101906105a091906140f2565b611753565b005b3480156105b357600080fd5b506105bc611867565b005b6105d860048036038101906105d39190613f60565b6119eb565b005b3480156105e657600080fd5b5061060160048036038101906105fc9190613d38565b611c4b565b60405161060e91906149ca565b60405180910390f35b34801561062357600080fd5b5061063e600480360381019061063991906140c9565b611dd8565b005b34801561064c57600080fd5b50610655611ea3565b60405161066291906147f0565b60405180910390f35b34801561067757600080fd5b50610680611ecd565b60405161068d91906149ca565b60405180910390f35b3480156106a257600080fd5b506106bd60048036038101906106b89190613e90565b611f5f565b005b3480156106cb57600080fd5b506106e660048036038101906106e19190613e15565b6120e0565b005b3480156106f457600080fd5b5061070f600480360381019061070a91906140c9565b612142565b60405161071c91906149ca565b60405180910390f35b34801561073157600080fd5b5061074c60048036038101906107479190613ecc565b612176565b005b34801561075a57600080fd5b50610775600480360381019061077091906140c9565b6123e5565b6040516107829190614d0c565b60405180910390f35b34801561079757600080fd5b506107b260048036038101906107ad9190613d38565b612433565b6040516107bf91906149af565b60405180910390f35b3480156107d457600080fd5b506107ef60048036038101906107ea9190613d8a565b612453565b6040516107fc91906149af565b60405180910390f35b34801561081157600080fd5b5061082c60048036038101906108279190613d38565b6124e7565b005b34801561083a57600080fd5b5061085560048036038101906108509190613d38565b6125a7565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061092257507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061093257506109318261269f565b5b9050919050565b610941612709565b73ffffffffffffffffffffffffffffffffffffffff1661095f611ea3565b73ffffffffffffffffffffffffffffffffffffffff16146109b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109ac90614c0c565b60405180910390fd5b8060cc90805190602001906109cb9291906139bc565b5050565b6060606580546109de906150ee565b80601f0160208091040260200160405190810160405280929190818152602001828054610a0a906150ee565b8015610a575780601f10610a2c57610100808354040283529160200191610a57565b820191906000526020600020905b815481529060010190602001808311610a3a57829003601f168201915b5050505050905090565b60cf6020528060005260406000206000915054906101000a900460ff1681565b6000610a8c82612711565b610acb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ac290614bec565b60405180910390fd5b6069600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b1182611404565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610b82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b7990614c6c565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610ba1612709565b73ffffffffffffffffffffffffffffffffffffffff161480610bd05750610bcf81610bca612709565b612453565b5b610c0f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c0690614b2c565b60405180910390fd5b610c19838361277d565b505050565b600060c980549050905090565b610c33612709565b73ffffffffffffffffffffffffffffffffffffffff16610c51611ea3565b73ffffffffffffffffffffffffffffffffffffffff1614610ca7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9e90614c0c565b60405180910390fd5b60004790506000811415610cf0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ce790614a4c565b60405180910390fd5b610cfa8282612836565b7fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b0568282604051610d2b92919061480b565b60405180910390a15050565b610d48610d42612709565b8261292a565b610d87576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d7e90614cac565b60405180910390fd5b610d92838383612a08565b505050565b6145728110610ddb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dd290614ccc565b60405180910390fd5b610de481611404565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610e51576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e4890614c4c565b60405180910390fd5b600160cf600083815260200190815260200160002060006101000a81548160ff021916908315150217905550600060c980549050905060005b60c980549050811015610efe5760c98181548110610ed1577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200154831415610eeb57809150610efe565b8080610ef690615151565b915050610e8a565b5060c980549050811015610f555760c98181548110610f46577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001600090555b610f5e82612c64565b5050565b60d060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1680610fec5750610fbd611ea3565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b61102b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161102290614c4c565b60405180910390fd5b6110358282612d75565b60c98190806001815401808255809150506001900390600052602060002001600090919091909150555050565b61107d838383604051806020016040528060008152506120e0565b505050565b600060d16000838152602001908152602001600020549050600081116110dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110d490614c8c565b60405180910390fd5b600060026064836110ee9190614f31565b6110f89190614f62565b9050600061110584611404565b9050600073ffffffffffffffffffffffffffffffffffffffff1660ce60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461133857600060ce60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508073ffffffffffffffffffffffffffffffffffffffff166323b872dd338486886111ae9190614fbc565b6040518463ffffffff1660e01b81526004016111cc93929190614834565b602060405180830381600087803b1580156111e657600080fd5b505af11580156111fa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061121e919061400d565b61125d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161125490614bcc565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166323b872dd33611282611ea3565b866040518463ffffffff1660e01b81526004016112a193929190614834565b602060405180830381600087803b1580156112bb57600080fd5b505af11580156112cf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112f3919061400d565b611332576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161132990614a6c565b60405180910390fd5b5061138b565b8073ffffffffffffffffffffffffffffffffffffffff166108fc838561135e9190614fbc565b9081150290604051600060405180830381858888f19350505050158015611389573d6000803e3d6000fd5b505b611396813386612a08565b600060d16000868152602001908152602001600020819055507fdad7f0c8e6c45c6d423b15094a00fe8d5ccf890d0708f2be02d4f43663b27375813385876040516113e494939291906148b7565b60405180910390a150505050565b60006113fd82612711565b9050919050565b6000806067600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156114ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114a490614b6c565b60405180910390fd5b80915050919050565b6114be612709565b73ffffffffffffffffffffffffffffffffffffffff166114dc611ea3565b73ffffffffffffffffffffffffffffffffffffffff1614611532576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161152990614c0c565b60405180910390fd5b8060ca8190555050565b611544612709565b73ffffffffffffffffffffffffffffffffffffffff16611562611ea3565b73ffffffffffffffffffffffffffffffffffffffff16146115b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115af90614c0c565b60405180910390fd5b600160d060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611684576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161167b90614b4c565b60405180910390fd5b606860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6116d3612709565b73ffffffffffffffffffffffffffffffffffffffff166116f1611ea3565b73ffffffffffffffffffffffffffffffffffffffff1614611747576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161173e90614c0c565b60405180910390fd5b6117516000612d93565b565b61175c83611404565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146117c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117c090614c4c565b60405180910390fd5b60ca54821161180d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161180490614c8c565b60405180910390fd5b8160d16000858152602001908152602001600020819055507fe6ca22492bed9bd20aca247e36bfa9f2c776b99047dfae9cc33cf4103a32e5823383858460405161185a949392919061496a565b60405180910390a1505050565b600060019054906101000a900460ff168061188d575060008054906101000a900460ff16155b6118cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118c390614b8c565b60405180910390fd5b60008060019054906101000a900460ff16159050801561191c576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b6119906040518060400160405280601481526020017f43727970746f204e696a6967656e204769726c730000000000000000000000008152506040518060400160405280600381526020017f434e470000000000000000000000000000000000000000000000000000000000815250612e59565b611998612f4e565b6119b960405180608001604052806057815260200161595060579139610939565b66b1a2bc2ec5000060ca8190555080156119e85760008060016101000a81548160ff0219169083151502179055505b50565b8051825114611a2f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a2690614cec565b60405180910390fd5b60d060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1680611ab95750611a8a611ea3565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b611af8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aef90614c4c565b60405180910390fd5b60005b8151811015611c0a57611b8e838281518110611b40577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151838381518110611b81577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151612d75565b60c9828281518110611bc9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190806001815401808255809150506001900390600052602060002001600090919091909150558080611c0290615151565b915050611afb565b507f052d2a74cec6235f68c198e004465e71bd635ad527a70de983e287bff341339b60008383604051611c3f939291906148fc565b60405180910390a15050565b6060600060405180602001604052806000815250905060005b60c980549050811015611dce57600060c98281548110611cad577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001541415611cc357611dbb565b6000611d1260c98381548110611d02577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200154611404565b90508473ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611db95782611d9660c98481548110611d86577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200154613037565b604051602001611da792919061477d565b60405160208183030381529060405292505b505b8080611dc690615151565b915050611c64565b5080915050919050565b611de181611404565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611e4e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e4590614c4c565b60405180910390fd5b600060d16000838152602001908152602001600020819055507f7ff3355ff3f8f619a4462ed34af6ff641a6749aa2635810377b0a1df83c02a483382604051611e98929190614941565b60405180910390a150565b6000609760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060668054611edc906150ee565b80601f0160208091040260200160405190810160405280929190818152602001828054611f08906150ee565b8015611f555780601f10611f2a57610100808354040283529160200191611f55565b820191906000526020600020905b815481529060010190602001808311611f3857829003601f168201915b5050505050905090565b611f67612709565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611fd5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fcc90614aac565b60405180910390fd5b80606a6000611fe2612709565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661208f612709565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516120d491906149af565b60405180910390a35050565b6120f16120eb612709565b8361292a565b612130576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161212790614cac565b60405180910390fd5b61213c848484846131e4565b50505050565b606060cc61214f83613037565b6040516020016121609291906147ac565b6040516020818303038152906040529050919050565b60d060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16612202576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121f990614c4c565b60405180910390fd5b6020828290501415612286576000828281019061221f91906140c9565b9050600060cf600083815260200190815260200160002060006101000a81548160ff0219169083151502179055506122578482613240565b60c9819080600181540180825580915050600190039060005260206000200160009091909190915055506123e0565b600082828101906122979190613fcc565b905060008151905060005b818110156123dc57600060cf60008584815181106122e9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151815260200190815260200160002060006101000a81548160ff02191690831515021790555061236086848381518110612353577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151613240565b60c983828151811061239b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151908060018154018082558091505060019003906000526020600020016000909190919091505580806123d490615151565b9150506122a2565b5050505b505050565b600060c98281548110612421577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b60d06020528060005260406000206000915054906101000a900460ff1681565b6000606a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6124ef612709565b73ffffffffffffffffffffffffffffffffffffffff1661250d611ea3565b73ffffffffffffffffffffffffffffffffffffffff1614612563576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161255a90614c0c565b60405180910390fd5b8060ce60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6125af612709565b73ffffffffffffffffffffffffffffffffffffffff166125cd611ea3565b73ffffffffffffffffffffffffffffffffffffffff1614612623576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161261a90614c0c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612693576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161268a90614a0c565b60405180910390fd5b61269c81612d93565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b60008073ffffffffffffffffffffffffffffffffffffffff166067600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816069600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166127f083611404565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b80471015612879576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161287090614aec565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff168260405161289f906147db565b60006040518083038185875af1925050503d80600081146128dc576040519150601f19603f3d011682016040523d82523d6000602084013e6128e1565b606091505b5050905080612925576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161291c90614acc565b60405180910390fd5b505050565b600061293582612711565b612974576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161296b90614b0c565b60405180910390fd5b600061297f83611404565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806129ee57508373ffffffffffffffffffffffffffffffffffffffff166129d684610a81565b73ffffffffffffffffffffffffffffffffffffffff16145b806129ff57506129fe8185612453565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612a2882611404565b73ffffffffffffffffffffffffffffffffffffffff1614612a7e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a7590614c2c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612aee576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ae590614a8c565b60405180910390fd5b612af983838361340e565b612b0460008261277d565b6001606860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612b549190614fbc565b925050819055506001606860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612bab9190614edb565b92505081905550816067600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000612c6f82611404565b9050612c7d8160008461340e565b612c8860008361277d565b6001606860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612cd89190614fbc565b925050819055506067600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b612d8f828260405180602001604052806000815250613413565b5050565b6000609760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081609760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600060019054906101000a900460ff1680612e7f575060008054906101000a900460ff16155b612ebe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612eb590614b8c565b60405180910390fd5b60008060019054906101000a900460ff161590508015612f0e576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b612f1661346e565b612f1e613547565b612f288383613620565b8015612f495760008060016101000a81548160ff0219169083151502179055505b505050565b600060019054906101000a900460ff1680612f74575060008054906101000a900460ff16155b612fb3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612faa90614b8c565b60405180910390fd5b60008060019054906101000a900460ff161590508015613003576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b61300b61346e565b613013613729565b80156130345760008060016101000a81548160ff0219169083151502179055505b50565b6060600082141561307f576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506131df565b600082905060005b600082146130b157808061309a90615151565b915050600a826130aa9190614f31565b9150613087565b60008167ffffffffffffffff8111156130f3577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156131255781602001600182028036833780820191505090505b5090505b600085146131d85760018261313e9190614fbc565b9150600a8561314d919061519a565b60306131599190614edb565b60f81b818381518110613195577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856131d19190614f31565b9450613129565b8093505050505b919050565b6131ef848484612a08565b6131fb84848484613812565b61323a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613231906149ec565b60405180910390fd5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156132b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132a790614bac565b60405180910390fd5b6132b981612711565b156132f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132f090614a2c565b60405180910390fd5b6133056000838361340e565b6001606860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546133559190614edb565b92505081905550816067600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b505050565b61341d8383613240565b61342a6000848484613812565b613469576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613460906149ec565b60405180910390fd5b505050565b600060019054906101000a900460ff1680613494575060008054906101000a900460ff16155b6134d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134ca90614b8c565b60405180910390fd5b60008060019054906101000a900460ff161590508015613523576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b80156135445760008060016101000a81548160ff0219169083151502179055505b50565b600060019054906101000a900460ff168061356d575060008054906101000a900460ff16155b6135ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135a390614b8c565b60405180910390fd5b60008060019054906101000a900460ff1615905080156135fc576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b801561361d5760008060016101000a81548160ff0219169083151502179055505b50565b600060019054906101000a900460ff1680613646575060008054906101000a900460ff16155b613685576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161367c90614b8c565b60405180910390fd5b60008060019054906101000a900460ff1615905080156136d5576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b82606590805190602001906136eb9291906139bc565b5081606690805190602001906137029291906139bc565b5080156137245760008060016101000a81548160ff0219169083151502179055505b505050565b600060019054906101000a900460ff168061374f575060008054906101000a900460ff16155b61378e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161378590614b8c565b60405180910390fd5b60008060019054906101000a900460ff1615905080156137de576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b6137ee6137e9612709565b612d93565b801561380f5760008060016101000a81548160ff0219169083151502179055505b50565b60006138338473ffffffffffffffffffffffffffffffffffffffff166139a9565b1561399c578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261385c612709565b8786866040518563ffffffff1660e01b815260040161387e949392919061486b565b602060405180830381600087803b15801561389857600080fd5b505af19250505080156138c957506040513d601f19601f820116820180604052508101906138c6919061405f565b60015b61394c573d80600081146138f9576040519150601f19603f3d011682016040523d82523d6000602084013e6138fe565b606091505b50600081511415613944576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161393b906149ec565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506139a1565b600190505b949350505050565b600080823b905060008111915050919050565b8280546139c8906150ee565b90600052602060002090601f0160209004810192826139ea5760008555613a31565b82601f10613a0357805160ff1916838001178555613a31565b82800160010185558215613a31579182015b82811115613a30578251825591602001919060010190613a15565b5b509050613a3e9190613a42565b5090565b5b80821115613a5b576000816000905550600101613a43565b5090565b6000613a72613a6d84614d4c565b614d27565b90508083825260208201905082856020860282011115613a9157600080fd5b60005b85811015613ac15781613aa78882613bb3565b845260208401935060208301925050600181019050613a94565b5050509392505050565b6000613ade613ad984614d78565b614d27565b90508083825260208201905082856020860282011115613afd57600080fd5b60005b85811015613b2d5781613b138882613d23565b845260208401935060208301925050600181019050613b00565b5050509392505050565b6000613b4a613b4584614da4565b614d27565b905082815260208101848484011115613b6257600080fd5b613b6d8482856150ac565b509392505050565b6000613b88613b8384614dd5565b614d27565b905082815260208101848484011115613ba057600080fd5b613bab8482856150ac565b509392505050565b600081359050613bc2816158dc565b92915050565b600081359050613bd7816158f3565b92915050565b600082601f830112613bee57600080fd5b8135613bfe848260208601613a5f565b91505092915050565b600082601f830112613c1857600080fd5b8135613c28848260208601613acb565b91505092915050565b600081359050613c408161590a565b92915050565b600081519050613c558161590a565b92915050565b600081359050613c6a81615921565b92915050565b600081519050613c7f81615921565b92915050565b60008083601f840112613c9757600080fd5b8235905067ffffffffffffffff811115613cb057600080fd5b602083019150836001820283011115613cc857600080fd5b9250929050565b600082601f830112613ce057600080fd5b8135613cf0848260208601613b37565b91505092915050565b600082601f830112613d0a57600080fd5b8135613d1a848260208601613b75565b91505092915050565b600081359050613d3281615938565b92915050565b600060208284031215613d4a57600080fd5b6000613d5884828501613bb3565b91505092915050565b600060208284031215613d7357600080fd5b6000613d8184828501613bc8565b91505092915050565b60008060408385031215613d9d57600080fd5b6000613dab85828601613bb3565b9250506020613dbc85828601613bb3565b9150509250929050565b600080600060608486031215613ddb57600080fd5b6000613de986828701613bb3565b9350506020613dfa86828701613bb3565b9250506040613e0b86828701613d23565b9150509250925092565b60008060008060808587031215613e2b57600080fd5b6000613e3987828801613bb3565b9450506020613e4a87828801613bb3565b9350506040613e5b87828801613d23565b925050606085013567ffffffffffffffff811115613e7857600080fd5b613e8487828801613ccf565b91505092959194509250565b60008060408385031215613ea357600080fd5b6000613eb185828601613bb3565b9250506020613ec285828601613c31565b9150509250929050565b600080600060408486031215613ee157600080fd5b6000613eef86828701613bb3565b935050602084013567ffffffffffffffff811115613f0c57600080fd5b613f1886828701613c85565b92509250509250925092565b60008060408385031215613f3757600080fd5b6000613f4585828601613bb3565b9250506020613f5685828601613d23565b9150509250929050565b60008060408385031215613f7357600080fd5b600083013567ffffffffffffffff811115613f8d57600080fd5b613f9985828601613bdd565b925050602083013567ffffffffffffffff811115613fb657600080fd5b613fc285828601613c07565b9150509250929050565b600060208284031215613fde57600080fd5b600082013567ffffffffffffffff811115613ff857600080fd5b61400484828501613c07565b91505092915050565b60006020828403121561401f57600080fd5b600061402d84828501613c46565b91505092915050565b60006020828403121561404857600080fd5b600061405684828501613c5b565b91505092915050565b60006020828403121561407157600080fd5b600061407f84828501613c70565b91505092915050565b60006020828403121561409a57600080fd5b600082013567ffffffffffffffff8111156140b457600080fd5b6140c084828501613cf9565b91505092915050565b6000602082840312156140db57600080fd5b60006140e984828501613d23565b91505092915050565b60008060006060848603121561410757600080fd5b600061411586828701613d23565b935050602061412686828701613d23565b925050604061413786828701613d23565b9150509250925092565b600061414d8383614180565b60208301905092915050565b6000614165838361475f565b60208301905092915050565b61417a81615076565b82525050565b61418981614ff0565b82525050565b61419881614ff0565b82525050565b60006141a982614e3b565b6141b38185614e81565b93506141be83614e06565b8060005b838110156141ef5781516141d68882614141565b97506141e183614e67565b9250506001810190506141c2565b5085935050505092915050565b600061420782614e46565b6142118185614e92565b935061421c83614e16565b8060005b8381101561424d5781516142348882614159565b975061423f83614e74565b925050600181019050614220565b5085935050505092915050565b61426381615014565b82525050565b600061427482614e51565b61427e8185614ea3565b935061428e8185602086016150bb565b61429781615287565b840191505092915050565b60006142ad82614e5c565b6142b78185614ebf565b93506142c78185602086016150bb565b6142d081615287565b840191505092915050565b60006142e682614e5c565b6142f08185614ed0565b93506143008185602086016150bb565b80840191505092915050565b60008154614319816150ee565b6143238186614ed0565b9450600182166000811461433e576001811461434f57614382565b60ff19831686528186019350614382565b61435885614e26565b60005b8381101561437a5781548189015260018201915060208101905061435b565b838801955050505b50505092915050565b6000614398603283614ebf565b91506143a382615298565b604082019050919050565b60006143bb602683614ebf565b91506143c6826152e7565b604082019050919050565b60006143de601c83614ebf565b91506143e982615336565b602082019050919050565b6000614401600783614ebf565b915061440c8261535f565b602082019050919050565b6000614424600783614ebf565b915061442f82615388565b602082019050919050565b6000614447602483614ebf565b9150614452826153b1565b604082019050919050565b600061446a601983614ebf565b915061447582615400565b602082019050919050565b600061448d603a83614ebf565b915061449882615429565b604082019050919050565b60006144b0601d83614ebf565b91506144bb82615478565b602082019050919050565b60006144d3602c83614ebf565b91506144de826154a1565b604082019050919050565b60006144f6603883614ebf565b9150614501826154f0565b604082019050919050565b6000614519602a83614ebf565b91506145248261553f565b604082019050919050565b600061453c602983614ebf565b91506145478261558e565b604082019050919050565b600061455f602e83614ebf565b915061456a826155dd565b604082019050919050565b6000614582602083614ebf565b915061458d8261562c565b602082019050919050565b60006145a5600783614ebf565b91506145b082615655565b602082019050919050565b60006145c8602c83614ebf565b91506145d38261567e565b604082019050919050565b60006145eb600583614ed0565b91506145f6826156cd565b600582019050919050565b600061460e602083614ebf565b9150614619826156f6565b602082019050919050565b6000614631602983614ebf565b915061463c8261571f565b604082019050919050565b6000614654600783614ebf565b915061465f8261576e565b602082019050919050565b6000614677602183614ebf565b915061468282615797565b604082019050919050565b600061469a600083614eb4565b91506146a5826157e6565b600082019050919050565b60006146bd600783614ebf565b91506146c8826157e9565b602082019050919050565b60006146e0603183614ebf565b91506146eb82615812565b604082019050919050565b6000614703600783614ebf565b915061470e82615861565b602082019050919050565b6000614726600783614ebf565b91506147318261588a565b602082019050919050565b6000614749600183614ed0565b9150614754826158b3565b600182019050919050565b6147688161506c565b82525050565b6147778161506c565b82525050565b600061478982856142db565b915061479582846142db565b91506147a08261473c565b91508190509392505050565b60006147b8828561430c565b91506147c482846142db565b91506147cf826145de565b91508190509392505050565b60006147e68261468d565b9150819050919050565b6000602082019050614805600083018461418f565b92915050565b60006040820190506148206000830185614171565b61482d602083018461476e565b9392505050565b6000606082019050614849600083018661418f565b614856602083018561418f565b614863604083018461476e565b949350505050565b6000608082019050614880600083018761418f565b61488d602083018661418f565b61489a604083018561476e565b81810360608301526148ac8184614269565b905095945050505050565b60006080820190506148cc600083018761418f565b6148d9602083018661418f565b6148e6604083018561476e565b6148f3606083018461476e565b95945050505050565b6000606082019050614911600083018661418f565b8181036020830152614923818561419e565b9050818103604083015261493781846141fc565b9050949350505050565b6000604082019050614956600083018561418f565b614963602083018461476e565b9392505050565b600060808201905061497f600083018761418f565b61498c602083018661476e565b614999604083018561476e565b6149a6606083018461476e565b95945050505050565b60006020820190506149c4600083018461425a565b92915050565b600060208201905081810360008301526149e481846142a2565b905092915050565b60006020820190508181036000830152614a058161438b565b9050919050565b60006020820190508181036000830152614a25816143ae565b9050919050565b60006020820190508181036000830152614a45816143d1565b9050919050565b60006020820190508181036000830152614a65816143f4565b9050919050565b60006020820190508181036000830152614a8581614417565b9050919050565b60006020820190508181036000830152614aa58161443a565b9050919050565b60006020820190508181036000830152614ac58161445d565b9050919050565b60006020820190508181036000830152614ae581614480565b9050919050565b60006020820190508181036000830152614b05816144a3565b9050919050565b60006020820190508181036000830152614b25816144c6565b9050919050565b60006020820190508181036000830152614b45816144e9565b9050919050565b60006020820190508181036000830152614b658161450c565b9050919050565b60006020820190508181036000830152614b858161452f565b9050919050565b60006020820190508181036000830152614ba581614552565b9050919050565b60006020820190508181036000830152614bc581614575565b9050919050565b60006020820190508181036000830152614be581614598565b9050919050565b60006020820190508181036000830152614c05816145bb565b9050919050565b60006020820190508181036000830152614c2581614601565b9050919050565b60006020820190508181036000830152614c4581614624565b9050919050565b60006020820190508181036000830152614c6581614647565b9050919050565b60006020820190508181036000830152614c858161466a565b9050919050565b60006020820190508181036000830152614ca5816146b0565b9050919050565b60006020820190508181036000830152614cc5816146d3565b9050919050565b60006020820190508181036000830152614ce5816146f6565b9050919050565b60006020820190508181036000830152614d0581614719565b9050919050565b6000602082019050614d21600083018461476e565b92915050565b6000614d31614d42565b9050614d3d8282615120565b919050565b6000604051905090565b600067ffffffffffffffff821115614d6757614d66615258565b5b602082029050602081019050919050565b600067ffffffffffffffff821115614d9357614d92615258565b5b602082029050602081019050919050565b600067ffffffffffffffff821115614dbf57614dbe615258565b5b614dc882615287565b9050602081019050919050565b600067ffffffffffffffff821115614df057614def615258565b5b614df982615287565b9050602081019050919050565b6000819050602082019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000614ee68261506c565b9150614ef18361506c565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614f2657614f256151cb565b5b828201905092915050565b6000614f3c8261506c565b9150614f478361506c565b925082614f5757614f566151fa565b5b828204905092915050565b6000614f6d8261506c565b9150614f788361506c565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614fb157614fb06151cb565b5b828202905092915050565b6000614fc78261506c565b9150614fd28361506c565b925082821015614fe557614fe46151cb565b5b828203905092915050565b6000614ffb8261504c565b9050919050565b600061500d8261504c565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600061508182615088565b9050919050565b60006150938261509a565b9050919050565b60006150a58261504c565b9050919050565b82818337600083830152505050565b60005b838110156150d95780820151818401526020810190506150be565b838111156150e8576000848401525b50505050565b6000600282049050600182168061510657607f821691505b6020821081141561511a57615119615229565b5b50919050565b61512982615287565b810181811067ffffffffffffffff8211171561514857615147615258565b5b80604052505050565b600061515c8261506c565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561518f5761518e6151cb565b5b600182019050919050565b60006151a58261506c565b91506151b08361506c565b9250826151c0576151bf6151fa565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f434e474530303500000000000000000000000000000000000000000000000000600082015250565b7f434e474530323100000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160008201527f647920696e697469616c697a6564000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f434e474530323000000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f434e474530303100000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b50565b7f434e474530303200000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f434e474531313000000000000000000000000000000000000000000000000000600082015250565b7f434e474531313100000000000000000000000000000000000000000000000000600082015250565b7f2f00000000000000000000000000000000000000000000000000000000000000600082015250565b6158e581614ff0565b81146158f057600080fd5b50565b6158fc81615002565b811461590757600080fd5b50565b61591381615014565b811461591e57600080fd5b50565b61592a81615020565b811461593557600080fd5b50565b6159418161506c565b811461594c57600080fd5b5056fe68747470733a2f2f697066732e696f2f69706e732f6b3531717a69357571753564677174697274786e6d307679367a76747533656e6e34766d6973656534646436376730756539706c6b386d686d326d7771332f434e47a2646970667358221220f223d1a8aa5170eff559202b5d486207f3ab018f90cbf107787df8b343442e8f64736f6c63430008040033

Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading