Contract 0xea8683ed461ED504F08078903C2C89ee5F40A8A7 1

 
 
Txn Hash
Block
From
To
Value [Txn Fee]
0x00ad01d028fd5431b61fdf94e5fb08b8433aa0407488289a0a571c9bf256d5a193242262021-07-20 14:21:369 days 8 hrs ago0x7efcf7a7789a8d03a3273c79c27f5757f02ed752 IN  0xea8683ed461ed504f08078903c2c89ee5f40a8a70 BNB0.00053592
0xb682332fbca1f69b90d1d2b6ccdb5c55270257644c39b583e5f5b58f0508284591345362021-07-14 0:10:5115 days 23 hrs ago0xe8d0806fc923b64e6c917ee7f9f7732cd78fabcd IN  0xea8683ed461ed504f08078903c2c89ee5f40a8a70 BNB0.00120479
0x836c46edb9624fec87ca98a478254f8b6c403e8b9369b16ddd39ce258a86aa1789208392021-07-06 14:03:0023 days 9 hrs ago0xe8d0806fc923b64e6c917ee7f9f7732cd78fabcd IN  0xea8683ed461ed504f08078903c2c89ee5f40a8a70 BNB0.00053592
0xf303d95177ab6745287c33df37d242842eb556718dad3ca0c4b6cbcb5c1e310a88638432021-07-04 14:07:4625 days 9 hrs ago0x0864ef0b38b42783eadcc3295b8ea1eb771d3304 IN  0xea8683ed461ed504f08078903c2c89ee5f40a8a70 BNB0.00085833
0x359c3ca72887ddebb4ba946cdf3a63538c0d35dc81276e6dd754085db11cac9e87435522021-06-30 8:55:5229 days 14 hrs ago0xd9ea844dc1f864aa16f48ba32cbc4b33f75ef190 IN  0xea8683ed461ed504f08078903c2c89ee5f40a8a70 BNB0.00120485
0x9ba268e5c51779cd5d56f7d68d174b704a90d93b3fbc22330b20b777c54cf8f387435282021-06-30 8:54:4029 days 14 hrs ago0xeee96c4d3225129399c0600799d87543ae72421e IN  0xea8683ed461ed504f08078903c2c89ee5f40a8a70 BNB0.00112985
0x7049a180380809bd9b1669640f21c9bc7e08a4eb689a93bee4a938ac3023f12b87399852021-06-30 5:55:4529 days 17 hrs ago0xc311ec12dd1945a48253ef0600b5cea628c96437 IN  0xea8683ed461ed504f08078903c2c89ee5f40a8a70 BNB0.00053592
0xc927ad4ca5dd32a3abdc34d69e7cbe50bb4b52e5306d26a13f046686dac95dae87206872021-06-29 13:42:5530 days 9 hrs ago0x0e3adffce0f2e23e38f93a4481c21321cab21e66 IN  0xea8683ed461ed504f08078903c2c89ee5f40a8a70 BNB0.00014689
0xa7aa3ce4b572745038685b589df299cbab3561439f3c579fc0554aff2eca009a87205802021-06-29 13:37:2930 days 9 hrs ago0x0e3adffce0f2e23e38f93a4481c21321cab21e66 IN  0xea8683ed461ed504f08078903c2c89ee5f40a8a70 BNB0.00014689
0x161314178a2684a584d4a52ad69c5352d1f656e4e0138fff4d9016a13d1d944787152602021-06-29 9:10:0830 days 14 hrs ago0x0e3adffce0f2e23e38f93a4481c21321cab21e66 IN  0xea8683ed461ed504f08078903c2c89ee5f40a8a70 BNB0.00120485
0x7773e05c417d95e2681d137e03d4b6baa6db75e1949b0e759056421277e7d2d087110352021-06-29 5:37:1430 days 17 hrs ago0xfa3555bb24957d1e40fd18abc7cdfd148472aeb4 IN  0xea8683ed461ed504f08078903c2c89ee5f40a8a70 BNB0.00053595
0xe20fce33ca1fe9363205c293f8780a4920defec084a8c8482af31c53fb53ff0a85805262021-06-24 16:25:4835 days 6 hrs ago0xefa3355ddcba846c6f7b94da9ee1b2001124a670 IN  0xea8683ed461ed504f08078903c2c89ee5f40a8a70 BNB0.001686706
0xe7ae2bc1cb80489f1c6ddfdaf3734577269e9a4e4516db8ea60a02ecd0c18c0c85509272021-06-23 15:41:3136 days 7 hrs ago0x7be8af09113d5d0cb3c975dd5ff29edc3a153e33 IN  0xea8683ed461ed504f08078903c2c89ee5f40a8a70 BNB0.000234965
0xe7cd28f206b57ab276e3b6889f61dcebe18e91439b820c1c3442ddd904fbfb1385448562021-06-23 10:36:5136 days 12 hrs ago0x0bc9b26002816ff4f58a9c604f1abbce5ee78165 IN  0xea8683ed461ed504f08078903c2c89ee5f40a8a70 BNB0.0009938
0xc6775cf1f36c2b00913f655e6fd5e0736d1d19175ab1a4ee65b79d38a367cc2885366942021-06-23 3:47:1136 days 19 hrs ago0x7be8af09113d5d0cb3c975dd5ff29edc3a153e33 IN  0xea8683ed461ed504f08078903c2c89ee5f40a8a70 BNB0.00035137
0x48302865a329e8e38a12ee25b5ad839f103250e9c6d825385b91a321c6a476bb85366572021-06-23 3:45:2036 days 19 hrs ago0x7be8af09113d5d0cb3c975dd5ff29edc3a153e33 IN  0xea8683ed461ed504f08078903c2c89ee5f40a8a70 BNB0.0009938
0x2e686dcaf1ee35fcd76082f1543cf113ff8ff2ee76f5910415ed718ab466b91485217222021-06-22 15:11:4437 days 8 hrs ago0x60f4c86457c1954c0ca963dc03534c3311967beb IN  0xea8683ed461ed504f08078903c2c89ee5f40a8a70 BNB0.00049845
0x8f0b8505b9fac9b64e0f6937c64ae7d32c9b3c924c3b676f2f08f4734d9e598985217212021-06-22 15:11:4137 days 8 hrs ago0x60f4c86457c1954c0ca963dc03534c3311967beb IN  0xea8683ed461ed504f08078903c2c89ee5f40a8a70 BNB0.00051945
0x405b8bb20c9c1022b4f47b438305f29d2042829cbb4bef4c53bb9720baa9cc6a85217202021-06-22 15:11:3837 days 8 hrs ago0x60f4c86457c1954c0ca963dc03534c3311967beb IN  0xea8683ed461ed504f08078903c2c89ee5f40a8a70 BNB0.00055695
0x1b320d5bf86e37e1cf148c5b2136fe81fedbabe08234937f961c4917b2ef332084135642021-06-18 20:37:2641 days 2 hrs ago0xe5ec8e7402483a50227c53bcee8f49f8cd79f1ff IN  0xea8683ed461ed504f08078903c2c89ee5f40a8a70 BNB0.00074133
0x3158fc5d45cc7d5d034bba6f93e7a90cd04251d73e857c2ba40fe718a4d2e65a83993752021-06-18 8:43:3041 days 14 hrs ago0x1ffd13e83cc39c9c2bf2ddf11c2a81e1728bdcf3 IN  0xea8683ed461ed504f08078903c2c89ee5f40a8a70 BNB0.00053592
0x3e95d42b587d1bc47a681fe80dae43e85e83a9ff4782b138e950ac877070abcd83912502021-06-18 1:53:0641 days 21 hrs ago0x4514c2d6bfcc47a0d90dd36122bc6f46408f32e2 IN  0xea8683ed461ed504f08078903c2c89ee5f40a8a70 BNB0.00053595
0x7940360d662f7b791c8f5854417e43543e3cbfd554207e31e0b5858bfe71640183750812021-06-17 12:17:4642 days 11 hrs ago0x1a49ff345a6e7f39be722b8c920a87043657c778 IN  0xea8683ed461ed504f08078903c2c89ee5f40a8a70 BNB0.00085833
0xfba68a6d9ff86571448a7a4eb520b93b890c89432640fd380246bff0768ed66d83739602021-06-17 11:20:3942 days 11 hrs ago0x27f3d3e245b9f7741214f96e01ddf64ac9f18d09 IN  0xea8683ed461ed504f08078903c2c89ee5f40a8a70 BNB0.00120485
0xe47175d186d7ba1b4c7049dce69bdbe5f917e579406bdf119bbb3746190dd56383491242021-06-16 14:28:4043 days 8 hrs ago0xdd010bf5ebb545b7d645c66264aea3849fb454c3 IN  0xea8683ed461ed504f08078903c2c89ee5f40a8a70 BNB0.00055695
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
BidNFT

Compiler Version
v0.6.6+commit.6c089d02

Optimization Enabled:
Yes with 999999 runs

Other Settings:
istanbul EvmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at BscScan.com on 2021-03-14
*/

// File: @openzeppelin/contracts/math/SafeMath.sol

// SPDX-License-Identifier: MIT

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;
    }
}

// File: @openzeppelin/contracts/math/Math.sol

// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    /**
     * @dev Returns the largest of two numbers.
     */
    function max(uint256 a, uint256 b) internal pure returns (uint256) {
        return a >= b ? a : b;
    }

    /**
     * @dev Returns the smallest of two numbers.
     */
    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two numbers. The result is rounded towards
     * zero.
     */
    function average(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b) / 2 can overflow, so we distribute
        return (a / 2) + (b / 2) + ((a % 2 + b % 2) / 2);
    }
}

// File: @openzeppelin/contracts/GSN/Context.sol

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

// File: @openzeppelin/contracts/access/Ownable.sol

// SPDX-License-Identifier: MIT

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;
    }
}

// File: @openzeppelin/contracts/token/ERC20/IERC20.sol

// SPDX-License-Identifier: MIT

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);
}

// File: @openzeppelin/contracts/utils/Address.sol

// SPDX-License-Identifier: MIT

pragma solidity ^0.6.2;

/**
 * @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 in 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");
        return _functionCallWithValue(target, data, value, errorMessage);
    }

    function _functionCallWithValue(address target, bytes memory data, uint256 weiValue, string memory errorMessage) private returns (bytes memory) {
        require(isContract(target), "Address: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: weiValue }(data);
        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);
            }
        }
    }
}

// File: @openzeppelin/contracts/token/ERC20/SafeERC20.sol

// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;




/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    using SafeMath for uint256;
    using Address for address;

    function safeTransfer(IERC20 token, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

    /**
     * @dev Deprecated. This function has issues similar to the ones found in
     * {IERC20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    function safeApprove(IERC20 token, address spender, uint256 value) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        // solhint-disable-next-line max-line-length
        require((value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 newAllowance = token.allowance(address(this), spender).add(value);
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 newAllowance = token.allowance(address(this), spender).sub(value, "SafeERC20: decreased allowance below zero");
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that
        // the target address contains contract code and also asserts for success in the low-level call.

        bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
        if (returndata.length > 0) { // Return data is optional
            // solhint-disable-next-line max-line-length
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}

// File: @openzeppelin/contracts/introspection/IERC165.sol

// SPDX-License-Identifier: MIT

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);
}

// File: @openzeppelin/contracts/token/ERC721/IERC721.sol

// SPDX-License-Identifier: MIT

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;
}

// File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol

// SPDX-License-Identifier: MIT

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);
}

// File: @openzeppelin/contracts/token/ERC721/ERC721Holder.sol

// SPDX-License-Identifier: MIT

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;
    }
}

// File: @openzeppelin/contracts/utils/Pausable.sol

// SPDX-License-Identifier: MIT

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());
    }
}

// File: @openzeppelin/contracts/utils/EnumerableSet.sol

// SPDX-License-Identifier: MIT

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));
    }
}

// File: contracts/libraries/EnumerableMap.sol

// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0;

/**
 * https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/EnumerableMap.sol
 */
library EnumerableMap {
    struct MapEntry {
        uint256 _key;
        uint256 _value;
    }

    struct Map {
        // Storage of map keys and values
        MapEntry[] _entries;
        // Position of the entry defined by a key in the `entries` array, plus 1
        // because index 0 means a key is not in the map.
        mapping(uint256 => uint256) _indexes;
    }

    /**
     * @dev Adds a key-value pair to a map, or updates the value for an existing
     * key. O(1).
     *
     * Returns true if the key was added to the map, that is if it was not
     * already present.
     */
    function _set(
        Map storage map,
        uint256 key,
        uint256 value
    ) private returns (bool) {
        // We read and store the key's index to prevent multiple reads from the same storage slot
        uint256 keyIndex = map._indexes[key];

        if (keyIndex == 0) {
            // Equivalent to !contains(map, key)
            map._entries.push(MapEntry({_key: key, _value: value}));
            // The entry is stored at length-1, but we add 1 to all indexes
            // and use 0 as a sentinel value
            map._indexes[key] = map._entries.length;
            return true;
        } else {
            map._entries[keyIndex - 1]._value = value;
            return false;
        }
    }

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

        if (keyIndex != 0) {
            // Equivalent to contains(map, key)
            // To delete a key-value pair from the _entries array in O(1), we swap the entry to delete with the last one
            // in the array, and then remove the last entry (sometimes called as 'swap and pop').
            // This modifies the order of the array, as noted in {at}.

            uint256 toDeleteIndex = keyIndex - 1;
            uint256 lastIndex = map._entries.length - 1;

            // When the entry 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.

            MapEntry storage lastEntry = map._entries[lastIndex];

            // Move the last entry to the index where the entry to delete is
            map._entries[toDeleteIndex] = lastEntry;
            // Update the index for the moved entry
            map._indexes[lastEntry._key] = toDeleteIndex + 1; // All indexes are 1-based

            // Delete the slot where the moved entry was stored
            map._entries.pop();

            // Delete the index for the deleted slot
            delete map._indexes[key];

            return true;
        } else {
            return false;
        }
    }

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

    /**
     * @dev Returns the number of key-value pairs in the map. O(1).
     */
    function _length(Map storage map) private view returns (uint256) {
        return map._entries.length;
    }

    /**
     * @dev Returns the key-value pair stored at position `index` in the map. O(1).
     *
     * Note that there are no guarantees on the ordering of entries inside the
     * array, and it may change when more entries are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function _at(Map storage map, uint256 index) private view returns (uint256, uint256) {
        require(map._entries.length > index, 'EnumerableMap: index out of bounds');

        MapEntry storage entry = map._entries[index];
        return (entry._key, entry._value);
    }

    /**
     * @dev Returns the value associated with `key`.  O(1).
     *
     * Requirements:
     *
     * - `key` must be in the map.
     */
    function _get(Map storage map, uint256 key) private view returns (uint256) {
        return _get(map, key, 'EnumerableMap: nonexistent key');
    }

    /**
     * @dev Same as {_get}, with a custom error message when `key` is not in the map.
     */
    function _get(
        Map storage map,
        uint256 key,
        string memory errorMessage
    ) private view returns (uint256) {
        uint256 keyIndex = map._indexes[key];
        require(keyIndex != 0, errorMessage); // Equivalent to contains(map, key)
        return map._entries[keyIndex - 1]._value; // All indexes are 1-based
    }

    // UintToUintMap

    struct UintToUintMap {
        Map _inner;
    }

    /**
     * @dev Adds a key-value pair to a map, or updates the value for an existing
     * key. O(1).
     *
     * Returns true if the key was added to the map, that is if it was not
     * already present.
     */
    function set(
        UintToUintMap storage map,
        uint256 key,
        uint256 value
    ) internal returns (bool) {
        return _set(map._inner, key, value);
    }

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

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

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

    /**
     * @dev Returns the element 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(UintToUintMap storage map, uint256 index) internal view returns (uint256, uint256) {
        return _at(map._inner, index);
    }

    /**
     * @dev Returns the value associated with `key`.  O(1).
     *
     * Requirements:
     *
     * - `key` must be in the map.
     */
    function get(UintToUintMap storage map, uint256 key) internal view returns (uint256) {
        return _get(map._inner, key);
    }

    /**
     * @dev Same as {get}, with a custom error message when `key` is not in the map.
     */
    function get(
        UintToUintMap storage map,
        uint256 key,
        string memory errorMessage
    ) internal view returns (uint256) {
        return _get(map._inner, key, errorMessage);
    }
}

// File: contracts/interfaces/IBidNFT.sol

pragma solidity >=0.6.2;

interface IBidNFT {
    function buyToken(uint256 _tokenId) external;

    function buyTokenTo(uint256 _tokenId, address _to) external;

    function setCurrentPrice(uint256 _tokenId, uint256 _price) external;

    function readyToSellToken(uint256 _tokenId, uint256 _price) external;

    function readyToSellTokenTo(
        uint256 _tokenId,
        uint256 _price,
        address _to
    ) external;

    function cancelSellToken(uint256 _tokenId) external;

    function bidToken(uint256 _tokenId, uint256 _price) external;

    function updateBidPrice(uint256 _tokenId, uint256 _price) external;

    function sellTokenTo(uint256 _tokenId, address _to) external;

    function cancelBidToken(uint256 _tokenId) external;
}

// File: contracts/BidNFT.sol

pragma solidity =0.6.6;
pragma experimental ABIEncoderV2;












contract BidNFT is IBidNFT, ERC721Holder, Ownable, Pausable {
    using SafeMath for uint256;
    using SafeERC20 for IERC20;
    using Address for address;
    using EnumerableMap for EnumerableMap.UintToUintMap;
    using EnumerableSet for EnumerableSet.UintSet;

    struct AskEntry {
        uint256 tokenId;
        uint256 price;
    }

    struct BidEntry {
        address bidder;
        uint256 price;
    }

    struct UserBidEntry {
        uint256 tokenId;
        uint256 price;
    }

    IERC721 public nft;
    IERC20 public quoteErc20;
    address public feeAddr;
    uint256 public feePercent;
    EnumerableMap.UintToUintMap private _asksMap;
    mapping(uint256 => address) public tokenSellers;
    mapping(address => EnumerableSet.UintSet) private _userSellingTokens;
    mapping(uint256 => BidEntry[]) private _tokenBids;
    mapping(address => EnumerableMap.UintToUintMap) private _userBids;

    event Trade(address indexed seller, address indexed buyer, uint256 indexed tokenId, uint256 price, uint256 fee);
    event Ask(address indexed seller, uint256 indexed tokenId, uint256 price);
    event CancelSellToken(address indexed seller, uint256 indexed tokenId);
    event FeeAddressTransferred(address indexed previousOwner, address indexed newOwner);
    event SetFeePercent(address indexed seller, uint256 oldFeePercent, uint256 newFeePercent);
    event Bid(address indexed bidder, uint256 indexed tokenId, uint256 price);
    event CancelBidToken(address indexed bidder, uint256 indexed tokenId);

    constructor(
        address _nftAddress,
        address _quoteErc20Address,
        address _feeAddr,
        uint256 _feePercent
    ) public {
        require(_nftAddress != address(0) && _nftAddress != address(this));
        require(_quoteErc20Address != address(0) && _quoteErc20Address != address(this));
        nft = IERC721(_nftAddress);
        quoteErc20 = IERC20(_quoteErc20Address);
        feeAddr = _feeAddr;
        feePercent = _feePercent;
        emit FeeAddressTransferred(address(0), feeAddr);
        emit SetFeePercent(_msgSender(), 0, feePercent);
    }

    function buyToken(uint256 _tokenId) public override whenNotPaused {
        buyTokenTo(_tokenId, _msgSender());
    }

    function buyTokenTo(uint256 _tokenId, address _to) public override whenNotPaused {
        require(_msgSender() != address(0) && _msgSender() != address(this), 'Wrong msg sender');
        require(_asksMap.contains(_tokenId), 'Token not in sell book');
        require(!_userBids[_msgSender()].contains(_tokenId), 'You must cancel your bid first');
        nft.safeTransferFrom(address(this), _to, _tokenId);
        uint256 price = _asksMap.get(_tokenId);
        uint256 feeAmount = price.mul(feePercent).div(100);
        if (feeAmount != 0) {
            quoteErc20.safeTransferFrom(_msgSender(), feeAddr, feeAmount);
        }
        quoteErc20.safeTransferFrom(_msgSender(), tokenSellers[_tokenId], price.sub(feeAmount));
        _asksMap.remove(_tokenId);
        _userSellingTokens[tokenSellers[_tokenId]].remove(_tokenId);
        emit Trade(tokenSellers[_tokenId], _to, _tokenId, price, feeAmount);
        delete tokenSellers[_tokenId];
    }

    function setCurrentPrice(uint256 _tokenId, uint256 _price) public override whenNotPaused {
        require(_userSellingTokens[_msgSender()].contains(_tokenId), 'Only Seller can update price');
        require(_price != 0, 'Price must be granter than zero');
        _asksMap.set(_tokenId, _price);
        emit Ask(_msgSender(), _tokenId, _price);
    }

    function readyToSellToken(uint256 _tokenId, uint256 _price) public override whenNotPaused {
        readyToSellTokenTo(_tokenId, _price, address(_msgSender()));
    }

    function readyToSellTokenTo(
        uint256 _tokenId,
        uint256 _price,
        address _to
    ) public override whenNotPaused {
        require(_msgSender() == nft.ownerOf(_tokenId), 'Only Token Owner can sell token');
        require(_price != 0, 'Price must be granter than zero');
        nft.safeTransferFrom(address(_msgSender()), address(this), _tokenId);
        _asksMap.set(_tokenId, _price);
        tokenSellers[_tokenId] = _to;
        _userSellingTokens[_to].add(_tokenId);
        emit Ask(_to, _tokenId, _price);
    }

    function cancelSellToken(uint256 _tokenId) public override whenNotPaused {
        require(_userSellingTokens[_msgSender()].contains(_tokenId), 'Only Seller can cancel sell token');
        nft.safeTransferFrom(address(this), _msgSender(), _tokenId);
        _asksMap.remove(_tokenId);
        _userSellingTokens[tokenSellers[_tokenId]].remove(_tokenId);
        delete tokenSellers[_tokenId];
        emit CancelSellToken(_msgSender(), _tokenId);
    }

    function getAskLength() public view returns (uint256) {
        return _asksMap.length();
    }

    function getAsks() public view returns (AskEntry[] memory) {
        AskEntry[] memory asks = new AskEntry[](_asksMap.length());
        for (uint256 i = 0; i < _asksMap.length(); ++i) {
            (uint256 tokenId, uint256 price) = _asksMap.at(i);
            asks[i] = AskEntry({tokenId: tokenId, price: price});
        }
        return asks;
    }

    function getAsksDesc() public view returns (AskEntry[] memory) {
        AskEntry[] memory asks = new AskEntry[](_asksMap.length());
        if (_asksMap.length() > 0) {
            for (uint256 i = _asksMap.length() - 1; i > 0; --i) {
                (uint256 tokenId, uint256 price) = _asksMap.at(i);
                asks[_asksMap.length() - 1 - i] = AskEntry({tokenId: tokenId, price: price});
            }
            (uint256 tokenId, uint256 price) = _asksMap.at(0);
            asks[_asksMap.length() - 1] = AskEntry({tokenId: tokenId, price: price});
        }
        return asks;
    }

    function getAsksByPage(uint256 page, uint256 size) public view returns (AskEntry[] memory) {
        if (_asksMap.length() > 0) {
            uint256 from = page == 0 ? 0 : (page - 1) * size;
            uint256 to = Math.min((page == 0 ? 1 : page) * size, _asksMap.length());
            AskEntry[] memory asks = new AskEntry[]((to - from));
            for (uint256 i = 0; from < to; ++i) {
                (uint256 tokenId, uint256 price) = _asksMap.at(from);
                asks[i] = AskEntry({tokenId: tokenId, price: price});
                ++from;
            }
            return asks;
        } else {
            return new AskEntry[](0);
        }
    }

    function getAsksByPageDesc(uint256 page, uint256 size) public view returns (AskEntry[] memory) {
        if (_asksMap.length() > 0) {
            uint256 from = _asksMap.length() - 1 - (page == 0 ? 0 : (page - 1) * size);
            uint256 to = _asksMap.length() - 1 - Math.min((page == 0 ? 1 : page) * size - 1, _asksMap.length() - 1);
            uint256 resultSize = from - to + 1;
            AskEntry[] memory asks = new AskEntry[](resultSize);
            if (to == 0) {
                for (uint256 i = 0; from > to; ++i) {
                    (uint256 tokenId, uint256 price) = _asksMap.at(from);
                    asks[i] = AskEntry({tokenId: tokenId, price: price});
                    --from;
                }
                (uint256 tokenId, uint256 price) = _asksMap.at(0);
                asks[resultSize - 1] = AskEntry({tokenId: tokenId, price: price});
            } else {
                for (uint256 i = 0; from >= to; ++i) {
                    (uint256 tokenId, uint256 price) = _asksMap.at(from);
                    asks[i] = AskEntry({tokenId: tokenId, price: price});
                    --from;
                }
            }
            return asks;
        }
        return new AskEntry[](0);
    }

    function getAsksByUser(address user) public view returns (AskEntry[] memory) {
        AskEntry[] memory asks = new AskEntry[](_userSellingTokens[user].length());
        for (uint256 i = 0; i < _userSellingTokens[user].length(); ++i) {
            uint256 tokenId = _userSellingTokens[user].at(i);
            uint256 price = _asksMap.get(tokenId);
            asks[i] = AskEntry({tokenId: tokenId, price: price});
        }
        return asks;
    }

    function getAsksByUserDesc(address user) public view returns (AskEntry[] memory) {
        AskEntry[] memory asks = new AskEntry[](_userSellingTokens[user].length());
        if (_userSellingTokens[user].length() > 0) {
            for (uint256 i = _userSellingTokens[user].length() - 1; i > 0; --i) {
                uint256 tokenId = _userSellingTokens[user].at(i);
                uint256 price = _asksMap.get(tokenId);
                asks[_userSellingTokens[user].length() - 1 - i] = AskEntry({tokenId: tokenId, price: price});
            }
            uint256 tokenId = _userSellingTokens[user].at(0);
            uint256 price = _asksMap.get(tokenId);
            asks[_userSellingTokens[user].length() - 1] = AskEntry({tokenId: tokenId, price: price});
        }
        return asks;
    }

    function pause() public onlyOwner whenNotPaused {
        _pause();
    }

    function unpause() public onlyOwner whenPaused {
        _unpause();
    }

    function transferFeeAddress(address _feeAddr) public {
        require(_msgSender() == feeAddr, 'FORBIDDEN');
        feeAddr = _feeAddr;
        emit FeeAddressTransferred(_msgSender(), feeAddr);
    }

    function setFeePercent(uint256 _feePercent) public onlyOwner {
        require(feePercent != _feePercent, 'Not need update');
        emit SetFeePercent(_msgSender(), feePercent, _feePercent);
        feePercent = _feePercent;
    }

    function bidToken(uint256 _tokenId, uint256 _price) public override whenNotPaused {
        require(_msgSender() != address(0) && _msgSender() != address(this), 'Wrong msg sender');
        require(_price != 0, 'Price must be granter than zero');
        require(_asksMap.contains(_tokenId), 'Token not in sell book');
        address _seller = tokenSellers[_tokenId];
        address _to = address(_msgSender());
        require(_seller != _to, 'Owner cannot bid');
        require(!_userBids[_to].contains(_tokenId), 'Bidder already exists');
        quoteErc20.safeTransferFrom(address(_msgSender()), address(this), _price);
        _userBids[_to].set(_tokenId, _price);
        _tokenBids[_tokenId].push(BidEntry({bidder: _to, price: _price}));
        emit Bid(_msgSender(), _tokenId, _price);
    }

    function updateBidPrice(uint256 _tokenId, uint256 _price) public override whenNotPaused {
        require(_userBids[_msgSender()].contains(_tokenId), 'Only Bidder can update the bid price');
        require(_price != 0, 'Price must be granter than zero');
        address _to = address(_msgSender()); // find  bid and the index
        (BidEntry memory bidEntry, uint256 _index) = getBidByTokenIdAndAddress(_tokenId, _to);
        require(bidEntry.price != 0, 'Bidder does not exist');
        require(bidEntry.price != _price, 'The bid price cannot be the same');
        if (_price > bidEntry.price) {
            quoteErc20.safeTransferFrom(address(_msgSender()), address(this), _price - bidEntry.price);
        } else {
            quoteErc20.transfer(_to, bidEntry.price - _price);
        }
        _userBids[_to].set(_tokenId, _price);
        _tokenBids[_tokenId][_index] = BidEntry({bidder: _to, price: _price});
        emit Bid(_msgSender(), _tokenId, _price);
    }

    function getBidByTokenIdAndAddress(uint256 _tokenId, address _address)
        private
        view
        returns (BidEntry memory, uint256)
    {
        // find the index of the bid
        BidEntry[] memory bidEntries = _tokenBids[_tokenId];
        uint256 len = bidEntries.length;
        uint256 _index;
        BidEntry memory bidEntry;
        for (uint256 i = 0; i < len; i++) {
            if (_address == bidEntries[i].bidder) {
                _index = i;
                bidEntry = BidEntry({bidder: bidEntries[i].bidder, price: bidEntries[i].price});
                break;
            }
        }
        return (bidEntry, _index);
    }

    function delBidByTokenIdAndIndex(uint256 _tokenId, uint256 _index) private {
        _userBids[_tokenBids[_tokenId][_index].bidder].remove(_tokenId);
        // delete the bid
        uint256 len = _tokenBids[_tokenId].length;
        for (uint256 i = _index; i < len - 1; i++) {
            _tokenBids[_tokenId][i] = _tokenBids[_tokenId][i + 1];
        }
        _tokenBids[_tokenId].pop();
    }

    function sellTokenTo(uint256 _tokenId, address _to) public override whenNotPaused {
        require(_asksMap.contains(_tokenId), 'Token not in sell book');
        address _seller = tokenSellers[_tokenId];
        address _owner = address(_msgSender());
        require(_seller == _owner, 'Only owner can sell token');
        // find  bid and the index
        (BidEntry memory bidEntry, uint256 _index) = getBidByTokenIdAndAddress(_tokenId, _to);
        require(bidEntry.price != 0, 'Bidder does not exist');
        // transfer token to bidder
        nft.safeTransferFrom(address(this), _to, _tokenId);
        uint256 price = bidEntry.price;
        uint256 feeAmount = price.mul(feePercent).div(100);
        if (feeAmount != 0) {
            quoteErc20.transfer(feeAddr, feeAmount);
        }
        quoteErc20.transfer(_seller, price.sub(feeAmount));
        _asksMap.remove(_tokenId);
        _userSellingTokens[tokenSellers[_tokenId]].remove(_tokenId);
        delBidByTokenIdAndIndex(_tokenId, _index);
        emit Trade(tokenSellers[_tokenId], _to, _tokenId, price, feeAmount);
        delete tokenSellers[_tokenId];
    }

    function cancelBidToken(uint256 _tokenId) public override whenNotPaused {
        require(_userBids[_msgSender()].contains(_tokenId), 'Only Bidder can cancel the bid');
        address _address = address(_msgSender());
        // find  bid and the index
        (BidEntry memory bidEntry, uint256 _index) = getBidByTokenIdAndAddress(_tokenId, _address);
        require(bidEntry.price != 0, 'Bidder does not exist');
        quoteErc20.transfer(_address, bidEntry.price);
        delBidByTokenIdAndIndex(_tokenId, _index);
        emit CancelBidToken(_msgSender(), _tokenId);
    }

    function getBidsLength(uint256 _tokenId) public view returns (uint256) {
        return _tokenBids[_tokenId].length;
    }

    function getBids(uint256 _tokenId) public view returns (BidEntry[] memory) {
        return _tokenBids[_tokenId];
    }

    function getUserBids(address user) public view returns (UserBidEntry[] memory) {
        uint256 len = _userBids[user].length();
        UserBidEntry[] memory bids = new UserBidEntry[](len);
        for (uint256 i = 0; i < len; i++) {
            (uint256 tokenId, uint256 price) = _userBids[user].at(i);
            bids[i] = UserBidEntry({tokenId: tokenId, price: price});
        }
        return bids;
    }
}

Contract ABI

[{"inputs":[{"internalType":"address","name":"_nftAddress","type":"address"},{"internalType":"address","name":"_quoteErc20Address","type":"address"},{"internalType":"address","name":"_feeAddr","type":"address"},{"internalType":"uint256","name":"_feePercent","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"seller","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"price","type":"uint256"}],"name":"Ask","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"bidder","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"price","type":"uint256"}],"name":"Bid","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"bidder","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"CancelBidToken","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"seller","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"CancelSellToken","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"FeeAddressTransferred","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":true,"internalType":"address","name":"seller","type":"address"},{"indexed":false,"internalType":"uint256","name":"oldFeePercent","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newFeePercent","type":"uint256"}],"name":"SetFeePercent","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"seller","type":"address"},{"indexed":true,"internalType":"address","name":"buyer","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"price","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"fee","type":"uint256"}],"name":"Trade","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"bidToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"buyToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"address","name":"_to","type":"address"}],"name":"buyTokenTo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"cancelBidToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"cancelSellToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"feeAddr","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feePercent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getAskLength","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getAsks","outputs":[{"components":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"price","type":"uint256"}],"internalType":"struct BidNFT.AskEntry[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"page","type":"uint256"},{"internalType":"uint256","name":"size","type":"uint256"}],"name":"getAsksByPage","outputs":[{"components":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"price","type":"uint256"}],"internalType":"struct BidNFT.AskEntry[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"page","type":"uint256"},{"internalType":"uint256","name":"size","type":"uint256"}],"name":"getAsksByPageDesc","outputs":[{"components":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"price","type":"uint256"}],"internalType":"struct BidNFT.AskEntry[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"getAsksByUser","outputs":[{"components":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"price","type":"uint256"}],"internalType":"struct BidNFT.AskEntry[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"getAsksByUserDesc","outputs":[{"components":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"price","type":"uint256"}],"internalType":"struct BidNFT.AskEntry[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getAsksDesc","outputs":[{"components":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"price","type":"uint256"}],"internalType":"struct BidNFT.AskEntry[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"getBids","outputs":[{"components":[{"internalType":"address","name":"bidder","type":"address"},{"internalType":"uint256","name":"price","type":"uint256"}],"internalType":"struct BidNFT.BidEntry[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"getBidsLength","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"getUserBids","outputs":[{"components":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"price","type":"uint256"}],"internalType":"struct BidNFT.UserBidEntry[]","name":"","type":"tuple[]"}],"stateMutability":"view","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":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"quoteErc20","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"readyToSellToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_price","type":"uint256"},{"internalType":"address","name":"_to","type":"address"}],"name":"readyToSellTokenTo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"address","name":"_to","type":"address"}],"name":"sellTokenTo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setCurrentPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_feePercent","type":"uint256"}],"name":"setFeePercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokenSellers","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_feeAddr","type":"address"}],"name":"transferFeeAddress","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"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"updateBidPrice","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b5060405162004a5738038062004a578339810160408190526200003491620001ee565b6000620000496001600160e01b03620001cc16565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506000805460ff60a01b191690556001600160a01b03841615801590620000c257506001600160a01b0384163014155b620000cc57600080fd5b6001600160a01b03831615801590620000ee57506001600160a01b0383163014155b620000f857600080fd5b600180546001600160a01b038087166001600160a01b03199283161790925560028054868416908316179055600380548584169216919091179081905560048390556040519116906000907f1624470338902bc4f7d3d1e5fed6b70c92e686b853bfba7b65d0cef9cc6b5eea908290a36200017b6001600160e01b03620001cc16565b6001600160a01b03167f90b1b68b65dc522b257ebeec41fa0849fe1892d4e6812beeb5e31b5a0f8c26ad6000600454604051620001ba92919062000242565b60405180910390a25050505062000250565b3390565b80516001600160a01b0381168114620001e857600080fd5b92915050565b6000806000806080858703121562000204578384fd5b620002108686620001d0565b9350620002218660208701620001d0565b9250620002328660408701620001d0565b6060959095015193969295505050565b918252602082015260400190565b6147f780620002606000396000f3fe608060405234801561001057600080fd5b50600436106102265760003560e01c8063715018a61161012a5780639d1f3d5e116100bd578063bb39694b1161008c578063c5a55e8111610071578063c5a55e811461045a578063f2fde38b1461046d578063f903af201461048057610226565b8063bb39694b14610434578063c0838afd1461044757610226565b80639d1f3d5e146103e8578063a879537f146103fb578063ab87d98f1461040e578063b84eb76a1461042157610226565b80638456cb59116100f95780638456cb59146103bd57806386fcc629146103c55780638da5cb5b146103d85780638fd60ea5146103e057610226565b8063715018a614610387578063789068b71461038f5780637ce3489b146103a25780637fd6f15c146103b557610226565b806339e7fddc116101bd5780635c975abb1161018c5780636759789f116101715780636759789f1461034a578063695cb4851461036a5780636bb518031461037f57610226565b80635c975abb146103225780635fb2f1af1461033757610226565b806339e7fddc146102f75780633f4ba83a146102ff57806347ccca0214610307578063523a57cf1461030f57610226565b8063170d542c116101f9578063170d542c146102a9578063171fe618146102be5780632d296bf1146102d157806331146d57146102e457610226565b8063087a37781461022b5780630c36edb914610240578063131d9a2714610269578063150b7a0214610289575b600080fd5b61023e610239366004613eae565b610493565b005b61025361024e366004613d08565b610781565b6040516102609190613f89565b60405180910390f35b61027c610277366004613e46565b610a2f565b6040516102609190613fd6565b61029c610297366004613d40565b610ac4565b6040516102609190614079565b6102b1610aee565b6040516102609190613f11565b61023e6102cc366004613e8d565b610b0a565b61023e6102df366004613e46565b610ee9565b6102b16102f2366004613e46565b610f4d565b6102b1610f75565b61023e610f91565b6102b161104b565b61023e61031d366004613e8d565b611067565b61032a6110cd565b604051610260919061406e565b61023e610345366004613d08565b6110ee565b61035d610358366004613d08565b6111f0565b604051610260919061402e565b6103726112fe565b604051610260919061475c565b61025361130f565b61023e6113d7565b61023e61039d366004613e8d565b6114a2565b61023e6103b0366004613e46565b6115e1565b6103726116d7565b61023e6116dd565b6103726103d3366004613e46565b611796565b6102b16117a8565b6102536117c4565b61023e6103f6366004613e46565b611921565b610253610409366004613e8d565b611b29565b61023e61041c366004613e5e565b611d8e565b61023e61042f366004613e46565b61222d565b61023e610442366004613e8d565b612419565b61023e610455366004613e5e565b6127ba565b610253610468366004613e8d565b612b7a565b61023e61047b366004613d08565b612cc6565b61025361048e366004613d08565b612dfc565b60005474010000000000000000000000000000000000000000900460ff16156104f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104e89061438d565b60405180910390fd5b6001546040517f6352211e00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff90911690636352211e9061054790869060040161475c565b60206040518083038186803b15801561055f57600080fd5b505afa158015610573573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105979190613d24565b73ffffffffffffffffffffffffffffffffffffffff166105b5612f43565b73ffffffffffffffffffffffffffffffffffffffff1614610602576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104e8906143c4565b81610639576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104e89061431f565b60015473ffffffffffffffffffffffffffffffffffffffff166342842e0e61065f612f43565b30866040518463ffffffff1660e01b815260040161067f93929190613f32565b600060405180830381600087803b15801561069957600080fd5b505af11580156106ad573d6000803e3d6000fd5b506106c69250600591508590508463ffffffff612f4716565b50600083815260076020908152604080832080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff861690811790915583526008909152902061072c9084612f5e565b50828173ffffffffffffffffffffffffffffffffffffffff167ff200b09dd7c67aa57db7b904692130ffededf03e80a5f2105605d50c0c187d6984604051610774919061475c565b60405180910390a3505050565b73ffffffffffffffffffffffffffffffffffffffff8116600090815260086020526040902060609081906107b490612f6a565b67ffffffffffffffff811180156107ca57600080fd5b5060405190808252806020026020018201604052801561080457816020015b6107f1613cd7565b8152602001906001900390816107e95790505b5073ffffffffffffffffffffffffffffffffffffffff841660009081526008602052604081209192509061083790612f6a565b1115610a295773ffffffffffffffffffffffffffffffffffffffff8316600090815260086020526040812060019061086e90612f6a565b0390505b80156109645773ffffffffffffffffffffffffffffffffffffffff841660009081526008602052604081206108ad908363ffffffff612f7516565b905060006108c260058363ffffffff612f8116565b905060405180604001604052808381526020018281525084846001610924600860008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020612f6a565b03038151811061093057fe5b602090810291909101015250507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff01610872565b5073ffffffffffffffffffffffffffffffffffffffff8316600090815260086020526040812061099a908263ffffffff612f7516565b905060006109af60058363ffffffff612f8116565b9050604051806040016040528083815260200182815250836001610a10600860008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020612f6a565b0381518110610a1b57fe5b602002602001018190525050505b92915050565b606060096000838152602001908152602001600020805480602002602001604051908101604052809291908181526020016000905b82821015610ab95760008481526020908190206040805180820190915260028502909101805473ffffffffffffffffffffffffffffffffffffffff168252600190810154828401529083529092019101610a64565b505050509050919050565b7f150b7a02000000000000000000000000000000000000000000000000000000005b949350505050565b60025473ffffffffffffffffffffffffffffffffffffffff1681565b60005474010000000000000000000000000000000000000000900460ff1615610b5f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104e89061438d565b610ba182600a6000610b6f612f43565b73ffffffffffffffffffffffffffffffffffffffff16815260208101919091526040016000209063ffffffff612f8d16565b610bd7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104e8906145fd565b80610c0e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104e89061431f565b6000610c18612f43565b9050610c22613cf1565b6000610c2e8584612f99565b91509150816020015160001415610c71576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104e89061455a565b8382602001511415610caf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104e89061418b565b8160200151841115610cfa57610cf5610cc6612f43565b602084015160025473ffffffffffffffffffffffffffffffffffffffff1691903090880363ffffffff61310416565b610dad565b60025460208301516040517fa9059cbb00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9092169163a9059cbb91610d5991879189900390600401613f63565b602060405180830381600087803b158015610d7357600080fd5b505af1158015610d87573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dab9190613e26565b505b73ffffffffffffffffffffffffffffffffffffffff83166000908152600a60205260409020610de390868663ffffffff612f4716565b5060405180604001604052808473ffffffffffffffffffffffffffffffffffffffff16815260200185815250600960008781526020019081526020016000208281548110610e2d57fe5b600091825260209182902083516002929092020180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff90921691909117815591015160019091015584610e95612f43565b73ffffffffffffffffffffffffffffffffffffffff167f19421268847f42dd61705778018ddfc43bcdce8517e7a630acb12f122c70948186604051610eda919061475c565b60405180910390a35050505050565b60005474010000000000000000000000000000000000000000900460ff1615610f3e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104e89061438d565b610f4a81610455612f43565b50565b60076020526000908152604090205473ffffffffffffffffffffffffffffffffffffffff1681565b60035473ffffffffffffffffffffffffffffffffffffffff1681565b610f99612f43565b60005473ffffffffffffffffffffffffffffffffffffffff908116911614610fed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104e890614591565b60005474010000000000000000000000000000000000000000900460ff16611041576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104e8906141c0565b6110496131ad565b565b60015473ffffffffffffffffffffffffffffffffffffffff1681565b60005474010000000000000000000000000000000000000000900460ff16156110bc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104e89061438d565b6110c98282610239612f43565b5050565b60005474010000000000000000000000000000000000000000900460ff1690565b60035473ffffffffffffffffffffffffffffffffffffffff1661110f612f43565b73ffffffffffffffffffffffffffffffffffffffff161461115c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104e8906143fb565b600380547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff8381169190911791829055166111ab612f43565b73ffffffffffffffffffffffffffffffffffffffff167f1624470338902bc4f7d3d1e5fed6b70c92e686b853bfba7b65d0cef9cc6b5eea60405160405180910390a350565b73ffffffffffffffffffffffffffffffffffffffff81166000908152600a602052604081206060919061122290612f6a565b905060608167ffffffffffffffff8111801561123d57600080fd5b5060405190808252806020026020018201604052801561127757816020015b611264613cd7565b81526020019060019003908161125c5790505b50905060005b828110156112f65773ffffffffffffffffffffffffffffffffffffffff85166000908152600a6020526040812081906112bc908463ffffffff61326916565b915091506040518060400160405280838152602001828152508484815181106112e157fe5b6020908102919091010152505060010161127d565b509392505050565b600061130a6005612f6a565b905090565b60608061131c6005612f6a565b67ffffffffffffffff8111801561133257600080fd5b5060405190808252806020026020018201604052801561136c57816020015b611359613cd7565b8152602001906001900390816113515790505b50905060005b61137c6005612f6a565b8110156113d15760008061139760058463ffffffff61326916565b915091506040518060400160405280838152602001828152508484815181106113bc57fe5b60209081029190910101525050600101611372565b50905090565b6113df612f43565b60005473ffffffffffffffffffffffffffffffffffffffff908116911614611433576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104e890614591565b6000805460405173ffffffffffffffffffffffffffffffffffffffff909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b60005474010000000000000000000000000000000000000000900460ff16156114f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104e89061438d565b6115078260086000610b6f612f43565b61153d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104e8906144c6565b80611574576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104e89061431f565b6115866005838363ffffffff612f4716565b5081611590612f43565b73ffffffffffffffffffffffffffffffffffffffff167ff200b09dd7c67aa57db7b904692130ffededf03e80a5f2105605d50c0c187d69836040516115d5919061475c565b60405180910390a35050565b6115e9612f43565b60005473ffffffffffffffffffffffffffffffffffffffff90811691161461163d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104e890614591565b806004541415611679576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104e890614432565b611681612f43565b73ffffffffffffffffffffffffffffffffffffffff167f90b1b68b65dc522b257ebeec41fa0849fe1892d4e6812beeb5e31b5a0f8c26ad600454836040516116ca929190614765565b60405180910390a2600455565b60045481565b6116e5612f43565b60005473ffffffffffffffffffffffffffffffffffffffff908116911614611739576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104e890614591565b60005474010000000000000000000000000000000000000000900460ff161561178e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104e89061438d565b611049613281565b60009081526009602052604090205490565b60005473ffffffffffffffffffffffffffffffffffffffff1690565b6060806117d16005612f6a565b67ffffffffffffffff811180156117e757600080fd5b5060405190808252806020026020018201604052801561182157816020015b61180e613cd7565b8152602001906001900390816118065790505b50905060006118306005612f6a565b111561130a57600060016118446005612f6a565b0390505b80156118c95760008061186260058463ffffffff61326916565b91509150604051806040016040528083815260200182815250848460016118896005612f6a565b03038151811061189557fe5b602090810291909101015250507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff01611848565b506000806118de60058263ffffffff61326916565b915091506040518060400160405280838152602001828152508360016119046005612f6a565b038151811061190f57fe5b60200260200101819052505050905090565b60005474010000000000000000000000000000000000000000900460ff1615611976576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104e89061438d565b61198681600a6000610b6f612f43565b6119bc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104e8906140f7565b60006119c6612f43565b90506119d0613cf1565b60006119dc8484612f99565b91509150816020015160001415611a1f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104e89061455a565b60025460208301516040517fa9059cbb00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9092169163a9059cbb91611a7b91879190600401613f63565b602060405180830381600087803b158015611a9557600080fd5b505af1158015611aa9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611acd9190613e26565b50611ad8848261333e565b83611ae1612f43565b73ffffffffffffffffffffffffffffffffffffffff167ff53bcabaaea17b153bf9ac10c0672b370f17c8a3422f17424a2ddb969ed20b2060405160405180910390a350505050565b60606000611b376005612f6a565b1115611d565760008315611b5057826001850302611b53565b60005b6001611b5f6005612f6a565b030390506000611b8e6001858715611b775787611b7a565b60015b02036001611b886005612f6a565b036134e9565b6001611b9a6005612f6a565b0303905060018183030160608167ffffffffffffffff81118015611bbd57600080fd5b50604051908082528060200260200182016040528015611bf757816020015b611be4613cd7565b815260200190600190039081611bdc5790505b50905082611ccc5760005b83851115611c7d57600080611c1e60058863ffffffff61326916565b91509150604051806040016040528083815260200182815250848481518110611c4357fe5b602090810291909101015250507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff90940193600101611c02565b50600080611c9260058263ffffffff61326916565b91509150604051806040016040528083815260200182815250836001860381518110611cba57fe5b60200260200101819052505050611d4b565b60005b838510611d4957600080611cea60058863ffffffff61326916565b91509150604051806040016040528083815260200182815250848481518110611d0f57fe5b602090810291909101015250507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff90940193600101611ccf565b505b9350610a2992505050565b60408051600080825260208201909252906112f6565b611d74613cd7565b815260200190600190039081611d6c579050509392505050565b60005474010000000000000000000000000000000000000000900460ff1615611de3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104e89061438d565b611df460058363ffffffff612f8d16565b611e2a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104e8906141f7565b60008281526007602052604081205473ffffffffffffffffffffffffffffffffffffffff1690611e58612f43565b90508073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614611ebf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104e8906142e8565b611ec7613cf1565b6000611ed38686612f99565b91509150816020015160001415611f16576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104e89061455a565b6001546040517f42842e0e00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff909116906342842e0e90611f7090309089908b90600401613f32565b600060405180830381600087803b158015611f8a57600080fd5b505af1158015611f9e573d6000803e3d6000fd5b505050506000826020015190506000611fd36064611fc7600454856134ff90919063ffffffff16565b9063ffffffff61355316565b9050801561208b576002546003546040517fa9059cbb00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9283169263a9059cbb92612037929116908590600401613f63565b602060405180830381600087803b15801561205157600080fd5b505af1158015612065573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120899190613e26565b505b60025473ffffffffffffffffffffffffffffffffffffffff1663a9059cbb876120ba858563ffffffff61359516565b6040518363ffffffff1660e01b81526004016120d7929190613f63565b602060405180830381600087803b1580156120f157600080fd5b505af1158015612105573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121299190613e26565b5061213b60058963ffffffff6135d716565b5060008881526007602090815260408083205473ffffffffffffffffffffffffffffffffffffffff1683526008909152902061217d908963ffffffff6135e316565b50612188888461333e565b60008881526007602052604090819020549051899173ffffffffffffffffffffffffffffffffffffffff808b16929116907fe0c1b141a85ba7f8df7ded19a02a004b049d9e0a67f9dea87186c07bce3923b0906121e89087908790614765565b60405180910390a450505060009485525050600760205250506040902080547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b60005474010000000000000000000000000000000000000000900460ff1615612282576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104e89061438d565b6122928160086000610b6f612f43565b6122c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104e89061428b565b60015473ffffffffffffffffffffffffffffffffffffffff166342842e0e306122ef612f43565b846040518463ffffffff1660e01b815260040161230e93929190613f32565b600060405180830381600087803b15801561232857600080fd5b505af115801561233c573d6000803e3d6000fd5b505050506123548160056135d790919063ffffffff16565b5060008181526007602090815260408083205473ffffffffffffffffffffffffffffffffffffffff16835260089091529020612396908263ffffffff6135e316565b50600081815260076020526040902080547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055806123d4612f43565b73ffffffffffffffffffffffffffffffffffffffff167f2a7d983223d4978aab74760deb66764cc4394953a6225b5a6a801feb144a031060405160405180910390a350565b60005474010000000000000000000000000000000000000000900460ff161561246e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104e89061438d565b6000612478612f43565b73ffffffffffffffffffffffffffffffffffffffff16141580156124b95750306124a0612f43565b73ffffffffffffffffffffffffffffffffffffffff1614155b6124ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104e890614725565b80612526576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104e89061431f565b61253760058363ffffffff612f8d16565b61256d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104e8906141f7565b60008281526007602052604081205473ffffffffffffffffffffffffffffffffffffffff169061259b612f43565b90508073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612603576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104e8906145c6565b73ffffffffffffffffffffffffffffffffffffffff81166000908152600a60205260409020612638908563ffffffff612f8d16565b1561266f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104e890614691565b6126a161267a612f43565b60025473ffffffffffffffffffffffffffffffffffffffff1690308663ffffffff61310416565b73ffffffffffffffffffffffffffffffffffffffff81166000908152600a602052604090206126d790858563ffffffff612f4716565b506000848152600960209081526040808320815180830190925273ffffffffffffffffffffffffffffffffffffffff8581168352828401888152825460018082018555938752949095209251600290940290920180547fffffffffffffffffffffffff00000000000000000000000000000000000000001693909216929092178155915191015583612767612f43565b73ffffffffffffffffffffffffffffffffffffffff167f19421268847f42dd61705778018ddfc43bcdce8517e7a630acb12f122c709481856040516127ac919061475c565b60405180910390a350505050565b60005474010000000000000000000000000000000000000000900460ff161561280f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104e89061438d565b6000612819612f43565b73ffffffffffffffffffffffffffffffffffffffff161415801561285a575030612841612f43565b73ffffffffffffffffffffffffffffffffffffffff1614155b612890576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104e890614725565b6128a160058363ffffffff612f8d16565b6128d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104e8906141f7565b6128e782600a6000610b6f612f43565b1561291e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104e890614356565b6001546040517f42842e0e00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff909116906342842e0e9061297890309085908790600401613f32565b600060405180830381600087803b15801561299257600080fd5b505af11580156129a6573d6000803e3d6000fd5b5050505060006129c0836005612f8190919063ffffffff16565b905060006129de6064611fc7600454856134ff90919063ffffffff16565b90508015612a1e57612a1e6129f1612f43565b60035460025473ffffffffffffffffffffffffffffffffffffffff9081169291168463ffffffff61310416565b612a85612a29612f43565b60008681526007602052604090205473ffffffffffffffffffffffffffffffffffffffff16612a5e858563ffffffff61359516565b60025473ffffffffffffffffffffffffffffffffffffffff1692919063ffffffff61310416565b612a9660058563ffffffff6135d716565b5060008481526007602090815260408083205473ffffffffffffffffffffffffffffffffffffffff16835260089091529020612ad8908563ffffffff6135e316565b5060008481526007602052604090819020549051859173ffffffffffffffffffffffffffffffffffffffff808716929116907fe0c1b141a85ba7f8df7ded19a02a004b049d9e0a67f9dea87186c07bce3923b090612b399087908790614765565b60405180910390a4505050600090815260076020526040902080547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b60606000612b886005612f6a565b1115612c8d5760008315612ba157826001850302612ba4565b60005b90506000612bcb848615612bb85786612bbb565b60015b02612bc66005612f6a565b6134e9565b9050606082820367ffffffffffffffff81118015612be857600080fd5b50604051908082528060200260200182016040528015612c2257816020015b612c0f613cd7565b815260200190600190039081612c075790505b50905060005b82841015612c8257600080612c4460058763ffffffff61326916565b91509150604051806040016040528083815260200182815250848481518110612c6957fe5b6020908102919091010152505060019384019301612c28565b509250610a29915050565b6040805160008082526020820190925290612cbe565b612cab613cd7565b815260200190600190039081612ca35790505b509050610a29565b612cce612f43565b60005473ffffffffffffffffffffffffffffffffffffffff908116911614612d22576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104e890614591565b73ffffffffffffffffffffffffffffffffffffffff8116612d6f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104e89061422e565b6000805460405173ffffffffffffffffffffffffffffffffffffffff808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b73ffffffffffffffffffffffffffffffffffffffff811660009081526008602052604090206060908190612e2f90612f6a565b67ffffffffffffffff81118015612e4557600080fd5b50604051908082528060200260200182016040528015612e7f57816020015b612e6c613cd7565b815260200190600190039081612e645790505b50905060005b73ffffffffffffffffffffffffffffffffffffffff84166000908152600860205260409020612eb390612f6a565b811015612f3c5773ffffffffffffffffffffffffffffffffffffffff84166000908152600860205260408120612eef908363ffffffff612f7516565b90506000612f0460058363ffffffff612f8116565b9050604051806040016040528083815260200182815250848481518110612f2757fe5b60209081029190910101525050600101612e85565b5092915050565b3390565b6000612f548484846135ef565b90505b9392505050565b6000612f578383613686565b6000610a29826136d0565b6000612f5783836136d4565b6000612f578383613733565b6000612f578383613775565b612fa1613cf1565b60008381526009602090815260408083208054825181850281018501909352808352606093859084015b828210156130205760008481526020908190206040805180820190915260028502909101805473ffffffffffffffffffffffffffffffffffffffff168252600190810154828401529083529092019101612fcb565b5050505090506000815190506000613036613cf1565b60005b838110156130f75784818151811061304d57fe5b60200260200101516000015173ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff1614156130ef5780925060405180604001604052808683815181106130a657fe5b60200260200101516000015173ffffffffffffffffffffffffffffffffffffffff1681526020018683815181106130d957fe5b60200260200101516020015181525091506130f7565b600101613039565b5097909650945050505050565b6131a7846323b872dd60e01b85858560405160240161312593929190613f32565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff000000000000000000000000000000000000000000000000000000009093169290921790915261378d565b50505050565b60005474010000000000000000000000000000000000000000900460ff16613201576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104e8906141c0565b600080547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff1690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa613252612f43565b60405161325f9190613f11565b60405180910390a1565b6000806132768484613848565b915091509250929050565b60005474010000000000000000000000000000000000000000900460ff16156132d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104e89061438d565b600080547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff16740100000000000000000000000000000000000000001790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258613252612f43565b600082815260096020526040812080546133a3928592600a928690811061336157fe5b6000918252602080832060029092029091015473ffffffffffffffffffffffffffffffffffffffff16835282019290925260400190209063ffffffff6135d716565b50600082815260096020526040902054815b6001820381101561346d5760008481526009602052604090208054600183019081106133dd57fe5b906000526020600020906002020160096000868152602001908152602001600020828154811061340957fe5b60009182526020909120825460029092020180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff90921691909117815560019182015490820155016133b5565b50600083815260096020526040902080548061348557fe5b60008281526020812060027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9093019283020180547fffffffffffffffffffffffff0000000000000000000000000000000000000000168155600101559055505050565b60008183106134f85781612f57565b5090919050565b60008261350e57506000610a29565b8282028284828161351b57fe5b0414612f57576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104e8906144fd565b6000612f5783836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506138be565b6000612f5783836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061390f565b6000612f578383613955565b6000612f578383613a6f565b600082815260018401602052604081205480613654575050604080518082018252838152602080820184815286546001818101895560008981528481209551600290930290950191825591519082015586548684528188019092529290912055612f57565b8285600001600183038154811061366757fe5b9060005260206000209060020201600101819055506000915050612f57565b60006136928383613775565b6136c857508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610a29565b506000610a29565b5490565b81546000908210613711576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104e89061412e565b82600001828154811061372057fe5b9060005260206000200154905092915050565b6000612f5783836040518060400160405280601e81526020017f456e756d657261626c654d61703a206e6f6e6578697374656e74206b65790000815250613b49565b60009081526001919091016020526040902054151590565b60606137ef826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16613bc29092919063ffffffff16565b805190915015613843578080602001905181019061380d9190613e26565b613843576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104e8906146c8565b505050565b815460009081908310613887576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104e890614469565b600084600001848154811061389857fe5b906000526020600020906002020190508060000154816001015492509250509250929050565b600081836138f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104e891906140a6565b50600083858161390557fe5b0495945050505050565b6000818484111561394d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104e891906140a6565b505050900390565b60008181526001830160205260408120548015613a655783547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80830191908101906000908790839081106139a657fe5b90600052602060002090600202019050808760000184815481106139c657fe5b600091825260208083208454600290930201918255600193840154918401919091558354825289830190526040902090840190558654879080613a0557fe5b6000828152602080822060027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9094019384020182815560019081018390559290935588815289820190925260408220919091559450610a299350505050565b6000915050610a29565b60008181526001830160205260408120548015613a655783547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8083019190810190600090879083908110613ac057fe5b9060005260206000200154905080876000018481548110613add57fe5b600091825260208083209091019290925582815260018981019092526040902090840190558654879080613b0d57fe5b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050610a29565b60008281526001840160205260408120548281613b93576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104e891906140a6565b50846000016001820381548110613ba657fe5b9060005260206000209060020201600101549150509392505050565b6060612f5484846000856060613bd785613cd1565b613c0d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104e89061465a565b600060608673ffffffffffffffffffffffffffffffffffffffff168587604051613c379190613ef5565b60006040518083038185875af1925050503d8060008114613c74576040519150601f19603f3d011682016040523d82523d6000602084013e613c79565b606091505b50915091508115613c8d579150610ae69050565b805115613c9d5780518082602001fd5b836040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104e891906140a6565b3b151590565b604051806040016040528060008152602001600081525090565b604080518082019091526000808252602082015290565b600060208284031215613d19578081fd5b8135612f578161479f565b600060208284031215613d35578081fd5b8151612f578161479f565b60008060008060808587031215613d55578283fd5b8435613d608161479f565b9350602085810135613d718161479f565b935060408601359250606086013567ffffffffffffffff80821115613d94578384fd5b81880189601f820112613da5578485fd5b8035925081831115613db5578485fd5b604051847fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8601168201018181108482111715613df2578687fd5b60405283815281840185018b1015613e08578586fd5b83858301868301379283019093019390935294979396509194505050565b600060208284031215613e37578081fd5b81518015158114612f57578182fd5b600060208284031215613e57578081fd5b5035919050565b60008060408385031215613e70578182fd5b823591506020830135613e828161479f565b809150509250929050565b60008060408385031215613e9f578182fd5b50508035926020909101359150565b600080600060608486031215613ec2578283fd5b83359250602084013591506040840135613edb8161479f565b809150509250925092565b80518252602090810151910152565b60008251613f07818460208701614773565b9190910192915050565b73ffffffffffffffffffffffffffffffffffffffff91909116815260200190565b73ffffffffffffffffffffffffffffffffffffffff9384168152919092166020820152604081019190915260600190565b73ffffffffffffffffffffffffffffffffffffffff929092168252602082015260400190565b602080825282518282018190526000919060409081850190868401855b82811015613fc957613fb9848351613ee6565b9284019290850190600101613fa6565b5091979650505050505050565b602080825282518282018190526000919060409081850190868401855b82811015613fc9578151805173ffffffffffffffffffffffffffffffffffffffff168552860151868501529284019290850190600101613ff3565b602080825282518282018190526000919060409081850190868401855b82811015613fc95761405e848351613ee6565b928401929085019060010161404b565b901515815260200190565b7fffffffff0000000000000000000000000000000000000000000000000000000091909116815260200190565b60006020825282518060208401526140c5816040850160208701614773565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169190910160400192915050565b6020808252601e908201527f4f6e6c79204269646465722063616e2063616e63656c20746865206269640000604082015260600190565b60208082526022908201527f456e756d657261626c655365743a20696e646578206f7574206f6620626f756e60408201527f6473000000000000000000000000000000000000000000000000000000000000606082015260800190565b6020808252818101527f546865206269642070726963652063616e6e6f74206265207468652073616d65604082015260600190565b60208082526014908201527f5061757361626c653a206e6f7420706175736564000000000000000000000000604082015260600190565b60208082526016908201527f546f6b656e206e6f7420696e2073656c6c20626f6f6b00000000000000000000604082015260600190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201527f6464726573730000000000000000000000000000000000000000000000000000606082015260800190565b60208082526021908201527f4f6e6c792053656c6c65722063616e2063616e63656c2073656c6c20746f6b6560408201527f6e00000000000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526019908201527f4f6e6c79206f776e65722063616e2073656c6c20746f6b656e00000000000000604082015260600190565b6020808252601f908201527f5072696365206d757374206265206772616e746572207468616e207a65726f00604082015260600190565b6020808252601e908201527f596f75206d7573742063616e63656c20796f7572206269642066697273740000604082015260600190565b60208082526010908201527f5061757361626c653a2070617573656400000000000000000000000000000000604082015260600190565b6020808252601f908201527f4f6e6c7920546f6b656e204f776e65722063616e2073656c6c20746f6b656e00604082015260600190565b60208082526009908201527f464f5242494444454e0000000000000000000000000000000000000000000000604082015260600190565b6020808252600f908201527f4e6f74206e656564207570646174650000000000000000000000000000000000604082015260600190565b60208082526022908201527f456e756d657261626c654d61703a20696e646578206f7574206f6620626f756e60408201527f6473000000000000000000000000000000000000000000000000000000000000606082015260800190565b6020808252601c908201527f4f6e6c792053656c6c65722063616e2075706461746520707269636500000000604082015260600190565b60208082526021908201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f60408201527f7700000000000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526015908201527f42696464657220646f6573206e6f742065786973740000000000000000000000604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526010908201527f4f776e65722063616e6e6f742062696400000000000000000000000000000000604082015260600190565b60208082526024908201527f4f6e6c79204269646465722063616e207570646174652074686520626964207060408201527f7269636500000000000000000000000000000000000000000000000000000000606082015260800190565b6020808252601d908201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604082015260600190565b60208082526015908201527f42696464657220616c7265616479206578697374730000000000000000000000604082015260600190565b6020808252602a908201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60408201527f6f74207375636365656400000000000000000000000000000000000000000000606082015260800190565b60208082526010908201527f57726f6e67206d73672073656e64657200000000000000000000000000000000604082015260600190565b90815260200190565b918252602082015260400190565b60005b8381101561478e578181015183820152602001614776565b838111156131a75750506000910152565b73ffffffffffffffffffffffffffffffffffffffff81168114610f4a57600080fdfea2646970667358221220441473f46f165fe9cf0a58fb751880fec74a82102d516badd8a752d55c154dd564736f6c634300060600330000000000000000000000002b843942edf0040012b12be2b3c197ef53cab7f9000000000000000000000000e02df9e3e622debdd69fb838bb799e3f168902c5000000000000000000000000b345ad207cc586ce1f4c8e0f86537f744d4efb890000000000000000000000000000000000000000000000000000000000000005

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

0000000000000000000000002b843942edf0040012b12be2b3c197ef53cab7f9000000000000000000000000e02df9e3e622debdd69fb838bb799e3f168902c5000000000000000000000000b345ad207cc586ce1f4c8e0f86537f744d4efb890000000000000000000000000000000000000000000000000000000000000005

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000002b843942edf0040012b12be2b3c197ef53cab7f9
Arg [1] : 000000000000000000000000e02df9e3e622debdd69fb838bb799e3f168902c5
Arg [2] : 000000000000000000000000b345ad207cc586ce1f4c8e0f86537f744d4efb89
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000005


Deployed ByteCode Sourcemap

48433:15170:0:-:0;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;48433:15170:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12:1:-1;9;2:12;52253:554:0;;;;;;;;;:::i;:::-;;56793:811;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;63052:121;;;;;;;;;:::i;:::-;;;;;;;;29448:164;;;;;;;;;:::i;:::-;;;;;;;;48984:24;;;:::i;:::-;;;;;;;;59061:993;;;;;;;;;:::i;50607:119::-;;;;;;;;;:::i;49127:47::-;;;;;;;;;:::i;49015:22::-;;;:::i;57695:76::-;;;:::i;48959:18::-;;;:::i;52077:168::-;;;;;;;;;:::i;30722:78::-;;;:::i;:::-;;;;;;;;57779:206;;;;;;;;;:::i;63181:419::-;;;;;;;;;:::i;:::-;;;;;;;;53283:97;;;:::i;:::-;;;;;;;;53388:359;;;:::i;9078:148::-;;;:::i;51711:358::-;;;;;;;;;:::i;57993:236::-;;;;;;;;;:::i;49044:25::-;;;:::i;57612:75::-;;;:::i;62920:124::-;;;;;;;;;:::i;8436:79::-;;;:::i;53755:607::-;;;:::i;62322:590::-;;;;;;;;;:::i;55058:1259::-;;;;;;;;;:::i;61156:1158::-;;;;;;;;;:::i;52815:460::-;;;;;;;;;:::i;58237:816::-;;;;;;;;;:::i;50734:969::-;;;;;;;;;:::i;54370:680::-;;;;;;;;;:::i;9381:244::-;;;;;;;;;:::i;56325:460::-;;;;;;;;;:::i;52253:554::-;31040:7;;;;;;;31039:8;31031:37;;;;;;;;;;;;;;;;;;;;;;52427:3:::1;::::0;:21:::1;::::0;;;;:3:::1;::::0;;::::1;::::0;:11:::1;::::0;:21:::1;::::0;52439:8;;52427:21:::1;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24::::0;17:12:::1;2:2;52427:21:0;;;;8:9:-1;5:2;;;45:16;42:1;39::::0;24:38:::1;77:16;74:1;67:27;5:2;52427:21:0;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;52427:21:0;;;;;;;;;52411:37;;:12;:10;:12::i;:::-;:37;;;52403:81;;;;;;;;;;;;;;52503:11:::0;52495:55:::1;;;;;;;;;;;;;;52561:3;::::0;::::1;;:20;52590:12;:10;:12::i;:::-;52613:4;52620:8;52561:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24::::0;17:12:::1;2:2;52561:68:0;;;;8:9:-1;5:2;;;45:16;42:1;39::::0;24:38:::1;77:16;74:1;67:27;5:2;-1:-1:::0;52640:30:0::1;::::0;-1:-1:-1;52640:8:0::1;::::0;-1:-1:-1;52653:8:0;;-1:-1:-1;52663:6:0;52640:30:::1;:12;:30;:::i;:::-;-1:-1:-1::0;52681:22:0::1;::::0;;;:12:::1;:22;::::0;;;;;;;:28;;;::::1;;::::0;::::1;::::0;;::::1;::::0;;;52720:23;;:18:::1;:23:::0;;;;;:37:::1;::::0;52681:22;52720:27:::1;:37::i;:::-;;52782:8;52777:3;52773:26;;;52792:6;52773:26;;;;;;;;;;;;;;;52253:554:::0;;;:::o;56793:811::-;56925:24;;;;;;;:18;:24;;;;;56855:17;;;;56925:33;;:31;:33::i;:::-;56910:49;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;56910:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;-1:-1:-1;56974:24:0;;;57010:1;56974:24;;;:18;:24;;;;;56885:74;;-1:-1:-1;57010:1:0;56974:33;;:31;:33::i;:::-;:37;56970:605;;;57045:24;;;57033:9;57045:24;;;:18;:24;;;;;57081:1;;57045:33;;:31;:33::i;:::-;:37;57033:49;;57028:318;57084:5;;57028:318;;57133:24;;;57115:15;57133:24;;;:18;:24;;;;;:30;;57161:1;57133:30;:27;:30;:::i;:::-;57115:48;-1:-1:-1;57182:13:0;57198:21;:8;57115:48;57198:21;:12;:21;:::i;:::-;57182:37;;57288:42;;;;;;;;57307:7;57288:42;;;;57323:5;57288:42;;;57238:4;57283:1;57279;57243:33;:18;:24;57262:4;57243:24;;;;;;;;;;;;;;;:31;:33::i;:::-;:37;:41;57238:47;;;;;;;;;;;;;;;;;:92;-1:-1:-1;;57091:3:0;;57028:318;;;-1:-1:-1;57378:24:0;;;57360:15;57378:24;;;:18;:24;;;;;:30;;57360:15;57378:30;:27;:30;:::i;:::-;57360:48;-1:-1:-1;57423:13:0;57439:21;:8;57360:48;57439:21;:12;:21;:::i;:::-;57423:37;;57521:42;;;;;;;;57540:7;57521:42;;;;57556:5;57521:42;;;57475:4;57516:1;57480:33;:18;:24;57499:4;57480:24;;;;;;;;;;;;;;;:31;:33::i;:::-;:37;57475:43;;;;;;;;;;;;;:88;;;;56970:605;;;57592:4;56793:811;-1:-1:-1;;56793:811:0:o;63052:121::-;63108:17;63145:10;:20;63156:8;63145:20;;;;;;;;;;;63138:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;63052:121;;;:::o;29448:164::-;29574:30;29448:164;;;;;;;:::o;48984:24::-;;;;;;:::o;59061:993::-;31040:7;;;;;;;31039:8;31031:37;;;;;;;;;;;;;;59168:42:::1;59201:8;59168:9;:23;59178:12;:10;:12::i;:::-;59168:23;;::::0;;::::1;::::0;::::1;::::0;;;;;;-1:-1:-1;59168:23:0;;:42:::1;:32;:42;:::i;:::-;59160:91;;;;;;;;;;;;;;59270:11:::0;59262:55:::1;;;;;;;;;;;;;;59328:11;59350:12;:10;:12::i;:::-;59328:35;;59402:24;;:::i;:::-;59428:14;59446:40;59472:8;59482:3;59446:25;:40::i;:::-;59401:85;;;;59505:8;:14;;;59523:1;59505:19;;59497:53;;;;;;;;;;;;;;59587:6;59569:8;:14;;;:24;;59561:69;;;;;;;;;;;;;;59654:8;:14;;;59645:6;:23;59641:228;;;59685:90;59721:12;:10;:12::i;:::-;59760:14;::::0;::::1;::::0;59685:10:::1;::::0;::::1;;::::0;:90;59744:4:::1;::::0;59751:23;::::1;59685:90;:27;:90;:::i;:::-;59641:228;;;59808:10;::::0;59833:14:::1;::::0;::::1;::::0;59808:49:::1;::::0;;;;:10:::1;::::0;;::::1;::::0;:19:::1;::::0;:49:::1;::::0;59828:3;;59833:23;;::::1;::::0;59808:49:::1;;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24::::0;17:12:::1;2:2;59808:49:0;;;;8:9:-1;5:2;;;45:16;42:1;39::::0;24:38:::1;77:16;74:1;67:27;5:2;59808:49:0;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;59808:49:0;;;;;;;;;;59641:228;59879:14;::::0;::::1;;::::0;;;:9:::1;:14;::::0;;;;:36:::1;::::0;59898:8;59908:6;59879:36:::1;:18;:36;:::i;:::-;;59957:38;;;;;;;;59975:3;59957:38;;;;;;59987:6;59957:38;;::::0;59926:10:::1;:20;59937:8;59926:20;;;;;;;;;;;59947:6;59926:28;;;;;;;;;::::0;;;::::1;::::0;;;;:69;;:28:::1;::::0;;;::::1;;:69:::0;;;::::1;;::::0;;::::1;::::0;;;::::1;::::0;;;::::1;::::0;-1:-1:-1;59926:69:0;;::::1;::::0;60029:8;60015:12:::1;:10;:12::i;:::-;60011:35;;;60039:6;60011:35;;;;;;;;;;;;;;;31079:1;;;59061:993:::0;;:::o;50607:119::-;31040:7;;;;;;;31039:8;31031:37;;;;;;;;;;;;;;50684:34:::1;50695:8;50705:12;:10;:12::i;50684:34::-;50607:119:::0;:::o;49127:47::-;;;;;;;;;;;;;;;:::o;49015:22::-;;;;;;:::o;57695:76::-;8658:12;:10;:12::i;:::-;8648:6;;:22;:6;;;:22;;;8640:67;;;;;;;;;;;;;;31316:7:::1;::::0;;;::::1;;;31308:40;;;;;;;;;;;;;;57753:10:::2;:8;:10::i;:::-;57695:76::o:0;48959:18::-;;;;;;:::o;52077:168::-;31040:7;;;;;;;31039:8;31031:37;;;;;;;;;;;;;;52178:59:::1;52197:8;52207:6;52223:12;:10;:12::i;52178:59::-;52077:168:::0;;:::o;30722:78::-;30761:4;30785:7;;;;;;;30722:78::o;57779:206::-;57867:7;;;;57851:12;:10;:12::i;:::-;:23;;;57843:45;;;;;;;;;;;;;;57899:7;:18;;;;;;;;;;;;;;;;57969:7;57955:12;:10;:12::i;:::-;57933:44;;;;;;;;;;;;57779:206;:::o;63181:419::-;63285:15;;;63271:11;63285:15;;;:9;:15;;;;;63237:21;;63271:11;63285:24;;:22;:24::i;:::-;63271:38;;63320:26;63368:3;63349:23;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;63349:23:0;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;-1:-1:-1;63320:52:0;-1:-1:-1;63388:9:0;63383:188;63407:3;63403:1;:7;63383:188;;;63467:15;;;63433;63467;;;:9;:15;;;;;63433;;63467:21;;63486:1;63467:21;:18;:21;:::i;:::-;63432:56;;;;63513:46;;;;;;;;63536:7;63513:46;;;;63552:5;63513:46;;;63503:4;63508:1;63503:7;;;;;;;;;;;;;;;;;:56;-1:-1:-1;;63412:3:0;;63383:188;;;-1:-1:-1;63588:4:0;63181:419;-1:-1:-1;;;63181:419:0:o;53283:97::-;53328:7;53355:17;:8;:15;:17::i;:::-;53348:24;;53283:97;:::o;53388:359::-;53428:17;53458:22;53498:17;:8;:15;:17::i;:::-;53483:33;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;53483:33:0;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;-1:-1:-1;53458:58:0;-1:-1:-1;53532:9:0;53527:191;53551:17;:8;:15;:17::i;:::-;53547:1;:21;53527:191;;;53591:15;;53625:14;:8;53637:1;53625:14;:11;:14;:::i;:::-;53590:49;;;;53664:42;;;;;;;;53683:7;53664:42;;;;53699:5;53664:42;;;53654:4;53659:1;53654:7;;;;;;;;;;;;;;;;;:52;-1:-1:-1;;53570:3:0;;53527:191;;;-1:-1:-1;53735:4:0;-1:-1:-1;53388:359:0;:::o;9078:148::-;8658:12;:10;:12::i;:::-;8648:6;;:22;:6;;;:22;;;8640:67;;;;;;;;;;;;;;9185:1:::1;9169:6:::0;;9148:40:::1;::::0;::::1;9169:6:::0;;::::1;::::0;9148:40:::1;::::0;9185:1;;9148:40:::1;9216:1;9199:19:::0;;;::::1;::::0;;9078:148::o;51711:358::-;31040:7;;;;;;;31039:8;31031:37;;;;;;;;;;;;;;51819:51:::1;51861:8;51819:18;:32;51838:12;:10;:12::i;51819:51::-;51811:92;;;;;;;;;;;;;;51922:11:::0;51914:55:::1;;;;;;;;;;;;;;51980:30;:8;51993::::0;52003:6;51980:30:::1;:12;:30;:::i;:::-;;52044:8;52030:12;:10;:12::i;:::-;52026:35;;;52054:6;52026:35;;;;;;;;;;;;;;;51711:358:::0;;:::o;57993:236::-;8658:12;:10;:12::i;:::-;8648:6;;:22;:6;;;:22;;;8640:67;;;;;;;;;;;;;;58087:11:::1;58073:10;;:25;;58065:53;;;;;;;;;;;;;;58148:12;:10;:12::i;:::-;58134:52;;;58162:10;;58174:11;58134:52;;;;;;;;;;;;;;;;58197:10;:24:::0;57993:236::o;49044:25::-;;;;:::o;57612:75::-;8658:12;:10;:12::i;:::-;8648:6;;:22;:6;;;:22;;;8640:67;;;;;;;;;;;;;;31040:7:::1;::::0;;;::::1;;;31039:8;31031:37;;;;;;;;;;;;;;57671:8:::2;:6;:8::i;62920:124::-:0;62982:7;63009:20;;;:10;:20;;;;;:27;;62920:124::o;8436:79::-;8474:7;8501:6;;;8436:79;:::o;53755:607::-;53799:17;53829:22;53869:17;:8;:15;:17::i;:::-;53854:33;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;53854:33:0;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;53829:58;;53922:1;53902:17;:8;:15;:17::i;:::-;:21;53898:435;;;53945:9;53977:1;53957:17;:8;:15;:17::i;:::-;:21;53945:33;;53940:231;53980:5;;53940:231;;54012:15;;54046:14;:8;54058:1;54046:14;:11;:14;:::i;:::-;54011:49;;;;54113:42;;;;;;;;54132:7;54113:42;;;;54148:5;54113:42;;;54079:4;54108:1;54104;54084:17;:8;:15;:17::i;:::-;:21;:25;54079:31;;;;;;;;;;;;;;;;;:76;-1:-1:-1;;53987:3:0;;53940:231;;;-1:-1:-1;54186:15:0;;54220:14;:8;54186:15;54220:14;:11;:14;:::i;:::-;54185:49;;;;54279:42;;;;;;;;54298:7;54279:42;;;;54314:5;54279:42;;;54249:4;54274:1;54254:17;:8;:15;:17::i;:::-;:21;54249:27;;;;;;;;;;;;;:72;;;;53898:435;;54350:4;-1:-1:-1;53755:607:0;:::o;62322:590::-;31040:7;;;;;;;31039:8;31031:37;;;;;;;;;;;;;;62413:42:::1;62446:8;62413:9;:23;62423:12;:10;:12::i;62413:42::-;62405:85;;;;;;;;;;;;;;62501:16;62528:12;:10;:12::i;:::-;62501:40;;62589:24;;:::i;:::-;62615:14;62633:45;62659:8;62669;62633:25;:45::i;:::-;62588:90;;;;62697:8;:14;;;62715:1;62697:19;;62689:53;;;;;;;;;;;;;;62753:10;::::0;62783:14:::1;::::0;::::1;::::0;62753:45:::1;::::0;;;;:10:::1;::::0;;::::1;::::0;:19:::1;::::0;:45:::1;::::0;62773:8;;62783:14;62753:45:::1;;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24::::0;17:12:::1;2:2;62753:45:0;;;;8:9:-1;5:2;;;45:16;42:1;39::::0;24:38:::1;77:16;74:1;67:27;5:2;62753:45:0;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;62753:45:0;;;;;;;;;;62809:41;62833:8;62843:6;62809:23;:41::i;:::-;62895:8;62881:12;:10;:12::i;:::-;62866:38;;;;;;;;;;;;31079:1;;;62322:590:::0;:::o;55058:1259::-;55134:17;55188:1;55168:17;:8;:15;:17::i;:::-;:21;55164:1111;;;55206:12;55246:9;;:33;;55275:4;55270:1;55263:4;:8;55262:17;55246:33;;;55258:1;55246:33;55241:1;55221:17;:8;:15;:17::i;:::-;:21;:59;;-1:-1:-1;55295:10:0;55332:66;55373:1;55366:4;55342:9;;:20;;55358:4;55342:20;;;55354:1;55342:20;55341:29;:33;55396:1;55376:17;:8;:15;:17::i;:::-;:21;55332:8;:66::i;:::-;55328:1;55308:17;:8;:15;:17::i;:::-;:21;:90;;-1:-1:-1;55446:1:0;55434:9;;;:13;55462:22;55434:13;55487:26;;;2:2:-1;;;;27:1;24;17:12;2:2;55487:26:0;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;-1:-1:-1;55462:51:0;-1:-1:-1;55532:7:0;55528:710;;55565:9;55560:235;55587:2;55580:4;:9;55560:235;;;55620:15;;55654:17;:8;55666:4;55654:17;:11;:17;:::i;:::-;55619:52;;;;55704:42;;;;;;;;55723:7;55704:42;;;;55739:5;55704:42;;;55694:4;55699:1;55694:7;;;;;;;;;;;;;;;;;:52;-1:-1:-1;;55769:6:0;;;;;;55591:3;55560:235;;;-1:-1:-1;55814:15:0;;55848:14;:8;55814:15;55848:14;:11;:14;:::i;:::-;55813:49;;;;55904:42;;;;;;;;55923:7;55904:42;;;;55939:5;55904:42;;;55881:4;55899:1;55886:10;:14;55881:20;;;;;;;;;;;;;:65;;;;55528:710;;;;;55992:9;55987:236;56015:2;56007:4;:10;55987:236;;56048:15;;56082:17;:8;56094:4;56082:17;:11;:17;:::i;:::-;56047:52;;;;56132:42;;;;;;;;56151:7;56132:42;;;;56167:5;56132:42;;;56122:4;56127:1;56122:7;;;;;;;;;;;;;;;;;:52;-1:-1:-1;;56197:6:0;;;;;;56019:3;55987:236;;;;55528:710;56259:4;-1:-1:-1;56252:11:0;;-1:-1:-1;;;56252:11:0;55164:1111;56292:17;;;56307:1;56292:17;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;-1:-1:-1;56285:24:0;55058:1259;-1:-1:-1;;;55058:1259:0:o;61156:1158::-;31040:7;;;;;;;31039:8;31031:37;;;;;;;;;;;;;;61257:27:::1;:8;61275::::0;61257:27:::1;:17;:27;:::i;:::-;61249:62;;;;;;;;;;;;;;61322:15;61340:22:::0;;;:12:::1;:22;::::0;;;;;::::1;;::::0;61398:12:::1;:10;:12::i;:::-;61373:38;;61441:6;61430:17;;:7;:17;;;61422:55;;;;;;;;;;;;;;61525:24;;:::i;:::-;61551:14;61569:40;61595:8;61605:3;61569:25;:40::i;:::-;61524:85;;;;61628:8;:14;;;61646:1;61628:19;;61620:53;;;;;;;;;;;;;;61721:3;::::0;:50:::1;::::0;;;;:3:::1;::::0;;::::1;::::0;:20:::1;::::0;:50:::1;::::0;61750:4:::1;::::0;61757:3;;61762:8;;61721:50:::1;;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24::::0;17:12:::1;2:2;61721:50:0;;;;8:9:-1;5:2;;;45:16;42:1;39::::0;24:38:::1;77:16;74:1;67:27;5:2;61721:50:0;;;;61782:13;61798:8;:14;;;61782:30;;61823:17;61843:30;61869:3;61843:21;61853:10;;61843:5;:9;;:21;;;;:::i;:::-;:25:::0;:30:::1;:25;:30;:::i;:::-;61823:50:::0;-1:-1:-1;61888:14:0;;61884:86:::1;;61919:10;::::0;61939:7:::1;::::0;61919:39:::1;::::0;;;;:10:::1;::::0;;::::1;::::0;:19:::1;::::0;:39:::1;::::0;61939:7;::::1;::::0;61948:9;;61919:39:::1;;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24::::0;17:12:::1;2:2;61919:39:0;;;;8:9:-1;5:2;;;45:16;42:1;39::::0;24:38:::1;77:16;74:1;67:27;5:2;61919:39:0;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;61919:39:0;;;;;;;;;;61884:86;61980:10;::::0;::::1;;:19;62000:7:::0;62009:20:::1;:5:::0;62019:9;62009:20:::1;:9;:20;:::i;:::-;61980:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24::::0;17:12:::1;2:2;61980:50:0;;;;8:9:-1;5:2;;;45:16;42:1;39::::0;24:38:::1;77:16;74:1;67:27;5:2;61980:50:0;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;61980:50:0;;;;;;;;;-1:-1:-1::0;62041:25:0::1;:8;62057::::0;62041:25:::1;:15;:25;:::i;:::-;-1:-1:-1::0;62077:42:0::1;62096:22:::0;;;:12:::1;:22;::::0;;;;;;;;::::1;;62077:42:::0;;:18:::1;:42:::0;;;;;:59:::1;::::0;62127:8;62077:59:::1;:49;:59;:::i;:::-;;62147:41;62171:8;62181:6;62147:23;:41::i;:::-;62210:22;::::0;;;:12:::1;:22;::::0;;;;;;;62204:62;;62239:8;;62204:62:::1;::::0;;::::1;::::0;62210:22;::::1;::::0;62204:62:::1;::::0;::::1;::::0;62249:5;;62256:9;;62204:62:::1;;;;;;;;;;-1:-1:-1::0;;;62284:22:0::1;::::0;;;-1:-1:-1;;62284:12:0::1;:22;::::0;-1:-1:-1;;62284:22:0;;;62277:29;;;::::1;::::0;;61156:1158::o;52815:460::-;31040:7;;;;;;;31039:8;31031:37;;;;;;;;;;;;;;52907:51:::1;52949:8;52907:18;:32;52926:12;:10;:12::i;52907:51::-;52899:97;;;;;;;;;;;;;;53007:3;::::0;::::1;;:20;53036:4;53043:12;:10;:12::i;:::-;53057:8;53007:59;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24::::0;17:12:::1;2:2;53007:59:0;;;;8:9:-1;5:2;;;45:16;42:1;39::::0;24:38:::1;77:16;74:1;67:27;5:2;53007:59:0;;;;53077:25;53093:8;53077;:15;;:25;;;;:::i;:::-;-1:-1:-1::0;53113:42:0::1;53132:22:::0;;;:12:::1;:22;::::0;;;;;;;;::::1;;53113:42:::0;;:18:::1;:42:::0;;;;;:59:::1;::::0;53163:8;53113:59:::1;:49;:59;:::i;:::-;-1:-1:-1::0;53190:22:0::1;::::0;;;:12:::1;:22;::::0;;;;53183:29;;;::::1;::::0;;53203:8;53244:12:::1;:10;:12::i;:::-;53228:39;;;;;;;;;;;;52815:460:::0;:::o;58237:816::-;31040:7;;;;;;;31039:8;31031:37;;;;;;;;;;;;;;58362:1:::1;58338:12;:10;:12::i;:::-;:26;;;;:59;;;;-1:-1:-1::0;58392:4:0::1;58368:12;:10;:12::i;:::-;:29;;;;58338:59;58330:88;;;;;;;;;;;;;;58437:11:::0;58429:55:::1;;;;;;;;;;;;;;58503:27;:8;58521::::0;58503:27:::1;:17;:27;:::i;:::-;58495:62;;;;;;;;;;;;;;58568:15;58586:22:::0;;;:12:::1;:22;::::0;;;;;::::1;;::::0;58641:12:::1;:10;:12::i;:::-;58619:35;;58684:3;58673:14;;:7;:14;;;;58665:43;;;;;;;;;;;;;;58728:14;::::0;::::1;;::::0;;;:9:::1;:14;::::0;;;;:33:::1;::::0;58752:8;58728:33:::1;:23;:33;:::i;:::-;58727:34;58719:68;;;;;;;;;;;;;;58798:73;58834:12;:10;:12::i;:::-;58798:10;::::0;::::1;;::::0;58857:4:::1;58864:6:::0;58798:73:::1;:27;:73;:::i;:::-;58882:14;::::0;::::1;;::::0;;;:9:::1;:14;::::0;;;;:36:::1;::::0;58901:8;58911:6;58882:36:::1;:18;:36;:::i;:::-;-1:-1:-1::0;58929:20:0::1;::::0;;;:10:::1;:20;::::0;;;;;;;58955:38;;;;::::1;::::0;;;::::1;::::0;;::::1;::::0;;;;::::1;::::0;;;27:10:-1;;39:1:::1;23:18:::0;;::::1;45:23:::0;;58929:65:0;;;;;;;;;::::1;::::0;;::::1;::::0;;::::1;::::0;;;::::1;::::0;;;::::1;::::0;;;::::1;::::0;;;;;::::1;::::0;:20;59014:12:::1;:10;:12::i;:::-;59010:35;;;59038:6;59010:35;;;;;;;;;;;;;;;31079:1;;58237:816:::0;;:::o;50734:969::-;31040:7;;;;;;;31039:8;31031:37;;;;;;;;;;;;;;50858:1:::1;50834:12;:10;:12::i;:::-;:26;;;;:59;;;;-1:-1:-1::0;50888:4:0::1;50864:12;:10;:12::i;:::-;:29;;;;50834:59;50826:88;;;;;;;;;;;;;;50933:27;:8;50951::::0;50933:27:::1;:17;:27;:::i;:::-;50925:62;;;;;;;;;;;;;;51007:42;51040:8;51007:9;:23;51017:12;:10;:12::i;51007:42::-;51006:43;50998:86;;;;;;;;;;;;;;51095:3;::::0;:50:::1;::::0;;;;:3:::1;::::0;;::::1;::::0;:20:::1;::::0;:50:::1;::::0;51124:4:::1;::::0;51131:3;;51136:8;;51095:50:::1;;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24::::0;17:12:::1;2:2;51095:50:0;;;;8:9:-1;5:2;;;45:16;42:1;39::::0;24:38:::1;77:16;74:1;67:27;5:2;51095:50:0;;;;51156:13;51172:22;51185:8;51172;:12;;:22;;;;:::i;:::-;51156:38;;51205:17;51225:30;51251:3;51225:21;51235:10;;51225:5;:9;;:21;;;;:::i;:30::-;51205:50:::0;-1:-1:-1;51270:14:0;;51266:108:::1;;51301:61;51329:12;:10;:12::i;:::-;51343:7;::::0;51301:10:::1;::::0;51343:7:::1;51301:10:::0;;::::1;::::0;:61;51343:7:::1;51352:9:::0;51301:61:::1;:27;:61;:::i;:::-;51384:87;51412:12;:10;:12::i;:::-;51426:22;::::0;;;:12:::1;:22;::::0;;;;;::::1;;51450:20;:5:::0;51460:9;51450:20:::1;:9;:20;:::i;:::-;51384:10;::::0;::::1;;::::0;:87;;::::1;:27;:87;:::i;:::-;51482:25;:8;51498::::0;51482:25:::1;:15;:25;:::i;:::-;-1:-1:-1::0;51518:42:0::1;51537:22:::0;;;:12:::1;:22;::::0;;;;;;;;::::1;;51518:42:::0;;:18:::1;:42:::0;;;;;:59:::1;::::0;51568:8;51518:59:::1;:49;:59;:::i;:::-;-1:-1:-1::0;51599:22:0::1;::::0;;;:12:::1;:22;::::0;;;;;;;51593:62;;51628:8;;51593:62:::1;::::0;;::::1;::::0;51599:22;::::1;::::0;51593:62:::1;::::0;::::1;::::0;51638:5;;51645:9;;51593:62:::1;;;;;;;;;;-1:-1:-1::0;;;51673:22:0::1;::::0;;;:12:::1;:22;::::0;;;;51666:29;;;::::1;::::0;;50734:969::o;54370:680::-;54442:17;54496:1;54476:17;:8;:15;:17::i;:::-;:21;54472:571;;;54514:12;54529:9;;:33;;54558:4;54553:1;54546:4;:8;54545:17;54529:33;;;54541:1;54529:33;54514:48;-1:-1:-1;54577:10:0;54590:58;54624:4;54600:9;;:20;;54616:4;54600:20;;;54612:1;54600:20;54599:29;54630:17;:8;:15;:17::i;:::-;54590:8;:58::i;:::-;54577:71;;54663:22;54709:4;54704:2;:9;54688:27;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;54688:27:0;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;-1:-1:-1;54663:52:0;-1:-1:-1;54735:9:0;54730:219;54757:2;54750:4;:9;54730:219;;;54786:15;;54820:17;:8;54832:4;54820:17;:11;:17;:::i;:::-;54785:52;;;;54866:42;;;;;;;;54885:7;54866:42;;;;54901:5;54866:42;;;54856:4;54861:1;54856:7;;;;;;;;;;;;;;;;;:52;-1:-1:-1;;54927:6:0;;;;;54761:3;54730:219;;;-1:-1:-1;54970:4:0;-1:-1:-1;54963:11:0;;-1:-1:-1;;54963:11:0;54472:571;55014:17;;;55029:1;55014:17;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;55007:24;;;;9381:244;8658:12;:10;:12::i;:::-;8648:6;;:22;:6;;;:22;;;8640:67;;;;;;;;;;;;;;9470:22:::1;::::0;::::1;9462:73;;;;;;;;;;;;;;9572:6;::::0;;9551:38:::1;::::0;::::1;::::0;;::::1;::::0;9572:6;::::1;::::0;9551:38:::1;::::0;::::1;9600:6;:17:::0;;;::::1;;::::0;;;::::1;::::0;;;::::1;::::0;;9381:244::o;56325:460::-;56453:24;;;;;;;:18;:24;;;;;56383:17;;;;56453:33;;:31;:33::i;:::-;56438:49;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;56438:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;-1:-1:-1;56413:74:0;-1:-1:-1;56503:9:0;56498:258;56522:24;;;;;;;:18;:24;;;;;:33;;:31;:33::i;:::-;56518:1;:37;56498:258;;;56595:24;;;56577:15;56595:24;;;:18;:24;;;;;:30;;56623:1;56595:30;:27;:30;:::i;:::-;56577:48;-1:-1:-1;56640:13:0;56656:21;:8;56577:48;56656:21;:12;:21;:::i;:::-;56640:37;;56702:42;;;;;;;;56721:7;56702:42;;;;56737:5;56702:42;;;56692:4;56697:1;56692:7;;;;;;;;;;;;;;;;;:52;-1:-1:-1;;56557:3:0;;56498:258;;;-1:-1:-1;56773:4:0;56325:460;-1:-1:-1;;56325:460:0:o;6957:106::-;7045:10;6957:106;:::o;45469:180::-;45589:4;45613:28;45618:3;45630;45635:5;45613:4;:28::i;:::-;45606:35;;45469:180;;;;;;:::o;38626:131::-;38693:4;38717:32;38722:3;38742:5;38717:4;:32::i;39388:114::-;39448:7;39475:19;39483:3;39475:7;:19::i;39846:137::-;39917:7;39952:22;39956:3;39968:5;39952:3;:22::i;47028:132::-;47104:7;47131:21;47136:3;47148;47131:4;:21::i;46029:139::-;46110:4;46134:26;46144:3;46156;46134:9;:26::i;60062:672::-;60182:15;;:::i;:::-;60199:7;60293:20;;;:10;:20;;;;;;;;60262:51;;;;;;;;;;;;;;;;;:28;;60199:7;;60262:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;60324:11;60338:10;:17;60324:31;;60366:14;60391:24;;:::i;:::-;60431:9;60426:265;60450:3;60446:1;:7;60426:265;;;60491:10;60502:1;60491:13;;;;;;;;;;;;;;:20;;;60479:32;;:8;:32;;;60475:205;;;60541:1;60532:10;;60572:68;;;;;;;;60590:10;60601:1;60590:13;;;;;;;;;;;;;;:20;;;60572:68;;;;;;60619:10;60630:1;60619:13;;;;;;;;;;;;;;:19;;;60572:68;;;60561:79;;60659:5;;60475:205;60455:3;;60426:265;;;-1:-1:-1;60709:8:0;60719:6;;-1:-1:-1;60062:672:0;-1:-1:-1;;;;;60062:672:0:o;19418:205::-;19519:96;19539:5;19569:27;;;19598:4;19604:2;19608:5;19546:68;;;;;;;;;;;;;;;22:32:-1;26:21;;;22:32;6:49;;19546:68:0;;;49:4:-1;25:18;;61:17;;19546:68:0;182:15:-1;19546:68:0;;;;179:29:-1;;;;160:49;;;19519:19:0;:96::i;:::-;19418:205;;;;:::o;31771:120::-;31316:7;;;;;;;31308:40;;;;;;;;;;;;;;31840:5:::1;31830:15:::0;;;::::1;::::0;;31861:22:::1;31870:12;:10;:12::i;:::-;31861:22;;;;;;;;;;;;;;;31771:120::o:0;46724:143::-;46801:7;;46837:22;46841:3;46853:5;46837:3;:22::i;:::-;46830:29;;;;46724:143;;;;;:::o;31512:118::-;31040:7;;;;;;;31039:8;31031:37;;;;;;;;;;;;;;31572:7:::1;:14:::0;;;::::1;::::0;::::1;::::0;;31602:20:::1;31609:12;:10;:12::i;60742:406::-:0;60828:46;60838:20;;;:10;:20;;;;;:28;;60828:63;;60882:8;;60828:9;;60859:6;;60838:28;;;;;;;;;;;;;;;;;;;;;:35;;;60828:46;;;;;;;;;;;;;:63;:53;:63;:::i;:::-;-1:-1:-1;60929:11:0;60943:20;;;:10;:20;;;;;:27;60998:6;60981:123;61016:1;61010:3;:7;61006:1;:11;60981:123;;;61065:20;;;;:10;:20;;;;;:27;;61090:1;61086:5;;;61065:27;;;;;;;;;;;;;;;;61039:10;:20;61050:8;61039:20;;;;;;;;;;;61060:1;61039:23;;;;;;;;;;;;;;;;:53;;:23;;;;;:53;;;;;;;;;;;;;;;;;;;;;;;61019:3;60981:123;;;-1:-1:-1;61114:20:0;;;;:10;:20;;;;;:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;60742:406:0:o;5875:106::-;5933:7;5964:1;5960;:5;:13;;5972:1;5960:13;;;-1:-1:-1;5968:1:0;;5875:106;-1:-1:-1;5875:106:0:o;2310:471::-;2368:7;2613:6;2609:47;;-1:-1:-1;2643:1:0;2636:8;;2609:47;2680:5;;;2684:1;2680;:5;:1;2704:5;;;;;:10;2696:56;;;;;;;;;;;;;3257:132;3315:7;3342:39;3346:1;3349;3342:39;;;;;;;;;;;;;;;;;:3;:39::i;1420:136::-;1478:7;1505:43;1509:1;1512;1505:43;;;;;;;;;;;;;;;;;:3;:43::i;45815:130::-;45889:4;45913:24;45921:3;45933;45913:7;:24::i;38933:137::-;39003:4;39027:35;39035:3;39055:5;39027:7;:35::i;40843:737::-;40953:4;41088:17;;;:12;;;:17;;;;;;41122:13;41118:455;;-1:-1:-1;;41220:36:0;;;;;;;;;;;;;;;;;;27:10:-1;;39:1;23:18;;;45:23;;41202:12:0;:55;;;;;;;;;;;;;;;;;;;;;;;;41415:19;;41395:17;;;:12;;;:17;;;;;;;:39;41449:11;;41118:455;41529:5;41493:3;:12;;41517:1;41506:8;:12;41493:26;;;;;;;;;;;;;;;;;;:33;;:41;;;;41556:5;41549:12;;;;;33622:414;33685:4;33707:21;33717:3;33722:5;33707:9;:21::i;:::-;33702:327;;-1:-1:-1;27:10;;39:1;23:18;;;45:23;;33745:11:0;:23;;;;;;;;;;;;;33928:18;;33906:19;;;:12;;;:19;;;;;;:40;;;;33961:11;;33702:327;-1:-1:-1;34012:5:0;34005:12;;36057:109;36140:18;;36057:109::o;36510:204::-;36605:18;;36577:7;;36605:26;-1:-1:-1;36597:73:0;;;;;;;;;;;;;;36688:3;:11;;36700:5;36688:18;;;;;;;;;;;;;;;;36681:25;;36510:204;;;;:::o;44536:149::-;44602:7;44629:48;44634:3;44639;44629:48;;;;;;;;;;;;;;;;;:4;:48::i;43401:125::-;43472:4;43496:17;;;:12;;;;;:17;;;;;;:22;;;43401:125::o;21538:761::-;21962:23;21988:69;22016:4;21988:69;;;;;;;;;;;;;;;;;21996:5;21988:27;;;;:69;;;;;:::i;:::-;22072:17;;21962:95;;-1:-1:-1;22072:21:0;22068:224;;22214:10;22203:30;;;;;;;;;;;;;;22195:85;;;;;;;;;;;;;;21538:761;;;:::o;44096:279::-;44200:19;;44163:7;;;;44200:27;-1:-1:-1;44192:74:0;;;;;;;;;;;;;;44279:22;44304:3;:12;;44317:5;44304:19;;;;;;;;;;;;;;;;;;44279:44;;44342:5;:10;;;44354:5;:12;;;44334:33;;;;;44096:279;;;;;:::o;3885:278::-;3971:7;4006:12;3999:5;3991:28;;;;;;;;;;;;;;;;4030:9;4046:1;4042;:5;;;;;;;3885:278;-1:-1:-1;;;;;3885:278:0:o;1859:192::-;1945:7;1981:12;1973:6;;;;1965:29;;;;;;;;;;;;;;;-1:-1:-1;;;2017:5:0;;;1859:192::o;41755:1562::-;41819:4;41954:17;;;:12;;;:17;;;;;;41988:13;;41984:1326;;42433:19;;42386:12;;;;;42433:23;;;;42362:21;;42433:3;;:23;;42730;;;;;;;;;;;;;;;;42701:52;;42878:9;42848:3;:12;;42861:13;42848:27;;;;;;;;;;;;;;;;:39;;:27;;;;;:39;;;;;;;;;;;;;;;42968:14;;42955:28;;:12;;;:28;;;;;42986:17;;;42955:48;;43112:18;;42955:3;;43112:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43208:17;;;:12;;;:17;;;;;;43201:24;;;;43112:18;-1:-1:-1;43242:11:0;;-1:-1:-1;;;;43242:11:0;41984:1326;43293:5;43286:12;;;;;34212:1544;34278:4;34417:19;;;:12;;;:19;;;;;;34453:15;;34449:1300;;34888:18;;34839:14;;;;;34888:22;;;;34815:21;;34888:3;;:22;;35175;;;;;;;;;;;;;;35155:42;;35321:9;35292:3;:11;;35304:13;35292:26;;;;;;;;;;;;;;;;;;;:38;;;;35398:23;;;35440:1;35398:12;;;:23;;;;;;35424:17;;;35398:43;;35550:17;;35398:3;;35550:17;;;;;;;;;;;;;;;;;;;;;;35645:3;:12;;:19;35658:5;35645:19;;;;;;;;;;;35638:26;;;35688:4;35681:11;;;;;;;;44798:353;44926:7;44965:17;;;:12;;;:17;;;;;;45016:12;45001:13;44993:36;;;;;;;;;;;;;;;;45083:3;:12;;45107:1;45096:8;:12;45083:26;;;;;;;;;;;;;;;;;;:33;;;45076:40;;;44798:353;;;;;:::o;16181:196::-;16284:12;16316:53;16339:6;16347:4;16353:1;16356:12;17688;17721:18;17732:6;17721:10;:18::i;:::-;17713:60;;;;;;;;;;;;;;17847:12;17861:23;17888:6;:11;;17908:8;17919:4;17888:36;;;;;;;;;;;;;;;;;;;;;;;;12:1:-1;19;14:27;;;;67:4;61:11;56:16;;134:4;130:9;123:4;105:16;101:27;97:43;94:1;90:51;84:4;77:65;157:16;154:1;147:27;211:16;208:1;201:4;198:1;194:12;179:49;5:228;;14:27;32:4;27:9;;5:228;;17846:78:0;;;;17939:7;17935:595;;;17970:10;-1:-1:-1;17963:17:0;;-1:-1:-1;17963:17:0;17935:595;18084:17;;:21;18080:439;;18347:10;18341:17;18408:15;18395:10;18391:2;18387:19;18380:44;18295:148;18490:12;18483:20;;;;;;;;;;;;13263:422;13630:20;13669:8;;;13263:422::o;48433:15170::-;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;-1:-1:-1;48433:15170:0;;;;;;;;:::o;1004:241:-1:-;;1108:2;1096:9;1087:7;1083:23;1079:32;1076:2;;;-1:-1;;1114:12;1076:2;85:6;72:20;97:33;124:5;97:33;;1252:263;;1367:2;1355:9;1346:7;1342:23;1338:32;1335:2;;;-1:-1;;1373:12;1335:2;226:6;220:13;238:33;265:5;238:33;;1522:721;;;;;1686:3;1674:9;1665:7;1661:23;1657:33;1654:2;;;-1:-1;;1693:12;1654:2;85:6;72:20;97:33;124:5;97:33;;;1745:63;-1:-1;1845:2;1884:22;;;72:20;97:33;72:20;97:33;;;1853:63;-1:-1;1953:2;1992:22;;934:20;;-1:-1;2089:2;2074:18;;2061:32;2113:18;2102:30;;;2099:2;;;-1:-1;;2135:12;2099:2;2210:6;2199:9;2195:22;520:3;513:4;505:6;501:17;497:27;487:2;;-1:-1;;528:12;487:2;575:6;562:20;548:34;;2113:18;35894:6;35891:30;35888:2;;;-1:-1;;35924:12;35888:2;1953;35552:9;1845:2;35997:9;513:4;35982:6;35978:17;35974:33;35588:6;35584:17;;35695:6;35683:10;35680:22;2113:18;35647:10;35644:34;35641:62;35638:2;;;-1:-1;;35706:12;35638:2;1953;35725:22;667:21;;;767:16;;;;;764:25;-1:-1;761:2;;;-1:-1;;792:12;761:2;40394:6;1845:2;709:6;705:17;1845:2;743:5;739:16;40371:30;40432:16;;;;;;40425:27;;;;1648:595;;;;-1:-1;1648:595;;-1:-1;;;1648:595;2250:257;;2362:2;2350:9;2341:7;2337:23;2333:32;2330:2;;;-1:-1;;2368:12;2330:2;364:6;358:13;41053:5;38973:13;38966:21;41031:5;41028:32;41018:2;;-1:-1;;41064:12;2514:241;;2618:2;2606:9;2597:7;2593:23;2589:32;2586:2;;;-1:-1;;2624:12;2586:2;-1:-1;934:20;;2580:175;-1:-1;2580:175;2762:366;;;2883:2;2871:9;2862:7;2858:23;2854:32;2851:2;;;-1:-1;;2889:12;2851:2;2972:22;934:20;2941:63;;3041:2;3084:9;3080:22;72:20;97:33;124:5;97:33;;;3049:63;;;;2845:283;;;;;;3135:366;;;3256:2;3244:9;3235:7;3231:23;3227:32;3224:2;;;-1:-1;;3262:12;3224:2;-1:-1;;934:20;;;3414:2;3453:22;;;934:20;;-1:-1;3218:283;3508:491;;;;3646:2;3634:9;3625:7;3621:23;3617:32;3614:2;;;-1:-1;;3652:12;3614:2;947:6;934:20;3704:63;;3804:2;3847:9;3843:22;934:20;3812:63;;3912:2;3955:9;3951:22;72:20;97:33;124:5;97:33;;;3920:63;;;;3608:391;;;;;;18183:472;18387:23;;19806:37;;18559:4;18548:16;;;18542:23;18619:14;;19806:37;18291:364;19975:262;;8588:5;36772:12;8699:52;8744:6;8739:3;8732:4;8725:5;8721:16;8699:52;;;8763:16;;;;;20100:137;-1:-1;;20100:137;20244:213;39223:42;39212:54;;;;5090:37;;20362:2;20347:18;;20333:124;20700:451;39223:42;39212:54;;;5090:37;;39212:54;;;;21054:2;21039:18;;4959:58;21137:2;21122:18;;19806:37;;;;20882:2;20867:18;;20853:298;21600:324;39223:42;39212:54;;;;5090:37;;21910:2;21895:18;;19806:37;21746:2;21731:18;;21717:207;21931:465;22151:2;22165:47;;;36772:12;;22136:18;;;37986:19;;;21931:465;;22151:2;38026:14;;;;;;36228;;;21931:465;5858:338;5883:6;5880:1;5877:13;5858:338;;;4146:98;4240:3;5950:6;5944:13;4146:98;;;4264:14;;;;37529;;;;5905:1;5898:9;5858:338;;;-1:-1;22218:168;;22122:274;-1:-1;;;;;;;22122:274;22403:465;22623:2;22637:47;;;36772:12;;22608:18;;;37986:19;;;22403:465;;22623:2;38026:14;;;;;;36228;;;22403:465;6825:338;6850:6;6847:1;6844:13;6825:338;;;6911:13;;18920:23;;39223:42;39212:54;5090:37;;19081:16;;19075:23;19152:14;;;19806:37;4550:14;;;;37529;;;;6872:1;6865:9;6825:338;;22875:481;23103:2;23117:47;;;36772:12;;23088:18;;;37986:19;;;22875:481;;23103:2;38026:14;;;;;;36228;;;22875:481;7820:350;7845:6;7842:1;7839:13;7820:350;;;4146:98;4240:3;7912:6;7906:13;4146:98;;;4264:14;;;;37529;;;;7867:1;7860:9;7820:350;;23363:201;38973:13;;38966:21;8265:34;;23475:2;23460:18;;23446:118;23571:209;39071:66;39060:78;;;;8380:36;;23687:2;23672:18;;23658:122;24287:301;;24425:2;24446:17;24439:47;9262:5;36772:12;37998:6;24425:2;24414:9;24410:18;37986:19;9356:52;9401:6;38026:14;24414:9;38026:14;24425:2;9382:5;9378:16;9356:52;;;40831:2;40811:14;40827:7;40807:28;9420:39;;;;38026:14;9420:39;;24396:192;-1:-1;;24396:192;24595:407;24786:2;24800:47;;;9696:2;24771:18;;;37986:19;9732:32;38026:14;;;9712:53;9784:12;;;24757:245;25009:407;25200:2;25214:47;;;10035:2;25185:18;;;37986:19;10071:34;38026:14;;;10051:55;10140:4;10126:12;;;10119:26;10164:12;;;25171:245;25423:407;25614:2;25628:47;;;25599:18;;;37986:19;10451:34;38026:14;;;10431:55;10505:12;;;25585:245;25837:407;26028:2;26042:47;;;10756:2;26013:18;;;37986:19;10792:22;38026:14;;;10772:43;10834:12;;;25999:245;26251:407;26442:2;26456:47;;;11085:2;26427:18;;;37986:19;11121:24;38026:14;;;11101:45;11165:12;;;26413:245;26665:407;26856:2;26870:47;;;11416:2;26841:18;;;37986:19;11452:34;38026:14;;;11432:55;11521:8;11507:12;;;11500:30;11549:12;;;26827:245;27079:407;27270:2;27284:47;;;11800:2;27255:18;;;37986:19;11836:34;38026:14;;;11816:55;11905:3;11891:12;;;11884:25;11928:12;;;27241:245;27493:407;27684:2;27698:47;;;12179:2;27669:18;;;37986:19;12215:27;38026:14;;;12195:48;12262:12;;;27655:245;27907:407;28098:2;28112:47;;;12513:2;28083:18;;;37986:19;12549:33;38026:14;;;12529:54;12602:12;;;28069:245;28321:407;28512:2;28526:47;;;12853:2;28497:18;;;37986:19;12889:32;38026:14;;;12869:53;12941:12;;;28483:245;28735:407;28926:2;28940:47;;;13192:2;28911:18;;;37986:19;13228:18;38026:14;;;13208:39;13266:12;;;28897:245;29149:407;29340:2;29354:47;;;13517:2;29325:18;;;37986:19;13553:33;38026:14;;;13533:54;13606:12;;;29311:245;29563:407;29754:2;29768:47;;;13857:1;29739:18;;;37986:19;13892:11;38026:14;;;13872:32;13923:12;;;29725:245;29977:407;30168:2;30182:47;;;14174:2;30153:18;;;37986:19;14210:17;38026:14;;;14190:38;14247:12;;;30139:245;30391:407;30582:2;30596:47;;;14498:2;30567:18;;;37986:19;14534:34;38026:14;;;14514:55;14603:4;14589:12;;;14582:26;14627:12;;;30553:245;30805:407;30996:2;31010:47;;;14878:2;30981:18;;;37986:19;14914:30;38026:14;;;14894:51;14964:12;;;30967:245;31219:407;31410:2;31424:47;;;15215:2;31395:18;;;37986:19;15251:34;38026:14;;;15231:55;15320:3;15306:12;;;15299:25;15343:12;;;31381:245;31633:407;31824:2;31838:47;;;15594:2;31809:18;;;37986:19;15630:23;38026:14;;;15610:44;15673:12;;;31795:245;32047:407;32238:2;32252:47;;;32223:18;;;37986:19;15960:34;38026:14;;;15940:55;16014:12;;;32209:245;32461:407;32652:2;32666:47;;;16265:2;32637:18;;;37986:19;16301:18;38026:14;;;16281:39;16339:12;;;32623:245;32875:407;33066:2;33080:47;;;16590:2;33051:18;;;37986:19;16626:34;38026:14;;;16606:55;16695:6;16681:12;;;16674:28;16721:12;;;33037:245;33289:407;33480:2;33494:47;;;16972:2;33465:18;;;37986:19;17008:31;38026:14;;;16988:52;17059:12;;;33451:245;33703:407;33894:2;33908:47;;;17310:2;33879:18;;;37986:19;17346:23;38026:14;;;17326:44;17389:12;;;33865:245;34117:407;34308:2;34322:47;;;17640:2;34293:18;;;37986:19;17676:34;38026:14;;;17656:55;17745:12;17731;;;17724:34;17777:12;;;34279:245;34531:407;34722:2;34736:47;;;18028:2;34707:18;;;37986:19;18064:18;38026:14;;;18044:39;18102:12;;;34693:245;34945:213;19806:37;;;35063:2;35048:18;;35034:124;35165:324;19806:37;;;35475:2;35460:18;;19806:37;35311:2;35296:18;;35282:207;40467:268;40532:1;40539:101;40553:6;40550:1;40547:13;40539:101;;;40620:11;;;40614:18;40601:11;;;40594:39;40575:2;40568:10;40539:101;;;40655:6;40652:1;40649:13;40646:2;;;-1:-1;;40532:1;40702:16;;40695:27;40516:219;40848:117;39223:42;40935:5;39212:54;40910:5;40907:35;40897:2;;40956:1;;40946:12

Swarm Source

ipfs://441473f46f165fe9cf0a58fb751880fec74a82102d516badd8a752d55c154dd5
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.