Contract 0x1737e635e7b38f6a0299517f042fba43d84f090c

 

Contract Overview

Balance:
0 BNB

BNB Value:
$0.00

Token:
Txn Hash
Block
From
To
Value [Txn Fee]
0x9ab3790570401cd4e9bfe079c14ea34664cf6dd9355d17e8e094d8b4a39ff99d82482032021-06-13 1:22:0510 mins ago0x1c8d0076978500ece8aa02a5024ac2990cedc519 IN  0x1737e635e7b38f6a0299517f042fba43d84f090c0 BNB0.00093372
0xacf9b42c52aeb12264f26c3da166830b3833790ba41be3f4875fa31fe85380f582475142021-06-13 0:46:5245 mins ago0x0a3477e6f1eccd9289986a5f35f0b0c1047f5523 IN  0x1737e635e7b38f6a0299517f042fba43d84f090c0 BNB0.00100872
0x5a4848a844114c38e95a7e1a7f79105aa8cde84cc601e90952bbd4e306ae5a7082474782021-06-13 0:45:0447 mins ago0x64c25e7c770cc442a707d97c2567fe9e598ed156 IN  0x1737e635e7b38f6a0299517f042fba43d84f090c0 BNB0.00093366
0x3c22d334fa00e3a406cd3882b20ff6364cbf285a76e2b04511a7884161715ca482471882021-06-13 0:30:341 hr 1 min ago0x2fcc7e853174c52df6d7ebeb57148a19a0e4777c IN  0x1737e635e7b38f6a0299517f042fba43d84f090c0 BNB0.00093372
0xcb76b4abdeed337b36354210c9adb195a41d76908ca709f2f7355cdb307ebb8e82471752021-06-13 0:29:551 hr 2 mins ago0xe9c9ff65e66f3354103f243404614ba9224ee83c IN  0x1737e635e7b38f6a0299517f042fba43d84f090c0 BNB0.00093372
0x4f3440454c138afbf70122abc3cd7b7db16958edb5139370ea96b1be0ee2f76882471732021-06-13 0:29:491 hr 2 mins ago0x2fcc7e853174c52df6d7ebeb57148a19a0e4777c IN  0x1737e635e7b38f6a0299517f042fba43d84f090c0 BNB0.00044489
0x415dee739e54761be5b49e6fd6e86514becce3b5006cac6cb2017a9ddd6e449382470772021-06-13 0:25:011 hr 7 mins ago0xe9c9ff65e66f3354103f243404614ba9224ee83c IN  0x1737e635e7b38f6a0299517f042fba43d84f090c0 BNB0.00044489
0xc24f8ebc68a14528556ad4b622c07740a9ea905d56a17e35bdd5791a0991d35c82469842021-06-13 0:20:221 hr 12 mins ago0xa324dd5e6361ea199b8e12093c205b043b57d6f7 IN  0x1737e635e7b38f6a0299517f042fba43d84f090c0 BNB0.00093366
0xf2817de01d866962b54ca6ade8a406d0fa890ba9222e98969efdeb482247e06482469642021-06-13 0:19:221 hr 13 mins ago0xa324dd5e6361ea199b8e12093c205b043b57d6f7 IN  0x1737e635e7b38f6a0299517f042fba43d84f090c0 BNB0.00044489
0x11d065bca92814c21a8da653cde6bffed1630e819d6b4845e1889929a88c9f1282467312021-06-13 0:07:431 hr 24 mins ago0xa6a10f7d08e67e9c6a7b6765e12f435d60ef0627 IN  0x1737e635e7b38f6a0299517f042fba43d84f090c0 BNB0.00044489
0x3297011b72dfcf034c9e34f563764f5fb712dfaa1bf1e1f4ad13b3fe211ab50882464482021-06-12 23:53:321 hr 38 mins ago0xb2b96fe901e933f10f5538309991e552a1caa4f0 IN  0x1737e635e7b38f6a0299517f042fba43d84f090c0 BNB0.00093372
0x3de58e40d24da2e38ebb548fba8187d69d429d642920a819ab06030b637344f082464382021-06-12 23:53:021 hr 39 mins ago0xb2b96fe901e933f10f5538309991e552a1caa4f0 IN  0x1737e635e7b38f6a0299517f042fba43d84f090c0 BNB0.00044489
0x34feaee8d14c92d6106362cb5345b37a18322acc05a0ddc919b3673dd0a5360a82461972021-06-12 23:40:591 hr 51 mins ago0x026f5122fde2ae7348ac8d20ff1c04088d21b91f IN  0x1737e635e7b38f6a0299517f042fba43d84f090c0 BNB0.00093372
0xa097b0ce801fc56c2a34713d010f9e677fa540e340d543d935d84331cbb8784482461362021-06-12 23:37:561 hr 54 mins ago0xb49d28fb8742b7fe7d81a25b105df854537724f5 IN  0x1737e635e7b38f6a0299517f042fba43d84f090c0 BNB0.00044489
0x0a84a978ae3ec0aa3e31da6f097444381f7ba55e12d21c459af3121e6f48854082458302021-06-12 23:22:372 hrs 9 mins ago0x6571c06f242bd4c13abe116566acc8aa30d2ebc9 IN  0x1737e635e7b38f6a0299517f042fba43d84f090c0 BNB0.00093372
0xafb2671aadace5549d8db9e3f7393ea92de9e7ed18aa8f022ddb940de2e424ef82456752021-06-12 23:14:522 hrs 17 mins ago0xfe4a7cb9c11f090b74811e8620f15cdf806b647b IN  0x1737e635e7b38f6a0299517f042fba43d84f090c0 BNB0.00093378
0xe676db4669987f932b1c80bc345c3f8a820c681983e1764e5a44c489250571f382456612021-06-12 23:14:102 hrs 18 mins ago0xa67145b021e03c29b6347ee170d30e7b4aadffea IN  0x1737e635e7b38f6a0299517f042fba43d84f090c0 BNB0.00093366
0x4a051d547561c922a98a4871dd2ce34e15ea9f898f2c555362124dfa840ad07582455292021-06-12 23:07:342 hrs 24 mins ago0xfe3db961fb4f8078ad8e366161cf673ca1716eee IN  0x1737e635e7b38f6a0299517f042fba43d84f090c0 BNB0.00093366
0xe55ebcc4e20acc6f1ea4c9ca309acf00aea35ee11276dcbb1bfbf10f484e624182455222021-06-12 23:07:132 hrs 25 mins ago0xfe3db961fb4f8078ad8e366161cf673ca1716eee IN  0x1737e635e7b38f6a0299517f042fba43d84f090c0 BNB0.00042839
0xc6eddff784198988831cc201599fce995693a65f1f60cd582fd9157cb632c7a382452882021-06-12 22:55:312 hrs 36 mins ago0xa1da06270782c99fd80de44de57e8fc3f2800e84 IN  0x1737e635e7b38f6a0299517f042fba43d84f090c0.019 BNB0.000429215
0xbb9815447378319fb07eb5b1ba6d95dbab640d4d40ca988b3ba6ad4e074f68bc82450072021-06-12 22:41:282 hrs 51 mins ago0x8a8509e60c36b7cd6c84e07aae75a099b9caeb59 IN  0x1737e635e7b38f6a0299517f042fba43d84f090c0 BNB0.00044489
0x365384b65e9ef07c0fe4a7bf6ce7d372439011d851e6f9d351d5d551c48c34fb82448572021-06-12 22:33:582 hrs 58 mins ago0xc561b08d539a7ba24617f00a1c226097743d79dc IN  0x1737e635e7b38f6a0299517f042fba43d84f090c0 BNB0.00093366
0x4c13f400a6b75eb0721f14666b693df1ef549fb363ac5456238dd95bb7581be782448472021-06-12 22:33:182 hrs 59 mins ago0xc561b08d539a7ba24617f00a1c226097743d79dc IN  0x1737e635e7b38f6a0299517f042fba43d84f090c0 BNB0.00044486
0x3f384e612dd3026780b7296e33c9be8fb769b84a747d0a8130a0697071ad978182448022021-06-12 22:30:473 hrs 1 min ago0x65a8ef21523c6432c7046dfe3cebdfdcc0b8282a IN  0x1737e635e7b38f6a0299517f042fba43d84f090c0 BNB0.00093366
0xe28de48b0f02469d3b719545b596a27fd116309c238a5a487bc2886cd8950ed882447932021-06-12 22:30:173 hrs 2 mins ago0x76057a528e34c3d50f27243de666cb956a03bbb1 IN  0x1737e635e7b38f6a0299517f042fba43d84f090c0 BNB0.00044489
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0xc6eddff784198988831cc201599fce995693a65f1f60cd582fd9157cb632c7a382452882021-06-12 22:55:312 hrs 36 mins ago 0x1737e635e7b38f6a0299517f042fba43d84f090c0x601f9e56f7fa8cea24ee886be94e42d72ff752050.019 BNB
0xc40ac9c558deca90ee65463fa0fd2d4dd8b285624e749feeef9746eeca1410b982440082021-06-12 21:49:543 hrs 42 mins ago 0x1737e635e7b38f6a0299517f042fba43d84f090c0x8146d6103beef230cebe6ee9b4bbe5d99e625adb0.02 BNB
0xaca07ed1bb9fb892156d558040e966e9f2083690a428ff1f6908d0db68b4e10282433992021-06-12 21:19:274 hrs 13 mins ago 0x1737e635e7b38f6a0299517f042fba43d84f090c0xb334494269ecd211b769bca3c0e31b4def95d0e30.025 BNB
0x236ffb8fc9432a7d0534c9036cea16568e873d48dbb6b5a163f7f8f7d5205f6a82432412021-06-12 21:10:574 hrs 21 mins ago 0x1737e635e7b38f6a0299517f042fba43d84f090c0x49cf8845207b3529b13796870b777b2e28e001e10.02 BNB
0xda9c77f1bdc9f64582662a933dea7f2a285d09c743ba3196f3ca9301c19a976982432172021-06-12 21:09:454 hrs 22 mins ago 0x1737e635e7b38f6a0299517f042fba43d84f090c0x98c078134c9f4da7b4ac23397ea196bb632fe09f0.025 BNB
0xcbab80da71cfbe2e8c4cbb32c5100792f3c8ed84dab719db331ee481002e8f3d82431852021-06-12 21:08:094 hrs 24 mins ago 0x1737e635e7b38f6a0299517f042fba43d84f090c0x166cc9cd219a8545ee21190698d8d0020a88f9a10.019 BNB
0xe9258ec4bbdecc071aff4d93eb02791f7b8c92228c0370f2bb06bf9d19200c5e82429642021-06-12 20:57:064 hrs 35 mins ago 0x1737e635e7b38f6a0299517f042fba43d84f090c0x49cf8845207b3529b13796870b777b2e28e001e10.02 BNB
0x1713fa9fa303b51d02b3ed5f8ebc7c06f5b918898fae47b5e20f3bdbf9dd418182427572021-06-12 20:46:454 hrs 45 mins ago 0x1737e635e7b38f6a0299517f042fba43d84f090c0x49cf8845207b3529b13796870b777b2e28e001e10.02 BNB
0x9b47d74e4b34f260467842aa5b4c0544226a6c7d51f932314107a80a5b01f1cf82400472021-06-12 18:30:267 hrs 2 mins ago 0x1737e635e7b38f6a0299517f042fba43d84f090c0x4482593e4d7b1bc0e4f4957b22ab0594d9dfcf9d0.00473031 BNB
0x850835225bc1d9fbcc0d2ce790e45ac08e5f7aa35e6e9fdfdaa6d5bdcb2ca5f382392592021-06-12 17:49:287 hrs 43 mins ago 0x1737e635e7b38f6a0299517f042fba43d84f090c0x081f28b2bd60c2fc827411d0c84d1baf991696440.026 BNB
0xe3e34fa86802872eb7a7580cb0cd6d52825381cdca821d25332e8dc91d9c6e0482378102021-06-12 16:36:598 hrs 55 mins ago 0x1737e635e7b38f6a0299517f042fba43d84f090c0x360eef1cd04834fef335b5a3b81a28b5861a7bbe0.02 BNB
0xb4b7e609d52d0a27ab8a147da13a19321ccd87439a070768b200df960faa072e82378002021-06-12 16:36:298 hrs 56 mins ago 0x1737e635e7b38f6a0299517f042fba43d84f090c0x01bc9a7307b1bf6209bba5f32aacea406b644c9a0.025 BNB
0xd3e8c1b595a0c0624aa0bd3fa8d96f467fd9eea66a15daa52d8da61b2f67760b82377842021-06-12 16:35:418 hrs 56 mins ago 0x1737e635e7b38f6a0299517f042fba43d84f090c0x98c078134c9f4da7b4ac23397ea196bb632fe09f0.025 BNB
0xa3066cdeec1fd2956a00b90f5aaf5f2bcb7df5ee5279b3f9a0c1ef8e714a0a4882377692021-06-12 16:34:568 hrs 57 mins ago 0x1737e635e7b38f6a0299517f042fba43d84f090c0x22504c9e8322a3655ae6abdba38ddbb208873a8f0.03 BNB
0xd008055616e48b8bac8a5473e44c7d2f97894613dc02b4b07a1eeba632db071082377642021-06-12 16:34:418 hrs 57 mins ago 0x1737e635e7b38f6a0299517f042fba43d84f090c0xec15a3452ba8f8e42c320e1a3789c2e22e2a20e40.03 BNB
0x351c10ad491ca1f2f1ab632bb4b49580c06d257c75e250d4de366b0a70007b7882377152021-06-12 16:32:149 hrs ago 0x1737e635e7b38f6a0299517f042fba43d84f090c0x6234641737ed7616c7bd26504321a2e7424e30b50.02 BNB
0x009833723876d10555a5f2a044915c1fb1731a8d90d787643f20302a8be31c0a82373182021-06-12 16:12:239 hrs 20 mins ago 0x1737e635e7b38f6a0299517f042fba43d84f090c0x1b776ac36fb990bab4712031bcf4c60b2f29f8660.0196 BNB
0x3127a7299b184de24e438e9caaea077255f6247b5081814a80d734e42979a9b382372702021-06-12 16:09:599 hrs 22 mins ago 0x1737e635e7b38f6a0299517f042fba43d84f090c0x8f9a6f1406a04c5d66e43a6f03e40df9423860ec0.03 BNB
0x7ea60a7a4995c9b6dc6af4bb1597114a1bdb780fbc1a648bcf6235e3acdc6a9a82367912021-06-12 15:46:029 hrs 46 mins ago 0x1737e635e7b38f6a0299517f042fba43d84f090c0x22ca388eabc8a33a19a945b9c4694893d80efd130.025 BNB
0x8dff013a3cdf6cf71694f1e5a58d54df423254e85884489fac4099cfa5fa24b482367252021-06-12 15:42:449 hrs 49 mins ago 0x1737e635e7b38f6a0299517f042fba43d84f090c0x606e043c7ad1210fe1ad52740bc890561e3632470.02 BNB
0x19e6df811a3247f50fe2b74b0193aefe52c1f575639caef4da1c8e6f8125c29682366762021-06-12 15:40:179 hrs 52 mins ago 0x1737e635e7b38f6a0299517f042fba43d84f090c0x5cfb76447aba790cd87c044c132dd9982e5001e60.02001 BNB
0xc4921416e611322fcf5e1198d87d96778acec66d0e9accacf3f6119f2047f6f382366462021-06-12 15:38:479 hrs 53 mins ago 0x1737e635e7b38f6a0299517f042fba43d84f090c0x854db5c41419a42967de4ec6a47c011b28b227eb0.02 BNB
0x11d7c711ee05dd9153084bf18e6c15bfebb9a213b5faca8b4c107c994e5674ed82365762021-06-12 15:35:179 hrs 57 mins ago 0x1737e635e7b38f6a0299517f042fba43d84f090c0x16cdab4d6a88259bb552d816583ea5e413a0dbcd0.02 BNB
0xb0b5ce5d2d6652d770d73a490d5022c54aa260d3941359d6401bf97f07c7875682364332021-06-12 15:28:0810 hrs 4 mins ago 0x1737e635e7b38f6a0299517f042fba43d84f090c0xfe3db961fb4f8078ad8e366161cf673ca1716eee0.025 BNB
0x64533e1483183d78bd19ed1981c42041a0ce2712ace512ca8ad3dfcd4e40926982363152021-06-12 15:22:1410 hrs 10 mins ago 0x1737e635e7b38f6a0299517f042fba43d84f090c0x0fd08d2d42ff086bf8c6d057d02d802bf217559a0.04 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 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.