Contract 0x1737e635E7b38F6A0299517F042FbA43D84F090C

 
 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0xaf83450587c0fbfed892776d6166f987d469eb525b855a346d658bcbe6d7517aUnlock144770132022-01-18 16:10:2313 hrs 5 mins ago0x8fa652806f5e99cff3349037ec02c8d80cae4666 IN  0x1737e635e7b38f6a0299517f042fba43d84f090c0 BNB0.00044489
0x1a44e37c3c865b07e222febbc2faeed243e90a33435a138c6ae18c6a49a354d8Unlock142968422022-01-12 9:10:306 days 20 hrs ago0xe6a10504916ed401bdf7f13884ef3c07bc35c07e IN  0x1737e635e7b38f6a0299517f042fba43d84f090c0 BNB0.00044489
0x3a821b2edfd3bbd93fd0839bdbc2f381f2cfe3d85f909178196eca94a0a8fc0cUnlock141843162022-01-08 11:15:1410 days 18 hrs ago0xfa2e18657878bdc393fc8291ef7bbbdd4d805280 IN  0x1737e635e7b38f6a0299517f042fba43d84f090c0 BNB0.00044489
0x9016f1fbbc8af799ffd66ee5a7138cc06c45d83c7138dae2cb0cd59c80cacd6fUnlock141234582022-01-06 8:25:2112 days 20 hrs ago0x9cd2ff4a8bafd2a1fadf425a0fb7bbd0e7f69960 IN  0x1737e635e7b38f6a0299517f042fba43d84f090c0 BNB0.00044489
0x2916c2d3f134af5309ba9659ad3b6325d6aa426454dd4247920224bc7c0a12d6Unlock135445742021-12-17 4:41:5833 days 33 mins ago0xce8adacd88a833fd2a0c17c320d3b433bd883f6d IN  0x1737e635e7b38f6a0299517f042fba43d84f090c0 BNB0.00044489
0xeef34d974ef15ebd6b8362fa67e51f4c80625f9da756a12d3d1f391512cac504Unlock135032372021-12-15 18:09:5934 days 11 hrs ago0x4512d7dbacf2cb1723b1a0d8d82c310b233cdf09 IN  0x1737e635e7b38f6a0299517f042fba43d84f090c0 BNB0.00044489
0xaee3169e007c53299830d19ae30e3bfd8e062348bb1f4ec7443511b19fe73d19Unlock133753112021-12-11 7:02:1438 days 22 hrs ago0xac45dadd2b8f04dc187b1a2a9dcd00cb82d4b876 IN  0x1737e635e7b38f6a0299517f042fba43d84f090c0 BNB0.00044489
0x25f0d353ebd8a3701edecac22978fa159202b791ebfc5d3a9352cdd5fc968336Unlock128227652021-11-21 2:59:2959 days 2 hrs ago0x8d88203c01fbafae47976ad39036fcd46a20d1a2 IN  0x1737e635e7b38f6a0299517f042fba43d84f090c0 BNB0.00040739
0x8e73d1eafed367314296ea70a69e3da271e14116bc8c4355db00bf4279b27697Unlock128227542021-11-21 2:58:5659 days 2 hrs ago0x8d88203c01fbafae47976ad39036fcd46a20d1a2 IN  0x1737e635e7b38f6a0299517f042fba43d84f090c0 BNB0.000481775
0xc0e5439113ddcfd0049762117a5912ddd54f3f5221f08e19e4137bce53ea3b06Unlock124215262021-11-06 16:38:3173 days 12 hrs ago0x0f1affee2b5aee1adb3fc59ee05e97cf7ff549a3 IN  0x1737e635e7b38f6a0299517f042fba43d84f090c0 BNB0.00044489
0x1c8ea58256a3c8a6fb67c7e18b9c1187e7d430e1e7afcd01ef9a9d8c36aecfebUnlock123828252021-11-05 7:56:3574 days 21 hrs ago0x3bfc0222fd897851ed72e44aeb0968851ade036a IN  0x1737e635e7b38f6a0299517f042fba43d84f090c0 BNB0.00040739
0x1912b4bf63711063b14fad987e7aa9ecd6eec20b9487b6f0bb426183146e8257Unlock123828202021-11-05 7:56:2074 days 21 hrs ago0x3bfc0222fd897851ed72e44aeb0968851ade036a IN  0x1737e635e7b38f6a0299517f042fba43d84f090c0 BNB0.00042839
0x0354214dd36deb230ec9c856e3cc17cae0868e4735315476577cb097a6964e2aUnlock123828102021-11-05 7:55:5074 days 21 hrs ago0x3bfc0222fd897851ed72e44aeb0968851ade036a IN  0x1737e635e7b38f6a0299517f042fba43d84f090c0 BNB0.00042839
0x87ec57d12254326a0233143d084f797bdcd7b0f96d3358514111e099678489feUnlock123828082021-11-05 7:55:4474 days 21 hrs ago0x3bfc0222fd897851ed72e44aeb0968851ade036a IN  0x1737e635e7b38f6a0299517f042fba43d84f090c0 BNB0.00042839
0x6675752086fcb8b698d967c554e859d3b6a91af39ad3b492a337e4c990f569cfUnlock123827972021-11-05 7:55:1174 days 21 hrs ago0x3bfc0222fd897851ed72e44aeb0968851ade036a IN  0x1737e635e7b38f6a0299517f042fba43d84f090c0 BNB0.00040739
0xf8fbde431d6a916cdda229c34a64fa09ee3c7310e40fa9231a6cc1ed654685c4Unlock123827952021-11-05 7:55:0574 days 21 hrs ago0x3bfc0222fd897851ed72e44aeb0968851ade036a IN  0x1737e635e7b38f6a0299517f042fba43d84f090c0 BNB0.00042839
0x07f0cfce004e0a71663353d2b118caa96702114a42d33ae1b949dcea5dba10aaUnlock123827922021-11-05 7:54:5674 days 21 hrs ago0x3bfc0222fd897851ed72e44aeb0968851ade036a IN  0x1737e635e7b38f6a0299517f042fba43d84f090c0 BNB0.00042839
0x325c54fcade698f9108b7fdbcc213ca634e9b664046c0a4db2bce6fa9e251e01Unlock123827902021-11-05 7:54:5074 days 21 hrs ago0x3bfc0222fd897851ed72e44aeb0968851ade036a IN  0x1737e635e7b38f6a0299517f042fba43d84f090c0 BNB0.00042839
0x4e758478efc78ab48573e118a70b42291d3573657599e989c178b4a9889fec37Unlock123827882021-11-05 7:54:4474 days 21 hrs ago0x3bfc0222fd897851ed72e44aeb0968851ade036a IN  0x1737e635e7b38f6a0299517f042fba43d84f090c0 BNB0.00042839
0x708d3d18b3cfb61713952b9f48e54318f71b8786dd392dc22e185975aef8061eUnlock123827482021-11-05 7:52:4474 days 21 hrs ago0x3bfc0222fd897851ed72e44aeb0968851ade036a IN  0x1737e635e7b38f6a0299517f042fba43d84f090c0 BNB0.00040739
0x0e4bbd62ff57f69676f6200573027e8a5e618c551639d3a92576ce91df0bbab2Unlock123827462021-11-05 7:52:3874 days 21 hrs ago0x3bfc0222fd897851ed72e44aeb0968851ade036a IN  0x1737e635e7b38f6a0299517f042fba43d84f090c0 BNB0.00042839
0xfa86bdd0f03277002a87811946ce7be514a25a43da638bfecccf66a40845b300Unlock123827442021-11-05 7:52:3274 days 21 hrs ago0x3bfc0222fd897851ed72e44aeb0968851ade036a IN  0x1737e635e7b38f6a0299517f042fba43d84f090c0 BNB0.00042839
0x8ece606866165bcc6adb7ecc06e9d94d1de752a3a19d87066896f70f5ad49a1cUnlock123827402021-11-05 7:52:2074 days 21 hrs ago0x3bfc0222fd897851ed72e44aeb0968851ade036a IN  0x1737e635e7b38f6a0299517f042fba43d84f090c0 BNB0.00042839
0x1bc046ae3b3a048775dd67f47857c54f5407c98222866b9a4fa0a74bde263145Unlock123827382021-11-05 7:52:1474 days 21 hrs ago0x3bfc0222fd897851ed72e44aeb0968851ade036a IN  0x1737e635e7b38f6a0299517f042fba43d84f090c0 BNB0.00042839
0x109d2622f4d00e5293934168212c68fcde727890966af1a2fb9d7b21613e3795Unlock123827362021-11-05 7:52:0874 days 21 hrs ago0x3bfc0222fd897851ed72e44aeb0968851ade036a IN  0x1737e635e7b38f6a0299517f042fba43d84f090c0 BNB0.00042839
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0x2d34f2c25b26359876836344e8a86437a1ac65f5bad7271233eb2e0a5e61f5d8105121382021-08-31 16:34:02140 days 12 hrs ago 0x1737e635e7b38f6a0299517f042fba43d84f090c0x6e7a8cfe1a39d71e0ac76b41ee01bd85176cc1470.037 BNB
0xa1062ce990d75de3101ea3c744a8e54d084027af98b3eb3c60f7f8f2ff85b0fe104807422021-08-30 13:57:54141 days 15 hrs ago 0x1737e635e7b38f6a0299517f042fba43d84f090c0x376109bc8368ed5c667a2b6ef2e60c4e8273a8200.035 BNB
0xdde252179c90974dc74512d90206bafae4fe753c99744edd8c20a4b446ba63f8104453912021-08-29 8:11:42142 days 21 hrs ago 0x1737e635e7b38f6a0299517f042fba43d84f090c0x4901be2e1e8d757891fbb713160f98aefa321ce50.03 BNB
0x6aa60ba058051a3f2b4a7cb72b7c467235ea7c19e291ca147b16c27d3ef25f39104448852021-08-29 7:46:24142 days 21 hrs ago 0x1737e635e7b38f6a0299517f042fba43d84f090c0x64627f8aa3006b9112219484b5abba037af5b43b0.04 BNB
0x90cf6b910d791045001485646c4469e20d4b2f0c329551e9bf256bcc82a5a0e9104376252021-08-29 1:42:54143 days 3 hrs ago 0x1737e635e7b38f6a0299517f042fba43d84f090c0x70bf07e3fbbd352d9f632dbc242e27d6789b41ad0.04 BNB
0xdf2316ee14bb48004923579aafda3fd61169f2e1fbd7e1b9dcffbd99e283b1af102680562021-08-23 2:44:06149 days 2 hrs ago 0x1737e635e7b38f6a0299517f042fba43d84f090c0xf7b97bf73c943b0920019480842502993bbf88db0.03 BNB
0x60a186f40e58927d4f8bd96ea896411c71354dbb249c165cb3b36e95dffbf860102648882021-08-23 0:05:42149 days 5 hrs ago 0x1737e635e7b38f6a0299517f042fba43d84f090c0xf2cad4651ec5e78c21bb5e421c0557416f0f449b0.03 BNB
0x4fcd2928f92696e50ac69e0de1ac118fb201a0ce1d10a4d19e2bac7b11607501102646662021-08-22 23:54:36149 days 5 hrs ago 0x1737e635e7b38f6a0299517f042fba43d84f090c0xd9e99e712868863a5fa004e4daf4c9f3ad41a6570.03 BNB
0x968d191311312a5d841b923cc054c63e332ea0f25c0a3106d999156afbbb6f10102596192021-08-22 19:42:12149 days 9 hrs ago 0x1737e635e7b38f6a0299517f042fba43d84f090c0xe025f941136d5c835766f64707e0d222b39be9660.03 BNB
0x7bd9ddef89b785ac47f26d85fc051891466f78a244d79ff9778c3d6b8f486157102552452021-08-22 16:03:16149 days 13 hrs ago 0x1737e635e7b38f6a0299517f042fba43d84f090c0x99ce4c0648c676028dabdda0bae036e4eac7ce0f0.04 BNB
0xe3079a4b1471892fe1f6d318319ed95a0cfff2cfda2603024862d7a6249cc7b8102371772021-08-22 0:56:54150 days 4 hrs ago 0x1737e635e7b38f6a0299517f042fba43d84f090c0x40d9a5d4a77d86fd858222626a4934c6c74b71480.03 BNB
0x59f70031adc1c904ef69ab8fcdd7c6dd8bf9e1a0b9e262d01a2744315b3f97c3102226492021-08-21 12:42:11150 days 16 hrs ago 0x1737e635e7b38f6a0299517f042fba43d84f090c0x742ebe046cec19222c9b8d74b55a305be3531dbe0.04 BNB
0x5833ceb65ec10886c9af2c61e2ae101ee1382abf237b004876220f45cac57516102088112021-08-21 1:06:47151 days 4 hrs ago 0x1737e635e7b38f6a0299517f042fba43d84f090c0x88a737631d3e8631e58206f89cf6877dc9a9f21f0.04 BNB
0x50097ee899fb0e1d233ec4fabb224f5db16f68f6fadcfd8f3be3af93a3a3cfd9102087612021-08-21 1:04:17151 days 4 hrs ago 0x1737e635e7b38f6a0299517f042fba43d84f090c0xcbe82de8394d9740396b3fbaa57b97766598577d0.035 BNB
0x005c71cb35ea081d748349c282cf6ac84d6b3dfd62b34eb92fb4a458419d77bc101631832021-08-19 10:43:28152 days 18 hrs ago 0x1737e635e7b38f6a0299517f042fba43d84f090c0x66e1247ae89c24b81e60f28d15d7769c252f8fd90.035 BNB
0x56c119d7a864397d695235029368b1f536d31df87d5cba0d684e5d94dbe8450d101469892021-08-18 21:09:21153 days 8 hrs ago 0x1737e635e7b38f6a0299517f042fba43d84f090c0xf8715bbb545a9e4407445ab0d8455079ab05472c0.03 BNB
0xe2e01685d3d8549db2b64775ac60604a1ebc327fa4f5ab972c014291443b7449101468432021-08-18 21:02:03153 days 8 hrs ago 0x1737e635e7b38f6a0299517f042fba43d84f090c0x29d4d7857850d8089de268e2b8ec8a202d863e820.03 BNB
0xf503907530443888efe500605b5618f9b2d4cd259d1d5ab7f53bc9d75dc4526e101468282021-08-18 21:01:18153 days 8 hrs ago 0x1737e635e7b38f6a0299517f042fba43d84f090c0xa9e35ce0c9bacd395f09523203a65e79a2fe36e90.03 BNB
0x18ba835579ec44d1f97028021364aec8c6f00469d42fd656abe23f3f0c697951101314392021-08-18 8:10:39153 days 21 hrs ago 0x1737e635e7b38f6a0299517f042fba43d84f090c0x10821725fc960fa3667b1c712ec5185381253c630.12 BNB
0xc2da0c13f9aa4a502850b6f1ca59bf32543efe9b36c3e490a372a6406f105392101313452021-08-18 8:05:57153 days 21 hrs ago 0x1737e635e7b38f6a0299517f042fba43d84f090c0xba4aaa616eaaefc9bb26ca5a17cd9f5afaca60830.08 BNB
0xfe61ecee91ee8b8676b71a6ef3f32e9ce0c6f51e3c868ba652eea2327577569b101312162021-08-18 7:59:30153 days 21 hrs ago 0x1737e635e7b38f6a0299517f042fba43d84f090c0x844ccee99bbaaacb9b6dee09f1c0519d820d24b70.12 BNB
0xe945049422103a254dde5e22f1eb49772097a95975f1166139ae02727f46a280101311332021-08-18 7:55:21153 days 21 hrs ago 0x1737e635e7b38f6a0299517f042fba43d84f090c0x982160400795773de8867c1cc6aa1fe34e8c80f60.05 BNB
0x212aca84d9157204f3b4c8516113fa99b22d23764dd8cfa07b27544ba2f90c76101309392021-08-18 7:45:39153 days 21 hrs ago 0x1737e635e7b38f6a0299517f042fba43d84f090c0xaeeca244bb08576c48d543b705d572d6d5aad6840.08 BNB
0x6d9a34c9b9e68778ddb016d229226aae27356ed8cc24c714ebcf491b339a7e57101308312021-08-18 7:40:15153 days 21 hrs ago 0x1737e635e7b38f6a0299517f042fba43d84f090c0x2ffaa8de1115183f4c63305162e4c1413a780a550.1 BNB
0x72c36bbc0a4c52b2a418279614a2fceadfd9ea2a140a3bf34ff031d937325742101173032021-08-17 20:22:28154 days 8 hrs ago 0x1737e635e7b38f6a0299517f042fba43d84f090c0xd764197d0404660e54e8b9bed441c5bb651fd77e0.2 BNB
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
XWGBNBStore

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at BscScan.com on 2021-06-01
*/

// SPDX-License-Identifier: MIT

pragma solidity ^0.6.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 GSN 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 payable) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes memory) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

pragma solidity ^0.6.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);
}

pragma solidity ^0.6.0;

/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts may inherit from this and call {_registerInterface} to declare
 * their support of an interface.
 */
contract ERC165 is IERC165 {
    /*
     * bytes4(keccak256('supportsInterface(bytes4)')) == 0x01ffc9a7
     */
    bytes4 private constant _INTERFACE_ID_ERC165 = 0x01ffc9a7;

    /**
     * @dev Mapping of interface ids to whether or not it's supported.
     */
    mapping(bytes4 => bool) private _supportedInterfaces;

    constructor () internal {
        // Derived contracts need only register support for their own interfaces,
        // we register support for ERC165 itself here
        _registerInterface(_INTERFACE_ID_ERC165);
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     *
     * Time complexity O(1), guaranteed to always use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) public view override returns (bool) {
        return _supportedInterfaces[interfaceId];
    }

    /**
     * @dev Registers the contract as an implementer of the interface defined by
     * `interfaceId`. Support of the actual ERC165 interface is automatic and
     * registering its interface id is not required.
     *
     * See {IERC165-supportsInterface}.
     *
     * Requirements:
     *
     * - `interfaceId` cannot be the ERC165 invalid interface (`0xffffffff`).
     */
    function _registerInterface(bytes4 interfaceId) internal virtual {
        require(interfaceId != 0xffffffff, "ERC165: invalid interface id");
        _supportedInterfaces[interfaceId] = true;
    }
}

pragma solidity ^0.6.2;

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

pragma solidity ^0.6.2;


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

pragma solidity ^0.6.2;

/**
 * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Enumerable is IERC721 {

    /**
     * @dev Returns the total amount of tokens stored by the contract.
     */
    function totalSupply() external view returns (uint256);

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

    /**
     * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.
     * Use along with {totalSupply} to enumerate all tokens.
     */
    function tokenByIndex(uint256 index) external view returns (uint256);
}

pragma solidity ^0.6.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);
}

pragma solidity ^0.6.0;

/**
   * @dev Implementation of the {IERC721Receiver} interface.
   *
   * Accepts all token transfers.
   * Make sure the contract is able to use its token with {IERC721-safeTransferFrom}, {IERC721-approve} or {IERC721-setApprovalForAll}.
   */
contract ERC721Holder is IERC721Receiver {

    /**
     * @dev See {IERC721Receiver-onERC721Received}.
     *
     * Always returns `IERC721Receiver.onERC721Received.selector`.
     */
    function onERC721Received(address, address, uint256, bytes memory) public virtual override returns (bytes4) {
        return this.onERC721Received.selector;
    }
}

pragma solidity ^0.6.0;

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

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor () internal {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

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

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

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

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

pragma solidity ^0.6.0;

/**
 * @dev Contract module which allows children to implement an emergency stop
 * mechanism that can be triggered by an authorized account.
 *
 * This module is used through inheritance. It will make available the
 * modifiers `whenNotPaused` and `whenPaused`, which can be applied to
 * the functions of your contract. Note that they will not be pausable by
 * simply including this module, only once the modifiers are put in place.
 */
contract Pausable is Context {
    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by `account`.
     */
    event Unpaused(address account);

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */
    constructor () internal {
        _paused = false;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view returns (bool) {
        return _paused;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    modifier whenNotPaused() {
        require(!_paused, "Pausable: paused");
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        require(_paused, "Pausable: not paused");
        _;
    }

    /**
     * @dev Triggers stopped state.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    function _pause() internal virtual whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Returns to normal state.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    function _unpause() internal virtual whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }
}

pragma solidity ^0.6.0;

/**
 * @dev Library for managing
 * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive
 * types.
 *
 * Sets have the following properties:
 *
 * - Elements are added, removed, and checked for existence in constant time
 * (O(1)).
 * - Elements are enumerated in O(n). No guarantees are made on the ordering.
 *
 * ```
 * contract Example {
 *     // Add the library methods
 *     using EnumerableSet for EnumerableSet.AddressSet;
 *
 *     // Declare a set state variable
 *     EnumerableSet.AddressSet private mySet;
 * }
 * ```
 *
 * As of v3.0.0, only sets of type `address` (`AddressSet`) and `uint256`
 * (`UintSet`) are supported.
 */
library EnumerableSet {
    // To implement this library for multiple types with as little code
    // repetition as possible, we write it in terms of a generic Set type with
    // bytes32 values.
    // The Set implementation uses private functions, and user-facing
    // implementations (such as AddressSet) are just wrappers around the
    // underlying Set.
    // This means that we can only create new EnumerableSets for types that fit
    // in bytes32.

    struct Set {
        // Storage of set values
        bytes32[] _values;

        // Position of the value in the `values` array, plus 1 because index 0
        // means a value is not in the set.
        mapping (bytes32 => uint256) _indexes;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function _add(Set storage set, bytes32 value) private returns (bool) {
        if (!_contains(set, value)) {
            set._values.push(value);
            // The value is stored at length-1, but we add 1 to all indexes
            // and use 0 as a sentinel value
            set._indexes[value] = set._values.length;
            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function _remove(Set storage set, bytes32 value) private returns (bool) {
        // We read and store the value's index to prevent multiple reads from the same storage slot
        uint256 valueIndex = set._indexes[value];

        if (valueIndex != 0) { // Equivalent to contains(set, value)
            // To delete an element from the _values array in O(1), we swap the element to delete with the last one in
            // the array, and then remove the last element (sometimes called as 'swap and pop').
            // This modifies the order of the array, as noted in {at}.

            uint256 toDeleteIndex = valueIndex - 1;
            uint256 lastIndex = set._values.length - 1;

            // When the value to delete is the last one, the swap operation is unnecessary. However, since this occurs
            // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement.

            bytes32 lastvalue = set._values[lastIndex];

            // Move the last value to the index where the value to delete is
            set._values[toDeleteIndex] = lastvalue;
            // Update the index for the moved value
            set._indexes[lastvalue] = toDeleteIndex + 1; // All indexes are 1-based

            // Delete the slot where the moved value was stored
            set._values.pop();

            // Delete the index for the deleted slot
            delete set._indexes[value];

            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function _contains(Set storage set, bytes32 value) private view returns (bool) {
        return set._indexes[value] != 0;
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function _length(Set storage set) private view returns (uint256) {
        return set._values.length;
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function _at(Set storage set, uint256 index) private view returns (bytes32) {
        require(set._values.length > index, "EnumerableSet: index out of bounds");
        return set._values[index];
    }

    // AddressSet

    struct AddressSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(AddressSet storage set, address value) internal returns (bool) {
        return _add(set._inner, bytes32(uint256(value)));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(AddressSet storage set, address value) internal returns (bool) {
        return _remove(set._inner, bytes32(uint256(value)));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(AddressSet storage set, address value) internal view returns (bool) {
        return _contains(set._inner, bytes32(uint256(value)));
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(AddressSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(AddressSet storage set, uint256 index) internal view returns (address) {
        return address(uint256(_at(set._inner, index)));
    }


    // UintSet

    struct UintSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(UintSet storage set, uint256 value) internal returns (bool) {
        return _add(set._inner, bytes32(value));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(UintSet storage set, uint256 value) internal returns (bool) {
        return _remove(set._inner, bytes32(value));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(UintSet storage set, uint256 value) internal view returns (bool) {
        return _contains(set._inner, bytes32(value));
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function length(UintSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(UintSet storage set, uint256 index) internal view returns (uint256) {
        return uint256(_at(set._inner, index));
    }
}

pragma solidity ^0.6.0;

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

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

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

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

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

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

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

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

pragma solidity ^0.6.0;

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeMath {
    /**
     * @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) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");

        return c;
    }

    /**
     * @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 sub(a, b, "SafeMath: subtraction overflow");
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        uint256 c = a - b;

        return c;
    }

    /**
     * @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) {
        // 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 0;
        }

        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");

        return c;
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts 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) internal pure returns (uint256) {
        return div(a, b, "SafeMath: division by zero");
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts 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) {
        require(b > 0, errorMessage);
        uint256 c = a / b;
        // assert(a == b * c + a % b); // There is no case in which this doesn't hold

        return c;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts 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 mod(a, b, "SafeMath: modulo by zero");
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts with custom message 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, string memory errorMessage) internal pure returns (uint256) {
        require(b != 0, errorMessage);
        return a % b;
    }
}

pragma solidity 0.6.12;
interface IFeeToken is IERC20 {

    function decimals() external view returns (uint8);

}

pragma solidity 0.6.12;

contract XWGBNBStore is Context, ERC721Holder, Ownable, Pausable{

    using SafeMath for uint256;
    using EnumerableSet for EnumerableSet.UintSet;

    mapping (address => EnumerableSet.UintSet) private _holderTokens;
    mapping (uint256 => NFT) private _tokenOwners;

    IERC721 public nft;

    struct NFT{
        uint256 price;
        address payable owner;
    }

    function initialize(address nftAddr) external onlyOwner {
        nft = IERC721(nftAddr);
    }

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

        return _holderTokens[owner].length();
    }

    /**
     * @dev See {IERC721-tokenOfOwnerByIndex}.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) public view returns (uint256) {
        return _holderTokens[owner].at(index);
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view returns (address) {
        return _tokenOwners[tokenId].owner;
    }

    /**
     * @dev Triggers stopped state.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    function pause() external virtual onlyOwner whenNotPaused {
        _pause();
    }

    /**
     * @dev Returns to normal state.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    function unpause() external virtual onlyOwner whenPaused {
        _unpause();
    }

    function sell(uint256 tokenId, uint256 price) external whenNotPaused {
        NFT memory newNFT = NFT({
            price : price,
            owner : _msgSender()
            });

        nft.safeTransferFrom(_msgSender(), address(this), tokenId);
        _holderTokens[_msgSender()].add(tokenId);
        _tokenOwners[tokenId] = newNFT;
    }

    function buy(uint256 tokenId) external whenNotPaused payable {
        NFT memory tokenNFT = _tokenOwners[tokenId];

        require(tokenNFT.owner != address(0), "BNBNFTStore: operator query for nonexistent token");
        require(msg.value >= tokenNFT.price, "BNBNFTStore: insufficient amount");
        
        (bool success, ) = tokenNFT.owner.call{value: msg.value}(new bytes(0));
        require(success, 'BNBNFTStore:safeTransferBNB: BNB transfer failed');

        nft.safeTransferFrom(address(this), _msgSender(), tokenId);
        _holderTokens[tokenNFT.owner].remove(tokenId);
        delete _tokenOwners[tokenId];
    }

    function unlock(uint256 tokenId) external {
        NFT memory tokenNFT = _tokenOwners[tokenId];

        require(tokenNFT.owner == _msgSender(), "BNBNFTStore: transfer of token that is not own");

        nft.safeTransferFrom(address(this), _msgSender(), tokenId);
        _holderTokens[_msgSender()].remove(tokenId);
        delete _tokenOwners[tokenId];
    }

    function back(address target, uint256 tokenId) external onlyOwner {
        require(_tokenOwners[tokenId].owner == address(0), "BNBNFTStore:token is locked");

        nft.safeTransferFrom(address(this), target, tokenId);
    }

    function getNFT(uint256 tokenId) external view returns(uint256 price, address owner) {
        NFT memory tokenNFT = _tokenOwners[tokenId];

        require(tokenNFT.owner != address(0), "BNBNFTStore: operator query for nonexistent token");

        price = tokenNFT.price;
        owner = tokenNFT.owner;

        return (price, owner);
    }

    function safeUnlock(uint256 tokenId) external whenPaused {
        require(_tokenOwners[tokenId].owner == _msgSender(), "BNBNFTStore: transfer of token that is not own");
        nft.safeTransferFrom(address(this), _msgSender(), tokenId);
    }
    
    function safeTransfer(
        address token,
        address to,
        uint256 value
    ) external onlyOwner {
        (bool success, bytes memory data) = token.call(abi.encodeWithSelector(0xa9059cbb, to, value));
        require(
            success && (data.length == 0 || abi.decode(data, (bool))),
            'TransferHelper::safeTransfer: transfer failed'
        );
    }
    
    function safeTransferBNB(address to, uint256 value) external onlyOwner {
        (bool success, ) = to.call{value: value}(new bytes(0));
        require(success, 'TransferHelper::safeTransferBNB: BNB transfer failed');
    }

}

Contract Security Audit

Contract ABI

[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[{"internalType":"address","name":"target","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"back","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"buy","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getNFT","outputs":[{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"address","name":"owner","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"nftAddr","type":"address"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"nft","outputs":[{"internalType":"contract IERC721","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"onERC721Received","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"safeTransfer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"safeTransferBNB","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeUnlock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"price","type":"uint256"}],"name":"sell","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"unlock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405234801561001057600080fd5b5060006100216100de60201b60201c565b9050806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35060008060146101000a81548160ff0219169083151502179055506100e6565b600033905090565b612b33806100f56000396000f3fe60806040526004361061011f5760003560e01c8063715018a6116100a0578063c4d66de811610064578063c4d66de81461062e578063d1660f991461067f578063d79875eb146106fa578063d96a094a1461073f578063f2fde38b1461076d5761011f565b8063715018a6146105095780638456cb59146105205780638da5cb5b146105375780638e0399d114610578578063b870f613146105d35761011f565b8063576f7ea7116100e7578063576f7ea71461036b5780635c975abb146103d75780636198e339146104045780636352211e1461043f57806370a08231146104a45761011f565b8063150b7a02146101245780632208b188146102695780632f745c59146102a45780633f4ba83a1461031357806347ccca021461032a575b600080fd5b34801561013057600080fd5b506102346004803603608081101561014757600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190803590602001906401000000008111156101ae57600080fd5b8201836020820111156101c057600080fd5b803590602001918460018302840111640100000000831117156101e257600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f8201169050808301925050505050505091929192905050506107be565b60405180827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200191505060405180910390f35b34801561027557600080fd5b506102a26004803603602081101561028c57600080fd5b81019080803590602001909291905050506107d2565b005b3480156102b057600080fd5b506102fd600480360360408110156102c757600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506109e8565b6040518082815260200191505060405180910390f35b34801561031f57600080fd5b50610328610a43565b005b34801561033657600080fd5b5061033f610b97565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561037757600080fd5b506103a46004803603602081101561038e57600080fd5b8101908080359060200190929190505050610bbd565b604051808381526020018273ffffffffffffffffffffffffffffffffffffffff1681526020019250505060405180910390f35b3480156103e357600080fd5b506103ec610ce6565b60405180821515815260200191505060405180910390f35b34801561041057600080fd5b5061043d6004803603602081101561042757600080fd5b8101908080359060200190929190505050610cfc565b005b34801561044b57600080fd5b506104786004803603602081101561046257600080fd5b8101908080359060200190929190505050610f85565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156104b057600080fd5b506104f3600480360360208110156104c757600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610fc5565b6040518082815260200191505060405180910390f35b34801561051557600080fd5b5061051e61109a565b005b34801561052c57600080fd5b50610535611220565b005b34801561054357600080fd5b5061054c611375565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561058457600080fd5b506105d16004803603604081101561059b57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919050505061139e565b005b3480156105df57600080fd5b5061062c600480360360408110156105f657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506115c5565b005b34801561063a57600080fd5b5061067d6004803603602081101561065157600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611832565b005b34801561068b57600080fd5b506106f8600480360360608110156106a257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919050505061193e565b005b34801561070657600080fd5b5061073d6004803603604081101561071d57600080fd5b810190808035906020019092919080359060200190929190505050611bcc565b005b61076b6004803603602081101561075557600080fd5b8101908080359060200190929190505050611e21565b005b34801561077957600080fd5b506107bc6004803603602081101561079057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506122fe565b005b600063150b7a0260e01b9050949350505050565b600060149054906101000a900460ff16610854576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260148152602001807f5061757361626c653a206e6f742070617573656400000000000000000000000081525060200191505060405180910390fd5b61085c612509565b73ffffffffffffffffffffffffffffffffffffffff166002600083815260200190815260200160002060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610915576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602e815260200180612a77602e913960400191505060405180910390fd5b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166342842e0e3061095c612509565b846040518463ffffffff1660e01b8152600401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050600060405180830381600087803b1580156109cd57600080fd5b505af11580156109e1573d6000803e3d6000fd5b5050505050565b6000610a3b82600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002061251190919063ffffffff16565b905092915050565b610a4b612509565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610b0b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600060149054906101000a900460ff16610b8d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260148152602001807f5061757361626c653a206e6f742070617573656400000000000000000000000081525060200191505060405180910390fd5b610b9561252b565b565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600080610bc8612969565b60026000858152602001908152602001600020604051806040016040529081600082015481526020016001820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816020015173ffffffffffffffffffffffffffffffffffffffff161415610cd2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260318152602001806129bc6031913960400191505060405180910390fd5b806000015192508060200151915050915091565b60008060149054906101000a900460ff16905090565b610d04612969565b60026000838152602001908152602001600020604051806040016040529081600082015481526020016001820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815250509050610d8c612509565b73ffffffffffffffffffffffffffffffffffffffff16816020015173ffffffffffffffffffffffffffffffffffffffff1614610e13576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602e815260200180612a77602e913960400191505060405180910390fd5b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166342842e0e30610e5a612509565b856040518463ffffffff1660e01b8152600401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050600060405180830381600087803b158015610ecb57600080fd5b505af1158015610edf573d6000803e3d6000fd5b50505050610f3b8260016000610ef3612509565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002061261d90919063ffffffff16565b50600260008381526020019081526020016000206000808201600090556001820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905550505050565b60006002600083815260200190815260200160002060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561104c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602c815260200180612aa5602c913960400191505060405180910390fd5b611093600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020612637565b9050919050565b6110a2612509565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611162576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b611228612509565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146112e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600060149054906101000a900460ff161561136b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260108152602001807f5061757361626c653a207061757365640000000000000000000000000000000081525060200191505060405180910390fd5b61137361264c565b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6113a6612509565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611466576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff1682600067ffffffffffffffff8111801561149857600080fd5b506040519080825280601f01601f1916602001820160405280156114cb5781602001600182028036833780820191505090505b506040518082805190602001908083835b602083106114ff57805182526020820191506020810190506020830392506114dc565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114611561576040519150601f19603f3d011682016040523d82523d6000602084013e611566565b606091505b50509050806115c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260348152602001806129ed6034913960400191505060405180910390fd5b505050565b6115cd612509565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461168d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff166002600083815260200190815260200160002060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611765576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f424e424e465453746f72653a746f6b656e206973206c6f636b6564000000000081525060200191505060405180910390fd5b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166342842e0e3084846040518463ffffffff1660e01b8152600401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050600060405180830381600087803b15801561181657600080fd5b505af115801561182a573d6000803e3d6000fd5b505050505050565b61183a612509565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146118fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b80600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b611946612509565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611a06576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600060608473ffffffffffffffffffffffffffffffffffffffff1663a9059cbb8585604051602401808373ffffffffffffffffffffffffffffffffffffffff168152602001828152602001925050506040516020818303038152906040529060e01b6020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506040518082805190602001908083835b60208310611ac95780518252602082019150602081019050602083039250611aa6565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114611b2b576040519150601f19603f3d011682016040523d82523d6000602084013e611b30565b606091505b5091509150818015611b705750600081511480611b6f5750808060200190516020811015611b5d57600080fd5b81019080805190602001909291905050505b5b611bc5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602d815260200180612ad1602d913960400191505060405180910390fd5b5050505050565b600060149054906101000a900460ff1615611c4f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260108152602001807f5061757361626c653a207061757365640000000000000000000000000000000081525060200191505060405180910390fd5b611c57612969565b6040518060400160405280838152602001611c70612509565b73ffffffffffffffffffffffffffffffffffffffff168152509050600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166342842e0e611cd1612509565b30866040518463ffffffff1660e01b8152600401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050600060405180830381600087803b158015611d4357600080fd5b505af1158015611d57573d6000803e3d6000fd5b50505050611db38360016000611d6b612509565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002061274090919063ffffffff16565b5080600260008581526020019081526020016000206000820151816000015560208201518160010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550905050505050565b600060149054906101000a900460ff1615611ea4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260108152602001807f5061757361626c653a207061757365640000000000000000000000000000000081525060200191505060405180910390fd5b611eac612969565b60026000838152602001908152602001600020604051806040016040529081600082015481526020016001820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816020015173ffffffffffffffffffffffffffffffffffffffff161415611fb6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260318152602001806129bc6031913960400191505060405180910390fd5b8060000151341015612030576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f424e424e465453746f72653a20696e73756666696369656e7420616d6f756e7481525060200191505060405180910390fd5b6000816020015173ffffffffffffffffffffffffffffffffffffffff1634600067ffffffffffffffff8111801561206657600080fd5b506040519080825280601f01601f1916602001820160405280156120995781602001600182028036833780820191505090505b506040518082805190602001908083835b602083106120cd57805182526020820191506020810190506020830392506120aa565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d806000811461212f576040519150601f19603f3d011682016040523d82523d6000602084013e612134565b606091505b505090508061218e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526030815260200180612a476030913960400191505060405180910390fd5b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166342842e0e306121d5612509565b866040518463ffffffff1660e01b8152600401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050600060405180830381600087803b15801561224657600080fd5b505af115801561225a573d6000803e3d6000fd5b505050506122b38360016000856020015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002061261d90919063ffffffff16565b50600260008481526020019081526020016000206000808201600090556001820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690555050505050565b612306612509565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146123c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561244c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180612a216026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600033905090565b6000612520836000018361275a565b60001c905092915050565b600060149054906101000a900460ff166125ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260148152602001807f5061757361626c653a206e6f742070617573656400000000000000000000000081525060200191505060405180910390fd5b60008060146101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6125f0612509565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390a1565b600061262f836000018360001b6127dd565b905092915050565b6000612645826000016128c5565b9050919050565b600060149054906101000a900460ff16156126cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260108152602001807f5061757361626c653a207061757365640000000000000000000000000000000081525060200191505060405180910390fd5b6001600060146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258612713612509565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390a1565b6000612752836000018360001b6128d6565b905092915050565b6000818360000180549050116127bb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602281526020018061299a6022913960400191505060405180910390fd5b8260000182815481106127ca57fe5b9060005260206000200154905092915050565b600080836001016000848152602001908152602001600020549050600081146128b9576000600182039050600060018660000180549050039050600086600001828154811061282857fe5b906000526020600020015490508087600001848154811061284557fe5b906000526020600020018190555060018301876001016000838152602001908152602001600020819055508660000180548061287d57fe5b600190038181906000526020600020016000905590558660010160008781526020019081526020016000206000905560019450505050506128bf565b60009150505b92915050565b600081600001805490509050919050565b60006128e28383612946565b61293b578260000182908060018154018082558091505060019003906000526020600020016000909190919091505582600001805490508360010160008481526020019081526020016000208190555060019050612940565b600090505b92915050565b600080836001016000848152602001908152602001600020541415905092915050565b604051806040016040528060008152602001600073ffffffffffffffffffffffffffffffffffffffff168152509056fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e6473424e424e465453746f72653a206f70657261746f7220717565727920666f72206e6f6e6578697374656e7420746f6b656e5472616e7366657248656c7065723a3a736166655472616e73666572424e423a20424e42207472616e73666572206661696c65644f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373424e424e465453746f72653a736166655472616e73666572424e423a20424e42207472616e73666572206661696c6564424e424e465453746f72653a207472616e73666572206f6620746f6b656e2074686174206973206e6f74206f776e4e465453746f72653a2062616c616e636520717565727920666f7220746865207a65726f20616464726573735472616e7366657248656c7065723a3a736166655472616e736665723a207472616e73666572206661696c6564a264697066735822122029975cc9f7e1a6cd48d86bc24cacda7c37eb567e02ee92d59c724cee69f767b864736f6c634300060c0033

Deployed ByteCode Sourcemap

31757:4512:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10924:164;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;35374:247;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;32594:145;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;33288:86;;;;;;;;;;;;;:::i;:::-;;32042:18;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;35014:352;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;14337:78;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;34397:370;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;32801:117;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;32312:208;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;12772:148;;;;;;;;;;;;;:::i;:::-;;33062:85;;;;;;;;;;;;;:::i;:::-;;12130:79;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;36037:227;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;34775:231;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;32151:97;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;35633:392;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;33382:354;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;33744:645;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;13075:244;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;10924:164;11024:6;11050:30;;;11043:37;;10924:164;;;;;;:::o;35374:247::-;14931:7;;;;;;;;;;;14923:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35481:12:::1;:10;:12::i;:::-;35450:43;;:12;:21;35463:7;35450:21;;;;;;;;;;;:27;;;;;;;;;;;;:43;;;35442:102;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35555:3;;;;;;;;;;;:20;;;35584:4;35591:12;:10;:12::i;:::-;35605:7;35555:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;35374:247:::0;:::o;32594:145::-;32674:7;32701:30;32725:5;32701:13;:20;32715:5;32701:20;;;;;;;;;;;;;;;:23;;:30;;;;:::i;:::-;32694:37;;32594:145;;;;:::o;33288:86::-;12352:12;:10;:12::i;:::-;12342:22;;:6;;;;;;;;;;:22;;;12334:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14931:7:::1;;;;;;;;;;;14923:40;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;33356:10:::2;:8;:10::i;:::-;33288:86::o:0;32042:18::-;;;;;;;;;;;;;:::o;35014:352::-;35069:13;35084;35110:19;;:::i;:::-;35132:12;:21;35145:7;35132:21;;;;;;;;;;;35110:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35200:1;35174:28;;:8;:14;;;:28;;;;35166:90;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35277:8;:14;;;35269:22;;35310:8;:14;;;35302:22;;35337:21;35014:352;;;:::o;14337:78::-;14376:4;14400:7;;;;;;;;;;;14393:14;;14337:78;:::o;34397:370::-;34450:19;;:::i;:::-;34472:12;:21;34485:7;34472:21;;;;;;;;;;;34450:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34532:12;:10;:12::i;:::-;34514:30;;:8;:14;;;:30;;;34506:89;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34608:3;;;;;;;;;;;:20;;;34637:4;34644:12;:10;:12::i;:::-;34658:7;34608:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34677:43;34712:7;34677:13;:27;34691:12;:10;:12::i;:::-;34677:27;;;;;;;;;;;;;;;:34;;:43;;;;:::i;:::-;;34738:12;:21;34751:7;34738:21;;;;;;;;;;;;34731:28;;;;;;;;;;;;;;;;;;;;;;;34397:370;;:::o;32801:117::-;32856:7;32883:12;:21;32896:7;32883:21;;;;;;;;;;;:27;;;;;;;;;;;;32876:34;;32801:117;;;:::o;32312:208::-;32367:7;32412:1;32395:19;;:5;:19;;;;32387:76;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32483:29;:13;:20;32497:5;32483:20;;;;;;;;;;;;;;;:27;:29::i;:::-;32476:36;;32312:208;;;:::o;12772:148::-;12352:12;:10;:12::i;:::-;12342:22;;:6;;;;;;;;;;:22;;;12334:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12879:1:::1;12842:40;;12863:6;::::0;::::1;;;;;;;;12842:40;;;;;;;;;;;;12910:1;12893:6:::0;::::1;:19;;;;;;;;;;;;;;;;;;12772:148::o:0;33062:85::-;12352:12;:10;:12::i;:::-;12342:22;;:6;;;;;;;;;;:22;;;12334:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14655:7:::1;;;;;;;;;;;14654:8;14646:37;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;33131:8:::2;:6;:8::i;:::-;33062:85::o:0;12130:79::-;12168:7;12195:6;;;;;;;;;;;12188:13;;12130:79;:::o;36037:227::-;12352:12;:10;:12::i;:::-;12342:22;;:6;;;;;;;;;;:22;;;12334:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36120:12:::1;36138:2;:7;;36153:5;36170:1;36160:12;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36138:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36119:54;;;36192:7;36184:72;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12412:1;36037:227:::0;;:::o;34775:231::-;12352:12;:10;:12::i;:::-;12342:22;;:6;;;;;;;;;;:22;;;12334:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34899:1:::1;34860:41;;:12;:21;34873:7;34860:21;;;;;;;;;;;:27;;;;;;;;;;;;:41;;;34852:81;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;34946:3;;;;;;;;;;;:20;;;34975:4;34982:6;34990:7;34946:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;34775:231:::0;;:::o;32151:97::-;12352:12;:10;:12::i;:::-;12342:22;;:6;;;;;;;;;;:22;;;12334:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32232:7:::1;32218:3;;:22;;;;;;;;;;;;;;;;;;32151:97:::0;:::o;35633:392::-;12352:12;:10;:12::i;:::-;12342:22;;:6;;;;;;;;;;:22;;;12334:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35762:12:::1;35776:17;35797:5;:10;;35831;35843:2;35847:5;35808:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35797:57;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35761:93;;;;35887:7;:57;;;;;35914:1;35899:4;:11;:16;:44;;;;35930:4;35919:24;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;35899:44;35887:57;35865:152;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12412:1;;35633:392:::0;;;:::o;33382:354::-;14655:7;;;;;;;;;;;14654:8;14646:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33462:17:::1;;:::i;:::-;33482:83;;;;;;;;33509:5;33482:83;;;;33537:12;:10;:12::i;:::-;33482:83;;;;::::0;33462:103:::1;;33578:3;;;;;;;;;;;:20;;;33599:12;:10;:12::i;:::-;33621:4;33628:7;33578:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;33647:40;33679:7;33647:13;:27;33661:12;:10;:12::i;:::-;33647:27;;;;;;;;;;;;;;;:31;;:40;;;;:::i;:::-;;33722:6;33698:12;:21;33711:7;33698:21;;;;;;;;;;;:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14694:1;33382:354:::0;;:::o;33744:645::-;14655:7;;;;;;;;;;;14654:8;14646:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33816:19:::1;;:::i;:::-;33838:12;:21;33851:7;33838:21;;;;;;;;;;;33816:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;33906:1;33880:28;;:8;:14;;;:28;;;;33872:90;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33994:8;:14;;;33981:9;:27;;33973:72;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;34067:12;34085:8;:14;;;:19;;34112:9;34133:1;34123:12;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34085:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34066:70;;;34155:7;34147:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34228:3;;;;;;;;;;;:20;;;34257:4;34264:12;:10;:12::i;:::-;34278:7;34228:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;34297:45;34334:7;34297:13;:29;34311:8;:14;;;34297:29;;;;;;;;;;;;;;;:36;;:45;;;;:::i;:::-;;34360:12;:21;34373:7;34360:21;;;;;;;;;;;;34353:28:::0;::::1;;;;;;;;;;;;;;;;;;;;;;14694:1;;33744:645:::0;:::o;13075:244::-;12352:12;:10;:12::i;:::-;12342:22;;:6;;;;;;;;;;:22;;;12334:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13184:1:::1;13164:22;;:8;:22;;;;13156:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13274:8;13245:38;;13266:6;::::0;::::1;;;;;;;;13245:38;;;;;;;;;;;;13303:8;13294:6;::::0;:17:::1;;;;;;;;;;;;;;;;;;13075:244:::0;:::o;605:106::-;658:15;693:10;686:17;;605:106;:::o;23396:137::-;23467:7;23502:22;23506:3;:10;;23518:5;23502:3;:22::i;:::-;23494:31;;23487:38;;23396:137;;;;:::o;15386:120::-;14931:7;;;;;;;;;;;14923:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15455:5:::1;15445:7:::0;::::1;:15;;;;;;;;;;;;;;;;;;15476:22;15485:12;:10;:12::i;:::-;15476:22;;;;;;;;;;;;;;;;;;;;15386:120::o:0;22473:137::-;22543:4;22567:35;22575:3;:10;;22595:5;22587:14;;22567:7;:35::i;:::-;22560:42;;22473:137;;;;:::o;22928:114::-;22988:7;23015:19;23023:3;:10;;23015:7;:19::i;:::-;23008:26;;22928:114;;;:::o;15127:118::-;14655:7;;;;;;;;;;;14654:8;14646:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15197:4:::1;15187:7;;:14;;;;;;;;;;;;;;;;;;15217:20;15224:12;:10;:12::i;:::-;15217:20;;;;;;;;;;;;;;;;;;;;15127:118::o:0;22166:131::-;22233:4;22257:32;22262:3;:10;;22282:5;22274:14;;22257:4;:32::i;:::-;22250:39;;22166:131;;;;:::o;20040:204::-;20107:7;20156:5;20135:3;:11;;:18;;;;:26;20127:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20218:3;:11;;20230:5;20218:18;;;;;;;;;;;;;;;;20211:25;;20040:204;;;;:::o;17732:1544::-;17798:4;17916:18;17937:3;:12;;:19;17950:5;17937:19;;;;;;;;;;;;17916:40;;17987:1;17973:10;:15;17969:1300;;18335:21;18372:1;18359:10;:14;18335:38;;18388:17;18429:1;18408:3;:11;;:18;;;;:22;18388:42;;18675:17;18695:3;:11;;18707:9;18695:22;;;;;;;;;;;;;;;;18675:42;;18841:9;18812:3;:11;;18824:13;18812:26;;;;;;;;;;;;;;;:38;;;;18960:1;18944:13;:17;18918:3;:12;;:23;18931:9;18918:23;;;;;;;;;;;:43;;;;19070:3;:11;;:17;;;;;;;;;;;;;;;;;;;;;;;;19165:3;:12;;:19;19178:5;19165:19;;;;;;;;;;;19158:26;;;19208:4;19201:11;;;;;;;;17969:1300;19252:5;19245:12;;;17732:1544;;;;;:::o;19577:109::-;19633:7;19660:3;:11;;:18;;;;19653:25;;19577:109;;;:::o;17142:414::-;17205:4;17227:21;17237:3;17242:5;17227:9;:21::i;:::-;17222:327;;17265:3;:11;;17282:5;17265:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17448:3;:11;;:18;;;;17426:3;:12;;:19;17439:5;17426:19;;;;;;;;;;;:40;;;;17488:4;17481:11;;;;17222:327;17532:5;17525:12;;17142:414;;;;;:::o;19362:129::-;19435:4;19482:1;19459:3;:12;;:19;19472:5;19459:19;;;;;;;;;;;;:24;;19452:31;;19362:129;;;;:::o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;:::o

Swarm Source

ipfs://29975cc9f7e1a6cd48d86bc24cacda7c37eb567e02ee92d59c724cee69f767b8
Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.