More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 2,127 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Safe Transfer Fr... | 17124437 | 2 days ago | IN | 0 CRO | 0.48811927 | ||||
Safe Transfer Fr... | 17124431 | 2 days ago | IN | 0 CRO | 0.52595273 | ||||
Safe Transfer Fr... | 16927268 | 16 days ago | IN | 0 CRO | 0.47680889 | ||||
Set Approval For... | 16534023 | 42 days ago | IN | 0 CRO | 0.14718901 | ||||
Set Approval For... | 16201143 | 63 days ago | IN | 0 CRO | 0.23364835 | ||||
Set Approval For... | 15766358 | 92 days ago | IN | 0 CRO | 0.23364835 | ||||
Set Approval For... | 15570383 | 105 days ago | IN | 0 CRO | 0.23364835 | ||||
Set Approval For... | 15557037 | 105 days ago | IN | 0 CRO | 0.23357894 | ||||
Set Approval For... | 15552188 | 106 days ago | IN | 0 CRO | 0.14717215 | ||||
Set Approval For... | 15551899 | 106 days ago | IN | 0 CRO | 0.14723275 | ||||
Set Approval For... | 15551831 | 106 days ago | IN | 0 CRO | 0.14723275 | ||||
Set Approval For... | 15495488 | 109 days ago | IN | 0 CRO | 0.23364835 | ||||
Safe Transfer Fr... | 15488909 | 110 days ago | IN | 0 CRO | 0.52595273 | ||||
Set Approval For... | 15090140 | 136 days ago | IN | 0 CRO | 0.23344633 | ||||
Set Approval For... | 14795192 | 155 days ago | IN | 0 CRO | 0.23357894 | ||||
Set Approval For... | 14787789 | 156 days ago | IN | 0 CRO | 0.23364835 | ||||
Safe Transfer Fr... | 14780302 | 156 days ago | IN | 0 CRO | 0.54002707 | ||||
Transfer From | 14759472 | 158 days ago | IN | 0 CRO | 0.505 | ||||
Transfer From | 14759463 | 158 days ago | IN | 0 CRO | 0.5259272 | ||||
Set Approval For... | 14705931 | 161 days ago | IN | 0 CRO | 0.23357894 | ||||
Set Approval For... | 14652557 | 165 days ago | IN | 0 CRO | 0.23351836 | ||||
Set Approval For... | 14346118 | 185 days ago | IN | 0 CRO | 0.25701318 | ||||
Set Approval For... | 14271655 | 190 days ago | IN | 0 CRO | 0.23364835 | ||||
Set Approval For... | 14210350 | 194 days ago | IN | 0 CRO | 0.23364835 | ||||
Safe Transfer Fr... | 14197092 | 195 days ago | IN | 0 CRO | 0.47392288 |
Latest 25 internal transactions (View All)
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
9659678 | 491 days ago | 2,537.25 CRO | ||||
9655975 | 491 days ago | 422.875 CRO | ||||
9655975 | 491 days ago | 2.125 CRO | ||||
9655943 | 491 days ago | 422.875 CRO | ||||
9655943 | 491 days ago | 2.125 CRO | ||||
9655882 | 491 days ago | 422.875 CRO | ||||
9655882 | 491 days ago | 2.125 CRO | ||||
9655691 | 491 days ago | 422.875 CRO | ||||
9655691 | 491 days ago | 2.125 CRO | ||||
9655595 | 491 days ago | 845.75 CRO | ||||
9655595 | 491 days ago | 4.25 CRO | ||||
9655436 | 491 days ago | 62,311.875 CRO | ||||
9655320 | 491 days ago | 2,363.125 CRO | ||||
9655320 | 491 days ago | 11.875 CRO | ||||
9655245 | 491 days ago | 2,363.125 CRO | ||||
9655245 | 491 days ago | 11.875 CRO | ||||
9655226 | 491 days ago | 2,363.125 CRO | ||||
9655226 | 491 days ago | 11.875 CRO | ||||
9655222 | 491 days ago | 422.875 CRO | ||||
9655222 | 491 days ago | 2.125 CRO | ||||
9655220 | 491 days ago | 2,363.125 CRO | ||||
9655220 | 491 days ago | 11.875 CRO | ||||
9655220 | 491 days ago | 2,114.375 CRO | ||||
9655220 | 491 days ago | 10.625 CRO | ||||
9655217 | 491 days ago | 2,114.375 CRO |
Loading...
Loading
Contract Name:
Guardians
Compiler Version
v0.8.18+commit.87f61d96
Contract Source Code (Solidity)
/** *Submitted for verification at cronoscan.com on 2023-03-30 */ // SPDX-License-Identifier: MIT LICENSE // ___ // / \\ // //\\ | . . \\ // ////\\| || // /// \\ ___//\ // /// \\ \ // /// |\\ C.C. \ // /// | \\ \ \ ///// | \\ \ \ //// | \\ / / /// | \/ / // | \\/| // | \\| // | \\ // | |\ // |_________\\ // NFT Contract - Guardians Multi-Currency // File: @openzeppelin/contracts/utils/structs/EnumerableSet.sol // OpenZeppelin Contracts (last updated v4.8.0) (utils/structs/EnumerableSet.sol) // This file was procedurally generated from scripts/generate/templates/EnumerableSet.js. 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: ZGD14N5.sol // ___ // / \\ // //\\ | . . \\ // ////\\| || // /// \\ ___//\ // /// \\ \ // /// |\\ C.C. \ // /// | \\ \ \ ///// | \\ \ \ //// | \\ / / /// | \/ / // | \\/| // | \\| // | \\ // | |\ // |_________\\ // NFT Contract - Guardians Multi-Currency pragma solidity ^0.8.0; contract Guardians 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 = 5000; uint256 public constant maxMintAmount = 5; bool public paused = false; mapping(address => bool) public whitelisted; constructor() ERC721("Guardians", "GDNS") {} 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(address _payTokenAddress, uint256 _numberOfTokens) external nonReentrant { require(!paused, "Contract is paused"); require(_numberOfTokens > 0 && _numberOfTokens <= maxMintAmount, "Exceeds maximum purchase amount"); require(totalSupply() + _numberOfTokens <= maxSupply, "Exceeds maximum supply"); require(isWhitelisted(msg.sender) || publicCosts.contains(_payTokenAddress), "Address is not whitelisted"); require(publicCosts.contains(_payTokenAddress), "Token is not supported"); TokenInfo memory tokenInfo = payTokens[_payTokenAddress]; uint256 cost = isWhitelisted(msg.sender) ? tokenInfo.ERC20whitelistCost : tokenInfo.ERC20publicCost; require(tokenInfo.ERC20paytoken.allowance(msg.sender, address(this)) >= SafeMath.mul(cost, _numberOfTokens), "Token allowance not set"); if (cost > 0) { uint256 totalCost = SafeMath.mul(cost, _numberOfTokens); uint256 royaltyAmount = SafeMath.div(SafeMath.mul(totalCost, tokenInfo.ERC20royaltyPercentage), 100); uint256 ownerAmount = SafeMath.sub(totalCost, royaltyAmount); SafeERC20.safeTransferFrom(tokenInfo.ERC20paytoken, msg.sender, address(this), ownerAmount); if (royaltyAmount > 0) { SafeERC20.safeTransferFrom(tokenInfo.ERC20paytoken, msg.sender, tokenInfo.ERC20royaltyWallet, royaltyAmount); } } for (uint256 i = 0; i < _numberOfTokens; i++) { uint256 mintIndex = totalSupply(); if (totalSupply() < maxSupply) { _safeMint(msg.sender, mintIndex); } } } 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"); require(isWhitelisted(msg.sender) || ethInfo.ETHpublicCost > 0, "Address is not whitelisted"); uint256 cost = ethInfo.ETHpublicCost.mul(_numberOfTokens); if (isWhitelisted(msg.sender)) { cost = ethInfo.ETHwhitelistCost.mul(_numberOfTokens); } uint256 royaltyAmount = cost.mul(ethInfo.ETHroyaltyPercentage).div(10000); ethInfo.ETHroyaltyWallet.transfer(royaltyAmount); require(msg.value.sub(royaltyAmount) > 0, "Insufficient ETH sent"); payable(address(this)).transfer(msg.value.sub(royaltyAmount)); for (uint256 i = 0; i < _numberOfTokens; i++) { uint256 tokenId = totalSupply(); if (totalSupply() < maxSupply) { _safeMint(msg.sender, tokenId); } } } 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
- No Contract Security Audit Submitted- Submit Audit Here
[{"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 Guardians.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":"address","name":"_payTokenAddress","type":"address"},{"internalType":"uint256","name":"_numberOfTokens","type":"uint256"}],"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":"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"}]
Contract Creation Code
60c06040526005608090815264173539b7b760d91b60a052601a90620000269082620001c4565b50601b805460ff191690553480156200003e57600080fd5b5060405180604001604052806009815260200168477561726469616e7360b81b8152506040518060400160405280600481526020016347444e5360e01b81525060016000819055508160019081620000979190620001c4565b506002620000a68282620001c4565b505050620000c3620000bd620000c960201b60201c565b620000cd565b62000290565b3390565b600b80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200014a57607f821691505b6020821081036200016b57634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620001bf57600081815260208120601f850160051c810160208610156200019a5750805b601f850160051c820191505b81811015620001bb57828155600101620001a6565b5050505b505050565b81516001600160401b03811115620001e057620001e06200011f565b620001f881620001f1845462000135565b8462000171565b602080601f831160018114620002305760008415620002175750858301515b600019600386901b1c1916600185901b178555620001bb565b600085815260208120601f198616915b82811015620002615788860151825594840194600190910190840162000240565b5085821015620002805787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b61357380620002a06000396000f3fe60806040526004361061024a5760003560e01c80636c0360eb11610139578063b88d4fde116100b6578063d5abeb011161007a578063d5abeb011461071a578063d936547e14610730578063da3ef23f14610760578063e985e9c514610780578063ea236e1e146107c9578063f2fde38b146107e957600080fd5b8063b88d4fde14610685578063c5d3a107146106a5578063c6682862146106c5578063c87b56dd146106da578063d5500221146106fa57600080fd5b806395d89b41116100fd57806395d89b41146105c85780639e281a98146105dd578063a22cb465146105fd578063b57a38d91461061d578063b8189faf1461063057600080fd5b80636c0360eb1461054b57806370a0823114610560578063715018a614610580578063853828b6146105955780638da5cb5b146105aa57600080fd5b806324953eaa116101c7578063438b63001161018b578063438b6300146104a45780634f6ccce7146104d157806355f804b3146104f15780635c975abb146105115780636352211e1461052b57600080fd5b806324953eaa146104045780632bf04304146104245780632f745c59146104445780633af32abf1461046457806342842e0e1461048457600080fd5b806318160ddd1161020e57806318160ddd146103275780631e976c65146103465780631f69565f14610366578063239c70ae146103cf57806323b872dd146103e457600080fd5b806301ffc9a71461025657806302329a291461028b57806306fdde03146102ad578063081812fc146102cf578063095ea7b31461030757600080fd5b3661025157005b600080fd5b34801561026257600080fd5b50610276610271366004612c4c565b610809565b60405190151581526020015b60405180910390f35b34801561029757600080fd5b506102ab6102a6366004612c77565b610834565b005b3480156102b957600080fd5b506102c261084f565b6040516102829190612ce4565b3480156102db57600080fd5b506102ef6102ea366004612cf7565b6108e1565b6040516001600160a01b039091168152602001610282565b34801561031357600080fd5b506102ab610322366004612d25565b610908565b34801561033357600080fd5b506009545b604051908152602001610282565b34801561035257600080fd5b506102ab610361366004612d25565b610a22565b34801561037257600080fd5b50610386610381366004612d51565b610de7565b604051610282919081516001600160a01b039081168252602080840151908301526040808401519083015260608084015190830152608092830151169181019190915260a00190565b3480156103db57600080fd5b50610338600581565b3480156103f057600080fd5b506102ab6103ff366004612d6e565b610e8a565b34801561041057600080fd5b506102ab61041f366004612df6565b610ebb565b34801561043057600080fd5b506102ab61043f366004612df6565b610f66565b34801561045057600080fd5b5061033861045f366004612d25565b611011565b34801561047057600080fd5b5061027661047f366004612d51565b6110a7565b34801561049057600080fd5b506102ab61049f366004612d6e565b6110c5565b3480156104b057600080fd5b506104c46104bf366004612d51565b6110e0565b6040516102829190612ea8565b3480156104dd57600080fd5b506103386104ec366004612cf7565b611182565b3480156104fd57600080fd5b506102ab61050c366004612f44565b611215565b34801561051d57600080fd5b50601b546102769060ff1681565b34801561053757600080fd5b506102ef610546366004612cf7565b611229565b34801561055757600080fd5b506102c2611289565b34801561056c57600080fd5b5061033861057b366004612d51565b611317565b34801561058c57600080fd5b506102ab61139d565b3480156105a157600080fd5b506102ab6113b1565b3480156105b657600080fd5b50600b546001600160a01b03166102ef565b3480156105d457600080fd5b506102c26113e8565b3480156105e957600080fd5b506102ab6105f8366004612d25565b6113f7565b34801561060957600080fd5b506102ab610618366004612f8d565b6114c7565b6102ab61062b366004612cf7565b6114d2565b34801561063c57600080fd5b5060155460165460175460185461065c939291906001600160a01b031684565b604080519485526020850193909352918301526001600160a01b03166060820152608001610282565b34801561069157600080fd5b506102ab6106a0366004612fc6565b6117af565b3480156106b157600080fd5b506102ab6106c0366004612d51565b6117e7565b3480156106d157600080fd5b506102c2611850565b3480156106e657600080fd5b506102c26106f5366004612cf7565b61185d565b34801561070657600080fd5b506102ab610715366004613046565b61193b565b34801561072657600080fd5b5061033861138881565b34801561073c57600080fd5b5061027661074b366004612d51565b601c6020526000908152604090205460ff1681565b34801561076c57600080fd5b506102ab61077b366004612f44565b611994565b34801561078c57600080fd5b5061027661079b366004613087565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b3480156107d557600080fd5b506102ab6107e43660046130b5565b6119a8565b3480156107f557600080fd5b506102ab610804366004612d51565b611a4d565b60006001600160e01b0319821663780e9d6360e01b148061082e575061082e82611ac3565b92915050565b61083c611b13565b601b805460ff1916911515919091179055565b60606001805461085e9061310b565b80601f016020809104026020016040519081016040528092919081815260200182805461088a9061310b565b80156108d75780601f106108ac576101008083540402835291602001916108d7565b820191906000526020600020905b8154815290600101906020018083116108ba57829003601f168201915b5050505050905090565b60006108ec82611b6d565b506000908152600560205260409020546001600160a01b031690565b600061091382611229565b9050806001600160a01b0316836001600160a01b0316036109855760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b03821614806109a157506109a1813361079b565b610a135760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c000000606482015260840161097c565b610a1d8383611bcc565b505050565b610a2a611c3a565b601b5460ff1615610a725760405162461bcd60e51b815260206004820152601260248201527110dbdb9d1c9858dd081a5cc81c185d5cd95960721b604482015260640161097c565b600081118015610a83575060058111155b610acf5760405162461bcd60e51b815260206004820152601f60248201527f45786365656473206d6178696d756d20707572636861736520616d6f756e7400604482015260640161097c565b61138881610adc60095490565b610ae6919061315b565b1115610b2d5760405162461bcd60e51b815260206004820152601660248201527545786365656473206d6178696d756d20737570706c7960501b604482015260640161097c565b610b36336110a7565b80610b475750610b47600f83611c93565b610b935760405162461bcd60e51b815260206004820152601a60248201527f41646472657373206973206e6f742077686974656c6973746564000000000000604482015260640161097c565b610b9e600f83611c93565b610be35760405162461bcd60e51b8152602060048201526016602482015275151bdad95b881a5cc81b9bdd081cdd5c1c1bdc9d195960521b604482015260640161097c565b6001600160a01b038083166000908152600e60209081526040808320815160a08101835281548616815260018201549381019390935260028101549183019190915260038101546060830152600401549092166080830152610c44336110a7565b610c52578160200151610c58565b81604001515b9050610c648184611ca8565b8251604051636eb1769f60e11b81523360048201523060248201526001600160a01b039091169063dd62ed3e90604401602060405180830381865afa158015610cb1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cd5919061316e565b1015610d235760405162461bcd60e51b815260206004820152601760248201527f546f6b656e20616c6c6f77616e6365206e6f7420736574000000000000000000604482015260640161097c565b8015610d8f576000610d358285611ca8565b90506000610d51610d4a838660600151611ca8565b6064611cb4565b90506000610d5f8383611cc0565b9050610d718560000151333084611ccc565b8115610d8b57610d8b856000015133876080015185611ccc565b5050505b60005b83811015610dd6576000610da560095490565b9050611388610db360095490565b1015610dc357610dc33382611d37565b5080610dce81613187565b915050610d92565b505050610de36001600055565b5050565b610e2b6040518060a0016040528060006001600160a01b0316815260200160008152602001600081526020016000815260200160006001600160a01b031681525090565b506001600160a01b039081166000908152600e6020908152604091829020825160a08101845281548516815260018201549281019290925260028101549282019290925260038201546060820152600490910154909116608082015290565b610e943382611d51565b610eb05760405162461bcd60e51b815260040161097c906131a0565b610a1d838383611dd0565b610ec3611b13565b60005b8151811015610de3576000601c6000848481518110610ee757610ee76131ed565b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060006101000a81548160ff021916908315150217905550610f53828281518110610f3b57610f3b6131ed565b6020026020010151600c611f4190919063ffffffff16565b5080610f5e81613187565b915050610ec6565b610f6e611b13565b60005b8151811015610de3576001601c6000848481518110610f9257610f926131ed565b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060006101000a81548160ff021916908315150217905550610ffe828281518110610fe657610fe66131ed565b6020026020010151600c611f5690919063ffffffff16565b508061100981613187565b915050610f71565b600061101c83611317565b821061107e5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b606482015260840161097c565b506001600160a01b03919091166000908152600760209081526040808320938352929052205490565b6001600160a01b03166000908152601c602052604090205460ff1690565b610a1d838383604051806020016040528060008152506117af565b606060006110ed83611317565b905060008167ffffffffffffffff81111561110a5761110a612daf565b604051908082528060200260200182016040528015611133578160200160208202803683370190505b50905060005b8281101561117a5761114b8582611011565b82828151811061115d5761115d6131ed565b60209081029190910101528061117281613187565b915050611139565b509392505050565b600061118d60095490565b82106111f05760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b606482015260840161097c565b60098281548110611203576112036131ed565b90600052602060002001549050919050565b61121d611b13565b6019610de38282613251565b6000818152600360205260408120546001600160a01b03168061082e5760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b604482015260640161097c565b601980546112969061310b565b80601f01602080910402602001604051908101604052809291908181526020018280546112c29061310b565b801561130f5780601f106112e45761010080835404028352916020019161130f565b820191906000526020600020905b8154815290600101906020018083116112f257829003601f168201915b505050505081565b60006001600160a01b0382166113815760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b606482015260840161097c565b506001600160a01b031660009081526004602052604090205490565b6113a5611b13565b6113af6000611f6b565b565b6113b9611b13565b6040514790339082156108fc029083906000818181858888f19350505050158015610de3573d6000803e3d6000fd5b60606002805461085e9061310b565b6113ff611b13565b6040516370a0823160e01b81523060048201526000906001600160a01b038416906370a0823190602401602060405180830381865afa158015611446573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061146a919061316e565b9050808211156114bc5760405162461bcd60e51b815260206004820152601a60248201527f496e73756666696369656e7420746f6b656e2062616c616e6365000000000000604482015260640161097c565b610a1d833384611fbd565b610de3338383611fed565b6114da611c3a565b601b5460ff16156115225760405162461bcd60e51b815260206004820152601260248201527110dbdb9d1c9858dd081a5cc81c185d5cd95960721b604482015260640161097c565b600081118015611533575060058111155b61157f5760405162461bcd60e51b815260206004820152601f60248201527f45786365656473206d6178696d756d20707572636861736520616d6f756e7400604482015260640161097c565b6113888161158c60095490565b611596919061315b565b11156115dd5760405162461bcd60e51b815260206004820152601660248201527545786365656473206d6178696d756d20737570706c7960501b604482015260640161097c565b6115e6336110a7565b806115f2575060155415155b61163e5760405162461bcd60e51b815260206004820152601a60248201527f41646472657373206973206e6f742077686974656c6973746564000000000000604482015260640161097c565b60155460009061164e9083611ca8565b9050611659336110a7565b1561166e5760165461166b9083611ca8565b90505b600061169461271061168e60156002015485611ca890919063ffffffff16565b90611cb4565b6018546040519192506001600160a01b03169082156108fc029083906000818181858888f193505050501580156116cf573d6000803e3d6000fd5b5060006116dc3483611cc0565b116117215760405162461bcd60e51b8152602060048201526015602482015274125b9cdd59999a58da595b9d08115512081cd95b9d605a1b604482015260640161097c565b306108fc61172f3484611cc0565b6040518115909202916000818181858888f19350505050158015611757573d6000803e3d6000fd5b5060005b8381101561179f57600061176e60095490565b905061138861177c60095490565b101561178c5761178c3382611d37565b508061179781613187565b91505061175b565b5050506117ac6001600055565b50565b6117b93383611d51565b6117d55760405162461bcd60e51b815260040161097c906131a0565b6117e1848484846120bb565b50505050565b6117ef611b13565b6117fa600f826120ee565b506118066012826120ee565b506001600160a01b03166000908152600e6020526040812080546001600160a01b031990811682556001820183905560028201839055600382019290925560040180549091169055565b601a80546112969061310b565b6000818152600360205260409020546060906001600160a01b03166118dc5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b606482015260840161097c565b60006118e6612103565b905060008151116119065760405180602001604052806000815250611934565b8061191084612112565b601a60405160200161192493929190613311565b6040516020818303038152906040525b9392505050565b611943611b13565b60408051608081018252858152602081018590529081018390526001600160a01b039091166060909101819052601593909355601691909155601755601880546001600160a01b0319169091179055565b61199c611b13565b601a610de38282613251565b6119b0611b13565b6119bc600f86866121a5565b506119c9601286856121a5565b506040805160a0810182526001600160a01b03968716808252602080830197885282840196875260608301958652938816608083019081526000918252600e90945291909120905181549087166001600160a01b03199182161782559451600182015592516002840155905160038301555160049091018054919093169116179055565b611a55611b13565b6001600160a01b038116611aba5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161097c565b6117ac81611f6b565b60006001600160e01b031982166380ac58cd60e01b1480611af457506001600160e01b03198216635b5e139f60e01b145b8061082e57506301ffc9a760e01b6001600160e01b031983161461082e565b600b546001600160a01b031633146113af5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161097c565b6000818152600360205260409020546001600160a01b03166117ac5760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b604482015260640161097c565b600081815260056020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611c0182611229565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600260005403611c8c5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640161097c565b6002600055565b6000611934836001600160a01b0384166121bb565b600061193482846133b1565b600061193482846133c8565b600061193482846133ea565b6040516001600160a01b03808516602483015283166044820152606481018290526117e19085906323b872dd60e01b906084015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b0319909316929092179091526121c7565b610de3828260405180602001604052806000815250612299565b600080611d5d83611229565b9050806001600160a01b0316846001600160a01b03161480611da457506001600160a01b0380821660009081526006602090815260408083209388168352929052205460ff165b80611dc85750836001600160a01b0316611dbd846108e1565b6001600160a01b0316145b949350505050565b826001600160a01b0316611de382611229565b6001600160a01b031614611e095760405162461bcd60e51b815260040161097c906133fd565b6001600160a01b038216611e6b5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161097c565b611e7883838360016122cc565b826001600160a01b0316611e8b82611229565b6001600160a01b031614611eb15760405162461bcd60e51b815260040161097c906133fd565b600081815260056020908152604080832080546001600160a01b03199081169091556001600160a01b0387811680865260048552838620805460001901905590871680865283862080546001019055868652600390945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6000611934836001600160a01b038416612400565b6000611934836001600160a01b0384166124f3565b600b80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6040516001600160a01b038316602482015260448101829052610a1d90849063a9059cbb60e01b90606401611d00565b816001600160a01b0316836001600160a01b03160361204e5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161097c565b6001600160a01b03838116600081815260066020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6120c6848484611dd0565b6120d284848484612542565b6117e15760405162461bcd60e51b815260040161097c90613442565b6000611934836001600160a01b038416612643565b60606019805461085e9061310b565b6060600061211f83612660565b600101905060008167ffffffffffffffff81111561213f5761213f612daf565b6040519080825280601f01601f191660200182016040528015612169576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461217357509392505050565b6000611dc8846001600160a01b03851684612738565b60006119348383612755565b600061221c826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b031661276d9092919063ffffffff16565b805190915015610a1d578080602001905181019061223a9190613494565b610a1d5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b606482015260840161097c565b6122a3838361277c565b6122b06000848484612542565b610a1d5760405162461bcd60e51b815260040161097c90613442565b600181111561233b5760405162461bcd60e51b815260206004820152603560248201527f455243373231456e756d657261626c653a20636f6e7365637574697665207472604482015274185b9cd9995c9cc81b9bdd081cdd5c1c1bdc9d1959605a1b606482015260840161097c565b816001600160a01b0385166123975761239281600980546000838152600a60205260408120829055600182018355919091527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af0155565b6123ba565b836001600160a01b0316856001600160a01b0316146123ba576123ba8582612915565b6001600160a01b0384166123d6576123d1816129b2565b6123f9565b846001600160a01b0316846001600160a01b0316146123f9576123f98482612a61565b5050505050565b600081815260018301602052604081205480156124e95760006124246001836133ea565b8554909150600090612438906001906133ea565b905081811461249d576000866000018281548110612458576124586131ed565b906000526020600020015490508087600001848154811061247b5761247b6131ed565b6000918252602080832090910192909255918252600188019052604090208390555b85548690806124ae576124ae6134b1565b60019003818190600052602060002001600090559055856001016000868152602001908152602001600020600090556001935050505061082e565b600091505061082e565b600081815260018301602052604081205461253a5750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915561082e565b50600061082e565b60006001600160a01b0384163b1561263857604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906125869033908990889088906004016134c7565b6020604051808303816000875af19250505080156125c1575060408051601f3d908101601f191682019092526125be91810190613504565b60015b61261e573d8080156125ef576040519150601f19603f3d011682016040523d82523d6000602084013e6125f4565b606091505b5080516000036126165760405162461bcd60e51b815260040161097c90613442565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611dc8565b506001949350505050565b600081815260028301602052604081208190556119348383612aa5565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b831061269f5772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef810000000083106126cb576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc1000083106126e957662386f26fc10000830492506010015b6305f5e1008310612701576305f5e100830492506008015b612710831061271557612710830492506004015b60648310612727576064830492506002015b600a831061082e5760010192915050565b60008281526002840160205260408120829055611dc88484612ab1565b60008181526001830160205260408120541515611934565b6060611dc88484600085612abd565b6001600160a01b0382166127d25760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161097c565b6000818152600360205260409020546001600160a01b0316156128375760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161097c565b6128456000838360016122cc565b6000818152600360205260409020546001600160a01b0316156128aa5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161097c565b6001600160a01b038216600081815260046020908152604080832080546001019055848352600390915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6000600161292284611317565b61292c91906133ea565b60008381526008602052604090205490915080821461297f576001600160a01b03841660009081526007602090815260408083208584528252808320548484528184208190558352600890915290208190555b5060009182526008602090815260408084208490556001600160a01b039094168352600781528383209183525290812055565b6009546000906129c4906001906133ea565b6000838152600a6020526040812054600980549394509092849081106129ec576129ec6131ed565b906000526020600020015490508060098381548110612a0d57612a0d6131ed565b6000918252602080832090910192909255828152600a90915260408082208490558582528120556009805480612a4557612a456134b1565b6001900381819060005260206000200160009055905550505050565b6000612a6c83611317565b6001600160a01b039093166000908152600760209081526040808320868452825280832085905593825260089052919091209190915550565b60006119348383612400565b600061193483836124f3565b606082471015612b1e5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b606482015260840161097c565b600080866001600160a01b03168587604051612b3a9190613521565b60006040518083038185875af1925050503d8060008114612b77576040519150601f19603f3d011682016040523d82523d6000602084013e612b7c565b606091505b5091509150612b8d87838387612b98565b979650505050505050565b60608315612c07578251600003612c00576001600160a01b0385163b612c005760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015260640161097c565b5081611dc8565b611dc88383815115612c1c5781518083602001fd5b8060405162461bcd60e51b815260040161097c9190612ce4565b6001600160e01b0319811681146117ac57600080fd5b600060208284031215612c5e57600080fd5b813561193481612c36565b80151581146117ac57600080fd5b600060208284031215612c8957600080fd5b813561193481612c69565b60005b83811015612caf578181015183820152602001612c97565b50506000910152565b60008151808452612cd0816020860160208601612c94565b601f01601f19169290920160200192915050565b6020815260006119346020830184612cb8565b600060208284031215612d0957600080fd5b5035919050565b6001600160a01b03811681146117ac57600080fd5b60008060408385031215612d3857600080fd5b8235612d4381612d10565b946020939093013593505050565b600060208284031215612d6357600080fd5b813561193481612d10565b600080600060608486031215612d8357600080fd5b8335612d8e81612d10565b92506020840135612d9e81612d10565b929592945050506040919091013590565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715612dee57612dee612daf565b604052919050565b60006020808385031215612e0957600080fd5b823567ffffffffffffffff80821115612e2157600080fd5b818501915085601f830112612e3557600080fd5b813581811115612e4757612e47612daf565b8060051b9150612e58848301612dc5565b8181529183018401918481019088841115612e7257600080fd5b938501935b83851015612e9c5784359250612e8c83612d10565b8282529385019390850190612e77565b98975050505050505050565b6020808252825182820181905260009190848201906040850190845b81811015612ee057835183529284019291840191600101612ec4565b50909695505050505050565b600067ffffffffffffffff831115612f0657612f06612daf565b612f19601f8401601f1916602001612dc5565b9050828152838383011115612f2d57600080fd5b828260208301376000602084830101529392505050565b600060208284031215612f5657600080fd5b813567ffffffffffffffff811115612f6d57600080fd5b8201601f81018413612f7e57600080fd5b611dc884823560208401612eec565b60008060408385031215612fa057600080fd5b8235612fab81612d10565b91506020830135612fbb81612c69565b809150509250929050565b60008060008060808587031215612fdc57600080fd5b8435612fe781612d10565b93506020850135612ff781612d10565b925060408501359150606085013567ffffffffffffffff81111561301a57600080fd5b8501601f8101871361302b57600080fd5b61303a87823560208401612eec565b91505092959194509250565b6000806000806080858703121561305c57600080fd5b843593506020850135925060408501359150606085013561307c81612d10565b939692955090935050565b6000806040838503121561309a57600080fd5b82356130a581612d10565b91506020830135612fbb81612d10565b600080600080600060a086880312156130cd57600080fd5b85356130d881612d10565b945060208601359350604086013592506060860135915060808601356130fd81612d10565b809150509295509295909350565b600181811c9082168061311f57607f821691505b60208210810361313f57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561082e5761082e613145565b60006020828403121561318057600080fd5b5051919050565b60006001820161319957613199613145565b5060010190565b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b601f821115610a1d57600081815260208120601f850160051c8101602086101561322a5750805b601f850160051c820191505b8181101561324957828155600101613236565b505050505050565b815167ffffffffffffffff81111561326b5761326b612daf565b61327f81613279845461310b565b84613203565b602080601f8311600181146132b4576000841561329c5750858301515b600019600386901b1c1916600185901b178555613249565b600085815260208120601f198616915b828110156132e3578886015182559484019460019091019084016132c4565b50858210156133015787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000845160206133248285838a01612c94565b8551918401916133378184848a01612c94565b85549201916000906133488161310b565b600182811680156133605760018114613375576133a1565b60ff19841687528215158302870194506133a1565b896000528560002060005b8481101561339957815489820152908301908701613380565b505082870194505b50929a9950505050505050505050565b808202811582820484141761082e5761082e613145565b6000826133e557634e487b7160e01b600052601260045260246000fd5b500490565b8181038181111561082e5761082e613145565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6000602082840312156134a657600080fd5b815161193481612c69565b634e487b7160e01b600052603160045260246000fd5b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906134fa90830184612cb8565b9695505050505050565b60006020828403121561351657600080fd5b815161193481612c36565b60008251613533818460208701612c94565b919091019291505056fea26469706673582212200a17a7225ae79f24742d9e968847e891edcde04ce50250b9805e1552ab6f265a64736f6c63430008120033
Deployed Bytecode
0x60806040526004361061024a5760003560e01c80636c0360eb11610139578063b88d4fde116100b6578063d5abeb011161007a578063d5abeb011461071a578063d936547e14610730578063da3ef23f14610760578063e985e9c514610780578063ea236e1e146107c9578063f2fde38b146107e957600080fd5b8063b88d4fde14610685578063c5d3a107146106a5578063c6682862146106c5578063c87b56dd146106da578063d5500221146106fa57600080fd5b806395d89b41116100fd57806395d89b41146105c85780639e281a98146105dd578063a22cb465146105fd578063b57a38d91461061d578063b8189faf1461063057600080fd5b80636c0360eb1461054b57806370a0823114610560578063715018a614610580578063853828b6146105955780638da5cb5b146105aa57600080fd5b806324953eaa116101c7578063438b63001161018b578063438b6300146104a45780634f6ccce7146104d157806355f804b3146104f15780635c975abb146105115780636352211e1461052b57600080fd5b806324953eaa146104045780632bf04304146104245780632f745c59146104445780633af32abf1461046457806342842e0e1461048457600080fd5b806318160ddd1161020e57806318160ddd146103275780631e976c65146103465780631f69565f14610366578063239c70ae146103cf57806323b872dd146103e457600080fd5b806301ffc9a71461025657806302329a291461028b57806306fdde03146102ad578063081812fc146102cf578063095ea7b31461030757600080fd5b3661025157005b600080fd5b34801561026257600080fd5b50610276610271366004612c4c565b610809565b60405190151581526020015b60405180910390f35b34801561029757600080fd5b506102ab6102a6366004612c77565b610834565b005b3480156102b957600080fd5b506102c261084f565b6040516102829190612ce4565b3480156102db57600080fd5b506102ef6102ea366004612cf7565b6108e1565b6040516001600160a01b039091168152602001610282565b34801561031357600080fd5b506102ab610322366004612d25565b610908565b34801561033357600080fd5b506009545b604051908152602001610282565b34801561035257600080fd5b506102ab610361366004612d25565b610a22565b34801561037257600080fd5b50610386610381366004612d51565b610de7565b604051610282919081516001600160a01b039081168252602080840151908301526040808401519083015260608084015190830152608092830151169181019190915260a00190565b3480156103db57600080fd5b50610338600581565b3480156103f057600080fd5b506102ab6103ff366004612d6e565b610e8a565b34801561041057600080fd5b506102ab61041f366004612df6565b610ebb565b34801561043057600080fd5b506102ab61043f366004612df6565b610f66565b34801561045057600080fd5b5061033861045f366004612d25565b611011565b34801561047057600080fd5b5061027661047f366004612d51565b6110a7565b34801561049057600080fd5b506102ab61049f366004612d6e565b6110c5565b3480156104b057600080fd5b506104c46104bf366004612d51565b6110e0565b6040516102829190612ea8565b3480156104dd57600080fd5b506103386104ec366004612cf7565b611182565b3480156104fd57600080fd5b506102ab61050c366004612f44565b611215565b34801561051d57600080fd5b50601b546102769060ff1681565b34801561053757600080fd5b506102ef610546366004612cf7565b611229565b34801561055757600080fd5b506102c2611289565b34801561056c57600080fd5b5061033861057b366004612d51565b611317565b34801561058c57600080fd5b506102ab61139d565b3480156105a157600080fd5b506102ab6113b1565b3480156105b657600080fd5b50600b546001600160a01b03166102ef565b3480156105d457600080fd5b506102c26113e8565b3480156105e957600080fd5b506102ab6105f8366004612d25565b6113f7565b34801561060957600080fd5b506102ab610618366004612f8d565b6114c7565b6102ab61062b366004612cf7565b6114d2565b34801561063c57600080fd5b5060155460165460175460185461065c939291906001600160a01b031684565b604080519485526020850193909352918301526001600160a01b03166060820152608001610282565b34801561069157600080fd5b506102ab6106a0366004612fc6565b6117af565b3480156106b157600080fd5b506102ab6106c0366004612d51565b6117e7565b3480156106d157600080fd5b506102c2611850565b3480156106e657600080fd5b506102c26106f5366004612cf7565b61185d565b34801561070657600080fd5b506102ab610715366004613046565b61193b565b34801561072657600080fd5b5061033861138881565b34801561073c57600080fd5b5061027661074b366004612d51565b601c6020526000908152604090205460ff1681565b34801561076c57600080fd5b506102ab61077b366004612f44565b611994565b34801561078c57600080fd5b5061027661079b366004613087565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b3480156107d557600080fd5b506102ab6107e43660046130b5565b6119a8565b3480156107f557600080fd5b506102ab610804366004612d51565b611a4d565b60006001600160e01b0319821663780e9d6360e01b148061082e575061082e82611ac3565b92915050565b61083c611b13565b601b805460ff1916911515919091179055565b60606001805461085e9061310b565b80601f016020809104026020016040519081016040528092919081815260200182805461088a9061310b565b80156108d75780601f106108ac576101008083540402835291602001916108d7565b820191906000526020600020905b8154815290600101906020018083116108ba57829003601f168201915b5050505050905090565b60006108ec82611b6d565b506000908152600560205260409020546001600160a01b031690565b600061091382611229565b9050806001600160a01b0316836001600160a01b0316036109855760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b03821614806109a157506109a1813361079b565b610a135760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c000000606482015260840161097c565b610a1d8383611bcc565b505050565b610a2a611c3a565b601b5460ff1615610a725760405162461bcd60e51b815260206004820152601260248201527110dbdb9d1c9858dd081a5cc81c185d5cd95960721b604482015260640161097c565b600081118015610a83575060058111155b610acf5760405162461bcd60e51b815260206004820152601f60248201527f45786365656473206d6178696d756d20707572636861736520616d6f756e7400604482015260640161097c565b61138881610adc60095490565b610ae6919061315b565b1115610b2d5760405162461bcd60e51b815260206004820152601660248201527545786365656473206d6178696d756d20737570706c7960501b604482015260640161097c565b610b36336110a7565b80610b475750610b47600f83611c93565b610b935760405162461bcd60e51b815260206004820152601a60248201527f41646472657373206973206e6f742077686974656c6973746564000000000000604482015260640161097c565b610b9e600f83611c93565b610be35760405162461bcd60e51b8152602060048201526016602482015275151bdad95b881a5cc81b9bdd081cdd5c1c1bdc9d195960521b604482015260640161097c565b6001600160a01b038083166000908152600e60209081526040808320815160a08101835281548616815260018201549381019390935260028101549183019190915260038101546060830152600401549092166080830152610c44336110a7565b610c52578160200151610c58565b81604001515b9050610c648184611ca8565b8251604051636eb1769f60e11b81523360048201523060248201526001600160a01b039091169063dd62ed3e90604401602060405180830381865afa158015610cb1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cd5919061316e565b1015610d235760405162461bcd60e51b815260206004820152601760248201527f546f6b656e20616c6c6f77616e6365206e6f7420736574000000000000000000604482015260640161097c565b8015610d8f576000610d358285611ca8565b90506000610d51610d4a838660600151611ca8565b6064611cb4565b90506000610d5f8383611cc0565b9050610d718560000151333084611ccc565b8115610d8b57610d8b856000015133876080015185611ccc565b5050505b60005b83811015610dd6576000610da560095490565b9050611388610db360095490565b1015610dc357610dc33382611d37565b5080610dce81613187565b915050610d92565b505050610de36001600055565b5050565b610e2b6040518060a0016040528060006001600160a01b0316815260200160008152602001600081526020016000815260200160006001600160a01b031681525090565b506001600160a01b039081166000908152600e6020908152604091829020825160a08101845281548516815260018201549281019290925260028101549282019290925260038201546060820152600490910154909116608082015290565b610e943382611d51565b610eb05760405162461bcd60e51b815260040161097c906131a0565b610a1d838383611dd0565b610ec3611b13565b60005b8151811015610de3576000601c6000848481518110610ee757610ee76131ed565b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060006101000a81548160ff021916908315150217905550610f53828281518110610f3b57610f3b6131ed565b6020026020010151600c611f4190919063ffffffff16565b5080610f5e81613187565b915050610ec6565b610f6e611b13565b60005b8151811015610de3576001601c6000848481518110610f9257610f926131ed565b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060006101000a81548160ff021916908315150217905550610ffe828281518110610fe657610fe66131ed565b6020026020010151600c611f5690919063ffffffff16565b508061100981613187565b915050610f71565b600061101c83611317565b821061107e5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b606482015260840161097c565b506001600160a01b03919091166000908152600760209081526040808320938352929052205490565b6001600160a01b03166000908152601c602052604090205460ff1690565b610a1d838383604051806020016040528060008152506117af565b606060006110ed83611317565b905060008167ffffffffffffffff81111561110a5761110a612daf565b604051908082528060200260200182016040528015611133578160200160208202803683370190505b50905060005b8281101561117a5761114b8582611011565b82828151811061115d5761115d6131ed565b60209081029190910101528061117281613187565b915050611139565b509392505050565b600061118d60095490565b82106111f05760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b606482015260840161097c565b60098281548110611203576112036131ed565b90600052602060002001549050919050565b61121d611b13565b6019610de38282613251565b6000818152600360205260408120546001600160a01b03168061082e5760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b604482015260640161097c565b601980546112969061310b565b80601f01602080910402602001604051908101604052809291908181526020018280546112c29061310b565b801561130f5780601f106112e45761010080835404028352916020019161130f565b820191906000526020600020905b8154815290600101906020018083116112f257829003601f168201915b505050505081565b60006001600160a01b0382166113815760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b606482015260840161097c565b506001600160a01b031660009081526004602052604090205490565b6113a5611b13565b6113af6000611f6b565b565b6113b9611b13565b6040514790339082156108fc029083906000818181858888f19350505050158015610de3573d6000803e3d6000fd5b60606002805461085e9061310b565b6113ff611b13565b6040516370a0823160e01b81523060048201526000906001600160a01b038416906370a0823190602401602060405180830381865afa158015611446573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061146a919061316e565b9050808211156114bc5760405162461bcd60e51b815260206004820152601a60248201527f496e73756666696369656e7420746f6b656e2062616c616e6365000000000000604482015260640161097c565b610a1d833384611fbd565b610de3338383611fed565b6114da611c3a565b601b5460ff16156115225760405162461bcd60e51b815260206004820152601260248201527110dbdb9d1c9858dd081a5cc81c185d5cd95960721b604482015260640161097c565b600081118015611533575060058111155b61157f5760405162461bcd60e51b815260206004820152601f60248201527f45786365656473206d6178696d756d20707572636861736520616d6f756e7400604482015260640161097c565b6113888161158c60095490565b611596919061315b565b11156115dd5760405162461bcd60e51b815260206004820152601660248201527545786365656473206d6178696d756d20737570706c7960501b604482015260640161097c565b6115e6336110a7565b806115f2575060155415155b61163e5760405162461bcd60e51b815260206004820152601a60248201527f41646472657373206973206e6f742077686974656c6973746564000000000000604482015260640161097c565b60155460009061164e9083611ca8565b9050611659336110a7565b1561166e5760165461166b9083611ca8565b90505b600061169461271061168e60156002015485611ca890919063ffffffff16565b90611cb4565b6018546040519192506001600160a01b03169082156108fc029083906000818181858888f193505050501580156116cf573d6000803e3d6000fd5b5060006116dc3483611cc0565b116117215760405162461bcd60e51b8152602060048201526015602482015274125b9cdd59999a58da595b9d08115512081cd95b9d605a1b604482015260640161097c565b306108fc61172f3484611cc0565b6040518115909202916000818181858888f19350505050158015611757573d6000803e3d6000fd5b5060005b8381101561179f57600061176e60095490565b905061138861177c60095490565b101561178c5761178c3382611d37565b508061179781613187565b91505061175b565b5050506117ac6001600055565b50565b6117b93383611d51565b6117d55760405162461bcd60e51b815260040161097c906131a0565b6117e1848484846120bb565b50505050565b6117ef611b13565b6117fa600f826120ee565b506118066012826120ee565b506001600160a01b03166000908152600e6020526040812080546001600160a01b031990811682556001820183905560028201839055600382019290925560040180549091169055565b601a80546112969061310b565b6000818152600360205260409020546060906001600160a01b03166118dc5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b606482015260840161097c565b60006118e6612103565b905060008151116119065760405180602001604052806000815250611934565b8061191084612112565b601a60405160200161192493929190613311565b6040516020818303038152906040525b9392505050565b611943611b13565b60408051608081018252858152602081018590529081018390526001600160a01b039091166060909101819052601593909355601691909155601755601880546001600160a01b0319169091179055565b61199c611b13565b601a610de38282613251565b6119b0611b13565b6119bc600f86866121a5565b506119c9601286856121a5565b506040805160a0810182526001600160a01b03968716808252602080830197885282840196875260608301958652938816608083019081526000918252600e90945291909120905181549087166001600160a01b03199182161782559451600182015592516002840155905160038301555160049091018054919093169116179055565b611a55611b13565b6001600160a01b038116611aba5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161097c565b6117ac81611f6b565b60006001600160e01b031982166380ac58cd60e01b1480611af457506001600160e01b03198216635b5e139f60e01b145b8061082e57506301ffc9a760e01b6001600160e01b031983161461082e565b600b546001600160a01b031633146113af5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161097c565b6000818152600360205260409020546001600160a01b03166117ac5760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b604482015260640161097c565b600081815260056020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611c0182611229565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600260005403611c8c5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640161097c565b6002600055565b6000611934836001600160a01b0384166121bb565b600061193482846133b1565b600061193482846133c8565b600061193482846133ea565b6040516001600160a01b03808516602483015283166044820152606481018290526117e19085906323b872dd60e01b906084015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b0319909316929092179091526121c7565b610de3828260405180602001604052806000815250612299565b600080611d5d83611229565b9050806001600160a01b0316846001600160a01b03161480611da457506001600160a01b0380821660009081526006602090815260408083209388168352929052205460ff165b80611dc85750836001600160a01b0316611dbd846108e1565b6001600160a01b0316145b949350505050565b826001600160a01b0316611de382611229565b6001600160a01b031614611e095760405162461bcd60e51b815260040161097c906133fd565b6001600160a01b038216611e6b5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161097c565b611e7883838360016122cc565b826001600160a01b0316611e8b82611229565b6001600160a01b031614611eb15760405162461bcd60e51b815260040161097c906133fd565b600081815260056020908152604080832080546001600160a01b03199081169091556001600160a01b0387811680865260048552838620805460001901905590871680865283862080546001019055868652600390945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6000611934836001600160a01b038416612400565b6000611934836001600160a01b0384166124f3565b600b80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6040516001600160a01b038316602482015260448101829052610a1d90849063a9059cbb60e01b90606401611d00565b816001600160a01b0316836001600160a01b03160361204e5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161097c565b6001600160a01b03838116600081815260066020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6120c6848484611dd0565b6120d284848484612542565b6117e15760405162461bcd60e51b815260040161097c90613442565b6000611934836001600160a01b038416612643565b60606019805461085e9061310b565b6060600061211f83612660565b600101905060008167ffffffffffffffff81111561213f5761213f612daf565b6040519080825280601f01601f191660200182016040528015612169576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461217357509392505050565b6000611dc8846001600160a01b03851684612738565b60006119348383612755565b600061221c826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b031661276d9092919063ffffffff16565b805190915015610a1d578080602001905181019061223a9190613494565b610a1d5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b606482015260840161097c565b6122a3838361277c565b6122b06000848484612542565b610a1d5760405162461bcd60e51b815260040161097c90613442565b600181111561233b5760405162461bcd60e51b815260206004820152603560248201527f455243373231456e756d657261626c653a20636f6e7365637574697665207472604482015274185b9cd9995c9cc81b9bdd081cdd5c1c1bdc9d1959605a1b606482015260840161097c565b816001600160a01b0385166123975761239281600980546000838152600a60205260408120829055600182018355919091527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af0155565b6123ba565b836001600160a01b0316856001600160a01b0316146123ba576123ba8582612915565b6001600160a01b0384166123d6576123d1816129b2565b6123f9565b846001600160a01b0316846001600160a01b0316146123f9576123f98482612a61565b5050505050565b600081815260018301602052604081205480156124e95760006124246001836133ea565b8554909150600090612438906001906133ea565b905081811461249d576000866000018281548110612458576124586131ed565b906000526020600020015490508087600001848154811061247b5761247b6131ed565b6000918252602080832090910192909255918252600188019052604090208390555b85548690806124ae576124ae6134b1565b60019003818190600052602060002001600090559055856001016000868152602001908152602001600020600090556001935050505061082e565b600091505061082e565b600081815260018301602052604081205461253a5750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915561082e565b50600061082e565b60006001600160a01b0384163b1561263857604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906125869033908990889088906004016134c7565b6020604051808303816000875af19250505080156125c1575060408051601f3d908101601f191682019092526125be91810190613504565b60015b61261e573d8080156125ef576040519150601f19603f3d011682016040523d82523d6000602084013e6125f4565b606091505b5080516000036126165760405162461bcd60e51b815260040161097c90613442565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611dc8565b506001949350505050565b600081815260028301602052604081208190556119348383612aa5565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b831061269f5772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef810000000083106126cb576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc1000083106126e957662386f26fc10000830492506010015b6305f5e1008310612701576305f5e100830492506008015b612710831061271557612710830492506004015b60648310612727576064830492506002015b600a831061082e5760010192915050565b60008281526002840160205260408120829055611dc88484612ab1565b60008181526001830160205260408120541515611934565b6060611dc88484600085612abd565b6001600160a01b0382166127d25760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161097c565b6000818152600360205260409020546001600160a01b0316156128375760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161097c565b6128456000838360016122cc565b6000818152600360205260409020546001600160a01b0316156128aa5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161097c565b6001600160a01b038216600081815260046020908152604080832080546001019055848352600390915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6000600161292284611317565b61292c91906133ea565b60008381526008602052604090205490915080821461297f576001600160a01b03841660009081526007602090815260408083208584528252808320548484528184208190558352600890915290208190555b5060009182526008602090815260408084208490556001600160a01b039094168352600781528383209183525290812055565b6009546000906129c4906001906133ea565b6000838152600a6020526040812054600980549394509092849081106129ec576129ec6131ed565b906000526020600020015490508060098381548110612a0d57612a0d6131ed565b6000918252602080832090910192909255828152600a90915260408082208490558582528120556009805480612a4557612a456134b1565b6001900381819060005260206000200160009055905550505050565b6000612a6c83611317565b6001600160a01b039093166000908152600760209081526040808320868452825280832085905593825260089052919091209190915550565b60006119348383612400565b600061193483836124f3565b606082471015612b1e5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b606482015260840161097c565b600080866001600160a01b03168587604051612b3a9190613521565b60006040518083038185875af1925050503d8060008114612b77576040519150601f19603f3d011682016040523d82523d6000602084013e612b7c565b606091505b5091509150612b8d87838387612b98565b979650505050505050565b60608315612c07578251600003612c00576001600160a01b0385163b612c005760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015260640161097c565b5081611dc8565b611dc88383815115612c1c5781518083602001fd5b8060405162461bcd60e51b815260040161097c9190612ce4565b6001600160e01b0319811681146117ac57600080fd5b600060208284031215612c5e57600080fd5b813561193481612c36565b80151581146117ac57600080fd5b600060208284031215612c8957600080fd5b813561193481612c69565b60005b83811015612caf578181015183820152602001612c97565b50506000910152565b60008151808452612cd0816020860160208601612c94565b601f01601f19169290920160200192915050565b6020815260006119346020830184612cb8565b600060208284031215612d0957600080fd5b5035919050565b6001600160a01b03811681146117ac57600080fd5b60008060408385031215612d3857600080fd5b8235612d4381612d10565b946020939093013593505050565b600060208284031215612d6357600080fd5b813561193481612d10565b600080600060608486031215612d8357600080fd5b8335612d8e81612d10565b92506020840135612d9e81612d10565b929592945050506040919091013590565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715612dee57612dee612daf565b604052919050565b60006020808385031215612e0957600080fd5b823567ffffffffffffffff80821115612e2157600080fd5b818501915085601f830112612e3557600080fd5b813581811115612e4757612e47612daf565b8060051b9150612e58848301612dc5565b8181529183018401918481019088841115612e7257600080fd5b938501935b83851015612e9c5784359250612e8c83612d10565b8282529385019390850190612e77565b98975050505050505050565b6020808252825182820181905260009190848201906040850190845b81811015612ee057835183529284019291840191600101612ec4565b50909695505050505050565b600067ffffffffffffffff831115612f0657612f06612daf565b612f19601f8401601f1916602001612dc5565b9050828152838383011115612f2d57600080fd5b828260208301376000602084830101529392505050565b600060208284031215612f5657600080fd5b813567ffffffffffffffff811115612f6d57600080fd5b8201601f81018413612f7e57600080fd5b611dc884823560208401612eec565b60008060408385031215612fa057600080fd5b8235612fab81612d10565b91506020830135612fbb81612c69565b809150509250929050565b60008060008060808587031215612fdc57600080fd5b8435612fe781612d10565b93506020850135612ff781612d10565b925060408501359150606085013567ffffffffffffffff81111561301a57600080fd5b8501601f8101871361302b57600080fd5b61303a87823560208401612eec565b91505092959194509250565b6000806000806080858703121561305c57600080fd5b843593506020850135925060408501359150606085013561307c81612d10565b939692955090935050565b6000806040838503121561309a57600080fd5b82356130a581612d10565b91506020830135612fbb81612d10565b600080600080600060a086880312156130cd57600080fd5b85356130d881612d10565b945060208601359350604086013592506060860135915060808601356130fd81612d10565b809150509295509295909350565b600181811c9082168061311f57607f821691505b60208210810361313f57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561082e5761082e613145565b60006020828403121561318057600080fd5b5051919050565b60006001820161319957613199613145565b5060010190565b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b601f821115610a1d57600081815260208120601f850160051c8101602086101561322a5750805b601f850160051c820191505b8181101561324957828155600101613236565b505050505050565b815167ffffffffffffffff81111561326b5761326b612daf565b61327f81613279845461310b565b84613203565b602080601f8311600181146132b4576000841561329c5750858301515b600019600386901b1c1916600185901b178555613249565b600085815260208120601f198616915b828110156132e3578886015182559484019460019091019084016132c4565b50858210156133015787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000845160206133248285838a01612c94565b8551918401916133378184848a01612c94565b85549201916000906133488161310b565b600182811680156133605760018114613375576133a1565b60ff19841687528215158302870194506133a1565b896000528560002060005b8481101561339957815489820152908301908701613380565b505082870194505b50929a9950505050505050505050565b808202811582820484141761082e5761082e613145565b6000826133e557634e487b7160e01b600052601260045260246000fd5b500490565b8181038181111561082e5761082e613145565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6000602082840312156134a657600080fd5b815161193481612c69565b634e487b7160e01b600052603160045260246000fd5b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906134fa90830184612cb8565b9695505050505050565b60006020828403121561351657600080fd5b815161193481612c36565b60008251613533818460208701612c94565b919091019291505056fea26469706673582212200a17a7225ae79f24742d9e968847e891edcde04ce50250b9805e1552ab6f265a64736f6c63430008120033
Deployed Bytecode Sourcemap
114985:8000:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;105776:224;;;;;;;;;;-1:-1:-1;105776:224:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;105776:224:0;;;;;;;;118918:75;;;;;;;;;;-1:-1:-1;118918:75:0;;;;;:::i;:::-;;:::i;:::-;;89483:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;90995:171::-;;;;;;;;;;-1:-1:-1;90995:171:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;2066:32:1;;;2048:51;;2036:2;2021:18;90995:171:0;1902:203:1;90513:416:0;;;;;;;;;;-1:-1:-1;90513:416:0;;;;;:::i;:::-;;:::i;106416:113::-;;;;;;;;;;-1:-1:-1;106504:10:0;:17;106416:113;;;2712:25:1;;;2700:2;2685:18;106416:113:0;2566:177:1;119644:1721:0;;;;;;;;;;-1:-1:-1;119644:1721:0;;;;;:::i;:::-;;:::i;118109:134::-;;;;;;;;;;-1:-1:-1;118109: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;116093:41:0;;;;;;;;;;;;116133:1;116093:41;;91695:335;;;;;;;;;;-1:-1:-1;91695:335:0;;;;;:::i;:::-;;:::i;119254:259::-;;;;;;;;;;-1:-1:-1;119254:259:0;;;;;:::i;:::-;;:::i;119001:245::-;;;;;;;;;;-1:-1:-1;119001:245:0;;;;;:::i;:::-;;:::i;106084:256::-;;;;;;;;;;-1:-1:-1;106084:256:0;;;;;:::i;:::-;;:::i;119521:115::-;;;;;;;;;;-1:-1:-1;119521:115:0;;;;;:::i;:::-;;:::i;92101:185::-;;;;;;;;;;-1:-1:-1;92101:185:0;;;;;:::i;:::-;;:::i;116400:390::-;;;;;;;;;;-1:-1:-1;116400:390:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;106606:233::-;;;;;;;;;;-1:-1:-1;106606:233:0;;;;;:::i;:::-;;:::i;118666:106::-;;;;;;;;;;-1:-1:-1;118666:106:0;;;;;:::i;:::-;;:::i;116141:26::-;;;;;;;;;;-1:-1:-1;116141:26:0;;;;;;;;89193:223;;;;;;;;;;-1:-1:-1;89193:223:0;;;;;:::i;:::-;;:::i;115974:21::-;;;;;;;;;;;;;:::i;88924:207::-;;;;;;;;;;-1:-1:-1;88924:207:0;;;;;:::i;:::-;;:::i;113594:103::-;;;;;;;;;;;;;:::i;122542:148::-;;;;;;;;;;;;;:::i;112946:87::-;;;;;;;;;;-1:-1:-1;113019:6:0;;-1:-1:-1;;;;;113019:6:0;112946:87;;89652:104;;;;;;;;;;;;;:::i;122698:282::-;;;;;;;;;;-1:-1:-1;122698:282:0;;;;;:::i;:::-;;:::i;91238:155::-;;;;;;;;;;-1:-1:-1;91238:155:0;;;;;:::i;:::-;;:::i;121373:1161::-;;;;;;:::i;:::-;;:::i;115911:22::-;;;;;;;;;;-1:-1:-1;115911:22:0;;;;;;;;;;;;;-1:-1:-1;;;;;115911:22:0;;;;;;;7925:25:1;;;7981:2;7966:18;;7959:34;;;;8009:18;;;8002:34;-1:-1:-1;;;;;8072:32:1;8067:2;8052:18;;8045:60;7912:3;7897:19;115911:22:0;7678:433:1;92357:322:0;;;;;;;;;;-1:-1:-1;92357:322:0;;;;;:::i;:::-;;:::i;117882:217::-;;;;;;;;;;-1:-1:-1;117882:217:0;;;;;:::i;:::-;;:::i;116002:37::-;;;;;;;;;;;;;:::i;116798:418::-;;;;;;;;;;-1:-1:-1;116798:418:0;;;;;:::i;:::-;;:::i;118251:407::-;;;;;;;;;;-1:-1:-1;118251:407:0;;;;;:::i;:::-;;:::i;116046:40::-;;;;;;;;;;;;116082:4;116046:40;;116174:43;;;;;;;;;;-1:-1:-1;116174:43:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;118780:130;;;;;;;;;;-1:-1:-1;118780:130:0;;;;;:::i;:::-;;:::i;91464:164::-;;;;;;;;;;-1:-1:-1;91464:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;91585:25:0;;;91561:4;91585:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;91464:164;117231:639;;;;;;;;;;-1:-1:-1;117231:639:0;;;;;:::i;:::-;;:::i;113852:201::-;;;;;;;;;;-1:-1:-1;113852:201:0;;;;;:::i;:::-;;:::i;105776:224::-;105878:4;-1:-1:-1;;;;;;105902:50:0;;-1:-1:-1;;;105902:50:0;;:90;;;105956:36;105980:11;105956:23;:36::i;:::-;105895:97;105776:224;-1:-1:-1;;105776:224:0:o;118918:75::-;112832:13;:11;:13::i;:::-;118973:6:::1;:12:::0;;-1:-1:-1;;118973:12:0::1;::::0;::::1;;::::0;;;::::1;::::0;;118918:75::o;89483:100::-;89537:13;89570:5;89563:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;89483:100;:::o;90995:171::-;91071:7;91091:23;91106:7;91091:14;:23::i;:::-;-1:-1:-1;91134:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;91134:24:0;;90995:171::o;90513:416::-;90594:13;90610:23;90625:7;90610:14;:23::i;:::-;90594:39;;90658:5;-1:-1:-1;;;;;90652:11:0;:2;-1:-1:-1;;;;;90652:11:0;;90644:57;;;;-1:-1:-1;;;90644:57:0;;11242:2:1;90644:57:0;;;11224:21:1;11281:2;11261:18;;;11254:30;11320:34;11300:18;;;11293:62;-1:-1:-1;;;11371:18:1;;;11364:31;11412:19;;90644:57:0;;;;;;;;;87014:10;-1:-1:-1;;;;;90736:21:0;;;;:62;;-1:-1:-1;90761:37:0;90778:5;87014:10;91464:164;:::i;90761:37::-;90714:173;;;;-1:-1:-1;;;90714:173:0;;11644:2:1;90714:173:0;;;11626:21:1;11683:2;11663:18;;;11656:30;11722:34;11702:18;;;11695:62;11793:31;11773:18;;;11766:59;11842:19;;90714:173:0;11442:425:1;90714:173:0;90900:21;90909:2;90913:7;90900:8;:21::i;:::-;90583:346;90513:416;;:::o;119644:1721::-;41282:21;:19;:21::i;:::-;119764:6:::1;::::0;::::1;;119763:7;119755:38;;;::::0;-1:-1:-1;;;119755:38:0;;12074:2:1;119755:38:0::1;::::0;::::1;12056:21:1::0;12113:2;12093:18;;;12086:30;-1:-1:-1;;;12132:18:1;;;12125:48;12190:18;;119755:38:0::1;11872:342:1::0;119755:38:0::1;119830:1;119812:15;:19;:55;;;;;116133:1;119835:15;:32;;119812:55;119804:99;;;::::0;-1:-1:-1;;;119804:99:0;;12421:2:1;119804:99:0::1;::::0;::::1;12403:21:1::0;12460:2;12440:18;;;12433:30;12499:33;12479:18;;;12472:61;12550:18;;119804:99:0::1;12219:355:1::0;119804:99:0::1;116082:4;119938:15;119922:13;106504:10:::0;:17;;106416:113;119922:13:::1;:31;;;;:::i;:::-;:44;;119914:79;;;::::0;-1:-1:-1;;;119914:79:0;;13043:2:1;119914:79:0::1;::::0;::::1;13025:21:1::0;13082:2;13062:18;;;13055:30;-1:-1:-1;;;13101:18:1;;;13094:52;13163:18;;119914:79:0::1;12841:346:1::0;119914:79:0::1;120012:25;120026:10;120012:13;:25::i;:::-;:67;;;-1:-1:-1::0;120041:38:0::1;:11;120062:16:::0;120041:20:::1;:38::i;:::-;120004:106;;;::::0;-1:-1:-1;;;120004:106:0;;13394:2:1;120004:106:0::1;::::0;::::1;13376:21:1::0;13433:2;13413:18;;;13406:30;13472:28;13452:18;;;13445:56;13518:18;;120004:106:0::1;13192:350:1::0;120004:106:0::1;120129:38;:11;120150:16:::0;120129:20:::1;:38::i;:::-;120121:73;;;::::0;-1:-1:-1;;;120121:73:0;;13749:2:1;120121:73:0::1;::::0;::::1;13731:21:1::0;13788:2;13768:18;;;13761:30;-1:-1:-1;;;13807:18:1;;;13800:52;13869:18;;120121:73:0::1;13547:346:1::0;120121:73:0::1;-1:-1:-1::0;;;;;120236:27:0;;::::1;120207:26;120236:27:::0;;;:9:::1;:27;::::0;;;;;;;120207:56;;::::1;::::0;::::1;::::0;;;;;::::1;::::0;;;;::::1;::::0;;;::::1;::::0;;;;::::1;::::0;::::1;::::0;;;;;;;;::::1;::::0;::::1;::::0;;;;;::::1;;::::0;;;::::1;::::0;;;;120289:25:::1;120303:10;120289:13;:25::i;:::-;:84;;120348:9;:25;;;120289:84;;;120317:9;:28;;;120289:84;120274:99;;120456:35;120469:4;120475:15;120456:12;:35::i;:::-;120392:23:::0;;:60:::1;::::0;-1:-1:-1;;;120392:60:0;;120426:10:::1;120392:60;::::0;::::1;14110:34:1::0;120446:4:0::1;14160:18:1::0;;;14153:43;-1:-1:-1;;;;;120392:33:0;;::::1;::::0;::::1;::::0;14045:18:1;;120392:60:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:99;;120384:135;;;::::0;-1:-1:-1;;;120384:135:0;;14598:2:1;120384:135:0::1;::::0;::::1;14580:21:1::0;14637:2;14617:18;;;14610:30;14676:25;14656:18;;;14649:53;14719:18;;120384:135:0::1;14396:347:1::0;120384:135:0::1;120537:8:::0;;120533:585:::1;;120562:17;120582:35;120595:4;120601:15;120582:12;:35::i;:::-;120562:55;;120632:21;120656:76;120669:57;120682:9;120693;:32;;;120669:12;:57::i;:::-;120728:3;120656:12;:76::i;:::-;120632:100;;120747:19;120769:38;120782:9;120793:13;120769:12;:38::i;:::-;120747:60;;120824:91;120851:9;:23;;;120876:10;120896:4;120903:11;120824:26;:91::i;:::-;120934:17:::0;;120930:166:::1;;120972:108;120999:9;:23;;;121024:10;121036:9;:28;;;121066:13;120972:26;:108::i;:::-;120547:571;;;120533:585;121139:9;121134:218;121158:15;121154:1;:19;121134:218;;;121195:17;121215:13;106504:10:::0;:17;;106416:113;121215:13:::1;121195:33;;116082:4;121247:13;106504:10:::0;:17;;106416:113;121247:13:::1;:25;121243:98;;;121293:32;121303:10;121315:9;121293;:32::i;:::-;-1:-1:-1::0;121175:3:0;::::1;::::0;::::1;:::i;:::-;;;;121134:218;;;;119744:1621;;41326:20:::0;40720:1;41846:7;:22;41663:213;41326:20;119644:1721;;:::o;118109:134::-;118175:16;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;118175:16:0;-1:-1:-1;;;;;;118211:24:0;;;;;;;:9;:24;;;;;;;;;118204:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;118109:134::o;91695:335::-;91890:41;87014:10;91923:7;91890:18;:41::i;:::-;91882:99;;;;-1:-1:-1;;;91882:99:0;;;;;;;:::i;:::-;91994:28;92004:4;92010:2;92014:7;91994:9;:28::i;119254:259::-;112832:13;:11;:13::i;:::-;119356:9:::1;119351:155;119375:10;:17;119371:1;:21;119351:155;;;119443:5;119414:11;:26;119426:10;119437:1;119426:13;;;;;;;;:::i;:::-;;;;;;;-1:-1:-1::0;;;;;119414:26:0::1;-1:-1:-1::0;;;;;119414:26:0::1;;;;;;;;;;;;;:34;;;;;;;;;;;;;;;;;;119463:31;119480:10;119491:1;119480:13;;;;;;;;:::i;:::-;;;;;;;119463:9;:16;;:31;;;;:::i;:::-;-1:-1:-1::0;119394:3:0;::::1;::::0;::::1;:::i;:::-;;;;119351:155;;119001:245:::0;112832:13;:11;:13::i;:::-;119093:9:::1;119088:151;119112:10;:17;119108:1;:21;119088:151;;;119180:4;119151:11;:26;119163:10;119174:1;119163:13;;;;;;;;:::i;:::-;;;;;;;-1:-1:-1::0;;;;;119151:26:0::1;-1:-1:-1::0;;;;;119151:26:0::1;;;;;;;;;;;;;:33;;;;;;;;;;;;;;;;;;119199:28;119213:10;119224:1;119213:13;;;;;;;;:::i;:::-;;;;;;;119199:9;:13;;:28;;;;:::i;:::-;-1:-1:-1::0;119131:3:0;::::1;::::0;::::1;:::i;:::-;;;;119088:151;;106084:256:::0;106181:7;106217:23;106234:5;106217:16;:23::i;:::-;106209:5;:31;106201:87;;;;-1:-1:-1;;;106201:87:0;;15636:2:1;106201:87:0;;;15618:21:1;15675:2;15655:18;;;15648:30;15714:34;15694:18;;;15687:62;-1:-1:-1;;;15765:18:1;;;15758:41;15816:19;;106201:87:0;15434:407:1;106201:87:0;-1:-1:-1;;;;;;106306:19:0;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;106084:256::o;119521:115::-;-1:-1:-1;;;;;119607:21:0;119583:4;119607:21;;;:11;:21;;;;;;;;;119521:115::o;92101:185::-;92239:39;92256:4;92262:2;92266:7;92239:39;;;;;;;;;;;;:16;:39::i;116400:390::-;116487:16;116521:23;116547:17;116557:6;116547:9;:17::i;:::-;116521:43;;116575:25;116617:15;116603:30;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;116603:30:0;;116575:58;;116649:9;116644:113;116664:15;116660:1;:19;116644:113;;;116715:30;116735:6;116743:1;116715:19;:30::i;:::-;116701:8;116710:1;116701:11;;;;;;;;:::i;:::-;;;;;;;;;;:44;116681:3;;;;:::i;:::-;;;;116644:113;;;-1:-1:-1;116774:8:0;116400:390;-1:-1:-1;;;116400:390:0:o;106606:233::-;106681:7;106717:30;106504:10;:17;;106416:113;106717:30;106709:5;:38;106701:95;;;;-1:-1:-1;;;106701:95:0;;16048:2:1;106701:95:0;;;16030:21:1;16087:2;16067:18;;;16060:30;16126:34;16106:18;;;16099:62;-1:-1:-1;;;16177:18:1;;;16170:42;16229:19;;106701:95:0;15846:408:1;106701:95:0;106814:10;106825:5;106814:17;;;;;;;;:::i;:::-;;;;;;;;;106807:24;;106606:233;;;:::o;118666:106::-;112832:13;:11;:13::i;:::-;118743:7:::1;:21;118753:11:::0;118743:7;:21:::1;:::i;89193:223::-:0;89265:7;94080:16;;;:7;:16;;;;;;-1:-1:-1;;;;;94080:16:0;;89329:56;;;;-1:-1:-1;;;89329:56:0;;18665:2:1;89329:56:0;;;18647:21:1;18704:2;18684:18;;;18677:30;-1:-1:-1;;;18723:18:1;;;18716:54;18787:18;;89329:56:0;18463:348:1;115974:21:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;88924:207::-;88996:7;-1:-1:-1;;;;;89024:19:0;;89016:73;;;;-1:-1:-1;;;89016:73:0;;19018:2:1;89016:73:0;;;19000:21:1;19057:2;19037:18;;;19030:30;19096:34;19076:18;;;19069:62;-1:-1:-1;;;19147:18:1;;;19140:39;19196:19;;89016:73:0;18816:405:1;89016:73:0;-1:-1:-1;;;;;;89107:16:0;;;;;:9;:16;;;;;;;88924:207::o;113594:103::-;112832:13;:11;:13::i;:::-;113659:30:::1;113686:1;113659:18;:30::i;:::-;113594:103::o:0;122542:148::-;112832:13;:11;:13::i;:::-;122645:37:::1;::::0;122613:21:::1;::::0;122653:10:::1;::::0;122645:37;::::1;;;::::0;122613:21;;122595:15:::1;122645:37:::0;122595:15;122645:37;122613:21;122653:10;122645:37;::::1;;;;;;;;;;;;;::::0;::::1;;;;89652:104:::0;89708:13;89741:7;89734:14;;;;;:::i;122698:282::-;112832:13;:11;:13::i;:::-;122806:31:::1;::::0;-1:-1:-1;;;122806:31:0;;122831:4:::1;122806:31;::::0;::::1;2048:51:1::0;122783:20:0::1;::::0;-1:-1:-1;;;;;122806:16:0;::::1;::::0;::::1;::::0;2021:18:1;;122806:31:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;122783:54;;122867:12;122856:7;:23;;122848:62;;;::::0;-1:-1:-1;;;122848:62:0;;19428:2:1;122848:62:0::1;::::0;::::1;19410:21:1::0;19467:2;19447:18;;;19440:30;19506:28;19486:18;;;19479:56;19552:18;;122848:62:0::1;19226:350:1::0;122848:62:0::1;122921:51;122944:6;122952:10;122964:7;122921:22;:51::i;91238:155::-:0;91333:52;87014:10;91366:8;91376;91333:18;:52::i;121373:1161::-;41282:21;:19;:21::i;:::-;121471:6:::1;::::0;::::1;;121470:7;121462:38;;;::::0;-1:-1:-1;;;121462:38:0;;12074:2:1;121462:38:0::1;::::0;::::1;12056:21:1::0;12113:2;12093:18;;;12086:30;-1:-1:-1;;;12132:18:1;;;12125:48;12190:18;;121462:38:0::1;11872:342:1::0;121462:38:0::1;121537:1;121519:15;:19;:55;;;;;116133:1;121542:15;:32;;121519:55;121511:99;;;::::0;-1:-1:-1;;;121511:99:0;;12421:2:1;121511:99:0::1;::::0;::::1;12403:21:1::0;12460:2;12440:18;;;12433:30;12499:33;12479:18;;;12472:61;12550:18;;121511:99:0::1;12219:355:1::0;121511:99:0::1;116082:4;121645:15;121629:13;106504:10:::0;:17;;106416:113;121629:13:::1;:31;;;;:::i;:::-;:44;;121621:79;;;::::0;-1:-1:-1;;;121621:79:0;;13043:2:1;121621:79:0::1;::::0;::::1;13025:21:1::0;13082:2;13062:18;;;13055:30;-1:-1:-1;;;13101:18:1;;;13094:52;13163:18;;121621:79:0::1;12841:346:1::0;121621:79:0::1;121719:25;121733:10;121719:13;:25::i;:::-;:54;;;-1:-1:-1::0;121748:7:0::1;:21:::0;:25;;121719:54:::1;121711:93;;;::::0;-1:-1:-1;;;121711:93:0;;13394:2:1;121711:93:0::1;::::0;::::1;13376:21:1::0;13433:2;13413:18;;;13406:30;13472:28;13452:18;;;13445:56;13518:18;;121711:93:0::1;13192:350:1::0;121711:93:0::1;121832:7;:21:::0;121817:12:::1;::::0;121832:42:::1;::::0;121858:15;121832:25:::1;:42::i;:::-;121817:57;;121889:25;121903:10;121889:13;:25::i;:::-;121885:110;;;121938:24:::0;;:45:::1;::::0;121967:15;121938:28:::1;:45::i;:::-;121931:52;;121885:110;122007:21;122031:49;122074:5;122031:38;122040:7;:28;;;122031:4;:8;;:38;;;;:::i;:::-;:42:::0;::::1;:49::i;:::-;122093:24:::0;;:48:::1;::::0;122007:73;;-1:-1:-1;;;;;;122093:24:0::1;::::0;:48;::::1;;;::::0;122007:73;;122093:24:::1;:48:::0;:24;:48;122007:73;122093:24;:48;::::1;;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;122201:1:0::1;122170:28;:9;122184:13:::0;122170::::1;:28::i;:::-;:32;122162:66;;;::::0;-1:-1:-1;;;122162:66:0;;19783:2:1;122162:66:0::1;::::0;::::1;19765:21:1::0;19822:2;19802:18;;;19795:30;-1:-1:-1;;;19841:18:1;;;19834:51;19902:18;;122162:66:0::1;19581:345:1::0;122162:66:0::1;122255:4;122239:61;122271:28;:9;122285:13:::0;122271::::1;:28::i;:::-;122239:61;::::0;;::::1;::::0;;::::1;::::0;::::1;::::0;;;;;;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;122318:9;122313:214;122337:15;122333:1;:19;122313:214;;;122374:15;122392:13;106504:10:::0;:17;;106416:113;122392:13:::1;122374:31;;116082:4;122424:13;106504:10:::0;:17;;106416:113;122424:13:::1;:25;122420:96;;;122470:30;122480:10;122492:7;122470:9;:30::i;:::-;-1:-1:-1::0;122354:3:0;::::1;::::0;::::1;:::i;:::-;;;;122313:214;;;;121451:1083;;41326:20:::0;40720:1;41846:7;:22;41663:213;41326:20;121373:1161;:::o;92357:322::-;92531:41;87014:10;92564:7;92531:18;:41::i;:::-;92523:99;;;;-1:-1:-1;;;92523:99:0;;;;;;;:::i;:::-;92633:38;92647:4;92653:2;92657:7;92666:4;92633:13;:38::i;:::-;92357:322;;;;:::o;117882:217::-;112832:13;:11;:13::i;:::-;117954:38:::1;:11;117981:9:::0;117954:18:::1;:38::i;:::-;-1:-1:-1::0;118003:41:0::1;:14;118033:9:::0;118003:21:::1;:41::i;:::-;-1:-1:-1::0;;;;;;118062:29:0::1;;::::0;;;:9:::1;:29;::::0;;;;118055:36;;-1:-1:-1;;;;;;118055:36:0;;::::1;::::0;;;;::::1;::::0;;;::::1;::::0;::::1;::::0;;;::::1;::::0;::::1;::::0;;;;::::1;;::::0;;;;::::1;::::0;;117882:217::o;116002:37::-;;;;;;;:::i;116798:418::-;94482:4;94080:16;;;:7;:16;;;;;;116916:13;;-1:-1:-1;;;;;94080:16:0;116947:76;;;;-1:-1:-1;;;116947:76:0;;20133:2:1;116947:76:0;;;20115:21:1;20172:2;20152:18;;;20145:30;20211:34;20191:18;;;20184:62;-1:-1:-1;;;20262:18:1;;;20255:45;20317:19;;116947:76:0;19931:411:1;116947:76:0;117034:28;117065:10;:8;:10::i;:::-;117034:41;;117124:1;117099:14;117093:28;:32;:115;;;;;;;;;;;;;;;;;117152:14;117168:18;:7;:16;:18::i;:::-;117188:13;117135:67;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;117093:115;117086:122;116798:418;-1:-1:-1;;;116798:418:0:o;118251:407::-;112832:13;:11;:13::i;:::-;118428:222:::1;::::0;;::::1;::::0;::::1;::::0;;;;;::::1;::::0;::::1;::::0;;;;;;;;;-1:-1:-1;;;;;118428:222:0;;::::1;::::0;;;;;;;118418:7:::1;:232:::0;;;;;;;;;;;;;;-1:-1:-1;;;;;;118418:232:0::1;::::0;;::::1;::::0;;118251:407::o;118780:130::-;112832:13;:11;:13::i;:::-;118869::::1;:33;118885:17:::0;118869:13;:33:::1;:::i;117231:639::-:0;112832:13;:11;:13::i;:::-;117417:53:::1;:11;117441:9:::0;117453:16;117417:15:::1;:53::i;:::-;-1:-1:-1::0;117481:59:0::1;:14;117508:9:::0;117520:19;117481:18:::1;:59::i;:::-;-1:-1:-1::0;117583:279:0::1;::::0;;::::1;::::0;::::1;::::0;;-1:-1:-1;;;;;117583:279:0;;::::1;::::0;;;::::1;::::0;;::::1;::::0;;;;;;;;;;;;;;;;;::::1;::::0;;;;;;-1:-1:-1;117551:29:0;;;:9:::1;:29:::0;;;;;;;:311;;;;;;::::1;-1:-1:-1::0;;;;;;117551:311:0;;::::1;;::::0;;;;;;::::1;::::0;;;::::1;::::0;::::1;::::0;;;::::1;::::0;::::1;::::0;;::::1;::::0;;::::1;::::0;;;;;::::1;::::0;::::1;;::::0;;117231:639::o;113852:201::-;112832:13;:11;:13::i;:::-;-1:-1:-1;;;;;113941:22:0;::::1;113933:73;;;::::0;-1:-1:-1;;;113933:73:0;;21810:2:1;113933:73:0::1;::::0;::::1;21792:21:1::0;21849:2;21829:18;;;21822:30;21888:34;21868:18;;;21861:62;-1:-1:-1;;;21939:18:1;;;21932:36;21985:19;;113933:73:0::1;21608:402:1::0;113933:73:0::1;114017:28;114036:8;114017:18;:28::i;88555:305::-:0;88657:4;-1:-1:-1;;;;;;88694:40:0;;-1:-1:-1;;;88694:40:0;;:105;;-1:-1:-1;;;;;;;88751:48:0;;-1:-1:-1;;;88751:48:0;88694:105;:158;;;-1:-1:-1;;;;;;;;;;60027:40:0;;;88816:36;59918:157;113111:132;113019:6;;-1:-1:-1;;;;;113019:6:0;87014:10;113175:23;113167:68;;;;-1:-1:-1;;;113167:68:0;;22217:2:1;113167:68:0;;;22199:21:1;;;22236:18;;;22229:30;22295:34;22275:18;;;22268:62;22347:18;;113167:68:0;22015:356:1;100814:135:0;94482:4;94080:16;;;:7;:16;;;;;;-1:-1:-1;;;;;94080:16:0;100888:53;;;;-1:-1:-1;;;100888:53:0;;18665:2:1;100888:53:0;;;18647:21:1;18704:2;18684:18;;;18677:30;-1:-1:-1;;;18723:18:1;;;18716:54;18787:18;;100888:53:0;18463:348:1;100093:174:0;100168:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;100168:29:0;-1:-1:-1;;;;;100168:29:0;;;;;;;;:24;;100222:23;100168:24;100222:14;:23::i;:::-;-1:-1:-1;;;;;100213:46:0;;;;;;;;;;;100093:174;;:::o;41362:293::-;40764:1;41496:7;;:19;41488:63;;;;-1:-1:-1;;;41488:63:0;;22578:2:1;41488:63:0;;;22560:21:1;22617:2;22597:18;;;22590:30;22656:33;22636:18;;;22629:61;22707:18;;41488:63:0;22376:355:1;41488:63:0;40764:1;41629:7;:18;41362:293::o;26685:168::-;26769:4;26793:52;26802:3;-1:-1:-1;;;;;26822:21:0;;26793:8;:52::i;35510:98::-;35568:7;35595:5;35599:1;35595;:5;:::i;35909:98::-;35967:7;35994:5;35998:1;35994;:5;:::i;35153:98::-;35211:7;35238:5;35242:1;35238;:5;:::i;82684:248::-;82855:68;;-1:-1:-1;;;;;23654:15:1;;;82855:68:0;;;23636:34:1;23706:15;;23686:18;;;23679:43;23738:18;;;23731:34;;;82828:96:0;;82848:5;;-1:-1:-1;;;82878:27:0;23571:18:1;;82855:68:0;;;;-1:-1:-1;;82855:68:0;;;;;;;;;;;;;;-1:-1:-1;;;;;82855:68:0;-1:-1:-1;;;;;;82855:68:0;;;;;;;;;;82828:19;:96::i;95318:110::-;95394:26;95404:2;95408:7;95394:26;;;;;;;;;;;;:9;:26::i;94712:264::-;94805:4;94822:13;94838:23;94853:7;94838:14;:23::i;:::-;94822:39;;94891:5;-1:-1:-1;;;;;94880:16:0;:7;-1:-1:-1;;;;;94880:16:0;;:52;;;-1:-1:-1;;;;;;91585:25:0;;;91561:4;91585:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;94900:32;94880:87;;;;94960:7;-1:-1:-1;;;;;94936:31:0;:20;94948:7;94936:11;:20::i;:::-;-1:-1:-1;;;;;94936:31:0;;94880:87;94872:96;94712:264;-1:-1:-1;;;;94712:264:0:o;98711:1263::-;98870:4;-1:-1:-1;;;;;98843:31:0;:23;98858:7;98843:14;:23::i;:::-;-1:-1:-1;;;;;98843:31:0;;98835:81;;;;-1:-1:-1;;;98835:81:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;98935:16:0;;98927:65;;;;-1:-1:-1;;;98927:65:0;;24384:2:1;98927:65:0;;;24366:21:1;24423:2;24403:18;;;24396:30;24462:34;24442:18;;;24435:62;-1:-1:-1;;;24513:18:1;;;24506:34;24557:19;;98927:65:0;24182:400:1;98927:65:0;99005:42;99026:4;99032:2;99036:7;99045:1;99005:20;:42::i;:::-;99177:4;-1:-1:-1;;;;;99150:31:0;:23;99165:7;99150:14;:23::i;:::-;-1:-1:-1;;;;;99150:31:0;;99142:81;;;;-1:-1:-1;;;99142:81:0;;;;;;;:::i;:::-;99295:24;;;;:15;:24;;;;;;;;99288:31;;-1:-1:-1;;;;;;99288:31:0;;;;;;-1:-1:-1;;;;;99771:15:0;;;;;;:9;:15;;;;;:20;;-1:-1:-1;;99771:20:0;;;99806:13;;;;;;;;;:18;;99288:31;99806:18;;;99846:16;;;:7;:16;;;;;;:21;;;;;;;;;;99885:27;;99311:7;;99885:27;;;90583:346;90513:416;;:::o;9470:158::-;9543:4;9567:53;9575:3;-1:-1:-1;;;;;9595:23:0;;9567:7;:53::i;9142:152::-;9212:4;9236:50;9241:3;-1:-1:-1;;;;;9261:23:0;;9236:4;:50::i;114213:191::-;114306:6;;;-1:-1:-1;;;;;114323:17:0;;;-1:-1:-1;;;;;;114323:17:0;;;;;;;114356:40;;114306:6;;;114323:17;114306:6;;114356:40;;114287:16;;114356:40;114276:128;114213:191;:::o;82465:211::-;82609:58;;-1:-1:-1;;;;;24779:32:1;;82609:58:0;;;24761:51:1;24828:18;;;24821:34;;;82582:86:0;;82602:5;;-1:-1:-1;;;82632:23:0;24734:18:1;;82609:58:0;24587:274:1;100410:315:0;100565:8;-1:-1:-1;;;;;100556:17:0;:5;-1:-1:-1;;;;;100556:17:0;;100548:55;;;;-1:-1:-1;;;100548:55:0;;25068:2:1;100548:55:0;;;25050:21:1;25107:2;25087:18;;;25080:30;25146:27;25126:18;;;25119:55;25191:18;;100548:55:0;24866:349:1;100548:55:0;-1:-1:-1;;;;;100614:25:0;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;100614:46:0;;;;;;;;;;100676:41;;540::1;;;100676::0;;513:18:1;100676:41:0;;;;;;;100410:315;;;:::o;93560:313::-;93716:28;93726:4;93732:2;93736:7;93716:9;:28::i;:::-;93763:47;93786:4;93792:2;93796:7;93805:4;93763:22;:47::i;:::-;93755:110;;;;-1:-1:-1;;;93755:110:0;;;;;;;:::i;26442:159::-;26519:4;26543:50;26550:3;-1:-1:-1;;;;;26570:21:0;;26543:6;:50::i;116284:108::-;116344:13;116377:7;116370:14;;;;;:::i;55188:716::-;55244:13;55295:14;55312:17;55323:5;55312:10;:17::i;:::-;55332:1;55312:21;55295:38;;55348:20;55382:6;55371:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;55371:18:0;-1:-1:-1;55348:41:0;-1:-1:-1;55513:28:0;;;55529:2;55513:28;55570:288;-1:-1:-1;;55602:5:0;-1:-1:-1;;;55739:2:0;55728:14;;55723:30;55602:5;55710:44;55800:2;55791:11;;;-1:-1:-1;55821:21:0;55570:288;55821:21;-1:-1:-1;55879:6:0;55188:716;-1:-1:-1;;;55188:716:0:o;26058:218::-;26181:4;26205:63;26209:3;-1:-1:-1;;;;;26229:21:0;;26261:5;26205:3;:63::i;17185:142::-;17272:4;17296:23;:3;17315;17296:18;:23::i;85532:716::-;85956:23;85982:69;86010:4;85982:69;;;;;;;;;;;;;;;;;85990:5;-1:-1:-1;;;;;85982:27:0;;;:69;;;;;:::i;:::-;86066:17;;85956:95;;-1:-1:-1;86066:21:0;86062:179;;86163:10;86152:30;;;;;;;;;;;;:::i;:::-;86144:85;;;;-1:-1:-1;;;86144:85:0;;26091:2:1;86144:85:0;;;26073:21:1;26130:2;26110:18;;;26103:30;26169:34;26149:18;;;26142:62;-1:-1:-1;;;26220:18:1;;;26213:40;26270:19;;86144:85:0;25889:406:1;95655:319:0;95784:18;95790:2;95794:7;95784:5;:18::i;:::-;95835:53;95866:1;95870:2;95874:7;95883:4;95835:22;:53::i;:::-;95813:153;;;;-1:-1:-1;;;95813:153:0;;;;;;;:::i;106913:915::-;107180:1;107168:9;:13;107164:222;;;107311:63;;-1:-1:-1;;;107311:63:0;;26502:2:1;107311:63:0;;;26484:21:1;26541:2;26521:18;;;26514:30;26580:34;26560:18;;;26553:62;-1:-1:-1;;;26631:18:1;;;26624:51;26692:19;;107311:63:0;26300:417:1;107164:222:0;107416:12;-1:-1:-1;;;;;107445:18:0;;107441:187;;107480:40;107512:7;108655:10;:17;;108628:24;;;;:15;:24;;;;;:44;;;108683:24;;;;;;;;;;;;108551:164;107480:40;107441:187;;;107550:2;-1:-1:-1;;;;;107542:10:0;:4;-1:-1:-1;;;;;107542:10:0;;107538:90;;107569:47;107602:4;107608:7;107569:32;:47::i;:::-;-1:-1:-1;;;;;107642:16:0;;107638:183;;107675:45;107712:7;107675:36;:45::i;:::-;107638:183;;;107748:4;-1:-1:-1;;;;;107742:10:0;:2;-1:-1:-1;;;;;107742:10:0;;107738:83;;107769:40;107797:2;107801:7;107769:27;:40::i;:::-;107079:749;106913:915;;;;:::o;3463:1420::-;3529:4;3668:19;;;:12;;;:19;;;;;;3704:15;;3700:1176;;4079:21;4103:14;4116:1;4103:10;:14;:::i;:::-;4152:18;;4079:38;;-1:-1:-1;4132:17:0;;4152:22;;4173:1;;4152:22;:::i;:::-;4132:42;;4208:13;4195:9;:26;4191:405;;4242:17;4262:3;:11;;4274:9;4262:22;;;;;;;;:::i;:::-;;;;;;;;;4242:42;;4416:9;4387:3;:11;;4399:13;4387:26;;;;;;;;:::i;:::-;;;;;;;;;;;;:38;;;;4501:23;;;:12;;;:23;;;;;:36;;;4191:405;4677:17;;:3;;:17;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;4772:3;:12;;:19;4785:5;4772:19;;;;;;;;;;;4765:26;;;4815:4;4808:11;;;;;;;3700:1176;4859:5;4852:12;;;;;2873:414;2936:4;5066:19;;;:12;;;:19;;;;;;2953:327;;-1:-1:-1;2996:23:0;;;;;;;;:11;:23;;;;;;;;;;;;;3179:18;;3157:19;;;:12;;;:19;;;;;;:40;;;;3212:11;;2953:327;-1:-1:-1;3263:5:0;3256:12;;101513:853;101667:4;-1:-1:-1;;;;;101688:13:0;;68607:19;:23;101684:675;;101724:71;;-1:-1:-1;;;101724:71:0;;-1:-1:-1;;;;;101724:36:0;;;;;:71;;87014:10;;101775:4;;101781:7;;101790:4;;101724:71;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;101724:71:0;;;;;;;;-1:-1:-1;;101724:71:0;;;;;;;;;;;;:::i;:::-;;;101720:584;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;101965:6;:13;101982:1;101965:18;101961:328;;102008:60;;-1:-1:-1;;;102008:60:0;;;;;;;:::i;101961:328::-;102239:6;102233:13;102224:6;102220:2;102216:15;102209:38;101720:584;-1:-1:-1;;;;;;101846:51:0;-1:-1:-1;;;101846:51:0;;-1:-1:-1;101839:58:0;;101684:675;-1:-1:-1;102343:4:0;101513:853;;;;;;:::o;16934:167::-;17014:4;17038:16;;;:11;;;:16;;;;;17031:23;;;17072:21;17038:3;17050;17072:16;:21::i;52054:922::-;52107:7;;-1:-1:-1;;;52185:15:0;;52181:102;;-1:-1:-1;;;52221:15:0;;;-1:-1:-1;52265:2:0;52255:12;52181:102;52310:6;52301:5;:15;52297:102;;52346:6;52337:15;;;-1:-1:-1;52381:2:0;52371:12;52297:102;52426:6;52417:5;:15;52413:102;;52462:6;52453:15;;;-1:-1:-1;52497:2:0;52487:12;52413:102;52542:5;52533;:14;52529:99;;52577:5;52568:14;;;-1:-1:-1;52611:1:0;52601:11;52529:99;52655:5;52646;:14;52642:99;;52690:5;52681:14;;;-1:-1:-1;52724:1:0;52714:11;52642:99;52768:5;52759;:14;52755:99;;52803:5;52794:14;;;-1:-1:-1;52837:1:0;52827:11;52755:99;52881:5;52872;:14;52868:66;;52917:1;52907:11;52962:6;52054:922;-1:-1:-1;;52054:922:0:o;16548:211::-;16674:4;16691:16;;;:11;;;:16;;;;;:24;;;16733:18;16691:3;16703;16733:13;:18::i;7200:140::-;7280:4;5066:19;;;:12;;;:19;;;;;;:24;;7304:28;4969:129;71069:229;71206:12;71238:52;71260:6;71268:4;71274:1;71277:12;71238:21;:52::i;96310:942::-;-1:-1:-1;;;;;96390:16:0;;96382:61;;;;-1:-1:-1;;;96382:61:0;;27804:2:1;96382:61:0;;;27786:21:1;;;27823:18;;;27816:30;27882:34;27862:18;;;27855:62;27934:18;;96382:61:0;27602:356:1;96382:61:0;94482:4;94080:16;;;:7;:16;;;;;;-1:-1:-1;;;;;94080:16:0;94506:31;96454:58;;;;-1:-1:-1;;;96454:58:0;;28165:2:1;96454:58:0;;;28147:21:1;28204:2;28184:18;;;28177:30;28243;28223:18;;;28216:58;28291:18;;96454:58:0;27963:352:1;96454:58:0;96525:48;96554:1;96558:2;96562:7;96571:1;96525:20;:48::i;:::-;94482:4;94080:16;;;:7;:16;;;;;;-1:-1:-1;;;;;94080:16:0;94506:31;96663:58;;;;-1:-1:-1;;;96663:58:0;;28165:2:1;96663:58:0;;;28147:21:1;28204:2;28184:18;;;28177:30;28243;28223:18;;;28216:58;28291:18;;96663:58:0;27963:352:1;96663:58:0;-1:-1:-1;;;;;97070:13:0;;;;;;:9;:13;;;;;;;;:18;;97087:1;97070:18;;;97112:16;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;97112:21:0;;;;;97151:33;97120:7;;97070:13;;97151:33;;97070:13;;97151:33;119644:1721;;:::o;109342:988::-;109608:22;109658:1;109633:22;109650:4;109633:16;:22::i;:::-;:26;;;;:::i;:::-;109670:18;109691:26;;;:17;:26;;;;;;109608:51;;-1:-1:-1;109824:28:0;;;109820:328;;-1:-1:-1;;;;;109891:18:0;;109869:19;109891:18;;;:12;:18;;;;;;;;:34;;;;;;;;;109942:30;;;;;;:44;;;110059:30;;:17;:30;;;;;:43;;;109820:328;-1:-1:-1;110244:26:0;;;;:17;:26;;;;;;;;110237:33;;;-1:-1:-1;;;;;110288:18:0;;;;;:12;:18;;;;;:34;;;;;;;110281:41;109342:988::o;110625:1079::-;110903:10;:17;110878:22;;110903:21;;110923:1;;110903:21;:::i;:::-;110935:18;110956:24;;;:15;:24;;;;;;111329:10;:26;;110878:46;;-1:-1:-1;110956:24:0;;110878:46;;111329:26;;;;;;:::i;:::-;;;;;;;;;111307:48;;111393:11;111368:10;111379;111368:22;;;;;;;;:::i;:::-;;;;;;;;;;;;:36;;;;111473:28;;;:15;:28;;;;;;;:41;;;111645:24;;;;;111638:31;111680:10;:16;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;110696:1008;;;110625:1079;:::o;108129:221::-;108214:14;108231:20;108248:2;108231:16;:20::i;:::-;-1:-1:-1;;;;;108262:16:0;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;108307:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;108129:221:0:o;6983:131::-;7056:4;7080:26;7088:3;7100:5;7080:7;:26::i;6682:125::-;6752:4;6776:23;6781:3;6793:5;6776:4;:23::i;72189:455::-;72359:12;72417:5;72392:21;:30;;72384:81;;;;-1:-1:-1;;;72384:81:0;;28522:2:1;72384:81:0;;;28504:21:1;28561:2;28541:18;;;28534:30;28600:34;28580:18;;;28573:62;-1:-1:-1;;;28651:18:1;;;28644:36;28697:19;;72384:81:0;28320:402:1;72384:81:0;72477:12;72491:23;72518:6;-1:-1:-1;;;;;72518:11:0;72537:5;72544:4;72518:31;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;72476:73;;;;72567:69;72594:6;72602:7;72611:10;72623:12;72567:26;:69::i;:::-;72560:76;72189:455;-1:-1:-1;;;;;;;72189:455:0:o;74762:644::-;74947:12;74976:7;74972:427;;;75004:10;:17;75025:1;75004:22;75000:290;;-1:-1:-1;;;;;68607:19:0;;;75214:60;;;;-1:-1:-1;;;75214:60:0;;29221:2:1;75214:60:0;;;29203:21:1;29260:2;29240:18;;;29233:30;29299:31;29279:18;;;29272:59;29348:18;;75214:60:0;29019:353:1;75214:60:0;-1:-1:-1;75311:10:0;75304:17;;74972:427;75354:33;75362:10;75374:12;76109:17;;:21;76105:388;;76341:10;76335:17;76398:15;76385:10;76381:2;76377:19;76370:44;76105:388;76468:12;76461:20;;-1:-1:-1;;;76461: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;7291:382::-;7356:6;7364;7417:2;7405:9;7396:7;7392:23;7388:32;7385:52;;;7433:1;7430;7423:12;7385:52;7472:9;7459:23;7491:31;7516:5;7491:31;:::i;:::-;7541:5;-1:-1:-1;7598:2:1;7583:18;;7570:32;7611:30;7570:32;7611:30;:::i;:::-;7660:7;7650:17;;;7291:382;;;;;:::o;8116:795::-;8211:6;8219;8227;8235;8288:3;8276:9;8267:7;8263:23;8259:33;8256:53;;;8305:1;8302;8295:12;8256:53;8344:9;8331:23;8363:31;8388:5;8363:31;:::i;:::-;8413:5;-1:-1:-1;8470:2:1;8455:18;;8442:32;8483:33;8442:32;8483:33;:::i;:::-;8535:7;-1:-1:-1;8589:2:1;8574:18;;8561:32;;-1:-1:-1;8644:2:1;8629:18;;8616:32;8671:18;8660:30;;8657:50;;;8703:1;8700;8693:12;8657:50;8726:22;;8779:4;8771:13;;8767:27;-1:-1:-1;8757:55:1;;8808:1;8805;8798:12;8757:55;8831:74;8897:7;8892:2;8879:16;8874:2;8870;8866:11;8831:74;:::i;:::-;8821:84;;;8116:795;;;;;;;:::o;9183:460::-;9277:6;9285;9293;9301;9354:3;9342:9;9333:7;9329:23;9325:33;9322:53;;;9371:1;9368;9361:12;9322:53;9407:9;9394:23;9384:33;;9464:2;9453:9;9449:18;9436:32;9426:42;;9515:2;9504:9;9500:18;9487:32;9477:42;;9569:2;9558:9;9554:18;9541:32;9582:31;9607:5;9582:31;:::i;:::-;9183:460;;;;-1:-1:-1;9183:460:1;;-1:-1:-1;;9183:460:1:o;9648:388::-;9716:6;9724;9777:2;9765:9;9756:7;9752:23;9748:32;9745:52;;;9793:1;9790;9783:12;9745:52;9832:9;9819:23;9851:31;9876:5;9851:31;:::i;:::-;9901:5;-1:-1:-1;9958:2:1;9943:18;;9930:32;9971:33;9930:32;9971:33;:::i;10041:609::-;10151:6;10159;10167;10175;10183;10236:3;10224:9;10215:7;10211:23;10207:33;10204:53;;;10253:1;10250;10243:12;10204:53;10292:9;10279:23;10311:31;10336:5;10311:31;:::i;:::-;10361:5;-1:-1:-1;10413:2:1;10398:18;;10385:32;;-1:-1:-1;10464:2:1;10449:18;;10436:32;;-1:-1:-1;10515:2:1;10500:18;;10487:32;;-1:-1:-1;10571:3:1;10556:19;;10543:33;10585;10543;10585;:::i;:::-;10637:7;10627:17;;;10041:609;;;;;;;;:::o;10655:380::-;10734:1;10730:12;;;;10777;;;10798:61;;10852:4;10844:6;10840:17;10830:27;;10798:61;10905:2;10897:6;10894:14;10874:18;10871:38;10868:161;;10951:10;10946:3;10942:20;10939:1;10932:31;10986:4;10983:1;10976:15;11014:4;11011:1;11004:15;10868:161;;10655:380;;;:::o;12579:127::-;12640:10;12635:3;12631:20;12628:1;12621:31;12671:4;12668:1;12661:15;12695:4;12692:1;12685:15;12711:125;12776:9;;;12797:10;;;12794:36;;;12810:18;;:::i;14207:184::-;14277:6;14330:2;14318:9;14309:7;14305:23;14301:32;14298:52;;;14346:1;14343;14336:12;14298:52;-1:-1:-1;14369:16:1;;14207:184;-1:-1:-1;14207:184:1:o;14748:135::-;14787:3;14808:17;;;14805:43;;14828:18;;:::i;:::-;-1:-1:-1;14875:1:1;14864:13;;14748:135::o;14888:409::-;15090:2;15072:21;;;15129:2;15109:18;;;15102:30;15168:34;15163:2;15148:18;;15141:62;-1:-1:-1;;;15234:2:1;15219:18;;15212:43;15287:3;15272:19;;14888:409::o;15302:127::-;15363:10;15358:3;15354:20;15351:1;15344:31;15394:4;15391:1;15384:15;15418:4;15415:1;15408:15;16385:545;16487:2;16482:3;16479:11;16476:448;;;16523:1;16548:5;16544:2;16537:17;16593:4;16589:2;16579:19;16663:2;16651:10;16647:19;16644:1;16640:27;16634:4;16630:38;16699:4;16687:10;16684:20;16681:47;;;-1:-1:-1;16722:4:1;16681:47;16777:2;16772:3;16768:12;16765:1;16761:20;16755:4;16751:31;16741:41;;16832:82;16850:2;16843:5;16840:13;16832:82;;;16895:17;;;16876:1;16865:13;16832:82;;;16836:3;;;16385:545;;;:::o;17106:1352::-;17232:3;17226:10;17259:18;17251:6;17248:30;17245:56;;;17281:18;;:::i;:::-;17310:97;17400:6;17360:38;17392:4;17386:11;17360:38;:::i;:::-;17354:4;17310:97;:::i;:::-;17462:4;;17526:2;17515:14;;17543:1;17538:663;;;;18245:1;18262:6;18259:89;;;-1:-1:-1;18314:19:1;;;18308:26;18259:89;-1:-1:-1;;17063:1:1;17059:11;;;17055:24;17051:29;17041:40;17087:1;17083:11;;;17038:57;18361:81;;17508:944;;17538:663;16332:1;16325:14;;;16369:4;16356:18;;-1:-1:-1;;17574:20:1;;;17692:236;17706:7;17703:1;17700:14;17692:236;;;17795:19;;;17789:26;17774:42;;17887:27;;;;17855:1;17843:14;;;;17722:19;;17692:236;;;17696:3;17956:6;17947:7;17944:19;17941:201;;;18017:19;;;18011:26;-1:-1:-1;;18100:1:1;18096:14;;;18112:3;18092:24;18088:37;18084:42;18069:58;18054:74;;17941:201;-1:-1:-1;;;;;18188:1:1;18172:14;;;18168:22;18155:36;;-1:-1:-1;17106:1352:1:o;20347:1256::-;20571:3;20609:6;20603:13;20635:4;20648:64;20705:6;20700:3;20695:2;20687:6;20683:15;20648:64;:::i;:::-;20775:13;;20734:16;;;;20797:68;20775:13;20734:16;20832:15;;;20797:68;:::i;:::-;20954:13;;20887:20;;;20927:1;;20992:36;20954:13;20992:36;:::i;:::-;21047:1;21064:18;;;21091:141;;;;21246:1;21241:337;;;;21057:521;;21091:141;-1:-1:-1;;21126:24:1;;21112:39;;21203:16;;21196:24;21182:39;;21171:51;;;-1:-1:-1;21091:141:1;;21241:337;21272:6;21269:1;21262:17;21320:2;21317:1;21307:16;21345:1;21359:169;21373:8;21370:1;21367:15;21359:169;;;21455:14;;21440:13;;;21433:37;21498:16;;;;21390:10;;21359:169;;;21363:3;;21559:8;21552:5;21548:20;21541:27;;21057:521;-1:-1:-1;21594:3:1;;20347:1256;-1:-1:-1;;;;;;;;;;20347:1256:1:o;22736:168::-;22809:9;;;22840;;22857:15;;;22851:22;;22837:37;22827:71;;22878:18;;:::i;23041:217::-;23081:1;23107;23097:132;;23151:10;23146:3;23142:20;23139:1;23132:31;23186:4;23183:1;23176:15;23214:4;23211:1;23204:15;23097:132;-1:-1:-1;23243:9:1;;23041:217::o;23263:128::-;23330:9;;;23351:11;;;23348:37;;;23365:18;;:::i;23776:401::-;23978:2;23960:21;;;24017:2;23997:18;;;23990:30;24056:34;24051:2;24036:18;;24029:62;-1:-1:-1;;;24122:2:1;24107:18;;24100:35;24167:3;24152:19;;23776:401::o;25220:414::-;25422:2;25404:21;;;25461:2;25441:18;;;25434:30;25500:34;25495:2;25480:18;;25473:62;-1:-1:-1;;;25566:2:1;25551:18;;25544:48;25624:3;25609:19;;25220:414::o;25639:245::-;25706:6;25759:2;25747:9;25738:7;25734:23;25730:32;25727:52;;;25775:1;25772;25765:12;25727:52;25807:9;25801:16;25826:28;25848:5;25826:28;:::i;26722:127::-;26783:10;26778:3;26774:20;26771:1;26764:31;26814:4;26811:1;26804:15;26838:4;26835:1;26828:15;26854:489;-1:-1:-1;;;;;27123:15:1;;;27105:34;;27175:15;;27170:2;27155:18;;27148:43;27222:2;27207:18;;27200:34;;;27270:3;27265:2;27250:18;;27243:31;;;27048:4;;27291:46;;27317:19;;27309:6;27291:46;:::i;:::-;27283:54;26854:489;-1:-1:-1;;;;;;26854:489:1:o;27348:249::-;27417:6;27470:2;27458:9;27449:7;27445:23;27441:32;27438:52;;;27486:1;27483;27476:12;27438:52;27518:9;27512:16;27537:30;27561:5;27537:30;:::i;28727:287::-;28856:3;28894:6;28888:13;28910:66;28969:6;28964:3;28957:4;28949:6;28945:17;28910:66;:::i;:::-;28992:16;;;;;28727:287;-1:-1:-1;;28727:287:1:o
Swarm Source
ipfs://0a17a7225ae79f24742d9e968847e891edcde04ce50250b9805e1552ab6f265a
Loading...
Loading
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|---|---|---|---|---|
CRONOS | 100.00% | $99,199 | 0.0001045 | $10.37 |
[ Download: CSV Export ]
[ 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.