CRO Price: $0.19 (-3.72%)

Contract

0x1c4924f36Fe60374DB6ac206894D82F03d522933

Overview

CRO Balance

Cronos Chain LogoCronos Chain LogoCronos Chain Logo0 CRO

CRO Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Set Approval For...167188812024-11-13 2:18:3130 days ago1731464311IN
0x1c4924f3...03d522933
0 CRO0.233537255,050
Set Approval For...166776082024-11-10 9:01:3932 days ago1731229299IN
0x1c4924f3...03d522933
0 CRO0.233537255,050
Transfer From162600222024-10-14 2:53:2060 days ago1728874400IN
0x1c4924f3...03d522933
0 CRO0.5055,050
Set Approval For...155666502024-08-29 20:10:15105 days ago1724962215IN
0x1c4924f3...03d522933
0 CRO0.233537255,050
Set Approval For...155521862024-08-28 21:18:38106 days ago1724879918IN
0x1c4924f3...03d522933
0 CRO0.147121655,050
Set Approval For...146527092024-06-30 20:23:58165 days ago1719779038IN
0x1c4924f3...03d522933
0 CRO0.233537255,050
Safe Transfer Fr...141419072024-05-28 7:19:09198 days ago1716880749IN
0x1c4924f3...03d522933
0 CRO0.54013795,050
Set Approval For...131976552024-03-27 4:33:55260 days ago1711514035IN
0x1c4924f3...03d522933
0 CRO0.148549165,099
Set Approval For...131465852024-03-23 20:21:00264 days ago1711225260IN
0x1c4924f3...03d522933
0 CRO0.233467885,048.5
Set Approval For...131465132024-03-23 20:14:16264 days ago1711224856IN
0x1c4924f3...03d522933
0 CRO0.233400595,047.045
Set Approval For...131464452024-03-23 20:07:51264 days ago1711224471IN
0x1c4924f3...03d522933
0 CRO0.233467885,048.5
Set Approval For...131462922024-03-23 19:53:27264 days ago1711223607IN
0x1c4924f3...03d522933
0 CRO0.233467885,048.5
Set Approval For...130826672024-03-19 16:31:01268 days ago1710865861IN
0x1c4924f3...03d522933
0 CRO0.233467885,048.5
Safe Transfer Fr...129662222024-03-12 3:02:26276 days ago1710212546IN
0x1c4924f3...03d522933
0 CRO0.9547521210,097
Safe Transfer Fr...129662052024-03-12 3:00:51276 days ago1710212451IN
0x1c4924f3...03d522933
0 CRO0.8789640410,097
Safe Transfer Fr...129661952024-03-12 2:59:55276 days ago1710212395IN
0x1c4924f3...03d522933
0 CRO0.98233610,091.18
Safe Transfer Fr...129534012024-03-11 7:13:04276 days ago1710141184IN
0x1c4924f3...03d522933
0 CRO0.850945210,100
Set Approval For...129203062024-03-09 4:03:37278 days ago1709957017IN
0x1c4924f3...03d522933
0 CRO0.4669357610,097
Set Approval For...127958312024-03-01 3:42:12287 days ago1709264532IN
0x1c4924f3...03d522933
0 CRO0.467074510,100
Set Approval For...127915042024-02-29 21:01:53287 days ago1709240513IN
0x1c4924f3...03d522933
0 CRO0.467074510,100
Set Approval For...127488802024-02-27 3:13:54290 days ago1709003634IN
0x1c4924f3...03d522933
0 CRO0.467074510,100
Set Approval For...127021692024-02-24 3:13:54293 days ago1708744434IN
0x1c4924f3...03d522933
0 CRO0.4962348310,730.56195115
Set Approval For...120228802024-01-10 21:58:21337 days ago1704923901IN
0x1c4924f3...03d522933
0 CRO0.467074510,100
Set Approval For...119471692024-01-05 23:45:23342 days ago1704498323IN
0x1c4924f3...03d522933
0 CRO0.467074510,100
Set Approval For...118892962024-01-02 5:29:04345 days ago1704173344IN
0x1c4924f3...03d522933
0 CRO0.467074510,100
View all transactions

Parent Transaction Hash Block From To
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
TimeCreaturesClassA

Compiler Version
v0.8.18+commit.87f61d96

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at cronoscan.com on 2023-07-16
*/

// SPDX-License-Identifier: MIT LICENSE
//             ___          
//            /   \\        
//      //\\ | . . \\       
//     ////\\|     ||       
//    ///   \\ ___//\       
//   ///     \\      \      
//  ///      |\\ C.C. \     
// ///       | \\  \   \    
/////        |  \\  \   \   
////         |   \\ /   /   
///          |    \/   /    
//           |     \\/|     
//           |      \\|     
//           |       \\     
//           |        |\    
//           |_________\\   
// NFT Contract - Time Creatures Class A
/**
         ,     .
        /(     )\               A
   .--.( `.___.' ).--.         /_\
   `._ `%_&%#%$_ ' _.'     /| <___> |\
      `|(@\*%%/@)|'       / (  |L|  ) \
       |  |%%#|  |       J d8bo|=|od8b L
        \ \$#%/ /        | 8888|=|8888 |
        |\|%%#|/|        J Y8P"|=|"Y8P F
        | (.".)%|         \ (  |L|  ) /
    ___.'  `-'  `.___      \|  |L|  |/
  .'#*#`-       -'$#*`.       / )|
 /#%^#%*_ *%^%_  #  %$%\    .J (__)
 #&  . %%%#% ###%*.   *%\.-'&# (__)
 %*  J %.%#_|_#$.\J* \ %'#%*^  (__)
 *#% J %$%%#|#$#$ J\%   *   .--|(_)
 |%  J\ `%%#|#%%' / `.   _.'   |L|
 |#$%||` %%%$### '|   `-'      |L|
 (#%%||` #$#$%%% '|            |L|
 | ##||  $%%.%$%  |            |L|
 |$%^||   $%#$%   |  VK/cf     |L|
 |&^ ||  #%#$%#%  |            |L|
 |#$*|| #$%$$#%%$ |\           |L|
 ||||||  %%(@)$#  |\\          |L|
 `|||||  #$$|%#%  | L|         |L|
      |  #$%|$%%  | ||l        |L|
      |  ##$H$%%  | |\\        |L|
      |  #%%H%##  | |\\|       |L|
      |  ##% $%#  | Y|||       |L|
      J $$#* *%#% L  |E/
      (__ $F J$ __)  F/
      J#%$ | |%%#%L
      |$$%#& & %%#|
      J##$ J % %%$F
       %$# * * %#&
       %#$ | |%#$%
       *#$%| | #$*
      /$#' ) ( `%%\
     /#$# /   \ %$%\
    ooooO'     `Ooooo                                            
*/
pragma solidity ^0.8.0;

/**
 * @dev Library for managing
 * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive
 * types.
 *
 * Sets have the following properties:
 *
 * - Elements are added, removed, and checked for existence in constant time
 * (O(1)).
 * - Elements are enumerated in O(n). No guarantees are made on the ordering.
 *
 * ```
 * contract Example {
 *     // Add the library methods
 *     using EnumerableSet for EnumerableSet.AddressSet;
 *
 *     // Declare a set state variable
 *     EnumerableSet.AddressSet private mySet;
 * }
 * ```
 *
 * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)
 * and `uint256` (`UintSet`) are supported.
 *
 * [WARNING]
 * ====
 * Trying to delete such a structure from storage will likely result in data corruption, rendering the structure
 * unusable.
 * See https://github.com/ethereum/solidity/pull/11843[ethereum/solidity#11843] for more info.
 *
 * In order to clean an EnumerableSet, you can either remove all elements one by one or create a fresh instance using an
 * array of EnumerableSet.
 * ====
 */
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;

            if (lastIndex != toDeleteIndex) {
                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] = valueIndex; // Replace lastValue's index to valueIndex
            }

            // 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) {
        return set._values[index];
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function _values(Set storage set) private view returns (bytes32[] memory) {
        return set._values;
    }

    // Bytes32Set

    struct Bytes32Set {
        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(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _add(set._inner, 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(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _remove(set._inner, value);
    }

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

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(Bytes32Set 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(Bytes32Set storage set, uint256 index) internal view returns (bytes32) {
        return _at(set._inner, index);
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(Bytes32Set storage set) internal view returns (bytes32[] memory) {
        bytes32[] memory store = _values(set._inner);
        bytes32[] memory result;

        /// @solidity memory-safe-assembly
        assembly {
            result := store
        }

        return result;
    }

    // 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(uint160(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(uint160(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(uint160(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(uint160(uint256(_at(set._inner, index))));
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(AddressSet storage set) internal view returns (address[] memory) {
        bytes32[] memory store = _values(set._inner);
        address[] memory result;

        /// @solidity memory-safe-assembly
        assembly {
            result := store
        }

        return result;
    }

    // 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 in 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 Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(UintSet storage set) internal view returns (uint256[] memory) {
        bytes32[] memory store = _values(set._inner);
        uint256[] memory result;

        /// @solidity memory-safe-assembly
        assembly {
            result := store
        }

        return result;
    }
}

// File: @openzeppelin/contracts/utils/structs/EnumerableMap.sol


// OpenZeppelin Contracts (last updated v4.8.0) (utils/structs/EnumerableMap.sol)
// This file was procedurally generated from scripts/generate/templates/EnumerableMap.js.

pragma solidity ^0.8.0;


/**
 * @dev Library for managing an enumerable variant of Solidity's
 * https://solidity.readthedocs.io/en/latest/types.html#mapping-types[`mapping`]
 * type.
 *
 * Maps have the following properties:
 *
 * - Entries are added, removed, and checked for existence in constant time
 * (O(1)).
 * - Entries are enumerated in O(n). No guarantees are made on the ordering.
 *
 * ```
 * contract Example {
 *     // Add the library methods
 *     using EnumerableMap for EnumerableMap.UintToAddressMap;
 *
 *     // Declare a set state variable
 *     EnumerableMap.UintToAddressMap private myMap;
 * }
 * ```
 *
 * The following map types are supported:
 *
 * - `uint256 -> address` (`UintToAddressMap`) since v3.0.0
 * - `address -> uint256` (`AddressToUintMap`) since v4.6.0
 * - `bytes32 -> bytes32` (`Bytes32ToBytes32Map`) since v4.6.0
 * - `uint256 -> uint256` (`UintToUintMap`) since v4.7.0
 * - `bytes32 -> uint256` (`Bytes32ToUintMap`) since v4.7.0
 *
 * [WARNING]
 * ====
 * Trying to delete such a structure from storage will likely result in data corruption, rendering the structure
 * unusable.
 * See https://github.com/ethereum/solidity/pull/11843[ethereum/solidity#11843] for more info.
 *
 * In order to clean an EnumerableMap, you can either remove all elements one by one or create a fresh instance using an
 * array of EnumerableMap.
 * ====
 */
library EnumerableMap {
    using EnumerableSet for EnumerableSet.Bytes32Set;

    // 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 Bytes32ToBytes32Map {
        // Storage of keys
        EnumerableSet.Bytes32Set _keys;
        mapping(bytes32 => bytes32) _values;
    }

    /**
     * @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(
        Bytes32ToBytes32Map storage map,
        bytes32 key,
        bytes32 value
    ) internal returns (bool) {
        map._values[key] = value;
        return map._keys.add(key);
    }

    /**
     * @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(Bytes32ToBytes32Map storage map, bytes32 key) internal returns (bool) {
        delete map._values[key];
        return map._keys.remove(key);
    }

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

    /**
     * @dev Returns the number of key-value pairs in the map. O(1).
     */
    function length(Bytes32ToBytes32Map storage map) internal view returns (uint256) {
        return map._keys.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(Bytes32ToBytes32Map storage map, uint256 index) internal view returns (bytes32, bytes32) {
        bytes32 key = map._keys.at(index);
        return (key, map._values[key]);
    }

    /**
     * @dev Tries to returns the value associated with `key`. O(1).
     * Does not revert if `key` is not in the map.
     */
    function tryGet(Bytes32ToBytes32Map storage map, bytes32 key) internal view returns (bool, bytes32) {
        bytes32 value = map._values[key];
        if (value == bytes32(0)) {
            return (contains(map, key), bytes32(0));
        } else {
            return (true, value);
        }
    }

    /**
     * @dev Returns the value associated with `key`. O(1).
     *
     * Requirements:
     *
     * - `key` must be in the map.
     */
    function get(Bytes32ToBytes32Map storage map, bytes32 key) internal view returns (bytes32) {
        bytes32 value = map._values[key];
        require(value != 0 || contains(map, key), "EnumerableMap: nonexistent key");
        return value;
    }

    /**
     * @dev Same as {get}, with a custom error message when `key` is not in the map.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryGet}.
     */
    function get(
        Bytes32ToBytes32Map storage map,
        bytes32 key,
        string memory errorMessage
    ) internal view returns (bytes32) {
        bytes32 value = map._values[key];
        require(value != 0 || contains(map, key), errorMessage);
        return value;
    }

    // UintToUintMap

    struct UintToUintMap {
        Bytes32ToBytes32Map _inner;
    }

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

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

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

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

    /**
     * @dev Returns the element stored at position `index` in the set. O(1).
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(UintToUintMap storage map, uint256 index) internal view returns (uint256, uint256) {
        (bytes32 key, bytes32 value) = at(map._inner, index);
        return (uint256(key), uint256(value));
    }

    /**
     * @dev Tries to returns the value associated with `key`. O(1).
     * Does not revert if `key` is not in the map.
     */
    function tryGet(UintToUintMap storage map, uint256 key) internal view returns (bool, uint256) {
        (bool success, bytes32 value) = tryGet(map._inner, bytes32(key));
        return (success, uint256(value));
    }

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

    /**
     * @dev Same as {get}, with a custom error message when `key` is not in the map.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryGet}.
     */
    function get(
        UintToUintMap storage map,
        uint256 key,
        string memory errorMessage
    ) internal view returns (uint256) {
        return uint256(get(map._inner, bytes32(key), errorMessage));
    }

    // UintToAddressMap

    struct UintToAddressMap {
        Bytes32ToBytes32Map _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(uint160(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(uint160(uint256(value))));
    }

    /**
     * @dev Tries to returns the value associated with `key`. O(1).
     * Does not revert if `key` is not in the map.
     */
    function tryGet(UintToAddressMap storage map, uint256 key) internal view returns (bool, address) {
        (bool success, bytes32 value) = tryGet(map._inner, bytes32(key));
        return (success, address(uint160(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(uint160(uint256(get(map._inner, bytes32(key)))));
    }

    /**
     * @dev Same as {get}, with a custom error message when `key` is not in the map.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryGet}.
     */
    function get(
        UintToAddressMap storage map,
        uint256 key,
        string memory errorMessage
    ) internal view returns (address) {
        return address(uint160(uint256(get(map._inner, bytes32(key), errorMessage))));
    }

    // AddressToUintMap

    struct AddressToUintMap {
        Bytes32ToBytes32Map _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(
        AddressToUintMap storage map,
        address key,
        uint256 value
    ) internal returns (bool) {
        return set(map._inner, bytes32(uint256(uint160(key))), bytes32(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(AddressToUintMap storage map, address key) internal returns (bool) {
        return remove(map._inner, bytes32(uint256(uint160(key))));
    }

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

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

    /**
     * @dev Tries to returns the value associated with `key`. O(1).
     * Does not revert if `key` is not in the map.
     */
    function tryGet(AddressToUintMap storage map, address key) internal view returns (bool, uint256) {
        (bool success, bytes32 value) = tryGet(map._inner, bytes32(uint256(uint160(key))));
        return (success, uint256(value));
    }

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

    /**
     * @dev Same as {get}, with a custom error message when `key` is not in the map.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryGet}.
     */
    function get(
        AddressToUintMap storage map,
        address key,
        string memory errorMessage
    ) internal view returns (uint256) {
        return uint256(get(map._inner, bytes32(uint256(uint160(key))), errorMessage));
    }

    // Bytes32ToUintMap

    struct Bytes32ToUintMap {
        Bytes32ToBytes32Map _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(
        Bytes32ToUintMap storage map,
        bytes32 key,
        uint256 value
    ) internal returns (bool) {
        return set(map._inner, key, bytes32(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(Bytes32ToUintMap storage map, bytes32 key) internal returns (bool) {
        return remove(map._inner, key);
    }

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

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

    /**
     * @dev Tries to returns the value associated with `key`. O(1).
     * Does not revert if `key` is not in the map.
     */
    function tryGet(Bytes32ToUintMap storage map, bytes32 key) internal view returns (bool, uint256) {
        (bool success, bytes32 value) = tryGet(map._inner, key);
        return (success, uint256(value));
    }

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

    /**
     * @dev Same as {get}, with a custom error message when `key` is not in the map.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryGet}.
     */
    function get(
        Bytes32ToUintMap storage map,
        bytes32 key,
        string memory errorMessage
    ) internal view returns (uint256) {
        return uint256(get(map._inner, key, errorMessage));
    }
}

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


// OpenZeppelin Contracts (last updated v4.6.0) (utils/math/SafeMath.sol)

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // 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 (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @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) {
        return a + b;
    }

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

    /**
     * @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) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting 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 a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting 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) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * 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) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

// File: @openzeppelin/contracts/security/ReentrancyGuard.sol


// OpenZeppelin Contracts (last updated v4.8.0) (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        _nonReentrantBefore();
        _;
        _nonReentrantAfter();
    }

    function _nonReentrantBefore() private {
        // On the first call to nonReentrant, _status will be _NOT_ENTERED
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;
    }

    function _nonReentrantAfter() private {
        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}

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


// OpenZeppelin Contracts (last updated v4.8.0) (utils/math/Math.sol)

pragma solidity ^0.8.0;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    enum Rounding {
        Down, // Toward negative infinity
        Up, // Toward infinity
        Zero // Toward zero
    }

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

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

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

    /**
     * @dev Returns the ceiling of the division of two numbers.
     *
     * This differs from standard division with `/` in that it rounds up instead
     * of rounding down.
     */
    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b - 1) / b can overflow on addition, so we distribute.
        return a == 0 ? 0 : (a - 1) / b + 1;
    }

    /**
     * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0
     * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv)
     * with further edits by Uniswap Labs also under MIT license.
     */
    function mulDiv(
        uint256 x,
        uint256 y,
        uint256 denominator
    ) internal pure returns (uint256 result) {
        unchecked {
            // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use
            // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256
            // variables such that product = prod1 * 2^256 + prod0.
            uint256 prod0; // Least significant 256 bits of the product
            uint256 prod1; // Most significant 256 bits of the product
            assembly {
                let mm := mulmod(x, y, not(0))
                prod0 := mul(x, y)
                prod1 := sub(sub(mm, prod0), lt(mm, prod0))
            }

            // Handle non-overflow cases, 256 by 256 division.
            if (prod1 == 0) {
                return prod0 / denominator;
            }

            // Make sure the result is less than 2^256. Also prevents denominator == 0.
            require(denominator > prod1);

            ///////////////////////////////////////////////
            // 512 by 256 division.
            ///////////////////////////////////////////////

            // Make division exact by subtracting the remainder from [prod1 prod0].
            uint256 remainder;
            assembly {
                // Compute remainder using mulmod.
                remainder := mulmod(x, y, denominator)

                // Subtract 256 bit number from 512 bit number.
                prod1 := sub(prod1, gt(remainder, prod0))
                prod0 := sub(prod0, remainder)
            }

            // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1.
            // See https://cs.stackexchange.com/q/138556/92363.

            // Does not overflow because the denominator cannot be zero at this stage in the function.
            uint256 twos = denominator & (~denominator + 1);
            assembly {
                // Divide denominator by twos.
                denominator := div(denominator, twos)

                // Divide [prod1 prod0] by twos.
                prod0 := div(prod0, twos)

                // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one.
                twos := add(div(sub(0, twos), twos), 1)
            }

            // Shift in bits from prod1 into prod0.
            prod0 |= prod1 * twos;

            // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such
            // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for
            // four bits. That is, denominator * inv = 1 mod 2^4.
            uint256 inverse = (3 * denominator) ^ 2;

            // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works
            // in modular arithmetic, doubling the correct bits in each step.
            inverse *= 2 - denominator * inverse; // inverse mod 2^8
            inverse *= 2 - denominator * inverse; // inverse mod 2^16
            inverse *= 2 - denominator * inverse; // inverse mod 2^32
            inverse *= 2 - denominator * inverse; // inverse mod 2^64
            inverse *= 2 - denominator * inverse; // inverse mod 2^128
            inverse *= 2 - denominator * inverse; // inverse mod 2^256

            // Because the division is now exact we can divide by multiplying with the modular inverse of denominator.
            // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is
            // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1
            // is no longer required.
            result = prod0 * inverse;
            return result;
        }
    }

    /**
     * @notice Calculates x * y / denominator with full precision, following the selected rounding direction.
     */
    function mulDiv(
        uint256 x,
        uint256 y,
        uint256 denominator,
        Rounding rounding
    ) internal pure returns (uint256) {
        uint256 result = mulDiv(x, y, denominator);
        if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) {
            result += 1;
        }
        return result;
    }

    /**
     * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down.
     *
     * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11).
     */
    function sqrt(uint256 a) internal pure returns (uint256) {
        if (a == 0) {
            return 0;
        }

        // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target.
        //
        // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have
        // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`.
        //
        // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)`
        // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))`
        // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)`
        //
        // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit.
        uint256 result = 1 << (log2(a) >> 1);

        // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128,
        // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at
        // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision
        // into the expected uint128 result.
        unchecked {
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            return min(result, a / result);
        }
    }

    /**
     * @notice Calculates sqrt(a), following the selected rounding direction.
     */
    function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = sqrt(a);
            return result + (rounding == Rounding.Up && result * result < a ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 2, rounded down, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 128;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 64;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 32;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 16;
            }
            if (value >> 8 > 0) {
                value >>= 8;
                result += 8;
            }
            if (value >> 4 > 0) {
                value >>= 4;
                result += 4;
            }
            if (value >> 2 > 0) {
                value >>= 2;
                result += 2;
            }
            if (value >> 1 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 2, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log2(value);
            return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 10, rounded down, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >= 10**64) {
                value /= 10**64;
                result += 64;
            }
            if (value >= 10**32) {
                value /= 10**32;
                result += 32;
            }
            if (value >= 10**16) {
                value /= 10**16;
                result += 16;
            }
            if (value >= 10**8) {
                value /= 10**8;
                result += 8;
            }
            if (value >= 10**4) {
                value /= 10**4;
                result += 4;
            }
            if (value >= 10**2) {
                value /= 10**2;
                result += 2;
            }
            if (value >= 10**1) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log10(value);
            return result + (rounding == Rounding.Up && 10**result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 256, rounded down, of a positive value.
     * Returns 0 if given 0.
     *
     * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string.
     */
    function log256(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 16;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 8;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 4;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 2;
            }
            if (value >> 8 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log256(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log256(value);
            return result + (rounding == Rounding.Up && 1 << (result * 8) < value ? 1 : 0);
        }
    }
}

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


// OpenZeppelin Contracts (last updated v4.8.0) (utils/Strings.sol)

pragma solidity ^0.8.0;


/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _SYMBOLS = "0123456789abcdef";
    uint8 private constant _ADDRESS_LENGTH = 20;

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        unchecked {
            uint256 length = Math.log10(value) + 1;
            string memory buffer = new string(length);
            uint256 ptr;
            /// @solidity memory-safe-assembly
            assembly {
                ptr := add(buffer, add(32, length))
            }
            while (true) {
                ptr--;
                /// @solidity memory-safe-assembly
                assembly {
                    mstore8(ptr, byte(mod(value, 10), _SYMBOLS))
                }
                value /= 10;
                if (value == 0) break;
            }
            return buffer;
        }
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        unchecked {
            return toHexString(value, Math.log256(value) + 1);
        }
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        bytes memory buffer = new bytes(2 * length + 2);
        buffer[0] = "0";
        buffer[1] = "x";
        for (uint256 i = 2 * length + 1; i > 1; --i) {
            buffer[i] = _SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }

    /**
     * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.
     */
    function toHexString(address addr) internal pure returns (string memory) {
        return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);
    }
}

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


// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

/**
 * @title ERC721 token receiver interface
 * @dev Interface for any contract that wants to support safeTransfers
 * from ERC721 asset contracts.
 */
interface IERC721Receiver {
    /**
     * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
     * by `operator` from `from`, this function is called.
     *
     * It must return its Solidity selector to confirm the token transfer.
     * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.
     *
     * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

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


// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[EIP].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}

// File: @openzeppelin/contracts/utils/introspection/ERC165.sol


// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;


/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
 * for the additional interface id that will be supported. For example:
 *
 * ```solidity
 * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
 *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
 * }
 * ```
 *
 * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}

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


// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;


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

    /**
     * @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 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: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721
     * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must
     * understand this adds an external call which potentially creates a reentrancy vulnerability.
     *
     * 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 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 the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

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

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


// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol)

pragma solidity ^0.8.0;


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

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

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


// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

pragma solidity ^0.8.0;


/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {
    /**
     * @dev Returns the token collection name.
     */
    function name() external view returns (string memory);

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

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

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


// OpenZeppelin Contracts (last updated v4.8.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @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
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 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");

        (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 functionCallWithValue(target, data, 0, "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");
        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResultFromTarget(target, 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) {
        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

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

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling
     * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.
     *
     * _Available since v4.8._
     */
    function verifyCallResultFromTarget(
        address target,
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        if (success) {
            if (returndata.length == 0) {
                // only check isContract if the call was successful and the return data is empty
                // otherwise we already know that it was a contract
                require(isContract(target), "Address: call to non-contract");
            }
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    /**
     * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason or using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    function _revert(bytes memory returndata, string memory errorMessage) private pure {
        // 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
            /// @solidity memory-safe-assembly
            assembly {
                let returndata_size := mload(returndata)
                revert(add(32, returndata), returndata_size)
            }
        } else {
            revert(errorMessage);
        }
    }
}

// File: @openzeppelin/contracts/token/ERC20/extensions/draft-IERC20Permit.sol


// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/draft-IERC20Permit.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in
 * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].
 *
 * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by
 * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't
 * need to send a transaction, and thus is not required to hold Ether at all.
 */
interface IERC20Permit {
    /**
     * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,
     * given ``owner``'s signed approval.
     *
     * IMPORTANT: The same issues {IERC20-approve} has related to transaction
     * ordering also apply here.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `deadline` must be a timestamp in the future.
     * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`
     * over the EIP712-formatted function arguments.
     * - the signature must use ``owner``'s current nonce (see {nonces}).
     *
     * For more information on the signature format, see the
     * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP
     * section].
     */
    function permit(
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external;

    /**
     * @dev Returns the current nonce for `owner`. This value must be
     * included whenever a signature is generated for {permit}.
     *
     * Every successful call to {permit} increases ``owner``'s nonce by one. This
     * prevents a signature from being used multiple times.
     */
    function nonces(address owner) external view returns (uint256);

    /**
     * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}.
     */
    // solhint-disable-next-line func-name-mixedcase
    function DOMAIN_SEPARATOR() external view returns (bytes32);
}

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


// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @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 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 `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, 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 `from` to `to` 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 from,
        address to,
        uint256 amount
    ) external returns (bool);
}

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


// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/utils/SafeERC20.sol)

pragma solidity ^0.8.0;




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

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

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

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

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

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

    function safePermit(
        IERC20Permit token,
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal {
        uint256 nonceBefore = token.nonces(owner);
        token.permit(owner, spender, value, deadline, v, r, s);
        uint256 nonceAfter = token.nonces(owner);
        require(nonceAfter == nonceBefore + 1, "SafeERC20: permit did not succeed");
    }

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

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

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


// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

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


// OpenZeppelin Contracts (last updated v4.8.2) (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;








/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension, but not including the Enumerable extension, which is available separately as
 * {ERC721Enumerable}.
 */
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to owner address
    mapping(uint256 => address) private _owners;

    // Mapping owner address to token count
    mapping(address => uint256) private _balances;

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

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

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) {
        return
            interfaceId == type(IERC721).interfaceId ||
            interfaceId == type(IERC721Metadata).interfaceId ||
            super.supportsInterface(interfaceId);
    }

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        require(owner != address(0), "ERC721: address zero is not a valid owner");
        return _balances[owner];
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        address owner = _ownerOf(tokenId);
        require(owner != address(0), "ERC721: invalid token ID");
        return owner;
    }

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

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

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        _requireMinted(tokenId);

        string memory baseURI = _baseURI();
        return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : "";
    }

    /**
     * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each
     * token will be the concatenation of the `baseURI` and the `tokenId`. Empty
     * by default, can be overridden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return "";
    }

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

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

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        _requireMinted(tokenId);

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        _setApprovalForAll(_msgSender(), operator, approved);
    }

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

    /**
     * @dev Returns the owner of the `tokenId`. Does NOT revert if token doesn't exist
     */
    function _ownerOf(uint256 tokenId) internal view virtual returns (address) {
        return _owners[tokenId];
    }

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

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

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

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

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

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

        // Check that tokenId was not minted by `_beforeTokenTransfer` hook
        require(!_exists(tokenId), "ERC721: token already minted");

        unchecked {
            // Will not overflow unless all 2**256 token ids are minted to the same owner.
            // Given that tokens are minted one by one, it is impossible in practice that
            // this ever happens. Might change if we allow batch minting.
            // The ERC fails to describe this case.
            _balances[to] += 1;
        }

        _owners[tokenId] = to;

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

        _afterTokenTransfer(address(0), to, tokenId, 1);
    }

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     * This is an internal function that does not check if the sender is authorized to operate on the token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId) internal virtual {
        address owner = ERC721.ownerOf(tokenId);

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

        // Update ownership in case tokenId was transferred by `_beforeTokenTransfer` hook
        owner = ERC721.ownerOf(tokenId);

        // Clear approvals
        delete _tokenApprovals[tokenId];

        unchecked {
            // Cannot overflow, as that would require more tokens to be burned/transferred
            // out than the owner initially received through minting and transferring in.
            _balances[owner] -= 1;
        }
        delete _owners[tokenId];

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

        _afterTokenTransfer(owner, address(0), tokenId, 1);
    }

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

        _beforeTokenTransfer(from, to, tokenId, 1);

        // Check that tokenId was not transferred by `_beforeTokenTransfer` hook
        require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner");

        // Clear approvals from the previous owner
        delete _tokenApprovals[tokenId];

        unchecked {
            // `_balances[from]` cannot overflow for the same reason as described in `_burn`:
            // `from`'s balance is the number of token held, which is at least one before the current
            // transfer.
            // `_balances[to]` could overflow in the conditions described in `_mint`. That would require
            // all 2**256 token ids to be minted, which in practice is impossible.
            _balances[from] -= 1;
            _balances[to] += 1;
        }
        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId, 1);
    }

    /**
     * @dev Approve `to` to operate on `tokenId`
     *
     * Emits an {Approval} event.
     */
    function _approve(address to, uint256 tokenId) internal virtual {
        _tokenApprovals[tokenId] = to;
        emit Approval(ERC721.ownerOf(tokenId), to, tokenId);
    }

    /**
     * @dev Approve `operator` to operate on all of `owner` tokens
     *
     * Emits an {ApprovalForAll} event.
     */
    function _setApprovalForAll(
        address owner,
        address operator,
        bool approved
    ) internal virtual {
        require(owner != operator, "ERC721: approve to caller");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

    /**
     * @dev Reverts if the `tokenId` has not been minted yet.
     */
    function _requireMinted(uint256 tokenId) internal view virtual {
        require(_exists(tokenId), "ERC721: invalid token ID");
    }

    /**
     * @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()) {
            try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, data) returns (bytes4 retval) {
                return retval == IERC721Receiver.onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert("ERC721: transfer to non ERC721Receiver implementer");
                } else {
                    /// @solidity memory-safe-assembly
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting and burning. If {ERC721Consecutive} is
     * used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s tokens will be transferred to `to`.
     * - When `from` is zero, the tokens will be minted for `to`.
     * - When `to` is zero, ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     * - `batchSize` is non-zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 firstTokenId,
        uint256 batchSize
    ) internal virtual {}

    /**
     * @dev Hook that is called after any token transfer. This includes minting and burning. If {ERC721Consecutive} is
     * used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s tokens were transferred to `to`.
     * - When `from` is zero, the tokens were minted for `to`.
     * - When `to` is zero, ``from``'s tokens were burned.
     * - `from` and `to` are never both zero.
     * - `batchSize` is non-zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 firstTokenId,
        uint256 batchSize
    ) internal virtual {}

    /**
     * @dev Unsafe write access to the balances, used by extensions that "mint" tokens using an {ownerOf} override.
     *
     * WARNING: Anyone calling this MUST ensure that the balances remain consistent with the ownership. The invariant
     * being that for any address `a` the value returned by `balanceOf(a)` must be equal to the number of tokens such
     * that `ownerOf(tokenId)` is `a`.
     */
    // solhint-disable-next-line func-name-mixedcase
    function __unsafe_increaseBalance(address account, uint256 amount) internal {
        _balances[account] += amount;
    }
}

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


// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/extensions/ERC721Enumerable.sol)

pragma solidity ^0.8.0;



/**
 * @dev This implements an optional extension of {ERC721} defined in the EIP that adds
 * enumerability of all the token ids in the contract as well as all token ids owned by each
 * account.
 */
abstract contract ERC721Enumerable is ERC721, IERC721Enumerable {
    // Mapping from owner to list of owned token IDs
    mapping(address => mapping(uint256 => uint256)) private _ownedTokens;

    // Mapping from token ID to index of the owner tokens list
    mapping(uint256 => uint256) private _ownedTokensIndex;

    // Array with all token ids, used for enumeration
    uint256[] private _allTokens;

    // Mapping from token id to position in the allTokens array
    mapping(uint256 => uint256) private _allTokensIndex;

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) {
        return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId);
    }

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds");
        return _ownedTokens[owner][index];
    }

    /**
     * @dev See {IERC721Enumerable-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        return _allTokens.length;
    }

    /**
     * @dev See {IERC721Enumerable-tokenByIndex}.
     */
    function tokenByIndex(uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds");
        return _allTokens[index];
    }

    /**
     * @dev See {ERC721-_beforeTokenTransfer}.
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 firstTokenId,
        uint256 batchSize
    ) internal virtual override {
        super._beforeTokenTransfer(from, to, firstTokenId, batchSize);

        if (batchSize > 1) {
            // Will only trigger during construction. Batch transferring (minting) is not available afterwards.
            revert("ERC721Enumerable: consecutive transfers not supported");
        }

        uint256 tokenId = firstTokenId;

        if (from == address(0)) {
            _addTokenToAllTokensEnumeration(tokenId);
        } else if (from != to) {
            _removeTokenFromOwnerEnumeration(from, tokenId);
        }
        if (to == address(0)) {
            _removeTokenFromAllTokensEnumeration(tokenId);
        } else if (to != from) {
            _addTokenToOwnerEnumeration(to, tokenId);
        }
    }

    /**
     * @dev Private function to add a token to this extension's ownership-tracking data structures.
     * @param to address representing the new owner of the given token ID
     * @param tokenId uint256 ID of the token to be added to the tokens list of the given address
     */
    function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private {
        uint256 length = ERC721.balanceOf(to);
        _ownedTokens[to][length] = tokenId;
        _ownedTokensIndex[tokenId] = length;
    }

    /**
     * @dev Private function to add a token to this extension's token tracking data structures.
     * @param tokenId uint256 ID of the token to be added to the tokens list
     */
    function _addTokenToAllTokensEnumeration(uint256 tokenId) private {
        _allTokensIndex[tokenId] = _allTokens.length;
        _allTokens.push(tokenId);
    }

    /**
     * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that
     * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for
     * gas optimizations e.g. when performing a transfer operation (avoiding double writes).
     * This has O(1) time complexity, but alters the order of the _ownedTokens array.
     * @param from address representing the previous owner of the given token ID
     * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address
     */
    function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private {
        // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = ERC721.balanceOf(from) - 1;
        uint256 tokenIndex = _ownedTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary
        if (tokenIndex != lastTokenIndex) {
            uint256 lastTokenId = _ownedTokens[from][lastTokenIndex];

            _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
            _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index
        }

        // This also deletes the contents at the last position of the array
        delete _ownedTokensIndex[tokenId];
        delete _ownedTokens[from][lastTokenIndex];
    }

    /**
     * @dev Private function to remove a token from this extension's token tracking data structures.
     * This has O(1) time complexity, but alters the order of the _allTokens array.
     * @param tokenId uint256 ID of the token to be removed from the tokens list
     */
    function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private {
        // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = _allTokens.length - 1;
        uint256 tokenIndex = _allTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so
        // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding
        // an 'if' statement (like in _removeTokenFromOwnerEnumeration)
        uint256 lastTokenId = _allTokens[lastTokenIndex];

        _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
        _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index

        // This also deletes the contents at the last position of the array
        delete _allTokensIndex[tokenId];
        _allTokens.pop();
    }
}

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


// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;


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

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        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 {
        _transferOwnership(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");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

// File: TimeCreaturesClassA.sol
//             ___          
//            /   \\        
//      //\\ | . . \\       
//     ////\\|     ||       
//    ///   \\ ___//\       
//   ///     \\      \      
//  ///      |\\ C.C. \     
// ///       | \\  \   \    
/////        |  \\  \   \   
////         |   \\ /   /   
///          |    \/   /    
//           |     \\/|     
//           |      \\|     
//           |       \\     
//           |        |\    
//           |_________\\   
// NFT Contract - Time Creatures Class A
/**
         ,     .
        /(     )\               A
   .--.( `.___.' ).--.         /_\
   `._ `%_&%#%$_ ' _.'     /| <___> |\
      `|(@\*%%/@)|'       / (  |L|  ) \
       |  |%%#|  |       J d8bo|=|od8b L
        \ \$#%/ /        | 8888|=|8888 |
        |\|%%#|/|        J Y8P"|=|"Y8P F
        | (.".)%|         \ (  |L|  ) /
    ___.'  `-'  `.___      \|  |L|  |/
  .'#*#`-       -'$#*`.       / )|
 /#%^#%*_ *%^%_  #  %$%\    .J (__)
 #&  . %%%#% ###%*.   *%\.-'&# (__)
 %*  J %.%#_|_#$.\J* \ %'#%*^  (__)
 *#% J %$%%#|#$#$ J\%   *   .--|(_)
 |%  J\ `%%#|#%%' / `.   _.'   |L|
 |#$%||` %%%$### '|   `-'      |L|
 (#%%||` #$#$%%% '|            |L|
 | ##||  $%%.%$%  |            |L|
 |$%^||   $%#$%   |  VK/cf     |L|
 |&^ ||  #%#$%#%  |            |L|
 |#$*|| #$%$$#%%$ |\           |L|
 ||||||  %%(@)$#  |\\          |L|
 `|||||  #$$|%#%  | L|         |L|
      |  #$%|$%%  | ||l        |L|
      |  ##$H$%%  | |\\        |L|
      |  #%%H%##  | |\\|       |L|
      |  ##% $%#  | Y|||       |L|
      J $$#* *%#% L  |E/
      (__ $F J$ __)  F/
      J#%$ | |%%#%L
      |$$%#& & %%#|
      J##$ J % %%$F
       %$# * * %#&
       %#$ | |%#$%
       *#$%| | #$*
      /$#' ) ( `%%\
     /#$# /   \ %$%\
    ooooO'     `Ooooo                                            
*/
pragma solidity ^0.8.0;

contract TimeCreaturesClassA is ReentrancyGuard, ERC721Enumerable, Ownable {
    
    using SafeMath for uint256;
    using SafeERC20 for IERC20;

    receive() external payable {}

    struct TokenInfo {
        IERC20 ERC20paytoken;
        uint256 ERC20publicCost;
        uint256 ERC20whitelistCost;
        uint256 ERC20royaltyPercentage;
        address ERC20royaltyWallet;
    }

    struct ETHInfo {
        uint256 ETHpublicCost;
        uint256 ETHwhitelistCost;
        uint256 ETHroyaltyPercentage;
        address payable ETHroyaltyWallet;
    }

    using EnumerableSet for EnumerableSet.AddressSet;
    EnumerableSet.AddressSet private whitelist;
    
    mapping(address => TokenInfo) private payTokens;
    
    using EnumerableMap for EnumerableMap.AddressToUintMap;
    EnumerableMap.AddressToUintMap private publicCosts;
    EnumerableMap.AddressToUintMap private whitelistCosts;

    ETHInfo public ethInfo;

    using Strings for uint256;
    string public baseURI;
    string public baseExtension = ".json";
    uint256 public constant maxSupply = 1500;
    uint256 public constant maxMintAmount = 100;
    bool public paused = false;
    mapping(address => bool) public whitelisted;


    constructor() ERC721("Time Creatures Class A", "TCCA") {}
    
    function _baseURI() internal view virtual override returns (string memory) {
        return baseURI;
    }

    function walletOfOwner(address _owner)
        public
        view
        returns (uint256[] memory)
    {
        uint256 ownerTokenCount = balanceOf(_owner);
        uint256[] memory tokenIds = new uint256[](ownerTokenCount);
        for (uint256 i; i < ownerTokenCount; i++) {
            tokenIds[i] = tokenOfOwnerByIndex(_owner, i);
        }
        return tokenIds;
    }

    function tokenURI(uint256 tokenId)
        public
        view
        virtual
        override
        returns (string memory)
    {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");
        string memory currentBaseURI = _baseURI();
        return bytes(currentBaseURI).length > 0 ? string(abi.encodePacked(currentBaseURI, tokenId.toString(), baseExtension)) : "";
    }       

    function addCurrency(IERC20 _payToken, uint256 _ERC20publicCost, uint256 _ERC20whitelistCost, uint256 _ERC20royaltyPercentage, address _ERC20royaltyWallet) external onlyOwner {
        publicCosts.set(address(_payToken), _ERC20publicCost);
        whitelistCosts.set(address(_payToken), _ERC20whitelistCost);
        payTokens[address(_payToken)] = TokenInfo({
            ERC20paytoken: _payToken,
            ERC20publicCost: _ERC20publicCost,
            ERC20whitelistCost: _ERC20whitelistCost,
            ERC20royaltyPercentage: _ERC20royaltyPercentage,
            ERC20royaltyWallet: _ERC20royaltyWallet
        });
    }
    
    function removeCurrency(IERC20 _payToken) external onlyOwner {
        publicCosts.remove(address(_payToken));
        whitelistCosts.remove(address(_payToken));
        delete payTokens[address(_payToken)];
    }

    function getTokenInfo(address _tokenAddress) public view returns (TokenInfo memory) {
        return payTokens[_tokenAddress];
    }

    function setETHInfo(uint256 _ETHpublicCost, uint256 _ETHwhitelistCost, uint256 _ETHroyaltyPercentage, address payable _ETHroyaltyWallet) external onlyOwner {
        ethInfo = ETHInfo({
            ETHpublicCost: _ETHpublicCost,
            ETHwhitelistCost: _ETHwhitelistCost,
            ETHroyaltyPercentage: _ETHroyaltyPercentage,
            ETHroyaltyWallet: _ETHroyaltyWallet
        });
    }

    function setBaseURI(string memory _newBaseURI) external onlyOwner {
        baseURI = _newBaseURI;
    }

    function setBaseExtension(string memory _newBaseExtension) external onlyOwner {
        baseExtension = _newBaseExtension;
    }

    function pause(bool val) external onlyOwner {
        paused = val;
    }

    function whitelistAddresses(address[] memory _addresses) external onlyOwner {
        for (uint256 i = 0; i < _addresses.length; i++) {
            whitelisted[_addresses[i]] = true;
            whitelist.add(_addresses[i]);
        }
    }

    function removeAddressesFromWhitelist(address[] memory _addresses) external onlyOwner {
        for (uint256 i = 0; i < _addresses.length; i++) {
            whitelisted[_addresses[i]] = false;
            whitelist.remove(_addresses[i]);
        }
    }

    function isWhitelisted(address _address) public view returns (bool) {
        return whitelisted[_address];
    }

    function purchaseWithERC20(uint256 _numberOfTokens, address _token) public nonReentrant {
        require(!paused, "Contract is paused");
        require(_numberOfTokens > 0 && _numberOfTokens <= maxMintAmount, "Exceeds maximum purchase amount");
        require(totalSupply() + _numberOfTokens <= maxSupply, "Exceeds maximum supply");

        uint256 cost;
        if (isWhitelisted(msg.sender)) {
            cost = payTokens[_token].ERC20whitelistCost.mul(_numberOfTokens);
        } else {
            require(payTokens[_token].ERC20paytoken.allowance(msg.sender, address(this)) >= payTokens[_token].ERC20publicCost.mul(_numberOfTokens), "Allowance not sufficient");
            cost = payTokens[_token].ERC20publicCost.mul(_numberOfTokens);
        }

        uint256 royaltyAmount = cost.mul(payTokens[_token].ERC20royaltyPercentage).div(100);
        uint256 ownerAmount = cost.sub(royaltyAmount);

        payTokens[_token].ERC20paytoken.safeTransferFrom(msg.sender, payTokens[_token].ERC20royaltyWallet, royaltyAmount);
        payTokens[_token].ERC20paytoken.safeTransferFrom(msg.sender, address(this), ownerAmount);

        for (uint256 i = 0; i < _numberOfTokens; i++) {
            uint256 tokenId = totalSupply();
            if (totalSupply() < maxSupply) {
                _safeMint(msg.sender, tokenId);
            }
        }
    }

    function purchaseWithETH(uint256 _numberOfTokens) public payable nonReentrant {
        require(!paused, "Contract is paused");
        require(_numberOfTokens > 0 && _numberOfTokens <= maxMintAmount, "Exceeds maximum purchase amount");
        require(totalSupply() + _numberOfTokens <= maxSupply, "Exceeds maximum supply");

        uint256 cost;
        if (isWhitelisted(msg.sender)) {
            cost = ethInfo.ETHwhitelistCost.mul(_numberOfTokens);
        } else {
            cost = ethInfo.ETHpublicCost.mul(_numberOfTokens);
        }

        uint256 royaltyAmount = cost.mul(ethInfo.ETHroyaltyPercentage).div(100);
        uint256 ownerAmount = cost.sub(royaltyAmount);

        if (msg.sender != owner()) {
            require(msg.value >= cost, "Ether value sent is not correct");

            if (msg.value > cost) {
                payable(msg.sender).transfer(msg.value.sub(cost));
            }

            ethInfo.ETHroyaltyWallet.transfer(royaltyAmount);
            payable(owner()).transfer(ownerAmount);
        }

        for (uint256 i = 0; i < _numberOfTokens; i++) {
            uint256 tokenId = totalSupply();
            if (totalSupply() < maxSupply) {
                _safeMint(msg.sender, tokenId);
            }
        }
    }

    function teamMint(address _to, uint256 _mintAmount) external onlyOwner {
            uint256 supply = totalSupply();
            require(!paused);
            require(_mintAmount > 0);
            require(_mintAmount <= maxMintAmount);
            require(supply + _mintAmount <= maxSupply);
            
            for (uint256 i = 1; i <= _mintAmount; i++) {
                _safeMint(_to, supply + i);
            }
    }

    function withdrawAll() external onlyOwner {
        uint256 balance = address(this).balance;
        payable(msg.sender).transfer(balance);
    }

    function withdrawToken(IERC20 _token, uint256 _amount) external onlyOwner {
        uint256 tokenBalance = _token.balanceOf(address(this));
        require(_amount <= tokenBalance, "Insufficient token balance");
        SafeERC20.safeTransfer(_token, msg.sender, _amount);
    }

}

Contract Security Audit

Contract ABI

[{"inputs":[],"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":[{"internalType":"contract IERC20","name":"_payToken","type":"address"},{"internalType":"uint256","name":"_ERC20publicCost","type":"uint256"},{"internalType":"uint256","name":"_ERC20whitelistCost","type":"uint256"},{"internalType":"uint256","name":"_ERC20royaltyPercentage","type":"uint256"},{"internalType":"address","name":"_ERC20royaltyWallet","type":"address"}],"name":"addCurrency","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseExtension","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ethInfo","outputs":[{"internalType":"uint256","name":"ETHpublicCost","type":"uint256"},{"internalType":"uint256","name":"ETHwhitelistCost","type":"uint256"},{"internalType":"uint256","name":"ETHroyaltyPercentage","type":"uint256"},{"internalType":"address payable","name":"ETHroyaltyWallet","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_tokenAddress","type":"address"}],"name":"getTokenInfo","outputs":[{"components":[{"internalType":"contract IERC20","name":"ERC20paytoken","type":"address"},{"internalType":"uint256","name":"ERC20publicCost","type":"uint256"},{"internalType":"uint256","name":"ERC20whitelistCost","type":"uint256"},{"internalType":"uint256","name":"ERC20royaltyPercentage","type":"uint256"},{"internalType":"address","name":"ERC20royaltyWallet","type":"address"}],"internalType":"struct TimeCreaturesClassA.TokenInfo","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"isWhitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"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":"bool","name":"val","type":"bool"}],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_numberOfTokens","type":"uint256"},{"internalType":"address","name":"_token","type":"address"}],"name":"purchaseWithERC20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_numberOfTokens","type":"uint256"}],"name":"purchaseWithETH","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_addresses","type":"address[]"}],"name":"removeAddressesFromWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"_payToken","type":"address"}],"name":"removeCurrency","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":"_newBaseExtension","type":"string"}],"name":"setBaseExtension","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_ETHpublicCost","type":"uint256"},{"internalType":"uint256","name":"_ETHwhitelistCost","type":"uint256"},{"internalType":"uint256","name":"_ETHroyaltyPercentage","type":"uint256"},{"internalType":"address payable","name":"_ETHroyaltyWallet","type":"address"}],"name":"setETHInfo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"teamMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_addresses","type":"address[]"}],"name":"whitelistAddresses","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"_token","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdrawToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60c06040526005608090815264173539b7b760d91b60a052601a90620000269082620001d8565b50601b805460ff191690553480156200003e57600080fd5b506040518060400160405280601681526020017f54696d652043726561747572657320436c617373204100000000000000000000815250604051806040016040528060048152602001635443434160e01b81525060016000819055508160019081620000ab9190620001d8565b506002620000ba8282620001d8565b505050620000d7620000d1620000dd60201b60201c565b620000e1565b620002a4565b3390565b600b80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200015e57607f821691505b6020821081036200017f57634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620001d357600081815260208120601f850160051c81016020861015620001ae5750805b601f850160051c820191505b81811015620001cf57828155600101620001ba565b5050505b505050565b81516001600160401b03811115620001f457620001f462000133565b6200020c8162000205845462000149565b8462000185565b602080601f8311600181146200024457600084156200022b5750858301515b600019600386901b1c1916600185901b178555620001cf565b600085815260208120601f198616915b82811015620002755788860151825594840194600190910190840162000254565b5085821015620002945787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6135cd80620002b46000396000f3fe6080604052600436106102555760003560e01c806370a0823111610139578063b88d4fde116100b6578063d5abeb011161007a578063d5abeb011461075e578063d936547e14610774578063da3ef23f146107a4578063e985e9c5146107c4578063ea236e1e1461080d578063f2fde38b1461082d57600080fd5b8063b88d4fde146106c9578063c5d3a107146106e9578063c668286214610709578063c87b56dd1461071e578063d55002211461073e57600080fd5b80639e281a98116100fd5780639e281a9814610601578063a22cb46514610621578063add5a4fa14610641578063b57a38d914610661578063b8189faf1461067457600080fd5b806370a0823114610584578063715018a6146105a4578063853828b6146105b95780638da5cb5b146105ce57806395d89b41146105ec57600080fd5b80632bf04304116101d25780634f6ccce7116101965780634f6ccce7146104d557806355f804b3146104f55780635c975abb146105155780635ffe43711461052f5780636352211e1461054f5780636c0360eb1461056f57600080fd5b80632bf043041461040f5780632f745c591461042f5780633af32abf1461044f57806342842e0e14610488578063438b6300146104a857600080fd5b806318160ddd1161021957806318160ddd146103325780631f69565f14610351578063239c70ae146103ba57806323b872dd146103cf57806324953eaa146103ef57600080fd5b806301ffc9a71461026157806302329a291461029657806306fdde03146102b8578063081812fc146102da578063095ea7b31461031257600080fd5b3661025c57005b600080fd5b34801561026d57600080fd5b5061028161027c366004612c81565b61084d565b60405190151581526020015b60405180910390f35b3480156102a257600080fd5b506102b66102b1366004612cac565b610878565b005b3480156102c457600080fd5b506102cd610893565b60405161028d9190612d19565b3480156102e657600080fd5b506102fa6102f5366004612d2c565b610925565b6040516001600160a01b03909116815260200161028d565b34801561031e57600080fd5b506102b661032d366004612d5a565b61094c565b34801561033e57600080fd5b506009545b60405190815260200161028d565b34801561035d57600080fd5b5061037161036c366004612d86565b610a66565b60405161028d919081516001600160a01b039081168252602080840151908301526040808401519083015260608084015190830152608092830151169181019190915260a00190565b3480156103c657600080fd5b50610343606481565b3480156103db57600080fd5b506102b66103ea366004612da3565b610b09565b3480156103fb57600080fd5b506102b661040a366004612e2b565b610b3a565b34801561041b57600080fd5b506102b661042a366004612e2b565b610be9565b34801561043b57600080fd5b5061034361044a366004612d5a565b610c94565b34801561045b57600080fd5b5061028161046a366004612d86565b6001600160a01b03166000908152601c602052604090205460ff1690565b34801561049457600080fd5b506102b66104a3366004612da3565b610d2a565b3480156104b457600080fd5b506104c86104c3366004612d86565b610d45565b60405161028d9190612edd565b3480156104e157600080fd5b506103436104f0366004612d2c565b610de7565b34801561050157600080fd5b506102b6610510366004612f79565b610e7a565b34801561052157600080fd5b50601b546102819060ff1681565b34801561053b57600080fd5b506102b661054a366004612fc2565b610e8e565b34801561055b57600080fd5b506102fa61056a366004612d2c565b6111ed565b34801561057b57600080fd5b506102cd61124d565b34801561059057600080fd5b5061034361059f366004612d86565b6112db565b3480156105b057600080fd5b506102b6611361565b3480156105c557600080fd5b506102b6611375565b3480156105da57600080fd5b50600b546001600160a01b03166102fa565b3480156105f857600080fd5b506102cd6113ac565b34801561060d57600080fd5b506102b661061c366004612d5a565b6113bb565b34801561062d57600080fd5b506102b661063c366004612ff2565b61148b565b34801561064d57600080fd5b506102b661065c366004612d5a565b611496565b6102b661066f366004612d2c565b611524565b34801561068057600080fd5b506015546016546017546018546106a0939291906001600160a01b031684565b604080519485526020850193909352918301526001600160a01b0316606082015260800161028d565b3480156106d557600080fd5b506102b66106e4366004613020565b611823565b3480156106f557600080fd5b506102b6610704366004612d86565b611855565b34801561071557600080fd5b506102cd6118be565b34801561072a57600080fd5b506102cd610739366004612d2c565b6118cb565b34801561074a57600080fd5b506102b66107593660046130a0565b6119a9565b34801561076a57600080fd5b506103436105dc81565b34801561078057600080fd5b5061028161078f366004612d86565b601c6020526000908152604090205460ff1681565b3480156107b057600080fd5b506102b66107bf366004612f79565b611a02565b3480156107d057600080fd5b506102816107df3660046130e1565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b34801561081957600080fd5b506102b661082836600461310f565b611a16565b34801561083957600080fd5b506102b6610848366004612d86565b611abb565b60006001600160e01b0319821663780e9d6360e01b1480610872575061087282611b31565b92915050565b610880611b81565b601b805460ff1916911515919091179055565b6060600180546108a290613165565b80601f01602080910402602001604051908101604052809291908181526020018280546108ce90613165565b801561091b5780601f106108f05761010080835404028352916020019161091b565b820191906000526020600020905b8154815290600101906020018083116108fe57829003601f168201915b5050505050905090565b600061093082611bdb565b506000908152600560205260409020546001600160a01b031690565b6000610957826111ed565b9050806001600160a01b0316836001600160a01b0316036109c95760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b03821614806109e557506109e581336107df565b610a575760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c00000060648201526084016109c0565b610a618383611c3a565b505050565b610aaa6040518060a0016040528060006001600160a01b0316815260200160008152602001600081526020016000815260200160006001600160a01b031681525090565b506001600160a01b039081166000908152600e6020908152604091829020825160a08101845281548516815260018201549281019290925260028101549282019290925260038201546060820152600490910154909116608082015290565b610b133382611ca8565b610b2f5760405162461bcd60e51b81526004016109c09061319f565b610a61838383611d27565b610b42611b81565b60005b8151811015610be5576000601c6000848481518110610b6657610b666131ec565b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060006101000a81548160ff021916908315150217905550610bd2828281518110610bba57610bba6131ec565b6020026020010151600c611e9890919063ffffffff16565b5080610bdd81613218565b915050610b45565b5050565b610bf1611b81565b60005b8151811015610be5576001601c6000848481518110610c1557610c156131ec565b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060006101000a81548160ff021916908315150217905550610c81828281518110610c6957610c696131ec565b6020026020010151600c611ead90919063ffffffff16565b5080610c8c81613218565b915050610bf4565b6000610c9f836112db565b8210610d015760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016109c0565b506001600160a01b03919091166000908152600760209081526040808320938352929052205490565b610a6183838360405180602001604052806000815250611823565b60606000610d52836112db565b905060008167ffffffffffffffff811115610d6f57610d6f612de4565b604051908082528060200260200182016040528015610d98578160200160208202803683370190505b50905060005b82811015610ddf57610db08582610c94565b828281518110610dc257610dc26131ec565b602090810291909101015280610dd781613218565b915050610d9e565b509392505050565b6000610df260095490565b8210610e555760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b60648201526084016109c0565b60098281548110610e6857610e686131ec565b90600052602060002001549050919050565b610e82611b81565b6019610be5828261327f565b610e96611ec2565b601b5460ff1615610ede5760405162461bcd60e51b815260206004820152601260248201527110dbdb9d1c9858dd081a5cc81c185d5cd95960721b60448201526064016109c0565b600082118015610eef575060648211155b610f3b5760405162461bcd60e51b815260206004820152601f60248201527f45786365656473206d6178696d756d20707572636861736520616d6f756e740060448201526064016109c0565b6105dc82610f4860095490565b610f52919061333f565b1115610f995760405162461bcd60e51b815260206004820152601660248201527545786365656473206d6178696d756d20737570706c7960501b60448201526064016109c0565b336000908152601c602052604081205460ff1615610fde576001600160a01b0382166000908152600e6020526040902060020154610fd79084611f1b565b90506110fc565b6001600160a01b0382166000908152600e60205260409020600101546110049084611f1b565b6001600160a01b038381166000908152600e602052604090819020549051636eb1769f60e11b815233600482015230602482015291169063dd62ed3e90604401602060405180830381865afa158015611061573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110859190613352565b10156110d35760405162461bcd60e51b815260206004820152601860248201527f416c6c6f77616e6365206e6f742073756666696369656e74000000000000000060448201526064016109c0565b6001600160a01b0382166000908152600e60205260409020600101546110f99084611f1b565b90505b6001600160a01b0382166000908152600e60205260408120600301546111309060649061112a908590611f1b565b90611f27565b9050600061113e8383611f33565b6001600160a01b038086166000908152600e60205260409020600481015490549293506111719282169133911685611f3f565b6001600160a01b038085166000908152600e60205260409020546111989116333084611f3f565b60005b858110156111df5760006111ae60095490565b90506105dc6111bc60095490565b10156111cc576111cc3382611faa565b50806111d781613218565b91505061119b565b50505050610be56001600055565b6000818152600360205260408120546001600160a01b0316806108725760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016109c0565b6019805461125a90613165565b80601f016020809104026020016040519081016040528092919081815260200182805461128690613165565b80156112d35780601f106112a8576101008083540402835291602001916112d3565b820191906000526020600020905b8154815290600101906020018083116112b657829003601f168201915b505050505081565b60006001600160a01b0382166113455760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b60648201526084016109c0565b506001600160a01b031660009081526004602052604090205490565b611369611b81565b6113736000611fc4565b565b61137d611b81565b6040514790339082156108fc029083906000818181858888f19350505050158015610be5573d6000803e3d6000fd5b6060600280546108a290613165565b6113c3611b81565b6040516370a0823160e01b81523060048201526000906001600160a01b038416906370a0823190602401602060405180830381865afa15801561140a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061142e9190613352565b9050808211156114805760405162461bcd60e51b815260206004820152601a60248201527f496e73756666696369656e7420746f6b656e2062616c616e636500000000000060448201526064016109c0565b610a61833384612016565b610be5338383612046565b61149e611b81565b60006114a960095490565b601b5490915060ff16156114bc57600080fd5b600082116114c957600080fd5b60648211156114d757600080fd5b6105dc6114e4838361333f565b11156114ef57600080fd5b60015b82811161151e5761150c84611507838561333f565b611faa565b8061151681613218565b9150506114f2565b50505050565b61152c611ec2565b601b5460ff16156115745760405162461bcd60e51b815260206004820152601260248201527110dbdb9d1c9858dd081a5cc81c185d5cd95960721b60448201526064016109c0565b600081118015611585575060648111155b6115d15760405162461bcd60e51b815260206004820152601f60248201527f45786365656473206d6178696d756d20707572636861736520616d6f756e740060448201526064016109c0565b6105dc816115de60095490565b6115e8919061333f565b111561162f5760405162461bcd60e51b815260206004820152601660248201527545786365656473206d6178696d756d20737570706c7960501b60448201526064016109c0565b336000908152601c602052604081205460ff161561165b576016546116549083611f1b565b905061166b565b6015546116689083611f1b565b90505b600061168a606461112a60156002015485611f1b90919063ffffffff16565b905060006116988383611f33565b90506116ac600b546001600160a01b031690565b6001600160a01b0316336001600160a01b0316146117cb57823410156117145760405162461bcd60e51b815260206004820152601f60248201527f45746865722076616c75652073656e74206973206e6f7420636f72726563740060448201526064016109c0565b8234111561175457336108fc61172a3486611f33565b6040518115909202916000818181858888f19350505050158015611752573d6000803e3d6000fd5b505b6018546040516001600160a01b039091169083156108fc029084906000818181858888f1935050505015801561178e573d6000803e3d6000fd5b50600b546040516001600160a01b039091169082156108fc029083906000818181858888f193505050501580156117c9573d6000803e3d6000fd5b505b60005b848110156118125760006117e160095490565b90506105dc6117ef60095490565b10156117ff576117ff3382611faa565b508061180a81613218565b9150506117ce565b505050506118206001600055565b50565b61182d3383611ca8565b6118495760405162461bcd60e51b81526004016109c09061319f565b61151e84848484612114565b61185d611b81565b611868600f82612147565b50611874601282612147565b506001600160a01b03166000908152600e6020526040812080546001600160a01b031990811682556001820183905560028201839055600382019290925560040180549091169055565b601a805461125a90613165565b6000818152600360205260409020546060906001600160a01b031661194a5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016109c0565b600061195461215c565b9050600081511161197457604051806020016040528060008152506119a2565b8061197e8461216b565b601a6040516020016119929392919061336b565b6040516020818303038152906040525b9392505050565b6119b1611b81565b60408051608081018252858152602081018590529081018390526001600160a01b039091166060909101819052601593909355601691909155601755601880546001600160a01b0319169091179055565b611a0a611b81565b601a610be5828261327f565b611a1e611b81565b611a2a600f86866121fe565b50611a37601286856121fe565b506040805160a0810182526001600160a01b03968716808252602080830197885282840196875260608301958652938816608083019081526000918252600e90945291909120905181549087166001600160a01b03199182161782559451600182015592516002840155905160038301555160049091018054919093169116179055565b611ac3611b81565b6001600160a01b038116611b285760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016109c0565b61182081611fc4565b60006001600160e01b031982166380ac58cd60e01b1480611b6257506001600160e01b03198216635b5e139f60e01b145b8061087257506301ffc9a760e01b6001600160e01b0319831614610872565b600b546001600160a01b031633146113735760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109c0565b6000818152600360205260409020546001600160a01b03166118205760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016109c0565b600081815260056020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611c6f826111ed565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080611cb4836111ed565b9050806001600160a01b0316846001600160a01b03161480611cfb57506001600160a01b0380821660009081526006602090815260408083209388168352929052205460ff165b80611d1f5750836001600160a01b0316611d1484610925565b6001600160a01b0316145b949350505050565b826001600160a01b0316611d3a826111ed565b6001600160a01b031614611d605760405162461bcd60e51b81526004016109c09061340b565b6001600160a01b038216611dc25760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016109c0565b611dcf8383836001612214565b826001600160a01b0316611de2826111ed565b6001600160a01b031614611e085760405162461bcd60e51b81526004016109c09061340b565b600081815260056020908152604080832080546001600160a01b03199081169091556001600160a01b0387811680865260048552838620805460001901905590871680865283862080546001019055868652600390945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b60006119a2836001600160a01b038416612348565b60006119a2836001600160a01b03841661243b565b600260005403611f145760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016109c0565b6002600055565b60006119a28284613450565b60006119a28284613467565b60006119a28284613489565b6040516001600160a01b038085166024830152831660448201526064810182905261151e9085906323b872dd60e01b906084015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915261248a565b610be582826040518060200160405280600081525061255c565b600b80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6040516001600160a01b038316602482015260448101829052610a6190849063a9059cbb60e01b90606401611f73565b816001600160a01b0316836001600160a01b0316036120a75760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016109c0565b6001600160a01b03838116600081815260066020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b61211f848484611d27565b61212b8484848461258f565b61151e5760405162461bcd60e51b81526004016109c09061349c565b60006119a2836001600160a01b038416612690565b6060601980546108a290613165565b60606000612178836126ad565b600101905060008167ffffffffffffffff81111561219857612198612de4565b6040519080825280601f01601f1916602001820160405280156121c2576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a85049450846121cc57509392505050565b6000611d1f846001600160a01b03851684612785565b60018111156122835760405162461bcd60e51b815260206004820152603560248201527f455243373231456e756d657261626c653a20636f6e7365637574697665207472604482015274185b9cd9995c9cc81b9bdd081cdd5c1c1bdc9d1959605a1b60648201526084016109c0565b816001600160a01b0385166122df576122da81600980546000838152600a60205260408120829055600182018355919091527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af0155565b612302565b836001600160a01b0316856001600160a01b0316146123025761230285826127a2565b6001600160a01b03841661231e576123198161283f565b612341565b846001600160a01b0316846001600160a01b0316146123415761234184826128ee565b5050505050565b6000818152600183016020526040812054801561243157600061236c600183613489565b855490915060009061238090600190613489565b90508181146123e55760008660000182815481106123a0576123a06131ec565b90600052602060002001549050808760000184815481106123c3576123c36131ec565b6000918252602080832090910192909255918252600188019052604090208390555b85548690806123f6576123f66134ee565b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050610872565b6000915050610872565b600081815260018301602052604081205461248257508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610872565b506000610872565b60006124df826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166129329092919063ffffffff16565b805190915015610a6157808060200190518101906124fd9190613504565b610a615760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016109c0565b6125668383612941565b612573600084848461258f565b610a615760405162461bcd60e51b81526004016109c09061349c565b60006001600160a01b0384163b1561268557604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906125d3903390899088908890600401613521565b6020604051808303816000875af192505050801561260e575060408051601f3d908101601f1916820190925261260b9181019061355e565b60015b61266b573d80801561263c576040519150601f19603f3d011682016040523d82523d6000602084013e612641565b606091505b5080516000036126635760405162461bcd60e51b81526004016109c09061349c565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611d1f565b506001949350505050565b600081815260028301602052604081208190556119a28383612ada565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106126ec5772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310612718576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061273657662386f26fc10000830492506010015b6305f5e100831061274e576305f5e100830492506008015b612710831061276257612710830492506004015b60648310612774576064830492506002015b600a83106108725760010192915050565b60008281526002840160205260408120829055611d1f8484612ae6565b600060016127af846112db565b6127b99190613489565b60008381526008602052604090205490915080821461280c576001600160a01b03841660009081526007602090815260408083208584528252808320548484528184208190558352600890915290208190555b5060009182526008602090815260408084208490556001600160a01b039094168352600781528383209183525290812055565b60095460009061285190600190613489565b6000838152600a602052604081205460098054939450909284908110612879576128796131ec565b90600052602060002001549050806009838154811061289a5761289a6131ec565b6000918252602080832090910192909255828152600a909152604080822084905585825281205560098054806128d2576128d26134ee565b6001900381819060005260206000200160009055905550505050565b60006128f9836112db565b6001600160a01b039093166000908152600760209081526040808320868452825280832085905593825260089052919091209190915550565b6060611d1f8484600085612af2565b6001600160a01b0382166129975760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016109c0565b6000818152600360205260409020546001600160a01b0316156129fc5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016109c0565b612a0a600083836001612214565b6000818152600360205260409020546001600160a01b031615612a6f5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016109c0565b6001600160a01b038216600081815260046020908152604080832080546001019055848352600390915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60006119a28383612348565b60006119a2838361243b565b606082471015612b535760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b60648201526084016109c0565b600080866001600160a01b03168587604051612b6f919061357b565b60006040518083038185875af1925050503d8060008114612bac576040519150601f19603f3d011682016040523d82523d6000602084013e612bb1565b606091505b5091509150612bc287838387612bcd565b979650505050505050565b60608315612c3c578251600003612c35576001600160a01b0385163b612c355760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016109c0565b5081611d1f565b611d1f8383815115612c515781518083602001fd5b8060405162461bcd60e51b81526004016109c09190612d19565b6001600160e01b03198116811461182057600080fd5b600060208284031215612c9357600080fd5b81356119a281612c6b565b801515811461182057600080fd5b600060208284031215612cbe57600080fd5b81356119a281612c9e565b60005b83811015612ce4578181015183820152602001612ccc565b50506000910152565b60008151808452612d05816020860160208601612cc9565b601f01601f19169290920160200192915050565b6020815260006119a26020830184612ced565b600060208284031215612d3e57600080fd5b5035919050565b6001600160a01b038116811461182057600080fd5b60008060408385031215612d6d57600080fd5b8235612d7881612d45565b946020939093013593505050565b600060208284031215612d9857600080fd5b81356119a281612d45565b600080600060608486031215612db857600080fd5b8335612dc381612d45565b92506020840135612dd381612d45565b929592945050506040919091013590565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715612e2357612e23612de4565b604052919050565b60006020808385031215612e3e57600080fd5b823567ffffffffffffffff80821115612e5657600080fd5b818501915085601f830112612e6a57600080fd5b813581811115612e7c57612e7c612de4565b8060051b9150612e8d848301612dfa565b8181529183018401918481019088841115612ea757600080fd5b938501935b83851015612ed15784359250612ec183612d45565b8282529385019390850190612eac565b98975050505050505050565b6020808252825182820181905260009190848201906040850190845b81811015612f1557835183529284019291840191600101612ef9565b50909695505050505050565b600067ffffffffffffffff831115612f3b57612f3b612de4565b612f4e601f8401601f1916602001612dfa565b9050828152838383011115612f6257600080fd5b828260208301376000602084830101529392505050565b600060208284031215612f8b57600080fd5b813567ffffffffffffffff811115612fa257600080fd5b8201601f81018413612fb357600080fd5b611d1f84823560208401612f21565b60008060408385031215612fd557600080fd5b823591506020830135612fe781612d45565b809150509250929050565b6000806040838503121561300557600080fd5b823561301081612d45565b91506020830135612fe781612c9e565b6000806000806080858703121561303657600080fd5b843561304181612d45565b9350602085013561305181612d45565b925060408501359150606085013567ffffffffffffffff81111561307457600080fd5b8501601f8101871361308557600080fd5b61309487823560208401612f21565b91505092959194509250565b600080600080608085870312156130b657600080fd5b84359350602085013592506040850135915060608501356130d681612d45565b939692955090935050565b600080604083850312156130f457600080fd5b82356130ff81612d45565b91506020830135612fe781612d45565b600080600080600060a0868803121561312757600080fd5b853561313281612d45565b9450602086013593506040860135925060608601359150608086013561315781612d45565b809150509295509295909350565b600181811c9082168061317957607f821691505b60208210810361319957634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60006001820161322a5761322a613202565b5060010190565b601f821115610a6157600081815260208120601f850160051c810160208610156132585750805b601f850160051c820191505b8181101561327757828155600101613264565b505050505050565b815167ffffffffffffffff81111561329957613299612de4565b6132ad816132a78454613165565b84613231565b602080601f8311600181146132e257600084156132ca5750858301515b600019600386901b1c1916600185901b178555613277565b600085815260208120601f198616915b82811015613311578886015182559484019460019091019084016132f2565b508582101561332f5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b8082018082111561087257610872613202565b60006020828403121561336457600080fd5b5051919050565b60008451602061337e8285838a01612cc9565b8551918401916133918184848a01612cc9565b85549201916000906133a281613165565b600182811680156133ba57600181146133cf576133fb565b60ff19841687528215158302870194506133fb565b896000528560002060005b848110156133f3578154898201529083019087016133da565b505082870194505b50929a9950505050505050505050565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b808202811582820484141761087257610872613202565b60008261348457634e487b7160e01b600052601260045260246000fd5b500490565b8181038181111561087257610872613202565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b634e487b7160e01b600052603160045260246000fd5b60006020828403121561351657600080fd5b81516119a281612c9e565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061355490830184612ced565b9695505050505050565b60006020828403121561357057600080fd5b81516119a281612c6b565b6000825161358d818460208701612cc9565b919091019291505056fea2646970667358221220e40bb6153443f6dc29e6ac4dbf9ad6faab439ff1e4e5b4b26a67744b66ea014964736f6c63430008120033

Deployed Bytecode

0x6080604052600436106102555760003560e01c806370a0823111610139578063b88d4fde116100b6578063d5abeb011161007a578063d5abeb011461075e578063d936547e14610774578063da3ef23f146107a4578063e985e9c5146107c4578063ea236e1e1461080d578063f2fde38b1461082d57600080fd5b8063b88d4fde146106c9578063c5d3a107146106e9578063c668286214610709578063c87b56dd1461071e578063d55002211461073e57600080fd5b80639e281a98116100fd5780639e281a9814610601578063a22cb46514610621578063add5a4fa14610641578063b57a38d914610661578063b8189faf1461067457600080fd5b806370a0823114610584578063715018a6146105a4578063853828b6146105b95780638da5cb5b146105ce57806395d89b41146105ec57600080fd5b80632bf04304116101d25780634f6ccce7116101965780634f6ccce7146104d557806355f804b3146104f55780635c975abb146105155780635ffe43711461052f5780636352211e1461054f5780636c0360eb1461056f57600080fd5b80632bf043041461040f5780632f745c591461042f5780633af32abf1461044f57806342842e0e14610488578063438b6300146104a857600080fd5b806318160ddd1161021957806318160ddd146103325780631f69565f14610351578063239c70ae146103ba57806323b872dd146103cf57806324953eaa146103ef57600080fd5b806301ffc9a71461026157806302329a291461029657806306fdde03146102b8578063081812fc146102da578063095ea7b31461031257600080fd5b3661025c57005b600080fd5b34801561026d57600080fd5b5061028161027c366004612c81565b61084d565b60405190151581526020015b60405180910390f35b3480156102a257600080fd5b506102b66102b1366004612cac565b610878565b005b3480156102c457600080fd5b506102cd610893565b60405161028d9190612d19565b3480156102e657600080fd5b506102fa6102f5366004612d2c565b610925565b6040516001600160a01b03909116815260200161028d565b34801561031e57600080fd5b506102b661032d366004612d5a565b61094c565b34801561033e57600080fd5b506009545b60405190815260200161028d565b34801561035d57600080fd5b5061037161036c366004612d86565b610a66565b60405161028d919081516001600160a01b039081168252602080840151908301526040808401519083015260608084015190830152608092830151169181019190915260a00190565b3480156103c657600080fd5b50610343606481565b3480156103db57600080fd5b506102b66103ea366004612da3565b610b09565b3480156103fb57600080fd5b506102b661040a366004612e2b565b610b3a565b34801561041b57600080fd5b506102b661042a366004612e2b565b610be9565b34801561043b57600080fd5b5061034361044a366004612d5a565b610c94565b34801561045b57600080fd5b5061028161046a366004612d86565b6001600160a01b03166000908152601c602052604090205460ff1690565b34801561049457600080fd5b506102b66104a3366004612da3565b610d2a565b3480156104b457600080fd5b506104c86104c3366004612d86565b610d45565b60405161028d9190612edd565b3480156104e157600080fd5b506103436104f0366004612d2c565b610de7565b34801561050157600080fd5b506102b6610510366004612f79565b610e7a565b34801561052157600080fd5b50601b546102819060ff1681565b34801561053b57600080fd5b506102b661054a366004612fc2565b610e8e565b34801561055b57600080fd5b506102fa61056a366004612d2c565b6111ed565b34801561057b57600080fd5b506102cd61124d565b34801561059057600080fd5b5061034361059f366004612d86565b6112db565b3480156105b057600080fd5b506102b6611361565b3480156105c557600080fd5b506102b6611375565b3480156105da57600080fd5b50600b546001600160a01b03166102fa565b3480156105f857600080fd5b506102cd6113ac565b34801561060d57600080fd5b506102b661061c366004612d5a565b6113bb565b34801561062d57600080fd5b506102b661063c366004612ff2565b61148b565b34801561064d57600080fd5b506102b661065c366004612d5a565b611496565b6102b661066f366004612d2c565b611524565b34801561068057600080fd5b506015546016546017546018546106a0939291906001600160a01b031684565b604080519485526020850193909352918301526001600160a01b0316606082015260800161028d565b3480156106d557600080fd5b506102b66106e4366004613020565b611823565b3480156106f557600080fd5b506102b6610704366004612d86565b611855565b34801561071557600080fd5b506102cd6118be565b34801561072a57600080fd5b506102cd610739366004612d2c565b6118cb565b34801561074a57600080fd5b506102b66107593660046130a0565b6119a9565b34801561076a57600080fd5b506103436105dc81565b34801561078057600080fd5b5061028161078f366004612d86565b601c6020526000908152604090205460ff1681565b3480156107b057600080fd5b506102b66107bf366004612f79565b611a02565b3480156107d057600080fd5b506102816107df3660046130e1565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b34801561081957600080fd5b506102b661082836600461310f565b611a16565b34801561083957600080fd5b506102b6610848366004612d86565b611abb565b60006001600160e01b0319821663780e9d6360e01b1480610872575061087282611b31565b92915050565b610880611b81565b601b805460ff1916911515919091179055565b6060600180546108a290613165565b80601f01602080910402602001604051908101604052809291908181526020018280546108ce90613165565b801561091b5780601f106108f05761010080835404028352916020019161091b565b820191906000526020600020905b8154815290600101906020018083116108fe57829003601f168201915b5050505050905090565b600061093082611bdb565b506000908152600560205260409020546001600160a01b031690565b6000610957826111ed565b9050806001600160a01b0316836001600160a01b0316036109c95760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b03821614806109e557506109e581336107df565b610a575760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c00000060648201526084016109c0565b610a618383611c3a565b505050565b610aaa6040518060a0016040528060006001600160a01b0316815260200160008152602001600081526020016000815260200160006001600160a01b031681525090565b506001600160a01b039081166000908152600e6020908152604091829020825160a08101845281548516815260018201549281019290925260028101549282019290925260038201546060820152600490910154909116608082015290565b610b133382611ca8565b610b2f5760405162461bcd60e51b81526004016109c09061319f565b610a61838383611d27565b610b42611b81565b60005b8151811015610be5576000601c6000848481518110610b6657610b666131ec565b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060006101000a81548160ff021916908315150217905550610bd2828281518110610bba57610bba6131ec565b6020026020010151600c611e9890919063ffffffff16565b5080610bdd81613218565b915050610b45565b5050565b610bf1611b81565b60005b8151811015610be5576001601c6000848481518110610c1557610c156131ec565b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060006101000a81548160ff021916908315150217905550610c81828281518110610c6957610c696131ec565b6020026020010151600c611ead90919063ffffffff16565b5080610c8c81613218565b915050610bf4565b6000610c9f836112db565b8210610d015760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016109c0565b506001600160a01b03919091166000908152600760209081526040808320938352929052205490565b610a6183838360405180602001604052806000815250611823565b60606000610d52836112db565b905060008167ffffffffffffffff811115610d6f57610d6f612de4565b604051908082528060200260200182016040528015610d98578160200160208202803683370190505b50905060005b82811015610ddf57610db08582610c94565b828281518110610dc257610dc26131ec565b602090810291909101015280610dd781613218565b915050610d9e565b509392505050565b6000610df260095490565b8210610e555760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b60648201526084016109c0565b60098281548110610e6857610e686131ec565b90600052602060002001549050919050565b610e82611b81565b6019610be5828261327f565b610e96611ec2565b601b5460ff1615610ede5760405162461bcd60e51b815260206004820152601260248201527110dbdb9d1c9858dd081a5cc81c185d5cd95960721b60448201526064016109c0565b600082118015610eef575060648211155b610f3b5760405162461bcd60e51b815260206004820152601f60248201527f45786365656473206d6178696d756d20707572636861736520616d6f756e740060448201526064016109c0565b6105dc82610f4860095490565b610f52919061333f565b1115610f995760405162461bcd60e51b815260206004820152601660248201527545786365656473206d6178696d756d20737570706c7960501b60448201526064016109c0565b336000908152601c602052604081205460ff1615610fde576001600160a01b0382166000908152600e6020526040902060020154610fd79084611f1b565b90506110fc565b6001600160a01b0382166000908152600e60205260409020600101546110049084611f1b565b6001600160a01b038381166000908152600e602052604090819020549051636eb1769f60e11b815233600482015230602482015291169063dd62ed3e90604401602060405180830381865afa158015611061573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110859190613352565b10156110d35760405162461bcd60e51b815260206004820152601860248201527f416c6c6f77616e6365206e6f742073756666696369656e74000000000000000060448201526064016109c0565b6001600160a01b0382166000908152600e60205260409020600101546110f99084611f1b565b90505b6001600160a01b0382166000908152600e60205260408120600301546111309060649061112a908590611f1b565b90611f27565b9050600061113e8383611f33565b6001600160a01b038086166000908152600e60205260409020600481015490549293506111719282169133911685611f3f565b6001600160a01b038085166000908152600e60205260409020546111989116333084611f3f565b60005b858110156111df5760006111ae60095490565b90506105dc6111bc60095490565b10156111cc576111cc3382611faa565b50806111d781613218565b91505061119b565b50505050610be56001600055565b6000818152600360205260408120546001600160a01b0316806108725760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016109c0565b6019805461125a90613165565b80601f016020809104026020016040519081016040528092919081815260200182805461128690613165565b80156112d35780601f106112a8576101008083540402835291602001916112d3565b820191906000526020600020905b8154815290600101906020018083116112b657829003601f168201915b505050505081565b60006001600160a01b0382166113455760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b60648201526084016109c0565b506001600160a01b031660009081526004602052604090205490565b611369611b81565b6113736000611fc4565b565b61137d611b81565b6040514790339082156108fc029083906000818181858888f19350505050158015610be5573d6000803e3d6000fd5b6060600280546108a290613165565b6113c3611b81565b6040516370a0823160e01b81523060048201526000906001600160a01b038416906370a0823190602401602060405180830381865afa15801561140a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061142e9190613352565b9050808211156114805760405162461bcd60e51b815260206004820152601a60248201527f496e73756666696369656e7420746f6b656e2062616c616e636500000000000060448201526064016109c0565b610a61833384612016565b610be5338383612046565b61149e611b81565b60006114a960095490565b601b5490915060ff16156114bc57600080fd5b600082116114c957600080fd5b60648211156114d757600080fd5b6105dc6114e4838361333f565b11156114ef57600080fd5b60015b82811161151e5761150c84611507838561333f565b611faa565b8061151681613218565b9150506114f2565b50505050565b61152c611ec2565b601b5460ff16156115745760405162461bcd60e51b815260206004820152601260248201527110dbdb9d1c9858dd081a5cc81c185d5cd95960721b60448201526064016109c0565b600081118015611585575060648111155b6115d15760405162461bcd60e51b815260206004820152601f60248201527f45786365656473206d6178696d756d20707572636861736520616d6f756e740060448201526064016109c0565b6105dc816115de60095490565b6115e8919061333f565b111561162f5760405162461bcd60e51b815260206004820152601660248201527545786365656473206d6178696d756d20737570706c7960501b60448201526064016109c0565b336000908152601c602052604081205460ff161561165b576016546116549083611f1b565b905061166b565b6015546116689083611f1b565b90505b600061168a606461112a60156002015485611f1b90919063ffffffff16565b905060006116988383611f33565b90506116ac600b546001600160a01b031690565b6001600160a01b0316336001600160a01b0316146117cb57823410156117145760405162461bcd60e51b815260206004820152601f60248201527f45746865722076616c75652073656e74206973206e6f7420636f72726563740060448201526064016109c0565b8234111561175457336108fc61172a3486611f33565b6040518115909202916000818181858888f19350505050158015611752573d6000803e3d6000fd5b505b6018546040516001600160a01b039091169083156108fc029084906000818181858888f1935050505015801561178e573d6000803e3d6000fd5b50600b546040516001600160a01b039091169082156108fc029083906000818181858888f193505050501580156117c9573d6000803e3d6000fd5b505b60005b848110156118125760006117e160095490565b90506105dc6117ef60095490565b10156117ff576117ff3382611faa565b508061180a81613218565b9150506117ce565b505050506118206001600055565b50565b61182d3383611ca8565b6118495760405162461bcd60e51b81526004016109c09061319f565b61151e84848484612114565b61185d611b81565b611868600f82612147565b50611874601282612147565b506001600160a01b03166000908152600e6020526040812080546001600160a01b031990811682556001820183905560028201839055600382019290925560040180549091169055565b601a805461125a90613165565b6000818152600360205260409020546060906001600160a01b031661194a5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016109c0565b600061195461215c565b9050600081511161197457604051806020016040528060008152506119a2565b8061197e8461216b565b601a6040516020016119929392919061336b565b6040516020818303038152906040525b9392505050565b6119b1611b81565b60408051608081018252858152602081018590529081018390526001600160a01b039091166060909101819052601593909355601691909155601755601880546001600160a01b0319169091179055565b611a0a611b81565b601a610be5828261327f565b611a1e611b81565b611a2a600f86866121fe565b50611a37601286856121fe565b506040805160a0810182526001600160a01b03968716808252602080830197885282840196875260608301958652938816608083019081526000918252600e90945291909120905181549087166001600160a01b03199182161782559451600182015592516002840155905160038301555160049091018054919093169116179055565b611ac3611b81565b6001600160a01b038116611b285760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016109c0565b61182081611fc4565b60006001600160e01b031982166380ac58cd60e01b1480611b6257506001600160e01b03198216635b5e139f60e01b145b8061087257506301ffc9a760e01b6001600160e01b0319831614610872565b600b546001600160a01b031633146113735760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109c0565b6000818152600360205260409020546001600160a01b03166118205760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016109c0565b600081815260056020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611c6f826111ed565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080611cb4836111ed565b9050806001600160a01b0316846001600160a01b03161480611cfb57506001600160a01b0380821660009081526006602090815260408083209388168352929052205460ff165b80611d1f5750836001600160a01b0316611d1484610925565b6001600160a01b0316145b949350505050565b826001600160a01b0316611d3a826111ed565b6001600160a01b031614611d605760405162461bcd60e51b81526004016109c09061340b565b6001600160a01b038216611dc25760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016109c0565b611dcf8383836001612214565b826001600160a01b0316611de2826111ed565b6001600160a01b031614611e085760405162461bcd60e51b81526004016109c09061340b565b600081815260056020908152604080832080546001600160a01b03199081169091556001600160a01b0387811680865260048552838620805460001901905590871680865283862080546001019055868652600390945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b60006119a2836001600160a01b038416612348565b60006119a2836001600160a01b03841661243b565b600260005403611f145760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016109c0565b6002600055565b60006119a28284613450565b60006119a28284613467565b60006119a28284613489565b6040516001600160a01b038085166024830152831660448201526064810182905261151e9085906323b872dd60e01b906084015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915261248a565b610be582826040518060200160405280600081525061255c565b600b80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6040516001600160a01b038316602482015260448101829052610a6190849063a9059cbb60e01b90606401611f73565b816001600160a01b0316836001600160a01b0316036120a75760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016109c0565b6001600160a01b03838116600081815260066020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b61211f848484611d27565b61212b8484848461258f565b61151e5760405162461bcd60e51b81526004016109c09061349c565b60006119a2836001600160a01b038416612690565b6060601980546108a290613165565b60606000612178836126ad565b600101905060008167ffffffffffffffff81111561219857612198612de4565b6040519080825280601f01601f1916602001820160405280156121c2576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a85049450846121cc57509392505050565b6000611d1f846001600160a01b03851684612785565b60018111156122835760405162461bcd60e51b815260206004820152603560248201527f455243373231456e756d657261626c653a20636f6e7365637574697665207472604482015274185b9cd9995c9cc81b9bdd081cdd5c1c1bdc9d1959605a1b60648201526084016109c0565b816001600160a01b0385166122df576122da81600980546000838152600a60205260408120829055600182018355919091527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af0155565b612302565b836001600160a01b0316856001600160a01b0316146123025761230285826127a2565b6001600160a01b03841661231e576123198161283f565b612341565b846001600160a01b0316846001600160a01b0316146123415761234184826128ee565b5050505050565b6000818152600183016020526040812054801561243157600061236c600183613489565b855490915060009061238090600190613489565b90508181146123e55760008660000182815481106123a0576123a06131ec565b90600052602060002001549050808760000184815481106123c3576123c36131ec565b6000918252602080832090910192909255918252600188019052604090208390555b85548690806123f6576123f66134ee565b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050610872565b6000915050610872565b600081815260018301602052604081205461248257508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610872565b506000610872565b60006124df826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166129329092919063ffffffff16565b805190915015610a6157808060200190518101906124fd9190613504565b610a615760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016109c0565b6125668383612941565b612573600084848461258f565b610a615760405162461bcd60e51b81526004016109c09061349c565b60006001600160a01b0384163b1561268557604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906125d3903390899088908890600401613521565b6020604051808303816000875af192505050801561260e575060408051601f3d908101601f1916820190925261260b9181019061355e565b60015b61266b573d80801561263c576040519150601f19603f3d011682016040523d82523d6000602084013e612641565b606091505b5080516000036126635760405162461bcd60e51b81526004016109c09061349c565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611d1f565b506001949350505050565b600081815260028301602052604081208190556119a28383612ada565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106126ec5772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310612718576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061273657662386f26fc10000830492506010015b6305f5e100831061274e576305f5e100830492506008015b612710831061276257612710830492506004015b60648310612774576064830492506002015b600a83106108725760010192915050565b60008281526002840160205260408120829055611d1f8484612ae6565b600060016127af846112db565b6127b99190613489565b60008381526008602052604090205490915080821461280c576001600160a01b03841660009081526007602090815260408083208584528252808320548484528184208190558352600890915290208190555b5060009182526008602090815260408084208490556001600160a01b039094168352600781528383209183525290812055565b60095460009061285190600190613489565b6000838152600a602052604081205460098054939450909284908110612879576128796131ec565b90600052602060002001549050806009838154811061289a5761289a6131ec565b6000918252602080832090910192909255828152600a909152604080822084905585825281205560098054806128d2576128d26134ee565b6001900381819060005260206000200160009055905550505050565b60006128f9836112db565b6001600160a01b039093166000908152600760209081526040808320868452825280832085905593825260089052919091209190915550565b6060611d1f8484600085612af2565b6001600160a01b0382166129975760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016109c0565b6000818152600360205260409020546001600160a01b0316156129fc5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016109c0565b612a0a600083836001612214565b6000818152600360205260409020546001600160a01b031615612a6f5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016109c0565b6001600160a01b038216600081815260046020908152604080832080546001019055848352600390915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60006119a28383612348565b60006119a2838361243b565b606082471015612b535760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b60648201526084016109c0565b600080866001600160a01b03168587604051612b6f919061357b565b60006040518083038185875af1925050503d8060008114612bac576040519150601f19603f3d011682016040523d82523d6000602084013e612bb1565b606091505b5091509150612bc287838387612bcd565b979650505050505050565b60608315612c3c578251600003612c35576001600160a01b0385163b612c355760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016109c0565b5081611d1f565b611d1f8383815115612c515781518083602001fd5b8060405162461bcd60e51b81526004016109c09190612d19565b6001600160e01b03198116811461182057600080fd5b600060208284031215612c9357600080fd5b81356119a281612c6b565b801515811461182057600080fd5b600060208284031215612cbe57600080fd5b81356119a281612c9e565b60005b83811015612ce4578181015183820152602001612ccc565b50506000910152565b60008151808452612d05816020860160208601612cc9565b601f01601f19169290920160200192915050565b6020815260006119a26020830184612ced565b600060208284031215612d3e57600080fd5b5035919050565b6001600160a01b038116811461182057600080fd5b60008060408385031215612d6d57600080fd5b8235612d7881612d45565b946020939093013593505050565b600060208284031215612d9857600080fd5b81356119a281612d45565b600080600060608486031215612db857600080fd5b8335612dc381612d45565b92506020840135612dd381612d45565b929592945050506040919091013590565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715612e2357612e23612de4565b604052919050565b60006020808385031215612e3e57600080fd5b823567ffffffffffffffff80821115612e5657600080fd5b818501915085601f830112612e6a57600080fd5b813581811115612e7c57612e7c612de4565b8060051b9150612e8d848301612dfa565b8181529183018401918481019088841115612ea757600080fd5b938501935b83851015612ed15784359250612ec183612d45565b8282529385019390850190612eac565b98975050505050505050565b6020808252825182820181905260009190848201906040850190845b81811015612f1557835183529284019291840191600101612ef9565b50909695505050505050565b600067ffffffffffffffff831115612f3b57612f3b612de4565b612f4e601f8401601f1916602001612dfa565b9050828152838383011115612f6257600080fd5b828260208301376000602084830101529392505050565b600060208284031215612f8b57600080fd5b813567ffffffffffffffff811115612fa257600080fd5b8201601f81018413612fb357600080fd5b611d1f84823560208401612f21565b60008060408385031215612fd557600080fd5b823591506020830135612fe781612d45565b809150509250929050565b6000806040838503121561300557600080fd5b823561301081612d45565b91506020830135612fe781612c9e565b6000806000806080858703121561303657600080fd5b843561304181612d45565b9350602085013561305181612d45565b925060408501359150606085013567ffffffffffffffff81111561307457600080fd5b8501601f8101871361308557600080fd5b61309487823560208401612f21565b91505092959194509250565b600080600080608085870312156130b657600080fd5b84359350602085013592506040850135915060608501356130d681612d45565b939692955090935050565b600080604083850312156130f457600080fd5b82356130ff81612d45565b91506020830135612fe781612d45565b600080600080600060a0868803121561312757600080fd5b853561313281612d45565b9450602086013593506040860135925060608601359150608086013561315781612d45565b809150509295509295909350565b600181811c9082168061317957607f821691505b60208210810361319957634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60006001820161322a5761322a613202565b5060010190565b601f821115610a6157600081815260208120601f850160051c810160208610156132585750805b601f850160051c820191505b8181101561327757828155600101613264565b505050505050565b815167ffffffffffffffff81111561329957613299612de4565b6132ad816132a78454613165565b84613231565b602080601f8311600181146132e257600084156132ca5750858301515b600019600386901b1c1916600185901b178555613277565b600085815260208120601f198616915b82811015613311578886015182559484019460019091019084016132f2565b508582101561332f5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b8082018082111561087257610872613202565b60006020828403121561336457600080fd5b5051919050565b60008451602061337e8285838a01612cc9565b8551918401916133918184848a01612cc9565b85549201916000906133a281613165565b600182811680156133ba57600181146133cf576133fb565b60ff19841687528215158302870194506133fb565b896000528560002060005b848110156133f3578154898201529083019087016133da565b505082870194505b50929a9950505050505050505050565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b808202811582820484141761087257610872613202565b60008261348457634e487b7160e01b600052601260045260246000fd5b500490565b8181038181111561087257610872613202565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b634e487b7160e01b600052603160045260246000fd5b60006020828403121561351657600080fd5b81516119a281612c9e565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061355490830184612ced565b9695505050505050565b60006020828403121561357057600080fd5b81516119a281612c6b565b6000825161358d818460208701612cc9565b919091019291505056fea2646970667358221220e40bb6153443f6dc29e6ac4dbf9ad6faab439ff1e4e5b4b26a67744b66ea014964736f6c63430008120033

Deployed Bytecode Sourcemap

117389:8256:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;106849:224;;;;;;;;;;-1:-1:-1;106849:224:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;106849:224:0;;;;;;;;121345:75;;;;;;;;;;-1:-1:-1;121345:75:0;;;;;:::i;:::-;;:::i;:::-;;90556:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;92068:171::-;;;;;;;;;;-1:-1:-1;92068:171:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;2066:32:1;;;2048:51;;2036:2;2021:18;92068:171:0;1902:203:1;91586:416:0;;;;;;;;;;-1:-1:-1;91586:416:0;;;;;:::i;:::-;;:::i;107489:113::-;;;;;;;;;;-1:-1:-1;107577:10:0;:17;107489:113;;;2712:25:1;;;2700:2;2685:18;107489:113:0;2566:177:1;120536:134:0;;;;;;;;;;-1:-1:-1;120536:134:0;;;;;:::i;:::-;;:::i;:::-;;;;;;3261:13:1;;-1:-1:-1;;;;;3257:22:1;;;3239:41;;3336:4;3324:17;;;3318:24;3296:20;;;3289:54;3399:4;3387:17;;;3381:24;3359:20;;;3352:54;3462:4;3450:17;;;3444:24;3422:20;;;3415:54;3529:4;3517:17;;;3511:24;3507:33;3485:20;;;3478:63;;;;3188:3;3173:19;;3000:547;118507:43:0;;;;;;;;;;;;118547:3;118507:43;;92768:335;;;;;;;;;;-1:-1:-1;92768:335:0;;;;;:::i;:::-;;:::i;121681:259::-;;;;;;;;;;-1:-1:-1;121681:259:0;;;;;:::i;:::-;;:::i;121428:245::-;;;;;;;;;;-1:-1:-1;121428:245:0;;;;;:::i;:::-;;:::i;107157:256::-;;;;;;;;;;-1:-1:-1;107157:256:0;;;;;:::i;:::-;;:::i;121948:115::-;;;;;;;;;;-1:-1:-1;121948:115:0;;;;;:::i;:::-;-1:-1:-1;;;;;122034:21:0;122010:4;122034:21;;;:11;:21;;;;;;;;;121948:115;93174:185;;;;;;;;;;-1:-1:-1;93174:185:0;;;;;:::i;:::-;;:::i;118829:390::-;;;;;;;;;;-1:-1:-1;118829:390:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;107679:233::-;;;;;;;;;;-1:-1:-1;107679:233:0;;;;;:::i;:::-;;:::i;121093:106::-;;;;;;;;;;-1:-1:-1;121093:106:0;;;;;:::i;:::-;;:::i;118557:26::-;;;;;;;;;;-1:-1:-1;118557:26:0;;;;;;;;122071:1377;;;;;;;;;;-1:-1:-1;122071:1377:0;;;;;:::i;:::-;;:::i;90266:223::-;;;;;;;;;;-1:-1:-1;90266:223:0;;;;;:::i;:::-;;:::i;118388:21::-;;;;;;;;;;;;;:::i;89997:207::-;;;;;;;;;;-1:-1:-1;89997:207:0;;;;;:::i;:::-;;:::i;114667:103::-;;;;;;;;;;;;;:::i;125202:148::-;;;;;;;;;;;;;:::i;114019:87::-;;;;;;;;;;-1:-1:-1;114092:6:0;;-1:-1:-1;;;;;114092:6:0;114019:87;;90725:104;;;;;;;;;;;;;:::i;125358:282::-;;;;;;;;;;-1:-1:-1;125358:282:0;;;;;:::i;:::-;;:::i;92311:155::-;;;;;;;;;;-1:-1:-1;92311:155:0;;;;;:::i;:::-;;:::i;124759:435::-;;;;;;;;;;-1:-1:-1;124759:435:0;;;;;:::i;:::-;;:::i;123456:1295::-;;;;;;:::i;:::-;;:::i;118325:22::-;;;;;;;;;;-1:-1:-1;118325:22:0;;;;;;;;;;;;;-1:-1:-1;;;;;118325:22:0;;;;;;;8245:25:1;;;8301:2;8286:18;;8279:34;;;;8329:18;;;8322:34;-1:-1:-1;;;;;8392:32:1;8387:2;8372:18;;8365:60;8232:3;8217:19;118325:22:0;7998:433:1;93430:322:0;;;;;;;;;;-1:-1:-1;93430:322:0;;;;;:::i;:::-;;:::i;120311:217::-;;;;;;;;;;-1:-1:-1;120311:217:0;;;;;:::i;:::-;;:::i;118416:37::-;;;;;;;;;;;;;:::i;119227:418::-;;;;;;;;;;-1:-1:-1;119227:418:0;;;;;:::i;:::-;;:::i;120678:407::-;;;;;;;;;;-1:-1:-1;120678:407:0;;;;;:::i;:::-;;:::i;118460:40::-;;;;;;;;;;;;118496:4;118460:40;;118590:43;;;;;;;;;;-1:-1:-1;118590:43:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;121207:130;;;;;;;;;;-1:-1:-1;121207:130:0;;;;;:::i;:::-;;:::i;92537:164::-;;;;;;;;;;-1:-1:-1;92537:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;92658:25:0;;;92634:4;92658:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;92537:164;119660:639;;;;;;;;;;-1:-1:-1;119660:639:0;;;;;:::i;:::-;;:::i;114925:201::-;;;;;;;;;;-1:-1:-1;114925:201:0;;;;;:::i;:::-;;:::i;106849:224::-;106951:4;-1:-1:-1;;;;;;106975:50:0;;-1:-1:-1;;;106975:50:0;;:90;;;107029:36;107053:11;107029:23;:36::i;:::-;106968:97;106849:224;-1:-1:-1;;106849:224:0:o;121345:75::-;113905:13;:11;:13::i;:::-;121400:6:::1;:12:::0;;-1:-1:-1;;121400:12:0::1;::::0;::::1;;::::0;;;::::1;::::0;;121345:75::o;90556:100::-;90610:13;90643:5;90636:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;90556:100;:::o;92068:171::-;92144:7;92164:23;92179:7;92164:14;:23::i;:::-;-1:-1:-1;92207:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;92207:24:0;;92068:171::o;91586:416::-;91667:13;91683:23;91698:7;91683:14;:23::i;:::-;91667:39;;91731:5;-1:-1:-1;;;;;91725:11:0;:2;-1:-1:-1;;;;;91725:11:0;;91717:57;;;;-1:-1:-1;;;91717:57:0;;11562:2:1;91717:57:0;;;11544:21:1;11601:2;11581:18;;;11574:30;11640:34;11620:18;;;11613:62;-1:-1:-1;;;11691:18:1;;;11684:31;11732:19;;91717:57:0;;;;;;;;;88087:10;-1:-1:-1;;;;;91809:21:0;;;;:62;;-1:-1:-1;91834:37:0;91851:5;88087:10;92537:164;:::i;91834:37::-;91787:173;;;;-1:-1:-1;;;91787:173:0;;11964:2:1;91787:173:0;;;11946:21:1;12003:2;11983:18;;;11976:30;12042:34;12022:18;;;12015:62;12113:31;12093:18;;;12086:59;12162:19;;91787:173:0;11762:425:1;91787:173:0;91973:21;91982:2;91986:7;91973:8;:21::i;:::-;91656:346;91586:416;;:::o;120536:134::-;120602:16;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;120602:16:0;-1:-1:-1;;;;;;120638:24:0;;;;;;;:9;:24;;;;;;;;;120631:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;120536:134::o;92768:335::-;92963:41;88087:10;92996:7;92963:18;:41::i;:::-;92955:99;;;;-1:-1:-1;;;92955:99:0;;;;;;;:::i;:::-;93067:28;93077:4;93083:2;93087:7;93067:9;:28::i;121681:259::-;113905:13;:11;:13::i;:::-;121783:9:::1;121778:155;121802:10;:17;121798:1;:21;121778:155;;;121870:5;121841:11;:26;121853:10;121864:1;121853:13;;;;;;;;:::i;:::-;;;;;;;-1:-1:-1::0;;;;;121841:26:0::1;-1:-1:-1::0;;;;;121841:26:0::1;;;;;;;;;;;;;:34;;;;;;;;;;;;;;;;;;121890:31;121907:10;121918:1;121907:13;;;;;;;;:::i;:::-;;;;;;;121890:9;:16;;:31;;;;:::i;:::-;-1:-1:-1::0;121821:3:0;::::1;::::0;::::1;:::i;:::-;;;;121778:155;;;;121681:259:::0;:::o;121428:245::-;113905:13;:11;:13::i;:::-;121520:9:::1;121515:151;121539:10;:17;121535:1;:21;121515:151;;;121607:4;121578:11;:26;121590:10;121601:1;121590:13;;;;;;;;:::i;:::-;;;;;;;-1:-1:-1::0;;;;;121578:26:0::1;-1:-1:-1::0;;;;;121578:26:0::1;;;;;;;;;;;;;:33;;;;;;;;;;;;;;;;;;121626:28;121640:10;121651:1;121640:13;;;;;;;;:::i;:::-;;;;;;;121626:9;:13;;:28;;;;:::i;:::-;-1:-1:-1::0;121558:3:0;::::1;::::0;::::1;:::i;:::-;;;;121515:151;;107157:256:::0;107254:7;107290:23;107307:5;107290:16;:23::i;:::-;107282:5;:31;107274:87;;;;-1:-1:-1;;;107274:87:0;;13212:2:1;107274:87:0;;;13194:21:1;13251:2;13231:18;;;13224:30;13290:34;13270:18;;;13263:62;-1:-1:-1;;;13341:18:1;;;13334:41;13392:19;;107274:87:0;13010:407:1;107274:87:0;-1:-1:-1;;;;;;107379:19:0;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;107157:256::o;93174:185::-;93312:39;93329:4;93335:2;93339:7;93312:39;;;;;;;;;;;;:16;:39::i;118829:390::-;118916:16;118950:23;118976:17;118986:6;118976:9;:17::i;:::-;118950:43;;119004:25;119046:15;119032:30;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;119032:30:0;;119004:58;;119078:9;119073:113;119093:15;119089:1;:19;119073:113;;;119144:30;119164:6;119172:1;119144:19;:30::i;:::-;119130:8;119139:1;119130:11;;;;;;;;:::i;:::-;;;;;;;;;;:44;119110:3;;;;:::i;:::-;;;;119073:113;;;-1:-1:-1;119203:8:0;118829:390;-1:-1:-1;;;118829:390:0:o;107679:233::-;107754:7;107790:30;107577:10;:17;;107489:113;107790:30;107782:5;:38;107774:95;;;;-1:-1:-1;;;107774:95:0;;13624:2:1;107774:95:0;;;13606:21:1;13663:2;13643:18;;;13636:30;13702:34;13682:18;;;13675:62;-1:-1:-1;;;13753:18:1;;;13746:42;13805:19;;107774:95:0;13422:408:1;107774:95:0;107887:10;107898:5;107887:17;;;;;;;;:::i;:::-;;;;;;;;;107880:24;;107679:233;;;:::o;121093:106::-;113905:13;:11;:13::i;:::-;121170:7:::1;:21;121180:11:::0;121170:7;:21:::1;:::i;122071:1377::-:0;42355:21;:19;:21::i;:::-;122179:6:::1;::::0;::::1;;122178:7;122170:38;;;::::0;-1:-1:-1;;;122170:38:0;;16241:2:1;122170:38:0::1;::::0;::::1;16223:21:1::0;16280:2;16260:18;;;16253:30;-1:-1:-1;;;16299:18:1;;;16292:48;16357:18;;122170:38:0::1;16039:342:1::0;122170:38:0::1;122245:1;122227:15;:19;:55;;;;;118547:3;122250:15;:32;;122227:55;122219:99;;;::::0;-1:-1:-1;;;122219:99:0;;16588:2:1;122219:99:0::1;::::0;::::1;16570:21:1::0;16627:2;16607:18;;;16600:30;16666:33;16646:18;;;16639:61;16717:18;;122219:99:0::1;16386:355:1::0;122219:99:0::1;118496:4;122353:15;122337:13;107577:10:::0;:17;;107489:113;122337:13:::1;:31;;;;:::i;:::-;:44;;122329:79;;;::::0;-1:-1:-1;;;122329:79:0;;17078:2:1;122329:79:0::1;::::0;::::1;17060:21:1::0;17117:2;17097:18;;;17090:30;-1:-1:-1;;;17136:18:1;;;17129:52;17198:18;;122329:79:0::1;16876:346:1::0;122329:79:0::1;122462:10;122421:12;122034:21:::0;;;:11;:21;;;;;;;;122444:394:::1;;;-1:-1:-1::0;;;;;122497:17:0;::::1;;::::0;;;:9:::1;:17;::::0;;;;:36:::1;;::::0;:57:::1;::::0;122538:15;122497:40:::1;:57::i;:::-;122490:64;;122444:394;;;-1:-1:-1::0;;;;;122667:17:0;::::1;;::::0;;;:9:::1;:17;::::0;;;;:33:::1;;::::0;:54:::1;::::0;122705:15;122667:37:::1;:54::i;:::-;-1:-1:-1::0;;;;;122595:17:0;;::::1;;::::0;;;:9:::1;:17;::::0;;;;;;:31;:68;;-1:-1:-1;;;122595:68:0;;122637:10:::1;122595:68;::::0;::::1;17439:34:1::0;122657:4:0::1;17489:18:1::0;;;17482:43;122595:31:0;::::1;::::0;:41:::1;::::0;17374:18:1;;122595:68:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:126;;122587:163;;;::::0;-1:-1:-1;;;122587:163:0;;17927:2:1;122587:163:0::1;::::0;::::1;17909:21:1::0;17966:2;17946:18;;;17939:30;18005:26;17985:18;;;17978:54;18049:18;;122587:163:0::1;17725:348:1::0;122587:163:0::1;-1:-1:-1::0;;;;;122772:17:0;::::1;;::::0;;;:9:::1;:17;::::0;;;;:33:::1;;::::0;:54:::1;::::0;122810:15;122772:37:::1;:54::i;:::-;122765:61;;122444:394;-1:-1:-1::0;;;;;122883:17:0;::::1;122850:21;122883:17:::0;;;:9:::1;:17;::::0;;;;:40:::1;;::::0;122874:59:::1;::::0;122929:3:::1;::::0;122874:50:::1;::::0;:4;;:8:::1;:50::i;:::-;:54:::0;::::1;:59::i;:::-;122850:83:::0;-1:-1:-1;122944:19:0::1;122966:23;:4:::0;122850:83;122966:8:::1;:23::i;:::-;-1:-1:-1::0;;;;;123063:17:0;;::::1;;::::0;;;:9:::1;:17;::::0;;;;:36:::1;::::0;::::1;::::0;123002:31;;122944:45;;-1:-1:-1;123002:113:0::1;::::0;:31;::::1;::::0;123051:10:::1;::::0;123063:36:::1;123101:13:::0;123002:48:::1;:113::i;:::-;-1:-1:-1::0;;;;;123126:17:0;;::::1;;::::0;;;:9:::1;:17;::::0;;;;:31;:88:::1;::::0;:31:::1;123175:10;123195:4;123202:11:::0;123126:48:::1;:88::i;:::-;123232:9;123227:214;123251:15;123247:1;:19;123227:214;;;123288:15;123306:13;107577:10:::0;:17;;107489:113;123306:13:::1;123288:31;;118496:4;123338:13;107577:10:::0;:17;;107489:113;123338:13:::1;:25;123334:96;;;123384:30;123394:10;123406:7;123384:9;:30::i;:::-;-1:-1:-1::0;123268:3:0;::::1;::::0;::::1;:::i;:::-;;;;123227:214;;;;122159:1289;;;42399:20:::0;41793:1;42919:7;:22;42736:213;90266:223;90338:7;95153:16;;;:7;:16;;;;;;-1:-1:-1;;;;;95153:16:0;;90402:56;;;;-1:-1:-1;;;90402:56:0;;18280:2:1;90402:56:0;;;18262:21:1;18319:2;18299:18;;;18292:30;-1:-1:-1;;;18338:18:1;;;18331:54;18402:18;;90402:56:0;18078:348:1;118388:21:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;89997:207::-;90069:7;-1:-1:-1;;;;;90097:19:0;;90089:73;;;;-1:-1:-1;;;90089:73:0;;18633:2:1;90089:73:0;;;18615:21:1;18672:2;18652:18;;;18645:30;18711:34;18691:18;;;18684:62;-1:-1:-1;;;18762:18:1;;;18755:39;18811:19;;90089:73:0;18431:405:1;90089:73:0;-1:-1:-1;;;;;;90180:16:0;;;;;:9;:16;;;;;;;89997:207::o;114667:103::-;113905:13;:11;:13::i;:::-;114732:30:::1;114759:1;114732:18;:30::i;:::-;114667:103::o:0;125202:148::-;113905:13;:11;:13::i;:::-;125305:37:::1;::::0;125273:21:::1;::::0;125313:10:::1;::::0;125305:37;::::1;;;::::0;125273:21;;125255:15:::1;125305:37:::0;125255:15;125305:37;125273:21;125313:10;125305:37;::::1;;;;;;;;;;;;;::::0;::::1;;;;90725:104:::0;90781:13;90814:7;90807:14;;;;;:::i;125358:282::-;113905:13;:11;:13::i;:::-;125466:31:::1;::::0;-1:-1:-1;;;125466:31:0;;125491:4:::1;125466:31;::::0;::::1;2048:51:1::0;125443:20:0::1;::::0;-1:-1:-1;;;;;125466:16:0;::::1;::::0;::::1;::::0;2021:18:1;;125466:31:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;125443:54;;125527:12;125516:7;:23;;125508:62;;;::::0;-1:-1:-1;;;125508:62:0;;19043:2:1;125508:62:0::1;::::0;::::1;19025:21:1::0;19082:2;19062:18;;;19055:30;19121:28;19101:18;;;19094:56;19167:18;;125508:62:0::1;18841:350:1::0;125508:62:0::1;125581:51;125604:6;125612:10;125624:7;125581:22;:51::i;92311:155::-:0;92406:52;88087:10;92439:8;92449;92406:18;:52::i;124759:435::-;113905:13;:11;:13::i;:::-;124845:14:::1;124862:13;107577:10:::0;:17;;107489:113;124862:13:::1;124899:6;::::0;124845:30;;-1:-1:-1;124899:6:0::1;;124898:7;124890:16;;;::::0;::::1;;124943:1;124929:11;:15;124921:24;;;::::0;::::1;;118547:3;124968:11;:28;;124960:37;;;::::0;::::1;;118496:4;125020:20;125029:11:::0;125020:6;:20:::1;:::i;:::-;:33;;125012:42;;;::::0;::::1;;125100:1;125083:104;125108:11;125103:1;:16;125083:104;;125145:26;125155:3:::0;125160:10:::1;125169:1:::0;125160:6;:10:::1;:::i;:::-;125145:9;:26::i;:::-;125121:3:::0;::::1;::::0;::::1;:::i;:::-;;;;125083:104;;;;124830:364;124759:435:::0;;:::o;123456:1295::-;42355:21;:19;:21::i;:::-;123554:6:::1;::::0;::::1;;123553:7;123545:38;;;::::0;-1:-1:-1;;;123545:38:0;;16241:2:1;123545:38:0::1;::::0;::::1;16223:21:1::0;16280:2;16260:18;;;16253:30;-1:-1:-1;;;16299:18:1;;;16292:48;16357:18;;123545:38:0::1;16039:342:1::0;123545:38:0::1;123620:1;123602:15;:19;:55;;;;;118547:3;123625:15;:32;;123602:55;123594:99;;;::::0;-1:-1:-1;;;123594:99:0;;16588:2:1;123594:99:0::1;::::0;::::1;16570:21:1::0;16627:2;16607:18;;;16600:30;16666:33;16646:18;;;16639:61;16717:18;;123594:99:0::1;16386:355:1::0;123594:99:0::1;118496:4;123728:15;123712:13;107577:10:::0;:17;;107489:113;123712:13:::1;:31;;;;:::i;:::-;:44;;123704:79;;;::::0;-1:-1:-1;;;123704:79:0;;17078:2:1;123704:79:0::1;::::0;::::1;17060:21:1::0;17117:2;17097:18;;;17090:30;-1:-1:-1;;;17136:18:1;;;17129:52;17198:18;;123704:79:0::1;16876:346:1::0;123704:79:0::1;123837:10;123796:12;122034:21:::0;;;:11;:21;;;;;;;;123819:192:::1;;;123872:24:::0;;:45:::1;::::0;123901:15;123872:28:::1;:45::i;:::-;123865:52;;123819:192;;;123957:7;:21:::0;:42:::1;::::0;123983:15;123957:25:::1;:42::i;:::-;123950:49;;123819:192;124023:21;124047:47;124090:3;124047:38;124056:7;:28;;;124047:4;:8;;:38;;;;:::i;:47::-;124023:71:::0;-1:-1:-1;124105:19:0::1;124127:23;:4:::0;124023:71;124127:8:::1;:23::i;:::-;124105:45;;124181:7;114092:6:::0;;-1:-1:-1;;;;;114092:6:0;;114019:87;124181:7:::1;-1:-1:-1::0;;;;;124167:21:0::1;:10;-1:-1:-1::0;;;;;124167:21:0::1;;124163:355;;124226:4;124213:9;:17;;124205:61;;;::::0;-1:-1:-1;;;124205:61:0;;19398:2:1;124205:61:0::1;::::0;::::1;19380:21:1::0;19437:2;19417:18;;;19410:30;19476:33;19456:18;;;19449:61;19527:18;;124205:61:0::1;19196:355:1::0;124205:61:0::1;124299:4;124287:9;:16;124283:106;;;124332:10;124324:49;124353:19;:9;124367:4:::0;124353:13:::1;:19::i;:::-;124324:49;::::0;;::::1;::::0;;::::1;::::0;::::1;::::0;;;;;;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;124283:106;124405:24:::0;;:48:::1;::::0;-1:-1:-1;;;;;124405:24:0;;::::1;::::0;:48;::::1;;;::::0;124439:13;;124405:24:::1;:48:::0;:24;:48;124439:13;124405:24;:48;::::1;;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;114092:6:0;;124468:38:::1;::::0;-1:-1:-1;;;;;114092:6:0;;;;124468:38;::::1;;;::::0;124494:11;;124468:38:::1;::::0;;;124494:11;114092:6;124468:38;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;124163:355;124535:9;124530:214;124554:15;124550:1;:19;124530:214;;;124591:15;124609:13;107577:10:::0;:17;;107489:113;124609:13:::1;124591:31;;118496:4;124641:13;107577:10:::0;:17;;107489:113;124641:13:::1;:25;124637:96;;;124687:30;124697:10;124709:7;124687:9;:30::i;:::-;-1:-1:-1::0;124571:3:0;::::1;::::0;::::1;:::i;:::-;;;;124530:214;;;;123534:1217;;;42399:20:::0;41793:1;42919:7;:22;42736:213;42399:20;123456:1295;:::o;93430:322::-;93604:41;88087:10;93637:7;93604:18;:41::i;:::-;93596:99;;;;-1:-1:-1;;;93596:99:0;;;;;;;:::i;:::-;93706:38;93720:4;93726:2;93730:7;93739:4;93706:13;:38::i;120311:217::-;113905:13;:11;:13::i;:::-;120383:38:::1;:11;120410:9:::0;120383:18:::1;:38::i;:::-;-1:-1:-1::0;120432:41:0::1;:14;120462:9:::0;120432:21:::1;:41::i;:::-;-1:-1:-1::0;;;;;;120491:29:0::1;;::::0;;;:9:::1;:29;::::0;;;;120484:36;;-1:-1:-1;;;;;;120484:36:0;;::::1;::::0;;;;::::1;::::0;;;::::1;::::0;::::1;::::0;;;::::1;::::0;::::1;::::0;;;;::::1;;::::0;;;;::::1;::::0;;120311:217::o;118416:37::-;;;;;;;:::i;119227:418::-;95555:4;95153:16;;;:7;:16;;;;;;119345:13;;-1:-1:-1;;;;;95153:16:0;119376:76;;;;-1:-1:-1;;;119376:76:0;;19758:2:1;119376:76:0;;;19740:21:1;19797:2;19777:18;;;19770:30;19836:34;19816:18;;;19809:62;-1:-1:-1;;;19887:18:1;;;19880:45;19942:19;;119376:76:0;19556:411:1;119376:76:0;119463:28;119494:10;:8;:10::i;:::-;119463:41;;119553:1;119528:14;119522:28;:32;:115;;;;;;;;;;;;;;;;;119581:14;119597:18;:7;:16;:18::i;:::-;119617:13;119564:67;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;119522:115;119515:122;119227:418;-1:-1:-1;;;119227:418:0:o;120678:407::-;113905:13;:11;:13::i;:::-;120855:222:::1;::::0;;::::1;::::0;::::1;::::0;;;;;::::1;::::0;::::1;::::0;;;;;;;;;-1:-1:-1;;;;;120855:222:0;;::::1;::::0;;;;;;;120845:7:::1;:232:::0;;;;;;;;;;;;;;-1:-1:-1;;;;;;120845:232:0::1;::::0;;::::1;::::0;;120678:407::o;121207:130::-;113905:13;:11;:13::i;:::-;121296::::1;:33;121312:17:::0;121296:13;:33:::1;:::i;119660:639::-:0;113905:13;:11;:13::i;:::-;119846:53:::1;:11;119870:9:::0;119882:16;119846:15:::1;:53::i;:::-;-1:-1:-1::0;119910:59:0::1;:14;119937:9:::0;119949:19;119910:18:::1;:59::i;:::-;-1:-1:-1::0;120012:279:0::1;::::0;;::::1;::::0;::::1;::::0;;-1:-1:-1;;;;;120012:279:0;;::::1;::::0;;;::::1;::::0;;::::1;::::0;;;;;;;;;;;;;;;;;::::1;::::0;;;;;;-1:-1:-1;119980:29:0;;;:9:::1;:29:::0;;;;;;;:311;;;;;;::::1;-1:-1:-1::0;;;;;;119980:311:0;;::::1;;::::0;;;;;;::::1;::::0;;;::::1;::::0;::::1;::::0;;;::::1;::::0;::::1;::::0;;::::1;::::0;;::::1;::::0;;;;;::::1;::::0;::::1;;::::0;;119660:639::o;114925:201::-;113905:13;:11;:13::i;:::-;-1:-1:-1;;;;;115014:22:0;::::1;115006:73;;;::::0;-1:-1:-1;;;115006:73:0;;21435:2:1;115006:73:0::1;::::0;::::1;21417:21:1::0;21474:2;21454:18;;;21447:30;21513:34;21493:18;;;21486:62;-1:-1:-1;;;21564:18:1;;;21557:36;21610:19;;115006:73:0::1;21233:402:1::0;115006:73:0::1;115090:28;115109:8;115090:18;:28::i;89628:305::-:0;89730:4;-1:-1:-1;;;;;;89767:40:0;;-1:-1:-1;;;89767:40:0;;:105;;-1:-1:-1;;;;;;;89824:48:0;;-1:-1:-1;;;89824:48:0;89767:105;:158;;;-1:-1:-1;;;;;;;;;;61100:40:0;;;89889:36;60991:157;114184:132;114092:6;;-1:-1:-1;;;;;114092:6:0;88087:10;114248:23;114240:68;;;;-1:-1:-1;;;114240:68:0;;21842:2:1;114240:68:0;;;21824:21:1;;;21861:18;;;21854:30;21920:34;21900:18;;;21893:62;21972:18;;114240:68:0;21640:356:1;101887:135:0;95555:4;95153:16;;;:7;:16;;;;;;-1:-1:-1;;;;;95153:16:0;101961:53;;;;-1:-1:-1;;;101961:53:0;;18280:2:1;101961:53:0;;;18262:21:1;18319:2;18299:18;;;18292:30;-1:-1:-1;;;18338:18:1;;;18331:54;18402:18;;101961:53:0;18078:348:1;101166:174:0;101241:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;101241:29:0;-1:-1:-1;;;;;101241:29:0;;;;;;;;:24;;101295:23;101241:24;101295:14;:23::i;:::-;-1:-1:-1;;;;;101286:46:0;;;;;;;;;;;101166:174;;:::o;95785:264::-;95878:4;95895:13;95911:23;95926:7;95911:14;:23::i;:::-;95895:39;;95964:5;-1:-1:-1;;;;;95953:16:0;:7;-1:-1:-1;;;;;95953:16:0;;:52;;;-1:-1:-1;;;;;;92658:25:0;;;92634:4;92658:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;95973:32;95953:87;;;;96033:7;-1:-1:-1;;;;;96009:31:0;:20;96021:7;96009:11;:20::i;:::-;-1:-1:-1;;;;;96009:31:0;;95953:87;95945:96;95785:264;-1:-1:-1;;;;95785:264:0:o;99784:1263::-;99943:4;-1:-1:-1;;;;;99916:31:0;:23;99931:7;99916:14;:23::i;:::-;-1:-1:-1;;;;;99916:31:0;;99908:81;;;;-1:-1:-1;;;99908:81:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;100008:16:0;;100000:65;;;;-1:-1:-1;;;100000:65:0;;22609:2:1;100000:65:0;;;22591:21:1;22648:2;22628:18;;;22621:30;22687:34;22667:18;;;22660:62;-1:-1:-1;;;22738:18:1;;;22731:34;22782:19;;100000:65:0;22407:400:1;100000:65:0;100078:42;100099:4;100105:2;100109:7;100118:1;100078:20;:42::i;:::-;100250:4;-1:-1:-1;;;;;100223:31:0;:23;100238:7;100223:14;:23::i;:::-;-1:-1:-1;;;;;100223:31:0;;100215:81;;;;-1:-1:-1;;;100215:81:0;;;;;;;:::i;:::-;100368:24;;;;:15;:24;;;;;;;;100361:31;;-1:-1:-1;;;;;;100361:31:0;;;;;;-1:-1:-1;;;;;100844:15:0;;;;;;:9;:15;;;;;:20;;-1:-1:-1;;100844:20:0;;;100879:13;;;;;;;;;:18;;100361:31;100879:18;;;100919:16;;;:7;:16;;;;;;:21;;;;;;;;;;100958:27;;100384:7;;100958:27;;;91656:346;91586:416;;:::o;10543:158::-;10616:4;10640:53;10648:3;-1:-1:-1;;;;;10668:23:0;;10640:7;:53::i;10215:152::-;10285:4;10309:50;10314:3;-1:-1:-1;;;;;10334:23:0;;10309:4;:50::i;42435:293::-;41837:1;42569:7;;:19;42561:63;;;;-1:-1:-1;;;42561:63:0;;23014:2:1;42561:63:0;;;22996:21:1;23053:2;23033:18;;;23026:30;23092:33;23072:18;;;23065:61;23143:18;;42561:63:0;22812:355:1;42561:63:0;41837:1;42702:7;:18;42435:293::o;36583:98::-;36641:7;36668:5;36672:1;36668;:5;:::i;36982:98::-;37040:7;37067:5;37071:1;37067;:5;:::i;36226:98::-;36284:7;36311:5;36315:1;36311;:5;:::i;83757:248::-;83928:68;;-1:-1:-1;;;;;24090:15:1;;;83928:68:0;;;24072:34:1;24142:15;;24122:18;;;24115:43;24174:18;;;24167:34;;;83901:96:0;;83921:5;;-1:-1:-1;;;83951:27:0;24007:18:1;;83928:68:0;;;;-1:-1:-1;;83928:68:0;;;;;;;;;;;;;;-1:-1:-1;;;;;83928:68:0;-1:-1:-1;;;;;;83928:68:0;;;;;;;;;;83901:19;:96::i;96391:110::-;96467:26;96477:2;96481:7;96467:26;;;;;;;;;;;;:9;:26::i;115286:191::-;115379:6;;;-1:-1:-1;;;;;115396:17:0;;;-1:-1:-1;;;;;;115396:17:0;;;;;;;115429:40;;115379:6;;;115396:17;115379:6;;115429:40;;115360:16;;115429:40;115349:128;115286:191;:::o;83538:211::-;83682:58;;-1:-1:-1;;;;;24404:32:1;;83682:58:0;;;24386:51:1;24453:18;;;24446:34;;;83655:86:0;;83675:5;;-1:-1:-1;;;83705:23:0;24359:18:1;;83682:58:0;24212:274:1;101483:315:0;101638:8;-1:-1:-1;;;;;101629:17:0;:5;-1:-1:-1;;;;;101629:17:0;;101621:55;;;;-1:-1:-1;;;101621:55:0;;24693:2:1;101621:55:0;;;24675:21:1;24732:2;24712:18;;;24705:30;24771:27;24751:18;;;24744:55;24816:18;;101621:55:0;24491:349:1;101621:55:0;-1:-1:-1;;;;;101687:25:0;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;101687:46:0;;;;;;;;;;101749:41;;540::1;;;101749::0;;513:18:1;101749:41:0;;;;;;;101483:315;;;:::o;94633:313::-;94789:28;94799:4;94805:2;94809:7;94789:9;:28::i;:::-;94836:47;94859:4;94865:2;94869:7;94878:4;94836:22;:47::i;:::-;94828:110;;;;-1:-1:-1;;;94828:110:0;;;;;;;:::i;27515:159::-;27592:4;27616:50;27623:3;-1:-1:-1;;;;;27643:21:0;;27616:6;:50::i;118713:108::-;118773:13;118806:7;118799:14;;;;;:::i;56261:716::-;56317:13;56368:14;56385:17;56396:5;56385:10;:17::i;:::-;56405:1;56385:21;56368:38;;56421:20;56455:6;56444:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;56444:18:0;-1:-1:-1;56421:41:0;-1:-1:-1;56586:28:0;;;56602:2;56586:28;56643:288;-1:-1:-1;;56675:5:0;-1:-1:-1;;;56812:2:0;56801:14;;56796:30;56675:5;56783:44;56873:2;56864:11;;;-1:-1:-1;56894:21:0;56643:288;56894:21;-1:-1:-1;56952:6:0;56261:716;-1:-1:-1;;;56261:716:0:o;27131:218::-;27254:4;27278:63;27282:3;-1:-1:-1;;;;;27302:21:0;;27334:5;27278:3;:63::i;107986:915::-;108253:1;108241:9;:13;108237:222;;;108384:63;;-1:-1:-1;;;108384:63:0;;25466:2:1;108384:63:0;;;25448:21:1;25505:2;25485:18;;;25478:30;25544:34;25524:18;;;25517:62;-1:-1:-1;;;25595:18:1;;;25588:51;25656:19;;108384:63:0;25264:417:1;108237:222:0;108489:12;-1:-1:-1;;;;;108518:18:0;;108514:187;;108553:40;108585:7;109728:10;:17;;109701:24;;;;:15;:24;;;;;:44;;;109756:24;;;;;;;;;;;;109624:164;108553:40;108514:187;;;108623:2;-1:-1:-1;;;;;108615:10:0;:4;-1:-1:-1;;;;;108615:10:0;;108611:90;;108642:47;108675:4;108681:7;108642:32;:47::i;:::-;-1:-1:-1;;;;;108715:16:0;;108711:183;;108748:45;108785:7;108748:36;:45::i;:::-;108711:183;;;108821:4;-1:-1:-1;;;;;108815:10:0;:2;-1:-1:-1;;;;;108815:10:0;;108811:83;;108842:40;108870:2;108874:7;108842:27;:40::i;:::-;108152:749;107986:915;;;;:::o;4536:1420::-;4602:4;4741:19;;;:12;;;:19;;;;;;4777:15;;4773:1176;;5152:21;5176:14;5189:1;5176:10;:14;:::i;:::-;5225:18;;5152:38;;-1:-1:-1;5205:17:0;;5225:22;;5246:1;;5225:22;:::i;:::-;5205:42;;5281:13;5268:9;:26;5264:405;;5315:17;5335:3;:11;;5347:9;5335:22;;;;;;;;:::i;:::-;;;;;;;;;5315:42;;5489:9;5460:3;:11;;5472:13;5460:26;;;;;;;;:::i;:::-;;;;;;;;;;;;:38;;;;5574:23;;;:12;;;:23;;;;;:36;;;5264:405;5750:17;;:3;;:17;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;5845:3;:12;;:19;5858:5;5845:19;;;;;;;;;;;5838:26;;;5888:4;5881:11;;;;;;;4773:1176;5932:5;5925:12;;;;;3946:414;4009:4;6139:19;;;:12;;;:19;;;;;;4026:327;;-1:-1:-1;4069:23:0;;;;;;;;:11;:23;;;;;;;;;;;;;4252:18;;4230:19;;;:12;;;:19;;;;;;:40;;;;4285:11;;4026:327;-1:-1:-1;4336:5:0;4329:12;;86605:716;87029:23;87055:69;87083:4;87055:69;;;;;;;;;;;;;;;;;87063:5;-1:-1:-1;;;;;87055:27:0;;;:69;;;;;:::i;:::-;87139:17;;87029:95;;-1:-1:-1;87139:21:0;87135:179;;87236:10;87225:30;;;;;;;;;;;;:::i;:::-;87217:85;;;;-1:-1:-1;;;87217:85:0;;26270:2:1;87217:85:0;;;26252:21:1;26309:2;26289:18;;;26282:30;26348:34;26328:18;;;26321:62;-1:-1:-1;;;26399:18:1;;;26392:40;26449:19;;87217:85:0;26068:406:1;96728:319:0;96857:18;96863:2;96867:7;96857:5;:18::i;:::-;96908:53;96939:1;96943:2;96947:7;96956:4;96908:22;:53::i;:::-;96886:153;;;;-1:-1:-1;;;96886:153:0;;;;;;;:::i;102586:853::-;102740:4;-1:-1:-1;;;;;102761:13:0;;69680:19;:23;102757:675;;102797:71;;-1:-1:-1;;;102797:71:0;;-1:-1:-1;;;;;102797:36:0;;;;;:71;;88087:10;;102848:4;;102854:7;;102863:4;;102797:71;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;102797:71:0;;;;;;;;-1:-1:-1;;102797:71:0;;;;;;;;;;;;:::i;:::-;;;102793:584;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;103038:6;:13;103055:1;103038:18;103034:328;;103081:60;;-1:-1:-1;;;103081:60:0;;;;;;;:::i;103034:328::-;103312:6;103306:13;103297:6;103293:2;103289:15;103282:38;102793:584;-1:-1:-1;;;;;;102919:51:0;-1:-1:-1;;;102919:51:0;;-1:-1:-1;102912:58:0;;102757:675;-1:-1:-1;103416:4:0;102586:853;;;;;;:::o;18007:167::-;18087:4;18111:16;;;:11;;;:16;;;;;18104:23;;;18145:21;18111:3;18123;18145:16;:21::i;53127:922::-;53180:7;;-1:-1:-1;;;53258:15:0;;53254:102;;-1:-1:-1;;;53294:15:0;;;-1:-1:-1;53338:2:0;53328:12;53254:102;53383:6;53374:5;:15;53370:102;;53419:6;53410:15;;;-1:-1:-1;53454:2:0;53444:12;53370:102;53499:6;53490:5;:15;53486:102;;53535:6;53526:15;;;-1:-1:-1;53570:2:0;53560:12;53486:102;53615:5;53606;:14;53602:99;;53650:5;53641:14;;;-1:-1:-1;53684:1:0;53674:11;53602:99;53728:5;53719;:14;53715:99;;53763:5;53754:14;;;-1:-1:-1;53797:1:0;53787:11;53715:99;53841:5;53832;:14;53828:99;;53876:5;53867:14;;;-1:-1:-1;53910:1:0;53900:11;53828:99;53954:5;53945;:14;53941:66;;53990:1;53980:11;54035:6;53127:922;-1:-1:-1;;53127:922:0:o;17621:211::-;17747:4;17764:16;;;:11;;;:16;;;;;:24;;;17806:18;17764:3;17776;17806:13;:18::i;110415:988::-;110681:22;110731:1;110706:22;110723:4;110706:16;:22::i;:::-;:26;;;;:::i;:::-;110743:18;110764:26;;;:17;:26;;;;;;110681:51;;-1:-1:-1;110897:28:0;;;110893:328;;-1:-1:-1;;;;;110964:18:0;;110942:19;110964:18;;;:12;:18;;;;;;;;:34;;;;;;;;;111015:30;;;;;;:44;;;111132:30;;:17;:30;;;;;:43;;;110893:328;-1:-1:-1;111317:26:0;;;;:17;:26;;;;;;;;111310:33;;;-1:-1:-1;;;;;111361:18:0;;;;;:12;:18;;;;;:34;;;;;;;111354:41;110415:988::o;111698:1079::-;111976:10;:17;111951:22;;111976:21;;111996:1;;111976:21;:::i;:::-;112008:18;112029:24;;;:15;:24;;;;;;112402:10;:26;;111951:46;;-1:-1:-1;112029:24:0;;111951:46;;112402:26;;;;;;:::i;:::-;;;;;;;;;112380:48;;112466:11;112441:10;112452;112441:22;;;;;;;;:::i;:::-;;;;;;;;;;;;:36;;;;112546:28;;;:15;:28;;;;;;;:41;;;112718:24;;;;;112711:31;112753:10;:16;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;111769:1008;;;111698:1079;:::o;109202:221::-;109287:14;109304:20;109321:2;109304:16;:20::i;:::-;-1:-1:-1;;;;;109335:16:0;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;109380:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;109202:221:0:o;72142:229::-;72279:12;72311:52;72333:6;72341:4;72347:1;72350:12;72311:21;:52::i;97383:942::-;-1:-1:-1;;;;;97463:16:0;;97455:61;;;;-1:-1:-1;;;97455:61:0;;27429:2:1;97455:61:0;;;27411:21:1;;;27448:18;;;27441:30;27507:34;27487:18;;;27480:62;27559:18;;97455:61:0;27227:356:1;97455:61:0;95555:4;95153:16;;;:7;:16;;;;;;-1:-1:-1;;;;;95153:16:0;95579:31;97527:58;;;;-1:-1:-1;;;97527:58:0;;27790:2:1;97527:58:0;;;27772:21:1;27829:2;27809:18;;;27802:30;27868;27848:18;;;27841:58;27916:18;;97527:58:0;27588:352:1;97527:58:0;97598:48;97627:1;97631:2;97635:7;97644:1;97598:20;:48::i;:::-;95555:4;95153:16;;;:7;:16;;;;;;-1:-1:-1;;;;;95153:16:0;95579:31;97736:58;;;;-1:-1:-1;;;97736:58:0;;27790:2:1;97736:58:0;;;27772:21:1;27829:2;27809:18;;;27802:30;27868;27848:18;;;27841:58;27916:18;;97736:58:0;27588:352:1;97736:58:0;-1:-1:-1;;;;;98143:13:0;;;;;;:9;:13;;;;;;;;:18;;98160:1;98143:18;;;98185:16;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;98185:21:0;;;;;98224:33;98193:7;;98143:13;;98224:33;;98143:13;;98224:33;121778:155:::1;121681:259:::0;:::o;8056:131::-;8129:4;8153:26;8161:3;8173:5;8153:7;:26::i;7755:125::-;7825:4;7849:23;7854:3;7866:5;7849:4;:23::i;73262:455::-;73432:12;73490:5;73465:21;:30;;73457:81;;;;-1:-1:-1;;;73457:81:0;;28147:2:1;73457:81:0;;;28129:21:1;28186:2;28166:18;;;28159:30;28225:34;28205:18;;;28198:62;-1:-1:-1;;;28276:18:1;;;28269:36;28322:19;;73457:81:0;27945:402:1;73457:81:0;73550:12;73564:23;73591:6;-1:-1:-1;;;;;73591:11:0;73610:5;73617:4;73591:31;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;73549:73;;;;73640:69;73667:6;73675:7;73684:10;73696:12;73640:26;:69::i;:::-;73633:76;73262:455;-1:-1:-1;;;;;;;73262:455:0:o;75835:644::-;76020:12;76049:7;76045:427;;;76077:10;:17;76098:1;76077:22;76073:290;;-1:-1:-1;;;;;69680:19:0;;;76287:60;;;;-1:-1:-1;;;76287:60:0;;28846:2:1;76287:60:0;;;28828:21:1;28885:2;28865:18;;;28858:30;28924:31;28904:18;;;28897:59;28973:18;;76287:60:0;28644:353:1;76287:60:0;-1:-1:-1;76384:10:0;76377:17;;76045:427;76427:33;76435:10;76447:12;77182:17;;:21;77178:388;;77414:10;77408:17;77471:15;77458:10;77454:2;77450:19;77443:44;77178:388;77541:12;77534:20;;-1:-1:-1;;;77534:20:0;;;;;;;;:::i;14:131:1:-;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:118::-;678:5;671:13;664:21;657:5;654:32;644:60;;700:1;697;690:12;715:241;771:6;824:2;812:9;803:7;799:23;795:32;792:52;;;840:1;837;830:12;792:52;879:9;866:23;898:28;920:5;898:28;:::i;961:250::-;1046:1;1056:113;1070:6;1067:1;1064:13;1056:113;;;1146:11;;;1140:18;1127:11;;;1120:39;1092:2;1085:10;1056:113;;;-1:-1:-1;;1203:1:1;1185:16;;1178:27;961:250::o;1216:271::-;1258:3;1296:5;1290:12;1323:6;1318:3;1311:19;1339:76;1408:6;1401:4;1396:3;1392:14;1385:4;1378:5;1374:16;1339:76;:::i;:::-;1469:2;1448:15;-1:-1:-1;;1444:29:1;1435:39;;;;1476:4;1431:50;;1216:271;-1:-1:-1;;1216:271:1:o;1492:220::-;1641:2;1630:9;1623:21;1604:4;1661:45;1702:2;1691:9;1687:18;1679:6;1661:45;:::i;1717:180::-;1776:6;1829:2;1817:9;1808:7;1804:23;1800:32;1797:52;;;1845:1;1842;1835:12;1797:52;-1:-1:-1;1868:23:1;;1717:180;-1:-1:-1;1717:180:1:o;2110:131::-;-1:-1:-1;;;;;2185:31:1;;2175:42;;2165:70;;2231:1;2228;2221:12;2246:315;2314:6;2322;2375:2;2363:9;2354:7;2350:23;2346:32;2343:52;;;2391:1;2388;2381:12;2343:52;2430:9;2417:23;2449:31;2474:5;2449:31;:::i;:::-;2499:5;2551:2;2536:18;;;;2523:32;;-1:-1:-1;;;2246:315:1:o;2748:247::-;2807:6;2860:2;2848:9;2839:7;2835:23;2831:32;2828:52;;;2876:1;2873;2866:12;2828:52;2915:9;2902:23;2934:31;2959:5;2934:31;:::i;3552:456::-;3629:6;3637;3645;3698:2;3686:9;3677:7;3673:23;3669:32;3666:52;;;3714:1;3711;3704:12;3666:52;3753:9;3740:23;3772:31;3797:5;3772:31;:::i;:::-;3822:5;-1:-1:-1;3879:2:1;3864:18;;3851:32;3892:33;3851:32;3892:33;:::i;:::-;3552:456;;3944:7;;-1:-1:-1;;;3998:2:1;3983:18;;;;3970:32;;3552:456::o;4013:127::-;4074:10;4069:3;4065:20;4062:1;4055:31;4105:4;4102:1;4095:15;4129:4;4126:1;4119:15;4145:275;4216:2;4210:9;4281:2;4262:13;;-1:-1:-1;;4258:27:1;4246:40;;4316:18;4301:34;;4337:22;;;4298:62;4295:88;;;4363:18;;:::i;:::-;4399:2;4392:22;4145:275;;-1:-1:-1;4145:275:1:o;4425:1021::-;4509:6;4540:2;4583;4571:9;4562:7;4558:23;4554:32;4551:52;;;4599:1;4596;4589:12;4551:52;4639:9;4626:23;4668:18;4709:2;4701:6;4698:14;4695:34;;;4725:1;4722;4715:12;4695:34;4763:6;4752:9;4748:22;4738:32;;4808:7;4801:4;4797:2;4793:13;4789:27;4779:55;;4830:1;4827;4820:12;4779:55;4866:2;4853:16;4888:2;4884;4881:10;4878:36;;;4894:18;;:::i;:::-;4940:2;4937:1;4933:10;4923:20;;4963:28;4987:2;4983;4979:11;4963:28;:::i;:::-;5025:15;;;5095:11;;;5091:20;;;5056:12;;;;5123:19;;;5120:39;;;5155:1;5152;5145:12;5120:39;5179:11;;;;5199:217;5215:6;5210:3;5207:15;5199:217;;;5295:3;5282:17;5269:30;;5312:31;5337:5;5312:31;:::i;:::-;5356:18;;;5232:12;;;;5394;;;;5199:217;;;5435:5;4425:1021;-1:-1:-1;;;;;;;;4425:1021:1:o;5451:632::-;5622:2;5674:21;;;5744:13;;5647:18;;;5766:22;;;5593:4;;5622:2;5845:15;;;;5819:2;5804:18;;;5593:4;5888:169;5902:6;5899:1;5896:13;5888:169;;;5963:13;;5951:26;;6032:15;;;;5997:12;;;;5924:1;5917:9;5888:169;;;-1:-1:-1;6074:3:1;;5451:632;-1:-1:-1;;;;;;5451:632:1:o;6088:407::-;6153:5;6187:18;6179:6;6176:30;6173:56;;;6209:18;;:::i;:::-;6247:57;6292:2;6271:15;;-1:-1:-1;;6267:29:1;6298:4;6263:40;6247:57;:::i;:::-;6238:66;;6327:6;6320:5;6313:21;6367:3;6358:6;6353:3;6349:16;6346:25;6343:45;;;6384:1;6381;6374:12;6343:45;6433:6;6428:3;6421:4;6414:5;6410:16;6397:43;6487:1;6480:4;6471:6;6464:5;6460:18;6456:29;6449:40;6088:407;;;;;:::o;6500:451::-;6569:6;6622:2;6610:9;6601:7;6597:23;6593:32;6590:52;;;6638:1;6635;6628:12;6590:52;6678:9;6665:23;6711:18;6703:6;6700:30;6697:50;;;6743:1;6740;6733:12;6697:50;6766:22;;6819:4;6811:13;;6807:27;-1:-1:-1;6797:55:1;;6848:1;6845;6838:12;6797:55;6871:74;6937:7;6932:2;6919:16;6914:2;6910;6906:11;6871:74;:::i;6956:315::-;7024:6;7032;7085:2;7073:9;7064:7;7060:23;7056:32;7053:52;;;7101:1;7098;7091:12;7053:52;7137:9;7124:23;7114:33;;7197:2;7186:9;7182:18;7169:32;7210:31;7235:5;7210:31;:::i;:::-;7260:5;7250:15;;;6956:315;;;;;:::o;7611:382::-;7676:6;7684;7737:2;7725:9;7716:7;7712:23;7708:32;7705:52;;;7753:1;7750;7743:12;7705:52;7792:9;7779:23;7811:31;7836:5;7811:31;:::i;:::-;7861:5;-1:-1:-1;7918:2:1;7903:18;;7890:32;7931:30;7890:32;7931:30;:::i;8436:795::-;8531:6;8539;8547;8555;8608:3;8596:9;8587:7;8583:23;8579:33;8576:53;;;8625:1;8622;8615:12;8576:53;8664:9;8651:23;8683:31;8708:5;8683:31;:::i;:::-;8733:5;-1:-1:-1;8790:2:1;8775:18;;8762:32;8803:33;8762:32;8803:33;:::i;:::-;8855:7;-1:-1:-1;8909:2:1;8894:18;;8881:32;;-1:-1:-1;8964:2:1;8949:18;;8936:32;8991:18;8980:30;;8977:50;;;9023:1;9020;9013:12;8977:50;9046:22;;9099:4;9091:13;;9087:27;-1:-1:-1;9077:55:1;;9128:1;9125;9118:12;9077:55;9151:74;9217:7;9212:2;9199:16;9194:2;9190;9186:11;9151:74;:::i;:::-;9141:84;;;8436:795;;;;;;;:::o;9503:460::-;9597:6;9605;9613;9621;9674:3;9662:9;9653:7;9649:23;9645:33;9642:53;;;9691:1;9688;9681:12;9642:53;9727:9;9714:23;9704:33;;9784:2;9773:9;9769:18;9756:32;9746:42;;9835:2;9824:9;9820:18;9807:32;9797:42;;9889:2;9878:9;9874:18;9861:32;9902:31;9927:5;9902:31;:::i;:::-;9503:460;;;;-1:-1:-1;9503:460:1;;-1:-1:-1;;9503:460:1:o;9968:388::-;10036:6;10044;10097:2;10085:9;10076:7;10072:23;10068:32;10065:52;;;10113:1;10110;10103:12;10065:52;10152:9;10139:23;10171:31;10196:5;10171:31;:::i;:::-;10221:5;-1:-1:-1;10278:2:1;10263:18;;10250:32;10291:33;10250:32;10291:33;:::i;10361:609::-;10471:6;10479;10487;10495;10503;10556:3;10544:9;10535:7;10531:23;10527:33;10524:53;;;10573:1;10570;10563:12;10524:53;10612:9;10599:23;10631:31;10656:5;10631:31;:::i;:::-;10681:5;-1:-1:-1;10733:2:1;10718:18;;10705:32;;-1:-1:-1;10784:2:1;10769:18;;10756:32;;-1:-1:-1;10835:2:1;10820:18;;10807:32;;-1:-1:-1;10891:3:1;10876:19;;10863:33;10905;10863;10905;:::i;:::-;10957:7;10947:17;;;10361:609;;;;;;;;:::o;10975:380::-;11054:1;11050:12;;;;11097;;;11118:61;;11172:4;11164:6;11160:17;11150:27;;11118:61;11225:2;11217:6;11214:14;11194:18;11191:38;11188:161;;11271:10;11266:3;11262:20;11259:1;11252:31;11306:4;11303:1;11296:15;11334:4;11331:1;11324:15;11188:161;;10975:380;;;:::o;12192:409::-;12394:2;12376:21;;;12433:2;12413:18;;;12406:30;12472:34;12467:2;12452:18;;12445:62;-1:-1:-1;;;12538:2:1;12523:18;;12516:43;12591:3;12576:19;;12192:409::o;12606:127::-;12667:10;12662:3;12658:20;12655:1;12648:31;12698:4;12695:1;12688:15;12722:4;12719:1;12712:15;12738:127;12799:10;12794:3;12790:20;12787:1;12780:31;12830:4;12827:1;12820:15;12854:4;12851:1;12844:15;12870:135;12909:3;12930:17;;;12927:43;;12950:18;;:::i;:::-;-1:-1:-1;12997:1:1;12986:13;;12870:135::o;13961:545::-;14063:2;14058:3;14055:11;14052:448;;;14099:1;14124:5;14120:2;14113:17;14169:4;14165:2;14155:19;14239:2;14227:10;14223:19;14220:1;14216:27;14210:4;14206:38;14275:4;14263:10;14260:20;14257:47;;;-1:-1:-1;14298:4:1;14257:47;14353:2;14348:3;14344:12;14341:1;14337:20;14331:4;14327:31;14317:41;;14408:82;14426:2;14419:5;14416:13;14408:82;;;14471:17;;;14452:1;14441:13;14408:82;;;14412:3;;;13961:545;;;:::o;14682:1352::-;14808:3;14802:10;14835:18;14827:6;14824:30;14821:56;;;14857:18;;:::i;:::-;14886:97;14976:6;14936:38;14968:4;14962:11;14936:38;:::i;:::-;14930:4;14886:97;:::i;:::-;15038:4;;15102:2;15091:14;;15119:1;15114:663;;;;15821:1;15838:6;15835:89;;;-1:-1:-1;15890:19:1;;;15884:26;15835:89;-1:-1:-1;;14639:1:1;14635:11;;;14631:24;14627:29;14617:40;14663:1;14659:11;;;14614:57;15937:81;;15084:944;;15114:663;13908:1;13901:14;;;13945:4;13932:18;;-1:-1:-1;;15150:20:1;;;15268:236;15282:7;15279:1;15276:14;15268:236;;;15371:19;;;15365:26;15350:42;;15463:27;;;;15431:1;15419:14;;;;15298:19;;15268:236;;;15272:3;15532:6;15523:7;15520:19;15517:201;;;15593:19;;;15587:26;-1:-1:-1;;15676:1:1;15672:14;;;15688:3;15668:24;15664:37;15660:42;15645:58;15630:74;;15517:201;-1:-1:-1;;;;;15764:1:1;15748:14;;;15744:22;15731:36;;-1:-1:-1;14682:1352:1:o;16746:125::-;16811:9;;;16832:10;;;16829:36;;;16845:18;;:::i;17536:184::-;17606:6;17659:2;17647:9;17638:7;17634:23;17630:32;17627:52;;;17675:1;17672;17665:12;17627:52;-1:-1:-1;17698:16:1;;17536:184;-1:-1:-1;17536:184:1:o;19972:1256::-;20196:3;20234:6;20228:13;20260:4;20273:64;20330:6;20325:3;20320:2;20312:6;20308:15;20273:64;:::i;:::-;20400:13;;20359:16;;;;20422:68;20400:13;20359:16;20457:15;;;20422:68;:::i;:::-;20579:13;;20512:20;;;20552:1;;20617:36;20579:13;20617:36;:::i;:::-;20672:1;20689:18;;;20716:141;;;;20871:1;20866:337;;;;20682:521;;20716:141;-1:-1:-1;;20751:24:1;;20737:39;;20828:16;;20821:24;20807:39;;20796:51;;;-1:-1:-1;20716:141:1;;20866:337;20897:6;20894:1;20887:17;20945:2;20942:1;20932:16;20970:1;20984:169;20998:8;20995:1;20992:15;20984:169;;;21080:14;;21065:13;;;21058:37;21123:16;;;;21015:10;;20984:169;;;20988:3;;21184:8;21177:5;21173:20;21166:27;;20682:521;-1:-1:-1;21219:3:1;;19972:1256;-1:-1:-1;;;;;;;;;;19972:1256:1:o;22001:401::-;22203:2;22185:21;;;22242:2;22222:18;;;22215:30;22281:34;22276:2;22261:18;;22254:62;-1:-1:-1;;;22347:2:1;22332:18;;22325:35;22392:3;22377:19;;22001:401::o;23172:168::-;23245:9;;;23276;;23293:15;;;23287:22;;23273:37;23263:71;;23314:18;;:::i;23477:217::-;23517:1;23543;23533:132;;23587:10;23582:3;23578:20;23575:1;23568:31;23622:4;23619:1;23612:15;23650:4;23647:1;23640:15;23533:132;-1:-1:-1;23679:9:1;;23477:217::o;23699:128::-;23766:9;;;23787:11;;;23784:37;;;23801:18;;:::i;24845:414::-;25047:2;25029:21;;;25086:2;25066:18;;;25059:30;25125:34;25120:2;25105:18;;25098:62;-1:-1:-1;;;25191:2:1;25176:18;;25169:48;25249:3;25234:19;;24845:414::o;25686:127::-;25747:10;25742:3;25738:20;25735:1;25728:31;25778:4;25775:1;25768:15;25802:4;25799:1;25792:15;25818:245;25885:6;25938:2;25926:9;25917:7;25913:23;25909:32;25906:52;;;25954:1;25951;25944:12;25906:52;25986:9;25980:16;26005:28;26027:5;26005:28;:::i;26479:489::-;-1:-1:-1;;;;;26748:15:1;;;26730:34;;26800:15;;26795:2;26780:18;;26773:43;26847:2;26832:18;;26825:34;;;26895:3;26890:2;26875:18;;26868:31;;;26673:4;;26916:46;;26942:19;;26934:6;26916:46;:::i;:::-;26908:54;26479:489;-1:-1:-1;;;;;;26479:489:1:o;26973:249::-;27042:6;27095:2;27083:9;27074:7;27070:23;27066:32;27063:52;;;27111:1;27108;27101:12;27063:52;27143:9;27137:16;27162:30;27186:5;27162:30;:::i;28352:287::-;28481:3;28519:6;28513:13;28535:66;28594:6;28589:3;28582:4;28574:6;28570:17;28535:66;:::i;:::-;28617:16;;;;;28352:287;-1:-1:-1;;28352:287:1:o

Swarm Source

ipfs://e40bb6153443f6dc29e6ac4dbf9ad6faab439ff1e4e5b4b26a67744b66ea0149

Block Transaction Gas Used Reward
view all blocks validated

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.