Contract 0x1E6C340cA8CA0098d6883FD5DF61408770607B92 1

 

Contract Overview

Balance:
14.412930000000000008 BNB

BNB Value:
$4,523.79 (@ $313.87/BNB)
 
Txn Hash
Block
From
To
Value [Txn Fee]
0x73ed943be6e658a3b9cea99d65f03dcfdde8d31d064295cafd938ff4ac132ba894716552021-07-25 17:48:042 days 14 hrs ago0xf06022c428026612e1e397be75052f409a37b99a IN  0x1e6c340ca8ca0098d6883fd5df61408770607b920 BNB0.00019162
0xc75133e8b7985bee0bbaadd64b7c8aaab1ccd305e212052324384fdea499264374040632021-05-14 13:27:2774 days 19 hrs ago0x6f8fb6ced09b48903beae5ef0f9aa34373667519 IN  0x1e6c340ca8ca0098d6883fd5df61408770607b920 BNB0.000129735
0x1eae0ee438913f04f90ecb5dfad14af001d70132e065d688ce71d3afaf0fed1e73756202021-05-13 13:30:1875 days 19 hrs ago0x9ff21192f8a7bd002328e9d17ad77de4f57d99f7 IN  0x1e6c340ca8ca0098d6883fd5df61408770607b920 BNB0.000156875
0x68cbace65b43a3d33b0e90445e254c2ca83fc55978975fc55023e1943e5ad47573681902021-05-13 7:10:1576 days 1 hr ago0x9ff21192f8a7bd002328e9d17ad77de4f57d99f7 IN  0x1e6c340ca8ca0098d6883fd5df61408770607b920 BNB0.00031375
0x40304a348eda152528c98ec4d344d647e55b0993ccd36962891419ec8995dbe373555682021-05-12 20:27:0776 days 12 hrs ago0x9ff21192f8a7bd002328e9d17ad77de4f57d99f7 IN  0x1e6c340ca8ca0098d6883fd5df61408770607b920 BNB0.000156875
0x84c263899e1a0566c9c9be5b2996d37a19f831c5015aa2e8cd092cf95f2f288273555522021-05-12 20:26:1976 days 12 hrs ago0x9ff21192f8a7bd002328e9d17ad77de4f57d99f7 IN  0x1e6c340ca8ca0098d6883fd5df61408770607b920 BNB0.0003
0x66e67ce06a9e528b8ba5effd6817252169916fde116e770ce61870e5e8b7eb2073481602021-05-12 13:48:3476 days 18 hrs ago0xcec0828944a7431eb6f0272668ec95cbf58ff3b7 IN  0x1e6c340ca8ca0098d6883fd5df61408770607b926 BNB0.000300476
0xe1fbcf099410f6204fe8e24fdd73e757e0ec3d989d4720bc8092f848a6dbf07e73154572021-05-11 7:20:0878 days 1 hr ago0x9ff21192f8a7bd002328e9d17ad77de4f57d99f7 IN  0x1e6c340ca8ca0098d6883fd5df61408770607b920 BNB0.000117922
0x293af8ed1ad7b6ae99a2836814cd5dedd14bae29c43af400d227b1de62f6692972238672021-05-07 20:55:1381 days 11 hrs ago0x3c4afddbf3de8630c1126d4984beb91223712d77 IN  0x1e6c340ca8ca0098d6883fd5df61408770607b920 BNB0.0002141
0x5da6f1a19e9903fa7cae97b2fb686575f1e6515f935b89349a818032842f107172076732021-05-07 7:08:0382 days 1 hr ago0x07b4779504a69d20774a06d70ffb9bcf99c944f0 IN  0x1e6c340ca8ca0098d6883fd5df61408770607b920.002 BNB0.00013658
0xa11832ecd8ca3254a40056130b3293805611e084024a965a87c60ef35721f95872076572021-05-07 7:07:1582 days 1 hr ago0x07b4779504a69d20774a06d70ffb9bcf99c944f0 IN  0x1e6c340ca8ca0098d6883fd5df61408770607b920.005 BNB0.00013658
0x25fe82818bddf681dd801d997bf448355dbbe9b040336b3c9a2f5a1257bc89b171768392021-05-06 4:43:0283 days 3 hrs ago0x4ed6e20b19ad4255ec0139bda7bd5fd436f2a2f9 IN  0x1e6c340ca8ca0098d6883fd5df61408770607b920.01 BNB0.00013658
0x4d717f243774879b9d4fef13db8c60df7a35d524c1a2e94ddc942742b524a46d71768262021-05-06 4:42:2383 days 3 hrs ago0x4ed6e20b19ad4255ec0139bda7bd5fd436f2a2f9 IN  0x1e6c340ca8ca0098d6883fd5df61408770607b920.01 BNB0.00013658
0x8d129ccfad032ddac111475b9a49222336ecc1eb9accebe6f73e8a58cff9040771631442021-05-05 16:53:1783 days 15 hrs ago0x67ad55438d0e7fce83788493d191f8934411316b IN  0x1e6c340ca8ca0098d6883fd5df61408770607b920 BNB0.00014455
0x127d5d9585e18735b3263eac25f1e3cd07be90f808c8094a4c092b96d177feae71597762021-05-05 13:59:3683 days 18 hrs ago0x6b9363aac24bd4d6c349c2e7e442e9f8f36be444 IN  0x1e6c340ca8ca0098d6883fd5df61408770607b920 BNB0.0002141
0xef6374c9190fe6b1592241139941890a883c1fef5b95d8708ff7d4234b84375a71575552021-05-05 12:08:0583 days 20 hrs agoThe Lab Finance: Deployer IN  0x1e6c340ca8ca0098d6883fd5df61408770607b920 BNB0.000149405
0x388f5e4720a7646108aa8e784f7d4335a1554fc8e37611cd28f37d08880d346e71569242021-05-05 11:36:3283 days 21 hrs ago0xecac15b131de8bd23f56ae34dd68febdada375e4 IN  0x1e6c340ca8ca0098d6883fd5df61408770607b920 BNB0.00018447
0x88a12dd41ef73fde005e88e17c2ac4ac8ce3b260fb97b7758ef1ef504c4f3d2a71568892021-05-05 11:34:4783 days 21 hrs ago0xecac15b131de8bd23f56ae34dd68febdada375e4 IN  0x1e6c340ca8ca0098d6883fd5df61408770607b920 BNB0.00018447
0xd66ec569ba1801637a1b4e05fecaf2d7c37a71c11acf856b82bf3c9c1603e5bd71418562021-05-04 22:54:1984 days 9 hrs ago0x389bf2ee50545ec7838b309e7c727a007cf4301d IN  0x1e6c340ca8ca0098d6883fd5df61408770607b920.001 BNB0.000495765
0x24a64f17fb6ee6014e1606ce588b9e6da00e292638ce2df92a074ab88b810b6271412562021-05-04 22:24:1984 days 10 hrs ago0x6b9363aac24bd4d6c349c2e7e442e9f8f36be444 IN  0x1e6c340ca8ca0098d6883fd5df61408770607b920.2 BNB0.000495765
0x3636ddec7461d5706dba73f5289123fd8c5e8badcf922404c2fdd50a263cf12571385052021-05-04 20:06:4584 days 12 hrs ago0x67ad55438d0e7fce83788493d191f8934411316b IN  0x1e6c340ca8ca0098d6883fd5df61408770607b920.035499999999999 BNB0.000495765
0x8b2c2cc7aefabb978cbcf6ad61baceb88e61e7f43ee8e92e89c1030c3b264a7a71379822021-05-04 19:40:3684 days 12 hrs ago0x49e59de5dbf06ed83116afaa0570bfe13a8d5ba7 IN  0x1e6c340ca8ca0098d6883fd5df61408770607b923 BNB0.000495765
0x3b94874a9db7567954ae6433bdf00a158511670c66cb1aa9533fc3cedd5d769571362342021-05-04 18:13:1284 days 14 hrs ago0x67ad55438d0e7fce83788493d191f8934411316b IN  0x1e6c340ca8ca0098d6883fd5df61408770607b920 BNB0.0002141
0xde89eeb484c4f49b8e8fc56b44c902d6702cbcd95f62cf45176b3ca25d10d1d571353792021-05-04 17:30:2784 days 15 hrs ago0xd01e73d0003c126d66b67e2617bb2caf80fd0024 IN  0x1e6c340ca8ca0098d6883fd5df61408770607b920 BNB0.00013405
0xbb0a7f88ed804529c1e7f815b2cc81c944a87be16452008675bba3bcd88915ea71350212021-05-04 17:12:3384 days 15 hrs ago0xf6c24783a22bb9a39f6317c24f9208af9f539937 IN  0x1e6c340ca8ca0098d6883fd5df61408770607b920 BNB0.00018447
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0xc75133e8b7985bee0bbaadd64b7c8aaab1ccd305e212052324384fdea499264374040632021-05-14 13:27:2774 days 19 hrs ago 0x1e6c340ca8ca0098d6883fd5df61408770607b920x6f8fb6ced09b48903beae5ef0f9aa343736675190.5 BNB
0x293af8ed1ad7b6ae99a2836814cd5dedd14bae29c43af400d227b1de62f6692972238672021-05-07 20:55:1381 days 11 hrs ago 0x1e6c340ca8ca0098d6883fd5df61408770607b920x3c4afddbf3de8630c1126d4984beb91223712d771 BNB
0x8d129ccfad032ddac111475b9a49222336ecc1eb9accebe6f73e8a58cff9040771631442021-05-05 16:53:1783 days 15 hrs ago 0x1e6c340ca8ca0098d6883fd5df61408770607b920x67ad55438d0e7fce83788493d191f8934411316b0.035499999999999996 BNB
0x127d5d9585e18735b3263eac25f1e3cd07be90f808c8094a4c092b96d177feae71597762021-05-05 13:59:3683 days 18 hrs ago 0x1e6c340ca8ca0098d6883fd5df61408770607b920x6b9363aac24bd4d6c349c2e7e442e9f8f36be4440.2 BNB
0x388f5e4720a7646108aa8e784f7d4335a1554fc8e37611cd28f37d08880d346e71569242021-05-05 11:36:3283 days 21 hrs ago 0x1e6c340ca8ca0098d6883fd5df61408770607b920xecac15b131de8bd23f56ae34dd68febdada375e41.014 BNB
0x88a12dd41ef73fde005e88e17c2ac4ac8ce3b260fb97b7758ef1ef504c4f3d2a71568892021-05-05 11:34:4783 days 21 hrs ago 0x1e6c340ca8ca0098d6883fd5df61408770607b920xecac15b131de8bd23f56ae34dd68febdada375e43.15 BNB
0x3b94874a9db7567954ae6433bdf00a158511670c66cb1aa9533fc3cedd5d769571362342021-05-04 18:13:1284 days 14 hrs ago 0x1e6c340ca8ca0098d6883fd5df61408770607b920x67ad55438d0e7fce83788493d191f8934411316b0.025 BNB
0xde89eeb484c4f49b8e8fc56b44c902d6702cbcd95f62cf45176b3ca25d10d1d571353792021-05-04 17:30:2784 days 15 hrs ago 0x1e6c340ca8ca0098d6883fd5df61408770607b920xd01e73d0003c126d66b67e2617bb2caf80fd00240.3 BNB
0xbb0a7f88ed804529c1e7f815b2cc81c944a87be16452008675bba3bcd88915ea71350212021-05-04 17:12:3384 days 15 hrs ago 0x1e6c340ca8ca0098d6883fd5df61408770607b920xf6c24783a22bb9a39f6317c24f9208af9f5399371.01 BNB
0x369fdac20d6b71fd454e83cfaa7a3521192f4c4302a0a60a91e2282ab07cd65171342302021-05-04 16:31:4184 days 16 hrs ago 0x1e6c340ca8ca0098d6883fd5df61408770607b920xdd8ea4e7dea8d79bbc8880139059302bd46008641.25 BNB
0xb8f0b29d02d1354eb651d38e84d8c63b8605854b9bbb329cee06ea1d0a8fbcaf71338172021-05-04 16:11:0184 days 16 hrs ago 0x1e6c340ca8ca0098d6883fd5df61408770607b920xa832fb1a4c6141a2cd4b48274789281e75fbc0441.5 BNB
0xf8045bbbf50bb2e5a9c8b8ebb1da5709fdf01e235f288ddef4fc65be91657eca71336682021-05-04 16:03:3484 days 16 hrs ago 0x1e6c340ca8ca0098d6883fd5df61408770607b920x7d68971c0b0c743b5880b21aee27820f7beca02a3.5 BNB
0x7e6e0bc14510cac0fc5359a5dcc2ba5c789a8cc4c766f0a7407ef9bc37467a7371336612021-05-04 16:03:1384 days 16 hrs ago 0x1e6c340ca8ca0098d6883fd5df61408770607b92The Lab Finance: Deployer4 BNB
0x29bec984ab571b0a38c3b7471a9e3502abd54a1bdfb2eae1d2218cd559e883f471336342021-05-04 16:01:5284 days 16 hrs ago 0x1e6c340ca8ca0098d6883fd5df61408770607b920xad546dfeddcff79757f6a5f8b7b8673b862b16ec3.3 BNB
0xb1a890cce0bec389393fa625cd6b8219d24fd213e008d66c427a1ae68bfa30ca71334372021-05-04 15:52:0184 days 16 hrs ago 0x1e6c340ca8ca0098d6883fd5df61408770607b920x7d68971c0b0c743b5880b21aee27820f7beca02a1.2 BNB
0xd6300bbee15ba99ad173da17ce0e5f209995c242b26f887f747cc0cd80ce68eb71315382021-05-04 14:16:2884 days 18 hrs ago 0x1e6c340ca8ca0098d6883fd5df61408770607b920x7d68971c0b0c743b5880b21aee27820f7beca02a1 BNB
0x3c588ea2449821aa76cbeedb494ee4c5ac76db7e8b9049ad4e2300008a18037971313442021-05-04 14:06:4184 days 18 hrs ago 0x1e6c340ca8ca0098d6883fd5df61408770607b920x6f8fb6ced09b48903beae5ef0f9aa343736675190.5 BNB
0xa5474aaa1d120a07575f4867e630260e64b88a65c768aa78562d7663a39c3bcd71281982021-05-04 11:28:0584 days 21 hrs ago 0x1e6c340ca8ca0098d6883fd5df61408770607b920xbe9140c3b86799a770fec127e940a452316889a00.01 BNB
0x1dc86db31b26a53e1f72e441f3e1f91c5affc0d55eb90c9b632f42032964482f71260922021-05-04 9:42:4384 days 22 hrs ago 0x1e6c340ca8ca0098d6883fd5df61408770607b920xf6c24783a22bb9a39f6317c24f9208af9f5399371.1000000000000001 BNB
0x2440c2eebc748f316a66321878f90b74ec49f0835aee8d5e8e61c590e734d6c771101232021-05-03 20:19:0485 days 12 hrs ago 0x1e6c340ca8ca0098d6883fd5df61408770607b920x7d68971c0b0c743b5880b21aee27820f7beca02a1.5 BNB
0xa76af351e72c52820c6eb2bb53db2b63d532609809df02aa41fa5a3dd6000ddb71078762021-05-03 18:26:3285 days 14 hrs ago 0x1e6c340ca8ca0098d6883fd5df61408770607b920xecac15b131de8bd23f56ae34dd68febdada375e40.002 BNB
0xe60a4edc3616e4b87e3d90024dcb3794db1853ee0a4674a28c4e53087d2d134a71075092021-05-03 18:08:1185 days 14 hrs ago 0x1e6c340ca8ca0098d6883fd5df61408770607b920xecac15b131de8bd23f56ae34dd68febdada375e40.005 BNB
0x9d9f0527b84be7e424de0e43770557ba7d0ce83c479c0ce0628b32c4988a2a2b71027752021-05-03 14:08:1585 days 18 hrs ago 0x1e6c340ca8ca0098d6883fd5df61408770607b920x0cc720fdd93b2ef7ce005fe46fad5df6703d200c0.02 BNB
0x287f7610c4085e27b7686d6066c4bcb5a6a5f568676c7843e14b697cff5b9e2a71026612021-05-03 14:01:0285 days 18 hrs ago 0x1e6c340ca8ca0098d6883fd5df61408770607b920x1328e2cfc72f600180bc5e4e769232c9cad7d3730.05 BNB
0x2296c307253e5c331ba19d5c60d2876d37daead333ca94f68b3d3064c88ad7db71023322021-05-03 13:43:0885 days 18 hrs ago 0x1e6c340ca8ca0098d6883fd5df61408770607b92The Lab Finance: Deployer0.04 BNB
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
NFTSale

Compiler Version
v0.8.3+commit.8d00100c

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at BscScan.com on 2021-04-27
*/

// SPDX-License-Identifier: MIT

pragma solidity 0.8.3;



// Part: OpenZeppelin/[email protected]/Address

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

        uint256 size;
        // solhint-disable-next-line no-inline-assembly
        assembly { size := extcodesize(account) }
        return size > 0;
    }

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

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (bool success, ) = recipient.call{ value: amount }("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

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

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

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

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

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: value }(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

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

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

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.staticcall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

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

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

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

// Part: OpenZeppelin/[email protected]/Context

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

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

// Part: OpenZeppelin/[email protected]/IERC165

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

// Part: OpenZeppelin/[email protected]/IERC721

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

// Part: OpenZeppelin/[email protected]/Ownable

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract 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 () {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

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

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

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

// Part: OpenZeppelin/[email protected]/Pausable

/**
 * @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.
 */
abstract 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 () {
        _paused = false;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view virtual 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());
    }
}

// File: NFTSale.sol

contract NFTSale is Ownable, Pausable {
    event PriceSet(uint256 nftId, uint256 price, address by);
    event OffSale(uint256 nftId, address by);
    event Bid(uint256 nftId, uint256 price, address by);
    event BidRemoved(uint256 nftId, address by);
    event Sold(uint256 nftId, address seller, address buyer);

    IERC721 public nft;

    struct BidInfo {
        uint256 bid;
        address prev;
        address next;
    }

    struct Bids {
        mapping(address => BidInfo) bids;
        address highestBidder;
    }

    mapping(uint256 => mapping(address => uint256)) public prices;
    mapping(uint256 => Bids) public perTokenBids;

    constructor(IERC721 _nft){
        nft = _nft;
    }

    /**
     * @notice Pause new bids and sell offers creation, existing bids and offers still will be usable and cancellable
     */
    function pause() public onlyOwner {
        _pause();
    }

    /**
     * @notice Unause new bids and sell offers creation
     */
    function unpause() public onlyOwner {
        _unpause();
    }

    function putOnSale(uint256 nftId, uint256 price) public isHolder(nftId) approved(nftId) whenNotPaused() {
        require(price > 0, "NFTSale: price must be > 0, use takeOffSale function to cancel sell offers");
        prices[nftId][msg.sender] = price;
        emit PriceSet(nftId, price, msg.sender);
    }

    function takeOffSale(uint256 nftId) public isHolder(nftId) {
        _takeOffSale(nftId, msg.sender);
    }

    function buy(uint256 nftId) public payable isNotHolder(nftId) approved(nftId) {
        address payable holder = payable(nft.ownerOf(nftId));
        uint256 price = prices[nftId][holder];
        require(price != 0);
        require(msg.value == price);
        _takeOffSale(nftId, holder);
        nft.safeTransferFrom(holder, msg.sender, nftId);
        emit Sold(nftId, holder, msg.sender);
        Address.sendValue(holder, msg.value);
    }

    function bid(uint256 nftId) public payable isNotHolder(nftId) bidDoesNotExist(nftId, msg.sender) whenNotPaused() {
        require(msg.value > getHighestBid(nftId), "NFTSale: only bid higher than the current highest bid.");
        address currentHighestBidder = perTokenBids[nftId].highestBidder;
        perTokenBids[nftId].bids[currentHighestBidder].next = msg.sender;
        perTokenBids[nftId].bids[msg.sender].bid = msg.value;
        perTokenBids[nftId].bids[msg.sender].prev = currentHighestBidder;
        perTokenBids[nftId].highestBidder = msg.sender;
        emit Bid(nftId, msg.value, msg.sender);
    }

    function cancelBid(uint256 nftId) public bidExists(nftId, msg.sender) {
        uint256 value = perTokenBids[nftId].bids[msg.sender].bid;
        _cancelBid(nftId, msg.sender);
        Address.sendValue(payable(msg.sender), value);
    }

    function acceptHighestBid(uint256 nftId) public {
        acceptBid(nftId, perTokenBids[nftId].highestBidder);
    }

    function acceptBid(uint256 nftId, address by) public isHolder(nftId) bidExists(nftId, by) {
        uint256 value = perTokenBids[nftId].bids[by].bid;
        _cancelBid(nftId, by);
        nft.safeTransferFrom(msg.sender, by, nftId);
        emit Sold(nftId, msg.sender, by);
        Address.sendValue(payable(msg.sender), value);
    }

    function getHighestBid(uint256 nftId) public view returns (uint256){
        return perTokenBids[nftId].bids[perTokenBids[nftId].highestBidder].bid;
    }

    /**
     * @dev Throws if called by any account not holding this particular NFT.
     */
    modifier isHolder(uint256 nftId) {
        address holder = nft.ownerOf(nftId);
        require(holder == msg.sender);
        _;
    }

    /**
     * @dev Throws if called by any account currently holding this particular NFT.
     */
    modifier isNotHolder(uint256 nftId) {
        address holder = nft.ownerOf(nftId);
        require(holder != msg.sender);
        require(holder != address(0));
        _;
    }

    /**
     * @dev Throws if bid by a particular address for a token does not exist.
     */
    modifier bidExists(uint256 nftId, address by){
        require(perTokenBids[nftId].bids[by].bid > 0, "NFTSale: bid does not exist");
        _;
    }

    /**
     * @dev Throws if bid by a particular address for a token exists.
     */
    modifier bidDoesNotExist(uint256 nftId, address by){
        require(perTokenBids[nftId].bids[by].bid == 0, "NFTSale: bid already exists");
        _;
    }

    /**
     * @dev Throws if sale contract is not approved for this particular NFT.
     */
    modifier approved(uint256 nftId) {
        require(nft.getApproved(nftId) == address(this) || approvedForAll(nftId));
        _;
    }

    function approvedForAll(uint256 nftId) private view returns (bool){
        address holder = nft.ownerOf(nftId);
        return nft.isApprovedForAll(holder, address(this));
    }

    function isOnSale(uint256 nftId) public view returns (bool) {
        return getPrice(nftId) != 0;
    }

    function getPrice(uint256 nftId) public view returns (uint256) {
        address holder = nft.ownerOf(nftId);
        return prices[nftId][holder];
    }

    function _takeOffSale(uint256 nftId, address by) private {
        prices[nftId][msg.sender] = 0;
        emit OffSale(nftId, msg.sender);
    }

    function _cancelBid(uint256 nftId, address by) private {
        perTokenBids[nftId].bids[by].bid = 0;
        address prev = perTokenBids[nftId].bids[by].prev;
        address next = perTokenBids[nftId].bids[by].next;
        perTokenBids[nftId].bids[prev].next = next;
        perTokenBids[nftId].bids[next].prev = prev;
        if (perTokenBids[nftId].highestBidder == by) {
            perTokenBids[nftId].highestBidder = prev;
        }
        emit BidRemoved(nftId, by);
    }
}

Contract ABI

[{"inputs":[{"internalType":"contract IERC721","name":"_nft","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"nftId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"price","type":"uint256"},{"indexed":false,"internalType":"address","name":"by","type":"address"}],"name":"Bid","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"nftId","type":"uint256"},{"indexed":false,"internalType":"address","name":"by","type":"address"}],"name":"BidRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"nftId","type":"uint256"},{"indexed":false,"internalType":"address","name":"by","type":"address"}],"name":"OffSale","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"nftId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"price","type":"uint256"},{"indexed":false,"internalType":"address","name":"by","type":"address"}],"name":"PriceSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"nftId","type":"uint256"},{"indexed":false,"internalType":"address","name":"seller","type":"address"},{"indexed":false,"internalType":"address","name":"buyer","type":"address"}],"name":"Sold","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[{"internalType":"uint256","name":"nftId","type":"uint256"},{"internalType":"address","name":"by","type":"address"}],"name":"acceptBid","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"nftId","type":"uint256"}],"name":"acceptHighestBid","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"nftId","type":"uint256"}],"name":"bid","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"nftId","type":"uint256"}],"name":"buy","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"nftId","type":"uint256"}],"name":"cancelBid","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"nftId","type":"uint256"}],"name":"getHighestBid","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"nftId","type":"uint256"}],"name":"getPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"nftId","type":"uint256"}],"name":"isOnSale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nft","outputs":[{"internalType":"contract IERC721","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","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":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"perTokenBids","outputs":[{"internalType":"address","name":"highestBidder","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"","type":"address"}],"name":"prices","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"nftId","type":"uint256"},{"internalType":"uint256","name":"price","type":"uint256"}],"name":"putOnSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"nftId","type":"uint256"}],"name":"takeOffSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405234801561001057600080fd5b5060405161184338038061184383398101604081905261002f916100a2565b600080546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506000805460ff60a01b19169055600180546001600160a01b0319166001600160a01b03929092169190911790556100d0565b6000602082840312156100b3578081fd5b81516001600160a01b03811681146100c9578182fd5b9392505050565b611764806100df6000396000f3fe6080604052600436106101145760003560e01c80638456cb59116100a0578063e5dc291011610064578063e5dc291014610317578063e757223014610337578063f0f2805f14610357578063f2fde38b14610377578063fd02dac01461039757610114565b80638456cb591461025e5780638da5cb5b146102735780638f288644146102915780639703ef35146102e4578063d96a094a1461030457610114565b80633f4ba83a116100e75780633f4ba83a146101d1578063454a2ab3146101e657806347ccca02146101f95780635c975abb14610219578063715018a61461024957610114565b80630206866414610119578063274fa0d91461013b5780632c69f97c1461019157806336f7992b146101b1575b600080fd5b34801561012557600080fd5b5061013961013436600461166a565b6103cf565b005b34801561014757600080fd5b50610174610156366004611652565b6003602052600090815260409020600101546001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b34801561019d57600080fd5b506101396101ac366004611652565b6105d3565b3480156101bd57600080fd5b506101396101cc366004611699565b6105fc565b3480156101dd57600080fd5b50610139610853565b6101396101f4366004611652565b610887565b34801561020557600080fd5b50600154610174906001600160a01b031681565b34801561022557600080fd5b50610239600054600160a01b900460ff1690565b6040519015158152602001610188565b34801561025557600080fd5b50610139610b0f565b34801561026a57600080fd5b50610139610b83565b34801561027f57600080fd5b506000546001600160a01b0316610174565b34801561029d57600080fd5b506102d66102ac366004611652565b600090815260036020908152604080832060018101546001600160a01b0316845290915290205490565b604051908152602001610188565b3480156102f057600080fd5b506101396102ff366004611652565b610bb5565b610139610312366004611652565b610c56565b34801561032357600080fd5b50610139610332366004611652565b610f2d565b34801561034357600080fd5b506102d6610352366004611652565b610fd4565b34801561036357600080fd5b50610239610372366004611652565b611080565b34801561038357600080fd5b506101396103923660046115fa565b611093565b3480156103a357600080fd5b506102d66103b236600461166a565b600260209081526000928352604080842090915290825290205481565b6001546040516331a9108f60e11b81526004810184905283916000916001600160a01b0390911690636352211e9060240160206040518083038186803b15801561041857600080fd5b505afa15801561042c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104509190611616565b90506001600160a01b038116331461046757600080fd5b60008481526003602090815260408083206001600160a01b0387168452909152902054849084906104df5760405162461bcd60e51b815260206004820152601b60248201527f4e465453616c653a2062696420646f6573206e6f74206578697374000000000060448201526064015b60405180910390fd5b60008681526003602090815260408083206001600160a01b038916845290915290205461050c878761117d565b600154604051632142170760e11b81523360048201526001600160a01b038881166024830152604482018a9052909116906342842e0e90606401600060405180830381600087803b15801561056057600080fd5b505af1158015610574573d6000803e3d6000fd5b5050604080518a81523360208201526001600160a01b038a168183015290517f98318f5578cffd7b546c3388af0fdefb495b6e6f598d6ee99c6329c41533df5d9350908190036060019150a16105ca338261126c565b50505050505050565b6000818152600360205260409020600101546105f99082906001600160a01b03166103cf565b50565b6001546040516331a9108f60e11b81526004810184905283916000916001600160a01b0390911690636352211e9060240160206040518083038186803b15801561064557600080fd5b505afa158015610659573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061067d9190611616565b90506001600160a01b038116331461069457600080fd5b60015460405163020604bf60e21b815260048101869052859130916001600160a01b039091169063081812fc9060240160206040518083038186803b1580156106dc57600080fd5b505afa1580156106f0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107149190611616565b6001600160a01b0316148061072d575061072d81611385565b61073657600080fd5b610749600054600160a01b900460ff1690565b156107665760405162461bcd60e51b81526004016104d6906116ba565b600084116107ef5760405162461bcd60e51b815260206004820152604a60248201527f4e465453616c653a207072696365206d757374206265203e20302c207573652060448201527f74616b654f666653616c652066756e6374696f6e20746f2063616e63656c2073606482015269656c6c206f666665727360b01b608482015260a4016104d6565b6000858152600260209081526040808320338085529083529281902087905580518881529182018790528101919091527f6193d7cdd5d2f2d15531c07749b98d94d37389254312fe6d91c8ce05aa2a82559060600160405180910390a15050505050565b6000546001600160a01b0316331461087d5760405162461bcd60e51b81526004016104d6906116e4565b610885611492565b565b6001546040516331a9108f60e11b81526004810183905282916000916001600160a01b0390911690636352211e9060240160206040518083038186803b1580156108d057600080fd5b505afa1580156108e4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109089190611616565b90506001600160a01b03811633141561092057600080fd5b6001600160a01b03811661093357600080fd5b6000838152600360209081526040808320338085529252909120548491901561099e5760405162461bcd60e51b815260206004820152601b60248201527f4e465453616c653a2062696420616c726561647920657869737473000000000060448201526064016104d6565b6109b1600054600160a01b900460ff1690565b156109ce5760405162461bcd60e51b81526004016104d6906116ba565b600085815260036020908152604080832060018101546001600160a01b031684529091529020543411610a625760405162461bcd60e51b815260206004820152603660248201527f4e465453616c653a206f6e6c792062696420686967686572207468616e207468604482015275329031bab93932b73a103434b3b432b9ba103134b21760511b60648201526084016104d6565b6000858152600360208181526040808420600180820180546001600160a01b03168088529285528387206002018054336001600160a01b031991821681179092558189528589203480825594018054821686179055978d90529585528054909616851790955581518a8152928301949094528101919091527ffd7cfbd219ff1e7365436fb2930a026fa6704a1e0bb39ad104f0485c8c01124d9060600160405180910390a1505050505050565b6000546001600160a01b03163314610b395760405162461bcd60e51b81526004016104d6906116e4565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b03163314610bad5760405162461bcd60e51b81526004016104d6906116e4565b610885611535565b600081815260036020908152604080832033808552925290912054829190610c1f5760405162461bcd60e51b815260206004820152601b60248201527f4e465453616c653a2062696420646f6573206e6f74206578697374000000000060448201526064016104d6565b60008381526003602090815260408083203380855292529091205490610c4690859061117d565b610c50338261126c565b50505050565b6001546040516331a9108f60e11b81526004810183905282916000916001600160a01b0390911690636352211e9060240160206040518083038186803b158015610c9f57600080fd5b505afa158015610cb3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cd79190611616565b90506001600160a01b038116331415610cef57600080fd5b6001600160a01b038116610d0257600080fd5b60015460405163020604bf60e21b815260048101859052849130916001600160a01b039091169063081812fc9060240160206040518083038186803b158015610d4a57600080fd5b505afa158015610d5e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d829190611616565b6001600160a01b03161480610d9b5750610d9b81611385565b610da457600080fd5b6001546040516331a9108f60e11b8152600481018690526000916001600160a01b031690636352211e9060240160206040518083038186803b158015610de957600080fd5b505afa158015610dfd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e219190611616565b60008681526002602090815260408083206001600160a01b038516845290915290205490915080610e5157600080fd5b803414610e5d57600080fd5b610e6786836115a0565b600154604051632142170760e11b81526001600160a01b03848116600483015233602483015260448201899052909116906342842e0e90606401600060405180830381600087803b158015610ebb57600080fd5b505af1158015610ecf573d6000803e3d6000fd5b5050604080518981526001600160a01b0386166020820152338183015290517f98318f5578cffd7b546c3388af0fdefb495b6e6f598d6ee99c6329c41533df5d9350908190036060019150a1610f25823461126c565b505050505050565b6001546040516331a9108f60e11b81526004810183905282916000916001600160a01b0390911690636352211e9060240160206040518083038186803b158015610f7657600080fd5b505afa158015610f8a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fae9190611616565b90506001600160a01b0381163314610fc557600080fd5b610fcf83336115a0565b505050565b6001546040516331a9108f60e11b81526004810183905260009182916001600160a01b0390911690636352211e9060240160206040518083038186803b15801561101d57600080fd5b505afa158015611031573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110559190611616565b60008481526002602090815260408083206001600160a01b0390941683529290522054915050919050565b600061108b82610fd4565b151592915050565b6000546001600160a01b031633146110bd5760405162461bcd60e51b81526004016104d6906116e4565b6001600160a01b0381166111225760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016104d6565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b60008281526003602081815260408084206001600160a01b03868116808752828552838720878155600180820154600292830154908516808b52878b2090930180549186166001600160a01b03199283168117909155808b52968a208201805490911683179055978a9052959094529401549293909216141561122557600084815260036020526040902060010180546001600160a01b0319166001600160a01b0384161790555b604080518581526001600160a01b03851660208201527ffb280d892235c44edc6a8f273938a4f3ad3b134cc20ff8b50d5ee2e13a1d27a2910160405180910390a150505050565b804710156112bc5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e636500000060448201526064016104d6565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611309576040519150601f19603f3d011682016040523d82523d6000602084013e61130e565b606091505b5050905080610fcf5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d6179206861766520726576657274656400000000000060648201526084016104d6565b6001546040516331a9108f60e11b81526004810183905260009182916001600160a01b0390911690636352211e9060240160206040518083038186803b1580156113ce57600080fd5b505afa1580156113e2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114069190611616565b60015460405163e985e9c560e01b81526001600160a01b03808416600483015230602483015292935091169063e985e9c59060440160206040518083038186803b15801561145357600080fd5b505afa158015611467573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061148b9190611632565b9392505050565b6114a5600054600160a01b900460ff1690565b6114e85760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b60448201526064016104d6565b6000805460ff60a01b191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b611548600054600160a01b900460ff1690565b156115655760405162461bcd60e51b81526004016104d6906116ba565b6000805460ff60a01b1916600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586115183390565b600082815260026020908152604080832033808552908352818420939093558051858152918201929092527f45d3453449f580e015c65c1d0b14e186aa3b187c0150c831fc71faa5caceb6a5910160405180910390a15050565b60006020828403121561160b578081fd5b813561148b81611719565b600060208284031215611627578081fd5b815161148b81611719565b600060208284031215611643578081fd5b8151801515811461148b578182fd5b600060208284031215611663578081fd5b5035919050565b6000806040838503121561167c578081fd5b82359150602083013561168e81611719565b809150509250929050565b600080604083850312156116ab578182fd5b50508035926020909101359150565b60208082526010908201526f14185d5cd8589b194e881c185d5cd95960821b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6001600160a01b03811681146105f957600080fdfea264697066735822122030be3943e8ea59241bccf5daacd58b290d0841b7f9a50292371401741f7cbf0864736f6c634300080300330000000000000000000000005dcf363e1ee5ff6b0b988ad7932344e8a1e909a3

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

0000000000000000000000005dcf363e1ee5ff6b0b988ad7932344e8a1e909a3

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000005dcf363e1ee5ff6b0b988ad7932344e8a1e909a3


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.