Contract 0x1d0e5af3faee43b5cfff8f872f41d43b93ed964b

 
Txn Hash
Block
From
To
Value [Txn Fee]
0x61ecea3a608a934ff5565bf644bc734ee3906b5ce6ed6db75ff8fb9f7036be1d83438862021-06-16 10:05:5136 mins ago0xb4103e37a4f8542462101b41e790b26b51565132 IN  0x1d0e5af3faee43b5cfff8f872f41d43b93ed964b0 BNB0.001269055
0xf25e4df135cc037b6d99312aafcf177cdd77d7c9ea4477f9e7798691f337e43f83438022021-06-16 10:01:3940 mins ago0x69a7726f7635f12ecbacbdcd8d0590e3cd55e745 IN  0x1d0e5af3faee43b5cfff8f872f41d43b93ed964b0 BNB0.001269055
0xda0dbbf74cf9ed11349be4505ac421f87e840b68bf0c19522c7bd300f78bd31083281932021-06-15 20:53:2113 hrs 49 mins ago0x1578ac7b6573d2183baade918ac0c9dc13256368 IN  0x1d0e5af3faee43b5cfff8f872f41d43b93ed964b0 BNB0.001269055
0x875be1490eb2eeea9bf00afa9d8aff350a98c76e034d38bd7f985efc348cded083249022021-06-15 18:07:4116 hrs 34 mins ago0x2b3f3819bb31730731c7b4d185ae66a8c8d5982c IN  0x1d0e5af3faee43b5cfff8f872f41d43b93ed964b0 BNB0.001269055
0xc5e6271319b64f5ec14470a20a816660e527aab01e4242b4adcb850a1011f51f83247142021-06-15 17:58:1716 hrs 44 mins ago0x717b4ccf23a7b8e47c240fdb71978c67ce934995 IN  0x1d0e5af3faee43b5cfff8f872f41d43b93ed964b0 BNB0.001269055
0x5f71afed4cf0b2c5f41d3097e1a1a4f7e34a8d7d94735867d9d29c6478f82e4b83004232021-06-14 21:22:441 day 13 hrs ago0x9103a8bfe9cff639f8192d9b28f849f02167196d IN  0x1d0e5af3faee43b5cfff8f872f41d43b93ed964b0 BNB0.001269055
0xe285f83e6ef86db7f78c87e60e9481feef3203d32b5cafa5782c9f05a7ee470d82656482021-06-13 16:01:392 days 18 hrs ago0x6ba035a9c78e1cb8af547ee24a8d1e9df6fbda1d IN  0x1d0e5af3faee43b5cfff8f872f41d43b93ed964b0 BNB0.00022524
0x9f77f52f0600df59ba9393284c9c3905df108e092c093617cfb24dc8da8793c382634982021-06-13 14:13:492 days 20 hrs ago0x9c6f933f9ed76a8b4169f1264750ea1808e47009 IN  0x1d0e5af3faee43b5cfff8f872f41d43b93ed964b0 BNB0.00022524
0x05f5fc6fa8c000fb4e63a818aef20e60d9c9c963e30346738ea4a0750d81e9bd82272052021-06-12 7:45:364 days 2 hrs ago0x55b4a9db9e0d223650c86a0a01fd28ef14f35db7 IN  0x1d0e5af3faee43b5cfff8f872f41d43b93ed964b0 BNB0.00022524
0x160d5e08f558b63293bdbd06fba25c3a8a9502545463af58dc0f3e585fb878d082124922021-06-11 19:28:174 days 15 hrs ago0xde033cbcf315936ef33b2c43d3f00c19007fa18f IN  0x1d0e5af3faee43b5cfff8f872f41d43b93ed964b0 BNB0.001193995
0x9c6fc9419ab41134f32090cec145a68dbba0754f7267ce35fd7b1de2ac371e9f82124642021-06-11 19:26:534 days 15 hrs ago0xde033cbcf315936ef33b2c43d3f00c19007fa18f IN  0x1d0e5af3faee43b5cfff8f872f41d43b93ed964b0 BNB0.001268995
0xeff1742ec471be162bc8eda5ec987b81a20d4e9b4de69c477b6d1af250117a4081697622021-06-10 7:42:316 days 2 hrs ago0xbd472056c6f374734c4f36e38759272e94e5ede9 IN  0x1d0e5af3faee43b5cfff8f872f41d43b93ed964b0 BNB0.000541985
0xcf66573d4d03e3bf4a8e5dbd6dc8d47c646b8faaac938a21960100a7cb24e67d81685212021-06-10 6:40:286 days 4 hrs ago0x7101a94f32b455f9b7efc7280dad2c3a8a5fe251 IN  0x1d0e5af3faee43b5cfff8f872f41d43b93ed964b0 BNB0.001269055
0x82f00aea672c03185e92775de98f7fa03836275c09c064b78235e987a506653081447992021-06-09 10:50:076 days 23 hrs ago0xb7ea92d6007456918e119796acc3374174d4565f IN  0x1d0e5af3faee43b5cfff8f872f41d43b93ed964b0 BNB0.001193995
0x4bd14d431f5fbbfcf4c8f9837be4ed905bb998efcccebb33abf697524ca3e59981086832021-06-08 4:39:478 days 6 hrs ago0xed9500a36809900035e9a144fa7388113d1389b2 IN  0x1d0e5af3faee43b5cfff8f872f41d43b93ed964b0 BNB0.000499925
0xe50d26b780e39abaebed86025b8e2453fb3328a9a1936ce22cab479378dd1a2879694052021-06-03 8:18:3813 days 2 hrs ago0xaa0dec959e0efd45c25034e3357d2d699a3df474 IN  0x1d0e5af3faee43b5cfff8f872f41d43b93ed964b0 BNB0.000270288
0x8cd50f51b4e6a45e90e8f29b5d7d6d60811b77395b99e369c8766386c2fd67d579115062021-06-01 7:56:5015 days 2 hrs ago0x1578ac7b6573d2183baade918ac0c9dc13256368 IN  0x1d0e5af3faee43b5cfff8f872f41d43b93ed964b0 BNB0.001269055
0xbb3d8a952bce5923c0fe5969c6514f32102087f2a87764016f539c4a1a0d08f378622752021-05-30 14:42:5916 days 19 hrs ago0x02f5666d3add12b4a0e986c1a08f39f3282a0549 IN  0x1d0e5af3faee43b5cfff8f872f41d43b93ed964b0 BNB0.00022524
0x819689af75f9daf3fdf634f057406be06f37ee1abb54285ad15c18b7c5d28cd378531782021-05-30 7:07:0517 days 3 hrs ago0xef296a0d01fe47a3889866d6c5f0aba642321883 IN  0x1d0e5af3faee43b5cfff8f872f41d43b93ed964b0 BNB0.000424985
0x1de8669a570018d897e28deff21f630be3cb6ff2983cfb47e014be3cb0ce883c78417942021-05-29 21:37:1517 days 13 hrs ago0x02f5666d3add12b4a0e986c1a08f39f3282a0549 IN  0x1d0e5af3faee43b5cfff8f872f41d43b93ed964b0 BNB0.001194055
0x6d5fe0eba68beb390ddbc804fc28f5ff9dac7250f97098495b3b5314fa48427d78414842021-05-29 21:21:4517 days 13 hrs ago0x02f5666d3add12b4a0e986c1a08f39f3282a0549 IN  0x1d0e5af3faee43b5cfff8f872f41d43b93ed964b0 BNB0.001194055
0x4e6a643217b42333a06c659601757bf834f4b91e0842013775786211a5f326c478130782021-05-28 21:34:4918 days 13 hrs ago0x02f5666d3add12b4a0e986c1a08f39f3282a0549 IN  0x1d0e5af3faee43b5cfff8f872f41d43b93ed964b0 BNB0.001269055
0xf7b0c4d9be34e6b77d817015bf4ffb6033d7a0bc5dc36bcfd6cb9cc2110a87f478051822021-05-28 14:58:3818 days 19 hrs ago0xbddc96b99fa1951944b3f6917d57f5e586ae7309 IN  0x1d0e5af3faee43b5cfff8f872f41d43b93ed964b0 BNB0.001269055
0x97f09cff27d626432a2aa60225bd6761e528d9ab27443166b992e4098cb23e6f76891112021-05-24 13:41:5022 days 21 hrs ago0x99a784ba2818d10b4e42ea91c6d0acf4651e4569 IN  0x1d0e5af3faee43b5cfff8f872f41d43b93ed964b0 BNB0.00010886
0x7b48e613f62ea15bf60e56bb4146d5c8033fd66a19dc7042d6b6afa040545bb976608832021-05-23 14:03:0123 days 20 hrs ago0x25d199b6f9efe9b29d2e71fa72cffab24f9d6b51 IN  0x1d0e5af3faee43b5cfff8f872f41d43b93ed964b0 BNB0.000424925
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
SfpNFT

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-04-21
*/

// 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/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: @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/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/AccessControl.sol

// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;




/**
 * @dev Contract module that allows children to implement role-based access
 * control mechanisms.
 *
 * Roles are referred to by their `bytes32` identifier. These should be exposed
 * in the external API and be unique. The best way to achieve this is by
 * using `public constant` hash digests:
 *
 * ```
 * bytes32 public constant MY_ROLE = keccak256("MY_ROLE");
 * ```
 *
 * Roles can be used to represent a set of permissions. To restrict access to a
 * function call, use {hasRole}:
 *
 * ```
 * function foo() public {
 *     require(hasRole(MY_ROLE, msg.sender));
 *     ...
 * }
 * ```
 *
 * Roles can be granted and revoked dynamically via the {grantRole} and
 * {revokeRole} functions. Each role has an associated admin role, and only
 * accounts that have a role's admin role can call {grantRole} and {revokeRole}.
 *
 * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means
 * that only accounts with this role will be able to grant or revoke other
 * roles. More complex role relationships can be created by using
 * {_setRoleAdmin}.
 *
 * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to
 * grant and revoke this role. Extra precautions should be taken to secure
 * accounts that have been granted it.
 */
abstract contract AccessControl is Context {
    using EnumerableSet for EnumerableSet.AddressSet;
    using Address for address;

    struct RoleData {
        EnumerableSet.AddressSet members;
        bytes32 adminRole;
    }

    mapping (bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

    /**
     * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`
     *
     * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite
     * {RoleAdminChanged} not being emitted signaling this.
     *
     * _Available since v3.1._
     */
    event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);

    /**
     * @dev Emitted when `account` is granted `role`.
     *
     * `sender` is the account that originated the contract call, an admin role
     * bearer except when using {_setupRole}.
     */
    event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Emitted when `account` is revoked `role`.
     *
     * `sender` is the account that originated the contract call:
     *   - if using `revokeRole`, it is the admin role bearer
     *   - if using `renounceRole`, it is the role bearer (i.e. `account`)
     */
    event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) public view returns (bool) {
        return _roles[role].members.contains(account);
    }

    /**
     * @dev Returns the number of accounts that have `role`. Can be used
     * together with {getRoleMember} to enumerate all bearers of a role.
     */
    function getRoleMemberCount(bytes32 role) public view returns (uint256) {
        return _roles[role].members.length();
    }

    /**
     * @dev Returns one of the accounts that have `role`. `index` must be a
     * value between 0 and {getRoleMemberCount}, non-inclusive.
     *
     * Role bearers are not sorted in any particular way, and their ordering may
     * change at any point.
     *
     * WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure
     * you perform all queries on the same block. See the following
     * https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post]
     * for more information.
     */
    function getRoleMember(bytes32 role, uint256 index) public view returns (address) {
        return _roles[role].members.at(index);
    }

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) public view returns (bytes32) {
        return _roles[role].adminRole;
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) public virtual {
        require(hasRole(_roles[role].adminRole, _msgSender()), "AccessControl: sender must be an admin to grant");

        _grantRole(role, account);
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) public virtual {
        require(hasRole(_roles[role].adminRole, _msgSender()), "AccessControl: sender must be an admin to revoke");

        _revokeRole(role, account);
    }

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been granted `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) public virtual {
        require(account == _msgSender(), "AccessControl: can only renounce roles for self");

        _revokeRole(role, account);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event. Note that unlike {grantRole}, this function doesn't perform any
     * checks on the calling account.
     *
     * [WARNING]
     * ====
     * This function should only be called from the constructor when setting
     * up the initial roles for the system.
     *
     * Using this function in any other way is effectively circumventing the admin
     * system imposed by {AccessControl}.
     * ====
     */
    function _setupRole(bytes32 role, address account) internal virtual {
        _grantRole(role, account);
    }

    /**
     * @dev Sets `adminRole` as ``role``'s admin role.
     *
     * Emits a {RoleAdminChanged} event.
     */
    function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {
        emit RoleAdminChanged(role, _roles[role].adminRole, adminRole);
        _roles[role].adminRole = adminRole;
    }

    function _grantRole(bytes32 role, address account) private {
        if (_roles[role].members.add(account)) {
            emit RoleGranted(role, account, _msgSender());
        }
    }

    function _revokeRole(bytes32 role, address account) private {
        if (_roles[role].members.remove(account)) {
            emit RoleRevoked(role, account, _msgSender());
        }
    }
}

// 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/IERC721Metadata.sol

// SPDX-License-Identifier: MIT

pragma solidity ^0.6.2;


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

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

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

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

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

// SPDX-License-Identifier: MIT

pragma solidity ^0.6.2;


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

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

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

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

// 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/introspection/ERC165.sol

// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;


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

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

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

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

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

// 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/utils/EnumerableMap.sol

// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

/**
 * @dev Library for managing an enumerable variant of Solidity's
 * https://solidity.readthedocs.io/en/latest/types.html#mapping-types[`mapping`]
 * type.
 *
 * Maps have the following properties:
 *
 * - Entries are added, removed, and checked for existence in constant time
 * (O(1)).
 * - Entries are enumerated in O(n). No guarantees are made on the ordering.
 *
 * ```
 * contract Example {
 *     // Add the library methods
 *     using EnumerableMap for EnumerableMap.UintToAddressMap;
 *
 *     // Declare a set state variable
 *     EnumerableMap.UintToAddressMap private myMap;
 * }
 * ```
 *
 * As of v3.0.0, only maps of type `uint256 -> address` (`UintToAddressMap`) are
 * supported.
 */
library EnumerableMap {
    // To implement this library for multiple types with as little code
    // repetition as possible, we write it in terms of a generic Map type with
    // bytes32 keys and values.
    // The Map implementation uses private functions, and user-facing
    // implementations (such as Uint256ToAddressMap) are just wrappers around
    // the underlying Map.
    // This means that we can only create new EnumerableMaps for types that fit
    // in bytes32.

    struct MapEntry {
        bytes32 _key;
        bytes32 _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 (bytes32 => 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, bytes32 key, bytes32 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, bytes32 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, bytes32 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 (bytes32, bytes32) {
        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, bytes32 key) private view returns (bytes32) {
        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, bytes32 key, string memory errorMessage) private view returns (bytes32) {
        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
    }

    // UintToAddressMap

    struct UintToAddressMap {
        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(UintToAddressMap storage map, uint256 key, address value) internal returns (bool) {
        return _set(map._inner, bytes32(key), bytes32(uint256(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(UintToAddressMap storage map, uint256 key) internal returns (bool) {
        return _remove(map._inner, bytes32(key));
    }

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

    /**
     * @dev Returns the number of elements in the map. O(1).
     */
    function length(UintToAddressMap 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(UintToAddressMap storage map, uint256 index) internal view returns (uint256, address) {
        (bytes32 key, bytes32 value) = _at(map._inner, index);
        return (uint256(key), address(uint256(value)));
    }

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

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

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

// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

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

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

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

// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;












/**
 * @title ERC721 Non-Fungible Token Standard basic implementation
 * @dev see https://eips.ethereum.org/EIPS/eip-721
 */
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable {
    using SafeMath for uint256;
    using Address for address;
    using EnumerableSet for EnumerableSet.UintSet;
    using EnumerableMap for EnumerableMap.UintToAddressMap;
    using Strings for uint256;

    // Equals to `bytes4(keccak256("onERC721Received(address,address,uint256,bytes)"))`
    // which can be also obtained as `IERC721Receiver(0).onERC721Received.selector`
    bytes4 private constant _ERC721_RECEIVED = 0x150b7a02;

    // Mapping from holder address to their (enumerable) set of owned tokens
    mapping (address => EnumerableSet.UintSet) private _holderTokens;

    // Enumerable mapping from token ids to their owners
    EnumerableMap.UintToAddressMap private _tokenOwners;

    // Mapping from token ID to approved address
    mapping (uint256 => address) private _tokenApprovals;

    // Mapping from owner to operator approvals
    mapping (address => mapping (address => bool)) private _operatorApprovals;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Optional mapping for token URIs
    mapping (uint256 => string) private _tokenURIs;

    // Base URI
    string private _baseURI;

    /*
     *     bytes4(keccak256('balanceOf(address)')) == 0x70a08231
     *     bytes4(keccak256('ownerOf(uint256)')) == 0x6352211e
     *     bytes4(keccak256('approve(address,uint256)')) == 0x095ea7b3
     *     bytes4(keccak256('getApproved(uint256)')) == 0x081812fc
     *     bytes4(keccak256('setApprovalForAll(address,bool)')) == 0xa22cb465
     *     bytes4(keccak256('isApprovedForAll(address,address)')) == 0xe985e9c5
     *     bytes4(keccak256('transferFrom(address,address,uint256)')) == 0x23b872dd
     *     bytes4(keccak256('safeTransferFrom(address,address,uint256)')) == 0x42842e0e
     *     bytes4(keccak256('safeTransferFrom(address,address,uint256,bytes)')) == 0xb88d4fde
     *
     *     => 0x70a08231 ^ 0x6352211e ^ 0x095ea7b3 ^ 0x081812fc ^
     *        0xa22cb465 ^ 0xe985e9c5 ^ 0x23b872dd ^ 0x42842e0e ^ 0xb88d4fde == 0x80ac58cd
     */
    bytes4 private constant _INTERFACE_ID_ERC721 = 0x80ac58cd;

    /*
     *     bytes4(keccak256('name()')) == 0x06fdde03
     *     bytes4(keccak256('symbol()')) == 0x95d89b41
     *     bytes4(keccak256('tokenURI(uint256)')) == 0xc87b56dd
     *
     *     => 0x06fdde03 ^ 0x95d89b41 ^ 0xc87b56dd == 0x5b5e139f
     */
    bytes4 private constant _INTERFACE_ID_ERC721_METADATA = 0x5b5e139f;

    /*
     *     bytes4(keccak256('totalSupply()')) == 0x18160ddd
     *     bytes4(keccak256('tokenOfOwnerByIndex(address,uint256)')) == 0x2f745c59
     *     bytes4(keccak256('tokenByIndex(uint256)')) == 0x4f6ccce7
     *
     *     => 0x18160ddd ^ 0x2f745c59 ^ 0x4f6ccce7 == 0x780e9d63
     */
    bytes4 private constant _INTERFACE_ID_ERC721_ENUMERABLE = 0x780e9d63;

    /**
     * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.
     */
    constructor (string memory name, string memory symbol) public {
        _name = name;
        _symbol = symbol;

        // register the supported interfaces to conform to ERC721 via ERC165
        _registerInterface(_INTERFACE_ID_ERC721);
        _registerInterface(_INTERFACE_ID_ERC721_METADATA);
        _registerInterface(_INTERFACE_ID_ERC721_ENUMERABLE);
    }

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

        return _holderTokens[owner].length();
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view override returns (address) {
        return _tokenOwners.get(tokenId, "ERC721: owner query for nonexistent token");
    }

    /**
     * @dev See {IERC721Metadata-name}.
     */
    function name() public view override returns (string memory) {
        return _name;
    }

    /**
     * @dev See {IERC721Metadata-symbol}.
     */
    function symbol() public view override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view override returns (string memory) {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");

        string memory _tokenURI = _tokenURIs[tokenId];

        // If there is no base URI, return the token URI.
        if (bytes(_baseURI).length == 0) {
            return _tokenURI;
        }
        // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked).
        if (bytes(_tokenURI).length > 0) {
            return string(abi.encodePacked(_baseURI, _tokenURI));
        }
        // If there is a baseURI but no tokenURI, concatenate the tokenID to the baseURI.
        return string(abi.encodePacked(_baseURI, tokenId.toString()));
    }

    /**
    * @dev Returns the base URI set via {_setBaseURI}. This will be
    * automatically added as a prefix in {tokenURI} to each token's URI, or
    * to the token ID if no specific URI is set for that token ID.
    */
    function baseURI() public view returns (string memory) {
        return _baseURI;
    }

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

    /**
     * @dev See {IERC721Enumerable-totalSupply}.
     */
    function totalSupply() public view override returns (uint256) {
        // _tokenOwners are indexed by tokenIds, so .length() returns the number of tokenIds
        return _tokenOwners.length();
    }

    /**
     * @dev See {IERC721Enumerable-tokenByIndex}.
     */
    function tokenByIndex(uint256 index) public view override returns (uint256) {
        (uint256 tokenId, ) = _tokenOwners.at(index);
        return tokenId;
    }

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public virtual override {
        address owner = ownerOf(tokenId);
        require(to != owner, "ERC721: approval to current owner");

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(address from, address to, uint256 tokenId) public virtual override {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");

        _transfer(from, to, tokenId);
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(address from, address to, uint256 tokenId) public virtual override {
        safeTransferFrom(from, to, tokenId, "");
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory _data) public virtual override {
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");
        _safeTransfer(from, to, tokenId, _data);
    }

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * `_data` is additional data, it has no specified format and it is sent in call to `to`.
     *
     * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
     * implement alternative mechanisms to perform token transfer, such as signature-based.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeTransfer(address from, address to, uint256 tokenId, bytes memory _data) internal virtual {
        _transfer(from, to, tokenId);
        require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer");
    }

    /**
     * @dev Returns whether `tokenId` exists.
     *
     * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
     *
     * Tokens start existing when they are minted (`_mint`),
     * and stop existing when they are burned (`_burn`).
     */
    function _exists(uint256 tokenId) internal view returns (bool) {
        return _tokenOwners.contains(tokenId);
    }

    /**
     * @dev Returns whether `spender` is allowed to manage `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _isApprovedOrOwner(address spender, uint256 tokenId) internal view returns (bool) {
        require(_exists(tokenId), "ERC721: operator query for nonexistent token");
        address owner = ownerOf(tokenId);
        return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender));
    }

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

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

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

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

        _holderTokens[to].add(tokenId);

        _tokenOwners.set(tokenId, to);

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

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

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

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

        // Clear metadata (if any)
        if (bytes(_tokenURIs[tokenId]).length != 0) {
            delete _tokenURIs[tokenId];
        }

        _holderTokens[owner].remove(tokenId);

        _tokenOwners.remove(tokenId);

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

        _holderTokens[from].remove(tokenId);
        _holderTokens[to].add(tokenId);

        _tokenOwners.set(tokenId, to);

        emit Transfer(from, to, tokenId);
    }

    /**
     * @dev Sets `_tokenURI` as the tokenURI of `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual {
        require(_exists(tokenId), "ERC721Metadata: URI set of nonexistent token");
        _tokenURIs[tokenId] = _tokenURI;
    }

    /**
     * @dev Internal function to set the base URI for all token IDs. It is
     * automatically added as a prefix to the value returned in {tokenURI},
     * or to the token ID if {tokenURI} is empty.
     */
    function _setBaseURI(string memory baseURI_) internal virtual {
        _baseURI = baseURI_;
    }

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

    function _approve(address to, uint256 tokenId) private {
        _tokenApprovals[tokenId] = to;
        emit Approval(ownerOf(tokenId), to, tokenId);
    }

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

// 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/token/ERC721/ERC721Pausable.sol

// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;



/**
 * @dev ERC721 token with pausable token transfers, minting and burning.
 *
 * Useful for scenarios such as preventing trades until the end of an evaluation
 * period, or having an emergency switch for freezing all token transfers in the
 * event of a large bug.
 */
abstract contract ERC721Pausable is ERC721, Pausable {
    /**
     * @dev See {ERC721-_beforeTokenTransfer}.
     *
     * Requirements:
     *
     * - the contract must not be paused.
     */
    function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal virtual override {
        super._beforeTokenTransfer(from, to, tokenId);

        require(!paused(), "ERC721Pausable: token transfer while paused");
    }
}

// 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: contracts/libraries/TransferHelper.sol

// SPDX-License-Identifier: GPL-3.0-or-later

pragma solidity >=0.6.0;

// helper methods for interacting with ERC20 tokens and sending ETH that do not consistently return true/false
library TransferHelper {
    function safeApprove(
        address token,
        address to,
        uint256 value
    ) internal {
        // bytes4(keccak256(bytes('approve(address,uint256)')));
        (bool success, bytes memory data) = token.call(abi.encodeWithSelector(0x095ea7b3, to, value));
        require(success && (data.length == 0 || abi.decode(data, (bool))), 'TransferHelper: APPROVE_FAILED');
    }

    function safeTransfer(
        address token,
        address to,
        uint256 value
    ) internal {
        // bytes4(keccak256(bytes('transfer(address,uint256)')));
        (bool success, bytes memory data) = token.call(abi.encodeWithSelector(0xa9059cbb, to, value));
        require(success && (data.length == 0 || abi.decode(data, (bool))), 'TransferHelper: TRANSFER_FAILED');
    }

    function safeTransferFrom(
        address token,
        address from,
        address to,
        uint256 value
    ) internal {
        // bytes4(keccak256(bytes('transferFrom(address,address,uint256)')));
        (bool success, bytes memory data) = token.call(abi.encodeWithSelector(0x23b872dd, from, to, value));
        require(success && (data.length == 0 || abi.decode(data, (bool))), 'TransferHelper: TRANSFER_FROM_FAILED');
    }

    function safeTransferETH(address to, uint256 value) internal {
        (bool success, ) = to.call{value: value}(new bytes(0));
        require(success, 'TransferHelper: ETH_TRANSFER_FAILED');
    }
}

// File: contracts/artwork/SfpNFT.sol

pragma solidity =0.6.6;
pragma experimental ABIEncoderV2;







contract SfpNFT is ERC721Pausable, AccessControl, Ownable {
    bytes32 public constant UPDATE_TOKEN_URI_ROLE = keccak256('UPDATE_TOKEN_URI_ROLE');
    bytes32 public constant PAUSED_ROLE = keccak256('PAUSED_ROLE');
    uint256 public nextTokenId = 1;
    address public mintFeeAddr;
    uint256 public mintFeeAmount;
    event Burn(address indexed sender, uint256 tokenId);
    event MintFeeAddressTransferred(address indexed previousOwner, address indexed newOwner);
    event SetMintFeeAmount(address indexed seller, uint256 oldMintFeeAmount, uint256 newMintFeeAmount);

    constructor(
        string memory name,
        string memory symbol,
        address _mintFeeAddr,
        uint256 _mintFeeAmount
    ) public ERC721(name, symbol) {
        _setupRole(DEFAULT_ADMIN_ROLE, _msgSender());
        _setupRole(UPDATE_TOKEN_URI_ROLE, _msgSender());
        _setupRole(PAUSED_ROLE, _msgSender());
        mintFeeAddr = _mintFeeAddr;
        mintFeeAmount = _mintFeeAmount;
        emit MintFeeAddressTransferred(address(0), mintFeeAddr);
        emit SetMintFeeAmount(_msgSender(), 0, mintFeeAmount);
    }

    receive() external payable {}

    function __mint(address _to, string memory _tokenURI) internal returns (uint256 tokenId) {
        tokenId = nextTokenId;
        _mint(_to, tokenId);
        nextTokenId++;
        _setTokenURI(tokenId, _tokenURI);
    }

    function mint(address _to, string memory _tokenURI) public payable returns (uint256 tokenId) {
        require(msg.value >= mintFeeAmount, 'msg value too low');
        TransferHelper.safeTransferETH(mintFeeAddr, mintFeeAmount);
        tokenId = __mint(_to, _tokenURI);
        if (msg.value > mintFeeAmount) TransferHelper.safeTransferETH(msg.sender, msg.value - mintFeeAmount);
    }

    function batchMint(address _to, string[] memory _tokenURIs) public payable returns (uint256[] memory tokenIds) {
        uint256 totalMintFee = mintFeeAmount.mul(_tokenURIs.length);
        require(msg.value >= totalMintFee, 'msg value too low');
        TransferHelper.safeTransferETH(mintFeeAddr, totalMintFee);
        tokenIds = new uint256[](_tokenURIs.length);
        for (uint256 i = 0; i < _tokenURIs.length; i++) {
            tokenIds[i] = __mint(_to, _tokenURIs[i]);
        }
        if (msg.value > totalMintFee) TransferHelper.safeTransferETH(msg.sender, msg.value - totalMintFee);
    }

    function mintBulk(
        address _to,
        string memory _tokenURI,
        uint256 _size
    ) public payable returns (uint256[] memory tokenIds) {
        uint256 totalMintFee = mintFeeAmount.mul(_size);
        require(msg.value >= totalMintFee, 'msg value too low');
        TransferHelper.safeTransferETH(mintFeeAddr, totalMintFee);
        tokenIds = new uint256[](_size);
        for (uint256 i = 0; i < _size; i++) {
            tokenIds[i] = __mint(_to, _tokenURI);
        }
        if (msg.value > totalMintFee) TransferHelper.safeTransferETH(msg.sender, msg.value - totalMintFee);
    }

    function burn(uint256 tokenId) public {
        require(_isApprovedOrOwner(_msgSender(), tokenId), 'caller is not owner nor approved');
        _burn(tokenId);
        emit Burn(_msgSender(), tokenId);
    }

    function setBaseURI(string memory baseURI) public {
        require(hasRole(UPDATE_TOKEN_URI_ROLE, _msgSender()), 'Must have update token uri role');
        _setBaseURI(baseURI);
    }

    function setTokenURI(uint256 tokenId, string memory tokenURI) public {
        require(hasRole(UPDATE_TOKEN_URI_ROLE, _msgSender()), 'Must have update token uri role');
        _setTokenURI(tokenId, tokenURI);
    }

    function pause() public whenNotPaused {
        require(hasRole(PAUSED_ROLE, _msgSender()), 'Must have pause role');
        _pause();
    }

    function unpause() public whenPaused {
        require(hasRole(PAUSED_ROLE, _msgSender()), 'Must have pause role');
        _unpause();
    }

    function transferMintFeeAddress(address _mintFeeAddr) public {
        require(_msgSender() == mintFeeAddr, 'FORBIDDEN');
        mintFeeAddr = _mintFeeAddr;
        emit MintFeeAddressTransferred(_msgSender(), mintFeeAddr);
    }

    function setMintFeeAmount(uint256 _mintFeeAmount) public onlyOwner {
        require(mintFeeAmount != _mintFeeAmount, 'Not need update');
        emit SetMintFeeAmount(_msgSender(), mintFeeAmount, _mintFeeAmount);
        mintFeeAmount = _mintFeeAmount;
    }

    function transferAnyERC20Token(address tokenAddress, uint256 amount) public onlyOwner {
        IERC20(tokenAddress).transfer(owner(), amount);
    }

    function transferAnyERC721Token(address tokenAddress, uint256 tokenId) public onlyOwner {
        IERC721(tokenAddress).transferFrom(address(this), owner(), tokenId);
    }

    function transferEther() public onlyOwner {
        (_msgSender()).transfer(address(this).balance);
    }
}

Contract ABI

[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"address","name":"_mintFeeAddr","type":"address"},{"internalType":"uint256","name":"_mintFeeAmount","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Burn","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"MintFeeAddressTransferred","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":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"seller","type":"address"},{"indexed":false,"internalType":"uint256","name":"oldMintFeeAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newMintFeeAmount","type":"uint256"}],"name":"SetMintFeeAmount","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PAUSED_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"UPDATE_TOKEN_URI_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"string[]","name":"_tokenURIs","type":"string[]"}],"name":"batchMint","outputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getRoleMember","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleMemberCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"string","name":"_tokenURI","type":"string"}],"name":"mint","outputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"string","name":"_tokenURI","type":"string"},{"internalType":"uint256","name":"_size","type":"uint256"}],"name":"mintBulk","outputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintFeeAddr","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintFeeAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextTokenId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintFeeAmount","type":"uint256"}],"name":"setMintFeeAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"string","name":"tokenURI","type":"string"}],"name":"setTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferAnyERC20Token","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferAnyERC721Token","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"transferEther","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_mintFeeAddr","type":"address"}],"name":"transferMintFeeAddress","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"},{"stateMutability":"payable","type":"receive"}]

60806040526001600d553480156200001657600080fd5b5060405162004ac138038062004ac1833981016040819052620000399162000541565b8383620000566301ffc9a760e01b6001600160e01b036200026216565b81516200006b906006906020850190620003f8565b50805162000081906007906020840190620003f8565b506200009d6380ac58cd60e01b6001600160e01b036200026216565b620000b8635b5e139f60e01b6001600160e01b036200026216565b620000d363780e9d6360e01b6001600160e01b036200026216565b5050600a805460ff191690556000620000f46001600160e01b03620002bd16565b600c80546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506200016a60006200015b6001600160e01b03620002bd16565b6001600160e01b03620002c216565b620001986040516200017c90620005e7565b6040519081900390206200015b6001600160e01b03620002bd16565b620001aa6040516200017c90620005d0565b600e80546001600160a01b0319166001600160a01b038481169190911791829055600f8390556040519116906000907fb55e540bc4aff5195703d7c24c8acdce597e5786b44df9ca3202f686313c9846908290a3620002116001600160e01b03620002bd16565b6001600160a01b03167f5333df160d2d64e9a08458ca4dbcffa141c7b398a94ec77e02960c4478ab268e6000600f546040516200025092919062000610565b60405180910390a25050505062000655565b6001600160e01b03198082161415620002985760405162461bcd60e51b81526004016200028f906200061e565b60405180910390fd5b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b335b90565b620002d782826001600160e01b03620002db16565b5050565b6000828152600b6020908152604090912062000302918390620028ec6200035f821b17901c565b15620002d7576200031b6001600160e01b03620002bd16565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b60006200037f836001600160a01b0384166001600160e01b036200038816565b90505b92915050565b60006200039f83836001600160e01b03620003e016565b620003d75750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915562000382565b50600062000382565b60009081526001919091016020526040902054151590565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200043b57805160ff19168380011785556200046b565b828001600101855582156200046b579182015b828111156200046b5782518255916020019190600101906200044e565b50620004799291506200047d565b5090565b620002bf91905b8082111562000479576000815560010162000484565b600082601f830112620004ab578081fd5b81516001600160401b0380821115620004c2578283fd5b6040516020601f8401601f1916820181018381118382101715620004e4578586fd5b806040525081945083825286818588010111156200050157600080fd5b600092505b8383101562000525578583018101518284018201529182019162000506565b83831115620005375760008185840101525b5050505092915050565b6000806000806080858703121562000557578384fd5b84516001600160401b03808211156200056e578586fd5b6200057c888389016200049a565b9550602087015191508082111562000592578485fd5b50620005a1878288016200049a565b604087015190945090506001600160a01b0381168114620005c0578283fd5b6060959095015193969295505050565b6a5041555345445f524f4c4560a81b8152600b0190565b7f5550444154455f544f4b454e5f5552495f524f4c450000000000000000000000815260150190565b918252602082015260400190565b6020808252601c908201527f4552433136353a20696e76616c696420696e7465726661636520696400000000604082015260600190565b61445c80620006656000396000f3fe60806040526004361061030c5760003560e01c806375794a3c1161019a578063ae57937b116100e1578063d547741f1161008a578063f2f18baa11610064578063f2f18baa1461081a578063f2fde38b1461083a578063f43fac131461085a57610313565b8063d547741f146107ba578063dc39d06d146107da578063e985e9c5146107fa57610313565b8063c9b25f0f116100bb578063c9b25f0f14610772578063ca15c87314610787578063d0def521146107a757610313565b8063ae57937b1461071d578063b88d4fde14610732578063c87b56dd1461075257610313565b806391d1485411610143578063a217fddf1161011d578063a217fddf146106d3578063a22cb465146106e8578063ac4732b91461070857610313565b806391d148541461067e5780639247cfe61461069e57806395d89b41146106be57610313565b80638da5cb5b116101745780638da5cb5b146106295780639010d07c1461063e57806390750d071461065e57610313565b806375794a3c146105ea5780637e622c56146105ff5780638456cb591461061457610313565b806336568abe1161025e5780635c975abb116102075780636c0360eb116101e15780636c0360eb146105a057806370a08231146105b5578063715018a6146105d557610313565b80635c975abb146105565780636352211e1461056b5780636a857ed21461058b57610313565b806342966c681161023857806342966c68146104f65780634f6ccce71461051657806355f804b31461053657610313565b806336568abe146104a15780633f4ba83a146104c157806342842e0e146104d657610313565b8063162094c4116102c0578063248a9ca31161029a578063248a9ca3146104415780632f2ff15d146104615780632f745c591461048157610313565b8063162094c4146103df57806318160ddd146103ff57806323b872dd1461042157610313565b8063081812fc116102f1578063081812fc14610370578063095ea7b31461039d5780630ed4d456146103bf57610313565b806301ffc9a71461031857806306fdde031461034e57610313565b3661031357005b600080fd5b34801561032457600080fd5b506103386103333660046135c6565b61086d565b60405161034591906138bc565b60405180910390f35b34801561035a57600080fd5b506103636108a8565b60405161034591906138d0565b34801561037c57600080fd5b5061039061038b366004613569565b61095d565b60405161034591906137b7565b3480156103a957600080fd5b506103bd6103b8366004613523565b6109d0565b005b3480156103cb57600080fd5b506103bd6103da3660046132ad565b610ad0565b3480156103eb57600080fd5b506103bd6103fa366004613631565b610bd2565b34801561040b57600080fd5b50610414610c35565b60405161034591906138c7565b34801561042d57600080fd5b506103bd61043c3660046132fc565b610c46565b34801561044d57600080fd5b5061041461045c366004613569565b610c98565b34801561046d57600080fd5b506103bd61047c366004613581565b610cad565b34801561048d57600080fd5b5061041461049c366004613523565b610d0b565b3480156104ad57600080fd5b506103bd6104bc366004613581565b610d49565b3480156104cd57600080fd5b506103bd610dbf565b3480156104e257600080fd5b506103bd6104f13660046132fc565b610e4a565b34801561050257600080fd5b506103bd610511366004613569565b610e65565b34801561052257600080fd5b50610414610531366004613569565b610f07565b34801561054257600080fd5b506103bd6105513660046135fe565b610f23565b34801561056257600080fd5b50610338610f74565b34801561057757600080fd5b50610390610586366004613569565b610f7d565b34801561059757600080fd5b50610390610fab565b3480156105ac57600080fd5b50610363610fc7565b3480156105c157600080fd5b506104146105d03660046132ad565b611046565b3480156105e157600080fd5b506103bd6110c3565b3480156105f657600080fd5b5061041461118e565b34801561060b57600080fd5b50610414611194565b34801561062057600080fd5b506103bd6111ab565b34801561063557600080fd5b50610390611235565b34801561064a57600080fd5b506103906106593660046135a5565b611251565b34801561066a57600080fd5b506103bd610679366004613523565b61126f565b34801561068a57600080fd5b50610338610699366004613581565b611345565b3480156106aa57600080fd5b506103bd6106b9366004613569565b611363565b3480156106ca57600080fd5b50610363611459565b3480156106df57600080fd5b506104146114d8565b3480156106f457600080fd5b506103bd610703366004613448565b6114dd565b34801561071457600080fd5b50610414611617565b34801561072957600080fd5b5061041461161d565b34801561073e57600080fd5b506103bd61074d36600461333c565b611629565b34801561075e57600080fd5b5061036361076d366004613569565b611682565b34801561077e57600080fd5b506103bd611822565b34801561079357600080fd5b506104146107a2366004613569565b6118cb565b6104146107b536600461347f565b6118e2565b3480156107c657600080fd5b506103bd6107d5366004613581565b61196a565b3480156107e657600080fd5b506103bd6107f5366004613523565b6119be565b34801561080657600080fd5b506103386108153660046132c8565b611aae565b61082d6108283660046133a4565b611ae9565b6040516103459190613878565b34801561084657600080fd5b506103bd6108553660046132ad565b611c0b565b61082d6108683660046134cd565b611d42565b7fffffffff00000000000000000000000000000000000000000000000000000000811660009081526020819052604090205460ff165b919050565b60068054604080516020601f60027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156109525780601f1061092757610100808354040283529160200191610952565b820191906000526020600020905b81548152906001019060200180831161093557829003601f168201915b505050505090505b90565b600061096882611e47565b6109a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161099e90613f2c565b60405180910390fd5b5060009081526004602052604090205473ffffffffffffffffffffffffffffffffffffffff1690565b60006109db82610f7d565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610a43576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161099e90614141565b8073ffffffffffffffffffffffffffffffffffffffff16610a62611e5a565b73ffffffffffffffffffffffffffffffffffffffff161480610a8b5750610a8b81610815611e5a565b610ac1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161099e90613cde565b610acb8383611e5e565b505050565b600e5473ffffffffffffffffffffffffffffffffffffffff16610af1611e5a565b73ffffffffffffffffffffffffffffffffffffffff1614610b3e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161099e90613d3b565b600e80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff838116919091179182905516610b8d611e5a565b73ffffffffffffffffffffffffffffffffffffffff167fb55e540bc4aff5195703d7c24c8acdce597e5786b44df9ca3202f686313c984660405160405180910390a350565b610bf1604051610be19061378e565b6040518091039020610699611e5a565b610c27576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161099e90613f89565b610c318282611efe565b5050565b6000610c416002611f5c565b905090565b610c57610c51611e5a565b82611f67565b610c8d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161099e9061419e565b610acb83838361203a565b6000908152600b602052604090206002015490565b6000828152600b6020526040902060020154610ccb90610699611e5a565b610d01576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161099e9061399d565b610c3182826121e9565b73ffffffffffffffffffffffffffffffffffffffff82166000908152600160205260408120610d40908363ffffffff61227216565b90505b92915050565b610d51611e5a565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610db5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161099e9061428f565b610c31828261227e565b600a5460ff16610dfb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161099e906139fa565b610e0a604051610be190613765565b610e40576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161099e90613a31565b610e48612307565b565b610acb83838360405180602001604052806000815250611629565b610e70610c51611e5a565b610ea6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161099e9061410c565b610eaf816123ab565b610eb7611e5a565b73ffffffffffffffffffffffffffffffffffffffff167fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca582604051610efc91906138c7565b60405180910390a250565b600080610f1b60028463ffffffff6124bc16565b509392505050565b610f32604051610be19061378e565b610f68576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161099e90613f89565b610f71816124d8565b50565b600a5460ff1690565b6000610d43826040518060600160405280602981526020016143fe602991396002919063ffffffff6124eb16565b600e5473ffffffffffffffffffffffffffffffffffffffff1681565b60098054604080516020601f60027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156109525780601f1061092757610100808354040283529160200191610952565b600073ffffffffffffffffffffffffffffffffffffffff8216611095576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161099e90613d72565b73ffffffffffffffffffffffffffffffffffffffff82166000908152600160205260409020610d4390611f5c565b6110cb611e5a565b600c5473ffffffffffffffffffffffffffffffffffffffff90811691161461111f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161099e9061401d565b600c5460405160009173ffffffffffffffffffffffffffffffffffffffff16907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600c80547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b600d5481565b6040516111a09061378e565b604051809103902081565b600a5460ff16156111e8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161099e90613ca7565b6111f7604051610be190613765565b61122d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161099e90613a31565b610e48612502565b600c5473ffffffffffffffffffffffffffffffffffffffff1690565b6000828152600b60205260408120610d40908363ffffffff61227216565b611277611e5a565b600c5473ffffffffffffffffffffffffffffffffffffffff9081169116146112cb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161099e9061401d565b8173ffffffffffffffffffffffffffffffffffffffff166323b872dd306112f0611235565b846040518463ffffffff1660e01b815260040161130f939291906137d8565b600060405180830381600087803b15801561132957600080fd5b505af115801561133d573d6000803e3d6000fd5b505050505050565b6000828152600b60205260408120610d40908363ffffffff61259316565b61136b611e5a565b600c5473ffffffffffffffffffffffffffffffffffffffff9081169116146113bf576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161099e9061401d565b80600f5414156113fb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161099e90613e06565b611403611e5a565b73ffffffffffffffffffffffffffffffffffffffff167f5333df160d2d64e9a08458ca4dbcffa141c7b398a94ec77e02960c4478ab268e600f548360405161144c9291906142ec565b60405180910390a2600f55565b60078054604080516020601f60027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156109525780601f1061092757610100808354040283529160200191610952565b600081565b6114e5611e5a565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561154a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161099e90613bb6565b8060056000611557611e5a565b73ffffffffffffffffffffffffffffffffffffffff90811682526020808301939093526040918201600090812091871680825291909352912080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016921515929092179091556115c6611e5a565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161160b91906138bc565b60405180910390a35050565b600f5481565b6040516111a090613765565b61163a611634611e5a565b83611f67565b611670576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161099e9061419e565b61167c848484846125b5565b50505050565b606061168d82611e47565b6116c3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161099e906140af565b60008281526008602090815260409182902080548351601f60027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6101006001861615020190931692909204918201849004840281018401909452808452606093928301828280156117765780601f1061174b57610100808354040283529160200191611776565b820191906000526020600020905b81548152906001019060200180831161175957829003601f168201915b505060095493945050505060027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff61010060018416150201909116046117bd5790506108a3565b8051156117ef576009816040516020016117d89291906136c6565b6040516020818303038152906040529150506108a3565b60096117fa84612602565b60405160200161180b9291906136c6565b604051602081830303815290604052915050919050565b61182a611e5a565b600c5473ffffffffffffffffffffffffffffffffffffffff90811691161461187e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161099e9061401d565b611886611e5a565b73ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015610f71573d6000803e3d6000fd5b6000818152600b60205260408120610d4390611f5c565b6000600f54341015611920576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161099e90613dcf565b600e54600f546119469173ffffffffffffffffffffffffffffffffffffffff169061272f565b61195083836127e3565b9050600f54341115610d4357610d4333600f54340361272f565b6000828152600b602052604090206002015461198890610699611e5a565b610db5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161099e90613c4a565b6119c6611e5a565b600c5473ffffffffffffffffffffffffffffffffffffffff908116911614611a1a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161099e9061401d565b8173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb611a3e611235565b836040518363ffffffff1660e01b8152600401611a5c929190613852565b602060405180830381600087803b158015611a7657600080fd5b505af1158015611a8a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610acb919061354d565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260056020908152604080832093909416825291909152205460ff1690565b60606000611b038351600f5461280390919063ffffffff16565b905080341015611b3f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161099e90613dcf565b600e54611b629073ffffffffffffffffffffffffffffffffffffffff168261272f565b825167ffffffffffffffff81118015611b7a57600080fd5b50604051908082528060200260200182016040528015611ba4578160200160208202803683370190505b50915060005b8351811015611bef57611bd085858381518110611bc357fe5b60200260200101516127e3565b838281518110611bdc57fe5b6020908102919091010152600101611baa565b5080341115611c0457611c043382340361272f565b5092915050565b611c13611e5a565b600c5473ffffffffffffffffffffffffffffffffffffffff908116911614611c67576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161099e9061401d565b73ffffffffffffffffffffffffffffffffffffffff8116611cb4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161099e90613ac5565b600c5460405173ffffffffffffffffffffffffffffffffffffffff8084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600c80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b60606000611d5b83600f5461280390919063ffffffff16565b905080341015611d97576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161099e90613dcf565b600e54611dba9073ffffffffffffffffffffffffffffffffffffffff168261272f565b8267ffffffffffffffff81118015611dd157600080fd5b50604051908082528060200260200182016040528015611dfb578160200160208202803683370190505b50915060005b83811015611e3257611e1386866127e3565b838281518110611e1f57fe5b6020908102919091010152600101611e01565b5080341115610f1b57610f1b3382340361272f565b6000610d4360028363ffffffff61285716565b3390565b600081815260046020526040902080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff84169081179091558190611eb882610f7d565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b611f0782611e47565b611f3d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161099e90613fc0565b60008281526008602090815260409091208251610acb9284019061312a565b6000610d4382612863565b6000611f7282611e47565b611fa8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161099e90613bed565b6000611fb383610f7d565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061202257508373ffffffffffffffffffffffffffffffffffffffff1661200a8461095d565b73ffffffffffffffffffffffffffffffffffffffff16145b8061203257506120328185611aae565b949350505050565b8273ffffffffffffffffffffffffffffffffffffffff1661205a82610f7d565b73ffffffffffffffffffffffffffffffffffffffff16146120a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161099e90614052565b73ffffffffffffffffffffffffffffffffffffffff82166120f4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161099e90613b59565b6120ff838383612867565b61210a600082611e5e565b73ffffffffffffffffffffffffffffffffffffffff8316600090815260016020526040902061213f908263ffffffff6128b116565b5073ffffffffffffffffffffffffffffffffffffffff82166000908152600160205260409020612175908263ffffffff6128bd16565b506121886002828463ffffffff6128c916565b50808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000828152600b60205260409020612207908263ffffffff6128ec16565b15610c3157612214611e5a565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000610d40838361290e565b6000828152600b6020526040902061229c908263ffffffff61296d16565b15610c31576122a9611e5a565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45050565b600a5460ff16612343576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161099e906139fa565b600a80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa612394611e5a565b6040516123a191906137b7565b60405180910390a1565b60006123b682610f7d565b90506123c481600084612867565b6123cf600083611e5e565b60008281526008602052604090205460027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff61010060018416150201909116041561242b57600082815260086020526040812061242b916131a8565b73ffffffffffffffffffffffffffffffffffffffff81166000908152600160205260409020612460908363ffffffff6128b116565b5061247260028363ffffffff61298f16565b50604051829060009073ffffffffffffffffffffffffffffffffffffffff8416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b60008080806124cb868661299b565b9097909650945050505050565b8051610c3190600990602084019061312a565b60006124f8848484612a11565b90505b9392505050565b600a5460ff161561253f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161099e90613ca7565b600a80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258612394611e5a565b6000610d408373ffffffffffffffffffffffffffffffffffffffff8416612a8a565b6125c084848461203a565b6125cc84848484612aa2565b61167c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161099e90613a68565b606081612643575060408051808201909152600181527f300000000000000000000000000000000000000000000000000000000000000060208201526108a3565b8160005b811561265b57600101600a82049150612647565b60608167ffffffffffffffff8111801561267457600080fd5b506040519080825280601f01601f19166020018201604052801561269f576020820181803683370190505b5085935090507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82015b831561272657600a840660300160f81b828280600190039350815181106126ec57fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a840493506126c9565b50949350505050565b6040805160008082526020820190925273ffffffffffffffffffffffffffffffffffffffff841690839060405161276691906136aa565b60006040518083038185875af1925050503d80600081146127a3576040519150601f19603f3d011682016040523d82523d6000602084013e6127a8565b606091505b5050905080610acb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161099e90614232565b600d546127f08382612c15565b600d80546001019055610d438183611efe565b60008261281257506000610d43565b8282028284828161281f57fe5b0414610d40576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161099e90613ecf565b6000610d408383612a8a565b5490565b612872838383610acb565b61287a610f74565b15610acb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161099e90613940565b6000610d408383612d40565b6000610d408383612e24565b60006124f8848473ffffffffffffffffffffffffffffffffffffffff8516612e6e565b6000610d408373ffffffffffffffffffffffffffffffffffffffff8416612e24565b8154600090821061294b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161099e906138e3565b82600001828154811061295a57fe5b9060005260206000200154905092915050565b6000610d408373ffffffffffffffffffffffffffffffffffffffff8416612d40565b6000610d408383612f05565b8154600090819083106129da576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161099e90613e3d565b60008460000184815481106129eb57fe5b906000526020600020906002020190508060000154816001015492509250509250929050565b60008281526001840160205260408120548281612a5b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161099e91906138d0565b50846000016001820381548110612a6e57fe5b9060005260206000209060020201600101549150509392505050565b60009081526001919091016020526040902054151590565b6000612ac38473ffffffffffffffffffffffffffffffffffffffff16613015565b612acf57506001612032565b6060612bad7f150b7a0200000000000000000000000000000000000000000000000000000000612afd611e5a565b888787604051602401612b139493929190613809565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506040518060600160405280603281526020016143cc6032913973ffffffffffffffffffffffffffffffffffffffff8816919063ffffffff61301b16565b9050600081806020019051810190612bc591906135e2565b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a02000000000000000000000000000000000000000000000000000000001492505050949350505050565b73ffffffffffffffffffffffffffffffffffffffff8216612c62576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161099e90613e9a565b612c6b81611e47565b15612ca2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161099e90613b22565b612cae60008383612867565b73ffffffffffffffffffffffffffffffffffffffff82166000908152600160205260409020612ce3908263ffffffff6128bd16565b50612cf66002828463ffffffff6128c916565b50604051819073ffffffffffffffffffffffffffffffffffffffff8416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60008181526001830160205260408120548015612e1a5783547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8083019190810190600090879083908110612d9157fe5b9060005260206000200154905080876000018481548110612dae57fe5b600091825260208083209091019290925582815260018981019092526040902090840190558654879080612dde57fe5b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050610d43565b6000915050610d43565b6000612e308383612a8a565b612e6657508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610d43565b506000610d43565b600082815260018401602052604081205480612ed35750506040805180820182528381526020808201848152865460018181018955600089815284812095516002909302909501918255915190820155865486845281880190925292909120556124fb565b82856000016001830381548110612ee657fe5b90600052602060002090600202016001018190555060009150506124fb565b60008181526001830160205260408120548015612e1a5783547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8083019190810190600090879083908110612f5657fe5b9060005260206000209060020201905080876000018481548110612f7657fe5b600091825260208083208454600290930201918255600193840154918401919091558354825289830190526040902090840190558654879080612fb557fe5b6000828152602080822060027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9094019384020182815560019081018390559290935588815289820190925260408220919091559450610d439350505050565b3b151590565b60606124f88484600085606061303085613015565b613066576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161099e906141fb565b600060608673ffffffffffffffffffffffffffffffffffffffff16858760405161309091906136aa565b60006040518083038185875af1925050503d80600081146130cd576040519150601f19603f3d011682016040523d82523d6000602084013e6130d2565b606091505b509150915081156130e65791506120329050565b8051156130f65780518082602001fd5b836040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161099e91906138d0565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061316b57805160ff1916838001178555613198565b82800160010185558215613198579182015b8281111561319857825182559160200191906001019061317d565b506131a49291506131e8565b5090565b50805460018160011615610100020316600290046000825580601f106131ce5750610f71565b601f016020900490600052602060002090810190610f7191905b61095a91905b808211156131a457600081556001016131ee565b803573ffffffffffffffffffffffffffffffffffffffff81168114610d4357600080fd5b600082601f830112613236578081fd5b813567ffffffffffffffff81111561324c578182fd5b61327d60207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f840116016142fa565b915080825283602082850101111561329457600080fd5b8060208401602084013760009082016020015292915050565b6000602082840312156132be578081fd5b610d408383613202565b600080604083850312156132da578081fd5b6132e48484613202565b91506132f38460208501613202565b90509250929050565b600080600060608486031215613310578081fd5b833561331b8161436d565b9250602084013561332b8161436d565b929592945050506040919091013590565b60008060008060808587031215613351578081fd5b61335b8686613202565b935061336a8660208701613202565b925060408501359150606085013567ffffffffffffffff81111561338c578182fd5b61339887828801613226565b91505092959194509250565b600080604083850312156133b6578182fd5b82356133c18161436d565b915060208381013567ffffffffffffffff8111156133dd578283fd5b80850186601f8201126133ee578384fd5b803591506134036133fe83614321565b6142fa565b82815283810190828501865b85811015613438576134268b888435880101613226565b8452928601929086019060010161340f565b5096999098509650505050505050565b6000806040838503121561345a578182fd5b6134648484613202565b915060208301356134748161438f565b809150509250929050565b60008060408385031215613491578182fd5b823561349c8161436d565b9150602083013567ffffffffffffffff8111156134b7578182fd5b6134c385828601613226565b9150509250929050565b6000806000606084860312156134e1578283fd5b6134eb8585613202565b9250602084013567ffffffffffffffff811115613506578283fd5b61351286828701613226565b925050604084013590509250925092565b60008060408385031215613535578182fd5b61353f8484613202565b946020939093013593505050565b60006020828403121561355e578081fd5b8151610d408161438f565b60006020828403121561357a578081fd5b5035919050565b60008060408385031215613593578182fd5b8235915060208301356134748161436d565b600080604083850312156135b7578182fd5b50508035926020909101359150565b6000602082840312156135d7578081fd5b8135610d408161439d565b6000602082840312156135f3578081fd5b8151610d408161439d565b60006020828403121561360f578081fd5b813567ffffffffffffffff811115613625578182fd5b61203284828501613226565b60008060408385031215613643578182fd5b82359150602083013567ffffffffffffffff8111156134b7578182fd5b60008151808452613678816020860160208601614341565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b600082516136bc818460208701614341565b9190910192915050565b60008084546001808216600081146136e5576001811461371a57613749565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0083168652607f600284041686019350613749565b600283048886526020808720875b838110156137415781548a820152908501908201613728565b505050860193505b505050835161375c818360208801614341565b01949350505050565b7f5041555345445f524f4c450000000000000000000000000000000000000000008152600b0190565b7f5550444154455f544f4b454e5f5552495f524f4c450000000000000000000000815260150190565b73ffffffffffffffffffffffffffffffffffffffff91909116815260200190565b73ffffffffffffffffffffffffffffffffffffffff9384168152919092166020820152604081019190915260600190565b600073ffffffffffffffffffffffffffffffffffffffff8087168352808616602084015250836040830152608060608301526138486080830184613660565b9695505050505050565b73ffffffffffffffffffffffffffffffffffffffff929092168252602082015260400190565b6020808252825182820181905260009190848201906040850190845b818110156138b057835183529284019291840191600101613894565b50909695505050505050565b901515815260200190565b90815260200190565b600060208252610d406020830184613660565b60208082526022908201527f456e756d657261626c655365743a20696e646578206f7574206f6620626f756e60408201527f6473000000000000000000000000000000000000000000000000000000000000606082015260800190565b6020808252602b908201527f4552433732315061757361626c653a20746f6b656e207472616e73666572207760408201527f68696c6520706175736564000000000000000000000000000000000000000000606082015260800190565b6020808252602f908201527f416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e60408201527f2061646d696e20746f206772616e740000000000000000000000000000000000606082015260800190565b60208082526014908201527f5061757361626c653a206e6f7420706175736564000000000000000000000000604082015260600190565b60208082526014908201527f4d757374206861766520706175736520726f6c65000000000000000000000000604082015260600190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527f63656976657220696d706c656d656e7465720000000000000000000000000000606082015260800190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201527f6464726573730000000000000000000000000000000000000000000000000000606082015260800190565b6020808252601c908201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604082015260600190565b60208082526024908201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460408201527f7265737300000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526019908201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604082015260600190565b6020808252602c908201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860408201527f697374656e7420746f6b656e0000000000000000000000000000000000000000606082015260800190565b60208082526030908201527f416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e60408201527f2061646d696e20746f207265766f6b6500000000000000000000000000000000606082015260800190565b60208082526010908201527f5061757361626c653a2070617573656400000000000000000000000000000000604082015260600190565b60208082526038908201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760408201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606082015260800190565b60208082526009908201527f464f5242494444454e0000000000000000000000000000000000000000000000604082015260600190565b6020808252602a908201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560408201527f726f206164647265737300000000000000000000000000000000000000000000606082015260800190565b60208082526011908201527f6d73672076616c756520746f6f206c6f77000000000000000000000000000000604082015260600190565b6020808252600f908201527f4e6f74206e656564207570646174650000000000000000000000000000000000604082015260600190565b60208082526022908201527f456e756d657261626c654d61703a20696e646578206f7574206f6620626f756e60408201527f6473000000000000000000000000000000000000000000000000000000000000606082015260800190565b6020808252818101527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604082015260600190565b60208082526021908201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f60408201527f7700000000000000000000000000000000000000000000000000000000000000606082015260800190565b6020808252602c908201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860408201527f697374656e7420746f6b656e0000000000000000000000000000000000000000606082015260800190565b6020808252601f908201527f4d75737420686176652075706461746520746f6b656e2075726920726f6c6500604082015260600190565b6020808252602c908201527f4552433732314d657461646174613a2055524920736574206f66206e6f6e657860408201527f697374656e7420746f6b656e0000000000000000000000000000000000000000606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526029908201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960408201527f73206e6f74206f776e0000000000000000000000000000000000000000000000606082015260800190565b6020808252602f908201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60408201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000606082015260800190565b6020808252818101527f63616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564604082015260600190565b60208082526021908201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560408201527f7200000000000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60408201527f776e6572206e6f7220617070726f766564000000000000000000000000000000606082015260800190565b6020808252601d908201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604082015260600190565b60208082526023908201527f5472616e7366657248656c7065723a204554485f5452414e534645525f46414960408201527f4c45440000000000000000000000000000000000000000000000000000000000606082015260800190565b6020808252602f908201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560408201527f20726f6c657320666f722073656c660000000000000000000000000000000000606082015260800190565b918252602082015260400190565b60405181810167ffffffffffffffff8111828210171561431957600080fd5b604052919050565b600067ffffffffffffffff821115614337578081fd5b5060209081020190565b60005b8381101561435c578181015183820152602001614344565b8381111561167c5750506000910152565b73ffffffffffffffffffffffffffffffffffffffff81168114610f7157600080fd5b8015158114610f7157600080fd5b7fffffffff0000000000000000000000000000000000000000000000000000000081168114610f7157600080fdfe4552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465724552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656ea2646970667358221220b0bc1a301375aa5aca4b85f58676e7bce6e4a5cff91ef5c99380eaab8119f4c764736f6c63430006060033000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000b345ad207cc586ce1f4c8e0f86537f744d4efb89000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000067366704e4654000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000067366704e46540000000000000000000000000000000000000000000000000000

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

000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000b345ad207cc586ce1f4c8e0f86537f744d4efb89000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000067366704e4654000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000067366704e46540000000000000000000000000000000000000000000000000000

-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 000000000000000000000000b345ad207cc586ce1f4c8e0f86537f744d4efb89
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [5] : 7366704e46540000000000000000000000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [7] : 7366704e46540000000000000000000000000000000000000000000000000000


Deployed ByteCode Sourcemap

74984:4965:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12:1:-1;9;2:12;34941:142:0;;5:9:-1;2:2;;;27:1;24;17:12;2:2;-1:-1;34941:142:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;55052:92;;5:9:-1;2:2;;;27:1;24;17:12;2:2;55052:92:0;;;:::i;:::-;;;;;;;;57739:213;;5:9:-1;2:2;;;27:1;24;17:12;2:2;-1:-1;57739:213:0;;;;;;;;:::i;:::-;;;;;;;;57283:390;;5:9:-1;2:2;;;27:1;24;17:12;2:2;-1:-1;57283:390:0;;;;;;;;:::i;:::-;;78985:234;;5:9:-1;2:2;;;27:1;24;17:12;2:2;-1:-1;78985:234:0;;;;;;;;:::i;78456:218::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;-1:-1;78456:218:0;;;;;;;;:::i;56777:203::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;56777:203:0;;;:::i;:::-;;;;;;;;58613:305;;5:9:-1;2:2;;;27:1;24;17:12;2:2;-1:-1;58613:305:0;;;;;;;;:::i;22372:114::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;-1:-1;22372:114:0;;;;;;;;:::i;22748:227::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;-1:-1;22748:227:0;;;;;;;;:::i;56547:154::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;-1:-1;56547:154:0;;;;;;;;:::i;23957:209::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;-1:-1;23957:209:0;;;;;;;;:::i;78833:144::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;78833:144:0;;;:::i;58989:151::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;-1:-1;58989:151:0;;;;;;;;:::i;78041:211::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;-1:-1;78041:211:0;;;;;;;;:::i;57057:164::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;-1:-1;57057:164:0;;;;;;;;:::i;78260:188::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;-1:-1;78260:188:0;;;;;;;;:::i;68764:78::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;68764:78:0;;;:::i;54816:169::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;-1:-1;54816:169:0;;;;;;;;:::i;75244:26::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;75244:26:0;;;:::i;56374:89::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;56374:89:0;;;:::i;54539:215::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;-1:-1;54539:215:0;;;;;;;;:::i;72574:148::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;72574:148:0;;;:::i;75207:30::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;75207:30:0;;;:::i;75049:82::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;75049:82:0;;;:::i;78682:143::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;78682:143:0;;;:::i;71932:79::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;71932:79:0;;;:::i;22045:138::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;-1:-1;22045:138:0;;;;;;;;:::i;79657:174::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;-1:-1;79657:174:0;;;;;;;;:::i;21006:139::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;-1:-1;21006:139:0;;;;;;;;:::i;79227:263::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;-1:-1;79227:263:0;;;;;;;;:::i;55213:96::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;55213:96:0;;;:::i;19751:49::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;19751:49:0;;;:::i;58024:295::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;-1:-1;58024:295:0;;;;;;;;:::i;75277:28::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;75277:28:0;;;:::i;75138:62::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;75138:62:0;;;:::i;59211:285::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;-1:-1;59211:285:0;;;;;;;;:::i;55380:755::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;-1:-1;55380:755:0;;;;;;;;:::i;79839:107::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;79839:107:0;;;:::i;21319:127::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;-1:-1;21319:127:0;;;;;;;;:::i;76399:391::-;;;;;;;;;:::i;23220:230::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;-1:-1;23220:230:0;;;;;;;;:::i;79498:151::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;-1:-1;79498:151:0;;;;;;;;:::i;58390:156::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;-1:-1;58390:156:0;;;;;;;;:::i;76798:611::-;;;;;;;;;:::i;:::-;;;;;;;;72877:244;;5:9:-1;2:2;;;27:1;24;17:12;2:2;-1:-1;72877:244:0;;;;;;;;:::i;77417:616::-;;;;;;;;;:::i;34941:142::-;35042:33;;;35018:4;35042:33;;;;;;;;;;;;;34941:142;;;;:::o;55052:92::-;55131:5;55124:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55098:13;;55124:12;;55131:5;;55124:12;;55131:5;55124:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55052:92;;:::o;57739:213::-;57807:7;57835:16;57843:7;57835;:16::i;:::-;57827:73;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;57920:24:0;;;;:15;:24;;;;;;;;;57739:213::o;57283:390::-;57364:13;57380:16;57388:7;57380;:16::i;:::-;57364:32;;57421:5;57415:11;;:2;:11;;;;57407:57;;;;;;;;;;;;;;57501:5;57485:21;;:12;:10;:12::i;:::-;:21;;;:62;;;;57510:37;57527:5;57534:12;:10;:12::i;57510:37::-;57477:154;;;;;;;;;;;;;;57644:21;57653:2;57657:7;57644:8;:21::i;:::-;57283:390;;;:::o;78985:234::-;79081:11;;;;79065:12;:10;:12::i;:::-;:27;;;79057:49;;;;;;;;;;;;;;79117:11;:26;;;;;;;;;;;;;;;;79199:11;79185:12;:10;:12::i;:::-;79159:52;;;;;;;;;;;;78985:234;:::o;78456:218::-;78544:44;75097:34;;;;;;;;;;;;;;78575:12;:10;:12::i;78544:44::-;78536:88;;;;;;;;;;;;;;78635:31;78648:7;78657:8;78635:12;:31::i;:::-;78456:218;;:::o;56777:203::-;56830:7;56951:21;:12;:19;:21::i;:::-;56944:28;;56777:203;:::o;58613:305::-;58774:41;58793:12;:10;:12::i;:::-;58807:7;58774:18;:41::i;:::-;58766:103;;;;;;;;;;;;;;58882:28;58892:4;58898:2;58902:7;58882:9;:28::i;22372:114::-;22429:7;22456:12;;;:6;:12;;;;;:22;;;;22372:114::o;22748:227::-;22840:12;;;;:6;:12;;;;;:22;;;22832:45;;22864:12;:10;:12::i;22832:45::-;22824:105;;;;;;;;;;;;;;22942:25;22953:4;22959:7;22942:10;:25::i;56547:154::-;56663:20;;;56636:7;56663:20;;;:13;:20;;;;;:30;;56687:5;56663:30;:23;:30;:::i;:::-;56656:37;;56547:154;;;;;:::o;23957:209::-;24055:12;:10;:12::i;:::-;24044:23;;:7;:23;;;24036:83;;;;;;;;;;;;;;24132:26;24144:4;24150:7;24132:11;:26::i;78833:144::-;69358:7;;;;69350:40;;;;;;;;;;;;;;78889:34:::1;75176:24;;;;;;78889:34;78881:67;;;;;;;;;;;;;;78959:10;:8;:10::i;:::-;78833:144::o:0;58989:151::-;59093:39;59110:4;59116:2;59120:7;59093:39;;;;;;;;;;;;:16;:39::i;78041:211::-;78098:41;78117:12;:10;:12::i;78098:41::-;78090:86;;;;;;;;;;;;;;78187:14;78193:7;78187:5;:14::i;:::-;78222:12;:10;:12::i;:::-;78217:27;;;78236:7;78217:27;;;;;;;;;;;;;;;78041:211;:::o;57057:164::-;57124:7;;57166:22;:12;57182:5;57166:22;:15;:22;:::i;:::-;-1:-1:-1;57144:44:0;57057:164;-1:-1:-1;;;57057:164:0:o;78260:188::-;78329:44;75097:34;;;;;;78329:44;78321:88;;;;;;;;;;;;;;78420:20;78432:7;78420:11;:20::i;:::-;78260:188;:::o;68764:78::-;68827:7;;;;68764:78;:::o;54816:169::-;54880:7;54907:70;54924:7;54907:70;;;;;;;;;;;;;;;;;:12;;:70;;:16;:70;:::i;75244:26::-;;;;;;:::o;56374:89::-;56447:8;56440:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56414:13;;56440:15;;56447:8;;56440:15;;56447:8;56440:15;;;;;;;;;;;;;;;;;;;;;;;;54539:215;54603:7;54631:19;;;54623:74;;;;;;;;;;;;;;54717:20;;;;;;;:13;:20;;;;;:29;;:27;:29::i;72574:148::-;72154:12;:10;:12::i;:::-;72144:6;;:22;:6;;;:22;;;72136:67;;;;;;;;;;;;;;72665:6:::1;::::0;72644:40:::1;::::0;72681:1:::1;::::0;72644:40:::1;72665:6;::::0;72644:40:::1;::::0;72681:1;;72644:40:::1;72695:6;:19:::0;;;::::1;::::0;;72574:148::o;75207:30::-;;;;:::o;75049:82::-;75097:34;;;;;;;;;;;;;;75049:82;:::o;78682:143::-;69082:7;;;;69081:8;69073:37;;;;;;;;;;;;;;78739:34:::1;75176:24;;;;;;78739:34;78731:67;;;;;;;;;;;;;;78809:8;:6;:8::i;71932:79::-:0;71997:6;;;;71932:79;:::o;22045:138::-;22118:7;22145:12;;;:6;:12;;;;;:30;;22169:5;22145:30;:23;:30;:::i;79657:174::-;72154:12;:10;:12::i;:::-;72144:6;;:22;:6;;;:22;;;72136:67;;;;;;;;;;;;;;79764:12:::1;79756:34;;;79799:4;79806:7;:5;:7::i;:::-;79815;79756:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24::::0;17:12:::1;2:2;79756:67:0;;;;8:9:-1;5:2;;;45:16;42:1;39::::0;24:38:::1;77:16;74:1;67:27;5:2;79756:67:0;;;;79657:174:::0;;:::o;21006:139::-;21075:4;21099:12;;;:6;:12;;;;;:38;;21129:7;21099:38;:29;:38;:::i;79227:263::-;72154:12;:10;:12::i;:::-;72144:6;;:22;:6;;;:22;;;72136:67;;;;;;;;;;;;;;79330:14:::1;79313:13;;:31;;79305:59;;;;;;;;;;;;;;79397:12;:10;:12::i;:::-;79380:61;;;79411:13;;79426:14;79380:61;;;;;;;;;;;;;;;;79452:13;:30:::0;79227:263::o;55213:96::-;55294:7;55287:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55261:13;;55287:14;;55294:7;;55287:14;;55294:7;55287:14;;;;;;;;;;;;;;;;;;;;;;;;19751:49;19796:4;19751:49;:::o;58024:295::-;58139:12;:10;:12::i;:::-;58127:24;;:8;:24;;;;58119:62;;;;;;;;;;;;;;58239:8;58194:18;:32;58213:12;:10;:12::i;:::-;58194:32;;;;;;;;;;;;;;;;;;-1:-1:-1;58194:32:0;;;:42;;;;;;;;;;;;:53;;;;;;;;;;;;;;58278:12;:10;:12::i;:::-;58263:48;;;58302:8;58263:48;;;;;;;;;;;;;;;58024:295;;:::o;75277:28::-;;;;:::o;75138:62::-;75176:24;;;;;;59211:285;59343:41;59362:12;:10;:12::i;:::-;59376:7;59343:18;:41::i;:::-;59335:103;;;;;;;;;;;;;;59449:39;59463:4;59469:2;59473:7;59482:5;59449:13;:39::i;:::-;59211:285;;;;:::o;55380:755::-;55445:13;55479:16;55487:7;55479;:16::i;:::-;55471:76;;;;;;;;;;;;;;55586:19;;;;:10;:19;;;;;;;;;55560:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:23;;:45;;;55586:19;55560:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;55687:8:0;55681:22;55560:45;;-1:-1:-1;;;;55681:22:0;;;;;;;;;;;;;55677:76;;55732:9;-1:-1:-1;55725:16:0;;55677:76;55857:23;;:27;55853:112;;55932:8;55942:9;55915:37;;;;;;;;;;;;;49:4:-1;39:7;30;26:21;22:32;13:7;6:49;55915:37:0;;;55901:52;;;;;55853:112;56097:8;56107:18;:7;:16;:18::i;:::-;56080:46;;;;;;;;;;;;;49:4:-1;39:7;30;26:21;22:32;13:7;6:49;56080:46:0;;;56066:61;;;55380:755;;;:::o;79839:107::-;72154:12;:10;:12::i;:::-;72144:6;;:22;:6;;;:22;;;72136:67;;;;;;;;;;;;;;79893:12:::1;:10;:12::i;:::-;79892:23;;:46;79916:21;79892:46;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39::::0;24:38:::1;77:16;74:1;67:27;21319:127:0::0;21382:7;21409:12;;;:6;:12;;;;;:29;;:27;:29::i;76399:391::-;76475:15;76524:13;;76511:9;:26;;76503:56;;;;;;;;;;;;;;76601:11;;76614:13;;76570:58;;76601:11;;;76570:30;:58::i;:::-;76649:22;76656:3;76661:9;76649:6;:22::i;:::-;76639:32;;76698:13;;76686:9;:25;76682:100;;;76713:69;76744:10;76768:13;;76756:9;:25;76713:30;:69::i;23220:230::-;23313:12;;;;:6;:12;;;;;:22;;;23305:45;;23337:12;:10;:12::i;23305:45::-;23297:106;;;;;;;;;;;;;79498:151;72154:12;:10;:12::i;:::-;72144:6;;:22;:6;;;:22;;;72136:67;;;;;;;;;;;;;;79602:12:::1;79595:29;;;79625:7;:5;:7::i;:::-;79634:6;79595:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24::::0;17:12:::1;2:2;79595:46:0;;;;8:9:-1;5:2;;;45:16;42:1;39::::0;24:38:::1;77:16;74:1;67:27;5:2;79595:46: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;79595:46:0;;;;;;;;58390:156:::0;58503:25;;;;58479:4;58503:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;58390:156::o;76798:611::-;76882:25;76920:20;76943:36;76961:10;:17;76943:13;;:17;;:36;;;;:::i;:::-;76920:59;;77011:12;76998:9;:25;;76990:55;;;;;;;;;;;;;;77087:11;;77056:57;;77087:11;;77100:12;77056:30;:57::i;:::-;77149:10;:17;77135:32;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;77135:32:0;;;;;;;;;;;;;;;;;;;;;;;29:2:-1;21:6;17:15;125:4;109:14;101:6;88:42;144:17;;-1:-1;77135:32:0;-1:-1:-1;77124:43:0;-1:-1:-1;77183:9:0;77178:115;77202:10;:17;77198:1;:21;77178:115;;;77255:26;77262:3;77267:10;77278:1;77267:13;;;;;;;;;;;;;;77255:6;:26::i;:::-;77241:8;77250:1;77241:11;;;;;;;;;;;;;;;;;:40;77221:3;;77178:115;;;;77319:12;77307:9;:24;77303:98;;;77333:68;77364:10;77388:12;77376:9;:24;77333:30;:68::i;:::-;76798:611;;;;;:::o;72877:244::-;72154:12;:10;:12::i;:::-;72144:6;;:22;:6;;;:22;;;72136:67;;;;;;;;;;;;;;72966:22:::1;::::0;::::1;72958:73;;;;;;;;;;;;;;73068:6;::::0;73047:38:::1;::::0;::::1;::::0;;::::1;::::0;73068:6:::1;::::0;73047:38:::1;::::0;73068:6:::1;::::0;73047:38:::1;73096:6;:17:::0;;;::::1;;::::0;;;::::1;::::0;;;::::1;::::0;;72877:244::o;77417:616::-;77546:25;77584:20;77607:24;77625:5;77607:13;;:17;;:24;;;;:::i;:::-;77584:47;;77663:12;77650:9;:25;;77642:55;;;;;;;;;;;;;;77739:11;;77708:57;;77739:11;;77752:12;77708:30;:57::i;:::-;77801:5;77787:20;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;77787:20:0;;;;;;;;;;;;;;;;;;;;;;;29:2:-1;21:6;17:15;125:4;109:14;101:6;88:42;144:17;;-1:-1;77787:20:0;-1:-1:-1;77776:31:0;-1:-1:-1;77823:9:0;77818:99;77842:5;77838:1;:9;77818:99;;;77883:22;77890:3;77895:9;77883:6;:22::i;:::-;77869:8;77878:1;77869:11;;;;;;;;;;;;;;;;;:36;77849:3;;77818:99;;;;77943:12;77931:9;:24;77927:98;;;77957:68;77988:10;78012:12;78000:9;:24;77957:30;:68::i;60963:119::-;61020:4;61044:30;:12;61066:7;61044:30;:21;:30;:::i;17661:106::-;17749:10;17661:106;:::o;66790:158::-;66856:24;;;;:15;:24;;;;;:29;;;;;;;;;;;;;:24;;66910:16;66856:24;66910:7;:16::i;:::-;66901:39;;;;;;;;;;;;66790:158;;:::o;65068:215::-;65168:16;65176:7;65168;:16::i;:::-;65160:73;;;;;;;;;;;;;;65244:19;;;;:10;:19;;;;;;;;:31;;;;;;;;:::i;48398:123::-;48467:7;48494:19;48502:3;48494:7;:19::i;61249:333::-;61334:4;61359:16;61367:7;61359;:16::i;:::-;61351:73;;;;;;;;;;;;;;61435:13;61451:16;61459:7;61451;:16::i;:::-;61435:32;;61497:5;61486:16;;:7;:16;;;:51;;;;61530:7;61506:31;;:20;61518:7;61506:11;:20::i;:::-;:31;;;61486:51;:87;;;;61541:32;61558:5;61565:7;61541:16;:32::i;:::-;61478:96;61249:333;-1:-1:-1;;;;61249:333:0:o;64338:574::-;64456:4;64436:24;;:16;64444:7;64436;:16::i;:::-;:24;;;64428:78;;;;;;;;;;;;;;64525:16;;;64517:65;;;;;;;;;;;;;;64595:39;64616:4;64622:2;64626:7;64595:20;:39::i;:::-;64699:29;64716:1;64720:7;64699:8;:29::i;:::-;64741:19;;;;;;;:13;:19;;;;;:35;;64768:7;64741:35;:26;:35;:::i;:::-;-1:-1:-1;64787:17:0;;;;;;;:13;:17;;;;;:30;;64809:7;64787:30;:21;:30;:::i;:::-;-1:-1:-1;64830:29:0;:12;64847:7;64856:2;64830:29;:16;:29;:::i;:::-;;64896:7;64892:2;64877:27;;64886:4;64877:27;;;;;;;;;;;;64338:574;;;:::o;25200:188::-;25274:12;;;;:6;:12;;;;;:33;;25299:7;25274:33;:24;:33;:::i;:::-;25270:111;;;25356:12;:10;:12::i;:::-;25329:40;;25347:7;25329:40;;25341:4;25329:40;;;;;;;;;;25200:188;;:::o;10782:137::-;10853:7;10888:22;10892:3;10904:5;10888:3;:22::i;25396:192::-;25471:12;;;;:6;:12;;;;;:36;;25499:7;25471:36;:27;:36;:::i;:::-;25467:114;;;25556:12;:10;:12::i;:::-;25529:40;;25547:7;25529:40;;25541:4;25529:40;;;;;;;;;;25396:192;;:::o;69813:120::-;69358:7;;;;69350:40;;;;;;;;;;;;;;69872:7:::1;:15:::0;;;::::1;::::0;;69903:22:::1;69912:12;:10;:12::i;:::-;69903:22;;;;;;;;;;;;;;;69813:120::o:0;63481:520::-;63541:13;63557:16;63565:7;63557;:16::i;:::-;63541:32;;63586:48;63607:5;63622:1;63626:7;63586:20;:48::i;:::-;63675:29;63692:1;63696:7;63675:8;:29::i;:::-;63763:19;;;;:10;:19;;;;;63757:33;;;;;;;;;;;;;;:38;63753:97;;63819:19;;;;:10;:19;;;;;63812:26;;;:::i;:::-;63862:20;;;;;;;:13;:20;;;;;:36;;63890:7;63862:36;:27;:36;:::i;:::-;-1:-1:-1;63911:28:0;:12;63931:7;63911:28;:19;:28;:::i;:::-;-1:-1:-1;63957:36:0;;63985:7;;63981:1;;63957:36;;;;;;63981:1;;63957:36;63481:520;;:::o;48860:227::-;48940:7;;;;49000:22;49004:3;49016:5;49000:3;:22::i;:::-;48969:53;;;;-1:-1:-1;48860:227:0;-1:-1:-1;;;;;48860:227:0:o;65513:100::-;65586:19;;;;:8;;:19;;;;;:::i;49522:204::-;49629:7;49672:44;49677:3;49697;49703:12;49672:4;:44::i;:::-;49664:53;-1:-1:-1;49522:204:0;;;;;;:::o;69554:118::-;69082:7;;;;69081:8;69073:37;;;;;;;;;;;;;;69614:7:::1;:14:::0;;;::::1;69624:4;69614:14;::::0;;69644:20:::1;69651:12;:10;:12::i;8458:158::-:0;8538:4;8562:46;8572:3;8592:14;;;8562:9;:46::i;60378:272::-;60492:28;60502:4;60508:2;60512:7;60492:9;:28::i;:::-;60539:48;60562:4;60568:2;60572:7;60581:5;60539:22;:48::i;:::-;60531:111;;;;;;;;;;;;;50000:744;50056:13;50277:10;50273:53;;-1:-1:-1;50304:10:0;;;;;;;;;;;;;;;;;;;50273:53;50351:5;50336:12;50392:78;50399:9;;50392:78;;50425:8;;50456:2;50448:10;;;;50392:78;;;50480:19;50512:6;50502:17;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;50502:17:0;;;;;;;;;;;;;;;;;;;;;;;;;;21:6:-1;;108:14;50502:17:0;87:42:-1;143:17;;-1:-1;50502:17:0;-1:-1:-1;50574:5:0;;-1:-1:-1;50480:39:0;-1:-1:-1;50546:10:0;;;50590:115;50597:9;;50590:115;;50664:2;50657:4;:9;50652:2;:14;50641:27;;50623:6;50630:7;;;;;;;50623:15;;;;;;;;;;;:45;;;;;;;;;;-1:-1:-1;50691:2:0;50683:10;;;;50590:115;;;-1:-1:-1;50729:6:0;50000:744;-1:-1:-1;;;;50000:744:0:o;74662:200::-;74775:12;;;74735;74775;;;;;;;;;74753:7;;;;74768:5;;74753:35;;;;;;;;;;;;;;;;;;;;;;;;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;;74734:54:0;;;74807:7;74799:55;;;;;;;;;;;;;76165:226;76275:11;;76297:19;76303:3;76275:11;76297:5;:19::i;:::-;76327:11;:13;;;;;;76351:32;76364:7;76373:9;76351:12;:32::i;38008:471::-;38066:7;38311:6;38307:47;;-1:-1:-1;38341:1:0;38334:8;;38307:47;38378:5;;;38382:1;38378;:5;:1;38402:5;;;;;:10;38394:56;;;;;;;;;;;;;48159:151;48243:4;48267:35;48277:3;48297;48267:9;:35::i;45781:110::-;45864:19;;45781:110::o;70559:241::-;70669:45;70696:4;70702:2;70706:7;70669:26;:45::i;:::-;70736:8;:6;:8::i;:::-;70735:9;70727:65;;;;;;;;;;;;;9869:137;9939:4;9963:35;9971:3;9991:5;9963:7;:35::i;9562:131::-;9629:4;9653:32;9658:3;9678:5;9653:4;:32::i;47591:176::-;47680:4;47704:55;47709:3;47729;47743:14;;;47704:4;:55::i;7904:143::-;7974:4;7998:41;8003:3;8023:14;;;7998:4;:41::i;7446:204::-;7541:18;;7513:7;;7541:26;-1:-1:-1;7533:73:0;;;;;;;;;;;;;;7624:3;:11;;7636:5;7624:18;;;;;;;;;;;;;;;;7617:25;;7446:204;;;;:::o;8223:149::-;8296:4;8320:44;8328:3;8348:14;;;8320:7;:44::i;47933:142::-;48010:4;48034:33;48042:3;48062;48034:7;:33::i;46246:279::-;46350:19;;46313:7;;;;46350:27;-1:-1:-1;46342:74:0;;;;;;;;;;;;;;46429:22;46454:3;:12;;46467:5;46454:19;;;;;;;;;;;;;;;;;;46429:44;;46492:5;:10;;;46504:5;:12;;;46484:33;;;;;46246:279;;;;;:::o;46948:319::-;47042:7;47081:17;;;:12;;;:17;;;;;;47132:12;47117:13;47109:36;;;;;;;;;;;;;;;;47199:3;:12;;47223:1;47212:8;:12;47199:26;;;;;;;;;;;;;;;;;;:33;;;47192:40;;;46948:319;;;;;:::o;6778:129::-;6851:4;6875:19;;;:12;;;;;:19;;;;;;:24;;;6778:129::o;66178:604::-;66299:4;66326:15;:2;:13;;;:15::i;:::-;66321:60;;-1:-1:-1;66365:4:0;66358:11;;66321:60;66391:23;66417:252;66470:45;66530:12;:10;:12::i;:::-;66557:4;66576:7;66598:5;66433:181;;;;;;;;;;;;;;;49:4:-1;39:7;30;26:21;22:32;13:7;6:49;66433:181:0;;;;;;;38:4:-1;29:7;25:18;67:10;61:17;96:58;199:8;192:4;186;182:15;179:29;167:10;160:49;0:215;;;66433:181:0;66417:252;;;;;;;;;;;;;;;;;:15;;;;:252;;:15;:252;:::i;:::-;66391:278;;66680:13;66707:10;66696:32;;;;;;;;;;;;;;66747:26;;66757:16;66747:26;;-1:-1:-1;;;66178:604:0;;;;;;:::o;62848:404::-;62928:16;;;62920:61;;;;;;;;;;;;;;63001:16;63009:7;63001;:16::i;:::-;63000:17;62992:58;;;;;;;;;;;;;;63063:45;63092:1;63096:2;63100:7;63063:20;:45::i;:::-;63121:17;;;;;;;:13;:17;;;;;:30;;63143:7;63121:30;:21;:30;:::i;:::-;-1:-1:-1;63164:29:0;:12;63181:7;63190:2;63164:29;:16;:29;:::i;:::-;-1:-1:-1;63211:33:0;;63236:7;;63211:33;;;;63228:1;;63211:33;;63228:1;;63211:33;62848:404;;:::o;5148:1544::-;5214:4;5353:19;;;:12;;;:19;;;;;;5389:15;;5385:1300;;5824:18;;5775:14;;;;;5824:22;;;;5751:21;;5824:3;;:22;;6111;;;;;;;;;;;;;;6091:42;;6257:9;6228:3;:11;;6240:13;6228:26;;;;;;;;;;;;;;;;;;;:38;;;;6334:23;;;6376:1;6334:12;;;:23;;;;;;6360:17;;;6334:43;;6486:17;;6334:3;;6486:17;;;;;;;;;;;;;;;;;;;;;;6581:3;:12;;:19;6594:5;6581:19;;;;;;;;;;;6574:26;;;6624:4;6617:11;;;;;;;;5385:1300;6668:5;6661:12;;;;;4558:414;4621:4;4643:21;4653:3;4658:5;4643:9;:21::i;:::-;4638:327;;-1:-1:-1;27:10;;39:1;23:18;;;45:23;;4681:11:0;:23;;;;;;;;;;;;;4864:18;;4842:19;;;:12;;;:19;;;;;;:40;;;;4897:11;;4638:327;-1:-1:-1;4948:5:0;4941:12;;43061:692;43137:4;43272:17;;;:12;;;:17;;;;;;43306:13;43302:444;;-1:-1:-1;;43391:38:0;;;;;;;;;;;;;;;;;;27:10:-1;;39:1;23:18;;;45:23;;43373:12:0;:57;;;;;;;;;;;;;;;;;;;;;;;;43588:19;;43568:17;;;:12;;;:17;;;;;;;:39;43622:11;;43302:444;43702:5;43666:3;:12;;43690:1;43679:8;:12;43666:26;;;;;;;;;;;;;;;;;;:33;;:41;;;;43729:5;43722:12;;;;;43928:1549;43992:4;44127:17;;;:12;;;:17;;;;;;44161:13;;44157:1313;;44593:19;;44546:12;;;;;44593:23;;;;44522:21;;44593:3;;:23;;44890;;;;;;;;;;;;;;;;44861:52;;45038:9;45008:3;:12;;45021:13;45008:27;;;;;;;;;;;;;;;;:39;;:27;;;;;:39;;;;;;;;;;;;;;;45128:14;;45115:28;;:12;;;:28;;;;;45146:17;;;45115:48;;45272:18;;45115:3;;45272:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45368:17;;;:12;;;:17;;;;;;45361:24;;;;45272:18;-1:-1:-1;45402:11:0;;-1:-1:-1;;;;45402:11:0;11723:422;12090:20;12129:8;;;11723:422::o;14641:196::-;14744:12;14776:53;14799:6;14807:4;14813:1;14816:12;16148;16181:18;16192:6;16181:10;:18::i;:::-;16173:60;;;;;;;;;;;;;;16307:12;16321:23;16348:6;:11;;16368:8;16379:4;16348: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;;16306:78:0;;;;16399:7;16395:595;;;16430:10;-1:-1:-1;16423:17:0;;-1:-1:-1;16423:17:0;16395:595;16544:17;;:21;16540:439;;16807:10;16801:17;16868:15;16855:10;16851:2;16847:19;16840:44;16755:148;16950:12;16943:20;;;;;;;;;;;;74984:4965;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;74984:4965:0;;;-1:-1:-1;74984:4965:0;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5:130:-1;72:20;;48789:42;48778:54;;49897:35;;49887:2;;49946:1;;49936:12;1553:440;;1654:3;1647:4;1639:6;1635:17;1631:27;1621:2;;-1:-1;;1662:12;1621:2;1709:6;1696:20;46000:18;45992:6;45989:30;45986:2;;;-1:-1;;46022:12;45986:2;1731:64;46163:4;46095:9;1647:4;46080:6;46076:17;46072:33;46153:15;1731:64;;;1722:73;;1815:6;1808:5;1801:21;1919:3;46163:4;1910:6;1843;1901:16;;1898:25;1895:2;;;1936:1;;1926:12;1895:2;49384:6;46163:4;1843:6;1839:17;46163:4;1877:5;1873:16;49361:30;49440:1;49422:16;;;46163:4;49422:16;49415:27;1877:5;1614:379;-1:-1;;1614:379;2589:241;;2693:2;2681:9;2672:7;2668:23;2664:32;2661:2;;;-1:-1;;2699:12;2661:2;2761:53;2806:7;2782:22;2761:53;;2837:366;;;2958:2;2946:9;2937:7;2933:23;2929:32;2926:2;;;-1:-1;;2964:12;2926:2;3026:53;3071:7;3047:22;3026:53;;;3016:63;;3134:53;3179:7;3116:2;3159:9;3155:22;3134:53;;;3124:63;;2920:283;;;;;;3210:491;;;;3348:2;3336:9;3327:7;3323:23;3319:32;3316:2;;;-1:-1;;3354:12;3316:2;85:6;72:20;97:33;124:5;97:33;;;3406:63;-1:-1;3506:2;3545:22;;72:20;97:33;72:20;97:33;;;3310:391;;3514:63;;-1:-1;;;3614:2;3653:22;;;;2519:20;;3310:391;3708:721;;;;;3872:3;3860:9;3851:7;3847:23;3843:33;3840:2;;;-1:-1;;3879:12;3840:2;3941:53;3986:7;3962:22;3941:53;;;3931:63;;4049:53;4094:7;4031:2;4074:9;4070:22;4049:53;;;4039:63;;4139:2;4182:9;4178:22;2519:20;4147:63;;4275:2;4264:9;4260:18;4247:32;4299:18;4291:6;4288:30;4285:2;;;-1:-1;;4321:12;4285:2;4351:62;4405:7;4396:6;4385:9;4381:22;4351:62;;;4341:72;;;3834:595;;;;;;;;4436:522;;;4592:2;4580:9;4571:7;4567:23;4563:32;4560:2;;;-1:-1;;4598:12;4560:2;85:6;72:20;97:33;124:5;97:33;;;4650:63;-1:-1;4778:2;4763:18;;;4750:32;4802:18;4791:30;;4788:2;;;-1:-1;;4824:12;4788:2;4925:6;4914:9;4910:22;286:3;279:4;271:6;267:17;263:27;253:2;;-1:-1;;294:12;253:2;341:6;328:20;314:34;;363:90;378:74;445:6;378:74;;;363:90;;;481:21;;;538:14;;;;513:17;;;-1:-1;618:243;643:6;640:1;637:13;618:243;;;750:47;793:3;4778:2;726:3;713:17;517:6;701:30;;750:47;;;738:60;;812:14;;;;840;;;;665:1;658:9;618:243;;;-1:-1;4554:404;;4844:98;;-1:-1;4554:404;-1:-1;;;;;;;4554:404;4965:360;;;5083:2;5071:9;5062:7;5058:23;5054:32;5051:2;;;-1:-1;;5089:12;5051:2;5151:53;5196:7;5172:22;5151:53;;;5141:63;;5241:2;5281:9;5277:22;939:20;964:30;988:5;964:30;;;5249:60;;;;5045:280;;;;;;5332:472;;;5463:2;5451:9;5442:7;5438:23;5434:32;5431:2;;;-1:-1;;5469:12;5431:2;85:6;72:20;97:33;124:5;97:33;;;5521:63;-1:-1;5649:2;5634:18;;5621:32;5673:18;5662:30;;5659:2;;;-1:-1;;5695:12;5659:2;5725:63;5780:7;5771:6;5760:9;5756:22;5725:63;;;5715:73;;;5425:379;;;;;;5811:597;;;;5959:2;5947:9;5938:7;5934:23;5930:32;5927:2;;;-1:-1;;5965:12;5927:2;6027:53;6072:7;6048:22;6027:53;;;6017:63;;6145:2;6134:9;6130:18;6117:32;6169:18;6161:6;6158:30;6155:2;;;-1:-1;;6191:12;6155:2;6221:63;6276:7;6267:6;6256:9;6252:22;6221:63;;;6211:73;;;6321:2;6364:9;6360:22;2519:20;6329:63;;5921:487;;;;;;6415:366;;;6536:2;6524:9;6515:7;6511:23;6507:32;6504:2;;;-1:-1;;6542:12;6504:2;6604:53;6649:7;6625:22;6604:53;;;6594:63;6694:2;6733:22;;;;2519:20;;-1:-1;;;6498:283;6788:257;;6900:2;6888:9;6879:7;6875:23;6871:32;6868:2;;;-1:-1;;6906:12;6868:2;1087:6;1081:13;1099:30;1123:5;1099:30;;7052:241;;7156:2;7144:9;7135:7;7131:23;7127:32;7124:2;;;-1:-1;;7162:12;7124:2;-1:-1;1208:20;;7118:175;-1:-1;7118:175;7300:366;;;7421:2;7409:9;7400:7;7396:23;7392:32;7389:2;;;-1:-1;;7427:12;7389:2;1221:6;1208:20;7479:63;;7579:2;7622:9;7618:22;72:20;97:33;124:5;97:33;;7673:366;;;7794:2;7782:9;7773:7;7769:23;7765:32;7762:2;;;-1:-1;;7800:12;7762:2;-1:-1;;1208:20;;;7952:2;7991:22;;;2519:20;;-1:-1;7756:283;8046:239;;8149:2;8137:9;8128:7;8124:23;8120:32;8117:2;;;-1:-1;;8155:12;8117:2;1357:6;1344:20;1369:32;1395:5;1369:32;;8292:261;;8406:2;8394:9;8385:7;8381:23;8377:32;8374:2;;;-1:-1;;8412:12;8374:2;1496:6;1490:13;1508:32;1534:5;1508:32;;8560:347;;8674:2;8662:9;8653:7;8649:23;8645:32;8642:2;;;-1:-1;;8680:12;8642:2;8738:17;8725:31;8776:18;8768:6;8765:30;8762:2;;;-1:-1;;8798:12;8762:2;8828:63;8883:7;8874:6;8863:9;8859:22;8828:63;;9162:472;;;9293:2;9281:9;9272:7;9268:23;9264:32;9261:2;;;-1:-1;;9299:12;9261:2;2532:6;2519:20;9351:63;;9479:2;9468:9;9464:18;9451:32;9503:18;9495:6;9492:30;9489:2;;;-1:-1;;9525:12;11196:343;;11338:5;46940:12;47484:6;47479:3;47472:19;11431:52;11476:6;47521:4;47516:3;47512:14;47521:4;11457:5;11453:16;11431:52;;;49821:2;49801:14;49817:7;49797:28;11495:39;;;;47521:4;11495:39;;11286:253;-1:-1;;11286:253;26586:262;;11706:5;46940:12;11817:52;11862:6;11857:3;11850:4;11843:5;11839:16;11817:52;;;11881:16;;;;;26711:137;-1:-1;;26711:137;26855:421;;-1:-1;12792:5;12786:12;12826:1;;12815:9;12811:17;12839:1;12834:268;;;;13113:1;13108:425;;;;12804:729;;12834:268;13054:9;13043;13039:25;13034:3;13027:38;12912:4;12908:1;12897:9;12893:17;12889:28;13083:3;13079:16;13072:23;;12834:268;;13108:425;13177:1;13166:9;13162:17;46777:3;-1:-1;46767:14;46809:4;;-1:-1;46796:18;-1:-1;13366:130;13380:6;13377:1;13374:13;13366:130;;;13439:14;;13426:11;;;13419:35;13473:15;;;;13395:12;;13366:130;;;-1:-1;;;13510:16;;;-1:-1;12804:729;;;;11706:5;46940:12;11817:52;11862:6;11857:3;11850:4;11843:5;11839:16;11817:52;;;11881:16;;27027:249;-1:-1;;;;27027:249;27283:372;16781:13;16761:34;;16745:2;16814:12;;27463:192;27662:372;25513:23;25493:44;;25477:2;25556:12;;27842:192;28041:213;48789:42;48778:54;;;;10059:45;;28159:2;28144:18;;28130:124;28497:451;48789:42;48778:54;;;9902:58;;48778:54;;;;28851:2;28836:18;;10059:45;28934:2;28919:18;;11147:37;;;;28679:2;28664:18;;28650:298;28955:663;;48789:42;;10097:5;48778:54;10066:3;10059:45;48789:42;10097:5;48778:54;29372:2;29361:9;29357:18;10059:45;;11177:5;29455:2;29444:9;29440:18;11147:37;29191:3;29492:2;29481:9;29477:18;29470:48;29532:76;29191:3;29180:9;29176:19;29594:6;29532:76;;;29524:84;29162:456;-1:-1;;;;;;29162:456;29625:324;48789:42;48778:54;;;;10059:45;;29935:2;29920:18;;11147:37;29771:2;29756:18;;29742:207;29956:361;30124:2;30138:47;;;46940:12;;30109:18;;;47472:19;;;29956:361;;30124:2;46629:14;;;;47512;;;;29956:361;10675:260;10700:6;10697:1;10694:13;10675:260;;;10761:13;;11147:37;;47327:14;;;;9795;;;;10722:1;10715:9;10675:260;;;-1:-1;30191:116;;30095:222;-1:-1;;;;;;30095:222;30324:201;48460:13;;48453:21;11030:34;;30436:2;30421:18;;30407:118;30532:213;11147:37;;;30650:2;30635:18;;30621:124;30752:301;;30890:2;30911:17;30904:47;30965:78;30890:2;30879:9;30875:18;31029:6;30965:78;;31060:407;31251:2;31265:47;;;13772:2;31236:18;;;47472:19;13808:34;47512:14;;;13788:55;13877:4;13863:12;;;13856:26;13901:12;;;31222:245;31474:407;31665:2;31679:47;;;14152:2;31650:18;;;47472:19;14188:34;47512:14;;;14168:55;14257:13;14243:12;;;14236:35;14290:12;;;31636:245;31888:407;32079:2;32093:47;;;14541:2;32064:18;;;47472:19;14577:34;47512:14;;;14557:55;14646:17;14632:12;;;14625:39;14683:12;;;32050:245;32302:407;32493:2;32507:47;;;14934:2;32478:18;;;47472:19;14970:22;47512:14;;;14950:43;15012:12;;;32464:245;32716:407;32907:2;32921:47;;;15263:2;32892:18;;;47472:19;15299:22;47512:14;;;15279:43;15341:12;;;32878:245;33130:407;33321:2;33335:47;;;15592:2;33306:18;;;47472:19;15628:34;47512:14;;;15608:55;15697:20;15683:12;;;15676:42;15737:12;;;33292:245;33544:407;33735:2;33749:47;;;15988:2;33720:18;;;47472:19;16024:34;47512:14;;;16004:55;16093:8;16079:12;;;16072:30;16121:12;;;33706:245;33958:407;34149:2;34163:47;;;16372:2;34134:18;;;47472:19;16408:30;47512:14;;;16388:51;16458:12;;;34120:245;34372:407;34563:2;34577:47;;;17065:2;34548:18;;;47472:19;17101:34;47512:14;;;17081:55;17170:6;17156:12;;;17149:28;17196:12;;;34534:245;34786:407;34977:2;34991:47;;;17447:2;34962:18;;;47472:19;17483:27;47512:14;;;17463:48;17530:12;;;34948:245;35200:407;35391:2;35405:47;;;17781:2;35376:18;;;47472:19;17817:34;47512:14;;;17797:55;17886:14;17872:12;;;17865:36;17920:12;;;35362:245;35614:407;35805:2;35819:47;;;18171:2;35790:18;;;47472:19;18207:34;47512:14;;;18187:55;18276:18;18262:12;;;18255:40;18314:12;;;35776:245;36028:407;36219:2;36233:47;;;18565:2;36204:18;;;47472:19;18601:18;47512:14;;;18581:39;18639:12;;;36190:245;36442:407;36633:2;36647:47;;;18890:2;36618:18;;;47472:19;18926:34;47512:14;;;18906:55;18995:26;18981:12;;;18974:48;19041:12;;;36604:245;36856:407;37047:2;37061:47;;;19292:1;37032:18;;;47472:19;19327:11;47512:14;;;19307:32;19358:12;;;37018:245;37270:407;37461:2;37475:47;;;19609:2;37446:18;;;47472:19;19645:34;47512:14;;;19625:55;19714:12;19700;;;19693:34;19746:12;;;37432:245;37684:407;37875:2;37889:47;;;19997:2;37860:18;;;47472:19;20033;47512:14;;;20013:40;20072:12;;;37846:245;38098:407;38289:2;38303:47;;;20323:2;38274:18;;;47472:19;20359:17;47512:14;;;20339:38;20396:12;;;38260:245;38512:407;38703:2;38717:47;;;20647:2;38688:18;;;47472:19;20683:34;47512:14;;;20663:55;20752:4;20738:12;;;20731:26;20776:12;;;38674:245;38926:407;39117:2;39131:47;;;39102:18;;;47472:19;21063:34;47512:14;;;21043:55;21117:12;;;39088:245;39340:407;39531:2;39545:47;;;21368:2;39516:18;;;47472:19;21404:34;47512:14;;;21384:55;21473:3;21459:12;;;21452:25;21496:12;;;39502:245;39754:407;39945:2;39959:47;;;21747:2;39930:18;;;47472:19;21783:34;47512:14;;;21763:55;21852:14;21838:12;;;21831:36;21886:12;;;39916:245;40168:407;40359:2;40373:47;;;22137:2;40344:18;;;47472:19;22173:33;47512:14;;;22153:54;22226:12;;;40330:245;40582:407;40773:2;40787:47;;;22477:2;40758:18;;;47472:19;22513:34;47512:14;;;22493:55;22582:14;22568:12;;;22561:36;22616:12;;;40744:245;40996:407;41187:2;41201:47;;;41172:18;;;47472:19;22903:34;47512:14;;;22883:55;22957:12;;;41158:245;41410:407;41601:2;41615:47;;;23208:2;41586:18;;;47472:19;23244:34;47512:14;;;23224:55;23313:11;23299:12;;;23292:33;23344:12;;;41572:245;41824:407;42015:2;42029:47;;;23595:2;42000:18;;;47472:19;23631:34;47512:14;;;23611:55;23700:17;23686:12;;;23679:39;23737:12;;;41986:245;42238:407;42429:2;42443:47;;;42414:18;;;47472:19;24024:34;47512:14;;;24004:55;24078:12;;;42400:245;42652:407;42843:2;42857:47;;;24329:2;42828:18;;;47472:19;24365:34;47512:14;;;24345:55;24434:3;24420:12;;;24413:25;24457:12;;;42814:245;43066:407;43257:2;43271:47;;;24708:2;43242:18;;;47472:19;24744:34;47512:14;;;24724:55;24813:19;24799:12;;;24792:41;24852:12;;;43228:245;43480:407;43671:2;43685:47;;;25103:2;43656:18;;;47472:19;25139:31;47512:14;;;25119:52;25190:12;;;43642:245;43894:407;44085:2;44099:47;;;25807:2;44070:18;;;47472:19;25843:34;47512:14;;;25823:55;25912:5;25898:12;;;25891:27;25937:12;;;44056:245;44308:407;44499:2;44513:47;;;26188:2;44484:18;;;47472:19;26224:34;47512:14;;;26204:55;26293:17;26279:12;;;26272:39;26330:12;;;44470:245;44942:324;11147:37;;;45252:2;45237:18;;11147:37;45088:2;45073:18;;45059:207;45273:256;45335:2;45329:9;45361:17;;;45436:18;45421:34;;45457:22;;;45418:62;45415:2;;;45493:1;;45483:12;45415:2;45335;45502:22;45313:216;;-1:-1;45313:216;45536:314;;45705:18;45697:6;45694:30;45691:2;;;-1:-1;;45727:12;45691:2;-1:-1;45772:4;45760:17;;;45825:15;;45628:222;49457:268;49522:1;49529:101;49543:6;49540:1;49537:13;49529:101;;;49610:11;;;49604:18;49591:11;;;49584:39;49565:2;49558:10;49529:101;;;49645:6;49642:1;49639:13;49636:2;;;-1:-1;;49522:1;49692:16;;49685:27;49506:219;49838:117;48789:42;49925:5;48778:54;49900:5;49897:35;49887:2;;49946:1;;49936:12;49962:111;50043:5;48460:13;48453:21;50021:5;50018:32;50008:2;;50064:1;;50054:12;50204:115;48637:66;50289:5;48626:78;50265:5;50262:34;50252:2;;50310:1;;50300:12

Swarm Source

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