ETH Price: $2,994.40 (+3.31%)
Gas: 5 Gwei

Token

NFTegg Series #1 (NFTeGG)
 

Overview

Max Total Supply

1,655 NFTeGG

Holders

272

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Filtered by Token Holder
EthDev
Balance
1 NFTeGG
0xde0b295669a9fd93d5f28d9ec85e40f4cb697bae
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

NFTeGG is a NFT project whereby users can open NFTeGG and check if they got a Series #1 Gimmick or iClops and use a action ticket for more rewards.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
NFTeGG_Series_1

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2020-10-25
*/

// SPDX-License-Identifier: MIT AND UNLICENSED

pragma solidity ^0.6.2;

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


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




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




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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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




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




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




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

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

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

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

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

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

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


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


/**
 * @dev Contract module that can be used to recover ERC20 compatible tokens stuck in the contract.
 */
contract ERC20Recoverable is Ownable {
    /**
     * @dev Used to transfer tokens stuck on this contract to another address.
     */
    function recoverERC20(address token, address recipient, uint256 amount) external onlyOwner returns (bool) {
        return IERC20(token).transfer(recipient, amount);
    }

    /**
     * @dev Used to approve recovery of stuck tokens. May also be used to approve token transfers in advance.
     */
     function recoverERC20Approve(address token, address spender, uint256 amount) external onlyOwner returns (bool) {
        return IERC20(token).approve(spender, amount);
    }
}

/**
 * @dev Contract module that can be used to recover ERC20 compatible tokens stuck in the contract.
 */
contract ERC721Recoverable is Ownable {
    /**
     * @dev Used to recover a stuck token.
     */
    function recoverERC721(address token, address recipient, uint256 tokenId) external onlyOwner {
        return IERC721(token).transferFrom(address(this), recipient, tokenId);
    }

    /**
     * @dev Used to recover a stuck token using the safe transfer function of ERC721.
     */
    function recoverERC721Safe(address token, address recipient, uint256 tokenId) external onlyOwner {
        return IERC721(token).safeTransferFrom(address(this), recipient, tokenId);
    }

    /**
     * @dev Used to approve the recovery of a stuck token.
     */
    function recoverERC721Approve(address token, address recipient, uint256 tokenId) external onlyOwner {
        return IERC721(token).approve(recipient, tokenId);
    }

    /**
     * @dev Used to approve the recovery of stuck token, also in future.
     */
    function recoverERC721ApproveAll(address token, address recipient, bool approved) external onlyOwner {
        return IERC721(token).setApprovalForAll(recipient, approved);
    }
}

/**
 * @dev Most credited to OpenZeppelin ERC721.sol, but with some adjustments.
 */
contract T2 is Context, Ownable, ERC165, IERC721, IERC721Metadata, IERC721Enumerable, ERC20Recoverable, ERC721Recoverable {
    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;

    // Base URI
    string private _baseURI;

    // Specified if tokens are transferable. Can be flipped by the owner.
    bool private _transferable;

    // Price per token. Is chosen and can be changed by contract owner.
    uint256 private _tokenPrice;

    // Counter for token id
    uint256 private _nextId = 1;

    /*
     *     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, string memory baseURI, bool transferable, uint256 tokenPrice) public {
        _name = name;
        _symbol = symbol;
        _baseURI = baseURI;
        _transferable = transferable;
        _tokenPrice = tokenPrice;

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

// public functions:
    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) external 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() external view override returns (string memory) {
        return _name;
    }

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

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

        // 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() external view returns (string memory) {
        return _baseURI;
    }

    /**
     * @dev Returns if tokens are globally transferable currently. That may be decided by the contract owner.
     */
    function transferable() external view returns (bool) {
        return _transferable;
    }

    /**
     * @dev Price per token for public purchase.
     */
    function tokenPrice() external view returns (uint256) {
        return _tokenPrice;
    }

    /**
     * @dev Next token id.
     */
    function nextTokenId() public view returns (uint256) {
        return _nextId;
    }

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

    /**
     * @dev See {IERC721Enumerable-totalSupply}.
     */
    function totalSupply() external 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) external view override returns (uint256) {
        (uint256 tokenId, ) = _tokenOwners.at(index);
        return tokenId;
    }

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) external 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) external 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) external 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) external 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);
    }

    function buyToken() external payable returns (bool)
    {
        uint256 paidAmount = msg.value;
        require(paidAmount == _tokenPrice, "Invalid amount for token purchase");
        _mint(msg.sender, nextTokenId());
        _incrementTokenId();
        payable(owner()).transfer(paidAmount);
        return true;
    }

    /**
     * @dev Burns `tokenId`. See {ERC721-_burn}.
     *
     * Requirements:
     *
     * - The caller must own `tokenId` or be an approved operator.
     */
    function burn(uint256 tokenId) public returns (bool) {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721Burnable: caller is not owner nor approved");
        _burn(tokenId);
        return true;
    }

    function burnAnyFrom(address burner) public returns (bool) {
        require(_holderTokens[burner].length() > 0, "Address does not have any tokens to burn");
        return burn(_holderTokens[burner].at(0));
    }

    function burnAny() external returns (bool) {
        return burnAnyFrom(msg.sender);
    }

// owner functions:
    /**
     * @dev Function to set the base URI for all token IDs. It is automatically added as a prefix to the token id in {tokenURI} to retrieve the token URI.
     */
    function setBaseURI(string calldata baseURI_) external onlyOwner {
        _baseURI = baseURI_;
    }

    /**
     * @dev Function for the contract owner to allow or disallow token transfers.
     */
    function setTransferable(bool allowed) external onlyOwner {
        _transferable = allowed;
    }

    /**
     * @dev Sets a new token price.
     */
    function setTokenPrice(uint256 newPrice) external onlyOwner {
        _tokenPrice = newPrice;
    }

// internal functions:
    /**
     * @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) private {
        _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) private 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) private 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) private {
        _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) private {
        _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) private {
        require(to != address(0), "ERC721: mint to the zero address");
        require(!_exists(tokenId), "ERC721: token already minted");

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

        // Clear approvals
        _approve(address(0), 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`.
     * - contract owner must have transfer globally allowed.
     *
     * Emits a {Transfer} event.
     */
    function _transfer(address from, address to, uint256 tokenId) private {
        require(ownerOf(tokenId) == from, "ERC721: transfer of token that is not own");
        require(to != address(0), "ERC721: transfer to the zero address");
        require(_transferable == true, "ERC721 transfer not permitted by contract owner");

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

    function _incrementTokenId() private {
        _nextId = _nextId.add(1);
    }
}


/**
 * @dev Most credited to OpenZeppelin ERC721.sol, but with some adjustments.
 */
contract NFTeGG_Series_1 is Context, Ownable, ERC165, IERC721, IERC721Metadata, IERC721Enumerable, ERC20Recoverable, ERC721Recoverable {
    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;

    // ERC721 token contract address serving as "ticket" to flip the bool in additional data
    address private _ticketContract;

    // Base URI
    string private _baseURI;

    // Price per token. Is chosen and can be changed by contract owner.
    uint256 private _tokenPrice;

    struct AdditionalData {
        bool isA; // A (true) or B (false)
        bool someBool; // may be flipped by token owner if he owns T2; default value in _mint
        uint8 power;
    }

    // Mapping from token ID to its additional data
    mapping (uint256 => AdditionalData) private _additionalData;

    // Counter for token id, and types
    uint256 private _nextId = 1;
    uint32 private _countA = 0; // count of B is implicit and not needed

    mapping (address => bool) public freeBoolSetters; // addresses which do not need to pay to set the bool variable

    // limits
    uint256 public constant MAX_SUPPLY = 7000;
    uint32 public constant MAX_A = 1000;
    uint32 public constant MAX_B = 6000;

    /*
     *     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, string memory baseURI, uint256 tokenPrice, address ticketContract) public {
        _name = name;
        _symbol = symbol;
        _baseURI = baseURI;
        _tokenPrice = tokenPrice;
        _ticketContract = ticketContract;

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

// public functions:
    /**
     * @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() external view override returns (string memory) {
        return _name;
    }

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

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

        // 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() external view returns (string memory) {
        return _baseURI;
    }

    /**
     * @dev Retrieves address of the ticket token contract.
     */
    function ticketContract() external view returns (address) {
        return _ticketContract;
    }

    /**
     * @dev Price per token for public purchase.
     */
    function tokenPrice() external view returns (uint256) {
        return _tokenPrice;
    }

    /**
     * @dev Next token id.
     */
    function nextTokenId() public view returns (uint256) {
        return _nextId;
    }

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) external view override returns (uint256) {
        require(index < balanceOf(owner), "Invalid token index for holder");
        return _holderTokens[owner].at(index);
    }

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

    /**
     * @dev Supply of A tokens.
     */
    function supplyOfA() external view returns (uint256) {
        return _countA;
    }

    /**
     * @dev See {IERC721Enumerable-tokenByIndex}.
     */
    function tokenByIndex(uint256 index) external view override returns (uint256) {
        require(index < _tokenOwners.length(), "Invalid token index");
        (uint256 tokenId, ) = _tokenOwners.at(index);
        return tokenId;
    }

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) external 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) external 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) external 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) external 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 Buys a token. Needs to be supplied the correct amount of ether.
     */
    function buyToken() external payable returns (bool)
    {
        uint256 paidAmount = msg.value;
        require(paidAmount == _tokenPrice, "Invalid amount for token purchase");
        address to = msg.sender;
        uint256 nextToken = nextTokenId();
        uint256 remainingTokens = 1 + MAX_SUPPLY - nextToken;
        require(remainingTokens > 0, "Maximum supply already reached");

        _holderTokens[to].add(nextToken);
        _tokenOwners.set(nextToken, to);

        uint256 remainingA = MAX_A - _countA;
        bool a = (uint256(keccak256(abi.encodePacked(blockhash(block.number - 1), now, nextToken))) % remainingTokens) < remainingA;
        uint8 pow = uint8(uint256(keccak256(abi.encodePacked(blockhash(block.number - 1), now + 1, nextToken))) % (a ? 21 : 79) + (a ? 80 : 1));
        _additionalData[nextToken] = AdditionalData(a, false, pow);

        if (a) {
            _countA = _countA + 1;
        }

        emit Transfer(address(0), to, nextToken);
        _nextId = nextToken.add(1);

        payable(owner()).transfer(paidAmount);
        return true;
    }

    function buy6Tokens() external payable returns (bool)
    {
        uint256 paidAmount = msg.value;
        require(paidAmount == (_tokenPrice * 5 + _tokenPrice / 2), "Invalid amount for token purchase"); // price for 6 tokens is 5.5 times the price for one token
        address to = msg.sender;
        uint256 nextToken = nextTokenId();
        uint256 remainingTokens = 1 + MAX_SUPPLY - nextToken;
        require(remainingTokens > 5, "Maximum supply already reached");
        uint256 endLoop = nextToken.add(6);

        while (nextToken < endLoop) {
            _holderTokens[to].add(nextToken);
            _tokenOwners.set(nextToken, to);

            uint256 remainingA = MAX_A - _countA;
            bool a = (uint256(keccak256(abi.encodePacked(blockhash(block.number - 1), now, nextToken))) % remainingTokens) < remainingA;
            uint8 pow = uint8(uint256(keccak256(abi.encodePacked(blockhash(block.number - 1), now + 1, nextToken))) % (a ? 21 : 79) + (a ? 80 : 1));
            _additionalData[nextToken] = AdditionalData(a, false, pow);

            if (a) {
                _countA = _countA + 1;
            }

            emit Transfer(address(0), to, nextToken);
            nextToken = nextToken.add(1);
            remainingTokens = remainingTokens.sub(1);
        }

        _nextId = _nextId.add(6);

        payable(owner()).transfer(paidAmount);
        return true;
    }
    
        function buyTokenTo(address to) external payable returns (bool)
    {
        uint256 paidAmount = msg.value;
        require(paidAmount == _tokenPrice, "Invalid amount for token purchase");
        uint256 nextToken = nextTokenId();
        uint256 remainingTokens = 1 + MAX_SUPPLY - nextToken;
        require(remainingTokens > 0, "Maximum supply already reached");

        _holderTokens[to].add(nextToken);
        _tokenOwners.set(nextToken, to);

        uint256 remainingA = MAX_A - _countA;
        bool a = (uint256(keccak256(abi.encodePacked(blockhash(block.number - 1), now, nextToken))) % remainingTokens) < remainingA;
        uint8 pow = uint8(uint256(keccak256(abi.encodePacked(blockhash(block.number - 1), now + 1, nextToken))) % (a ? 21 : 79) + (a ? 80 : 1));
        _additionalData[nextToken] = AdditionalData(a, false, pow);

        if (a) {
            _countA = _countA + 1;
        }

        emit Transfer(address(0), to, nextToken);
        _nextId = nextToken.add(1);

        payable(owner()).transfer(paidAmount);
        return true;
    }
    
    function buy6TokensTo(address to) external payable returns (bool)
    {
        uint256 paidAmount = msg.value;
        require(paidAmount == (_tokenPrice * 5 + _tokenPrice / 2), "Invalid amount for token purchase"); // price for 6 tokens is 5.5 times the price for one token
        uint256 nextToken = nextTokenId();
        uint256 remainingTokens = 1 + MAX_SUPPLY - nextToken;
        require(remainingTokens > 5, "Maximum supply already reached");
        uint256 endLoop = nextToken.add(6);

        while (nextToken < endLoop) {
            _holderTokens[to].add(nextToken);
            _tokenOwners.set(nextToken, to);

            uint256 remainingA = MAX_A - _countA;
            bool a = (uint256(keccak256(abi.encodePacked(blockhash(block.number - 1), now, nextToken))) % remainingTokens) < remainingA;
            uint8 pow = uint8(uint256(keccak256(abi.encodePacked(blockhash(block.number - 1), now + 1, nextToken))) % (a ? 21 : 79) + (a ? 80 : 1));
            _additionalData[nextToken] = AdditionalData(a, false, pow);

            if (a) {
                _countA = _countA + 1;
            }

            emit Transfer(address(0), to, nextToken);
            nextToken = nextToken.add(1);
            remainingTokens = remainingTokens.sub(1);
        }

        _nextId = _nextId.add(6);

        payable(owner()).transfer(paidAmount);
        return true;
    }

    /**
     * @dev Retrieves if the specified token is of A type.
     */
    function isA(uint256 tokenId) external view returns (bool) {
        require(_exists(tokenId), "Token ID does not exist");
        return _additionalData[tokenId].isA;
    }

    /**
     * @dev Retrieves if the specified token has its someBool attribute set.
     */
    function someBool(uint256 tokenId) external view returns (bool) {
        require(_exists(tokenId), "Token ID does not exist");
        return _additionalData[tokenId].someBool;
    }

    /**
     * @dev Sets someBool for the specified token. Can only be used by the owner of the token (not an approved account).
     * Owner needs to also own a ticket token to set the someBool attribute.
     */
    function setSomeBool(uint256 tokenId, bool newValue) external {
        require(_exists(tokenId), "Token ID does not exist");
        require(ownerOf(tokenId) == msg.sender, "Only token owner can set attribute");

        if (freeBoolSetters[msg.sender] == false && _additionalData[tokenId].someBool != newValue) {
            require(T2(_ticketContract).burnAnyFrom(msg.sender), "Token owner ticket could not be burned");
        }

        _additionalData[tokenId].someBool = newValue;
    }

    /**
     * @dev Retrieves the power value for a specified token.
     */
    function power(uint256 tokenId) external view returns (uint8) {
        require(_exists(tokenId), "Token ID does not exist");
        return _additionalData[tokenId].power;
    }

// owner functions:
    /**
     * @dev Function to set the base URI for all token IDs. It is automatically added as a prefix to the token id in {tokenURI} to retrieve the token URI.
     */
    function setBaseURI(string calldata baseURI_) external onlyOwner {
        _baseURI = baseURI_;
    }

    /**
     * @dev Sets a new token price.
     */
    function setTokenPrice(uint256 newPrice) external onlyOwner {
        _tokenPrice = newPrice;
    }

    function setFreeBoolSetter(address holder, bool setForFree) external onlyOwner {
        freeBoolSetters[holder] = setForFree;
    }

// internal functions:
    /**
     * @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) private {
        _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`).
     */
    function _exists(uint256 tokenId) private view returns (bool) {
        return tokenId < _nextId && _tokenOwners.contains(tokenId);
    }

    /**
     * @dev Returns whether `spender` is allowed to manage `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _isApprovedOrOwner(address spender, uint256 tokenId) private 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 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`.
     * - contract owner must have transfer globally allowed.
     *
     * Emits a {Transfer} event.
     */
    function _transfer(address from, address to, uint256 tokenId) private {
        require(ownerOf(tokenId) == from, "ERC721: transfer of token that is not own");
        require(to != address(0), "ERC721: transfer to the zero address");

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"string","name":"baseURI","type":"string"},{"internalType":"uint256","name":"tokenPrice","type":"uint256"},{"internalType":"address","name":"ticketContract","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":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","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"},{"inputs":[],"name":"MAX_A","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_B","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buy6Tokens","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"buy6TokensTo","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"buyToken","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"buyTokenTo","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"freeBoolSetters","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"uint256","name":"tokenId","type":"uint256"}],"name":"isA","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextTokenId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"power","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"recoverERC20","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"recoverERC20Approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"recoverERC721","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"recoverERC721Approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"recoverERC721ApproveAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"recoverERC721Safe","outputs":[],"stateMutability":"nonpayable","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":"address","name":"holder","type":"address"},{"internalType":"bool","name":"setForFree","type":"bool"}],"name":"setFreeBoolSetter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bool","name":"newValue","type":"bool"}],"name":"setSomeBool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setTokenPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"someBool","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"supplyOfA","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":[],"name":"ticketContract","outputs":[{"internalType":"address","name":"","type":"address"}],"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":[],"name":"tokenPrice","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":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526001600d556000600e60006101000a81548163ffffffff021916908363ffffffff1602179055503480156200003857600080fd5b5060405162005f4938038062005f49833981810160405260a08110156200005e57600080fd5b81019080805160405193929190846401000000008211156200007f57600080fd5b838201915060208201858111156200009657600080fd5b8251866001820283011164010000000082111715620000b457600080fd5b8083526020830192505050908051906020019080838360005b83811015620000ea578082015181840152602081019050620000cd565b50505050905090810190601f168015620001185780820380516001836020036101000a031916815260200191505b50604052602001805160405193929190846401000000008211156200013c57600080fd5b838201915060208201858111156200015357600080fd5b82518660018202830111640100000000821117156200017157600080fd5b8083526020830192505050908051906020019080838360005b83811015620001a75780820151818401526020810190506200018a565b50505050905090810190601f168015620001d55780820380516001836020036101000a031916815260200191505b5060405260200180516040519392919084640100000000821115620001f957600080fd5b838201915060208201858111156200021057600080fd5b82518660018202830111640100000000821117156200022e57600080fd5b8083526020830192505050908051906020019080838360005b838110156200026457808201518184015260208101905062000247565b50505050905090810190601f168015620002925780820380516001836020036101000a031916815260200191505b5060405260200180519060200190929190805190602001909291905050506000620002c26200045e60201b60201c565b9050806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a350620003786301ffc9a760e01b6200046660201b60201c565b8460079080519060200190620003909291906200056f565b508360089080519060200190620003a99291906200056f565b5082600a9080519060200190620003c29291906200056f565b5081600b8190555080600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550620004236380ac58cd60e01b6200046660201b60201c565b6200043b635b5e139f60e01b6200046660201b60201c565b6200045363780e9d6360e01b6200046660201b60201c565b505050505062000615565b600033905090565b63ffffffff60e01b817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916141562000503576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601c8152602001807f4552433136353a20696e76616c696420696e746572666163652069640000000081525060200191505060405180910390fd5b6001806000837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620005b257805160ff1916838001178555620005e3565b82800160010185558215620005e3579182015b82811115620005e2578251825591602001919060010190620005c5565b5b509050620005f29190620005f6565b5090565b5b8082111562000611576000816000905550600101620005f7565b5090565b61592480620006256000396000f3fe6080604052600436106102725760003560e01c806358a86e1d1161014f5780638da5cb5b116100c1578063c6ce3ae91161007a578063c6ce3ae9146110eb578063c87b56dd14611168578063cc193fb01461121c578063cf7d762f1461126e578063e985e9c51461128e578063f2fde38b1461131557610272565b80638da5cb5b14610dfa57806395d89b4114610e3b578063a22cb46514610ecb578063a482171914610f28578063aa849df814610f48578063b88d4fde14610fd957610272565b80636f76de06116101135780636f76de0614610ca657806370a0823114610cf7578063715018a614610d5c57806375794a3c14610d735780637ff9b59614610d9e5780638485391a14610dc957610272565b806358a86e1d14610ace5780635a8804ef14610b0f5780636352211e14610b765780636a61e5fc14610bdb5780636c0360eb14610c1657610272565b80632cdf2c35116101e857806339698415116101ac578063396984151461087857806342842e0e146108a957806348ee0c26146109245780634f6ccce71461097e57806355f804b3146109cd578063589c4dd414610a5357610272565b80632cdf2c35146106b85780632ede4c25146107335780632f745c591461078d57806332cb6b0c146107fc578063376ffc8b1461082757610272565b80631171bda91161023a5780631171bda91461049457806311a1ca031461052557806318160ddd1461056c5780631abf06a11461059757806323b872dd146105c257806324238d4a1461063d57610272565b806301ffc9a71461027757806306fdde03146102e75780630794105d14610377578063081812fc146103d4578063095ea7b314610439575b600080fd5b34801561028357600080fd5b506102cf6004803603602081101561029a57600080fd5b8101908080357bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19169060200190929190505050611366565b60405180821515815260200191505060405180910390f35b3480156102f357600080fd5b506102fc6113ce565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561033c578082015181840152602081019050610321565b50505050905090810190601f1680156103695780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561038357600080fd5b506103d26004803603604081101561039a57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803515159060200190929190505050611470565b005b3480156103e057600080fd5b5061040d600480360360208110156103f757600080fd5b8101908080359060200190929190505050611593565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561044557600080fd5b506104926004803603604081101561045c57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919050505061162e565b005b3480156104a057600080fd5b5061050d600480360360608110156104b757600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611772565b60405180821515815260200191505060405180910390f35b34801561053157600080fd5b5061056a6004803603604081101561054857600080fd5b81019080803590602001909291908035151590602001909291905050506118f1565b005b34801561057857600080fd5b50610581611bd2565b6040518082815260200191505060405180910390f35b3480156105a357600080fd5b506105ac611be3565b6040518082815260200191505060405180910390f35b3480156105ce57600080fd5b5061063b600480360360608110156105e557600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611c03565b005b34801561064957600080fd5b506106b66004803603606081101561066057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611c79565b005b3480156106c457600080fd5b50610731600480360360608110156106db57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611ded565b005b6107756004803603602081101561074957600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611f61565b60405180821515815260200191505060405180910390f35b34801561079957600080fd5b506107e6600480360360408110156107b057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506123a8565b6040518082815260200191505060405180910390f35b34801561080857600080fd5b50610811612480565b6040518082815260200191505060405180910390f35b34801561083357600080fd5b506108606004803603602081101561084a57600080fd5b8101908080359060200190929190505050612486565b60405180821515815260200191505060405180910390f35b34801561088457600080fd5b5061088d61252e565b604051808263ffffffff16815260200191505060405180910390f35b3480156108b557600080fd5b50610922600480360360608110156108cc57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050612534565b005b6109666004803603602081101561093a57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612554565b60405180821515815260200191505060405180910390f35b34801561098a57600080fd5b506109b7600480360360208110156109a157600080fd5b8101908080359060200190929190505050612935565b6040518082815260200191505060405180910390f35b3480156109d957600080fd5b50610a51600480360360208110156109f057600080fd5b8101908080359060200190640100000000811115610a0d57600080fd5b820183602082011115610a1f57600080fd5b80359060200191846001830284011164010000000083111715610a4157600080fd5b90919293919293905050506129d7565b005b348015610a5f57600080fd5b50610acc60048036036060811015610a7657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050612ab5565b005b348015610ada57600080fd5b50610ae3612c0b565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b348015610b1b57600080fd5b50610b5e60048036036020811015610b3257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612c35565b60405180821515815260200191505060405180910390f35b348015610b8257600080fd5b50610baf60048036036020811015610b9957600080fd5b8101908080359060200190929190505050612c55565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b348015610be757600080fd5b50610c1460048036036020811015610bfe57600080fd5b8101908080359060200190929190505050612c8c565b005b348015610c2257600080fd5b50610c2b612d5e565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610c6b578082015181840152602081019050610c50565b50505050905090810190601f168015610c985780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b348015610cb257600080fd5b50610cdf60048036036020811015610cc957600080fd5b8101908080359060200190929190505050612e00565b60405180821515815260200191505060405180910390f35b348015610d0357600080fd5b50610d4660048036036020811015610d1a57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612ea8565b6040518082815260200191505060405180910390f35b348015610d6857600080fd5b50610d71612f7d565b005b348015610d7f57600080fd5b50610d88613103565b6040518082815260200191505060405180910390f35b348015610daa57600080fd5b50610db361310d565b6040518082815260200191505060405180910390f35b348015610dd557600080fd5b50610dde613117565b604051808263ffffffff16815260200191505060405180910390f35b348015610e0657600080fd5b50610e0f61311d565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b348015610e4757600080fd5b50610e50613146565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610e90578082015181840152602081019050610e75565b50505050905090810190601f168015610ebd5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b348015610ed757600080fd5b50610f2660048036036040811015610eee57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035151590602001909291905050506131e8565b005b610f3061339e565b60405180821515815260200191505060405180910390f35b348015610f5457600080fd5b50610fc160048036036060811015610f6b57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050613783565b60405180821515815260200191505060405180910390f35b348015610fe557600080fd5b506110e960048036036080811015610ffc57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291908035906020019064010000000081111561106357600080fd5b82018360208201111561107557600080fd5b8035906020019184600183028401116401000000008311171561109757600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509192919290505050613902565b005b3480156110f757600080fd5b506111666004803603606081101561110e57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080351515906020019092919050505061397a565b005b34801561117457600080fd5b506111a16004803603602081101561118b57600080fd5b8101908080359060200190929190505050613ad2565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156111e15780820151818401526020810190506111c6565b50505050905090810190601f16801561120e5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561122857600080fd5b506112556004803603602081101561123f57600080fd5b8101908080359060200190929190505050613c08565b604051808260ff16815260200191505060405180910390f35b611276613cb0565b60405180821515815260200191505060405180910390f35b34801561129a57600080fd5b506112fd600480360360408110156112b157600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506140fb565b60405180821515815260200191505060405180910390f35b34801561132157600080fd5b506113646004803603602081101561133857600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061418f565b005b600060016000837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060009054906101000a900460ff169050919050565b606060078054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156114665780601f1061143b57610100808354040283529160200191611466565b820191906000526020600020905b81548152906001019060200180831161144957829003601f168201915b5050505050905090565b61147861439a565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611538576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b80600f60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b600061159e826143a2565b6115f3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602c815260200180615819602c913960400191505060405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061163982612c55565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156116c0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602181526020018061589d6021913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166116df61439a565b73ffffffffffffffffffffffffffffffffffffffff16148061170e575061170d8161170861439a565b6140fb565b5b611763576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603881526020018061576c6038913960400191505060405180910390fd5b61176d83836143cc565b505050565b600061177c61439a565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461183c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b8373ffffffffffffffffffffffffffffffffffffffff1663a9059cbb84846040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b1580156118ad57600080fd5b505af11580156118c1573d6000803e3d6000fd5b505050506040513d60208110156118d757600080fd5b810190808051906020019092919050505090509392505050565b6118fa826143a2565b61196c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260178152602001807f546f6b656e20494420646f6573206e6f7420657869737400000000000000000081525060200191505060405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff1661198c83612c55565b73ffffffffffffffffffffffffffffffffffffffff16146119f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260228152602001806156676022913960400191505060405180910390fd5b60001515600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161515148015611a7f5750801515600c600084815260200190815260200160002060000160019054906101000a900460ff16151514155b15611ba057600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16637b9a8242336040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff168152602001915050602060405180830381600087803b158015611b0f57600080fd5b505af1158015611b23573d6000803e3d6000fd5b505050506040513d6020811015611b3957600080fd5b8101908080519060200190929190505050611b9f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806156d06026913960400191505060405180910390fd5b5b80600c600084815260200190815260200160002060000160016101000a81548160ff0219169083151502179055505050565b6000611bde6003614485565b905090565b6000600e60009054906101000a900463ffffffff1663ffffffff16905090565b611c14611c0e61439a565b8261449a565b611c69576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260318152602001806158be6031913960400191505060405180910390fd5b611c7483838361458e565b505050565b611c8161439a565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611d41576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff166342842e0e3084846040518463ffffffff1660e01b8152600401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050600060405180830381600087803b158015611dd057600080fd5b505af1158015611de4573d6000803e3d6000fd5b50505050505050565b611df561439a565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611eb5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff166323b872dd3084846040518463ffffffff1660e01b8152600401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050600060405180830381600087803b158015611f4457600080fd5b505af1158015611f58573d6000803e3d6000fd5b50505050505050565b6000803490506002600b5481611f7357fe5b046005600b5402018114611fd2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806156896021913960400191505060405180910390fd5b6000611fdc613103565b9050600081611b5860010103905060058111612060576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f4d6178696d756d20737570706c7920616c72656164792072656163686564000081525060200191505060405180910390fd5b60006120766006846147c690919063ffffffff16565b90505b80831015612331576120d283600260008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002061484e90919063ffffffff16565b506120e9838760036148689092919063ffffffff16565b506000600e60009054906101000a900463ffffffff166103e80363ffffffff16905060008184600143034042886040516020018084815260200183815260200182815260200193505050506040516020818303038152906040528051906020012060001c8161215457fe5b06109050600081612166576001612169565b60505b60ff168261217857604f61217b565b60155b60ff16600143034060014201896040516020018084815260200183815260200182815260200193505050506040516020818303038152906040528051906020012060001c816121c657fe5b06019050604051806060016040528083151581526020016000151581526020018260ff16815250600c600088815260200190815260200160002060008201518160000160006101000a81548160ff02191690831515021790555060208201518160000160016101000a81548160ff02191690831515021790555060408201518160000160026101000a81548160ff021916908360ff16021790555090505081156122a1576001600e60009054906101000a900463ffffffff1601600e60006101000a81548163ffffffff021916908363ffffffff1602179055505b858973ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46123116001876147c690919063ffffffff16565b955061232760018661489d90919063ffffffff16565b9450505050612079565b6123476006600d546147c690919063ffffffff16565b600d8190555061235561311d565b73ffffffffffffffffffffffffffffffffffffffff166108fc859081150290604051600060405180830381858888f1935050505015801561239a573d6000803e3d6000fd5b506001945050505050919050565b60006123b383612ea8565b8210612427576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f496e76616c696420746f6b656e20696e64657820666f7220686f6c646572000081525060200191505060405180910390fd5b61247882600260008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206148e790919063ffffffff16565b905092915050565b611b5881565b6000612491826143a2565b612503576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260178152602001807f546f6b656e20494420646f6573206e6f7420657869737400000000000000000081525060200191505060405180910390fd5b600c600083815260200190815260200160002060000160019054906101000a900460ff169050919050565b6103e881565b61254f83838360405180602001604052806000815250613902565b505050565b600080349050600b5481146125b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806156896021913960400191505060405180910390fd5b60006125be613103565b9050600081611b5860010103905060008111612642576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f4d6178696d756d20737570706c7920616c72656164792072656163686564000081525060200191505060405180910390fd5b61269382600260008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002061484e90919063ffffffff16565b506126aa828660036148689092919063ffffffff16565b506000600e60009054906101000a900463ffffffff166103e80363ffffffff16905060008183600143034042876040516020018084815260200183815260200182815260200193505050506040516020818303038152906040528051906020012060001c8161271557fe5b0610905060008161272757600161272a565b60505b60ff168261273957604f61273c565b60155b60ff16600143034060014201886040516020018084815260200183815260200182815260200193505050506040516020818303038152906040528051906020012060001c8161278757fe5b06019050604051806060016040528083151581526020016000151581526020018260ff16815250600c600087815260200190815260200160002060008201518160000160006101000a81548160ff02191690831515021790555060208201518160000160016101000a81548160ff02191690831515021790555060408201518160000160026101000a81548160ff021916908360ff1602179055509050508115612862576001600e60009054906101000a900463ffffffff1601600e60006101000a81548163ffffffff021916908363ffffffff1602179055505b848873ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46128d26001866147c690919063ffffffff16565b600d819055506128e061311d565b73ffffffffffffffffffffffffffffffffffffffff166108fc879081150290604051600060405180830381858888f19350505050158015612925573d6000803e3d6000fd5b5060019650505050505050919050565b60006129416003614485565b82106129b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260138152602001807f496e76616c696420746f6b656e20696e6465780000000000000000000000000081525060200191505060405180910390fd5b60006129cb83600361490190919063ffffffff16565b50905080915050919050565b6129df61439a565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612a9f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b8181600a9190612ab0929190615575565b505050565b612abd61439a565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612b7d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff1663095ea7b383836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b158015612bee57600080fd5b505af1158015612c02573d6000803e3d6000fd5b50505050505050565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600f6020528060005260406000206000915054906101000a900460ff1681565b6000612c85826040518060600160405280602981526020016157ce60299139600361492d9092919063ffffffff16565b9050919050565b612c9461439a565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612d54576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b80600b8190555050565b6060600a8054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015612df65780601f10612dcb57610100808354040283529160200191612df6565b820191906000526020600020905b815481529060010190602001808311612dd957829003601f168201915b5050505050905090565b6000612e0b826143a2565b612e7d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260178152602001807f546f6b656e20494420646f6573206e6f7420657869737400000000000000000081525060200191505060405180910390fd5b600c600083815260200190815260200160002060000160009054906101000a900460ff169050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612f2f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a8152602001806157a4602a913960400191505060405180910390fd5b612f76600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002061494c565b9050919050565b612f8561439a565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614613045576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b6000600d54905090565b6000600b54905090565b61177081565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060088054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156131de5780601f106131b3576101008083540402835291602001916131de565b820191906000526020600020905b8154815290600101906020018083116131c157829003601f168201915b5050505050905090565b6131f061439a565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613291576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260198152602001807f4552433732313a20617070726f766520746f2063616c6c65720000000000000081525060200191505060405180910390fd5b806006600061329e61439a565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661334b61439a565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405180821515815260200191505060405180910390a35050565b600080349050600b5481146133fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806156896021913960400191505060405180910390fd5b6000339050600061340d613103565b9050600081611b5860010103905060008111613491576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f4d6178696d756d20737570706c7920616c72656164792072656163686564000081525060200191505060405180910390fd5b6134e282600260008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002061484e90919063ffffffff16565b506134f9828460036148689092919063ffffffff16565b506000600e60009054906101000a900463ffffffff166103e80363ffffffff16905060008183600143034042876040516020018084815260200183815260200182815260200193505050506040516020818303038152906040528051906020012060001c8161356457fe5b06109050600081613576576001613579565b60505b60ff168261358857604f61358b565b60155b60ff16600143034060014201886040516020018084815260200183815260200182815260200193505050506040516020818303038152906040528051906020012060001c816135d657fe5b06019050604051806060016040528083151581526020016000151581526020018260ff16815250600c600087815260200190815260200160002060008201518160000160006101000a81548160ff02191690831515021790555060208201518160000160016101000a81548160ff02191690831515021790555060408201518160000160026101000a81548160ff021916908360ff16021790555090505081156136b1576001600e60009054906101000a900463ffffffff1601600e60006101000a81548163ffffffff021916908363ffffffff1602179055505b848673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46137216001866147c690919063ffffffff16565b600d8190555061372f61311d565b73ffffffffffffffffffffffffffffffffffffffff166108fc889081150290604051600060405180830381858888f19350505050158015613774573d6000803e3d6000fd5b50600197505050505050505090565b600061378d61439a565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461384d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b8373ffffffffffffffffffffffffffffffffffffffff1663095ea7b384846040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b1580156138be57600080fd5b505af11580156138d2573d6000803e3d6000fd5b505050506040513d60208110156138e857600080fd5b810190808051906020019092919050505090509392505050565b61391361390d61439a565b8361449a565b613968576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260318152602001806158be6031913960400191505060405180910390fd5b61397484848484614961565b50505050565b61398261439a565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614613a42576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff1663a22cb46583836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff168152602001821515815260200192505050600060405180830381600087803b158015613ab557600080fd5b505af1158015613ac9573d6000803e3d6000fd5b50505050505050565b6060613add826143a2565b613b32576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f81526020018061586e602f913960400191505060405180910390fd5b600a613b3d836149d3565b6040516020018083805460018160011615610100020316600290048015613b9b5780601f10613b79576101008083540402835291820191613b9b565b820191906000526020600020905b815481529060010190602001808311613b87575b505082805190602001908083835b60208310613bcc5780518252602082019150602081019050602083039250613ba9565b6001836020036101000a038019825116818451168082178552505050505050905001925050506040516020818303038152906040529050919050565b6000613c13826143a2565b613c85576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260178152602001807f546f6b656e20494420646f6573206e6f7420657869737400000000000000000081525060200191505060405180910390fd5b600c600083815260200190815260200160002060000160029054906101000a900460ff169050919050565b6000803490506002600b5481613cc257fe5b046005600b5402018114613d21576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806156896021913960400191505060405180910390fd5b60003390506000613d30613103565b9050600081611b5860010103905060058111613db4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f4d6178696d756d20737570706c7920616c72656164792072656163686564000081525060200191505060405180910390fd5b6000613dca6006846147c690919063ffffffff16565b90505b8083101561408557613e2683600260008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002061484e90919063ffffffff16565b50613e3d838560036148689092919063ffffffff16565b506000600e60009054906101000a900463ffffffff166103e80363ffffffff16905060008184600143034042886040516020018084815260200183815260200182815260200193505050506040516020818303038152906040528051906020012060001c81613ea857fe5b06109050600081613eba576001613ebd565b60505b60ff1682613ecc57604f613ecf565b60155b60ff16600143034060014201896040516020018084815260200183815260200182815260200193505050506040516020818303038152906040528051906020012060001c81613f1a57fe5b06019050604051806060016040528083151581526020016000151581526020018260ff16815250600c600088815260200190815260200160002060008201518160000160006101000a81548160ff02191690831515021790555060208201518160000160016101000a81548160ff02191690831515021790555060408201518160000160026101000a81548160ff021916908360ff1602179055509050508115613ff5576001600e60009054906101000a900463ffffffff1601600e60006101000a81548163ffffffff021916908363ffffffff1602179055505b858773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46140656001876147c690919063ffffffff16565b955061407b60018661489d90919063ffffffff16565b9450505050613dcd565b61409b6006600d546147c690919063ffffffff16565b600d819055506140a961311d565b73ffffffffffffffffffffffffffffffffffffffff166108fc869081150290604051600060405180830381858888f193505050501580156140ee573d6000803e3d6000fd5b5060019550505050505090565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61419761439a565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614614257576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156142dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806156aa6026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600033905090565b6000600d54821080156143c557506143c4826003614b1a90919063ffffffff16565b5b9050919050565b816005600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661443f83612c55565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061449382600001614b34565b9050919050565b60006144a5826143a2565b6144fa576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602c815260200180615740602c913960400191505060405180910390fd5b600061450583612c55565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061457457508373ffffffffffffffffffffffffffffffffffffffff1661455c84611593565b73ffffffffffffffffffffffffffffffffffffffff16145b80614585575061458481856140fb565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166145ae82612c55565b73ffffffffffffffffffffffffffffffffffffffff161461461a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260298152602001806158456029913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156146a0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260248152602001806156f66024913960400191505060405180910390fd5b6146ab6000826143cc565b6146fc81600260008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020614b4590919063ffffffff16565b5061474e81600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002061484e90919063ffffffff16565b50614765818360036148689092919063ffffffff16565b50808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600080828401905083811015614844576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b6000614860836000018360001b614b5f565b905092915050565b6000614894846000018460001b8473ffffffffffffffffffffffffffffffffffffffff1660001b614bcf565b90509392505050565b60006148df83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250614cab565b905092915050565b60006148f68360000183614d6b565b60001c905092915050565b6000806000806149148660000186614dee565b915091508160001c8160001c9350935050509250929050565b6000614940846000018460001b84614e87565b60001c90509392505050565b600061495a82600001614f7d565b9050919050565b61496c84848461458e565b61497884848484614f8e565b6149cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260328152602001806156356032913960400191505060405180910390fd5b50505050565b60606000821415614a1b576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050614b15565b600082905060005b60008214614a45578080600101915050600a8281614a3d57fe5b049150614a23565b60608167ffffffffffffffff81118015614a5e57600080fd5b506040519080825280601f01601f191660200182016040528015614a915781602001600182028036833780820191505090505b50905060006001830390508593505b60008414614b0d57600a8481614ab257fe5b0660300160f81b82828060019003935081518110614acc57fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8481614b0557fe5b049350614aa0565b819450505050505b919050565b6000614b2c836000018360001b6151a7565b905092915050565b600081600001805490509050919050565b6000614b57836000018360001b6151ca565b905092915050565b6000614b6b83836152b2565b614bc4578260000182908060018154018082558091505060019003906000526020600020016000909190919091505582600001805490508360010160008481526020019081526020016000208190555060019050614bc9565b600090505b92915050565b6000808460010160008581526020019081526020016000205490506000811415614c7657846000016040518060400160405280868152602001858152509080600181540180825580915050600190039060005260206000209060020201600090919091909150600082015181600001556020820151816001015550508460000180549050856001016000868152602001908152602001600020819055506001915050614ca4565b82856000016001830381548110614c8957fe5b90600052602060002090600202016001018190555060009150505b9392505050565b6000838311158290614d58576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015614d1d578082015181840152602081019050614d02565b50505050905090810190601f168015614d4a5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385039050809150509392505050565b600081836000018054905011614dcc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260228152602001806156136022913960400191505060405180910390fd5b826000018281548110614ddb57fe5b9060005260206000200154905092915050565b60008082846000018054905011614e50576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260228152602001806157f76022913960400191505060405180910390fd5b6000846000018481548110614e6157fe5b906000526020600020906002020190508060000154816001015492509250509250929050565b60008084600101600085815260200190815260200160002054905060008114158390614f4e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015614f13578082015181840152602081019050614ef8565b50505050905090810190601f168015614f405780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50846000016001820381548110614f6157fe5b9060005260206000209060020201600101549150509392505050565b600081600001805490509050919050565b6000614faf8473ffffffffffffffffffffffffffffffffffffffff166152d5565b614fbc576001905061519f565b606061512663150b7a0260e01b614fd161439a565b888787604051602401808573ffffffffffffffffffffffffffffffffffffffff1681526020018473ffffffffffffffffffffffffffffffffffffffff16815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b8381101561505557808201518184015260208101905061503a565b50505050905090810190601f1680156150825780820380516001836020036101000a031916815260200191505b5095505050505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050604051806060016040528060328152602001615635603291398773ffffffffffffffffffffffffffffffffffffffff166152e89092919063ffffffff16565b9050600081806020019051602081101561513f57600080fd5b8101908080519060200190929190505050905063150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614925050505b949350505050565b600080836001016000848152602001908152602001600020541415905092915050565b600080836001016000848152602001908152602001600020549050600081146152a6576000600182039050600060018660000180549050039050600086600001828154811061521557fe5b906000526020600020015490508087600001848154811061523257fe5b906000526020600020018190555060018301876001016000838152602001908152602001600020819055508660000180548061526a57fe5b600190038181906000526020600020016000905590558660010160008781526020019081526020016000206000905560019450505050506152ac565b60009150505b92915050565b600080836001016000848152602001908152602001600020541415905092915050565b600080823b905060008111915050919050565b60606152f78484600085615300565b90509392505050565b60608247101561535b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602681526020018061571a6026913960400191505060405180910390fd5b615364856152d5565b6153d6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000081525060200191505060405180910390fd5b600060608673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b602083106154265780518252602082019150602081019050602083039250615403565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114615488576040519150601f19603f3d011682016040523d82523d6000602084013e61548d565b606091505b509150915061549d8282866154a9565b92505050949350505050565b606083156154b95782905061556e565b6000835111156154cc5782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015615533578082015181840152602081019050615518565b50505050905090810190601f1680156155605780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b9392505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106155b657803560ff19168380011785556155e4565b828001600101855582156155e4579182015b828111156155e35782358255916020019190600101906155c8565b5b5090506155f191906155f5565b5090565b5b8082111561560e5760008160009055506001016155f6565b509056fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e64734552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465724f6e6c7920746f6b656e206f776e65722063616e2073657420617474726962757465496e76616c696420616d6f756e7420666f7220746f6b656e2070757263686173654f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373546f6b656e206f776e6572207469636b657420636f756c64206e6f74206265206275726e65644552433732313a207472616e7366657220746f20746865207a65726f2061646472657373416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c4552433732313a206f70657261746f7220717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656420666f7220616c6c4552433732313a2062616c616e636520717565727920666f7220746865207a65726f20616464726573734552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656e456e756d657261626c654d61703a20696e646578206f7574206f6620626f756e64734552433732313a20617070726f76656420717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a207472616e73666572206f6620746f6b656e2074686174206973206e6f74206f776e4552433732314d657461646174613a2055524920717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76616c20746f2063757272656e74206f776e65724552433732313a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564a2646970667358221220f40a2ff1566681d61ceca26c17c66451ece951e0ec05dc25fedb908a524a3fc464736f6c634300060c003300000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000de0b6b3a764000000000000000000000000000089e9f394dbdca349ba3e08fa79a38bc1a9c1188f00000000000000000000000000000000000000000000000000000000000000104e4654656767205365726965732023310000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000064e46546547470000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001868747470733a2f2f6e66746567672e636f6d2f6d6574612f0000000000000000

Deployed Bytecode

0x6080604052600436106102725760003560e01c806358a86e1d1161014f5780638da5cb5b116100c1578063c6ce3ae91161007a578063c6ce3ae9146110eb578063c87b56dd14611168578063cc193fb01461121c578063cf7d762f1461126e578063e985e9c51461128e578063f2fde38b1461131557610272565b80638da5cb5b14610dfa57806395d89b4114610e3b578063a22cb46514610ecb578063a482171914610f28578063aa849df814610f48578063b88d4fde14610fd957610272565b80636f76de06116101135780636f76de0614610ca657806370a0823114610cf7578063715018a614610d5c57806375794a3c14610d735780637ff9b59614610d9e5780638485391a14610dc957610272565b806358a86e1d14610ace5780635a8804ef14610b0f5780636352211e14610b765780636a61e5fc14610bdb5780636c0360eb14610c1657610272565b80632cdf2c35116101e857806339698415116101ac578063396984151461087857806342842e0e146108a957806348ee0c26146109245780634f6ccce71461097e57806355f804b3146109cd578063589c4dd414610a5357610272565b80632cdf2c35146106b85780632ede4c25146107335780632f745c591461078d57806332cb6b0c146107fc578063376ffc8b1461082757610272565b80631171bda91161023a5780631171bda91461049457806311a1ca031461052557806318160ddd1461056c5780631abf06a11461059757806323b872dd146105c257806324238d4a1461063d57610272565b806301ffc9a71461027757806306fdde03146102e75780630794105d14610377578063081812fc146103d4578063095ea7b314610439575b600080fd5b34801561028357600080fd5b506102cf6004803603602081101561029a57600080fd5b8101908080357bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19169060200190929190505050611366565b60405180821515815260200191505060405180910390f35b3480156102f357600080fd5b506102fc6113ce565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561033c578082015181840152602081019050610321565b50505050905090810190601f1680156103695780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561038357600080fd5b506103d26004803603604081101561039a57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803515159060200190929190505050611470565b005b3480156103e057600080fd5b5061040d600480360360208110156103f757600080fd5b8101908080359060200190929190505050611593565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561044557600080fd5b506104926004803603604081101561045c57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919050505061162e565b005b3480156104a057600080fd5b5061050d600480360360608110156104b757600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611772565b60405180821515815260200191505060405180910390f35b34801561053157600080fd5b5061056a6004803603604081101561054857600080fd5b81019080803590602001909291908035151590602001909291905050506118f1565b005b34801561057857600080fd5b50610581611bd2565b6040518082815260200191505060405180910390f35b3480156105a357600080fd5b506105ac611be3565b6040518082815260200191505060405180910390f35b3480156105ce57600080fd5b5061063b600480360360608110156105e557600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611c03565b005b34801561064957600080fd5b506106b66004803603606081101561066057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611c79565b005b3480156106c457600080fd5b50610731600480360360608110156106db57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611ded565b005b6107756004803603602081101561074957600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611f61565b60405180821515815260200191505060405180910390f35b34801561079957600080fd5b506107e6600480360360408110156107b057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506123a8565b6040518082815260200191505060405180910390f35b34801561080857600080fd5b50610811612480565b6040518082815260200191505060405180910390f35b34801561083357600080fd5b506108606004803603602081101561084a57600080fd5b8101908080359060200190929190505050612486565b60405180821515815260200191505060405180910390f35b34801561088457600080fd5b5061088d61252e565b604051808263ffffffff16815260200191505060405180910390f35b3480156108b557600080fd5b50610922600480360360608110156108cc57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050612534565b005b6109666004803603602081101561093a57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612554565b60405180821515815260200191505060405180910390f35b34801561098a57600080fd5b506109b7600480360360208110156109a157600080fd5b8101908080359060200190929190505050612935565b6040518082815260200191505060405180910390f35b3480156109d957600080fd5b50610a51600480360360208110156109f057600080fd5b8101908080359060200190640100000000811115610a0d57600080fd5b820183602082011115610a1f57600080fd5b80359060200191846001830284011164010000000083111715610a4157600080fd5b90919293919293905050506129d7565b005b348015610a5f57600080fd5b50610acc60048036036060811015610a7657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050612ab5565b005b348015610ada57600080fd5b50610ae3612c0b565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b348015610b1b57600080fd5b50610b5e60048036036020811015610b3257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612c35565b60405180821515815260200191505060405180910390f35b348015610b8257600080fd5b50610baf60048036036020811015610b9957600080fd5b8101908080359060200190929190505050612c55565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b348015610be757600080fd5b50610c1460048036036020811015610bfe57600080fd5b8101908080359060200190929190505050612c8c565b005b348015610c2257600080fd5b50610c2b612d5e565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610c6b578082015181840152602081019050610c50565b50505050905090810190601f168015610c985780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b348015610cb257600080fd5b50610cdf60048036036020811015610cc957600080fd5b8101908080359060200190929190505050612e00565b60405180821515815260200191505060405180910390f35b348015610d0357600080fd5b50610d4660048036036020811015610d1a57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612ea8565b6040518082815260200191505060405180910390f35b348015610d6857600080fd5b50610d71612f7d565b005b348015610d7f57600080fd5b50610d88613103565b6040518082815260200191505060405180910390f35b348015610daa57600080fd5b50610db361310d565b6040518082815260200191505060405180910390f35b348015610dd557600080fd5b50610dde613117565b604051808263ffffffff16815260200191505060405180910390f35b348015610e0657600080fd5b50610e0f61311d565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b348015610e4757600080fd5b50610e50613146565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610e90578082015181840152602081019050610e75565b50505050905090810190601f168015610ebd5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b348015610ed757600080fd5b50610f2660048036036040811015610eee57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035151590602001909291905050506131e8565b005b610f3061339e565b60405180821515815260200191505060405180910390f35b348015610f5457600080fd5b50610fc160048036036060811015610f6b57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050613783565b60405180821515815260200191505060405180910390f35b348015610fe557600080fd5b506110e960048036036080811015610ffc57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291908035906020019064010000000081111561106357600080fd5b82018360208201111561107557600080fd5b8035906020019184600183028401116401000000008311171561109757600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509192919290505050613902565b005b3480156110f757600080fd5b506111666004803603606081101561110e57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080351515906020019092919050505061397a565b005b34801561117457600080fd5b506111a16004803603602081101561118b57600080fd5b8101908080359060200190929190505050613ad2565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156111e15780820151818401526020810190506111c6565b50505050905090810190601f16801561120e5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561122857600080fd5b506112556004803603602081101561123f57600080fd5b8101908080359060200190929190505050613c08565b604051808260ff16815260200191505060405180910390f35b611276613cb0565b60405180821515815260200191505060405180910390f35b34801561129a57600080fd5b506112fd600480360360408110156112b157600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506140fb565b60405180821515815260200191505060405180910390f35b34801561132157600080fd5b506113646004803603602081101561133857600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061418f565b005b600060016000837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060009054906101000a900460ff169050919050565b606060078054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156114665780601f1061143b57610100808354040283529160200191611466565b820191906000526020600020905b81548152906001019060200180831161144957829003601f168201915b5050505050905090565b61147861439a565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611538576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b80600f60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b600061159e826143a2565b6115f3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602c815260200180615819602c913960400191505060405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061163982612c55565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156116c0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602181526020018061589d6021913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166116df61439a565b73ffffffffffffffffffffffffffffffffffffffff16148061170e575061170d8161170861439a565b6140fb565b5b611763576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603881526020018061576c6038913960400191505060405180910390fd5b61176d83836143cc565b505050565b600061177c61439a565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461183c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b8373ffffffffffffffffffffffffffffffffffffffff1663a9059cbb84846040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b1580156118ad57600080fd5b505af11580156118c1573d6000803e3d6000fd5b505050506040513d60208110156118d757600080fd5b810190808051906020019092919050505090509392505050565b6118fa826143a2565b61196c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260178152602001807f546f6b656e20494420646f6573206e6f7420657869737400000000000000000081525060200191505060405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff1661198c83612c55565b73ffffffffffffffffffffffffffffffffffffffff16146119f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260228152602001806156676022913960400191505060405180910390fd5b60001515600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161515148015611a7f5750801515600c600084815260200190815260200160002060000160019054906101000a900460ff16151514155b15611ba057600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16637b9a8242336040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff168152602001915050602060405180830381600087803b158015611b0f57600080fd5b505af1158015611b23573d6000803e3d6000fd5b505050506040513d6020811015611b3957600080fd5b8101908080519060200190929190505050611b9f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806156d06026913960400191505060405180910390fd5b5b80600c600084815260200190815260200160002060000160016101000a81548160ff0219169083151502179055505050565b6000611bde6003614485565b905090565b6000600e60009054906101000a900463ffffffff1663ffffffff16905090565b611c14611c0e61439a565b8261449a565b611c69576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260318152602001806158be6031913960400191505060405180910390fd5b611c7483838361458e565b505050565b611c8161439a565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611d41576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff166342842e0e3084846040518463ffffffff1660e01b8152600401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050600060405180830381600087803b158015611dd057600080fd5b505af1158015611de4573d6000803e3d6000fd5b50505050505050565b611df561439a565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611eb5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff166323b872dd3084846040518463ffffffff1660e01b8152600401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050600060405180830381600087803b158015611f4457600080fd5b505af1158015611f58573d6000803e3d6000fd5b50505050505050565b6000803490506002600b5481611f7357fe5b046005600b5402018114611fd2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806156896021913960400191505060405180910390fd5b6000611fdc613103565b9050600081611b5860010103905060058111612060576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f4d6178696d756d20737570706c7920616c72656164792072656163686564000081525060200191505060405180910390fd5b60006120766006846147c690919063ffffffff16565b90505b80831015612331576120d283600260008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002061484e90919063ffffffff16565b506120e9838760036148689092919063ffffffff16565b506000600e60009054906101000a900463ffffffff166103e80363ffffffff16905060008184600143034042886040516020018084815260200183815260200182815260200193505050506040516020818303038152906040528051906020012060001c8161215457fe5b06109050600081612166576001612169565b60505b60ff168261217857604f61217b565b60155b60ff16600143034060014201896040516020018084815260200183815260200182815260200193505050506040516020818303038152906040528051906020012060001c816121c657fe5b06019050604051806060016040528083151581526020016000151581526020018260ff16815250600c600088815260200190815260200160002060008201518160000160006101000a81548160ff02191690831515021790555060208201518160000160016101000a81548160ff02191690831515021790555060408201518160000160026101000a81548160ff021916908360ff16021790555090505081156122a1576001600e60009054906101000a900463ffffffff1601600e60006101000a81548163ffffffff021916908363ffffffff1602179055505b858973ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46123116001876147c690919063ffffffff16565b955061232760018661489d90919063ffffffff16565b9450505050612079565b6123476006600d546147c690919063ffffffff16565b600d8190555061235561311d565b73ffffffffffffffffffffffffffffffffffffffff166108fc859081150290604051600060405180830381858888f1935050505015801561239a573d6000803e3d6000fd5b506001945050505050919050565b60006123b383612ea8565b8210612427576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f496e76616c696420746f6b656e20696e64657820666f7220686f6c646572000081525060200191505060405180910390fd5b61247882600260008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206148e790919063ffffffff16565b905092915050565b611b5881565b6000612491826143a2565b612503576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260178152602001807f546f6b656e20494420646f6573206e6f7420657869737400000000000000000081525060200191505060405180910390fd5b600c600083815260200190815260200160002060000160019054906101000a900460ff169050919050565b6103e881565b61254f83838360405180602001604052806000815250613902565b505050565b600080349050600b5481146125b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806156896021913960400191505060405180910390fd5b60006125be613103565b9050600081611b5860010103905060008111612642576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f4d6178696d756d20737570706c7920616c72656164792072656163686564000081525060200191505060405180910390fd5b61269382600260008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002061484e90919063ffffffff16565b506126aa828660036148689092919063ffffffff16565b506000600e60009054906101000a900463ffffffff166103e80363ffffffff16905060008183600143034042876040516020018084815260200183815260200182815260200193505050506040516020818303038152906040528051906020012060001c8161271557fe5b0610905060008161272757600161272a565b60505b60ff168261273957604f61273c565b60155b60ff16600143034060014201886040516020018084815260200183815260200182815260200193505050506040516020818303038152906040528051906020012060001c8161278757fe5b06019050604051806060016040528083151581526020016000151581526020018260ff16815250600c600087815260200190815260200160002060008201518160000160006101000a81548160ff02191690831515021790555060208201518160000160016101000a81548160ff02191690831515021790555060408201518160000160026101000a81548160ff021916908360ff1602179055509050508115612862576001600e60009054906101000a900463ffffffff1601600e60006101000a81548163ffffffff021916908363ffffffff1602179055505b848873ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46128d26001866147c690919063ffffffff16565b600d819055506128e061311d565b73ffffffffffffffffffffffffffffffffffffffff166108fc879081150290604051600060405180830381858888f19350505050158015612925573d6000803e3d6000fd5b5060019650505050505050919050565b60006129416003614485565b82106129b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260138152602001807f496e76616c696420746f6b656e20696e6465780000000000000000000000000081525060200191505060405180910390fd5b60006129cb83600361490190919063ffffffff16565b50905080915050919050565b6129df61439a565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612a9f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b8181600a9190612ab0929190615575565b505050565b612abd61439a565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612b7d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff1663095ea7b383836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b158015612bee57600080fd5b505af1158015612c02573d6000803e3d6000fd5b50505050505050565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600f6020528060005260406000206000915054906101000a900460ff1681565b6000612c85826040518060600160405280602981526020016157ce60299139600361492d9092919063ffffffff16565b9050919050565b612c9461439a565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612d54576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b80600b8190555050565b6060600a8054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015612df65780601f10612dcb57610100808354040283529160200191612df6565b820191906000526020600020905b815481529060010190602001808311612dd957829003601f168201915b5050505050905090565b6000612e0b826143a2565b612e7d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260178152602001807f546f6b656e20494420646f6573206e6f7420657869737400000000000000000081525060200191505060405180910390fd5b600c600083815260200190815260200160002060000160009054906101000a900460ff169050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612f2f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a8152602001806157a4602a913960400191505060405180910390fd5b612f76600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002061494c565b9050919050565b612f8561439a565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614613045576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b6000600d54905090565b6000600b54905090565b61177081565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060088054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156131de5780601f106131b3576101008083540402835291602001916131de565b820191906000526020600020905b8154815290600101906020018083116131c157829003601f168201915b5050505050905090565b6131f061439a565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613291576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260198152602001807f4552433732313a20617070726f766520746f2063616c6c65720000000000000081525060200191505060405180910390fd5b806006600061329e61439a565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661334b61439a565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405180821515815260200191505060405180910390a35050565b600080349050600b5481146133fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806156896021913960400191505060405180910390fd5b6000339050600061340d613103565b9050600081611b5860010103905060008111613491576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f4d6178696d756d20737570706c7920616c72656164792072656163686564000081525060200191505060405180910390fd5b6134e282600260008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002061484e90919063ffffffff16565b506134f9828460036148689092919063ffffffff16565b506000600e60009054906101000a900463ffffffff166103e80363ffffffff16905060008183600143034042876040516020018084815260200183815260200182815260200193505050506040516020818303038152906040528051906020012060001c8161356457fe5b06109050600081613576576001613579565b60505b60ff168261358857604f61358b565b60155b60ff16600143034060014201886040516020018084815260200183815260200182815260200193505050506040516020818303038152906040528051906020012060001c816135d657fe5b06019050604051806060016040528083151581526020016000151581526020018260ff16815250600c600087815260200190815260200160002060008201518160000160006101000a81548160ff02191690831515021790555060208201518160000160016101000a81548160ff02191690831515021790555060408201518160000160026101000a81548160ff021916908360ff16021790555090505081156136b1576001600e60009054906101000a900463ffffffff1601600e60006101000a81548163ffffffff021916908363ffffffff1602179055505b848673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46137216001866147c690919063ffffffff16565b600d8190555061372f61311d565b73ffffffffffffffffffffffffffffffffffffffff166108fc889081150290604051600060405180830381858888f19350505050158015613774573d6000803e3d6000fd5b50600197505050505050505090565b600061378d61439a565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461384d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b8373ffffffffffffffffffffffffffffffffffffffff1663095ea7b384846040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b1580156138be57600080fd5b505af11580156138d2573d6000803e3d6000fd5b505050506040513d60208110156138e857600080fd5b810190808051906020019092919050505090509392505050565b61391361390d61439a565b8361449a565b613968576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260318152602001806158be6031913960400191505060405180910390fd5b61397484848484614961565b50505050565b61398261439a565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614613a42576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff1663a22cb46583836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff168152602001821515815260200192505050600060405180830381600087803b158015613ab557600080fd5b505af1158015613ac9573d6000803e3d6000fd5b50505050505050565b6060613add826143a2565b613b32576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f81526020018061586e602f913960400191505060405180910390fd5b600a613b3d836149d3565b6040516020018083805460018160011615610100020316600290048015613b9b5780601f10613b79576101008083540402835291820191613b9b565b820191906000526020600020905b815481529060010190602001808311613b87575b505082805190602001908083835b60208310613bcc5780518252602082019150602081019050602083039250613ba9565b6001836020036101000a038019825116818451168082178552505050505050905001925050506040516020818303038152906040529050919050565b6000613c13826143a2565b613c85576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260178152602001807f546f6b656e20494420646f6573206e6f7420657869737400000000000000000081525060200191505060405180910390fd5b600c600083815260200190815260200160002060000160029054906101000a900460ff169050919050565b6000803490506002600b5481613cc257fe5b046005600b5402018114613d21576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806156896021913960400191505060405180910390fd5b60003390506000613d30613103565b9050600081611b5860010103905060058111613db4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f4d6178696d756d20737570706c7920616c72656164792072656163686564000081525060200191505060405180910390fd5b6000613dca6006846147c690919063ffffffff16565b90505b8083101561408557613e2683600260008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002061484e90919063ffffffff16565b50613e3d838560036148689092919063ffffffff16565b506000600e60009054906101000a900463ffffffff166103e80363ffffffff16905060008184600143034042886040516020018084815260200183815260200182815260200193505050506040516020818303038152906040528051906020012060001c81613ea857fe5b06109050600081613eba576001613ebd565b60505b60ff1682613ecc57604f613ecf565b60155b60ff16600143034060014201896040516020018084815260200183815260200182815260200193505050506040516020818303038152906040528051906020012060001c81613f1a57fe5b06019050604051806060016040528083151581526020016000151581526020018260ff16815250600c600088815260200190815260200160002060008201518160000160006101000a81548160ff02191690831515021790555060208201518160000160016101000a81548160ff02191690831515021790555060408201518160000160026101000a81548160ff021916908360ff1602179055509050508115613ff5576001600e60009054906101000a900463ffffffff1601600e60006101000a81548163ffffffff021916908363ffffffff1602179055505b858773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46140656001876147c690919063ffffffff16565b955061407b60018661489d90919063ffffffff16565b9450505050613dcd565b61409b6006600d546147c690919063ffffffff16565b600d819055506140a961311d565b73ffffffffffffffffffffffffffffffffffffffff166108fc869081150290604051600060405180830381858888f193505050501580156140ee573d6000803e3d6000fd5b5060019550505050505090565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61419761439a565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614614257576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156142dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806156aa6026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600033905090565b6000600d54821080156143c557506143c4826003614b1a90919063ffffffff16565b5b9050919050565b816005600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661443f83612c55565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061449382600001614b34565b9050919050565b60006144a5826143a2565b6144fa576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602c815260200180615740602c913960400191505060405180910390fd5b600061450583612c55565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061457457508373ffffffffffffffffffffffffffffffffffffffff1661455c84611593565b73ffffffffffffffffffffffffffffffffffffffff16145b80614585575061458481856140fb565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166145ae82612c55565b73ffffffffffffffffffffffffffffffffffffffff161461461a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260298152602001806158456029913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156146a0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260248152602001806156f66024913960400191505060405180910390fd5b6146ab6000826143cc565b6146fc81600260008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020614b4590919063ffffffff16565b5061474e81600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002061484e90919063ffffffff16565b50614765818360036148689092919063ffffffff16565b50808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600080828401905083811015614844576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b6000614860836000018360001b614b5f565b905092915050565b6000614894846000018460001b8473ffffffffffffffffffffffffffffffffffffffff1660001b614bcf565b90509392505050565b60006148df83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250614cab565b905092915050565b60006148f68360000183614d6b565b60001c905092915050565b6000806000806149148660000186614dee565b915091508160001c8160001c9350935050509250929050565b6000614940846000018460001b84614e87565b60001c90509392505050565b600061495a82600001614f7d565b9050919050565b61496c84848461458e565b61497884848484614f8e565b6149cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260328152602001806156356032913960400191505060405180910390fd5b50505050565b60606000821415614a1b576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050614b15565b600082905060005b60008214614a45578080600101915050600a8281614a3d57fe5b049150614a23565b60608167ffffffffffffffff81118015614a5e57600080fd5b506040519080825280601f01601f191660200182016040528015614a915781602001600182028036833780820191505090505b50905060006001830390508593505b60008414614b0d57600a8481614ab257fe5b0660300160f81b82828060019003935081518110614acc57fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8481614b0557fe5b049350614aa0565b819450505050505b919050565b6000614b2c836000018360001b6151a7565b905092915050565b600081600001805490509050919050565b6000614b57836000018360001b6151ca565b905092915050565b6000614b6b83836152b2565b614bc4578260000182908060018154018082558091505060019003906000526020600020016000909190919091505582600001805490508360010160008481526020019081526020016000208190555060019050614bc9565b600090505b92915050565b6000808460010160008581526020019081526020016000205490506000811415614c7657846000016040518060400160405280868152602001858152509080600181540180825580915050600190039060005260206000209060020201600090919091909150600082015181600001556020820151816001015550508460000180549050856001016000868152602001908152602001600020819055506001915050614ca4565b82856000016001830381548110614c8957fe5b90600052602060002090600202016001018190555060009150505b9392505050565b6000838311158290614d58576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015614d1d578082015181840152602081019050614d02565b50505050905090810190601f168015614d4a5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385039050809150509392505050565b600081836000018054905011614dcc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260228152602001806156136022913960400191505060405180910390fd5b826000018281548110614ddb57fe5b9060005260206000200154905092915050565b60008082846000018054905011614e50576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260228152602001806157f76022913960400191505060405180910390fd5b6000846000018481548110614e6157fe5b906000526020600020906002020190508060000154816001015492509250509250929050565b60008084600101600085815260200190815260200160002054905060008114158390614f4e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015614f13578082015181840152602081019050614ef8565b50505050905090810190601f168015614f405780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50846000016001820381548110614f6157fe5b9060005260206000209060020201600101549150509392505050565b600081600001805490509050919050565b6000614faf8473ffffffffffffffffffffffffffffffffffffffff166152d5565b614fbc576001905061519f565b606061512663150b7a0260e01b614fd161439a565b888787604051602401808573ffffffffffffffffffffffffffffffffffffffff1681526020018473ffffffffffffffffffffffffffffffffffffffff16815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b8381101561505557808201518184015260208101905061503a565b50505050905090810190601f1680156150825780820380516001836020036101000a031916815260200191505b5095505050505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050604051806060016040528060328152602001615635603291398773ffffffffffffffffffffffffffffffffffffffff166152e89092919063ffffffff16565b9050600081806020019051602081101561513f57600080fd5b8101908080519060200190929190505050905063150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614925050505b949350505050565b600080836001016000848152602001908152602001600020541415905092915050565b600080836001016000848152602001908152602001600020549050600081146152a6576000600182039050600060018660000180549050039050600086600001828154811061521557fe5b906000526020600020015490508087600001848154811061523257fe5b906000526020600020018190555060018301876001016000838152602001908152602001600020819055508660000180548061526a57fe5b600190038181906000526020600020016000905590558660010160008781526020019081526020016000206000905560019450505050506152ac565b60009150505b92915050565b600080836001016000848152602001908152602001600020541415905092915050565b600080823b905060008111915050919050565b60606152f78484600085615300565b90509392505050565b60608247101561535b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602681526020018061571a6026913960400191505060405180910390fd5b615364856152d5565b6153d6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000081525060200191505060405180910390fd5b600060608673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b602083106154265780518252602082019150602081019050602083039250615403565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114615488576040519150601f19603f3d011682016040523d82523d6000602084013e61548d565b606091505b509150915061549d8282866154a9565b92505050949350505050565b606083156154b95782905061556e565b6000835111156154cc5782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015615533578082015181840152602081019050615518565b50505050905090810190601f1680156155605780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b9392505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106155b657803560ff19168380011785556155e4565b828001600101855582156155e4579182015b828111156155e35782358255916020019190600101906155c8565b5b5090506155f191906155f5565b5090565b5b8082111561560e5760008160009055506001016155f6565b509056fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e64734552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465724f6e6c7920746f6b656e206f776e65722063616e2073657420617474726962757465496e76616c696420616d6f756e7420666f7220746f6b656e2070757263686173654f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373546f6b656e206f776e6572207469636b657420636f756c64206e6f74206265206275726e65644552433732313a207472616e7366657220746f20746865207a65726f2061646472657373416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c4552433732313a206f70657261746f7220717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656420666f7220616c6c4552433732313a2062616c616e636520717565727920666f7220746865207a65726f20616464726573734552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656e456e756d657261626c654d61703a20696e646578206f7574206f6620626f756e64734552433732313a20617070726f76656420717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a207472616e73666572206f6620746f6b656e2074686174206973206e6f74206f776e4552433732314d657461646174613a2055524920717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76616c20746f2063757272656e74206f776e65724552433732313a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564a2646970667358221220f40a2ff1566681d61ceca26c17c66451ece951e0ec05dc25fedb908a524a3fc464736f6c634300060c0033

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

00000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000de0b6b3a764000000000000000000000000000089e9f394dbdca349ba3e08fa79a38bc1a9c1188f00000000000000000000000000000000000000000000000000000000000000104e4654656767205365726965732023310000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000064e46546547470000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001868747470733a2f2f6e66746567672e636f6d2f6d6574612f0000000000000000

-----Decoded View---------------
Arg [0] : name (string): NFTegg Series #1
Arg [1] : symbol (string): NFTeGG
Arg [2] : baseURI (string): https://nftegg.com/meta/
Arg [3] : tokenPrice (uint256): 1000000000000000000
Arg [4] : ticketContract (address): 0x89E9F394dBdca349Ba3e08Fa79a38BC1a9C1188F

-----Encoded View---------------
11 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [3] : 0000000000000000000000000000000000000000000000000de0b6b3a7640000
Arg [4] : 00000000000000000000000089e9f394dbdca349ba3e08fa79a38bc1a9c1188f
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000010
Arg [6] : 4e46546567672053657269657320233100000000000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [8] : 4e46546547470000000000000000000000000000000000000000000000000000
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000018
Arg [10] : 68747470733a2f2f6e66746567672e636f6d2f6d6574612f0000000000000000


Deployed Bytecode Sourcemap

65506:21664:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42387:142;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;70672:94;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;82733:134;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;73748:213;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;73290:392;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;46113:173;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;81484:502;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;72563:205;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;72827:86;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;74624:307;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;47117:189;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;46823:181;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;79294:1412;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;72253:234;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;67604:41;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;81072:186;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;67652:35;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;75002:153;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;78188:1094;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;72990:238;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;82458:103;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;47392:168;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;71763:99;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;67469:48;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;70436:169;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;82624:101;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;71585:91;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;80792:176;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;70159:215;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;34834:148;;;;;;;;;;;;;:::i;:::-;;72083:86;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;71938:91;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;67694:35;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;34192:79;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;70835:98;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;74033:297;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;75614:1116;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;46424:175;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;75226:285;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;47660:180;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;71004:342;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;82074:181;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;76738:1434;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;74401:156;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;35137:244;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;42387:142;42464:4;42488:20;:33;42509:11;42488:33;;;;;;;;;;;;;;;;;;;;;;;;;;;42481:40;;42387:142;;;:::o;70672:94::-;70720:13;70753:5;70746:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;70672:94;:::o;82733:134::-;34414:12;:10;:12::i;:::-;34404:22;;:6;;;;;;;;;;:22;;;34396:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;82849:10:::1;82823:15;:23;82839:6;82823:23;;;;;;;;;;;;;;;;:36;;;;;;;;;;;;;;;;;;82733:134:::0;;:::o;73748:213::-;73816:7;73844:16;73852:7;73844;:16::i;:::-;73836:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;73929:15;:24;73945:7;73929:24;;;;;;;;;;;;;;;;;;;;;73922:31;;73748:213;;;:::o;73290:392::-;73373:13;73389:16;73397:7;73389;:16::i;:::-;73373:32;;73430:5;73424:11;;:2;:11;;;;73416:57;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;73510:5;73494:21;;:12;:10;:12::i;:::-;:21;;;:62;;;;73519:37;73536:5;73543:12;:10;:12::i;:::-;73519:16;:37::i;:::-;73494:62;73486:154;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;73653:21;73662:2;73666:7;73653:8;:21::i;:::-;73290:392;;;:::o;46113:173::-;46213:4;34414:12;:10;:12::i;:::-;34404:22;;:6;;;;;;;;;;:22;;;34396:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46244:5:::1;46237:22;;;46260:9;46271:6;46237:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;46230:48;;46113:173:::0;;;;;:::o;81484:502::-;81565:16;81573:7;81565;:16::i;:::-;81557:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;81648:10;81628:30;;:16;81636:7;81628;:16::i;:::-;:30;;;81620:77;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;81745:5;81714:36;;:15;:27;81730:10;81714:27;;;;;;;;;;;;;;;;;;;;;;;;;:36;;;:85;;;;;81791:8;81754:45;;:15;:24;81770:7;81754:24;;;;;;;;;;;:33;;;;;;;;;;;;:45;;;;81714:85;81710:212;;;81827:15;;;;;;;;;;;81824:31;;;81856:10;81824:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;81816:94;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;81710:212;81970:8;81934:15;:24;81950:7;81934:24;;;;;;;;;;;:33;;;:44;;;;;;;;;;;;;;;;;;81484:502;;:::o;72563:205::-;72618:7;72739:21;:12;:19;:21::i;:::-;72732:28;;72563:205;:::o;72827:86::-;72871:7;72898;;;;;;;;;;;72891:14;;;;72827:86;:::o;74624:307::-;74787:41;74806:12;:10;:12::i;:::-;74820:7;74787:18;:41::i;:::-;74779:103;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;74895:28;74905:4;74911:2;74915:7;74895:9;:28::i;:::-;74624:307;;;:::o;47117:189::-;34414:12;:10;:12::i;:::-;34404:22;;:6;;;;;;;;;;:22;;;34396:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47240:5:::1;47232:31;;;47272:4;47279:9;47290:7;47232:66;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;47117:189:::0;;;:::o;46823:181::-;34414:12;:10;:12::i;:::-;34404:22;;:6;;;;;;;;;;:22;;;34396:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46942:5:::1;46934:27;;;46970:4;46977:9;46988:7;46934:62;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;46823:181:::0;;;:::o;79294:1412::-;79354:4;79376:18;79397:9;79376:30;;79472:1;79458:11;;:15;;;;;;79454:1;79440:11;;:15;:33;79425:10;:49;79417:95;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;79582:17;79602:13;:11;:13::i;:::-;79582:33;;79626:23;79669:9;67641:4;79652:1;:14;:26;79626:52;;79715:1;79697:15;:19;79689:62;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;79762:15;79780:16;79794:1;79780:9;:13;;:16;;;;:::i;:::-;79762:34;;79809:781;79828:7;79816:9;:19;79809:781;;;79852:32;79874:9;79852:13;:17;79866:2;79852:17;;;;;;;;;;;;;;;:21;;:32;;;;:::i;:::-;;79899:31;79916:9;79927:2;79899:12;:16;;:31;;;;;:::i;:::-;;79947:18;79976:7;;;;;;;;;;;67683:4;79968:15;79947:36;;;;79998:6;80111:10;80092:15;80068:1;80053:12;:16;80043:27;80072:3;80077:9;80026:61;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;80016:72;;;;;;80008:81;;:99;;;;;;80007:114;79998:123;;80136:9;80259:1;:10;;80268:1;80259:10;;;80263:2;80259:10;80154:116;;80243:1;:11;;80252:2;80243:11;;;80247:2;80243:11;80154:101;;80214:1;80199:12;:16;80189:27;80224:1;80218:3;:7;80227:9;80172:65;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;80162:76;;;;;;80154:85;;:101;;;;;;:116;80136:135;;80315:29;;;;;;;;80330:1;80315:29;;;;;;80333:5;80315:29;;;;;;80340:3;80315:29;;;;;80286:15;:26;80302:9;80286:26;;;;;;;;;;;:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;80365:1;80361:63;;;80407:1;80397:7;;;;;;;;;;;:11;80387:7;;:21;;;;;;;;;;;;;;;;;;80361:63;80470:9;80466:2;80445:35;;80462:1;80445:35;;;;;;;;;;;;80507:16;80521:1;80507:9;:13;;:16;;;;:::i;:::-;80495:28;;80556:22;80576:1;80556:15;:19;;:22;;;;:::i;:::-;80538:40;;79809:781;;;;;;80612:14;80624:1;80612:7;;:11;;:14;;;;:::i;:::-;80602:7;:24;;;;80647:7;:5;:7::i;:::-;80639:25;;:37;80665:10;80639:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;80694:4;80687:11;;;;;;79294:1412;;;:::o;72253:234::-;72344:7;72380:16;72390:5;72380:9;:16::i;:::-;72372:5;:24;72364:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;72449:30;72473:5;72449:13;:20;72463:5;72449:20;;;;;;;;;;;;;;;:23;;:30;;;;:::i;:::-;72442:37;;72253:234;;;;:::o;67604:41::-;67641:4;67604:41;:::o;81072:186::-;81130:4;81155:16;81163:7;81155;:16::i;:::-;81147:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;81217:15;:24;81233:7;81217:24;;;;;;;;;;;:33;;;;;;;;;;;;81210:40;;81072:186;;;:::o;67652:35::-;67683:4;67652:35;:::o;75002:153::-;75108:39;75125:4;75131:2;75135:7;75108:39;;;;;;;;;;;;:16;:39::i;:::-;75002:153;;;:::o;78188:1094::-;78246:4;78268:18;78289:9;78268:30;;78331:11;;78317:10;:25;78309:71;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;78391:17;78411:13;:11;:13::i;:::-;78391:33;;78435:23;78478:9;67641:4;78461:1;:14;:26;78435:52;;78524:1;78506:15;:19;78498:62;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;78573:32;78595:9;78573:13;:17;78587:2;78573:17;;;;;;;;;;;;;;;:21;;:32;;;;:::i;:::-;;78616:31;78633:9;78644:2;78616:12;:16;;:31;;;;;:::i;:::-;;78660:18;78689:7;;;;;;;;;;;67683:4;78681:15;78660:36;;;;78707:6;78820:10;78801:15;78777:1;78762:12;:16;78752:27;78781:3;78786:9;78735:61;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;78725:72;;;;;;78717:81;;:99;;;;;;78716:114;78707:123;;78841:9;78964:1;:10;;78973:1;78964:10;;;78968:2;78964:10;78859:116;;78948:1;:11;;78957:2;78948:11;;;78952:2;78948:11;78859:101;;78919:1;78904:12;:16;78894:27;78929:1;78923:3;:7;78932:9;78877:65;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;78867:76;;;;;;78859:85;;:101;;;;;;:116;78841:135;;79016:29;;;;;;;;79031:1;79016:29;;;;;;79034:5;79016:29;;;;;;79041:3;79016:29;;;;;78987:15;:26;79003:9;78987:26;;;;;;;;;;;:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;79062:1;79058:55;;;79100:1;79090:7;;;;;;;;;;;:11;79080:7;;:21;;;;;;;;;;;;;;;;;;79058:55;79155:9;79151:2;79130:35;;79147:1;79130:35;;;;;;;;;;;;79186:16;79200:1;79186:9;:13;;:16;;;;:::i;:::-;79176:7;:26;;;;79223:7;:5;:7::i;:::-;79215:25;;:37;79241:10;79215:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;79270:4;79263:11;;;;;;;;78188:1094;;;:::o;72990:238::-;73059:7;73095:21;:12;:19;:21::i;:::-;73087:5;:29;73079:61;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;73152:15;73173:22;73189:5;73173:12;:15;;:22;;;;:::i;:::-;73151:44;;;73213:7;73206:14;;;72990:238;;;:::o;82458:103::-;34414:12;:10;:12::i;:::-;34404:22;;:6;;;;;;;;;;:22;;;34396:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;82545:8:::1;;82534;:19;;;;;;;:::i;:::-;;82458:103:::0;;:::o;47392:168::-;34414:12;:10;:12::i;:::-;34404:22;;:6;;;;;;;;;;:22;;;34396:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47518:5:::1;47510:22;;;47533:9;47544:7;47510:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;47392:168:::0;;;:::o;71763:99::-;71812:7;71839:15;;;;;;;;;;;71832:22;;71763:99;:::o;67469:48::-;;;;;;;;;;;;;;;;;;;;;;:::o;70436:169::-;70500:7;70527:70;70544:7;70527:70;;;;;;;;;;;;;;;;;:12;:16;;:70;;;;;:::i;:::-;70520:77;;70436:169;;;:::o;82624:101::-;34414:12;:10;:12::i;:::-;34404:22;;:6;;;;;;;;;;:22;;;34396:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;82709:8:::1;82695:11;:22;;;;82624:101:::0;:::o;71585:91::-;71627:13;71660:8;71653:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;71585:91;:::o;80792:176::-;80845:4;80870:16;80878:7;80870;:16::i;:::-;80862:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;80932:15;:24;80948:7;80932:24;;;;;;;;;;;:28;;;;;;;;;;;;80925:35;;80792:176;;;:::o;70159:215::-;70223:7;70268:1;70251:19;;:5;:19;;;;70243:74;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;70337:29;:13;:20;70351:5;70337:20;;;;;;;;;;;;;;;:27;:29::i;:::-;70330:36;;70159:215;;;:::o;34834:148::-;34414:12;:10;:12::i;:::-;34404:22;;:6;;;;;;;;;;:22;;;34396:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34941:1:::1;34904:40;;34925:6;::::0;::::1;;;;;;;;34904:40;;;;;;;;;;;;34972:1;34955:6:::0;::::1;:19;;;;;;;;;;;;;;;;;;34834:148::o:0;72083:86::-;72127:7;72154;;72147:14;;72083:86;:::o;71938:91::-;71983:7;72010:11;;72003:18;;71938:91;:::o;67694:35::-;67725:4;67694:35;:::o;34192:79::-;34230:7;34257:6;;;;;;;;;;;34250:13;;34192:79;:::o;70835:98::-;70885:13;70918:7;70911:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;70835:98;:::o;74033:297::-;74150:12;:10;:12::i;:::-;74138:24;;:8;:24;;;;74130:62;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;74250:8;74205:18;:32;74224:12;:10;:12::i;:::-;74205:32;;;;;;;;;;;;;;;:42;74238:8;74205:42;;;;;;;;;;;;;;;;:53;;;;;;;;;;;;;;;;;;74303:8;74274:48;;74289:12;:10;:12::i;:::-;74274:48;;;74313:8;74274:48;;;;;;;;;;;;;;;;;;;;74033:297;;:::o;75614:1116::-;75660:4;75682:18;75703:9;75682:30;;75745:11;;75731:10;:25;75723:71;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;75805:10;75818;75805:23;;75839:17;75859:13;:11;:13::i;:::-;75839:33;;75883:23;75926:9;67641:4;75909:1;:14;:26;75883:52;;75972:1;75954:15;:19;75946:62;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;76021:32;76043:9;76021:13;:17;76035:2;76021:17;;;;;;;;;;;;;;;:21;;:32;;;;:::i;:::-;;76064:31;76081:9;76092:2;76064:12;:16;;:31;;;;;:::i;:::-;;76108:18;76137:7;;;;;;;;;;;67683:4;76129:15;76108:36;;;;76155:6;76268:10;76249:15;76225:1;76210:12;:16;76200:27;76229:3;76234:9;76183:61;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;76173:72;;;;;;76165:81;;:99;;;;;;76164:114;76155:123;;76289:9;76412:1;:10;;76421:1;76412:10;;;76416:2;76412:10;76307:116;;76396:1;:11;;76405:2;76396:11;;;76400:2;76396:11;76307:101;;76367:1;76352:12;:16;76342:27;76377:1;76371:3;:7;76380:9;76325:65;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;76315:76;;;;;;76307:85;;:101;;;;;;:116;76289:135;;76464:29;;;;;;;;76479:1;76464:29;;;;;;76482:5;76464:29;;;;;;76489:3;76464:29;;;;;76435:15;:26;76451:9;76435:26;;;;;;;;;;;:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;76510:1;76506:55;;;76548:1;76538:7;;;;;;;;;;;:11;76528:7;;:21;;;;;;;;;;;;;;;;;;76506:55;76603:9;76599:2;76578:35;;76595:1;76578:35;;;;;;;;;;;;76634:16;76648:1;76634:9;:13;;:16;;;;:::i;:::-;76624:7;:26;;;;76671:7;:5;:7::i;:::-;76663:25;;:37;76689:10;76663:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;76718:4;76711:11;;;;;;;;;75614:1116;:::o;46424:175::-;46529:4;34414:12;:10;:12::i;:::-;34404:22;;:6;;;;;;;;;;:22;;;34396:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46560:5:::1;46553:21;;;46575:7;46584:6;46553:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;46546:45;;46424:175:::0;;;;;:::o;75226:285::-;75358:41;75377:12;:10;:12::i;:::-;75391:7;75358:18;:41::i;:::-;75350:103;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;75464:39;75478:4;75484:2;75488:7;75497:5;75464:13;:39::i;:::-;75226:285;;;;:::o;47660:180::-;34414:12;:10;:12::i;:::-;34404:22;;:6;;;;;;;;;;:22;;;34396:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47787:5:::1;47779:32;;;47812:9;47823:8;47779:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;47660:180:::0;;;:::o;71004:342::-;71071:13;71105:16;71113:7;71105;:16::i;:::-;71097:76;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;71308:8;71318:18;:7;:16;:18::i;:::-;71291:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;71277:61;;71004:342;;;:::o;82074:181::-;82129:5;82155:16;82163:7;82155;:16::i;:::-;82147:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;82217:15;:24;82233:7;82217:24;;;;;;;;;;;:30;;;;;;;;;;;;82210:37;;82074:181;;;:::o;76738:1434::-;76786:4;76808:18;76829:9;76808:30;;76904:1;76890:11;;:15;;;;;;76886:1;76872:11;;:15;:33;76857:10;:49;76849:95;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;77014:10;77027;77014:23;;77048:17;77068:13;:11;:13::i;:::-;77048:33;;77092:23;77135:9;67641:4;77118:1;:14;:26;77092:52;;77181:1;77163:15;:19;77155:62;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;77228:15;77246:16;77260:1;77246:9;:13;;:16;;;;:::i;:::-;77228:34;;77275:781;77294:7;77282:9;:19;77275:781;;;77318:32;77340:9;77318:13;:17;77332:2;77318:17;;;;;;;;;;;;;;;:21;;:32;;;;:::i;:::-;;77365:31;77382:9;77393:2;77365:12;:16;;:31;;;;;:::i;:::-;;77413:18;77442:7;;;;;;;;;;;67683:4;77434:15;77413:36;;;;77464:6;77577:10;77558:15;77534:1;77519:12;:16;77509:27;77538:3;77543:9;77492:61;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;77482:72;;;;;;77474:81;;:99;;;;;;77473:114;77464:123;;77602:9;77725:1;:10;;77734:1;77725:10;;;77729:2;77725:10;77620:116;;77709:1;:11;;77718:2;77709:11;;;77713:2;77709:11;77620:101;;77680:1;77665:12;:16;77655:27;77690:1;77684:3;:7;77693:9;77638:65;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;77628:76;;;;;;77620:85;;:101;;;;;;:116;77602:135;;77781:29;;;;;;;;77796:1;77781:29;;;;;;77799:5;77781:29;;;;;;77806:3;77781:29;;;;;77752:15;:26;77768:9;77752:26;;;;;;;;;;;:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;77831:1;77827:63;;;77873:1;77863:7;;;;;;;;;;;:11;77853:7;;:21;;;;;;;;;;;;;;;;;;77827:63;77936:9;77932:2;77911:35;;77928:1;77911:35;;;;;;;;;;;;77973:16;77987:1;77973:9;:13;;:16;;;;:::i;:::-;77961:28;;78022:22;78042:1;78022:15;:19;;:22;;;;:::i;:::-;78004:40;;77275:781;;;;;;78078:14;78090:1;78078:7;;:11;;:14;;;;:::i;:::-;78068:7;:24;;;;78113:7;:5;:7::i;:::-;78105:25;;:37;78131:10;78105:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;78160:4;78153:11;;;;;;;76738:1434;:::o;74401:156::-;74490:4;74514:18;:25;74533:5;74514:25;;;;;;;;;;;;;;;:35;74540:8;74514:35;;;;;;;;;;;;;;;;;;;;;;;;;74507:42;;74401:156;;;;:::o;35137:244::-;34414:12;:10;:12::i;:::-;34404:22;;:6;;;;;;;;;;:22;;;34396:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35246:1:::1;35226:22;;:8;:22;;;;35218:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35336:8;35307:38;;35328:6;::::0;::::1;;;;;;;;35307:38;;;;;;;;;;;;35365:8;35356:6;::::0;:17:::1;;;;;;;;;;;;;;;;;;35137:244:::0;:::o;32080:106::-;32133:15;32168:10;32161:17;;32080:106;:::o;84291:139::-;84347:4;84381:7;;84371;:17;:51;;;;;84392:30;84414:7;84392:12;:21;;:30;;;;:::i;:::-;84371:51;84364:58;;84291:139;;;:::o;87009:158::-;87102:2;87075:15;:24;87091:7;87075:24;;;;;;;;;;;;:29;;;;;;;;;;;;;;;;;;87151:7;87147:2;87120:39;;87129:16;87137:7;87129;:16::i;:::-;87120:39;;;;;;;;;;;;87009:158;;:::o;8143:123::-;8212:7;8239:19;8247:3;:10;;8239:7;:19::i;:::-;8232:26;;8143:123;;;:::o;84597:332::-;84681:4;84706:16;84714:7;84706;:16::i;:::-;84698:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;84782:13;84798:16;84806:7;84798;:16::i;:::-;84782:32;;84844:5;84833:16;;:7;:16;;;:51;;;;84877:7;84853:31;;:20;84865:7;84853:11;:20::i;:::-;:31;;;84833:51;:87;;;;84888:32;84905:5;84912:7;84888:16;:32::i;:::-;84833:87;84825:96;;;84597:332;;;;:::o;85328:513::-;85437:4;85417:24;;:16;85425:7;85417;:16::i;:::-;:24;;;85409:78;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;85520:1;85506:16;;:2;:16;;;;85498:65;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;85628:29;85645:1;85649:7;85628:8;:29::i;:::-;85670:35;85697:7;85670:13;:19;85684:4;85670:19;;;;;;;;;;;;;;;:26;;:35;;;;:::i;:::-;;85716:30;85738:7;85716:13;:17;85730:2;85716:17;;;;;;;;;;;;;;;:21;;:30;;;;:::i;:::-;;85759:29;85776:7;85785:2;85759:12;:16;;:29;;;;;:::i;:::-;;85825:7;85821:2;85806:27;;85815:4;85806:27;;;;;;;;;;;;85328:513;;;:::o;26246:181::-;26304:7;26324:9;26340:1;26336;:5;26324:17;;26365:1;26360;:6;;26352:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26418:1;26411:8;;;26246:181;;;;:::o;16090:131::-;16157:4;16181:32;16186:3;:10;;16206:5;16198:14;;16181:4;:32::i;:::-;16174:39;;16090:131;;;;:::o;7336:176::-;7425:4;7449:55;7454:3;:10;;7474:3;7466:12;;7496:5;7488:14;;7480:23;;7449:4;:55::i;:::-;7442:62;;7336:176;;;;;:::o;26710:136::-;26768:7;26795:43;26799:1;26802;26795:43;;;;;;;;;;;;;;;;;:3;:43::i;:::-;26788:50;;26710:136;;;;:::o;17310:137::-;17381:7;17416:22;17420:3;:10;;17432:5;17416:3;:22::i;:::-;17408:31;;17401:38;;17310:137;;;;:::o;8605:227::-;8685:7;8694;8715:11;8728:13;8745:22;8749:3;:10;;8761:5;8745:3;:22::i;:::-;8714:53;;;;8794:3;8786:12;;8816:5;8808:14;;8778:46;;;;;;8605:227;;;;;:::o;9267:204::-;9374:7;9417:44;9422:3;:10;;9442:3;9434:12;;9448;9417:4;:44::i;:::-;9409:53;;9394:69;;9267:204;;;;;:::o;16852:114::-;16912:7;16939:19;16947:3;:10;;16939:7;:19::i;:::-;16932:26;;16852:114;;;:::o;83773:263::-;83878:28;83888:4;83894:2;83898:7;83878:9;:28::i;:::-;83925:48;83948:4;83954:2;83958:7;83967:5;83925:22;:48::i;:::-;83917:111;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;83773:263;;;;:::o;228:744::-;284:13;514:1;505:5;:10;501:53;;;532:10;;;;;;;;;;;;;;;;;;;;;501:53;564:12;579:5;564:20;;595:14;620:78;635:1;627:4;:9;620:78;;653:8;;;;;;;684:2;676:10;;;;;;;;;620:78;;;708:19;740:6;730:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;708:39;;758:13;783:1;774:6;:10;758:26;;802:5;795:12;;818:115;833:1;825:4;:9;818:115;;892:2;885:4;:9;;;;;;880:2;:14;869:27;;851:6;858:7;;;;;;;851:15;;;;;;;;;;;:45;;;;;;;;;;;919:2;911:10;;;;;;;;;818:115;;;957:6;943:21;;;;;;228:744;;;;:::o;7904:151::-;7988:4;8012:35;8022:3;:10;;8042:3;8034:12;;8012:9;:35::i;:::-;8005:42;;7904:151;;;;:::o;5526:110::-;5582:7;5609:3;:12;;:19;;;;5602:26;;5526:110;;;:::o;16397:137::-;16467:4;16491:35;16499:3;:10;;16519:5;16511:14;;16491:7;:35::i;:::-;16484:42;;16397:137;;;;:::o;11086:414::-;11149:4;11171:21;11181:3;11186:5;11171:9;:21::i;:::-;11166:327;;11209:3;:11;;11226:5;11209:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11392:3;:11;;:18;;;;11370:3;:12;;:19;11383:5;11370:19;;;;;;;;;;;:40;;;;11432:4;11425:11;;;;11166:327;11476:5;11469:12;;11086:414;;;;;:::o;2806:692::-;2882:4;2998:16;3017:3;:12;;:17;3030:3;3017:17;;;;;;;;;;;;2998:36;;3063:1;3051:8;:13;3047:444;;;3118:3;:12;;3136:38;;;;;;;;3153:3;3136:38;;;;3166:5;3136:38;;;3118:57;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3333:3;:12;;:19;;;;3313:3;:12;;:17;3326:3;3313:17;;;;;;;;;;;:39;;;;3374:4;3367:11;;;;;3047:444;3447:5;3411:3;:12;;3435:1;3424:8;:12;3411:26;;;;;;;;;;;;;;;;;;:33;;:41;;;;3474:5;3467:12;;;2806:692;;;;;;:::o;27149:192::-;27235:7;27268:1;27263;:6;;27271:12;27255:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27295:9;27311:1;27307;:5;27295:17;;27332:1;27325:8;;;27149:192;;;;;:::o;13974:204::-;14041:7;14090:5;14069:3;:11;;:18;;;;:26;14061:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14152:3;:11;;14164:5;14152:18;;;;;;;;;;;;;;;;14145:25;;13974:204;;;;:::o;5991:279::-;6058:7;6067;6117:5;6095:3;:12;;:19;;;;:27;6087:74;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6174:22;6199:3;:12;;6212:5;6199:19;;;;;;;;;;;;;;;;;;6174:44;;6237:5;:10;;;6249:5;:12;;;6229:33;;;;;5991:279;;;;;:::o;6693:319::-;6787:7;6807:16;6826:3;:12;;:17;6839:3;6826:17;;;;;;;;;;;;6807:36;;6874:1;6862:8;:13;;6877:12;6854:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6944:3;:12;;6968:1;6957:8;:12;6944:26;;;;;;;;;;;;;;;;;;:33;;;6937:40;;;6693:319;;;;;:::o;13521:109::-;13577:7;13604:3;:11;;:18;;;;13597:25;;13521:109;;;:::o;86406:595::-;86518:4;86545:15;:2;:13;;;:15::i;:::-;86540:60;;86584:4;86577:11;;;;86540:60;86610:23;86636:252;86689:45;;;86749:12;:10;:12::i;:::-;86776:4;86795:7;86817:5;86652:181;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;86636:252;;;;;;;;;;;;;;;;;:2;:15;;;;:252;;;;;:::i;:::-;86610:278;;86899:13;86926:10;86915:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;86899:48;;66077:10;86976:16;;86966:26;;;:6;:26;;;;86958:35;;;;86406:595;;;;;;;:::o;5306:125::-;5377:4;5422:1;5401:3;:12;;:17;5414:3;5401:17;;;;;;;;;;;;:22;;5394:29;;5306:125;;;;:::o;11676:1544::-;11742:4;11860:18;11881:3;:12;;:19;11894:5;11881:19;;;;;;;;;;;;11860:40;;11931:1;11917:10;:15;11913:1300;;12279:21;12316:1;12303:10;:14;12279:38;;12332:17;12373:1;12352:3;:11;;:18;;;;:22;12332:42;;12619:17;12639:3;:11;;12651:9;12639:22;;;;;;;;;;;;;;;;12619:42;;12785:9;12756:3;:11;;12768:13;12756:26;;;;;;;;;;;;;;;:38;;;;12904:1;12888:13;:17;12862:3;:12;;:23;12875:9;12862:23;;;;;;;;;;;:43;;;;13014:3;:11;;:17;;;;;;;;;;;;;;;;;;;;;;;;13109:3;:12;;:19;13122:5;13109:19;;;;;;;;;;;13102:26;;;13152:4;13145:11;;;;;;;;11913:1300;13196:5;13189:12;;;11676:1544;;;;;:::o;13306:129::-;13379:4;13426:1;13403:3;:12;;:19;13416:5;13403:19;;;;;;;;;;;;:24;;13396:31;;13306:129;;;;:::o;18141:422::-;18201:4;18409:12;18520:7;18508:20;18500:28;;18554:1;18547:4;:8;18540:15;;;18141:422;;;:::o;21059:195::-;21162:12;21194:52;21216:6;21224:4;21230:1;21233:12;21194:21;:52::i;:::-;21187:59;;21059:195;;;;;:::o;22111:530::-;22238:12;22296:5;22271:21;:30;;22263:81;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22363:18;22374:6;22363:10;:18::i;:::-;22355:60;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22489:12;22503:23;22530:6;:11;;22550:5;22558:4;22530:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22488:75;;;;22581:52;22599:7;22608:10;22620:12;22581:17;:52::i;:::-;22574:59;;;;22111:530;;;;;;:::o;24651:742::-;24766:12;24795:7;24791:595;;;24826:10;24819:17;;;;24791:595;24960:1;24940:10;:17;:21;24936:439;;;25203:10;25197:17;25264:15;25251:10;25247:2;25243:19;25236:44;25151:148;25346:12;25339:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24651:742;;;;;;:::o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;:::o

Swarm Source

ipfs://f40a2ff1566681d61ceca26c17c66451ece951e0ec05dc25fedb908a524a3fc4
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.