POL Price: $0.479831 (+5.13%)
Gas: 30 GWei
 

Overview

POL Balance

Polygon PoS Chain LogoPolygon PoS Chain LogoPolygon PoS Chain Logo0 POL

POL Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Safe Transfer Fr...456312822023-07-28 19:25:58537 days ago1690572358IN
0x37feCD09...bd46C2f8B
0 POL0.01513062249.42505635
Set Approval For...290674812022-06-02 8:54:15958 days ago1654160055IN
0x37feCD09...bd46C2f8B
0 POL0.0013922130.00000001
Set Approval For...290552182022-06-02 1:43:14959 days ago1654134194IN
0x37feCD09...bd46C2f8B
0 POL0.0014212730.62629502
Set Approval For...289933632022-05-31 13:11:46960 days ago1654002706IN
0x37feCD09...bd46C2f8B
0 POL0.0013922130.000007
Set Approval For...287624572022-05-25 18:38:19966 days ago1653503899IN
0x37feCD09...bd46C2f8B
0 POL0.0015306632.98357859
Add Item287621292022-05-25 18:27:03966 days ago1653503223IN
0x37feCD09...bd46C2f8B
0 POL0.007371531.34555617
Set Approval For...285339092022-05-20 3:50:16972 days ago1653018616IN
0x37feCD09...bd46C2f8B
0 POL0.00696105150.00000003
Set Approval For...285338732022-05-20 3:49:00972 days ago1653018540IN
0x37feCD09...bd46C2f8B
0 POL0.00696105150.00000003
Set Approval For...285338382022-05-20 3:47:50972 days ago1653018470IN
0x37feCD09...bd46C2f8B
0 POL0.00696105150.00000006
Set Approval For...285338032022-05-20 3:46:36972 days ago1653018396IN
0x37feCD09...bd46C2f8B
0 POL0.00696105150.00000003
Set Approval For...285337672022-05-20 3:45:24972 days ago1653018324IN
0x37feCD09...bd46C2f8B
0 POL0.00696105150.00000002
Set Approval For...285337332022-05-20 3:44:12972 days ago1653018252IN
0x37feCD09...bd46C2f8B
0 POL0.00696105150.00000003
Set Approval For...285336962022-05-20 3:42:58972 days ago1653018178IN
0x37feCD09...bd46C2f8B
0 POL0.00696105150.00000002
Set Approval For...285336622022-05-20 3:41:46972 days ago1653018106IN
0x37feCD09...bd46C2f8B
0 POL0.00696105150.00000002
Set Approval For...285336212022-05-20 3:40:20972 days ago1653018020IN
0x37feCD09...bd46C2f8B
0 POL0.00696105150.00000002
Set Approval For...285335822022-05-20 3:39:02972 days ago1653017942IN
0x37feCD09...bd46C2f8B
0 POL0.00696105150.00000001
Set Approval For...285335462022-05-20 3:37:46972 days ago1653017866IN
0x37feCD09...bd46C2f8B
0 POL0.00696105150.00000001
Set Approval For...285335092022-05-20 3:36:32972 days ago1653017792IN
0x37feCD09...bd46C2f8B
0 POL0.00696105150.00000002
Set Approval For...285334702022-05-20 3:35:10972 days ago1653017710IN
0x37feCD09...bd46C2f8B
0 POL0.00696105150.00000002
Set Approval For...285334342022-05-20 3:33:54972 days ago1653017634IN
0x37feCD09...bd46C2f8B
0 POL0.00696105150.00000002
Set Approval For...285333972022-05-20 3:32:40972 days ago1653017560IN
0x37feCD09...bd46C2f8B
0 POL0.00696105150.00000002
Set Approval For...285333592022-05-20 3:31:20972 days ago1653017480IN
0x37feCD09...bd46C2f8B
0 POL0.00696105150.00000001
Set Approval For...285333212022-05-20 3:30:04972 days ago1653017404IN
0x37feCD09...bd46C2f8B
0 POL0.00696105150.00000002
Set Approval For...285332872022-05-20 3:28:52972 days ago1653017332IN
0x37feCD09...bd46C2f8B
0 POL0.00696105150.00000001
Set Approval For...285332512022-05-20 3:27:40972 days ago1653017260IN
0x37feCD09...bd46C2f8B
0 POL0.00696105150.00000001
View all transactions

Parent Transaction Hash Block From To
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
GreenTradeNFT

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at polygonscan.com on 2022-02-06
*/

/** 
 *  SourceUnit: d:\GitWork\GreenTradeNFT\contracts\contracts\GreenTradeNFT.sol
*/
            
////// SPDX-License-Identifier-FLATTEN-SUPPRESS-WARNING: MIT

pragma solidity ^0.8.0;

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




/** 
 *  SourceUnit: d:\GitWork\GreenTradeNFT\contracts\contracts\GreenTradeNFT.sol
*/
            
////// SPDX-License-Identifier-FLATTEN-SUPPRESS-WARNING: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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




/** 
 *  SourceUnit: d:\GitWork\GreenTradeNFT\contracts\contracts\GreenTradeNFT.sol
*/
            
////// SPDX-License-Identifier-FLATTEN-SUPPRESS-WARNING: MIT

pragma solidity ^0.8.0;

////import "./IERC165.sol";

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




/** 
 *  SourceUnit: d:\GitWork\GreenTradeNFT\contracts\contracts\GreenTradeNFT.sol
*/
            
////// SPDX-License-Identifier-FLATTEN-SUPPRESS-WARNING: MIT

pragma solidity ^0.8.0;

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

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

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

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

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




/** 
 *  SourceUnit: d:\GitWork\GreenTradeNFT\contracts\contracts\GreenTradeNFT.sol
*/
            
////// SPDX-License-Identifier-FLATTEN-SUPPRESS-WARNING: MIT

pragma solidity ^0.8.0;

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

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




/** 
 *  SourceUnit: d:\GitWork\GreenTradeNFT\contracts\contracts\GreenTradeNFT.sol
*/
            
////// SPDX-License-Identifier-FLATTEN-SUPPRESS-WARNING: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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




/** 
 *  SourceUnit: d:\GitWork\GreenTradeNFT\contracts\contracts\GreenTradeNFT.sol
*/
            
////// SPDX-License-Identifier-FLATTEN-SUPPRESS-WARNING: MIT

pragma solidity ^0.8.0;

////import "../IERC721.sol";

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

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

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




/** 
 *  SourceUnit: d:\GitWork\GreenTradeNFT\contracts\contracts\GreenTradeNFT.sol
*/
            
////// SPDX-License-Identifier-FLATTEN-SUPPRESS-WARNING: MIT

pragma solidity ^0.8.0;

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




/** 
 *  SourceUnit: d:\GitWork\GreenTradeNFT\contracts\contracts\GreenTradeNFT.sol
*/
            
////// SPDX-License-Identifier-FLATTEN-SUPPRESS-WARNING: MIT

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}




/** 
 *  SourceUnit: d:\GitWork\GreenTradeNFT\contracts\contracts\GreenTradeNFT.sol
*/
            
////// SPDX-License-Identifier-FLATTEN-SUPPRESS-WARNING: MIT

pragma solidity ^0.8.0;

////import "./IERC721.sol";
////import "./IERC721Receiver.sol";
////import "./extensions/IERC721Metadata.sol";
////import "../../utils/Address.sol";
////import "../../utils/Context.sol";
////import "../../utils/Strings.sol";
////import "../../utils/introspection/ERC165.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 ERC721 is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings 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.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

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

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        require(owner != address(0), "ERC721: balance query for the zero address");
        return _balances[owner];
    }

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

    /**
     * @dev See {IERC721Metadata-name}.
     */
    function name() public view virtual 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 = ERC721.ownerOf(tokenId);
        require(to != owner, "ERC721: approval to current owner");

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

    /**
     * @dev 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 = ERC721.ownerOf(tokenId);
        return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender));
    }

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *  As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function _transfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {
        require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own");
        require(to != address(0), "ERC721: transfer to the zero address");

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

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

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


/** 
 *  SourceUnit: d:\GitWork\GreenTradeNFT\contracts\contracts\GreenTradeNFT.sol
*/

// GreenTrade NFT token
////// SPDX-License-Identifier-FLATTEN-SUPPRESS-WARNING: MIT
pragma solidity ^0.8.0;

////import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
////import "@openzeppelin/contracts/utils/math/SafeMath.sol";

contract GreenTradeNFT is ERC721 {
    using SafeMath for uint256;

    uint256 constant public PERCENTS_DIVIDER = 100;
	uint256 constant public FEE_MAX_PERCENT = 20; // 20 %
    uint256 constant public FEE_MIN_PERCENT = 5; // 5 %

    string public collection_name;
    string public collection_uri;
    bool public isPublic;
    address public factory;
    address public owner;

    struct Item {
        uint256 id;
        address creator;
        string uri;
        uint256 royalty;
    }
    uint256 public currentID;    
    mapping (uint256 => Item) public Items;


    event CollectionUriUpdated(string collection_uri);    
    event CollectionNameUpdated(string collection_name);
    event CollectionPublicUpdated(bool isPublic);
    event TokenUriUpdated(uint256 id, string uri);

    event ItemCreated(uint256 id, address creator, string uri, uint256 royalty);

    constructor (string memory _name,
        string memory _uri,
        address creator,
        bool bPublic) ERC721(_name,_name) {
        factory = msg.sender;
        collection_uri = _uri;
        collection_name = _name;
        owner = creator;
        isPublic = bPublic;
    }

    /**
		Change & Get Collection Information
	 */
    function setCollectionURI(string memory newURI) public onlyOwner {
        collection_uri = newURI;
        emit CollectionUriUpdated(newURI);
    }

    function setName(string memory newname) public onlyOwner {
        collection_name = newname;
        emit CollectionNameUpdated(newname);
    }

    function setPublic(bool bPublic) public onlyOwner {
        isPublic = bPublic;
        emit CollectionPublicUpdated(isPublic);
    }
    function getCollectionURI() external view returns (string memory) {
        return collection_uri;
    }
    function getCollectionName() external view returns (string memory) {
        return collection_name;
    }


    /**
		Change & Get Item Information
	 */
    function addItem(string memory _tokenURI, uint256 royalty) public returns (uint256){
        require(royalty <= FEE_MAX_PERCENT, "too big royalties");
        require(royalty >= FEE_MIN_PERCENT, "too small royalties");
        currentID = currentID.add(1);        
        _safeMint(msg.sender, currentID);
        Items[currentID] = Item(currentID, msg.sender, _tokenURI, royalty);
        emit ItemCreated(currentID, msg.sender, _tokenURI, royalty);
        return currentID;
    }

    function setTokenURI(uint256 _tokenId, string memory _newURI)
        public
        creatorOnly(_tokenId)
    {
        Items[_tokenId].uri = _newURI;
        emit TokenUriUpdated( _tokenId, _newURI);
    }



    function tokenURI(uint256 tokenId) public view override returns (string memory) {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");
        return Items[tokenId].uri;
    }    

    function creatorOf(uint256 _tokenId) public view returns (address) {
        return Items[_tokenId].creator;
    }

    function royalties(uint256 _tokenId) public view returns (uint256) {
        return Items[_tokenId].royalty;
	}




    modifier onlyOwner() {
        require(owner == _msgSender(), "caller is not the owner");
        _;
    }
    /**
     * @dev Require _msgSender() to be the creator of the token id
     */
    modifier creatorOnly(uint256 _id) {
        require(
            Items[_id].creator == _msgSender(),
            "ERC721Tradable#creatorOnly: ONLY_CREATOR_ALLOWED"
        );
        _;
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_uri","type":"string"},{"internalType":"address","name":"creator","type":"address"},{"internalType":"bool","name":"bPublic","type":"bool"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"collection_name","type":"string"}],"name":"CollectionNameUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"isPublic","type":"bool"}],"name":"CollectionPublicUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"collection_uri","type":"string"}],"name":"CollectionUriUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"address","name":"creator","type":"address"},{"indexed":false,"internalType":"string","name":"uri","type":"string"},{"indexed":false,"internalType":"uint256","name":"royalty","type":"uint256"}],"name":"ItemCreated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"string","name":"uri","type":"string"}],"name":"TokenUriUpdated","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":[],"name":"FEE_MAX_PERCENT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"FEE_MIN_PERCENT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"Items","outputs":[{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"address","name":"creator","type":"address"},{"internalType":"string","name":"uri","type":"string"},{"internalType":"uint256","name":"royalty","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PERCENTS_DIVIDER","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"_tokenURI","type":"string"},{"internalType":"uint256","name":"royalty","type":"uint256"}],"name":"addItem","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"collection_name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"collection_uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"creatorOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"currentID","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"factory","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"getCollectionName","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getCollectionURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPublic","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"royalties","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":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newURI","type":"string"}],"name":"setCollectionURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newname","type":"string"}],"name":"setName","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"bPublic","type":"bool"}],"name":"setPublic","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"string","name":"_newURI","type":"string"}],"name":"setTokenURI","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":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"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"}]

60806040523480156200001157600080fd5b506040516200209538038062002095833981016040819052620000349162000235565b8351849081906200004d906000906020840190620000e4565b50805162000063906001906020840190620000e4565b505060088054610100600160a81b031916336101000217905550825162000092906007906020860190620000e4565b508351620000a8906006906020870190620000e4565b50600980546001600160a01b0319166001600160a01b0393909316929092179091556008805460ff191691151591909117905550620003289050565b828054620000f290620002d5565b90600052602060002090601f01602090048101928262000116576000855562000161565b82601f106200013157805160ff191683800117855562000161565b8280016001018555821562000161579182015b828111156200016157825182559160200191906001019062000144565b506200016f92915062000173565b5090565b5b808211156200016f576000815560010162000174565b600082601f8301126200019b578081fd5b81516001600160401b0380821115620001b857620001b862000312565b6040516020601f8401601f1916820181018381118382101715620001e057620001e062000312565b6040528382528584018101871015620001f7578485fd5b8492505b838310156200021a5785830181015182840182015291820191620001fb565b838311156200022b57848185840101525b5095945050505050565b600080600080608085870312156200024b578384fd5b84516001600160401b038082111562000262578586fd5b62000270888389016200018a565b9550602087015191508082111562000286578485fd5b5062000295878288016200018a565b604087015190945090506001600160a01b0381168114620002b4578283fd5b60608601519092508015158114620002ca578182fd5b939692955090935050565b600281046001821680620002ea57607f821691505b602082108114156200030c57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b611d5d80620003386000396000f3fe608060405234801561001057600080fd5b50600436106101f05760003560e01c8063648c38a41161010f578063babf42b6116100a2578063cfb5bb1f11610071578063cfb5bb1f146103ea578063dc9a1535146103f2578063e0d11e93146103fa578063e985e9c514610402576101f0565b8063babf42b6146103b4578063c45a0155146103bc578063c47f0027146103c4578063c87b56dd146103d7576101f0565b80638da5cb5b116100de5780638da5cb5b1461037e57806395d89b4114610386578063a22cb4651461038e578063b88d4fde146103a1576101f0565b8063648c38a41461034857806370a08231146103505780637ddb9da2146103635780637f77f5741461036b576101f0565b806323b872dd11610187578063589a174311610156578063589a1743146102fc5780635cbcec4e1461030f57806362d6bbdf146103225780636352211e14610335576101f0565b806323b872dd146102bb5780632639f460146102ce57806332045a85146102e157806342842e0e146102e9576101f0565b8063095ea7b3116101c3578063095ea7b314610268578063162094c41461027d57806317b47cc4146102905780631c75cfb4146102b3576101f0565b806301c234a8146101f557806301ffc9a71461021357806306fdde0314610233578063081812fc14610248575b600080fd5b6101fd610415565b60405161020a9190611c1b565b60405180910390f35b61022661022136600461158c565b61041a565b60405161020a9190611733565b61023b610462565b60405161020a919061173e565b61025b61025636600461163a565b6104f4565b60405161020a91906116e2565b61027b610276366004611549565b610540565b005b61027b61028b366004611652565b6105d8565b6102a361029e36600461163a565b610681565b60405161020a9493929190611c24565b6101fd61073c565b61027b6102c936600461146c565b610742565b61027b6102dc3660046115c4565b61077a565b61023b6107fd565b61027b6102f736600461146c565b61080c565b61025b61030a36600461163a565b610827565b61027b61031d366004611572565b610845565b6101fd6103303660046115f7565b6108be565b61025b61034336600461163a565b6109e8565b6101fd610a1d565b6101fd61035e366004611420565b610a22565b6101fd610a66565b6101fd61037936600461163a565b610a6b565b61025b610a80565b61023b610a8f565b61027b61039c366004611520565b610a9e565b61027b6103af3660046114a7565b610b6c565b61023b610bab565b61025b610c39565b61027b6103d23660046115c4565b610c4d565b61023b6103e536600461163a565b610cc5565b61023b610d8d565b610226610d9c565b61023b610da5565b61022661041036600461143a565b610db2565b606481565b60006001600160e01b031982166380ac58cd60e01b148061044b57506001600160e01b03198216635b5e139f60e01b145b8061045a575061045a82610de0565b90505b919050565b60606000805461047190611ca7565b80601f016020809104026020016040519081016040528092919081815260200182805461049d90611ca7565b80156104ea5780601f106104bf576101008083540402835291602001916104ea565b820191906000526020600020905b8154815290600101906020018083116104cd57829003601f168201915b5050505050905090565b60006104ff82610df9565b6105245760405162461bcd60e51b815260040161051b90611a1e565b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061054b826109e8565b9050806001600160a01b0316836001600160a01b0316141561057f5760405162461bcd60e51b815260040161051b90611b39565b806001600160a01b0316610591610e16565b6001600160a01b031614806105ad57506105ad81610410610e16565b6105c95760405162461bcd60e51b815260040161051b906118ce565b6105d38383610e1a565b505050565b816105e1610e16565b6000828152600b60205260409020600101546001600160a01b0390811691161461061d5760405162461bcd60e51b815260040161051b90611bcb565b6000838152600b602090815260409091208351610642926002909201918501906112d1565b507f652c9498726ae446882619d79306dfe2594d5d5a008eaad0a720ee55ebf8e8b88383604051610674929190611c5f565b60405180910390a1505050565b600b6020526000908152604090208054600182015460028301805492936001600160a01b03909216926106b390611ca7565b80601f01602080910402602001604051908101604052809291908181526020018280546106df90611ca7565b801561072c5780601f106107015761010080835404028352916020019161072c565b820191906000526020600020905b81548152906001019060200180831161070f57829003601f168201915b5050505050908060030154905084565b600a5481565b61075361074d610e16565b82610e88565b61076f5760405162461bcd60e51b815260040161051b90611b7a565b6105d3838383610f0d565b610782610e16565b6009546001600160a01b039081169116146107af5760405162461bcd60e51b815260040161051b90611a6a565b80516107c29060079060208401906112d1565b507fd6397d9de0f6cc3ca1592be49195e1c9ce7510b9cd1512c6882ace785b2d26d7816040516107f2919061173e565b60405180910390a150565b60606006805461047190611ca7565b6105d383838360405180602001604052806000815250610b6c565b6000908152600b60205260409020600101546001600160a01b031690565b61084d610e16565b6009546001600160a01b0390811691161461087a5760405162461bcd60e51b815260040161051b90611a6a565b6008805460ff191682151517908190556040517fb6ff589839ac5efee4c8b7f4f921ba9f75915a15fc800be4f642971bae3d587e916107f29160ff90911690611733565b600060148211156108e15760405162461bcd60e51b815260040161051b90611975565b60058210156109025760405162461bcd60e51b815260040161051b906118a1565b600a5461091090600161103a565b600a81905561092090339061104d565b60408051608081018252600a54808252336020808401918252838501888152606085018890526000938452600b8252949092208351815590516001820180546001600160a01b0319166001600160a01b039092169190911790559251805192939261099192600285019201906112d1565b50606082015181600301559050507f1603f20f721362b0691bb408edb3cf01409cd56da9edd4627b178750b7dd49a8600a543385856040516109d69493929190611c24565b60405180910390a150600a5492915050565b6000818152600260205260408120546001600160a01b03168061045a5760405162461bcd60e51b815260040161051b906119a0565b600581565b60006001600160a01b038216610a4a5760405162461bcd60e51b815260040161051b9061192b565b506001600160a01b031660009081526003602052604090205490565b601481565b6000908152600b602052604090206003015490565b6009546001600160a01b031681565b60606001805461047190611ca7565b610aa6610e16565b6001600160a01b0316826001600160a01b03161415610ad75760405162461bcd60e51b815260040161051b9061181e565b8060056000610ae4610e16565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff191692151592909217909155610b28610e16565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051610b609190611733565b60405180910390a35050565b610b7d610b77610e16565b83610e88565b610b995760405162461bcd60e51b815260040161051b90611b7a565b610ba58484848461106b565b50505050565b60078054610bb890611ca7565b80601f0160208091040260200160405190810160405280929190818152602001828054610be490611ca7565b8015610c315780601f10610c0657610100808354040283529160200191610c31565b820191906000526020600020905b815481529060010190602001808311610c1457829003601f168201915b505050505081565b60085461010090046001600160a01b031681565b610c55610e16565b6009546001600160a01b03908116911614610c825760405162461bcd60e51b815260040161051b90611a6a565b8051610c959060069060208401906112d1565b507f749b12147f7d973e04e6ebeac5a489b90a25371b87897f089b9bf3390746fdc8816040516107f2919061173e565b6060610cd082610df9565b610cec5760405162461bcd60e51b815260040161051b90611aea565b6000828152600b602052604090206002018054610d0890611ca7565b80601f0160208091040260200160405190810160405280929190818152602001828054610d3490611ca7565b8015610d815780601f10610d5657610100808354040283529160200191610d81565b820191906000526020600020905b815481529060010190602001808311610d6457829003601f168201915b50505050509050919050565b60606007805461047190611ca7565b60085460ff1681565b60068054610bb890611ca7565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b6001600160e01b031981166301ffc9a760e01b14919050565b6000908152600260205260409020546001600160a01b0316151590565b3390565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610e4f826109e8565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000610e9382610df9565b610eaf5760405162461bcd60e51b815260040161051b90611855565b6000610eba836109e8565b9050806001600160a01b0316846001600160a01b03161480610ef55750836001600160a01b0316610eea846104f4565b6001600160a01b0316145b80610f055750610f058185610db2565b949350505050565b826001600160a01b0316610f20826109e8565b6001600160a01b031614610f465760405162461bcd60e51b815260040161051b90611aa1565b6001600160a01b038216610f6c5760405162461bcd60e51b815260040161051b906117da565b610f778383836105d3565b610f82600082610e1a565b6001600160a01b0383166000908152600360205260408120805460019290610fab908490611c90565b90915550506001600160a01b0382166000908152600360205260408120805460019290610fd9908490611c78565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b60006110468284611c78565b9392505050565b61106782826040518060200160405280600081525061109e565b5050565b611076848484610f0d565b611082848484846110d1565b610ba55760405162461bcd60e51b815260040161051b90611751565b6110a883836111ec565b6110b560008484846110d1565b6105d35760405162461bcd60e51b815260040161051b90611751565b60006110e5846001600160a01b03166112cb565b156111e157836001600160a01b031663150b7a02611101610e16565b8786866040518563ffffffff1660e01b815260040161112394939291906116f6565b602060405180830381600087803b15801561113d57600080fd5b505af192505050801561116d575060408051601f3d908101601f1916820190925261116a918101906115a8565b60015b6111c7573d80801561119b576040519150601f19603f3d011682016040523d82523d6000602084013e6111a0565b606091505b5080516111bf5760405162461bcd60e51b815260040161051b90611751565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610f05565b506001949350505050565b6001600160a01b0382166112125760405162461bcd60e51b815260040161051b906119e9565b61121b81610df9565b156112385760405162461bcd60e51b815260040161051b906117a3565b611244600083836105d3565b6001600160a01b038216600090815260036020526040812080546001929061126d908490611c78565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b3b151590565b8280546112dd90611ca7565b90600052602060002090601f0160209004810192826112ff5760008555611345565b82601f1061131857805160ff1916838001178555611345565b82800160010185558215611345579182015b8281111561134557825182559160200191906001019061132a565b50611351929150611355565b5090565b5b808211156113515760008155600101611356565b600067ffffffffffffffff8084111561138557611385611cf8565b604051601f8501601f1916810160200182811182821017156113a9576113a9611cf8565b6040528481529150818385018610156113c157600080fd5b8484602083013760006020868301015250509392505050565b80356001600160a01b038116811461045d57600080fd5b8035801515811461045d57600080fd5b600082601f830112611411578081fd5b6110468383356020850161136a565b600060208284031215611431578081fd5b611046826113da565b6000806040838503121561144c578081fd5b611455836113da565b9150611463602084016113da565b90509250929050565b600080600060608486031215611480578081fd5b611489846113da565b9250611497602085016113da565b9150604084013590509250925092565b600080600080608085870312156114bc578081fd5b6114c5856113da565b93506114d3602086016113da565b925060408501359150606085013567ffffffffffffffff8111156114f5578182fd5b8501601f81018713611505578182fd5b6115148782356020840161136a565b91505092959194509250565b60008060408385031215611532578182fd5b61153b836113da565b9150611463602084016113f1565b6000806040838503121561155b578182fd5b611564836113da565b946020939093013593505050565b600060208284031215611583578081fd5b611046826113f1565b60006020828403121561159d578081fd5b813561104681611d0e565b6000602082840312156115b9578081fd5b815161104681611d0e565b6000602082840312156115d5578081fd5b813567ffffffffffffffff8111156115eb578182fd5b610f0584828501611401565b60008060408385031215611609578182fd5b823567ffffffffffffffff81111561161f578283fd5b61162b85828601611401565b95602094909401359450505050565b60006020828403121561164b578081fd5b5035919050565b60008060408385031215611664578182fd5b82359150602083013567ffffffffffffffff811115611681578182fd5b61168d85828601611401565b9150509250929050565b60008151808452815b818110156116bc576020818501810151868301820152016116a0565b818111156116cd5782602083870101525b50601f01601f19169290920160200192915050565b6001600160a01b0391909116815260200190565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061172990830184611697565b9695505050505050565b901515815260200190565b6000602082526110466020830184611697565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252601c908201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604082015260600190565b60208082526024908201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646040820152637265737360e01b606082015260800190565b60208082526019908201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604082015260600190565b6020808252602c908201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b602080825260139082015272746f6f20736d616c6c20726f79616c7469657360681b604082015260600190565b60208082526038908201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760408201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606082015260800190565b6020808252602a908201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604082015269726f206164647265737360b01b606082015260800190565b602080825260119082015270746f6f2062696720726f79616c7469657360781b604082015260600190565b60208082526029908201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460408201526832b73a103a37b5b2b760b91b606082015260800190565b6020808252818101527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604082015260600190565b6020808252602c908201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b60208082526017908201527f63616c6c6572206973206e6f7420746865206f776e6572000000000000000000604082015260600190565b60208082526029908201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960408201526839903737ba1037bbb760b91b606082015260800190565b6020808252602f908201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60408201526e3732bc34b9ba32b73a103a37b5b2b760891b606082015260800190565b60208082526021908201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656040820152603960f91b606082015260800190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b60208082526030908201527f4552433732315472616461626c652363726561746f724f6e6c793a204f4e4c5960408201526f17d0d491505513d497d0531313d5d15160821b606082015260800190565b90815260200190565b8481526001600160a01b0384166020820152608060408201819052600090611c4e90830185611697565b905082606083015295945050505050565b600083825260406020830152610f056040830184611697565b60008219821115611c8b57611c8b611ce2565b500190565b600082821015611ca257611ca2611ce2565b500390565b600281046001821680611cbb57607f821691505b60208210811415611cdc57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114611d2457600080fd5b5056fea264697066735822122000d8bc996e67bddffd9b39e37f11aff0d7a66028d68b358e7e02264537fa57cd64736f6c63430008000033000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000030083d8ed2d95322df659d712febce9c2553e9c10000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000e477265656e54726164652e50726f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004368747470733a2f2f697066732e696f2f697066732f516d62326f34787372704d505673526679594c4b51594c576355346e5947633472475664626273704d6f665443390000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101f05760003560e01c8063648c38a41161010f578063babf42b6116100a2578063cfb5bb1f11610071578063cfb5bb1f146103ea578063dc9a1535146103f2578063e0d11e93146103fa578063e985e9c514610402576101f0565b8063babf42b6146103b4578063c45a0155146103bc578063c47f0027146103c4578063c87b56dd146103d7576101f0565b80638da5cb5b116100de5780638da5cb5b1461037e57806395d89b4114610386578063a22cb4651461038e578063b88d4fde146103a1576101f0565b8063648c38a41461034857806370a08231146103505780637ddb9da2146103635780637f77f5741461036b576101f0565b806323b872dd11610187578063589a174311610156578063589a1743146102fc5780635cbcec4e1461030f57806362d6bbdf146103225780636352211e14610335576101f0565b806323b872dd146102bb5780632639f460146102ce57806332045a85146102e157806342842e0e146102e9576101f0565b8063095ea7b3116101c3578063095ea7b314610268578063162094c41461027d57806317b47cc4146102905780631c75cfb4146102b3576101f0565b806301c234a8146101f557806301ffc9a71461021357806306fdde0314610233578063081812fc14610248575b600080fd5b6101fd610415565b60405161020a9190611c1b565b60405180910390f35b61022661022136600461158c565b61041a565b60405161020a9190611733565b61023b610462565b60405161020a919061173e565b61025b61025636600461163a565b6104f4565b60405161020a91906116e2565b61027b610276366004611549565b610540565b005b61027b61028b366004611652565b6105d8565b6102a361029e36600461163a565b610681565b60405161020a9493929190611c24565b6101fd61073c565b61027b6102c936600461146c565b610742565b61027b6102dc3660046115c4565b61077a565b61023b6107fd565b61027b6102f736600461146c565b61080c565b61025b61030a36600461163a565b610827565b61027b61031d366004611572565b610845565b6101fd6103303660046115f7565b6108be565b61025b61034336600461163a565b6109e8565b6101fd610a1d565b6101fd61035e366004611420565b610a22565b6101fd610a66565b6101fd61037936600461163a565b610a6b565b61025b610a80565b61023b610a8f565b61027b61039c366004611520565b610a9e565b61027b6103af3660046114a7565b610b6c565b61023b610bab565b61025b610c39565b61027b6103d23660046115c4565b610c4d565b61023b6103e536600461163a565b610cc5565b61023b610d8d565b610226610d9c565b61023b610da5565b61022661041036600461143a565b610db2565b606481565b60006001600160e01b031982166380ac58cd60e01b148061044b57506001600160e01b03198216635b5e139f60e01b145b8061045a575061045a82610de0565b90505b919050565b60606000805461047190611ca7565b80601f016020809104026020016040519081016040528092919081815260200182805461049d90611ca7565b80156104ea5780601f106104bf576101008083540402835291602001916104ea565b820191906000526020600020905b8154815290600101906020018083116104cd57829003601f168201915b5050505050905090565b60006104ff82610df9565b6105245760405162461bcd60e51b815260040161051b90611a1e565b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061054b826109e8565b9050806001600160a01b0316836001600160a01b0316141561057f5760405162461bcd60e51b815260040161051b90611b39565b806001600160a01b0316610591610e16565b6001600160a01b031614806105ad57506105ad81610410610e16565b6105c95760405162461bcd60e51b815260040161051b906118ce565b6105d38383610e1a565b505050565b816105e1610e16565b6000828152600b60205260409020600101546001600160a01b0390811691161461061d5760405162461bcd60e51b815260040161051b90611bcb565b6000838152600b602090815260409091208351610642926002909201918501906112d1565b507f652c9498726ae446882619d79306dfe2594d5d5a008eaad0a720ee55ebf8e8b88383604051610674929190611c5f565b60405180910390a1505050565b600b6020526000908152604090208054600182015460028301805492936001600160a01b03909216926106b390611ca7565b80601f01602080910402602001604051908101604052809291908181526020018280546106df90611ca7565b801561072c5780601f106107015761010080835404028352916020019161072c565b820191906000526020600020905b81548152906001019060200180831161070f57829003601f168201915b5050505050908060030154905084565b600a5481565b61075361074d610e16565b82610e88565b61076f5760405162461bcd60e51b815260040161051b90611b7a565b6105d3838383610f0d565b610782610e16565b6009546001600160a01b039081169116146107af5760405162461bcd60e51b815260040161051b90611a6a565b80516107c29060079060208401906112d1565b507fd6397d9de0f6cc3ca1592be49195e1c9ce7510b9cd1512c6882ace785b2d26d7816040516107f2919061173e565b60405180910390a150565b60606006805461047190611ca7565b6105d383838360405180602001604052806000815250610b6c565b6000908152600b60205260409020600101546001600160a01b031690565b61084d610e16565b6009546001600160a01b0390811691161461087a5760405162461bcd60e51b815260040161051b90611a6a565b6008805460ff191682151517908190556040517fb6ff589839ac5efee4c8b7f4f921ba9f75915a15fc800be4f642971bae3d587e916107f29160ff90911690611733565b600060148211156108e15760405162461bcd60e51b815260040161051b90611975565b60058210156109025760405162461bcd60e51b815260040161051b906118a1565b600a5461091090600161103a565b600a81905561092090339061104d565b60408051608081018252600a54808252336020808401918252838501888152606085018890526000938452600b8252949092208351815590516001820180546001600160a01b0319166001600160a01b039092169190911790559251805192939261099192600285019201906112d1565b50606082015181600301559050507f1603f20f721362b0691bb408edb3cf01409cd56da9edd4627b178750b7dd49a8600a543385856040516109d69493929190611c24565b60405180910390a150600a5492915050565b6000818152600260205260408120546001600160a01b03168061045a5760405162461bcd60e51b815260040161051b906119a0565b600581565b60006001600160a01b038216610a4a5760405162461bcd60e51b815260040161051b9061192b565b506001600160a01b031660009081526003602052604090205490565b601481565b6000908152600b602052604090206003015490565b6009546001600160a01b031681565b60606001805461047190611ca7565b610aa6610e16565b6001600160a01b0316826001600160a01b03161415610ad75760405162461bcd60e51b815260040161051b9061181e565b8060056000610ae4610e16565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff191692151592909217909155610b28610e16565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051610b609190611733565b60405180910390a35050565b610b7d610b77610e16565b83610e88565b610b995760405162461bcd60e51b815260040161051b90611b7a565b610ba58484848461106b565b50505050565b60078054610bb890611ca7565b80601f0160208091040260200160405190810160405280929190818152602001828054610be490611ca7565b8015610c315780601f10610c0657610100808354040283529160200191610c31565b820191906000526020600020905b815481529060010190602001808311610c1457829003601f168201915b505050505081565b60085461010090046001600160a01b031681565b610c55610e16565b6009546001600160a01b03908116911614610c825760405162461bcd60e51b815260040161051b90611a6a565b8051610c959060069060208401906112d1565b507f749b12147f7d973e04e6ebeac5a489b90a25371b87897f089b9bf3390746fdc8816040516107f2919061173e565b6060610cd082610df9565b610cec5760405162461bcd60e51b815260040161051b90611aea565b6000828152600b602052604090206002018054610d0890611ca7565b80601f0160208091040260200160405190810160405280929190818152602001828054610d3490611ca7565b8015610d815780601f10610d5657610100808354040283529160200191610d81565b820191906000526020600020905b815481529060010190602001808311610d6457829003601f168201915b50505050509050919050565b60606007805461047190611ca7565b60085460ff1681565b60068054610bb890611ca7565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b6001600160e01b031981166301ffc9a760e01b14919050565b6000908152600260205260409020546001600160a01b0316151590565b3390565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610e4f826109e8565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000610e9382610df9565b610eaf5760405162461bcd60e51b815260040161051b90611855565b6000610eba836109e8565b9050806001600160a01b0316846001600160a01b03161480610ef55750836001600160a01b0316610eea846104f4565b6001600160a01b0316145b80610f055750610f058185610db2565b949350505050565b826001600160a01b0316610f20826109e8565b6001600160a01b031614610f465760405162461bcd60e51b815260040161051b90611aa1565b6001600160a01b038216610f6c5760405162461bcd60e51b815260040161051b906117da565b610f778383836105d3565b610f82600082610e1a565b6001600160a01b0383166000908152600360205260408120805460019290610fab908490611c90565b90915550506001600160a01b0382166000908152600360205260408120805460019290610fd9908490611c78565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b60006110468284611c78565b9392505050565b61106782826040518060200160405280600081525061109e565b5050565b611076848484610f0d565b611082848484846110d1565b610ba55760405162461bcd60e51b815260040161051b90611751565b6110a883836111ec565b6110b560008484846110d1565b6105d35760405162461bcd60e51b815260040161051b90611751565b60006110e5846001600160a01b03166112cb565b156111e157836001600160a01b031663150b7a02611101610e16565b8786866040518563ffffffff1660e01b815260040161112394939291906116f6565b602060405180830381600087803b15801561113d57600080fd5b505af192505050801561116d575060408051601f3d908101601f1916820190925261116a918101906115a8565b60015b6111c7573d80801561119b576040519150601f19603f3d011682016040523d82523d6000602084013e6111a0565b606091505b5080516111bf5760405162461bcd60e51b815260040161051b90611751565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610f05565b506001949350505050565b6001600160a01b0382166112125760405162461bcd60e51b815260040161051b906119e9565b61121b81610df9565b156112385760405162461bcd60e51b815260040161051b906117a3565b611244600083836105d3565b6001600160a01b038216600090815260036020526040812080546001929061126d908490611c78565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b3b151590565b8280546112dd90611ca7565b90600052602060002090601f0160209004810192826112ff5760008555611345565b82601f1061131857805160ff1916838001178555611345565b82800160010185558215611345579182015b8281111561134557825182559160200191906001019061132a565b50611351929150611355565b5090565b5b808211156113515760008155600101611356565b600067ffffffffffffffff8084111561138557611385611cf8565b604051601f8501601f1916810160200182811182821017156113a9576113a9611cf8565b6040528481529150818385018610156113c157600080fd5b8484602083013760006020868301015250509392505050565b80356001600160a01b038116811461045d57600080fd5b8035801515811461045d57600080fd5b600082601f830112611411578081fd5b6110468383356020850161136a565b600060208284031215611431578081fd5b611046826113da565b6000806040838503121561144c578081fd5b611455836113da565b9150611463602084016113da565b90509250929050565b600080600060608486031215611480578081fd5b611489846113da565b9250611497602085016113da565b9150604084013590509250925092565b600080600080608085870312156114bc578081fd5b6114c5856113da565b93506114d3602086016113da565b925060408501359150606085013567ffffffffffffffff8111156114f5578182fd5b8501601f81018713611505578182fd5b6115148782356020840161136a565b91505092959194509250565b60008060408385031215611532578182fd5b61153b836113da565b9150611463602084016113f1565b6000806040838503121561155b578182fd5b611564836113da565b946020939093013593505050565b600060208284031215611583578081fd5b611046826113f1565b60006020828403121561159d578081fd5b813561104681611d0e565b6000602082840312156115b9578081fd5b815161104681611d0e565b6000602082840312156115d5578081fd5b813567ffffffffffffffff8111156115eb578182fd5b610f0584828501611401565b60008060408385031215611609578182fd5b823567ffffffffffffffff81111561161f578283fd5b61162b85828601611401565b95602094909401359450505050565b60006020828403121561164b578081fd5b5035919050565b60008060408385031215611664578182fd5b82359150602083013567ffffffffffffffff811115611681578182fd5b61168d85828601611401565b9150509250929050565b60008151808452815b818110156116bc576020818501810151868301820152016116a0565b818111156116cd5782602083870101525b50601f01601f19169290920160200192915050565b6001600160a01b0391909116815260200190565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061172990830184611697565b9695505050505050565b901515815260200190565b6000602082526110466020830184611697565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252601c908201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604082015260600190565b60208082526024908201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646040820152637265737360e01b606082015260800190565b60208082526019908201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604082015260600190565b6020808252602c908201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b602080825260139082015272746f6f20736d616c6c20726f79616c7469657360681b604082015260600190565b60208082526038908201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760408201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606082015260800190565b6020808252602a908201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604082015269726f206164647265737360b01b606082015260800190565b602080825260119082015270746f6f2062696720726f79616c7469657360781b604082015260600190565b60208082526029908201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460408201526832b73a103a37b5b2b760b91b606082015260800190565b6020808252818101527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604082015260600190565b6020808252602c908201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b60208082526017908201527f63616c6c6572206973206e6f7420746865206f776e6572000000000000000000604082015260600190565b60208082526029908201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960408201526839903737ba1037bbb760b91b606082015260800190565b6020808252602f908201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60408201526e3732bc34b9ba32b73a103a37b5b2b760891b606082015260800190565b60208082526021908201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656040820152603960f91b606082015260800190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b60208082526030908201527f4552433732315472616461626c652363726561746f724f6e6c793a204f4e4c5960408201526f17d0d491505513d497d0531313d5d15160821b606082015260800190565b90815260200190565b8481526001600160a01b0384166020820152608060408201819052600090611c4e90830185611697565b905082606083015295945050505050565b600083825260406020830152610f056040830184611697565b60008219821115611c8b57611c8b611ce2565b500190565b600082821015611ca257611ca2611ce2565b500390565b600281046001821680611cbb57607f821691505b60208210811415611cdc57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114611d2457600080fd5b5056fea264697066735822122000d8bc996e67bddffd9b39e37f11aff0d7a66028d68b358e7e02264537fa57cd64736f6c63430008000033

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

000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000030083d8ed2d95322df659d712febce9c2553e9c10000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000e477265656e54726164652e50726f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004368747470733a2f2f697066732e696f2f697066732f516d62326f34787372704d505673526679594c4b51594c576355346e5947633472475664626273704d6f665443390000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _name (string): GreenTrade.Pro
Arg [1] : _uri (string): https://ipfs.io/ipfs/Qmb2o4xsrpMPVsRfyYLKQYLWcU4nYGc4rGVdbbspMofTC9
Arg [2] : creator (address): 0x30083d8ed2D95322dF659d712FEbCe9c2553E9C1
Arg [3] : bPublic (bool): True

-----Encoded View---------------
10 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 00000000000000000000000030083d8ed2d95322df659d712febce9c2553e9c1
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [4] : 000000000000000000000000000000000000000000000000000000000000000e
Arg [5] : 477265656e54726164652e50726f000000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000043
Arg [7] : 68747470733a2f2f697066732e696f2f697066732f516d62326f34787372704d
Arg [8] : 505673526679594c4b51594c576355346e5947633472475664626273704d6f66
Arg [9] : 5443390000000000000000000000000000000000000000000000000000000000


Deployed Bytecode Sourcemap

41519:3597:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41594:46;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;29060:305;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;30005:100::-;;;:::i;:::-;;;;;;;:::i;31564:221::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;31087:411::-;;;;;;:::i;:::-;;:::i;:::-;;44016:213;;;;;;:::i;:::-;;:::i;42073:38::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;;;:::i;42038:24::-;;;:::i;32454:339::-;;;;;;:::i;:::-;;:::i;42783:151::-;;;;;;:::i;:::-;;:::i;43351:108::-;;;:::i;32864:185::-;;;;;;:::i;:::-;;:::i;44464:116::-;;;;;;:::i;:::-;;:::i;43097:136::-;;;;;;:::i;:::-;;:::i;43517:491::-;;;;;;:::i;:::-;;:::i;29699:239::-;;;;;;:::i;:::-;;:::i;41703:43::-;;;:::i;29429:208::-;;;;;;:::i;:::-;;:::i;41644:44::-;;;:::i;44588:113::-;;;;;;:::i;:::-;;:::i;41889:20::-;;;:::i;30174:104::-;;;:::i;31857:295::-;;;;;;:::i;:::-;;:::i;33120:328::-;;;;;;:::i;:::-;;:::i;41798:28::-;;;:::i;41860:22::-;;;:::i;42942:147::-;;;;;;:::i;:::-;;:::i;44241:211::-;;;;;;:::i;:::-;;:::i;43239:106::-;;;:::i;41833:20::-;;;:::i;41762:29::-;;;:::i;32223:164::-;;;;;;:::i;:::-;;:::i;41594:46::-;41637:3;41594:46;:::o;29060:305::-;29162:4;-1:-1:-1;;;;;;29199:40:0;;-1:-1:-1;;;29199:40:0;;:105;;-1:-1:-1;;;;;;;29256:48:0;;-1:-1:-1;;;29256:48:0;29199:105;:158;;;;29321:36;29345:11;29321:23;:36::i;:::-;29179:178;;29060:305;;;;:::o;30005:100::-;30059:13;30092:5;30085:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30005:100;:::o;31564:221::-;31640:7;31668:16;31676:7;31668;:16::i;:::-;31660:73;;;;-1:-1:-1;;;31660:73:0;;;;;;;:::i;:::-;;;;;;;;;-1:-1:-1;31753:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;31753:24:0;;31564:221::o;31087:411::-;31168:13;31184:23;31199:7;31184:14;:23::i;:::-;31168:39;;31232:5;-1:-1:-1;;;;;31226:11:0;:2;-1:-1:-1;;;;;31226:11:0;;;31218:57;;;;-1:-1:-1;;;31218:57:0;;;;;;;:::i;:::-;31326:5;-1:-1:-1;;;;;31310:21:0;:12;:10;:12::i;:::-;-1:-1:-1;;;;;31310:21:0;;:62;;;;31335:37;31352:5;31359:12;:10;:12::i;31335:37::-;31288:168;;;;-1:-1:-1;;;31288:168:0;;;;;;;:::i;:::-;31469:21;31478:2;31482:7;31469:8;:21::i;:::-;31087:411;;;:::o;44016:213::-;44115:8;45005:12;:10;:12::i;:::-;44983:10;;;;:5;:10;;;;;:18;;;-1:-1:-1;;;;;44983:18:0;;;:34;;;44961:132;;;;-1:-1:-1;;;44961:132:0;;;;;;;:::i;:::-;44141:15:::1;::::0;;;:5:::1;:15;::::0;;;;;;;:29;;::::1;::::0;:19:::1;::::0;;::::1;::::0;:29;::::1;::::0;::::1;:::i;:::-;;44186:35;44203:8;44213:7;44186:35;;;;;;;:::i;:::-;;;;;;;;44016:213:::0;;;:::o;42073:38::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;42073:38:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;42038:24::-;;;;:::o;32454:339::-;32649:41;32668:12;:10;:12::i;:::-;32682:7;32649:18;:41::i;:::-;32641:103;;;;-1:-1:-1;;;32641:103:0;;;;;;;:::i;:::-;32757:28;32767:4;32773:2;32777:7;32757:9;:28::i;42783:151::-;44764:12;:10;:12::i;:::-;44755:5;;-1:-1:-1;;;;;44755:5:0;;;:21;;;44747:57;;;;-1:-1:-1;;;44747:57:0;;;;;;;:::i;:::-;42859:23;;::::1;::::0;:14:::1;::::0;:23:::1;::::0;::::1;::::0;::::1;:::i;:::-;;42898:28;42919:6;42898:28;;;;;;:::i;:::-;;;;;;;;42783:151:::0;:::o;43351:108::-;43403:13;43436:15;43429:22;;;;;:::i;32864:185::-;33002:39;33019:4;33025:2;33029:7;33002:39;;;;;;;;;;;;:16;:39::i;44464:116::-;44522:7;44549:15;;;:5;:15;;;;;:23;;;-1:-1:-1;;;;;44549:23:0;;44464:116::o;43097:136::-;44764:12;:10;:12::i;:::-;44755:5;;-1:-1:-1;;;;;44755:5:0;;;:21;;;44747:57;;;;-1:-1:-1;;;44747:57:0;;;;;;;:::i;:::-;43158:8:::1;:18:::0;;-1:-1:-1;;43158:18:0::1;::::0;::::1;;;::::0;;;;43192:33:::1;::::0;::::1;::::0;::::1;::::0;43158:18:::1;43216:8:::0;;::::1;::::0;43192:33:::1;:::i;43517:491::-:0;43592:7;41686:2;43619:7;:26;;43611:56;;;;-1:-1:-1;;;43611:56:0;;;;;;;:::i;:::-;41745:1;43686:7;:26;;43678:58;;;;-1:-1:-1;;;43678:58:0;;;;;;;:::i;:::-;43759:9;;:16;;43773:1;43759:13;:16::i;:::-;43747:9;:28;;;43794:32;;43804:10;;43794:9;:32::i;:::-;43856:47;;;;;;;;43861:9;;43856:47;;;43872:10;43856:47;;;;;;;;;;;;;;;;;;;-1:-1:-1;43837:16:0;;;:5;:16;;;;;;:66;;;;;;;;;;;-1:-1:-1;;;;;;43837:66:0;-1:-1:-1;;;;;43837:66:0;;;;;;;;;;;;;43856:47;;43837:16;:66;;;;;;;;;:::i;:::-;;;;;;;;;;;;;43919:54;43931:9;;43942:10;43954:9;43965:7;43919:54;;;;;;;;;:::i;:::-;;;;;;;;-1:-1:-1;43991:9:0;;43517:491;;;;:::o;29699:239::-;29771:7;29807:16;;;:7;:16;;;;;;-1:-1:-1;;;;;29807:16:0;29842:19;29834:73;;;;-1:-1:-1;;;29834:73:0;;;;;;;:::i;41703:43::-;41745:1;41703:43;:::o;29429:208::-;29501:7;-1:-1:-1;;;;;29529:19:0;;29521:74;;;;-1:-1:-1;;;29521:74:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;;29613:16:0;;;;;:9;:16;;;;;;;29429:208::o;41644:44::-;41686:2;41644:44;:::o;44588:113::-;44646:7;44673:15;;;:5;:15;;;;;:23;;;;44588:113::o;41889:20::-;;;-1:-1:-1;;;;;41889:20:0;;:::o;30174:104::-;30230:13;30263:7;30256:14;;;;;:::i;31857:295::-;31972:12;:10;:12::i;:::-;-1:-1:-1;;;;;31960:24:0;:8;-1:-1:-1;;;;;31960:24:0;;;31952:62;;;;-1:-1:-1;;;31952:62:0;;;;;;;:::i;:::-;32072:8;32027:18;:32;32046:12;:10;:12::i;:::-;-1:-1:-1;;;;;32027:32:0;;;;;;;;;;;;;;;;;-1:-1:-1;32027:32:0;;;:42;;;;;;;;;;;;:53;;-1:-1:-1;;32027:53:0;;;;;;;;;;;32111:12;:10;:12::i;:::-;-1:-1:-1;;;;;32096:48:0;;32135:8;32096:48;;;;;;:::i;:::-;;;;;;;;31857:295;;:::o;33120:328::-;33295:41;33314:12;:10;:12::i;:::-;33328:7;33295:18;:41::i;:::-;33287:103;;;;-1:-1:-1;;;33287:103:0;;;;;;;:::i;:::-;33401:39;33415:4;33421:2;33425:7;33434:5;33401:13;:39::i;:::-;33120:328;;;;:::o;41798:28::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;41860:22::-;;;;;;-1:-1:-1;;;;;41860:22:0;;:::o;42942:147::-;44764:12;:10;:12::i;:::-;44755:5;;-1:-1:-1;;;;;44755:5:0;;;:21;;;44747:57;;;;-1:-1:-1;;;44747:57:0;;;;;;;:::i;:::-;43010:25;;::::1;::::0;:15:::1;::::0;:25:::1;::::0;::::1;::::0;::::1;:::i;:::-;;43051:30;43073:7;43051:30;;;;;;:::i;44241:211::-:0;44306:13;44340:16;44348:7;44340;:16::i;:::-;44332:76;;;;-1:-1:-1;;;44332:76:0;;;;;;;:::i;:::-;44426:14;;;;:5;:14;;;;;:18;;44419:25;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44241:211;;;:::o;43239:106::-;43290:13;43323:14;43316:21;;;;;:::i;41833:20::-;;;;;;:::o;41762:29::-;;;;;;;:::i;32223:164::-;-1:-1:-1;;;;;32344:25:0;;;32320:4;32344:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;32223:164::o;6838:157::-;-1:-1:-1;;;;;;6947:40:0;;-1:-1:-1;;;6947:40:0;6838:157;;;:::o;34958:127::-;35023:4;35047:16;;;:7;:16;;;;;;-1:-1:-1;;;;;35047:16:0;:30;;;34958:127::o;9929:98::-;10009:10;9929:98;:::o;38940:174::-;39015:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;39015:29:0;-1:-1:-1;;;;;39015:29:0;;;;;;;;:24;;39069:23;39015:24;39069:14;:23::i;:::-;-1:-1:-1;;;;;39060:46:0;;;;;;;;;;;38940:174;;:::o;35252:348::-;35345:4;35370:16;35378:7;35370;:16::i;:::-;35362:73;;;;-1:-1:-1;;;35362:73:0;;;;;;;:::i;:::-;35446:13;35462:23;35477:7;35462:14;:23::i;:::-;35446:39;;35515:5;-1:-1:-1;;;;;35504:16:0;:7;-1:-1:-1;;;;;35504:16:0;;:51;;;;35548:7;-1:-1:-1;;;;;35524:31:0;:20;35536:7;35524:11;:20::i;:::-;-1:-1:-1;;;;;35524:31:0;;35504:51;:87;;;;35559:32;35576:5;35583:7;35559:16;:32::i;:::-;35496:96;35252:348;-1:-1:-1;;;;35252:348:0:o;38244:578::-;38403:4;-1:-1:-1;;;;;38376:31:0;:23;38391:7;38376:14;:23::i;:::-;-1:-1:-1;;;;;38376:31:0;;38368:85;;;;-1:-1:-1;;;38368:85:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;38472:16:0;;38464:65;;;;-1:-1:-1;;;38464:65:0;;;;;;;:::i;:::-;38542:39;38563:4;38569:2;38573:7;38542:20;:39::i;:::-;38646:29;38663:1;38667:7;38646:8;:29::i;:::-;-1:-1:-1;;;;;38688:15:0;;;;;;:9;:15;;;;;:20;;38707:1;;38688:15;:20;;38707:1;;38688:20;:::i;:::-;;;;-1:-1:-1;;;;;;;38719:13:0;;;;;;:9;:13;;;;;:18;;38736:1;;38719:13;:18;;38736:1;;38719:18;:::i;:::-;;;;-1:-1:-1;;38748:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;38748:21:0;-1:-1:-1;;;;;38748:21:0;;;;;;;;;38787:27;;38748:16;;38787:27;;;;;;;38244:578;;;:::o;23182:98::-;23240:7;23267:5;23271:1;23267;:5;:::i;:::-;23260:12;23182:98;-1:-1:-1;;;23182:98:0:o;35942:110::-;36018:26;36028:2;36032:7;36018:26;;;;;;;;;;;;:9;:26::i;:::-;35942:110;;:::o;34330:315::-;34487:28;34497:4;34503:2;34507:7;34487:9;:28::i;:::-;34534:48;34557:4;34563:2;34567:7;34576:5;34534:22;:48::i;:::-;34526:111;;;;-1:-1:-1;;;34526:111:0;;;;;;;:::i;36279:321::-;36409:18;36415:2;36419:7;36409:5;:18::i;:::-;36460:54;36491:1;36495:2;36499:7;36508:5;36460:22;:54::i;:::-;36438:154;;;;-1:-1:-1;;;36438:154:0;;;;;;;:::i;39679:799::-;39834:4;39855:15;:2;-1:-1:-1;;;;;39855:13:0;;:15::i;:::-;39851:620;;;39907:2;-1:-1:-1;;;;;39891:36:0;;39928:12;:10;:12::i;:::-;39942:4;39948:7;39957:5;39891:72;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;39891:72:0;;;;;;;;-1:-1:-1;;39891:72:0;;;;;;;;;;;;:::i;:::-;;;39887:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;40133:13:0;;40129:272;;40176:60;;-1:-1:-1;;;40176:60:0;;;;;;;:::i;40129:272::-;40351:6;40345:13;40336:6;40332:2;40328:15;40321:38;39887:529;-1:-1:-1;;;;;;40014:51:0;-1:-1:-1;;;40014:51:0;;-1:-1:-1;40007:58:0;;39851:620;-1:-1:-1;40455:4:0;39679:799;;;;;;:::o;36936:382::-;-1:-1:-1;;;;;37016:16:0;;37008:61;;;;-1:-1:-1;;;37008:61:0;;;;;;;:::i;:::-;37089:16;37097:7;37089;:16::i;:::-;37088:17;37080:58;;;;-1:-1:-1;;;37080:58:0;;;;;;;:::i;:::-;37151:45;37180:1;37184:2;37188:7;37151:20;:45::i;:::-;-1:-1:-1;;;;;37209:13:0;;;;;;:9;:13;;;;;:18;;37226:1;;37209:13;:18;;37226:1;;37209:18;:::i;:::-;;;;-1:-1:-1;;37238:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;37238:21:0;-1:-1:-1;;;;;37238:21:0;;;;;;;;37277:33;;37238:16;;;37277:33;;37238:16;;37277:33;36936:382;;:::o;11029:387::-;11352:20;11400:8;;;11029:387::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:607:1;;110:18;151:2;143:6;140:14;137:2;;;157:18;;:::i;:::-;206:2;200:9;279:2;256:17;;-1:-1:-1;;252:31:1;240:44;;286:4;236:55;306:18;;;326:22;;;303:46;300:2;;;352:18;;:::i;:::-;388:2;381:22;436;;;421:6;-1:-1:-1;421:6:1;473:16;;;470:25;-1:-1:-1;467:2:1;;;508:1;505;498:12;467:2;558:6;553:3;546:4;538:6;534:17;521:44;613:1;606:4;597:6;589;585:19;581:30;574:41;;;90:531;;;;;:::o;626:175::-;696:20;;-1:-1:-1;;;;;745:31:1;;735:42;;725:2;;791:1;788;781:12;806:162;873:20;;929:13;;922:21;912:32;;902:2;;958:1;955;948:12;973:233;;1071:3;1064:4;1056:6;1052:17;1048:27;1038:2;;1093:5;1086;1079:20;1038:2;1119:81;1196:3;1187:6;1174:20;1167:4;1159:6;1155:17;1119:81;:::i;1211:198::-;;1323:2;1311:9;1302:7;1298:23;1294:32;1291:2;;;1344:6;1336;1329:22;1291:2;1372:31;1393:9;1372:31;:::i;1414:274::-;;;1543:2;1531:9;1522:7;1518:23;1514:32;1511:2;;;1564:6;1556;1549:22;1511:2;1592:31;1613:9;1592:31;:::i;:::-;1582:41;;1642:40;1678:2;1667:9;1663:18;1642:40;:::i;:::-;1632:50;;1501:187;;;;;:::o;1693:342::-;;;;1839:2;1827:9;1818:7;1814:23;1810:32;1807:2;;;1860:6;1852;1845:22;1807:2;1888:31;1909:9;1888:31;:::i;:::-;1878:41;;1938:40;1974:2;1963:9;1959:18;1938:40;:::i;:::-;1928:50;;2025:2;2014:9;2010:18;1997:32;1987:42;;1797:238;;;;;:::o;2040:702::-;;;;;2212:3;2200:9;2191:7;2187:23;2183:33;2180:2;;;2234:6;2226;2219:22;2180:2;2262:31;2283:9;2262:31;:::i;:::-;2252:41;;2312:40;2348:2;2337:9;2333:18;2312:40;:::i;:::-;2302:50;;2399:2;2388:9;2384:18;2371:32;2361:42;;2454:2;2443:9;2439:18;2426:32;2481:18;2473:6;2470:30;2467:2;;;2518:6;2510;2503:22;2467:2;2546:22;;2599:4;2591:13;;2587:27;-1:-1:-1;2577:2:1;;2633:6;2625;2618:22;2577:2;2661:75;2728:7;2723:2;2710:16;2705:2;2701;2697:11;2661:75;:::i;:::-;2651:85;;;2170:572;;;;;;;:::o;2747:268::-;;;2873:2;2861:9;2852:7;2848:23;2844:32;2841:2;;;2894:6;2886;2879:22;2841:2;2922:31;2943:9;2922:31;:::i;:::-;2912:41;;2972:37;3005:2;2994:9;2990:18;2972:37;:::i;3020:266::-;;;3149:2;3137:9;3128:7;3124:23;3120:32;3117:2;;;3170:6;3162;3155:22;3117:2;3198:31;3219:9;3198:31;:::i;:::-;3188:41;3276:2;3261:18;;;;3248:32;;-1:-1:-1;;;3107:179:1:o;3291:192::-;;3400:2;3388:9;3379:7;3375:23;3371:32;3368:2;;;3421:6;3413;3406:22;3368:2;3449:28;3467:9;3449:28;:::i;3488:257::-;;3599:2;3587:9;3578:7;3574:23;3570:32;3567:2;;;3620:6;3612;3605:22;3567:2;3664:9;3651:23;3683:32;3709:5;3683:32;:::i;3750:261::-;;3872:2;3860:9;3851:7;3847:23;3843:32;3840:2;;;3893:6;3885;3878:22;3840:2;3930:9;3924:16;3949:32;3975:5;3949:32;:::i;4016:344::-;;4138:2;4126:9;4117:7;4113:23;4109:32;4106:2;;;4159:6;4151;4144:22;4106:2;4204:9;4191:23;4237:18;4229:6;4226:30;4223:2;;;4274:6;4266;4259:22;4223:2;4302:52;4346:7;4337:6;4326:9;4322:22;4302:52;:::i;4365:412::-;;;4504:2;4492:9;4483:7;4479:23;4475:32;4472:2;;;4525:6;4517;4510:22;4472:2;4570:9;4557:23;4603:18;4595:6;4592:30;4589:2;;;4640:6;4632;4625:22;4589:2;4668:52;4712:7;4703:6;4692:9;4688:22;4668:52;:::i;:::-;4658:62;4767:2;4752:18;;;;4739:32;;-1:-1:-1;;;;4462:315:1:o;4782:190::-;;4894:2;4882:9;4873:7;4869:23;4865:32;4862:2;;;4915:6;4907;4900:22;4862:2;-1:-1:-1;4943:23:1;;4852:120;-1:-1:-1;4852:120:1:o;4977:412::-;;;5116:2;5104:9;5095:7;5091:23;5087:32;5084:2;;;5137:6;5129;5122:22;5084:2;5178:9;5165:23;5155:33;;5239:2;5228:9;5224:18;5211:32;5266:18;5258:6;5255:30;5252:2;;;5303:6;5295;5288:22;5252:2;5331:52;5375:7;5366:6;5355:9;5351:22;5331:52;:::i;:::-;5321:62;;;5074:315;;;;;:::o;5394:477::-;;5475:5;5469:12;5502:6;5497:3;5490:19;5527:3;5539:162;5553:6;5550:1;5547:13;5539:162;;;5615:4;5671:13;;;5667:22;;5661:29;5643:11;;;5639:20;;5632:59;5568:12;5539:162;;;5719:6;5716:1;5713:13;5710:2;;;5785:3;5778:4;5769:6;5764:3;5760:16;5756:27;5749:40;5710:2;-1:-1:-1;5853:2:1;5832:15;-1:-1:-1;;5828:29:1;5819:39;;;;5860:4;5815:50;;5445:426;-1:-1:-1;;5445:426:1:o;5876:203::-;-1:-1:-1;;;;;6040:32:1;;;;6022:51;;6010:2;5995:18;;5977:102::o;6084:490::-;-1:-1:-1;;;;;6353:15:1;;;6335:34;;6405:15;;6400:2;6385:18;;6378:43;6452:2;6437:18;;6430:34;;;6500:3;6495:2;6480:18;;6473:31;;;6084:490;;6521:47;;6548:19;;6540:6;6521:47;:::i;:::-;6513:55;6287:287;-1:-1:-1;;;;;;6287:287:1:o;6579:187::-;6744:14;;6737:22;6719:41;;6707:2;6692:18;;6674:92::o;6771:221::-;;6920:2;6909:9;6902:21;6940:46;6982:2;6971:9;6967:18;6959:6;6940:46;:::i;6997:414::-;7199:2;7181:21;;;7238:2;7218:18;;;7211:30;7277:34;7272:2;7257:18;;7250:62;-1:-1:-1;;;7343:2:1;7328:18;;7321:48;7401:3;7386:19;;7171:240::o;7416:352::-;7618:2;7600:21;;;7657:2;7637:18;;;7630:30;7696;7691:2;7676:18;;7669:58;7759:2;7744:18;;7590:178::o;7773:400::-;7975:2;7957:21;;;8014:2;7994:18;;;7987:30;8053:34;8048:2;8033:18;;8026:62;-1:-1:-1;;;8119:2:1;8104:18;;8097:34;8163:3;8148:19;;7947:226::o;8178:349::-;8380:2;8362:21;;;8419:2;8399:18;;;8392:30;8458:27;8453:2;8438:18;;8431:55;8518:2;8503:18;;8352:175::o;8532:408::-;8734:2;8716:21;;;8773:2;8753:18;;;8746:30;8812:34;8807:2;8792:18;;8785:62;-1:-1:-1;;;8878:2:1;8863:18;;8856:42;8930:3;8915:19;;8706:234::o;8945:343::-;9147:2;9129:21;;;9186:2;9166:18;;;9159:30;-1:-1:-1;;;9220:2:1;9205:18;;9198:49;9279:2;9264:18;;9119:169::o;9293:420::-;9495:2;9477:21;;;9534:2;9514:18;;;9507:30;9573:34;9568:2;9553:18;;9546:62;9644:26;9639:2;9624:18;;9617:54;9703:3;9688:19;;9467:246::o;9718:406::-;9920:2;9902:21;;;9959:2;9939:18;;;9932:30;9998:34;9993:2;9978:18;;9971:62;-1:-1:-1;;;10064:2:1;10049:18;;10042:40;10114:3;10099:19;;9892:232::o;10129:341::-;10331:2;10313:21;;;10370:2;10350:18;;;10343:30;-1:-1:-1;;;10404:2:1;10389:18;;10382:47;10461:2;10446:18;;10303:167::o;10475:405::-;10677:2;10659:21;;;10716:2;10696:18;;;10689:30;10755:34;10750:2;10735:18;;10728:62;-1:-1:-1;;;10821:2:1;10806:18;;10799:39;10870:3;10855:19;;10649:231::o;10885:356::-;11087:2;11069:21;;;11106:18;;;11099:30;11165:34;11160:2;11145:18;;11138:62;11232:2;11217:18;;11059:182::o;11246:408::-;11448:2;11430:21;;;11487:2;11467:18;;;11460:30;11526:34;11521:2;11506:18;;11499:62;-1:-1:-1;;;11592:2:1;11577:18;;11570:42;11644:3;11629:19;;11420:234::o;11659:347::-;11861:2;11843:21;;;11900:2;11880:18;;;11873:30;11939:25;11934:2;11919:18;;11912:53;11997:2;11982:18;;11833:173::o;12011:405::-;12213:2;12195:21;;;12252:2;12232:18;;;12225:30;12291:34;12286:2;12271:18;;12264:62;-1:-1:-1;;;12357:2:1;12342:18;;12335:39;12406:3;12391:19;;12185:231::o;12421:411::-;12623:2;12605:21;;;12662:2;12642:18;;;12635:30;12701:34;12696:2;12681:18;;12674:62;-1:-1:-1;;;12767:2:1;12752:18;;12745:45;12822:3;12807:19;;12595:237::o;12837:397::-;13039:2;13021:21;;;13078:2;13058:18;;;13051:30;13117:34;13112:2;13097:18;;13090:62;-1:-1:-1;;;13183:2:1;13168:18;;13161:31;13224:3;13209:19;;13011:223::o;13239:413::-;13441:2;13423:21;;;13480:2;13460:18;;;13453:30;13519:34;13514:2;13499:18;;13492:62;-1:-1:-1;;;13585:2:1;13570:18;;13563:47;13642:3;13627:19;;13413:239::o;13657:412::-;13859:2;13841:21;;;13898:2;13878:18;;;13871:30;13937:34;13932:2;13917:18;;13910:62;-1:-1:-1;;;14003:2:1;13988:18;;13981:46;14059:3;14044:19;;13831:238::o;14074:177::-;14220:25;;;14208:2;14193:18;;14175:76::o;14256:462::-;14471:25;;;-1:-1:-1;;;;;14532:32:1;;14527:2;14512:18;;14505:60;14601:3;14596:2;14581:18;;14574:31;;;14256:462;;14622:47;;14649:19;;14641:6;14622:47;:::i;:::-;14614:55;;14705:6;14700:2;14689:9;14685:18;14678:34;14461:257;;;;;;;:::o;14723:292::-;;14900:6;14889:9;14882:25;14943:2;14938;14927:9;14923:18;14916:30;14963:46;15005:2;14994:9;14990:18;14982:6;14963:46;:::i;15020:128::-;;15091:1;15087:6;15084:1;15081:13;15078:2;;;15097:18;;:::i;:::-;-1:-1:-1;15133:9:1;;15068:80::o;15153:125::-;;15221:1;15218;15215:8;15212:2;;;15226:18;;:::i;:::-;-1:-1:-1;15263:9:1;;15202:76::o;15283:380::-;15368:1;15358:12;;15415:1;15405:12;;;15426:2;;15480:4;15472:6;15468:17;15458:27;;15426:2;15533;15525:6;15522:14;15502:18;15499:38;15496:2;;;15579:10;15574:3;15570:20;15567:1;15560:31;15614:4;15611:1;15604:15;15642:4;15639:1;15632:15;15496:2;;15338:325;;;:::o;15668:127::-;15729:10;15724:3;15720:20;15717:1;15710:31;15760:4;15757:1;15750:15;15784:4;15781:1;15774:15;15800:127;15861:10;15856:3;15852:20;15849:1;15842:31;15892:4;15889:1;15882:15;15916:4;15913:1;15906:15;15932:133;-1:-1:-1;;;;;;16008:32:1;;15998:43;;15988:2;;16055:1;16052;16045:12;15988:2;15978:87;:::o

Swarm Source

ipfs://00d8bc996e67bddffd9b39e37f11aff0d7a66028d68b358e7e02264537fa57cd

Block Transaction Gas Used Reward
view all blocks produced

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

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.