Contract 0x74db53381015ac19301eebdbd17e719655e32e40

 
Txn Hash
Block
From
To
Value [Txn Fee]
0xdfb6e85f33f48fd4de4d5df6a2975a97e82f4de7cb87424e6fbfa4f3335d571c72100222021-05-07 9:05:3879 days 5 hrs agoBakerySwap: Deployer IN  0x74db53381015ac19301eebdbd17e719655e32e400 BNB0.000154115
0x9922ccb2cbca8f6d1f32e03dd8c03ce0ddb4b5d686f0b3cc3a20ed2b3620d4cd72099742021-05-07 9:03:1479 days 5 hrs agoBakerySwap: Deployer IN  0x74db53381015ac19301eebdbd17e719655e32e400 BNB0.00057145
0x95c5e257f7858bd05d77d6f8b9a5fc10b275b91106ce4b02e94d21714ddc393672099722021-05-07 9:03:0879 days 5 hrs agoBakerySwap: Deployer IN  0x74db53381015ac19301eebdbd17e719655e32e400 BNB0.00057145
0x079440833b276042829fd67d4f24d495cf33c76bccc7fb368a47f529fb6e60b072099702021-05-07 9:03:0279 days 5 hrs agoBakerySwap: Deployer IN  0x74db53381015ac19301eebdbd17e719655e32e400 BNB0.00055045
0x4c9de7cc8b2d165e0fbb7261faf029402d58853ef6cf72fcc77eb6e6234979d672099682021-05-07 9:02:5679 days 5 hrs agoBakerySwap: Deployer IN  0x74db53381015ac19301eebdbd17e719655e32e400 BNB0.00057145
0x69716456a66c4a26d3aa91881b6a87dfa69a18234d21234b76b28c51cc32543872099672021-05-07 9:02:5379 days 5 hrs agoBakerySwap: Deployer IN  0x74db53381015ac19301eebdbd17e719655e32e400 BNB0.001135605
0xfc284b8be23de2b3dbccea993ab574583c229cd985640ec6ddf13c38ce223c6372099652021-05-07 9:02:4779 days 5 hrs agoBakerySwap: Deployer IN  0x74db53381015ac19301eebdbd17e719655e32e400 BNB0.00057145
0x470650586e96a10e56e6cf349ae89159d9cf5ecec871d33bc641fda039dcf70672099632021-05-07 9:02:4179 days 5 hrs agoBakerySwap: Deployer IN  0x74db53381015ac19301eebdbd17e719655e32e400 BNB0.00057145
0x735cbadc495b0dbac1dc48f5b45f7dce7151780ca52b88f541379d8cf6345e7c72099612021-05-07 9:02:3579 days 5 hrs agoBakerySwap: Deployer IN  0x74db53381015ac19301eebdbd17e719655e32e400 BNB0.001135605
0x127e959f598ec86250695663ec9b539e922e983fa94c3ff1fb82b34f7e9b44df72098932021-05-07 8:59:1179 days 5 hrs agoBakerySwap: Deployer IN  0x74db53381015ac19301eebdbd17e719655e32e400 BNB0.001135605
0x4918ec75a4768d263d83f176052604d071ed81bf096c28d85ecd4018526eae2272098902021-05-07 8:59:0279 days 6 hrs agoBakerySwap: Deployer IN  0x74db53381015ac19301eebdbd17e719655e32e400 BNB0.00059245
0x82d8f8767bae71704cffd75e279584cfa56248df5c6def384cd82a21d714199772098892021-05-07 8:58:5979 days 6 hrs agoBakerySwap: Deployer IN  0x74db53381015ac19301eebdbd17e719655e32e400 BNB0.00057145
0x5490da777e77ce768542e2045b7a20cef6039035766f045b30a61f44a182b93472098872021-05-07 8:58:5379 days 6 hrs agoBakerySwap: Deployer IN  0x74db53381015ac19301eebdbd17e719655e32e400 BNB0.00057145
0x5d327de4451e78d7c6aa9e4e10d6d037a670d153750d957591e71f6788929e8f72098852021-05-07 8:58:4779 days 6 hrs agoBakerySwap: Deployer IN  0x74db53381015ac19301eebdbd17e719655e32e400 BNB0.001135605
0x329a36c27698a67adc734c4202e7242677fd85f72b4b36a5c8b6022e490f7bda72098832021-05-07 8:58:4179 days 6 hrs agoBakerySwap: Deployer IN  0x74db53381015ac19301eebdbd17e719655e32e400 BNB0.00059245
0x92e093c9c46d0ffd7ac57c39e6d9efe0bca2f738531a42cd77feae0c07973ef372098812021-05-07 8:58:3579 days 6 hrs agoBakerySwap: Deployer IN  0x74db53381015ac19301eebdbd17e719655e32e400 BNB0.00059245
0x67dcdbd9422a684284a905d01ec040a99b6ce887635f929498361345e4fa660b72098792021-05-07 8:58:2979 days 6 hrs agoBakerySwap: Deployer IN  0x74db53381015ac19301eebdbd17e719655e32e400 BNB0.001135605
0xb17a482e6189747d521f98ac003acb6f9c3812a2971bfe0950186234e5df19bc72098772021-05-07 8:58:2379 days 6 hrs agoBakerySwap: Deployer IN  0x74db53381015ac19301eebdbd17e719655e32e400 BNB0.00059245
0xec667f7181ef78e9a4d4b0b03ffa5904c69d946f307941570f4a1953a8b9061072098752021-05-07 8:58:1779 days 6 hrs agoBakerySwap: Deployer IN  0x74db53381015ac19301eebdbd17e719655e32e400 BNB0.00059245
0x75eb6d9cf7ff797b8b1856670ebda1efb38e060667110c04c933f48cb682ae3b72098742021-05-07 8:58:1479 days 6 hrs agoBakerySwap: Deployer IN  0x74db53381015ac19301eebdbd17e719655e32e400 BNB0.00059245
0x7c69de60696db3ba218b84b1da9411271abfa64ae7096d0228ddc56141d21c2272098712021-05-07 8:58:0579 days 6 hrs agoBakerySwap: Deployer IN  0x74db53381015ac19301eebdbd17e719655e32e400 BNB0.00059245
0xbce1da9d48bd42db86a6ca12217d80bf8d2d756eae2e9ab9194156dcc43e43a072098702021-05-07 8:58:0279 days 6 hrs agoBakerySwap: Deployer IN  0x74db53381015ac19301eebdbd17e719655e32e400 BNB0.00059245
0x962ab2feba83595fd97300dad9e36cb3ef8591ac28499417fe284eb4b3944e0672098682021-05-07 8:57:5679 days 6 hrs agoBakerySwap: Deployer IN  0x74db53381015ac19301eebdbd17e719655e32e400 BNB0.00059245
0x2d28b54b88d06291fdc4dd445e749940e138183b117a0d83ee0a166c171f2ce072098662021-05-07 8:57:5079 days 6 hrs agoBakerySwap: Deployer IN  0x74db53381015ac19301eebdbd17e719655e32e400 BNB0.00059245
0xf7f58ee213e5d87496b34a9157d66674abe5f42e06771532c6aff268cb910f7e72098642021-05-07 8:57:4479 days 6 hrs agoBakerySwap: Deployer IN  0x74db53381015ac19301eebdbd17e719655e32e400 BNB0.00059245
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
CarBlindBox

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-05-05
*/

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

// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;


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

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

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

// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

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

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

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

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

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

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

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

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

// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;





/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin guidelines: functions revert instead
 * of returning `false` on failure. This behavior is nonetheless conventional
 * and does not conflict with the expectations of ERC20 applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20 {
    using SafeMath for uint256;
    using Address for address;

    mapping (address => uint256) private _balances;

    mapping (address => mapping (address => uint256)) private _allowances;

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;
    uint8 private _decimals;

    /**
     * @dev Sets the values for {name} and {symbol}, initializes {decimals} with
     * a default value of 18.
     *
     * To select a different value for {decimals}, use {_setupDecimals}.
     *
     * All three of these values are immutable: they can only be set once during
     * construction.
     */
    constructor (string memory name, string memory symbol) public {
        _name = name;
        _symbol = symbol;
        _decimals = 18;
    }

    /**
     * @dev Returns the name of the token.
     */
    function name() public view returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5,05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the value {ERC20} uses, unless {_setupDecimals} is
     * called.
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view returns (uint8) {
        return _decimals;
    }

    /**
     * @dev See {IERC20-totalSupply}.
     */
    function totalSupply() public view override returns (uint256) {
        return _totalSupply;
    }

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view override returns (uint256) {
        return _balances[account];
    }

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `recipient` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

    /**
     * @dev See {IERC20-allowance}.
     */
    function allowance(address owner, address spender) public view virtual override returns (uint256) {
        return _allowances[owner][spender];
    }

    /**
     * @dev See {IERC20-approve}.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        _approve(_msgSender(), spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20};
     *
     * Requirements:
     * - `sender` and `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     * - the caller must have allowance for ``sender``'s tokens of at least
     * `amount`.
     */
    function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(sender, recipient, amount);
        _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance"));
        return true;
    }

    /**
     * @dev Atomically increases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue));
        return true;
    }

    /**
     * @dev Atomically decreases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `spender` must have allowance for the caller of at least
     * `subtractedValue`.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero"));
        return true;
    }

    /**
     * @dev Moves tokens `amount` from `sender` to `recipient`.
     *
     * This is internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * Requirements:
     *
     * - `sender` cannot be the zero address.
     * - `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     */
    function _transfer(address sender, address recipient, uint256 amount) internal virtual {
        require(sender != address(0), "ERC20: transfer from the zero address");
        require(recipient != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(sender, recipient, amount);

        _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance");
        _balances[recipient] = _balances[recipient].add(amount);
        emit Transfer(sender, recipient, amount);
    }

    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * Requirements
     *
     * - `to` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

        _beforeTokenTransfer(address(0), account, amount);

        _totalSupply = _totalSupply.add(amount);
        _balances[account] = _balances[account].add(amount);
        emit Transfer(address(0), account, amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, reducing the
     * total supply.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * Requirements
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
     */
    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: burn from the zero address");

        _beforeTokenTransfer(account, address(0), amount);

        _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance");
        _totalSupply = _totalSupply.sub(amount);
        emit Transfer(account, address(0), amount);
    }

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
     *
     * This internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     */
    function _approve(address owner, address spender, uint256 amount) internal virtual {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

    /**
     * @dev Sets {decimals} to a value other than the default one of 18.
     *
     * WARNING: This function should only be called from the constructor. Most
     * applications that interact with token contracts will not expect
     * {decimals} to ever change, and may work incorrectly if it does.
     */
    function _setupDecimals(uint8 decimals_) internal {
        _decimals = decimals_;
    }

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

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

// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;



/**
 * @dev ERC20 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 ERC20Pausable is ERC20, Pausable {
    /**
     * @dev See {ERC20-_beforeTokenTransfer}.
     *
     * Requirements:
     *
     * - the contract must not be paused.
     */
    function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual override {
        super._beforeTokenTransfer(from, to, amount);

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

// File: contracts/car/CAR.sol

pragma solidity >=0.6.6;





contract CAR is ERC20Pausable, Ownable {
    constructor(
        string memory name,
        string memory symbol,
        uint256 totalSupply
    ) public ERC20(name, symbol) {
        _mint(_msgSender(), totalSupply);
    }

    function burn(uint256 amount) public {
        _burn(_msgSender(), amount);
    }

    function burnFrom(address account, uint256 amount) public {
        uint256 decreasedAllowance =
            allowance(account, _msgSender()).sub(amount, 'ERC20: burn amount exceeds allowance');
        _approve(account, _msgSender(), decreasedAllowance);
        _burn(account, amount);
    }

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

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

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

// File: contracts/libraries/RandomGenUtils.sol

pragma solidity >=0.5.0;

library RandomGenUtils {
    function randomGen(uint256 seed, uint256 max) internal view returns (uint256 randomNumber) {
        return (uint256(
            keccak256(abi.encodePacked(blockhash(block.number - 1), now, msg.sender, block.difficulty, seed))
        ) % max);
    }
}

// File: contracts/car/CarBlindBox.sol

pragma solidity >=0.6.6;
pragma experimental ABIEncoderV2;








contract CarBlindBox is ERC721Holder, ERC721Pausable, Ownable {
    using Address for address;

    uint256 public nextTokenId = 1;
    uint256 private constant ONE_POWER_EIGHTEEN = 1E18;
    CAR public immutable car;
    IERC721Enumerable public immutable carNFT;
    string private _tokenURI;
    event Open(address indexed sender, uint256 tokenId, uint256 carNFTId);
    event Mint(address indexed user, uint256[] tokenIds, uint256 amount);

    constructor(
        string memory name,
        string memory symbol,
        string memory tokenURI_,
        address _car,
        address _carNFT
    ) public ERC721(name, symbol) {
        _tokenURI = tokenURI_;
        car = CAR(_car);
        carNFT = IERC721Enumerable(_carNFT);
    }

    function __mint(address to) public returns (uint256 tokenId) {
        tokenId = nextTokenId;
        _mint(to, tokenId);
        nextTokenId++;
        _setTokenURI(tokenId, _tokenURI);
    }

    function mint(uint256 _amount) public returns (uint256[] memory tokenIds) {
        require(_amount >= ONE_POWER_EIGHTEEN, ' amount too small');
        uint256 size = _amount.div(ONE_POWER_EIGHTEEN);
        _amount = size.mul(ONE_POWER_EIGHTEEN);
        car.burnFrom(_msgSender(), _amount);
        tokenIds = new uint256[](size);
        if (size == 1) {
            tokenIds[0] = __mint(_msgSender());
        } else {
            for (uint256 i = 0; i < size; ++i) {
                tokenIds[i] = __mint(_msgSender());
            }
        }
        emit Mint(msg.sender, tokenIds, _amount);
    }

    function open(uint256 tokenId) public {
        require(!address(msg.sender).isContract(), 'only user address can open');
        require(_isApprovedOrOwner(_msgSender(), tokenId), 'caller is not owner nor approved');
        _burn(tokenId);
        uint256 carNFTId =
            carNFT.tokenOfOwnerByIndex(
                address(this),
                RandomGenUtils.randomGen(tokenId, carNFT.balanceOf(address(this)))
            );
        carNFT.safeTransferFrom(address(this), _msgSender(), carNFTId);
        emit Open(_msgSender(), tokenId, carNFTId);
    }

    function setBaseURI(string memory baseURI) public onlyOwner {
        _setBaseURI(baseURI);
    }

    function defaultTokenURI() public view returns (string memory) {
        return _tokenURI;
    }

    function setDefaultTokenURI(string memory tokenURI_) public onlyOwner {
        _tokenURI = tokenURI_;
    }

    function setTokenURI(uint256 tokenId, string memory tokenURI) public onlyOwner {
        _setTokenURI(tokenId, tokenURI);
    }

    function setTokenURIs(uint256[] memory tokenIds, string[] memory tokenURIs) public onlyOwner {
        require(tokenIds.length == tokenURIs.length, 'length error');
        for (uint256 i = 0; i < tokenIds.length; i++) {
            _setTokenURI(tokenIds[i], tokenURIs[i]);
        }
    }

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

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

    function transferOtherERC20Token(address tokenAddress, uint256 amount) public onlyOwner {
        require(tokenAddress != address(carNFT), 'wrong token address');
        IERC20(tokenAddress).transfer(owner(), amount);
    }

    function transferOtherERC721Token(address tokenAddress, uint256 tokenId) public onlyOwner {
        require(tokenAddress != address(carNFT), 'wrong token address');
        IERC721(tokenAddress).transferFrom(address(this), owner(), tokenId);
    }
}

Contract ABI

[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"string","name":"tokenURI_","type":"string"},{"internalType":"address","name":"_car","type":"address"},{"internalType":"address","name":"_carNFT","type":"address"}],"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":"user","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Mint","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"carNFTId","type":"uint256"}],"name":"Open","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"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":[{"internalType":"address","name":"to","type":"address"}],"name":"__mint","outputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"stateMutability":"nonpayable","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":[],"name":"car","outputs":[{"internalType":"contract CAR","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"carNFT","outputs":[{"internalType":"contract IERC721Enumerable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"defaultTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"uint256","name":"_amount","type":"uint256"}],"name":"mint","outputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"stateMutability":"nonpayable","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":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"onERC721Received","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"open","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"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":"string","name":"tokenURI_","type":"string"}],"name":"setDefaultTokenURI","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":"uint256[]","name":"tokenIds","type":"uint256[]"},{"internalType":"string[]","name":"tokenURIs","type":"string[]"}],"name":"setTokenURIs","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":"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":"tokenAddress","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferOtherERC20Token","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferOtherERC721Token","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"}]

60c06040526001600b553480156200001657600080fd5b506040516200441d3803806200441d83398101604081905262000039916200034a565b8484620000566301ffc9a760e01b6001600160e01b036200018316565b81516200006b906006906020850190620001e3565b50805162000081906007906020840190620001e3565b506200009d6380ac58cd60e01b6001600160e01b036200018316565b620000b8635b5e139f60e01b6001600160e01b036200018316565b620000d363780e9d6360e01b6001600160e01b036200018316565b5050600a805460ff191690556000620000f46001600160e01b03620001de16565b600a8054610100600160a81b0319166101006001600160a01b03841690810291909117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35082516200015f90600c906020860190620001e3565b506001600160601b0319606092831b8116608052911b1660a0525062000436915050565b6001600160e01b03198082161415620001b95760405162461bcd60e51b8152600401620001b090620003ff565b60405180910390fd5b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b335b90565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200022657805160ff191683800117855562000256565b8280016001018555821562000256579182015b828111156200025657825182559160200191906001019062000239565b506200026492915062000268565b5090565b620001e091905b808211156200026457600081556001016200026f565b80516001600160a01b03811681146200029d57600080fd5b92915050565b600082601f830112620002b4578081fd5b81516001600160401b0380821115620002cb578283fd5b6040516020601f8401601f1916820181018381118382101715620002ed578586fd5b806040525081945083825286818588010111156200030a57600080fd5b600092505b838310156200032e57858301810151828401820152918201916200030f565b83831115620003405760008185840101525b5050505092915050565b600080600080600060a0868803121562000362578081fd5b85516001600160401b038082111562000379578283fd5b6200038789838a01620002a3565b965060208801519150808211156200039d578283fd5b620003ab89838a01620002a3565b95506040880151915080821115620003c1578283fd5b50620003d088828901620002a3565b935050620003e2876060880162000285565b9150620003f3876080880162000285565b90509295509295909350565b6020808252601c908201527f4552433136353a20696e76616c696420696e7465726661636520696400000000604082015260600190565b60805160601c60a05160601c613f9f6200047e60003980610ab25280610af35280610c1052806115e552806119005280611b3f5250806111e65280611b1b5250613f9f6000f3fe608060405234801561001057600080fd5b50600436106102775760003560e01c8063715018a611610160578063a22cb465116100d8578063db3e4c841161008c578063ee26fac311610071578063ee26fac3146104e2578063f2f17bf5146104ea578063f2fde38b146104f257610277565b8063db3e4c84146104bc578063e985e9c5146104cf57610277565b8063baaf2d4f116100bd578063baaf2d4f14610483578063c87b56dd14610496578063cff6ac5d146104a957610277565b8063a22cb4651461045d578063b88d4fde1461047057610277565b80638da5cb5b1161012f578063963bfe1211610114578063963bfe1214610422578063a0712d681461042a578063a125c8241461044a57610277565b80638da5cb5b1461041257806395d89b411461041a57610277565b8063715018a6146103e757806375794a3c146103ef5780638201cf6c146103f75780638456cb591461040a57610277565b80633f4ba83a116101f35780635c975abb116101c2578063690e7c09116101a7578063690e7c09146103b95780636c0360eb146103cc57806370a08231146103d457610277565b80635c975abb1461039e5780636352211e146103a657610277565b80633f4ba83a1461035d57806342842e0e146103655780634f6ccce71461037857806355f804b31461038b57610277565b8063150b7a021161024a57806318160ddd1161022f57806318160ddd1461032257806323b872dd146103375780632f745c591461034a57610277565b8063150b7a02146102ef578063162094c41461030f57610277565b806301ffc9a71461027c57806306fdde03146102a5578063081812fc146102ba578063095ea7b3146102da575b600080fd5b61028f61028a36600461322a565b610505565b60405161029c919061357d565b60405180910390f35b6102ad610540565b60405161029c91906135b5565b6102cd6102c8366004613295565b6105f5565b60405161029c9190613487565b6102ed6102e836600461312a565b610668565b005b6103026102fd36600461308b565b610768565b60405161029c9190613588565b6102ed61031d3660046132c5565b610792565b61032a610801565b60405161029c9190613e26565b6102ed61034536600461304b565b610812565b61032a61035836600461312a565b610864565b6102ed6108a2565b6102ed61037336600461304b565b610949565b61032a610386366004613295565b610964565b6102ed610399366004613262565b610980565b61028f6109ed565b6102cd6103b4366004613295565b6109f6565b6102ed6103c7366004613295565b610a24565b6102ad610cff565b61032a6103e2366004612ffc565b610d7e565b6102ed610dfb565b61032a610ed0565b61032a610405366004612ffc565b610ed6565b6102ed610fa5565b6102cd61104b565b6102ad61106c565b6102ad6110eb565b61043d610438366004613295565b61116a565b60405161029c9190613548565b6102ed610458366004613262565b61137b565b6102ed61046b3660046130f3565b6113ef565b6102ed61047e36600461308b565b611529565b6102ed61049136600461312a565b611582565b6102ad6104a4366004613295565b6116fd565b6102ed6104b736600461312a565b61189d565b6102ed6104ca366004613154565b6119fe565b61028f6104dd366004613017565b611ade565b6102cd611b19565b6102cd611b3d565b6102ed610500366004612ffc565b611b61565b7fffffffff00000000000000000000000000000000000000000000000000000000811660009081526020819052604090205460ff165b919050565b60068054604080516020601f60027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156105ea5780601f106105bf576101008083540402835291602001916105ea565b820191906000526020600020905b8154815290600101906020018083116105cd57829003601f168201915b505050505090505b90565b600061060082611ca7565b61063f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161063690613b20565b60405180910390fd5b5060009081526004602052604090205473ffffffffffffffffffffffffffffffffffffffff1690565b6000610673826109f6565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156106db576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161063690613cfe565b8073ffffffffffffffffffffffffffffffffffffffff166106fa611cba565b73ffffffffffffffffffffffffffffffffffffffff1614806107235750610723816104dd611cba565b610759576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161063690613977565b6107638383611cbe565b505050565b7f150b7a02000000000000000000000000000000000000000000000000000000005b949350505050565b61079a611cba565b600a54610100900473ffffffffffffffffffffffffffffffffffffffff9081169116146107f3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161063690613bda565b6107fd8282611d5e565b5050565b600061080d6002611dbc565b905090565b61082361081d611cba565b82611dc7565b610859576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161063690613d5b565b610763838383611e92565b73ffffffffffffffffffffffffffffffffffffffff82166000908152600160205260408120610899908363ffffffff61204116565b90505b92915050565b600a5460ff166108de576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161063690613682565b6108e6611cba565b600a54610100900473ffffffffffffffffffffffffffffffffffffffff90811691161461093f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161063690613bda565b61094761204d565b565b61076383838360405180602001604052806000815250611529565b60008061097860028463ffffffff6120f116565b509392505050565b610988611cba565b600a54610100900473ffffffffffffffffffffffffffffffffffffffff9081169116146109e1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161063690613bda565b6109ea8161210d565b50565b600a5460ff1690565b600061089c82604051806060016040528060298152602001613f41602991396002919063ffffffff61212016565b610a2d33612137565b15610a64576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161063690613909565b610a6f61081d611cba565b610aa5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161063690613cc9565b610aae8161213d565b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16632f745c5930610b9f857f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610b4a9190613487565b60206040518083038186803b158015610b6257600080fd5b505afa158015610b76573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b9a91906132ad565b61224e565b6040518363ffffffff1660e01b8152600401610bbc9291906134f1565b60206040518083038186803b158015610bd457600080fd5b505afa158015610be8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c0c91906132ad565b90507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166342842e0e30610c53611cba565b846040518463ffffffff1660e01b8152600401610c7293929190613517565b600060405180830381600087803b158015610c8c57600080fd5b505af1158015610ca0573d6000803e3d6000fd5b50505050610cac611cba565b73ffffffffffffffffffffffffffffffffffffffff167f5e3c8f6b552a3ff0e973b330d0768aa08ae9dfb0106405d51377c98e032e9b068383604051610cf3929190613e2f565b60405180910390a25050565b60098054604080516020601f60027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156105ea5780601f106105bf576101008083540402835291602001916105ea565b600073ffffffffffffffffffffffffffffffffffffffff8216610dcd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610636906139d4565b73ffffffffffffffffffffffffffffffffffffffff8216600090815260016020526040902061089c90611dbc565b610e03611cba565b600a54610100900473ffffffffffffffffffffffffffffffffffffffff908116911614610e5c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161063690613bda565b600a54604051600091610100900473ffffffffffffffffffffffffffffffffffffffff16907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600a80547fffffffffffffffffffffff0000000000000000000000000000000000000000ff169055565b600b5481565b600b54610ee38282612296565b600b80546001908101909155600c8054604080516020600295841615610100027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0190931694909404601f810183900483028501830190915280845261053b9385939092909190830182828015610f9b5780601f10610f7057610100808354040283529160200191610f9b565b820191906000526020600020905b815481529060010190602001808311610f7e57829003601f168201915b5050505050611d5e565b600a5460ff1615610fe2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161063690613940565b610fea611cba565b600a54610100900473ffffffffffffffffffffffffffffffffffffffff908116911614611043576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161063690613bda565b6109476123c1565b600a54610100900473ffffffffffffffffffffffffffffffffffffffff1690565b60078054604080516020601f60027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156105ea5780601f106105bf576101008083540402835291602001916105ea565b600c8054604080516020601f60027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156105ea5780601f106105bf576101008083540402835291602001916105ea565b6060670de0b6b3a76400008210156111ae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610636906138d2565b60006111c883670de0b6b3a764000063ffffffff61245216565b90506111e281670de0b6b3a764000063ffffffff61249416565b92507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166379cc6790611228611cba565b856040518363ffffffff1660e01b81526004016112469291906134f1565b600060405180830381600087803b15801561126057600080fd5b505af1158015611274573d6000803e3d6000fd5b505050508067ffffffffffffffff8111801561128f57600080fd5b506040519080825280602002602001820160405280156112b9578160200160208202803683370190505b50915080600114156112ee576112d0610405611cba565b826000815181106112dd57fe5b602002602001018181525050611325565b60005b8181101561132357611304610405611cba565b83828151811061131057fe5b60209081029190910101526001016112f1565b505b3373ffffffffffffffffffffffffffffffffffffffff167ffcedfad5335528f6891da1a7c502536cc084c4eb50c94825d3d2bb9e61a3bc30838560405161136d92919061355b565b60405180910390a250919050565b611383611cba565b600a54610100900473ffffffffffffffffffffffffffffffffffffffff9081169116146113dc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161063690613bda565b80516107fd90600c906020840190612e11565b6113f7611cba565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561145c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106369061383e565b8060056000611469611cba565b73ffffffffffffffffffffffffffffffffffffffff90811682526020808301939093526040918201600090812091871680825291909352912080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016921515929092179091556114d8611cba565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161151d919061357d565b60405180910390a35050565b61153a611534611cba565b83611dc7565b611570576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161063690613d5b565b61157c848484846124e8565b50505050565b61158a611cba565b600a54610100900473ffffffffffffffffffffffffffffffffffffffff9081169116146115e3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161063690613bda565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611669576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161063690613def565b8173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb61168d61104b565b836040518363ffffffff1660e01b81526004016116ab9291906134f1565b602060405180830381600087803b1580156116c557600080fd5b505af11580156116d9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610763919061320e565b606061170882611ca7565b61173e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161063690613c6c565b60008281526008602090815260409182902080548351601f60027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6101006001861615020190931692909204918201849004840281018401909452808452606093928301828280156117f15780601f106117c6576101008083540402835291602001916117f1565b820191906000526020600020905b8154815290600101906020018083116117d457829003601f168201915b505060095493945050505060027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff610100600184161502019091160461183857905061053b565b80511561186a576009816040516020016118539291906133e8565b60405160208183030381529060405291505061053b565b600961187584612535565b6040516020016118869291906133e8565b604051602081830303815290604052915050919050565b6118a5611cba565b600a54610100900473ffffffffffffffffffffffffffffffffffffffff9081169116146118fe576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161063690613bda565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611984576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161063690613def565b8173ffffffffffffffffffffffffffffffffffffffff166323b872dd306119a961104b565b846040518463ffffffff1660e01b81526004016119c893929190613517565b600060405180830381600087803b1580156119e257600080fd5b505af11580156119f6573d6000803e3d6000fd5b505050505050565b611a06611cba565b600a54610100900473ffffffffffffffffffffffffffffffffffffffff908116911614611a5f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161063690613bda565b8051825114611a9a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610636906136b9565b60005b825181101561076357611ad6838281518110611ab557fe5b6020026020010151838381518110611ac957fe5b6020026020010151611d5e565b600101611a9d565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260056020908152604080832093909416825291909152205460ff1690565b7f000000000000000000000000000000000000000000000000000000000000000081565b7f000000000000000000000000000000000000000000000000000000000000000081565b611b69611cba565b600a54610100900473ffffffffffffffffffffffffffffffffffffffff908116911614611bc2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161063690613bda565b73ffffffffffffffffffffffffffffffffffffffff8116611c0f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106369061374d565b600a5460405173ffffffffffffffffffffffffffffffffffffffff80841692610100900416907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600a805473ffffffffffffffffffffffffffffffffffffffff909216610100027fffffffffffffffffffffff0000000000000000000000000000000000000000ff909216919091179055565b600061089c60028363ffffffff61266216565b3390565b600081815260046020526040902080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff84169081179091558190611d18826109f6565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b611d6782611ca7565b611d9d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161063690613b7d565b6000828152600860209081526040909120825161076392840190612e11565b600061089c8261266e565b6000611dd282611ca7565b611e08576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161063690613875565b6000611e13836109f6565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611e8257508373ffffffffffffffffffffffffffffffffffffffff16611e6a846105f5565b73ffffffffffffffffffffffffffffffffffffffff16145b8061078a575061078a8185611ade565b8273ffffffffffffffffffffffffffffffffffffffff16611eb2826109f6565b73ffffffffffffffffffffffffffffffffffffffff1614611eff576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161063690613c0f565b73ffffffffffffffffffffffffffffffffffffffff8216611f4c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610636906137e1565b611f57838383612672565b611f62600082611cbe565b73ffffffffffffffffffffffffffffffffffffffff83166000908152600160205260409020611f97908263ffffffff6126bc16565b5073ffffffffffffffffffffffffffffffffffffffff82166000908152600160205260409020611fcd908263ffffffff6126c816565b50611fe06002828463ffffffff6126d416565b50808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600061089983836126f7565b600a5460ff16612089576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161063690613682565b600a80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6120da611cba565b6040516120e79190613487565b60405180910390a1565b60008080806121008686612756565b9097909650945050505050565b80516107fd906009906020840190612e11565b600061212d8484846127cc565b90505b9392505050565b3b151590565b6000612148826109f6565b905061215681600084612672565b612161600083611cbe565b60008281526008602052604090205460027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6101006001841615020190911604156121bd5760008281526008602052604081206121bd91612e8f565b73ffffffffffffffffffffffffffffffffffffffff811660009081526001602052604090206121f2908363ffffffff6126bc16565b5061220460028363ffffffff61284516565b50604051829060009073ffffffffffffffffffffffffffffffffffffffff8416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b60008160014303404233448760405160200161226e959493929190613384565b6040516020818303038152906040528051906020012060001c8161228e57fe5b069392505050565b73ffffffffffffffffffffffffffffffffffffffff82166122e3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161063690613a8e565b6122ec81611ca7565b15612323576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610636906137aa565b61232f60008383612672565b73ffffffffffffffffffffffffffffffffffffffff82166000908152600160205260409020612364908263ffffffff6126c816565b506123776002828463ffffffff6126d416565b50604051819073ffffffffffffffffffffffffffffffffffffffff8416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600a5460ff16156123fe576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161063690613940565b600a80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586120da611cba565b600061089983836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250612851565b6000826124a35750600061089c565b828202828482816124b057fe5b0414610899576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161063690613ac3565b6124f3848484611e92565b6124ff848484846128a2565b61157c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610636906136f0565b606081612576575060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015261053b565b8160005b811561258e57600101600a8204915061257a565b60608167ffffffffffffffff811180156125a757600080fd5b506040519080825280601f01601f1916602001820160405280156125d2576020820181803683370190505b5085935090507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82015b831561265957600a840660300160f81b8282806001900393508151811061261f57fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a840493506125fc565b50949350505050565b60006108998383612a15565b5490565b61267d838383610763565b6126856109ed565b15610763576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161063690613625565b60006108998383612a2d565b60006108998383612b11565b600061212d848473ffffffffffffffffffffffffffffffffffffffff8516612b5b565b81546000908210612734576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610636906135c8565b82600001828154811061274357fe5b9060005260206000200154905092915050565b815460009081908310612795576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161063690613a31565b60008460000184815481106127a657fe5b906000526020600020906002020190508060000154816001015492509250509250929050565b60008281526001840160205260408120548281612816576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161063691906135b5565b5084600001600182038154811061282957fe5b9060005260206000209060020201600101549150509392505050565b60006108998383612bf2565b6000818361288c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161063691906135b5565b50600083858161289857fe5b0495945050505050565b60006128c38473ffffffffffffffffffffffffffffffffffffffff16612137565b6128cf5750600161078a565b60606129ad7f150b7a02000000000000000000000000000000000000000000000000000000006128fd611cba565b88878760405160240161291394939291906134a8565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050604051806060016040528060328152602001613f0f6032913973ffffffffffffffffffffffffffffffffffffffff8816919063ffffffff612d0216565b90506000818060200190518101906129c59190613246565b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a02000000000000000000000000000000000000000000000000000000001492505050949350505050565b60009081526001919091016020526040902054151590565b60008181526001830160205260408120548015612b075783547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8083019190810190600090879083908110612a7e57fe5b9060005260206000200154905080876000018481548110612a9b57fe5b600091825260208083209091019290925582815260018981019092526040902090840190558654879080612acb57fe5b6001900381819060005260206000200160009055905586600101600087815260200190815260200160002060009055600194505050505061089c565b600091505061089c565b6000612b1d8383612a15565b612b535750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915561089c565b50600061089c565b600082815260018401602052604081205480612bc0575050604080518082018252838152602080820184815286546001818101895560008981528481209551600290930290950191825591519082015586548684528188019092529290912055612130565b82856000016001830381548110612bd357fe5b9060005260206000209060020201600101819055506000915050612130565b60008181526001830160205260408120548015612b075783547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8083019190810190600090879083908110612c4357fe5b9060005260206000209060020201905080876000018481548110612c6357fe5b600091825260208083208454600290930201918255600193840154918401919091558354825289830190526040902090840190558654879080612ca257fe5b6000828152602080822060027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff909401938402018281556001908101839055929093558881528982019092526040822091909155945061089c9350505050565b606061212d84846000856060612d1785612137565b612d4d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161063690613db8565b600060608673ffffffffffffffffffffffffffffffffffffffff168587604051612d7791906133cc565b60006040518083038185875af1925050503d8060008114612db4576040519150601f19603f3d011682016040523d82523d6000602084013e612db9565b606091505b50915091508115612dcd57915061078a9050565b805115612ddd5780518082602001fd5b836040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161063691906135b5565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10612e5257805160ff1916838001178555612e7f565b82800160010185558215612e7f579182015b82811115612e7f578251825591602001919060010190612e64565b50612e8b929150612ecf565b5090565b50805460018160011615610100020316600290046000825580601f10612eb557506109ea565b601f0160209004906000526020600020908101906109ea91905b6105f291905b80821115612e8b5760008155600101612ed5565b803573ffffffffffffffffffffffffffffffffffffffff8116811461089c57600080fd5b600082601f830112612f1d578081fd5b8135612f30612f2b82613e64565b613e3d565b818152915060208083019084810160005b84811015612f6a57612f58888484358a0101612f75565b84529282019290820190600101612f41565b505050505092915050565b600082601f830112612f85578081fd5b813567ffffffffffffffff811115612f9b578182fd5b612fcc60207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f84011601613e3d565b9150808252836020828501011115612fe357600080fd5b8060208401602084013760009082016020015292915050565b60006020828403121561300d578081fd5b6108998383612ee9565b60008060408385031215613029578081fd5b6130338484612ee9565b91506130428460208501612ee9565b90509250929050565b60008060006060848603121561305f578081fd5b833561306a81613eb0565b9250602084013561307a81613eb0565b929592945050506040919091013590565b600080600080608085870312156130a0578081fd5b6130aa8686612ee9565b93506130b98660208701612ee9565b925060408501359150606085013567ffffffffffffffff8111156130db578182fd5b6130e787828801612f75565b91505092959194509250565b60008060408385031215613105578182fd5b61310f8484612ee9565b9150602083013561311f81613ed2565b809150509250929050565b6000806040838503121561313c578182fd5b6131468484612ee9565b946020939093013593505050565b60008060408385031215613166578182fd5b823567ffffffffffffffff8082111561317d578384fd5b81850186601f82011261318e578485fd5b8035925061319e612f2b84613e64565b80848252602080830192508084018a8283890287010111156131be578889fd5b8894505b868510156131e05780358452600194909401939281019281016131c2565b5090965087013593505050808211156131f7578283fd5b5061320485828601612f0d565b9150509250929050565b60006020828403121561321f578081fd5b815161089981613ed2565b60006020828403121561323b578081fd5b813561089981613ee0565b600060208284031215613257578081fd5b815161089981613ee0565b600060208284031215613273578081fd5b813567ffffffffffffffff811115613289578182fd5b61078a84828501612f75565b6000602082840312156132a6578081fd5b5035919050565b6000602082840312156132be578081fd5b5051919050565b600080604083850312156132d7578182fd5b82359150602083013567ffffffffffffffff8111156132f4578182fd5b61320485828601612f75565b6000815180845260208085019450808401835b8381101561332f57815187529582019590820190600101613313565b509495945050505050565b60008151808452613352816020860160208601613e84565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b948552602085019390935260609190911b7fffffffffffffffffffffffffffffffffffffffff0000000000000000000000001660408401526054830152607482015260940190565b600082516133de818460208701613e84565b9190910192915050565b6000808454600180821660008114613407576001811461343c5761346b565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0083168652607f60028404168601935061346b565b600283048886526020808720875b838110156134635781548a82015290850190820161344a565b505050860193505b505050835161347e818360208801613e84565b01949350505050565b73ffffffffffffffffffffffffffffffffffffffff91909116815260200190565b600073ffffffffffffffffffffffffffffffffffffffff8087168352808616602084015250836040830152608060608301526134e7608083018461333a565b9695505050505050565b73ffffffffffffffffffffffffffffffffffffffff929092168252602082015260400190565b73ffffffffffffffffffffffffffffffffffffffff9384168152919092166020820152604081019190915260600190565b6000602082526108996020830184613300565b60006040825261356e6040830185613300565b90508260208301529392505050565b901515815260200190565b7fffffffff0000000000000000000000000000000000000000000000000000000091909116815260200190565b600060208252610899602083018461333a565b60208082526022908201527f456e756d657261626c655365743a20696e646578206f7574206f6620626f756e60408201527f6473000000000000000000000000000000000000000000000000000000000000606082015260800190565b6020808252602b908201527f4552433732315061757361626c653a20746f6b656e207472616e73666572207760408201527f68696c6520706175736564000000000000000000000000000000000000000000606082015260800190565b60208082526014908201527f5061757361626c653a206e6f7420706175736564000000000000000000000000604082015260600190565b6020808252600c908201527f6c656e677468206572726f720000000000000000000000000000000000000000604082015260600190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527f63656976657220696d706c656d656e7465720000000000000000000000000000606082015260800190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201527f6464726573730000000000000000000000000000000000000000000000000000606082015260800190565b6020808252601c908201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604082015260600190565b60208082526024908201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460408201527f7265737300000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526019908201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604082015260600190565b6020808252602c908201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860408201527f697374656e7420746f6b656e0000000000000000000000000000000000000000606082015260800190565b60208082526011908201527f20616d6f756e7420746f6f20736d616c6c000000000000000000000000000000604082015260600190565b6020808252601a908201527f6f6e6c79207573657220616464726573732063616e206f70656e000000000000604082015260600190565b60208082526010908201527f5061757361626c653a2070617573656400000000000000000000000000000000604082015260600190565b60208082526038908201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760408201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606082015260800190565b6020808252602a908201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560408201527f726f206164647265737300000000000000000000000000000000000000000000606082015260800190565b60208082526022908201527f456e756d657261626c654d61703a20696e646578206f7574206f6620626f756e60408201527f6473000000000000000000000000000000000000000000000000000000000000606082015260800190565b6020808252818101527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604082015260600190565b60208082526021908201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f60408201527f7700000000000000000000000000000000000000000000000000000000000000606082015260800190565b6020808252602c908201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860408201527f697374656e7420746f6b656e0000000000000000000000000000000000000000606082015260800190565b6020808252602c908201527f4552433732314d657461646174613a2055524920736574206f66206e6f6e657860408201527f697374656e7420746f6b656e0000000000000000000000000000000000000000606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526029908201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960408201527f73206e6f74206f776e0000000000000000000000000000000000000000000000606082015260800190565b6020808252602f908201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60408201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000606082015260800190565b6020808252818101527f63616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564604082015260600190565b60208082526021908201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560408201527f7200000000000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60408201527f776e6572206e6f7220617070726f766564000000000000000000000000000000606082015260800190565b6020808252601d908201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604082015260600190565b60208082526013908201527f77726f6e6720746f6b656e206164647265737300000000000000000000000000604082015260600190565b90815260200190565b918252602082015260400190565b60405181810167ffffffffffffffff81118282101715613e5c57600080fd5b604052919050565b600067ffffffffffffffff821115613e7a578081fd5b5060209081020190565b60005b83811015613e9f578181015183820152602001613e87565b8381111561157c5750506000910152565b73ffffffffffffffffffffffffffffffffffffffff811681146109ea57600080fd5b80151581146109ea57600080fd5b7fffffffff00000000000000000000000000000000000000000000000000000000811681146109ea57600080fdfe4552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465724552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656ea26469706673582212204110e695d8f34eae030290fd9492177a7f41eec3eb763b1ba3eabc3cf4f53ea064736f6c6343000606003300000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000120000000000000000000000000176a25637e5078519230a4d80a7a47350940264a0000000000000000000000001d09fc4b295a2fa6f0e2e64a345bae419eb04699000000000000000000000000000000000000000000000000000000000000000b436172426c696e64426f78000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b436172426c696e64426f780000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000035697066733a2f2f516d526977516e42396739313769756f5472574c546f3355365948715937673265344d6531756a393964545033570000000000000000000000

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

00000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000120000000000000000000000000176a25637e5078519230a4d80a7a47350940264a0000000000000000000000001d09fc4b295a2fa6f0e2e64a345bae419eb04699000000000000000000000000000000000000000000000000000000000000000b436172426c696e64426f78000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b436172426c696e64426f780000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000035697066733a2f2f516d526977516e42396739313769756f5472574c546f3355365948715937673265344d6531756a393964545033570000000000000000000000

-----Encoded View---------------
12 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [3] : 000000000000000000000000176a25637e5078519230a4d80a7a47350940264a
Arg [4] : 0000000000000000000000001d09fc4b295a2fa6f0e2e64a345bae419eb04699
Arg [5] : 000000000000000000000000000000000000000000000000000000000000000b
Arg [6] : 436172426c696e64426f78000000000000000000000000000000000000000000
Arg [7] : 000000000000000000000000000000000000000000000000000000000000000b
Arg [8] : 436172426c696e64426f78000000000000000000000000000000000000000000
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000035
Arg [10] : 697066733a2f2f516d526977516e42396739313769756f5472574c546f335536
Arg [11] : 5948715937673265344d6531756a393964545033570000000000000000000000


Deployed ByteCode Sourcemap

87480:3612:0:-:0;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;87480:3612:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12:1:-1;9;2:12;34941:142:0;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;55052:92;;;:::i;:::-;;;;;;;;57739:213;;;;;;;;;:::i;:::-;;;;;;;;57283:390;;;;;;;;;:::i;:::-;;71389:164;;;;;;;;;:::i;:::-;;;;;;;;89998:129;;;;;;;;;:::i;56777:203::-;;;:::i;:::-;;;;;;;;58613:305;;;;;;;;;:::i;56547:154::-;;;;;;;;;:::i;90520:76::-;;;:::i;58989:151::-;;;;;;;;;:::i;57057:164::-;;;;;;;;;:::i;89667:99::-;;;;;;;;;:::i;68764:78::-;;;:::i;54816:169::-;;;;;;;;;:::i;89081:578::-;;;;;;;;;:::i;56374:89::-;;;:::i;54539:215::-;;;;;;;;;:::i;73327:148::-;;;:::i;87583:30::-;;;:::i;88250:197::-;;;;;;;;;:::i;90437:75::-;;;:::i;72685:79::-;;;:::i;55213:96::-;;;:::i;89774:98::-;;;:::i;88455:618::-;;;;;;;;;:::i;:::-;;;;;;;;89880:110;;;;;;;;;:::i;58024:295::-;;;;;;;;;:::i;59211:285::-;;;;;;;;;:::i;90604:227::-;;;;;;;;;:::i;55380:755::-;;;;;;;;;:::i;90839:250::-;;;;;;;;;:::i;90135:294::-;;;;;;;;;:::i;58390:156::-;;;;;;;;;:::i;87677:24::-;;;:::i;87708:41::-;;;:::i;73630:244::-;;;;;;;;;:::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;71389:164::-;71515:30;71389:164;;;;;;;:::o;89998:129::-;72907:12;:10;:12::i;:::-;72897:6;;;;;:22;:6;;;:22;;;72889:67;;;;;;;;;;;;;;90088:31:::1;90101:7;90110:8;90088:12;:31::i;:::-;89998:129:::0;;:::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;56547:154::-;56663:20;;;56636:7;56663:20;;;:13;:20;;;;;:30;;56687:5;56663:30;:23;:30;:::i;:::-;56656:37;;56547:154;;;;;:::o;90520:76::-;69358:7;;;;69350:40;;;;;;;;;;;;;;72907:12:::1;:10;:12::i;:::-;72897:6;::::0;::::1;::::0;::::1;:22;:6:::0;;::::1;:22:::0;::::1;;72889:67;;;;;;;;;;;;;;90578:10:::2;:8;:10::i;:::-;90520:76::o:0;58989:151::-;59093:39;59110:4;59116:2;59120:7;59093:39;;;;;;;;;;;;:16;:39::i;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;89667:99::-;72907:12;:10;:12::i;:::-;72897:6;;;;;:22;:6;;;:22;;;72889:67;;;;;;;;;;;;;;89738:20:::1;89750:7;89738:11;:20::i;:::-;89667:99:::0;:::o;68764:78::-;68827:7;;;;68764:78;:::o;54816:169::-;54880:7;54907:70;54924:7;54907:70;;;;;;;;;;;;;;;;;:12;;:70;;:16;:70;:::i;89081:578::-;89139:32;89147:10;89139:30;:32::i;:::-;89138:33;89130:72;;;;;;;;;;;;;;89221:41;89240:12;:10;:12::i;89221:41::-;89213:86;;;;;;;;;;;;;;89310:14;89316:7;89310:5;:14::i;:::-;89335:16;89367:6;:26;;;89420:4;89444:66;89469:7;89478:6;:16;;;89503:4;89478:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;89478:31:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;89478:31: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;89478:31:0;;;;;;;;;89444:24;:66::i;:::-;89367:158;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;89367:158:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;89367:158: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;89367:158:0;;;;;;;;;89335:190;;89536:6;:23;;;89568:4;89575:12;:10;:12::i;:::-;89589:8;89536:62;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;89536:62:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;89536:62:0;;;;89619:12;:10;:12::i;:::-;89614:37;;;89633:7;89642:8;89614:37;;;;;;;;;;;;;;;;89081:578;;:::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;73327:148::-;72907:12;:10;:12::i;:::-;72897:6;;;;;:22;:6;;;:22;;;72889:67;;;;;;;;;;;;;;73418:6:::1;::::0;73397:40:::1;::::0;73434:1:::1;::::0;73418:6:::1;::::0;::::1;73397:40;73418:6;::::0;73397:40:::1;::::0;73434:1;;73397:40:::1;73448:6;:19:::0;;;::::1;::::0;;73327:148::o;87583:30::-;;;;:::o;88250:197::-;88332:11;;88354:18;88360:2;88332:11;88354:5;:18::i;:::-;88383:11;:13;;;;;;;;;88429:9;88407:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;88420:7;;88407:32;;88429:9;;88407:32;;;88429:9;88407:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:12;:32::i;90437:75::-;69082:7;;;;69081:8;69073:37;;;;;;;;;;;;;;72907:12:::1;:10;:12::i;:::-;72897:6;::::0;::::1;::::0;::::1;:22;:6:::0;;::::1;:22:::0;::::1;;72889:67;;;;;;;;;;;;;;90496:8:::2;:6;:8::i;72685:79::-:0;72750:6;;;;;;;;72685:79::o;55213:96::-;55294:7;55287:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55261:13;;55287:14;;55294:7;;55287:14;;55294:7;55287:14;;;;;;;;;;;;;;;;;;;;;;;;89774:98;89855:9;89848:16;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;89822:13;;89848:16;;89855:9;;89848:16;;89855:9;89848:16;;;;;;;;;;;;;;;;;;;;;;;;88455:618;88502:25;87666:4;88548:7;:29;;88540:59;;;;;;;;;;;;;;88610:12;88625:31;:7;87666:4;88625:31;:11;:31;:::i;:::-;88610:46;-1:-1:-1;88677:28:0;88610:46;87666:4;88677:28;:8;:28;:::i;:::-;88667:38;;88716:3;:12;;;88729;:10;:12::i;:::-;88743:7;88716:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;88716:35:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;88716:35:0;;;;88787:4;88773:19;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;88773:19:0;;;;;;;;;;;;;;;;;;;;;;;29:2:-1;21:6;17:15;125:4;109:14;101:6;88:42;144:17;;-1:-1;88773:19:0;;88762:30;;88807:4;88815:1;88807:9;88803:212;;;88847:20;88854:12;:10;:12::i;88847:20::-;88833:8;88842:1;88833:11;;;;;;;;;;;;;:34;;;;;88803:212;;;88905:9;88900:104;88924:4;88920:1;:8;88900:104;;;88968:20;88975:12;:10;:12::i;88968:20::-;88954:8;88963:1;88954:11;;;;;;;;;;;;;;;;;:34;88930:3;;88900:104;;;;88803:212;89035:10;89030:35;;;89047:8;89057:7;89030:35;;;;;;;;;;;;;;;;88455:618;;;;:::o;89880:110::-;72907:12;:10;:12::i;:::-;72897:6;;;;;:22;:6;;;:22;;;72889:67;;;;;;;;;;;;;;89961:21;;::::1;::::0;:9:::1;::::0;:21:::1;::::0;::::1;::::0;::::1;:::i;58024:295::-:0;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;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;90604:227::-;72907:12;:10;:12::i;:::-;72897:6;;;;;:22;:6;;;:22;;;72889:67;;;;;;;;;;;;;;90735:6:::1;90711:31;;:12;:31;;;;90703:63;;;;;;;;;;;;;;90784:12;90777:29;;;90807:7;:5;:7::i;:::-;90816:6;90777:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24::::0;17:12:::1;2:2;90777:46:0;;;;8:9:-1;5:2;;;45:16;42:1;39::::0;24:38:::1;77:16;74:1;67:27;5:2;90777: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;90777:46:0;;;;;;;;55380:755:::0;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;90839:250::-;72907:12;:10;:12::i;:::-;72897:6;;;;;:22;:6;;;:22;;;72889:67;;;;;;;;;;;;;;90972:6:::1;90948:31;;:12;:31;;;;90940:63;;;;;;;;;;;;;;91022:12;91014:34;;;91057:4;91064:7;:5;:7::i;:::-;91073;91014:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24::::0;17:12:::1;2:2;91014:67:0;;;;8:9:-1;5:2;;;45:16;42:1;39::::0;24:38:::1;77:16;74:1;67:27;5:2;91014:67:0;;;;90839:250:::0;;:::o;90135:294::-;72907:12;:10;:12::i;:::-;72897:6;;;;;:22;:6;;;:22;;;72889:67;;;;;;;;;;;;;;90266:9:::1;:16;90247:8;:15;:35;90239:60;;;;;;;;;;;;;;90315:9;90310:112;90334:8;:15;90330:1;:19;90310:112;;;90371:39;90384:8;90393:1;90384:11;;;;;;;;;;;;;;90397:9;90407:1;90397:12;;;;;;;;;;;;;;90371;:39::i;:::-;90351:3;;90310:112;;58390:156:::0;58503:25;;;;58479:4;58503:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;58390:156::o;87677:24::-;;;:::o;87708:41::-;;;:::o;73630:244::-;72907:12;:10;:12::i;:::-;72897:6;;;;;:22;:6;;;:22;;;72889:67;;;;;;;;;;;;;;73719:22:::1;::::0;::::1;73711:73;;;;;;;;;;;;;;73821:6;::::0;73800:38:::1;::::0;::::1;::::0;;::::1;::::0;73821:6:::1;::::0;::::1;;::::0;73800:38:::1;::::0;;;::::1;73849:6;:17:::0;;::::1;::::0;;::::1;;;::::0;;;::::1;::::0;;;::::1;::::0;;73630:244::o;60963:119::-;61020:4;61044:30;:12;61066:7;61044:30;:21;:30;:::i;14827:106::-;14915:10;14827: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;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;7948:137::-;8019:7;8054:22;8058:3;8070:5;8054:3;:22::i;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;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;8889:422::-;9256:20;9295:8;;;8889:422::o;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;87099:255::-;87168:20;87342:3;87283:1;87268:12;:16;87258:27;87287:3;87292:10;87304:16;87322:4;87241:86;;;;;;;;;;;;;;;;49:4:-1;39:7;30;26:21;22:32;13:7;6:49;87241:86:0;;;87231:97;;;;;;87209:130;;:136;;;;;;;87099:255;-1:-1:-1;;;87099:255: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;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;38955:132::-:0;39013:7;39040:39;39044:1;39047;39040:39;;;;;;;;;;;;;;;;;:3;:39::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;;;;;;;;;;;;;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;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;;;;;;;;;;;;;7035:137;7105:4;7129:35;7137:3;7157:5;7129:7;:35::i;6728:131::-;6795:4;6819:32;6824:3;6844:5;6819:4;:32::i;47591:176::-;47680:4;47704:55;47709:3;47729;47743:14;;;47704:4;:55::i;4612:204::-;4707:18;;4679:7;;4707:26;-1:-1:-1;4699:73:0;;;;;;;;;;;;;;4790:3;:11;;4802:5;4790:18;;;;;;;;;;;;;;;;4783:25;;4612:204;;;;:::o;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;47933:142::-;48010:4;48034:33;48042:3;48062;48034:7;:33::i;39583:278::-;39669:7;39704:12;39697:5;39689:28;;;;;;;;;;;;;;;;39728:9;39744:1;39740;:5;;;;;;;39583:278;-1:-1:-1;;;;;39583:278:0: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;45561:125::-;45632:4;45656:17;;;:12;;;;;:17;;;;;;:22;;;45561:125::o;2314:1544::-;2380:4;2519:19;;;:12;;;:19;;;;;;2555:15;;2551:1300;;2990:18;;2941:14;;;;;2990:22;;;;2917:21;;2990:3;;:22;;3277;;;;;;;;;;;;;;3257:42;;3423:9;3394:3;:11;;3406:13;3394:26;;;;;;;;;;;;;;;;;;;:38;;;;3500:23;;;3542:1;3500:12;;;:23;;;;;;3526:17;;;3500:43;;3652:17;;3500:3;;3652:17;;;;;;;;;;;;;;;;;;;;;;3747:3;:12;;:19;3760:5;3747:19;;;;;;;;;;;3740:26;;;3790:4;3783:11;;;;;;;;2551:1300;3834:5;3827:12;;;;;1724:414;1787:4;1809:21;1819:3;1824:5;1809:9;:21::i;:::-;1804:327;;-1:-1:-1;27:10;;39:1;23:18;;;45:23;;1847:11:0;:23;;;;;;;;;;;;;2030:18;;2008:19;;;:12;;;:19;;;;;;:40;;;;2063:11;;1804:327;-1:-1:-1;2114:5:0;2107: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;11807:196;11910:12;11942:53;11965:6;11973:4;11979:1;11982:12;13314;13347:18;13358:6;13347:10;:18::i;:::-;13339:60;;;;;;;;;;;;;;13473:12;13487:23;13514:6;:11;;13534:8;13545:4;13514: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;;13472:78:0;;;;13565:7;13561:595;;;13596:10;-1:-1:-1;13589:17:0;;-1:-1:-1;13589:17:0;13561:595;13710:17;;:21;13706:439;;13973:10;13967:17;14034:15;14021:10;14017:2;14013:19;14006:44;13921:148;14116:12;14109:20;;;;;;;;;;;;87480:3612;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;87480:3612:0;;;-1:-1:-1;87480:3612:0;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5:130:-1;72:20;;46196:42;46185:54;;48374:35;;48364:2;;48423:1;;48413:12;159:708;;286:3;279:4;271:6;267:17;263:27;253:2;;-1:-1;;294:12;253:2;341:6;328:20;363:90;378:74;445:6;378:74;;;363:90;;;481:21;;;354:99;-1:-1;525:4;538:14;;;;513:17;;;633:1;618:243;643:6;640:1;637:13;618:243;;;750:47;793:3;525:4;726:3;713:17;517:6;701:30;;750:47;;;738:60;;812:14;;;;840;;;;665:1;658:9;618:243;;;622:14;;;;;246:621;;;;;2149:440;;2250:3;2243:4;2235:6;2231:17;2227:27;2217:2;;-1:-1;;2258:12;2217:2;2305:6;2292:20;43407:18;43399:6;43396:30;43393:2;;;-1:-1;;43429:12;43393:2;2327:64;43570:4;43502:9;2243:4;43487:6;43483:17;43479:33;43560:15;2327:64;;;2318:73;;2411:6;2404:5;2397:21;2515:3;43570:4;2506:6;2439;2497:16;;2494:25;2491:2;;;2532:1;;2522:12;2491:2;47391:6;43570:4;2439:6;2435:17;43570:4;2473:5;2469:16;47368:30;47447:1;47429:16;;;43570:4;47429:16;47422:27;2473:5;2210:379;-1:-1;;2210:379;3326:241;;3430:2;3418:9;3409:7;3405:23;3401:32;3398:2;;;-1:-1;;3436:12;3398:2;3498:53;3543:7;3519:22;3498:53;;3574:366;;;3695:2;3683:9;3674:7;3670:23;3666:32;3663:2;;;-1:-1;;3701:12;3663:2;3763:53;3808:7;3784:22;3763:53;;;3753:63;;3871:53;3916:7;3853:2;3896:9;3892:22;3871:53;;;3861:63;;3657:283;;;;;;3947:491;;;;4085:2;4073:9;4064:7;4060:23;4056:32;4053:2;;;-1:-1;;4091:12;4053:2;85:6;72:20;97:33;124:5;97:33;;;4143:63;-1:-1;4243:2;4282:22;;72:20;97:33;72:20;97:33;;;4047:391;;4251:63;;-1:-1;;;4351:2;4390:22;;;;3115:20;;4047:391;4445:721;;;;;4609:3;4597:9;4588:7;4584:23;4580:33;4577:2;;;-1:-1;;4616:12;4577:2;4678:53;4723:7;4699:22;4678:53;;;4668:63;;4786:53;4831:7;4768:2;4811:9;4807:22;4786:53;;;4776:63;;4876:2;4919:9;4915:22;3115:20;4884:63;;5012:2;5001:9;4997:18;4984:32;5036:18;5028:6;5025:30;5022:2;;;-1:-1;;5058:12;5022:2;5088:62;5142:7;5133:6;5122:9;5118:22;5088:62;;;5078:72;;;4571:595;;;;;;;;5173:360;;;5291:2;5279:9;5270:7;5266:23;5262:32;5259:2;;;-1:-1;;5297:12;5259:2;5359:53;5404:7;5380:22;5359:53;;;5349:63;;5449:2;5489:9;5485:22;1672:20;1697:30;1721:5;1697:30;;;5457:60;;;;5253:280;;;;;;5540:366;;;5661:2;5649:9;5640:7;5636:23;5632:32;5629:2;;;-1:-1;;5667:12;5629:2;5729:53;5774:7;5750:22;5729:53;;;5719:63;5819:2;5858:22;;;;3115:20;;-1:-1;;;5623:283;5913:658;;;6094:2;6082:9;6073:7;6069:23;6065:32;6062:2;;;-1:-1;;6100:12;6062:2;6158:17;6145:31;6196:18;;6188:6;6185:30;6182:2;;;-1:-1;;6218:12;6182:2;6309:6;6298:9;6294:22;1010:3;1003:4;995:6;991:17;987:27;977:2;;-1:-1;;1018:12;977:2;1065:6;1052:20;1038:34;;1087:80;1102:64;1159:6;1102:64;;1087:80;1173:16;1209:6;1202:5;1195:21;1239:4;;1256:3;1252:14;1245:21;;1239:4;1231:6;1227:17;1361:3;1239:4;;1345:6;1341:17;1231:6;1332:27;;1329:36;1326:2;;;-1:-1;;1368:12;1326:2;-1:-1;1394:10;;1388:206;1413:6;1410:1;1407:13;1388:206;;;3115:20;;1481:50;;1435:1;1428:9;;;;;1545:14;;;;1573;;1388:206;;;-1:-1;6238:88;;-1:-1;6376:18;;6363:32;;-1:-1;;;6404:30;;;6401:2;;;-1:-1;;6437:12;6401:2;;6467:88;6547:7;6538:6;6527:9;6523:22;6467:88;;;6457:98;;;6056:515;;;;;;6578:257;;6690:2;6678:9;6669:7;6665:23;6661:32;6658:2;;;-1:-1;;6696:12;6658:2;1820:6;1814:13;1832:30;1856:5;1832:30;;6842:239;;6945:2;6933:9;6924:7;6920:23;6916:32;6913:2;;;-1:-1;;6951:12;6913:2;1953:6;1940:20;1965:32;1991:5;1965:32;;7088:261;;7202:2;7190:9;7181:7;7177:23;7173:32;7170:2;;;-1:-1;;7208:12;7170:2;2092:6;2086:13;2104:32;2130:5;2104:32;;7356:347;;7470:2;7458:9;7449:7;7445:23;7441:32;7438:2;;;-1:-1;;7476:12;7438:2;7534:17;7521:31;7572:18;7564:6;7561:30;7558:2;;;-1:-1;;7594:12;7558:2;7624:63;7679:7;7670:6;7659:9;7655:22;7624:63;;7710:241;;7814:2;7802:9;7793:7;7789:23;7785:32;7782:2;;;-1:-1;;7820:12;7782:2;-1:-1;3115:20;;7776:175;-1:-1;7776:175;7958:263;;8073:2;8061:9;8052:7;8048:23;8044:32;8041:2;;;-1:-1;;8079:12;8041:2;-1:-1;3263:13;;8035:186;-1:-1;8035:186;8228:472;;;8359:2;8347:9;8338:7;8334:23;8330:32;8327:2;;;-1:-1;;8365:12;8327:2;3128:6;3115:20;8417:63;;8545:2;8534:9;8530:18;8517:32;8569:18;8561:6;8558:30;8555:2;;;-1:-1;;8591:12;8555:2;8621:63;8676:7;8667:6;8656:9;8652:22;8621:63;;9524:690;;9717:5;44347:12;44891:6;44886:3;44879:19;44928:4;;44923:3;44919:14;9729:93;;44928:4;9893:5;44036:14;-1:-1;9932:260;9957:6;9954:1;9951:13;9932:260;;;10018:13;;10422:58;;8861:14;;;;44734;;;;9979:1;9972:9;9932:260;;;-1:-1;10198:10;;9648:566;-1:-1;;;;;9648:566;10609:343;;10751:5;44347:12;44891:6;44886:3;44879:19;10844:52;10889:6;44928:4;44923:3;44919:14;44928:4;10870:5;10866:16;10844:52;;;48196:2;48176:14;48192:7;48172:28;10908:39;;;;44928:4;10908:39;;10699:253;-1:-1;;10699:253;23891:832;10422:58;;;24235:2;24226:12;;10422:58;;;;48287:2;48283:14;;;;;;24337:12;;;9287:74;24464:12;;;10422:58;24575:12;;;10422:58;24686:12;;;24126:597;24730:262;;11119:5;44347:12;11230:52;11275:6;11270:3;11263:4;11256:5;11252:16;11230:52;;;11294:16;;;;;24855:137;-1:-1;;24855:137;24999:421;;-1:-1;12547:5;12541:12;12581:1;;12570:9;12566:17;12594:1;12589:268;;;;12868:1;12863:425;;;;12559:729;;12589:268;12809:9;12798;12794:25;12789:3;12782:38;12667:4;12663:1;12652:9;12648:17;12644:28;12838:3;12834:16;12827:23;;12589:268;;12863:425;12932:1;12921:9;12917:17;44184:3;-1:-1;44174:14;44216:4;;-1:-1;44203:18;-1:-1;13121:130;13135:6;13132:1;13129:13;13121:130;;;13194:14;;13181:11;;;13174:35;13228:15;;;;13150:12;;13121:130;;;-1:-1;;;13265:16;;;-1:-1;12559:729;;;;11119:5;44347:12;11230:52;11275:6;11270:3;11263:4;11256:5;11252:16;11230:52;;;11294:16;;25171:249;-1:-1;;;;25171:249;25427:213;46196:42;46185:54;;;;9125:45;;25545:2;25530:18;;25516:124;25883:663;;46196:42;;9163:5;46185:54;9132:3;9125:45;46196:42;9163:5;46185:54;26300:2;26289:9;26285:18;9125:45;;10472:5;26383:2;26372:9;26368:18;10422:58;26119:3;26420:2;26409:9;26405:18;26398:48;26460:76;26119:3;26108:9;26104:19;26522:6;26460:76;;;26452:84;26090:456;-1:-1;;;;;;26090:456;26553:340;46196:42;46185:54;;;;8968:58;;26879:2;26864:18;;10422:58;26707:2;26692:18;;26678:215;26900:451;46196:42;46185:54;;;9125:45;;46185:54;;;;27254:2;27239:18;;8968:58;27337:2;27322:18;;10422:58;;;;27082:2;27067:18;;27053:298;28131:361;;28299:2;28320:17;28313:47;28374:108;28299:2;28288:9;28284:18;28468:6;28374:108;;28499:472;;28695:2;28716:17;28709:47;28770:108;28695:2;28684:9;28680:18;28864:6;28770:108;;;28762:116;;10472:5;28957:2;28946:9;28942:18;10422:58;28666:305;;;;;;28978:201;45867:13;;45860:21;10287:34;;29090:2;29075:18;;29061:118;29186:209;46044:66;46033:78;;;;10561:36;;29302:2;29287:18;;29273:122;29918:301;;30056:2;30077:17;30070:47;30131:78;30056:2;30045:9;30041:18;30195:6;30131:78;;30226:407;30417:2;30431:47;;;13527:2;30402:18;;;44879:19;13563:34;44919:14;;;13543:55;13632:4;13618:12;;;13611:26;13656:12;;;30388:245;30640:407;30831:2;30845:47;;;13907:2;30816:18;;;44879:19;13943:34;44919:14;;;13923:55;14012:13;13998:12;;;13991:35;14045:12;;;30802:245;31054:407;31245:2;31259:47;;;14296:2;31230:18;;;44879:19;14332:22;44919:14;;;14312:43;14374:12;;;31216:245;31468:407;31659:2;31673:47;;;14625:2;31644:18;;;44879:19;14661:14;44919;;;14641:35;14695:12;;;31630:245;31882:407;32073:2;32087:47;;;14946:2;32058:18;;;44879:19;14982:34;44919:14;;;14962:55;15051:20;15037:12;;;15030:42;15091:12;;;32044:245;32296:407;32487:2;32501:47;;;15342:2;32472:18;;;44879:19;15378:34;44919:14;;;15358:55;15447:8;15433:12;;;15426:30;15475:12;;;32458:245;32710:407;32901:2;32915:47;;;15726:2;32886:18;;;44879:19;15762:30;44919:14;;;15742:51;15812:12;;;32872:245;33124:407;33315:2;33329:47;;;16063:2;33300:18;;;44879:19;16099:34;44919:14;;;16079:55;16168:6;16154:12;;;16147:28;16194:12;;;33286:245;33538:407;33729:2;33743:47;;;16445:2;33714:18;;;44879:19;16481:27;44919:14;;;16461:48;16528:12;;;33700:245;33952:407;34143:2;34157:47;;;16779:2;34128:18;;;44879:19;16815:34;44919:14;;;16795:55;16884:14;16870:12;;;16863:36;16918:12;;;34114:245;34366:407;34557:2;34571:47;;;17169:2;34542:18;;;44879:19;17205;44919:14;;;17185:40;17244:12;;;34528:245;34780:407;34971:2;34985:47;;;17495:2;34956:18;;;44879:19;17531:28;44919:14;;;17511:49;17579:12;;;34942:245;35194:407;35385:2;35399:47;;;17830:2;35370:18;;;44879:19;17866:18;44919:14;;;17846:39;17904:12;;;35356:245;35608:407;35799:2;35813:47;;;18155:2;35784:18;;;44879:19;18191:34;44919:14;;;18171:55;18260:26;18246:12;;;18239:48;18306:12;;;35770:245;36022:407;36213:2;36227:47;;;18557:2;36198:18;;;44879:19;18593:34;44919:14;;;18573:55;18662:12;18648;;;18641:34;18694:12;;;36184:245;36436:407;36627:2;36641:47;;;18945:2;36612:18;;;44879:19;18981:34;44919:14;;;18961:55;19050:4;19036:12;;;19029:26;19074:12;;;36598:245;36850:407;37041:2;37055:47;;;37026:18;;;44879:19;19361:34;44919:14;;;19341:55;19415:12;;;37012:245;37264:407;37455:2;37469:47;;;19666:2;37440:18;;;44879:19;19702:34;44919:14;;;19682:55;19771:3;19757:12;;;19750:25;19794:12;;;37426:245;37678:407;37869:2;37883:47;;;20045:2;37854:18;;;44879:19;20081:34;44919:14;;;20061:55;20150:14;20136:12;;;20129:36;20184:12;;;37840:245;38092:407;38283:2;38297:47;;;20435:2;38268:18;;;44879:19;20471:34;44919:14;;;20451:55;20540:14;20526:12;;;20519:36;20574:12;;;38254:245;38506:407;38697:2;38711:47;;;38682:18;;;44879:19;20861:34;44919:14;;;20841:55;20915:12;;;38668:245;38920:407;39111:2;39125:47;;;21166:2;39096:18;;;44879:19;21202:34;44919:14;;;21182:55;21271:11;21257:12;;;21250:33;21302:12;;;39082:245;39334:407;39525:2;39539:47;;;21553:2;39510:18;;;44879:19;21589:34;44919:14;;;21569:55;21658:17;21644:12;;;21637:39;21695:12;;;39496:245;39748:407;39939:2;39953:47;;;39924:18;;;44879:19;21982:34;44919:14;;;21962:55;22036:12;;;39910:245;40162:407;40353:2;40367:47;;;22287:2;40338:18;;;44879:19;22323:34;44919:14;;;22303:55;22392:3;22378:12;;;22371:25;22415:12;;;40324:245;40576:407;40767:2;40781:47;;;22666:2;40752:18;;;44879:19;22702:34;44919:14;;;22682:55;22771:19;22757:12;;;22750:41;22810:12;;;40738:245;40990:407;41181:2;41195:47;;;23061:2;41166:18;;;44879:19;23097:31;44919:14;;;23077:52;23148:12;;;41152:245;41404:407;41595:2;41609:47;;;23399:2;41580:18;;;44879:19;23435:21;44919:14;;;23415:42;23476:12;;;41566:245;41818:213;10422:58;;;41936:2;41921:18;;41907:124;42038:324;10422:58;;;42348:2;42333:18;;10422:58;42184:2;42169:18;;42155:207;42369:256;42431:2;42425:9;42457:17;;;42532:18;42517:34;;42553:22;;;42514:62;42511:2;;;42589:1;;42579:12;42511:2;42431;42598:22;42409:216;;-1:-1;42409:216;42632:314;;42801:18;42793:6;42790:30;42787:2;;;-1:-1;;42823:12;42787:2;-1:-1;42868:4;42856:17;;;42921:15;;42724:222;47464:268;47529:1;47536:101;47550:6;47547:1;47544:13;47536:101;;;47617:11;;;47611:18;47598:11;;;47591:39;47572:2;47565:10;47536:101;;;47652:6;47649:1;47646:13;47643:2;;;-1:-1;;47529:1;47699:16;;47692:27;47513:219;48315:117;46196:42;48402:5;46185:54;48377:5;48374:35;48364:2;;48423:1;;48413:12;48439:111;48520:5;45867:13;45860:21;48498:5;48495:32;48485:2;;48541:1;;48531:12;48557:115;46044:66;48642:5;46033:78;48618:5;48615:34;48605:2;;48663:1;;48653:12

Swarm Source

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