Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
500 HMC
Holders
22
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
11 HMCLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
HackMindCorps
Compiler Version
v0.8.17+commit.8df45f5f
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-03-06 */ /** *Submitted for verification at Etherscan.io on 2023-02-26 */ // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; library Bytecode { error InvalidCodeAtRange(uint256 _size, uint256 _start, uint256 _end); /** @notice Generate a creation code that results on a contract with `_code` as bytecode @param _code The returning value of the resulting `creationCode` @return creationCode (constructor) for new contract */ function creationCodeFor(bytes memory _code) internal pure returns (bytes memory) { /* 0x00 0x63 0x63XXXXXX PUSH4 _code.length size 0x01 0x80 0x80 DUP1 size size 0x02 0x60 0x600e PUSH1 14 14 size size 0x03 0x60 0x6000 PUSH1 00 0 14 size size 0x04 0x39 0x39 CODECOPY size 0x05 0x60 0x6000 PUSH1 00 0 size 0x06 0xf3 0xf3 RETURN <CODE> */ return abi.encodePacked( hex"63", uint32(_code.length), hex"80_60_0E_60_00_39_60_00_F3", _code ); } /** @notice Returns the size of the code on a given address @param _addr Address that may or may not contain code @return size of the code on the given `_addr` */ function codeSize(address _addr) internal view returns (uint256 size) { assembly { size := extcodesize(_addr) } } /** @notice Returns the code of a given address @dev It will fail if `_end < _start` @param _addr Address that may or may not contain code @param _start number of bytes of code to skip on read @param _end index before which to end extraction @return oCode read from `_addr` deployed bytecode Forked from: https://gist.github.com/KardanovIR/fe98661df9338c842b4a30306d507fbd */ function codeAt(address _addr, uint256 _start, uint256 _end) internal view returns (bytes memory oCode) { uint256 csize = codeSize(_addr); if (csize == 0) return bytes(""); if (_start > csize) return bytes(""); if (_end < _start) revert InvalidCodeAtRange(csize, _start, _end); unchecked { uint256 reqSize = _end - _start; uint256 maxSize = csize - _start; uint256 size = maxSize < reqSize ? maxSize : reqSize; assembly { // allocate output byte array - this could also be done without assembly // by using o_code = new bytes(size) oCode := mload(0x40) // new "memory end" including padding mstore(0x40, add(oCode, and(add(add(size, 0x20), 0x1f), not(0x1f)))) // store length in memory mstore(oCode, size) // actually retrieve the code, this needs assembly extcodecopy(_addr, add(oCode, 0x20), _start, size) } } } } pragma solidity ^0.8.0; /** @title A key-value storage with auto-generated keys for storing chunks of data with a lower write & read cost. @author Agustin Aguilar <[email protected]> Readme: https://github.com/0xsequence/sstore2#readme */ library SSTORE2 { error WriteError(); /** @notice Stores `_data` and returns `pointer` as key for later retrieval @dev The pointer is a contract address with `_data` as code @param _data to be written @return pointer Pointer to the written `_data` */ function write(bytes memory _data) internal returns (address pointer) { // Append 00 to _data so contract can't be called // Build init code bytes memory code = Bytecode.creationCodeFor( abi.encodePacked( hex'00', _data ) ); // Deploy contract using create assembly { pointer := create(0, add(code, 32), mload(code)) } // Address MUST be non-zero if (pointer == address(0)) revert WriteError(); } /** @notice Reads the contents of the `_pointer` code as data, skips the first byte @dev The function is intended for reading pointers generated by `write` @param _pointer to be read @return data read from `_pointer` contract */ function read(address _pointer) internal view returns (bytes memory) { return Bytecode.codeAt(_pointer, 1, type(uint256).max); } /** @notice Reads the contents of the `_pointer` code as data, skips the first byte @dev The function is intended for reading pointers generated by `write` @param _pointer to be read @param _start number of bytes to skip @return data read from `_pointer` contract */ function read(address _pointer, uint256 _start) internal view returns (bytes memory) { return Bytecode.codeAt(_pointer, _start + 1, type(uint256).max); } /** @notice Reads the contents of the `_pointer` code as data, skips the first byte @dev The function is intended for reading pointers generated by `write` @param _pointer to be read @param _start number of bytes to skip @param _end index before which to end extraction @return data read from `_pointer` contract */ function read(address _pointer, uint256 _start, uint256 _end) internal view returns (bytes memory) { return Bytecode.codeAt(_pointer, _start + 1, _end + 1); } } pragma solidity >=0.8.0 <0.9.0; library BytesLib { function concat( bytes memory _preBytes, bytes memory _postBytes ) internal pure returns (bytes memory) { bytes memory tempBytes; assembly { // Get a location of some free memory and store it in tempBytes as // Solidity does for memory variables. tempBytes := mload(0x40) // Store the length of the first bytes array at the beginning of // the memory for tempBytes. let length := mload(_preBytes) mstore(tempBytes, length) // Maintain a memory counter for the current write location in the // temp bytes array by adding the 32 bytes for the array length to // the starting location. let mc := add(tempBytes, 0x20) // Stop copying when the memory counter reaches the length of the // first bytes array. let end := add(mc, length) for { // Initialize a copy counter to the start of the _preBytes data, // 32 bytes into its memory. let cc := add(_preBytes, 0x20) } lt(mc, end) { // Increase both counters by 32 bytes each iteration. mc := add(mc, 0x20) cc := add(cc, 0x20) } { // Write the _preBytes data into the tempBytes memory 32 bytes // at a time. mstore(mc, mload(cc)) } // Add the length of _postBytes to the current length of tempBytes // and store it as the new length in the first 32 bytes of the // tempBytes memory. length := mload(_postBytes) mstore(tempBytes, add(length, mload(tempBytes))) // Move the memory counter back from a multiple of 0x20 to the // actual end of the _preBytes data. mc := end // Stop copying when the memory counter reaches the new combined // length of the arrays. end := add(mc, length) for { let cc := add(_postBytes, 0x20) } lt(mc, end) { mc := add(mc, 0x20) cc := add(cc, 0x20) } { mstore(mc, mload(cc)) } // Update the free-memory pointer by padding our last write location // to 32 bytes: add 31 bytes to the end of tempBytes to move to the // next 32 byte block, then round down to the nearest multiple of // 32. If the sum of the length of the two arrays is zero then add // one before rounding down to leave a blank 32 bytes (the length block with 0). mstore(0x40, and( add(add(end, iszero(add(length, mload(_preBytes)))), 31), not(31) // Round down to the nearest 32 bytes. )) } return tempBytes; } function concatStorage(bytes storage _preBytes, bytes memory _postBytes) internal { assembly { // Read the first 32 bytes of _preBytes storage, which is the length // of the array. (We don't need to use the offset into the slot // because arrays use the entire slot.) let fslot := sload(_preBytes.slot) // Arrays of 31 bytes or less have an even value in their slot, // while longer arrays have an odd value. The actual length is // the slot divided by two for odd values, and the lowest order // byte divided by two for even values. // If the slot is even, bitwise and the slot with 255 and divide by // two to get the length. If the slot is odd, bitwise and the slot // with -1 and divide by two. let slength := div(and(fslot, sub(mul(0x100, iszero(and(fslot, 1))), 1)), 2) let mlength := mload(_postBytes) let newlength := add(slength, mlength) // slength can contain both the length and contents of the array // if length < 32 bytes so let's prepare for that // v. http://solidity.readthedocs.io/en/latest/miscellaneous.html#layout-of-state-variables-in-storage switch add(lt(slength, 32), lt(newlength, 32)) case 2 { // Since the new array still fits in the slot, we just need to // update the contents of the slot. // uint256(bytes_storage) = uint256(bytes_storage) + uint256(bytes_memory) + new_length sstore( _preBytes.slot, // all the modifications to the slot are inside this // next block add( // we can just add to the slot contents because the // bytes we want to change are the LSBs fslot, add( mul( div( // load the bytes from memory mload(add(_postBytes, 0x20)), // zero all bytes to the right exp(0x100, sub(32, mlength)) ), // and now shift left the number of bytes to // leave space for the length in the slot exp(0x100, sub(32, newlength)) ), // increase length by the double of the memory // bytes length mul(mlength, 2) ) ) ) } case 1 { // The stored value fits in the slot, but the combined value // will exceed it. // get the keccak hash to get the contents of the array mstore(0x0, _preBytes.slot) let sc := add(keccak256(0x0, 0x20), div(slength, 32)) // save new length sstore(_preBytes.slot, add(mul(newlength, 2), 1)) // The contents of the _postBytes array start 32 bytes into // the structure. Our first read should obtain the `submod` // bytes that can fit into the unused space in the last word // of the stored array. To get this, we read 32 bytes starting // from `submod`, so the data we read overlaps with the array // contents by `submod` bytes. Masking the lowest-order // `submod` bytes allows us to add that value directly to the // stored value. let submod := sub(32, slength) let mc := add(_postBytes, submod) let end := add(_postBytes, mlength) let mask := sub(exp(0x100, submod), 1) sstore( sc, add( and( fslot, 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00 ), and(mload(mc), mask) ) ) for { mc := add(mc, 0x20) sc := add(sc, 1) } lt(mc, end) { sc := add(sc, 1) mc := add(mc, 0x20) } { sstore(sc, mload(mc)) } mask := exp(0x100, sub(mc, end)) sstore(sc, mul(div(mload(mc), mask), mask)) } default { // get the keccak hash to get the contents of the array mstore(0x0, _preBytes.slot) // Start copying to the last used word of the stored array. let sc := add(keccak256(0x0, 0x20), div(slength, 32)) // save new length sstore(_preBytes.slot, add(mul(newlength, 2), 1)) // Copy over the first `submod` bytes of the new data as in // case 1 above. let slengthmod := mod(slength, 32) let mlengthmod := mod(mlength, 32) let submod := sub(32, slengthmod) let mc := add(_postBytes, submod) let end := add(_postBytes, mlength) let mask := sub(exp(0x100, submod), 1) sstore(sc, add(sload(sc), and(mload(mc), mask))) for { sc := add(sc, 1) mc := add(mc, 0x20) } lt(mc, end) { sc := add(sc, 1) mc := add(mc, 0x20) } { sstore(sc, mload(mc)) } mask := exp(0x100, sub(mc, end)) sstore(sc, mul(div(mload(mc), mask), mask)) } } } function slice( bytes memory _bytes, uint256 _start, uint256 _length ) internal pure returns (bytes memory) { require(_length + 31 >= _length, "slice_overflow"); require(_bytes.length >= _start + _length, "slice_outOfBounds"); bytes memory tempBytes; assembly { switch iszero(_length) case 0 { // Get a location of some free memory and store it in tempBytes as // Solidity does for memory variables. tempBytes := mload(0x40) // The first word of the slice result is potentially a partial // word read from the original array. To read it, we calculate // the length of that partial word and start copying that many // bytes into the array. The first word we copy will start with // data we don't care about, but the last `lengthmod` bytes will // land at the beginning of the contents of the new array. When // we're done copying, we overwrite the full first word with // the actual length of the slice. let lengthmod := and(_length, 31) // The multiplication in the next line is necessary // because when slicing multiples of 32 bytes (lengthmod == 0) // the following copy loop was copying the origin's length // and then ending prematurely not copying everything it should. let mc := add(add(tempBytes, lengthmod), mul(0x20, iszero(lengthmod))) let end := add(mc, _length) for { // The multiplication in the next line has the same exact purpose // as the one above. let cc := add(add(add(_bytes, lengthmod), mul(0x20, iszero(lengthmod))), _start) } lt(mc, end) { mc := add(mc, 0x20) cc := add(cc, 0x20) } { mstore(mc, mload(cc)) } mstore(tempBytes, _length) //update free-memory pointer //allocating the array padded to 32 bytes like the compiler does now mstore(0x40, and(add(mc, 31), not(31))) } //if we want a zero-length slice let's just return a zero-length array default { tempBytes := mload(0x40) //zero out the 32 bytes slice we are about to return //we need to do it because Solidity does not garbage collect mstore(tempBytes, 0) mstore(0x40, add(tempBytes, 0x20)) } } return tempBytes; } function toAddress(bytes memory _bytes, uint256 _start) internal pure returns (address) { require(_bytes.length >= _start + 20, "toAddress_outOfBounds"); address tempAddress; assembly { tempAddress := div(mload(add(add(_bytes, 0x20), _start)), 0x1000000000000000000000000) } return tempAddress; } function toUint8(bytes memory _bytes, uint256 _start) internal pure returns (uint8) { require(_bytes.length >= _start + 1 , "toUint8_outOfBounds"); uint8 tempUint; assembly { tempUint := mload(add(add(_bytes, 0x1), _start)) } return tempUint; } function toUint16(bytes memory _bytes, uint256 _start) internal pure returns (uint16) { require(_bytes.length >= _start + 2, "toUint16_outOfBounds"); uint16 tempUint; assembly { tempUint := mload(add(add(_bytes, 0x2), _start)) } return tempUint; } function toUint32(bytes memory _bytes, uint256 _start) internal pure returns (uint32) { require(_bytes.length >= _start + 4, "toUint32_outOfBounds"); uint32 tempUint; assembly { tempUint := mload(add(add(_bytes, 0x4), _start)) } return tempUint; } function toUint64(bytes memory _bytes, uint256 _start) internal pure returns (uint64) { require(_bytes.length >= _start + 8, "toUint64_outOfBounds"); uint64 tempUint; assembly { tempUint := mload(add(add(_bytes, 0x8), _start)) } return tempUint; } function toUint96(bytes memory _bytes, uint256 _start) internal pure returns (uint96) { require(_bytes.length >= _start + 12, "toUint96_outOfBounds"); uint96 tempUint; assembly { tempUint := mload(add(add(_bytes, 0xc), _start)) } return tempUint; } function toUint128(bytes memory _bytes, uint256 _start) internal pure returns (uint128) { require(_bytes.length >= _start + 16, "toUint128_outOfBounds"); uint128 tempUint; assembly { tempUint := mload(add(add(_bytes, 0x10), _start)) } return tempUint; } function toUint256(bytes memory _bytes, uint256 _start) internal pure returns (uint256) { require(_bytes.length >= _start + 32, "toUint256_outOfBounds"); uint256 tempUint; assembly { tempUint := mload(add(add(_bytes, 0x20), _start)) } return tempUint; } function toBytes32(bytes memory _bytes, uint256 _start) internal pure returns (bytes32) { require(_bytes.length >= _start + 32, "toBytes32_outOfBounds"); bytes32 tempBytes32; assembly { tempBytes32 := mload(add(add(_bytes, 0x20), _start)) } return tempBytes32; } function equal(bytes memory _preBytes, bytes memory _postBytes) internal pure returns (bool) { bool success = true; assembly { let length := mload(_preBytes) // if lengths don't match the arrays are not equal switch eq(length, mload(_postBytes)) case 1 { // cb is a circuit breaker in the for loop since there's // no said feature for inline assembly loops // cb = 1 - don't breaker // cb = 0 - break let cb := 1 let mc := add(_preBytes, 0x20) let end := add(mc, length) for { let cc := add(_postBytes, 0x20) // the next line is the loop condition: // while(uint256(mc < end) + cb == 2) } eq(add(lt(mc, end), cb), 2) { mc := add(mc, 0x20) cc := add(cc, 0x20) } { // if any of these checks fails then arrays are not equal if iszero(eq(mload(mc), mload(cc))) { // unsuccess: success := 0 cb := 0 } } } default { // unsuccess: success := 0 } } return success; } function equalStorage( bytes storage _preBytes, bytes memory _postBytes ) internal view returns (bool) { bool success = true; assembly { // we know _preBytes_offset is 0 let fslot := sload(_preBytes.slot) // Decode the length of the stored array like in concatStorage(). let slength := div(and(fslot, sub(mul(0x100, iszero(and(fslot, 1))), 1)), 2) let mlength := mload(_postBytes) // if lengths don't match the arrays are not equal switch eq(slength, mlength) case 1 { // slength can contain both the length and contents of the array // if length < 32 bytes so let's prepare for that // v. http://solidity.readthedocs.io/en/latest/miscellaneous.html#layout-of-state-variables-in-storage if iszero(iszero(slength)) { switch lt(slength, 32) case 1 { // blank the last byte which is the length fslot := mul(div(fslot, 0x100), 0x100) if iszero(eq(fslot, mload(add(_postBytes, 0x20)))) { // unsuccess: success := 0 } } default { // cb is a circuit breaker in the for loop since there's // no said feature for inline assembly loops // cb = 1 - don't breaker // cb = 0 - break let cb := 1 // get the keccak hash to get the contents of the array mstore(0x0, _preBytes.slot) let sc := keccak256(0x0, 0x20) let mc := add(_postBytes, 0x20) let end := add(mc, mlength) // the next line is the loop condition: // while(uint256(mc < end) + cb == 2) for {} eq(add(lt(mc, end), cb), 2) { sc := add(sc, 1) mc := add(mc, 0x20) } { if iszero(eq(sload(sc), mload(mc))) { // unsuccess: success := 0 cb := 0 } } } } } default { // unsuccess: success := 0 } } return success; } } /** *Submitted for verification at Etherscan.io on 2023-02-17 */ // 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/StorageSlot.sol // OpenZeppelin Contracts (last updated v4.7.0) (utils/StorageSlot.sol) pragma solidity ^0.8.0; /** * @dev Library for reading and writing primitive types to specific storage slots. * * Storage slots are often used to avoid storage conflict when dealing with upgradeable contracts. * This library helps with reading and writing to such slots without the need for inline assembly. * * The functions in this library return Slot structs that contain a `value` member that can be used to read or write. * * Example usage to set ERC1967 implementation slot: * ``` * contract ERC1967 { * bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc; * * function _getImplementation() internal view returns (address) { * return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value; * } * * function _setImplementation(address newImplementation) internal { * require(Address.isContract(newImplementation), "ERC1967: new implementation is not a contract"); * StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation; * } * } * ``` * * _Available since v4.1 for `address`, `bool`, `bytes32`, and `uint256`._ */ library StorageSlot { struct AddressSlot { address value; } struct BooleanSlot { bool value; } struct Bytes32Slot { bytes32 value; } struct Uint256Slot { uint256 value; } /** * @dev Returns an `AddressSlot` with member `value` located at `slot`. */ function getAddressSlot(bytes32 slot) internal pure returns (AddressSlot storage r) { /// @solidity memory-safe-assembly assembly { r.slot := slot } } /** * @dev Returns an `BooleanSlot` with member `value` located at `slot`. */ function getBooleanSlot(bytes32 slot) internal pure returns (BooleanSlot storage r) { /// @solidity memory-safe-assembly assembly { r.slot := slot } } /** * @dev Returns an `Bytes32Slot` with member `value` located at `slot`. */ function getBytes32Slot(bytes32 slot) internal pure returns (Bytes32Slot storage r) { /// @solidity memory-safe-assembly assembly { r.slot := slot } } /** * @dev Returns an `Uint256Slot` with member `value` located at `slot`. */ function getUint256Slot(bytes32 slot) internal pure returns (Uint256Slot storage r) { /// @solidity memory-safe-assembly assembly { r.slot := slot } } } // 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/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: solidity-bits/contracts/Popcount.sol /** _____ ___ ___ __ ____ _ __ / ___/____ / (_)___/ (_) /___ __ / __ )(_) /______ \__ \/ __ \/ / / __ / / __/ / / / / __ / / __/ ___/ ___/ / /_/ / / / /_/ / / /_/ /_/ / / /_/ / / /_(__ ) /____/\____/_/_/\__,_/_/\__/\__, / /_____/_/\__/____/ /____/ - npm: https://www.npmjs.com/package/solidity-bits - github: https://github.com/estarriolvetch/solidity-bits */ pragma solidity ^0.8.0; library Popcount { uint256 private constant m1 = 0x5555555555555555555555555555555555555555555555555555555555555555; uint256 private constant m2 = 0x3333333333333333333333333333333333333333333333333333333333333333; uint256 private constant m4 = 0x0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f; uint256 private constant h01 = 0x0101010101010101010101010101010101010101010101010101010101010101; function popcount256A(uint256 x) internal pure returns (uint256 count) { unchecked{ for (count=0; x!=0; count++) x &= x - 1; } } function popcount256B(uint256 x) internal pure returns (uint256) { if (x == type(uint256).max) { return 256; } unchecked { x -= (x >> 1) & m1; //put count of each 2 bits into those 2 bits x = (x & m2) + ((x >> 2) & m2); //put count of each 4 bits into those 4 bits x = (x + (x >> 4)) & m4; //put count of each 8 bits into those 8 bits x = (x * h01) >> 248; //returns left 8 bits of x + (x<<8) + (x<<16) + (x<<24) + ... } return x; } } // File: solidity-bits/contracts/BitScan.sol /** _____ ___ ___ __ ____ _ __ / ___/____ / (_)___/ (_) /___ __ / __ )(_) /______ \__ \/ __ \/ / / __ / / __/ / / / / __ / / __/ ___/ ___/ / /_/ / / / /_/ / / /_/ /_/ / / /_/ / / /_(__ ) /____/\____/_/_/\__,_/_/\__/\__, / /_____/_/\__/____/ /____/ - npm: https://www.npmjs.com/package/solidity-bits - github: https://github.com/estarriolvetch/solidity-bits */ pragma solidity ^0.8.0; library BitScan { uint256 constant private DEBRUIJN_256 = 0x818283848586878898a8b8c8d8e8f929395969799a9b9d9e9faaeb6bedeeff; bytes constant private LOOKUP_TABLE_256 = hex"0001020903110a19042112290b311a3905412245134d2a550c5d32651b6d3a7506264262237d468514804e8d2b95569d0d495ea533a966b11c886eb93bc176c9071727374353637324837e9b47af86c7155181ad4fd18ed32c9096db57d59ee30e2e4a6a5f92a6be3498aae067ddb2eb1d5989b56fd7baf33ca0c2ee77e5caf7ff0810182028303840444c545c646c7425617c847f8c949c48a4a8b087b8c0c816365272829aaec650acd0d28fdad4e22d6991bd97dfdcea58b4d6f29fede4f6fe0f1f2f3f4b5b6b607b8b93a3a7b7bf357199c5abcfd9e168bcdee9b3f1ecf5fd1e3e5a7a8aa2b670c4ced8bbe8f0f4fc3d79a1c3cde7effb78cce6facbf9f8"; /** @dev Isolate the least significant set bit. */ function isolateLS1B256(uint256 bb) pure internal returns (uint256) { require(bb > 0); unchecked { return bb & (0 - bb); } } /** @dev Isolate the most significant set bit. */ function isolateMS1B256(uint256 bb) pure internal returns (uint256) { require(bb > 0); unchecked { bb |= bb >> 128; bb |= bb >> 64; bb |= bb >> 32; bb |= bb >> 16; bb |= bb >> 8; bb |= bb >> 4; bb |= bb >> 2; bb |= bb >> 1; return (bb >> 1) + 1; } } /** @dev Find the index of the lest significant set bit. (trailing zero count) */ function bitScanForward256(uint256 bb) pure internal returns (uint8) { unchecked { return uint8(LOOKUP_TABLE_256[(isolateLS1B256(bb) * DEBRUIJN_256) >> 248]); } } /** @dev Find the index of the most significant set bit. */ function bitScanReverse256(uint256 bb) pure internal returns (uint8) { unchecked { return 255 - uint8(LOOKUP_TABLE_256[((isolateMS1B256(bb) * DEBRUIJN_256) >> 248)]); } } function log2(uint256 bb) pure internal returns (uint8) { unchecked { return uint8(LOOKUP_TABLE_256[(isolateMS1B256(bb) * DEBRUIJN_256) >> 248]); } } } // File: solidity-bits/contracts/BitMaps.sol /** _____ ___ ___ __ ____ _ __ / ___/____ / (_)___/ (_) /___ __ / __ )(_) /______ \__ \/ __ \/ / / __ / / __/ / / / / __ / / __/ ___/ ___/ / /_/ / / / /_/ / / /_/ /_/ / / /_/ / / /_(__ ) /____/\____/_/_/\__,_/_/\__/\__, / /_____/_/\__/____/ /____/ - npm: https://www.npmjs.com/package/solidity-bits - github: https://github.com/estarriolvetch/solidity-bits */ pragma solidity ^0.8.0; /** * @dev This Library is a modified version of Openzeppelin's BitMaps library with extra features. * * 1. Functions of finding the index of the closest set bit from a given index are added. * The indexing of each bucket is modifed to count from the MSB to the LSB instead of from the LSB to the MSB. * The modification of indexing makes finding the closest previous set bit more efficient in gas usage. * 2. Setting and unsetting the bitmap consecutively. * 3. Accounting number of set bits within a given range. * */ /** * @dev Library for managing uint256 to bool mapping in a compact and efficient way, providing the keys are sequential. * Largelly inspired by Uniswap's https://github.com/Uniswap/merkle-distributor/blob/master/contracts/MerkleDistributor.sol[merkle-distributor]. */ library BitMaps { using BitScan for uint256; uint256 private constant MASK_INDEX_ZERO = (1 << 255); uint256 private constant MASK_FULL = type(uint256).max; struct BitMap { mapping(uint256 => uint256) _data; } /** * @dev Returns whether the bit at `index` is set. */ function get(BitMap storage bitmap, uint256 index) internal view returns (bool) { uint256 bucket = index >> 8; uint256 mask = MASK_INDEX_ZERO >> (index & 0xff); return bitmap._data[bucket] & mask != 0; } /** * @dev Sets the bit at `index` to the boolean `value`. */ function setTo( BitMap storage bitmap, uint256 index, bool value ) internal { if (value) { set(bitmap, index); } else { unset(bitmap, index); } } /** * @dev Sets the bit at `index`. */ function set(BitMap storage bitmap, uint256 index) internal { uint256 bucket = index >> 8; uint256 mask = MASK_INDEX_ZERO >> (index & 0xff); bitmap._data[bucket] |= mask; } /** * @dev Unsets the bit at `index`. */ function unset(BitMap storage bitmap, uint256 index) internal { uint256 bucket = index >> 8; uint256 mask = MASK_INDEX_ZERO >> (index & 0xff); bitmap._data[bucket] &= ~mask; } /** * @dev Consecutively sets `amount` of bits starting from the bit at `startIndex`. */ function setBatch(BitMap storage bitmap, uint256 startIndex, uint256 amount) internal { uint256 bucket = startIndex >> 8; uint256 bucketStartIndex = (startIndex & 0xff); unchecked { if(bucketStartIndex + amount < 256) { bitmap._data[bucket] |= MASK_FULL << (256 - amount) >> bucketStartIndex; } else { bitmap._data[bucket] |= MASK_FULL >> bucketStartIndex; amount -= (256 - bucketStartIndex); bucket++; while(amount > 256) { bitmap._data[bucket] = MASK_FULL; amount -= 256; bucket++; } bitmap._data[bucket] |= MASK_FULL << (256 - amount); } } } /** * @dev Consecutively unsets `amount` of bits starting from the bit at `startIndex`. */ function unsetBatch(BitMap storage bitmap, uint256 startIndex, uint256 amount) internal { uint256 bucket = startIndex >> 8; uint256 bucketStartIndex = (startIndex & 0xff); unchecked { if(bucketStartIndex + amount < 256) { bitmap._data[bucket] &= ~(MASK_FULL << (256 - amount) >> bucketStartIndex); } else { bitmap._data[bucket] &= ~(MASK_FULL >> bucketStartIndex); amount -= (256 - bucketStartIndex); bucket++; while(amount > 256) { bitmap._data[bucket] = 0; amount -= 256; bucket++; } bitmap._data[bucket] &= ~(MASK_FULL << (256 - amount)); } } } /** * @dev Returns number of set bits within a range. */ function popcountA(BitMap storage bitmap, uint256 startIndex, uint256 amount) internal view returns(uint256 count) { uint256 bucket = startIndex >> 8; uint256 bucketStartIndex = (startIndex & 0xff); unchecked { if(bucketStartIndex + amount < 256) { count += Popcount.popcount256A( bitmap._data[bucket] & (MASK_FULL << (256 - amount) >> bucketStartIndex) ); } else { count += Popcount.popcount256A( bitmap._data[bucket] & (MASK_FULL >> bucketStartIndex) ); amount -= (256 - bucketStartIndex); bucket++; while(amount > 256) { count += Popcount.popcount256A(bitmap._data[bucket]); amount -= 256; bucket++; } count += Popcount.popcount256A( bitmap._data[bucket] & (MASK_FULL << (256 - amount)) ); } } } /** * @dev Returns number of set bits within a range. */ function popcountB(BitMap storage bitmap, uint256 startIndex, uint256 amount) internal view returns(uint256 count) { uint256 bucket = startIndex >> 8; uint256 bucketStartIndex = (startIndex & 0xff); unchecked { if(bucketStartIndex + amount < 256) { count += Popcount.popcount256B( bitmap._data[bucket] & (MASK_FULL << (256 - amount) >> bucketStartIndex) ); } else { count += Popcount.popcount256B( bitmap._data[bucket] & (MASK_FULL >> bucketStartIndex) ); amount -= (256 - bucketStartIndex); bucket++; while(amount > 256) { count += Popcount.popcount256B(bitmap._data[bucket]); amount -= 256; bucket++; } count += Popcount.popcount256B( bitmap._data[bucket] & (MASK_FULL << (256 - amount)) ); } } } /** * @dev Find the closest index of the set bit before `index`. */ function scanForward(BitMap storage bitmap, uint256 index) internal view returns (uint256 setBitIndex) { uint256 bucket = index >> 8; // index within the bucket uint256 bucketIndex = (index & 0xff); // load a bitboard from the bitmap. uint256 bb = bitmap._data[bucket]; // offset the bitboard to scan from `bucketIndex`. bb = bb >> (0xff ^ bucketIndex); // bb >> (255 - bucketIndex) if(bb > 0) { unchecked { setBitIndex = (bucket << 8) | (bucketIndex - bb.bitScanForward256()); } } else { while(true) { require(bucket > 0, "BitMaps: The set bit before the index doesn't exist."); unchecked { bucket--; } // No offset. Always scan from the least significiant bit now. bb = bitmap._data[bucket]; if(bb > 0) { unchecked { setBitIndex = (bucket << 8) | (255 - bb.bitScanForward256()); break; } } } } } function getBucket(BitMap storage bitmap, uint256 bucket) internal view returns (uint256) { return bitmap._data[bucket]; } } // 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/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/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/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/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/interfaces/IERC2981.sol // OpenZeppelin Contracts (last updated v4.6.0) (interfaces/IERC2981.sol) pragma solidity ^0.8.0; /** * @dev Interface for the NFT Royalty Standard. * * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal * support for royalty payments across all NFT marketplaces and ecosystem participants. * * _Available since v4.5._ */ interface IERC2981 is IERC165 { /** * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of * exchange. The royalty amount is denominated and should be paid in that same unit of exchange. */ function royaltyInfo(uint256 tokenId, uint256 salePrice) external view returns (address receiver, uint256 royaltyAmount); } // File: @openzeppelin/contracts/token/common/ERC2981.sol // OpenZeppelin Contracts (last updated v4.7.0) (token/common/ERC2981.sol) pragma solidity ^0.8.0; /** * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information. * * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first. * * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the * fee is specified in basis points by default. * * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported. * * _Available since v4.5._ */ abstract contract ERC2981 is IERC2981, ERC165 { struct RoyaltyInfo { address receiver; uint96 royaltyFraction; } RoyaltyInfo private _defaultRoyaltyInfo; mapping(uint256 => RoyaltyInfo) private _tokenRoyaltyInfo; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC165) returns (bool) { return interfaceId == type(IERC2981).interfaceId || super.supportsInterface(interfaceId); } /** * @inheritdoc IERC2981 */ function royaltyInfo(uint256 _tokenId, uint256 _salePrice) public view virtual override returns (address, uint256) { RoyaltyInfo memory royalty = _tokenRoyaltyInfo[_tokenId]; if (royalty.receiver == address(0)) { royalty = _defaultRoyaltyInfo; } uint256 royaltyAmount = (_salePrice * royalty.royaltyFraction) / _feeDenominator(); return (royalty.receiver, royaltyAmount); } /** * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an * override. */ function _feeDenominator() internal pure virtual returns (uint96) { return 10000; } /** * @dev Sets the royalty information that all ids in this contract will default to. * * Requirements: * * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual { require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice"); require(receiver != address(0), "ERC2981: invalid receiver"); _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Removes default royalty information. */ function _deleteDefaultRoyalty() internal virtual { delete _defaultRoyaltyInfo; } /** * @dev Sets the royalty information for a specific token id, overriding the global default. * * Requirements: * * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setTokenRoyalty( uint256 tokenId, address receiver, uint96 feeNumerator ) internal virtual { require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice"); require(receiver != address(0), "ERC2981: Invalid parameters"); _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Resets royalty information for the token id back to the global default. */ function _resetTokenRoyalty(uint256 tokenId) internal virtual { delete _tokenRoyaltyInfo[tokenId]; } } // 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: erc721psi/contracts/ERC721Psi.sol /** ______ _____ _____ ______ ___ __ _ _ _ | ____| __ \ / ____|____ |__ \/_ | || || | | |__ | |__) | | / / ) || | \| |/ | | __| | _ /| | / / / / | |\_ _/ | |____| | \ \| |____ / / / /_ | | | | |______|_| \_\\_____|/_/ |____||_| |_| - github: https://github.com/estarriolvetch/ERC721Psi - npm: https://www.npmjs.com/package/erc721psi */ pragma solidity ^0.8.0; contract ERC721Psi is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; using BitMaps for BitMaps.BitMap; BitMaps.BitMap internal _batchHead; string private _name; string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) internal _owners; uint256 internal _currentIndex; mapping(uint256 => address) private _tokenApprovals; 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_; _currentIndex = _startTokenId(); } /** * @dev Returns the starting token ID. * To change the starting token ID, please override this function. */ function _startTokenId() internal pure virtual returns (uint256) { // It will become modifiable in the future versions return 0; } /** * @dev Returns the next token ID to be minted. */ function _nextTokenId() internal view virtual returns (uint256) { return _currentIndex; } /** * @dev Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view virtual returns (uint256) { return _currentIndex - _startTokenId(); } /** * @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 (uint) { require(owner != address(0), "ERC721Psi: balance query for the zero address"); uint count; for( uint i = _startTokenId(); i < _nextTokenId(); ++i ){ if(_exists(i)){ if( owner == ownerOf(i)){ ++count; } } } return count; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { (address owner, ) = _ownerAndBatchHeadOf(tokenId); return owner; } function _ownerAndBatchHeadOf(uint256 tokenId) internal view virtual returns (address owner, uint256 tokenIdBatchHead){ require(_exists(tokenId), "ERC721Psi: owner query for nonexistent token"); tokenIdBatchHead = _getBatchHead(tokenId); owner = _owners[tokenIdBatchHead]; } /** * @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) { require(_exists(tokenId), "ERC721Psi: URI query for nonexistent token"); 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 overriden 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 = ownerOf(tokenId); require(to != owner, "ERC721Psi: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721Psi: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require( _exists(tokenId), "ERC721Psi: approved query for nonexistent token" ); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { require(operator != _msgSender(), "ERC721Psi: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_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), "ERC721Psi: transfer caller is not owner nor approved" ); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require( _isApprovedOrOwner(_msgSender(), tokenId), "ERC721Psi: transfer caller is not owner nor approved" ); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require( _checkOnERC721Received(from, to, tokenId, 1,_data), "ERC721Psi: transfer to non ERC721Receiver implementer" ); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return tokenId < _nextTokenId() && _startTokenId() <= tokenId; } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require( _exists(tokenId), "ERC721Psi: operator query for nonexistent token" ); address owner = ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 quantity) internal virtual { _safeMint(to, quantity, ""); } function _safeMint( address to, uint256 quantity, bytes memory _data ) internal virtual { uint256 nextTokenId = _nextTokenId(); _mint(to, quantity); require( _checkOnERC721Received(address(0), to, nextTokenId, quantity, _data), "ERC721Psi: transfer to non ERC721Receiver implementer" ); } function _mint( address to, uint256 quantity ) internal virtual { uint256 nextTokenId = _nextTokenId(); require(quantity > 0, "ERC721Psi: quantity must be greater 0"); require(to != address(0), "ERC721Psi: mint to the zero address"); _beforeTokenTransfers(address(0), to, nextTokenId, quantity); _currentIndex += quantity; _owners[nextTokenId] = to; _batchHead.set(nextTokenId); _afterTokenTransfers(address(0), to, nextTokenId, quantity); // Emit events for(uint256 tokenId=nextTokenId; tokenId < nextTokenId + quantity; tokenId++){ emit Transfer(address(0), to, tokenId); } } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { (address owner, uint256 tokenIdBatchHead) = _ownerAndBatchHeadOf(tokenId); require( owner == from, "ERC721Psi: transfer of token that is not own" ); require(to != address(0), "ERC721Psi: transfer to the zero address"); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId); uint256 subsequentTokenId = tokenId + 1; if(!_batchHead.get(subsequentTokenId) && subsequentTokenId < _nextTokenId() ) { _owners[subsequentTokenId] = from; _batchHead.set(subsequentTokenId); } _owners[tokenId] = to; if(tokenId != tokenIdBatchHead) { _batchHead.set(tokenId); } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ownerOf(tokenId), to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param startTokenId uint256 the first ID of the tokens to be transferred * @param quantity uint256 amount of the tokens to be transfered. * @param _data bytes optional data to send along with the call * @return r bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 startTokenId, uint256 quantity, bytes memory _data ) private returns (bool r) { if (to.isContract()) { r = true; for(uint256 tokenId = startTokenId; tokenId < startTokenId + quantity; tokenId++){ try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { r = r && retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721Psi: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } return r; } else { return true; } } function _getBatchHead(uint256 tokenId) internal view returns (uint256 tokenIdBatchHead) { tokenIdBatchHead = _batchHead.scanForward(tokenId); } function totalSupply() public virtual view returns (uint256) { return _totalMinted(); } /** * @dev Returns an array of token IDs owned by `owner`. * * This function scans the ownership mapping and is O(`totalSupply`) in complexity. * It is meant to be called off-chain. * * This function is compatiable with ERC721AQueryable. */ function tokensOfOwner(address owner) external view virtual returns (uint256[] memory) { unchecked { uint256 tokenIdsIdx; uint256 tokenIdsLength = balanceOf(owner); uint256[] memory tokenIds = new uint256[](tokenIdsLength); for (uint256 i = _startTokenId(); tokenIdsIdx != tokenIdsLength; ++i) { if (_exists(i)) { if (ownerOf(i) == owner) { tokenIds[tokenIdsIdx++] = i; } } } return tokenIds; } } /** * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes * minting. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} } // File: erc721psi/contracts/extension/ERC721PsiBurnable.sol /** ______ _____ _____ ______ ___ __ _ _ _ | ____| __ \ / ____|____ |__ \/_ | || || | | |__ | |__) | | / / ) || | \| |/ | | __| | _ /| | / / / / | |\_ _/ | |____| | \ \| |____ / / / /_ | | | | |______|_| \_\\_____|/_/ |____||_| |_| */ pragma solidity ^0.8.0; abstract contract ERC721PsiBurnable is ERC721Psi { using BitMaps for BitMaps.BitMap; BitMaps.BitMap internal _burnedToken; /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address from = ownerOf(tokenId); _beforeTokenTransfers(from, address(0), tokenId, 1); _burnedToken.set(tokenId); emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); } /** * @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 override virtual returns (bool){ if(_burnedToken.get(tokenId)) { return false; } return super._exists(tokenId); } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalMinted() - _burned(); } /** * @dev Returns number of token burned. */ function _burned() internal view returns (uint256 burned){ uint256 startBucket = _startTokenId() >> 8; uint256 lastBucket = (_nextTokenId() >> 8) + 1; for(uint256 i=startBucket; i < lastBucket; i++) { uint256 bucket = _burnedToken.getBucket(i); burned += _popcount(bucket); } } /** * @dev Returns number of set bits. */ function _popcount(uint256 x) private pure returns (uint256 count) { unchecked{ for (count=0; x!=0; count++) x &= x - 1; } } } // 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: EXO/NEW/EXO.sol pragma solidity >=0.6.0; /// @title Base64 /// @author Brecht Devos - <[email protected]> /// @notice Provides functions for encoding/decoding base64 library Base64 { string internal constant TABLE_ENCODE = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'; bytes internal constant TABLE_DECODE = hex"0000000000000000000000000000000000000000000000000000000000000000" hex"00000000000000000000003e0000003f3435363738393a3b3c3d000000000000" hex"00000102030405060708090a0b0c0d0e0f101112131415161718190000000000" hex"001a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132330000000000"; function encode(bytes memory data) internal pure returns (string memory) { if (data.length == 0) return ''; // load the table into memory string memory table = TABLE_ENCODE; // multiply by 4/3 rounded up uint256 encodedLen = 4 * ((data.length + 2) / 3); // add some extra buffer at the end required for the writing string memory result = new string(encodedLen + 32); assembly { // set the actual output length mstore(result, encodedLen) // prepare the lookup table let tablePtr := add(table, 1) // input ptr let dataPtr := data let endPtr := add(dataPtr, mload(data)) // result ptr, jump over length let resultPtr := add(result, 32) // run over the input, 3 bytes at a time for {} lt(dataPtr, endPtr) {} { // read 3 bytes dataPtr := add(dataPtr, 3) let input := mload(dataPtr) // write 4 characters mstore8(resultPtr, mload(add(tablePtr, and(shr(18, input), 0x3F)))) resultPtr := add(resultPtr, 1) mstore8(resultPtr, mload(add(tablePtr, and(shr(12, input), 0x3F)))) resultPtr := add(resultPtr, 1) mstore8(resultPtr, mload(add(tablePtr, and(shr( 6, input), 0x3F)))) resultPtr := add(resultPtr, 1) mstore8(resultPtr, mload(add(tablePtr, and( input, 0x3F)))) resultPtr := add(resultPtr, 1) } // padding with '=' switch mod(mload(data), 3) case 1 { mstore(sub(resultPtr, 2), shl(240, 0x3d3d)) } case 2 { mstore(sub(resultPtr, 1), shl(248, 0x3d)) } } return result; } function decode(string memory _data) internal pure returns (bytes memory) { bytes memory data = bytes(_data); if (data.length == 0) return new bytes(0); require(data.length % 4 == 0, "invalid base64 decoder input"); // load the table into memory bytes memory table = TABLE_DECODE; // every 4 characters represent 3 bytes uint256 decodedLen = (data.length / 4) * 3; // add some extra buffer at the end required for the writing bytes memory result = new bytes(decodedLen + 32); assembly { // padding with '=' let lastBytes := mload(add(data, mload(data))) if eq(and(lastBytes, 0xFF), 0x3d) { decodedLen := sub(decodedLen, 1) if eq(and(lastBytes, 0xFFFF), 0x3d3d) { decodedLen := sub(decodedLen, 1) } } // set the actual output length mstore(result, decodedLen) // prepare the lookup table let tablePtr := add(table, 1) // input ptr let dataPtr := data let endPtr := add(dataPtr, mload(data)) // result ptr, jump over length let resultPtr := add(result, 32) // run over the input, 4 characters at a time for {} lt(dataPtr, endPtr) {} { // read 4 characters dataPtr := add(dataPtr, 4) let input := mload(dataPtr) // write 3 bytes let output := add( add( shl(18, and(mload(add(tablePtr, and(shr(24, input), 0xFF))), 0xFF)), shl(12, and(mload(add(tablePtr, and(shr(16, input), 0xFF))), 0xFF))), add( shl( 6, and(mload(add(tablePtr, and(shr( 8, input), 0xFF))), 0xFF)), and(mload(add(tablePtr, and( input , 0xFF))), 0xFF) ) ) mstore(resultPtr, shl(232, output)) resultPtr := add(resultPtr, 3) } } return result; } } pragma solidity ^0.8.7; abstract contract MerkleProof { mapping(uint256 => bytes32) internal _alMerkleRoot; uint256 public phaseId; function _setAlMerkleRootWithId(uint256 _phaseId,bytes32 merkleRoot_) internal virtual { _alMerkleRoot[_phaseId] = merkleRoot_; } function _setAlMerkleRoot(bytes32 merkleRoot_) internal virtual { _alMerkleRoot[phaseId] = merkleRoot_; } function isAllowlisted(address address_,uint256 _phaseId, bytes32[] memory proof_) public view returns (bool) { bytes32 _leaf = keccak256(abi.encodePacked(address_)); for (uint256 i = 0; i < proof_.length; i++) { _leaf = _leaf < proof_[i] ? keccak256(abi.encodePacked(_leaf, proof_[i])) : keccak256(abi.encodePacked(proof_[i], _leaf)); } return _leaf == _alMerkleRoot[_phaseId]; } } pragma solidity ^0.8.9; abstract contract Operable is Context { mapping(address => bool) _operators; modifier onlyOperator() { _checkOperatorRole(_msgSender()); _; } function isOperator(address _operator) public view returns (bool) { return _operators[_operator]; } function _grantOperatorRole(address _candidate) internal { require( !_operators[_candidate], string( abi.encodePacked( "account ", Strings.toHexString(uint160(_msgSender()), 20), " is already has an operator role" ) ) ); _operators[_candidate] = true; } function _revokeOperatorRole(address _candidate) internal { _checkOperatorRole(_candidate); delete _operators[_candidate]; } function _checkOperatorRole(address _operator) internal view { require( _operators[_operator], string( abi.encodePacked( "account ", Strings.toHexString(uint160(_msgSender()), 20), " is not an operator" ) ) ); } } pragma solidity ^0.8.13; interface IOperatorFilterRegistry { function isOperatorAllowed(address registrant, address operator) external view returns (bool); function register(address registrant) external; function registerAndSubscribe(address registrant, address subscription) external; function registerAndCopyEntries(address registrant, address registrantToCopy) external; function unregister(address addr) external; function updateOperator(address registrant, address operator, bool filtered) external; function updateOperators(address registrant, address[] calldata operators, bool filtered) external; function updateCodeHash(address registrant, bytes32 codehash, bool filtered) external; function updateCodeHashes(address registrant, bytes32[] calldata codeHashes, bool filtered) external; function subscribe(address registrant, address registrantToSubscribe) external; function unsubscribe(address registrant, bool copyExistingEntries) external; function subscriptionOf(address addr) external returns (address registrant); function subscribers(address registrant) external returns (address[] memory); function subscriberAt(address registrant, uint256 index) external returns (address); function copyEntriesOf(address registrant, address registrantToCopy) external; function isOperatorFiltered(address registrant, address operator) external returns (bool); function isCodeHashOfFiltered(address registrant, address operatorWithCode) external returns (bool); function isCodeHashFiltered(address registrant, bytes32 codeHash) external returns (bool); function filteredOperators(address addr) external returns (address[] memory); function filteredCodeHashes(address addr) external returns (bytes32[] memory); function filteredOperatorAt(address registrant, uint256 index) external returns (address); function filteredCodeHashAt(address registrant, uint256 index) external returns (bytes32); function isRegistered(address addr) external returns (bool); function codeHashOf(address addr) external returns (bytes32); } pragma solidity ^0.8.13; /** * @title OperatorFilterer * @notice Abstract contract whose constructor automatically registers and optionally subscribes to or copies another * registrant's entries in the OperatorFilterRegistry. * @dev This smart contract is meant to be inherited by token contracts so they can use the following: * - `onlyAllowedOperator` modifier for `transferFrom` and `safeTransferFrom` methods. * - `onlyAllowedOperatorApproval` modifier for `approve` and `setApprovalForAll` methods. */ abstract contract OperatorFilterer { error OperatorNotAllowed(address operator); bool public operatorFilteringEnabled = true; IOperatorFilterRegistry public constant OPERATOR_FILTER_REGISTRY = IOperatorFilterRegistry(0x000000000000AAeB6D7670E522A718067333cd4E); constructor(address subscriptionOrRegistrantToCopy, bool subscribe) { // If an inheriting token contract is deployed to a network without the registry deployed, the modifier // will not revert, but the contract will need to be registered with the registry once it is deployed in // order for the modifier to filter addresses. if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) { if (subscribe) { OPERATOR_FILTER_REGISTRY.registerAndSubscribe(address(this), subscriptionOrRegistrantToCopy); } else { if (subscriptionOrRegistrantToCopy != address(0)) { OPERATOR_FILTER_REGISTRY.registerAndCopyEntries(address(this), subscriptionOrRegistrantToCopy); } else { OPERATOR_FILTER_REGISTRY.register(address(this)); } } } } modifier onlyAllowedOperator(address from) virtual { // Check registry code length to facilitate testing in environments without a deployed registry. if (address(OPERATOR_FILTER_REGISTRY).code.length > 0 && operatorFilteringEnabled) { // Allow spending tokens from addresses with balance // Note that this still allows listings and marketplaces with escrow to transfer tokens if transferred // from an EOA. if (from == msg.sender) { _; return; } if (!OPERATOR_FILTER_REGISTRY.isOperatorAllowed(address(this), msg.sender)) { revert OperatorNotAllowed(msg.sender); } } _; } modifier onlyAllowedOperatorApproval(address operator) virtual { // Check registry code length to facilitate testing in environments without a deployed registry. if (address(OPERATOR_FILTER_REGISTRY).code.length > 0 && operatorFilteringEnabled) { if (!OPERATOR_FILTER_REGISTRY.isOperatorAllowed(address(this), operator)) { revert OperatorNotAllowed(operator); } } _; } } pragma solidity ^0.8.13; /** * @title DefaultOperatorFilterer * @notice Inherits from OperatorFilterer and automatically subscribes to the default OpenSea subscription. */ abstract contract DefaultOperatorFilterer is OperatorFilterer { address constant DEFAULT_SUBSCRIPTION = address(0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6); constructor() OperatorFilterer(DEFAULT_SUBSCRIPTION, true) {} } pragma solidity >=0.7.0 <0.9.0; interface IContractAllowListProxy { function isAllowed(address _transferer, uint256 _level) external view returns (bool); } pragma solidity >=0.8.0; /// @title IERC721RestrictApprove /// @dev Approve抑制機能付きコントラクトのインターフェース /// @author Lavulite interface IERC721RestrictApprove { /** * @dev CALレベルが変更された場合のイベント */ event CalLevelChanged(address indexed operator, uint256 indexed level); /** * @dev LocalContractAllowListnに追加された場合のイベント */ event LocalCalAdded(address indexed operator, address indexed transferer); /** * @dev LocalContractAllowListnに削除された場合のイベント */ event LocalCalRemoved(address indexed operator, address indexed transferer); /** * @dev CALを利用する場合のCALのレベルを設定する。レベルが高いほど、許可されるコントラクトの範囲が狭い。 */ function setCALLevel(uint256 level) external; /** * @dev CALのアドレスをセットする。 */ function setCAL(address calAddress) external; /** * @dev CALのリストに無い独自の許可アドレスを追加する場合、こちらにアドレスを記載する。 */ function addLocalContractAllowList(address transferer) external; /** * @dev CALのリストにある独自の許可アドレスを削除する場合、こちらにアドレスを記載する。 */ function removeLocalContractAllowList(address transferer) external; /** * @dev CALのリストにある独自の許可アドレスの一覧を取得する。 */ function getLocalContractAllowList() external view returns(address[] memory); } pragma solidity >=0.8.0; /// @title AntiScam機能付きERC721A /// @dev Readmeを見てください。 abstract contract ERC721RestrictApprove is ERC721PsiBurnable, IERC721RestrictApprove { using EnumerableSet for EnumerableSet.AddressSet; IContractAllowListProxy public CAL; EnumerableSet.AddressSet localAllowedAddresses; modifier onlyHolder(uint256 tokenId) { require( msg.sender == ownerOf(tokenId), "RestrictApprove: operation is only holder." ); _; } /*////////////////////////////////////////////////////////////// 変数 //////////////////////////////////////////////////////////////*/ bool public enableRestrict = true; // token lock mapping(uint256 => uint256) public tokenCALLevel; // wallet lock mapping(address => uint256) public walletCALLevel; // contract lock uint256 public CALLevel = 1; /*/////////////////////////////////////////////////////////////// Approve抑制機能ロジック //////////////////////////////////////////////////////////////*/ function _addLocalContractAllowList(address transferer) internal virtual { localAllowedAddresses.add(transferer); emit LocalCalAdded(msg.sender, transferer); } function _removeLocalContractAllowList(address transferer) internal virtual { localAllowedAddresses.remove(transferer); emit LocalCalRemoved(msg.sender, transferer); } function _getLocalContractAllowList() internal virtual view returns(address[] memory) { return localAllowedAddresses.values(); } function _isLocalAllowed(address transferer) internal view virtual returns (bool) { return localAllowedAddresses.contains(transferer); } function _isAllowed(address transferer) internal view virtual returns (bool) { return _isAllowed(msg.sender, transferer); } function _isAllowed(uint256 tokenId, address transferer) internal view virtual returns (bool) { uint256 level = _getCALLevel(msg.sender, tokenId); return _isAllowed(transferer, level); } function _isAllowed(address holder, address transferer) internal view virtual returns (bool) { uint256 level = _getCALLevel(holder); return _isAllowed(transferer, level); } function _isAllowed(address transferer, uint256 level) internal view virtual returns (bool) { if (!enableRestrict) { return true; } return _isLocalAllowed(transferer) || CAL.isAllowed(transferer, level); } function _getCALLevel(address holder, uint256 tokenId) internal view virtual returns (uint256) { if (tokenCALLevel[tokenId] > 0) { return tokenCALLevel[tokenId]; } return _getCALLevel(holder); } function _getCALLevel(address holder) internal view virtual returns (uint256) { if (walletCALLevel[holder] > 0) { return walletCALLevel[holder]; } return CALLevel; } function _setCAL(address _cal) internal virtual { CAL = IContractAllowListProxy(_cal); } function _deleteTokenCALLevel(uint256 tokenId) internal virtual { delete tokenCALLevel[tokenId]; } function setTokenCALLevel(uint256 tokenId, uint256 level) external virtual onlyHolder(tokenId) { tokenCALLevel[tokenId] = level; } function setWalletCALLevel(uint256 level) external virtual { walletCALLevel[msg.sender] = level; } /*/////////////////////////////////////////////////////////////// OVERRIDES //////////////////////////////////////////////////////////////*/ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { if (_isAllowed(owner, operator) == false) { return false; } return super.isApprovedForAll(owner, operator); } function setApprovalForAll(address operator, bool approved) public virtual override { require( _isAllowed(operator) || approved == false, "RestrictApprove: Can not approve locked token" ); super.setApprovalForAll(operator, approved); } function _beforeApprove(address to, uint256 tokenId) internal virtual { if (to != address(0)) { require(_isAllowed(tokenId, to), "RestrictApprove: The contract is not allowed."); } } function approve(address to, uint256 tokenId) public virtual override { _beforeApprove(to, tokenId); super.approve(to, tokenId); } function _afterTokenTransfers( address from, address, /*to*/ uint256 startTokenId, uint256 /*quantity*/ ) internal virtual override { // 転送やバーンにおいては、常にstartTokenIdは TokenIDそのものとなります。 if (from != address(0)) { // CALレベルをデフォルトに戻す。 _deleteTokenCALLevel(startTokenId); } } function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC721RestrictApprove).interfaceId || super.supportsInterface(interfaceId); } } pragma solidity ^0.8.7; /* ╭━╮╱╭┳╮╱╭┳━╮╱╭┳━╮╭━┳━━━╮ ┃┃╰╮┃┃┃╱┃┃┃╰╮┃┃┃╰╯┃┃╭━━╯ ┃╭╮╰╯┃┃╱┃┃╭╮╰╯┃╭╮╭╮┃╰━━╮ ┃┃╰╮┃┃┃╱┃┃┃╰╮┃┃┃┃┃┃┃╭━━╯ ┃┃╱┃┃┃╰━╯┃┃╱┃┃┃┃┃┃┃┃╰━━╮ ╰╯╱╰━┻━━━┻╯╱╰━┻╯╰╯╰┻━━━╯ -HackMindCorps- */ contract HackMindCorps is Ownable, ERC721RestrictApprove, ReentrancyGuard, MerkleProof, ERC2981, DefaultOperatorFilterer,Operable { //Project Settings uint256 public wlMintPrice = 0.001 ether; uint256 public alMintPrice = 0.001 ether; uint256 public psMintPrice = 0.002 ether; mapping(uint256 => uint256) public maxMintsPerAL; uint256 public maxMintsPerPS = 2; uint256 public maxMintsPerALOT = 1; uint256 public maxMintsPerPSOT = 1; uint256 public maxSupply = 22222; uint256 public mintable = 500; uint256 public revealed = 0; uint256 public nowPhaseWl; uint256 public nowPhaseAl; uint256 public nowPhasePs; uint256 public maxReveal; uint256 public cntBlock;// = 604800; uint256 public baseTime; uint256 public adIndex = 1; address internal _withdrawWallet; //URI string internal hiddenURI; string internal _baseTokenURI; string public _baseExtension = ".json"; //flags bool public isAlSaleEnabled; bool public isPublicSaleEnabled; bool internal hodlTimSys = false; bool internal lockBurn = true; //mint records. mapping(uint256 => mapping(address => uint256)) internal _alMinted; mapping(uint256 => mapping(address => uint256)) internal _psMinted; mapping(uint256 => uint256) internal _updateAt; mapping(uint256 => int256) internal _lockTim; address[] private pointer; address private airdropAddress; using BytesLib for bytes; using BitMaps for BitMaps.BitMap; uint256 public nowPid; constructor ( address _royaltyReceiver, uint96 _royaltyFraction ) ERC721Psi ("Hack Mind Corps","HMC") { _grantOperatorRole(_royaltyReceiver); _setDefaultRoyalty(_royaltyReceiver,_royaltyFraction); airdropAddress = msg.sender; operatorFilteringEnabled = false; //CAL initialization setCALLevel(1); _setCAL(0xF2A78c73ffBAB6ECc3548Acc54B546ace279312E);//Ethereum mainnet proxy _addLocalContractAllowList(0x1E0049783F008A0085193E00003D00cd54003c71);//OpenSea _addLocalContractAllowList(0x4feE7B061C97C9c496b01DbcE9CDb10c02f0a0Be);//Rarible _addLocalContractAllowList(0x000000000000Ad05Ccc4F10045630fb830B95127);//BLUR _addLocalContractAllowList(0x00000000000111AbE46ff893f3B2fdF1F759a8A8);//BLUR.B baseTime = 1676718000; // _baseTokenURI = "https://arweave.net/bh53ZX7NOMHRPv-11_lYr8VirM-SzERzzNqPBVcJMMs/"; } //start from 1.adjust. function _startTokenId() internal pure virtual override returns (uint256) { return 1; } //set Default Royalty._feeNumerator 500 = 5% Royalty function setDefaultRoyalty(address _receiver, uint96 _feeNumerator) external virtual onlyOperator { _setDefaultRoyalty(_receiver, _feeNumerator); } //for ERC2981 function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721RestrictApprove, ERC2981) returns (bool) { return super.supportsInterface(interfaceId); } //for ERC2981 Opensea function contractURI() external view virtual returns (string memory) { return _formatContractURI(); } //make contractURI function _formatContractURI() internal view returns (string memory) { (address receiver, uint256 royaltyFraction) = royaltyInfo(0,_feeDenominator());//tokenid=0 return string( abi.encodePacked( "data:application/json;base64,", Base64.encode( bytes( abi.encodePacked( '{"seller_fee_basis_points":', Strings.toString(royaltyFraction), ', "fee_recipient":"', Strings.toHexString(uint256(uint160(receiver)), 20), '"}' ) ) ) ) ); } //set maxSupply.only owner. function setMaxSupply(uint256 _maxSupply) external virtual onlyOperator { require(totalSupply() <= _maxSupply, "Lower than _currentIndex."); maxSupply = _maxSupply; } function setMintable(uint256 _mintable) external virtual onlyOperator { require(totalSupply() <= _mintable, "Lower than _currentIndex."); mintable = _mintable; } // GET phaseId. function getPhaseId() external view virtual returns (uint256){ return phaseId; } // SET phaseId. function setPhaseId(uint256 _phaseId) external virtual onlyOperator { phaseId = _phaseId; } // SET phaseId. function setPhaseIdWithReset(uint256 _phaseId) external virtual onlyOperator { phaseId = _phaseId; nowPhaseAl += 1; } function setNowPhaseWl(uint256 _nowPhaseWl) external virtual onlyOperator { nowPhaseWl = _nowPhaseWl; } function setNowPhaseAl(uint256 _nowPhaseAl) external virtual onlyOperator { nowPhaseAl = _nowPhaseAl; } function setNowPhasePs(uint256 _nowPhasePs) external virtual onlyOperator { nowPhasePs = _nowPhasePs; } // SET PRICES. //WL.Price function setWlPrice(uint256 newPrice) external virtual onlyOperator { wlMintPrice = newPrice; } //AL.Price function setAlPrice(uint256 newPrice) external virtual onlyOperator { alMintPrice = newPrice; } //PS.Price function setPsPrice(uint256 newPrice) external virtual onlyOperator { psMintPrice = newPrice; } //set reveal.only owner. function setReveal(uint256 newRevealNum) external virtual onlyOperator { revealed = newRevealNum; } //return _isRevealed() function _isRevealed(uint256 _tokenId) internal view virtual returns (bool){ return _tokenId <= revealed; } // GET MINTED COUNT. function alMinted(address _address) external view virtual returns (uint256){ return _alMinted[nowPhaseAl][_address]; } function alIdMinted(uint256 _nowPhaseAl,address _address) external view virtual returns (uint256){ return _alMinted[_nowPhaseAl][_address]; } function psMinted(address _address) external view virtual returns (uint256){ return _psMinted[nowPhasePs][_address]; } // SET MAX MINTS. //get.AL.mxmints function getAlMaxMints() external view virtual returns (uint256){ return maxMintsPerAL[phaseId]; } //set.AL.mxmints function setAlMaxMints(uint256 _phaseId,uint256 _max) external virtual onlyOperator { maxMintsPerAL[_phaseId] = _max; } //PS.mxmints function setPsMaxMints(uint256 _max) external virtual onlyOperator { maxMintsPerPS = _max; } // SET SALES ENABLE. //AL.SaleEnable function setAllowlistSaleEnable(bool bool_) external virtual onlyOperator { isAlSaleEnabled = bool_; } //PS.SaleEnable function setPublicSaleEnable(bool bool_) external virtual onlyOperator { isPublicSaleEnabled = bool_; } // SET MERKLE ROOT. function setMerkleRootAlWithId(uint256 _phaseId,bytes32 merkleRoot_) external virtual onlyOperator { _setAlMerkleRootWithId(_phaseId,merkleRoot_); } //set HiddenBaseURI.only owner. function setHiddenURI(string memory uri_) external virtual onlyOperator { hiddenURI = uri_; } //return _currentIndex function getCurrentIndex() external view virtual returns (uint256){ return _nextTokenId() -1; } /** @dev set BaseURI at after reveal. only owner. */ function setBaseURI(string memory uri_) external virtual onlyOperator { _baseTokenURI = uri_; } function setBaseExtension(string memory _newBaseExtension) external onlyOperator { _baseExtension = _newBaseExtension; } /** @dev BaseURI.internal. */ function _currentBaseURI() internal view returns (string memory){ return _baseTokenURI; } function setbaseTime(uint256 _baseTime) external virtual onlyOwner { baseTime = _baseTime; } function getTokenTim(uint256 _tokenId) external view virtual returns (uint256) { require(_exists(_tokenId), "URI query for nonexistent token"); if(_updateAt[_tokenId] == 0){ return baseTime; } return _updateAt[_tokenId]; } function getTokenTimId(uint256 _tokenId) internal view virtual returns (int256) { require(_exists(_tokenId), "URI query for nonexistent token"); int256 revealId = (int256(block.timestamp)-int256(_updateAt[_tokenId])) / int256(cntBlock); if (revealId >= int256(maxReveal)){ revealId = int256(maxReveal); } return revealId; } /** @dev fixrevId. */ function fixToken(uint256 _tokenId) external virtual { require(_exists(_tokenId), "URI query for nonexistent token"); require(ownerOf(_tokenId) == msg.sender, "isnt owner token"); if(_isRevealed(_tokenId)){ if(hodlTimSys){ int256 revealId = getTokenTimId(_tokenId); _lockTim[_tokenId] = revealId; } } } /** @dev unfixrevId. */ function unfixToken(uint256 _tokenId) external virtual { require(_exists(_tokenId), "URI query for nonexistent token"); require(ownerOf(_tokenId) == msg.sender, "isnt owner token"); _lockTim[_tokenId] = 0; } // SET MAX Rev. function setmaxReveal(uint256 _max) external virtual onlyOwner { maxReveal = _max; } // SET Cntable. function setcntBlock(uint256 _cnt) external virtual onlyOwner { cntBlock = _cnt; } // SET Cntable. function setadIndex(uint256 _index) external virtual onlyOwner { adIndex = _index; } function setAdAdd(address aDAddress) external onlyOperator { airdropAddress = aDAddress; } function _beforeTokenTransfers(address from,address to,uint256 startTokenId,uint256 quantity) internal override { // if(from != address(0)){ _updateAt[startTokenId] = block.timestamp; uint256 updatedIndex = startTokenId; uint256 end = updatedIndex + quantity; do { _updateAt[updatedIndex++] = block.timestamp; } while (updatedIndex < end); // } super._beforeTokenTransfers(from, to, startTokenId, quantity); } function tokenURI(uint256 _tokenId) public view virtual override returns (string memory) { require(_exists(_tokenId), "URI query for nonexistent token"); if(_isRevealed(_tokenId)){ if(_lockTim[_tokenId] > 0){ return string(abi.encodePacked(_currentBaseURI(), Strings.toString(uint256(_lockTim[_tokenId])) ,"/", Strings.toString((_tokenId)), _baseExtension)); } if(hodlTimSys){ int256 revealId = getTokenTimId(_tokenId); return string(abi.encodePacked(_currentBaseURI(), Strings.toString(uint256(revealId)) ,"/", Strings.toString((_tokenId)), _baseExtension)); } return string(abi.encodePacked(_currentBaseURI(), Strings.toString(_tokenId), _baseExtension)); } return hiddenURI; } /** @dev owner mint.transfer to _address.only owner. */ function ownerMintSafe(uint256 _amount, address _address) external virtual onlyOperator { require((_amount + totalSupply()) <= (maxSupply), "No more NFTs"); _safeMint(_address, _amount); } //AL mint. function allowlistMint(uint256 _amount, bytes32[] memory proof_) external payable virtual nonReentrant { require(isAlSaleEnabled, "allowlistMint is Paused"); require(isAllowlisted(msg.sender,phaseId, proof_), "You are not whitelisted!"); require(maxMintsPerALOT >= _amount, "allowlistMint: Over max mints per one time"); require(maxMintsPerAL[phaseId] >= _amount, "allowlistMint: Over max mints per wallet"); require(maxMintsPerAL[phaseId] >= _alMinted[nowPhaseAl][msg.sender] + _amount, "You have no whitelistMint left"); require(msg.value == alMintPrice * _amount, "ETH value is not correct"); require((_amount + totalSupply()) <= (mintable), "No more NFTs"); _alMinted[nowPhaseAl][msg.sender] += _amount; _safeMint(msg.sender, _amount); } // /** @dev receive. */ // function receiveToDeb() external payable virtual nonReentrant { // require(msg.value > 0, "ETH value is not correct"); // } /** @dev widraw ETH from this contract.only operator. */ function withdraw() external payable virtual onlyOperator nonReentrant{ uint256 _ethBalance = address(this).balance; bool os; if(_withdrawWallet != address(0)){//if _withdrawWallet has. (os, ) = payable(_withdrawWallet).call{value: (_ethBalance)}(""); }else{ (os, ) = payable(owner()).call{value: (_ethBalance)}(""); } require(os, "Failed to withdraw Ether"); } //Public mint. function publicMint(uint256 _amount) external payable virtual nonReentrant { require(isPublicSaleEnabled, "publicMint is Paused"); require(maxMintsPerPSOT >= _amount, "publicMint: Over max mints per one time"); require(maxMintsPerPS >= _amount, "publicMint: Over max mints per wallet"); require(maxMintsPerPS >= _psMinted[nowPhasePs][msg.sender] + _amount, "You have no publicMint left"); require(msg.value == psMintPrice * _amount, "ETH value is not correct"); require((_amount + totalSupply()) <= (mintable), "No more NFTs"); _psMinted[nowPhasePs][msg.sender] += _amount; _safeMint(msg.sender, _amount); } //burn function burn(uint256 tokenId) external virtual { require(ownerOf(tokenId) == msg.sender, "isnt owner token"); require(lockBurn == false, "not allow"); _burn(tokenId); } //LB.SaleEnable function setLockBurn(bool bool_) external virtual onlyOperator { lockBurn = bool_; } //return wallet owned tokenids. function walletOfOwner(address _address) external view virtual returns (uint256[] memory) { uint256 ownerTokenCount = balanceOf(_address); uint256[] memory tokenIds = new uint256[](ownerTokenCount); //search from all tonkenid. so spend high gas values.attention. uint256 tokenindex = 0; for (uint256 i = _startTokenId(); i < (_nextTokenId() -1); i++) { if(_address == this.tryOwnerOf(i)) tokenIds[tokenindex++] = i; } return tokenIds; } //try catch vaersion ownerOf. support burned tokenid. function tryOwnerOf(uint256 tokenId) external view virtual returns (address) { try this.ownerOf(tokenId) returns (address _address) { return(_address); } catch { return (address(0));//return 0x0 if error. } } //OPENSEA.OPERATORFilterer.START /** * @notice Set the state of the OpenSea operator filter * @param value Flag indicating if the operator filter should be applied to transfers and approvals */ function setOperatorFilteringEnabled(bool value) external onlyOperator { operatorFilteringEnabled = value; } function setApprovalForAll(address operator, bool approved) public override onlyAllowedOperatorApproval(operator) { super.setApprovalForAll(operator, approved); } function approve(address operator, uint256 tokenId) public override onlyAllowedOperatorApproval(operator) { super.approve(operator, tokenId); } function transferFrom(address from, address to, uint256 tokenId) public override onlyAllowedOperator(from) { super.transferFrom(from, to, tokenId); } function safeTransferFrom(address from, address to, uint256 tokenId) public override onlyAllowedOperator(from) { super.safeTransferFrom(from, to, tokenId); } function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory data) public override onlyAllowedOperator(from) { super.safeTransferFrom(from, to, tokenId, data); } //OPENSEA.OPERATORFilterer.END /*/////////////////////////////////////////////////////////////// OVERRIDES ERC721RestrictApprove //////////////////////////////////////////////////////////////*/ function addLocalContractAllowList(address transferer) external override onlyOperator { _addLocalContractAllowList(transferer); } function removeLocalContractAllowList(address transferer) external override onlyOperator { _removeLocalContractAllowList(transferer); } function getLocalContractAllowList() external override view returns(address[] memory) { return _getLocalContractAllowList(); } function setCALLevel(uint256 level) public override onlyOperator { CALLevel = level; } function setCAL(address calAddress) external override onlyOperator { _setCAL(calAddress); } /** @dev Operable.Role.ADD */ function grantOperatorRole(address _candidate) external onlyOwner { _grantOperatorRole(_candidate); } /** @dev Operable.Role.REMOVE */ function revokeOperatorRole(address _candidate) external onlyOwner { _revokeOperatorRole(_candidate); } function setBytes(bytes calldata _bytes) external onlyOperator { pointer.push(SSTORE2.write(_bytes)); nowPid=pointer.length-1; } function setBytesWithId(bytes calldata _bytes,uint256 _pid) external onlyOperator { pointer[_pid]=SSTORE2.write(_bytes); nowPid=pointer.length-1; } function getBytesWithId(uint256 _pid) external view onlyOperator returns (bytes memory) { return SSTORE2.read(pointer[_pid],0,20*1111); } function toAddress(bytes memory bys) private pure returns (address addr) { assembly { addr := mload(add(bys,20)) } } function getAirDropAddress(uint256 _tokenId) internal view returns (address) { uint256 pid = (_tokenId-1)/1111; uint256 start = (_tokenId-1-(pid*1111))*20; //1 0,20//2 20,40//3 40,60 return address(toAddress(SSTORE2.read(pointer[pid],start,start+20))); } /** @dev owner mint.transfer to _address.only owner. */ function ownerMint(uint256 quantity) external virtual onlyOperator { uint256 nextTokenId = _nextTokenId(); require(quantity > 0, "ERC721PsiAirDrop: quantity must be greater 0"); // _beforeTokenTransfers(address(0), to, nextTokenId, quantity); ERC721Psi._currentIndex += quantity; // _owners[nextTokenId] = to; ERC721Psi._batchHead.set(nextTokenId); // _afterTokenTransfers(address(0), to, nextTokenId, quantity); // Emit events for(uint256 tokenId=nextTokenId; tokenId < nextTokenId + quantity; tokenId++){ // if(getAirDropAddress(tokenId-1) != getAirDropAddress(tokenId)){ // ERC721Psi._batchHead.set(tokenId); // } emit Transfer(address(0), airdropAddress, tokenId); } } /** @dev owner mint.transfer to _address.only owner. */ function airDropMint(uint256 _tokenId) external virtual onlyOperator { require(_tokenId > 0, "ERC721PsiAirDrop: _tokenId must be greater 0"); emit Transfer(airdropAddress, getAirDropAddress(_tokenId), _tokenId); } function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner; if(_updateAt[tokenId] == 0 && !ERC721PsiBurnable._burnedToken.get(tokenId)){ owner = getAirDropAddress(tokenId); }else{ owner = super.ownerOf(tokenId); } return owner; } function _ownerAndBatchHeadOf(uint256 tokenId) internal view override returns (address owner, uint256 tokenIdBatchHead){ require(_exists(tokenId), "ERC721Psi: owner query for nonexistent token"); tokenIdBatchHead = _getBatchHead(tokenId); if(_updateAt[tokenId] == 0 && !ERC721PsiBurnable._burnedToken.get(tokenId)){ owner = getAirDropAddress(tokenId); }else{ owner = _owners[tokenIdBatchHead]; } } } //CODE.BY.FRICKLIK
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_royaltyReceiver","type":"address"},{"internalType":"uint96","name":"_royaltyFraction","type":"uint96"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"uint256","name":"_size","type":"uint256"},{"internalType":"uint256","name":"_start","type":"uint256"},{"internalType":"uint256","name":"_end","type":"uint256"}],"name":"InvalidCodeAtRange","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","type":"error"},{"inputs":[],"name":"WriteError","type":"error"},{"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":"operator","type":"address"},{"indexed":true,"internalType":"uint256","name":"level","type":"uint256"}],"name":"CalLevelChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"transferer","type":"address"}],"name":"LocalCalAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"transferer","type":"address"}],"name":"LocalCalRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"CAL","outputs":[{"internalType":"contract IContractAllowListProxy","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"CALLevel","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OPERATOR_FILTER_REGISTRY","outputs":[{"internalType":"contract IOperatorFilterRegistry","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_baseExtension","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"adIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"transferer","type":"address"}],"name":"addLocalContractAllowList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"airDropMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_nowPhaseAl","type":"uint256"},{"internalType":"address","name":"_address","type":"address"}],"name":"alIdMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"alMintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"alMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"bytes32[]","name":"proof_","type":"bytes32[]"}],"name":"allowlistMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","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":"baseTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"cntBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"enableRestrict","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"fixToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getAlMaxMints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"getBytesWithId","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getCurrentIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getLocalContractAllowList","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPhaseId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"getTokenTim","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_candidate","type":"address"}],"name":"grantOperatorRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"isAlSaleEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"address_","type":"address"},{"internalType":"uint256","name":"_phaseId","type":"uint256"},{"internalType":"bytes32[]","name":"proof_","type":"bytes32[]"}],"name":"isAllowlisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_operator","type":"address"}],"name":"isOperator","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPublicSaleEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"maxMintsPerAL","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintsPerALOT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintsPerPS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintsPerPSOT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxReveal","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":"mintable","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":"nowPhaseAl","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nowPhasePs","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nowPhaseWl","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nowPid","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"operatorFilteringEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"ownerMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"address","name":"_address","type":"address"}],"name":"ownerMintSafe","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"phaseId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"psMintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"psMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"transferer","type":"address"}],"name":"removeLocalContractAllowList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_candidate","type":"address"}],"name":"revokeOperatorRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"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":"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":"aDAddress","type":"address"}],"name":"setAdAdd","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_phaseId","type":"uint256"},{"internalType":"uint256","name":"_max","type":"uint256"}],"name":"setAlMaxMints","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setAlPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"bool_","type":"bool"}],"name":"setAllowlistSaleEnable","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":"uri_","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes","name":"_bytes","type":"bytes"}],"name":"setBytes","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes","name":"_bytes","type":"bytes"},{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"setBytesWithId","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"calAddress","type":"address"}],"name":"setCAL","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"level","type":"uint256"}],"name":"setCALLevel","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_receiver","type":"address"},{"internalType":"uint96","name":"_feeNumerator","type":"uint96"}],"name":"setDefaultRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"uri_","type":"string"}],"name":"setHiddenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"bool_","type":"bool"}],"name":"setLockBurn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxSupply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_phaseId","type":"uint256"},{"internalType":"bytes32","name":"merkleRoot_","type":"bytes32"}],"name":"setMerkleRootAlWithId","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintable","type":"uint256"}],"name":"setMintable","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_nowPhaseAl","type":"uint256"}],"name":"setNowPhaseAl","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_nowPhasePs","type":"uint256"}],"name":"setNowPhasePs","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_nowPhaseWl","type":"uint256"}],"name":"setNowPhaseWl","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"value","type":"bool"}],"name":"setOperatorFilteringEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_phaseId","type":"uint256"}],"name":"setPhaseId","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_phaseId","type":"uint256"}],"name":"setPhaseIdWithReset","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_max","type":"uint256"}],"name":"setPsMaxMints","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setPsPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"bool_","type":"bool"}],"name":"setPublicSaleEnable","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newRevealNum","type":"uint256"}],"name":"setReveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"level","type":"uint256"}],"name":"setTokenCALLevel","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"level","type":"uint256"}],"name":"setWalletCALLevel","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setWlPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_index","type":"uint256"}],"name":"setadIndex","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_baseTime","type":"uint256"}],"name":"setbaseTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_cnt","type":"uint256"}],"name":"setcntBlock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_max","type":"uint256"}],"name":"setmaxReveal","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":"","type":"uint256"}],"name":"tokenCALLevel","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":[{"internalType":"address","name":"owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"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":"uint256","name":"tokenId","type":"uint256"}],"name":"tryOwnerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"unfixToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"walletCALLevel","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"wlMintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
600c8054600160ff199182168117909255600f829055601580549091168217905566038d7ea4c68000601781905560185566071afd498d00006019556002601b55601c819055601d8190556156ce601e556101f4601f55600060205560275560c06040526005608090815264173539b7b760d91b60a052602b9062000085908262000936565b50602c805463ffff000019166301000000179055348015620000a657600080fd5b506040516200692f3803806200692f833981016040819052620000c99162000a02565b733cc6cdda760b79bafa08df41ecfa224f810dceb660016040518060400160405280600f81526020016e4861636b204d696e6420436f72707360881b81525060405180604001604052806003815260200162484d4360e81b8152506200013e620001386200039660201b60201c565b6200039a565b60026200014c838262000936565b5060036200015b828262000936565b506001600555505060016010556daaeb6d7670e522a718067333cd4e3b15620002ad578015620001fb57604051633e9f1edf60e11b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e90637d3e3dbe906044015b600060405180830381600087803b158015620001dc57600080fd5b505af1158015620001f1573d6000803e3d6000fd5b50505050620002ad565b6001600160a01b038216156200024c5760405163a0af290360e01b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e9063a0af290390604401620001c1565b604051632210724360e11b81523060048201526daaeb6d7670e522a718067333cd4e90634420e48690602401600060405180830381600087803b1580156200029357600080fd5b505af1158015620002a8573d6000803e3d6000fd5b505050505b50620002bb905082620003ea565b620002c7828262000499565b603280546001600160a01b031916331790556015805460ff19169055620002ef60016200059a565b600980546001600160a01b03191673f2a78c73ffbab6ecc3548acc54b546ace279312e17905562000334731e0049783f008a0085193e00003d00cd54003c71620005aa565b62000353734fee7b061c97c9c496b01dbce9cdb10c02f0a0be620005aa565b6200036c6dad05ccc4f10045630fb830b95127620005aa565b620003866e0111abe46ff893f3b2fdf1f759a8a8620005aa565b50506363f0afb060265562000bda565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b03811660009081526016602052604090205460ff161562000429335b6001600160a01b03166014620005ff60201b620031a31760201c565b6040516020016200043b919062000a7d565b60405160208183030381529060405290620004745760405162461bcd60e51b81526004016200046b919062000ad6565b60405180910390fd5b506001600160a01b03166000908152601660205260409020805460ff19166001179055565b6127106001600160601b0382161115620005095760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b60648201526084016200046b565b6001600160a01b038216620005615760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c69642072656365697665720000000000000060448201526064016200046b565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217601355565b620005a533620007c1565b600f55565b620005c581600a6200082e60201b6200333e1790919060201c565b506040516001600160a01b0382169033907fbd0af1fe0a2c1c7bb340c17a284a291138979c8eeb797e176dbd1c415199af3c90600090a350565b606060006200061083600262000b21565b6200061d90600262000b3b565b6001600160401b0381111562000637576200063762000891565b6040519080825280601f01601f19166020018201604052801562000662576020820181803683370190505b509050600360fc1b8160008151811062000680576200068062000b51565b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110620006b257620006b262000b51565b60200101906001600160f81b031916908160001a9053506000620006d884600262000b21565b620006e590600162000b3b565b90505b600181111562000767576f181899199a1a9b1b9c1cb0b131b232b360811b85600f16601081106200071d576200071d62000b51565b1a60f81b82828151811062000736576200073662000b51565b60200101906001600160f81b031916908160001a90535060049490941c936200075f8162000b67565b9050620006e8565b508315620007b85760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016200046b565b90505b92915050565b6001600160a01b03811660009081526016602052604090205460ff16620007e8336200040d565b604051602001620007fa919062000b81565b604051602081830303815290604052906200082a5760405162461bcd60e51b81526004016200046b919062000ad6565b5050565b6000620007b8836001600160a01b03841660008181526001830160205260408120546200088857508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155620007bb565b506000620007bb565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620008bc57607f821691505b602082108103620008dd57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200093157600081815260208120601f850160051c810160208610156200090c5750805b601f850160051c820191505b818110156200092d5782815560010162000918565b5050505b505050565b81516001600160401b0381111562000952576200095262000891565b6200096a81620009638454620008a7565b84620008e3565b602080601f831160018114620009a25760008415620009895750858301515b600019600386901b1c1916600185901b1785556200092d565b600085815260208120601f198616915b82811015620009d357888601518255948401946001909101908401620009b2565b5085821015620009f25787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000806040838503121562000a1657600080fd5b82516001600160a01b038116811462000a2e57600080fd5b60208401519092506001600160601b038116811462000a4c57600080fd5b809150509250929050565b60005b8381101562000a7457818101518382015260200162000a5a565b50506000910152565b67030b1b1b7bab73a160c51b81526000825162000aa281600885016020870162000a57565b7f20697320616c72656164792068617320616e206f70657261746f7220726f6c656008939091019283015250602801919050565b602081526000825180602084015262000af781604085016020870162000a57565b601f01601f19169190910160400192915050565b634e487b7160e01b600052601160045260246000fd5b8082028115828204841417620007bb57620007bb62000b0b565b80820180821115620007bb57620007bb62000b0b565b634e487b7160e01b600052603260045260246000fd5b60008162000b795762000b7962000b0b565b506000190190565b67030b1b1b7bab73a160c51b81526000825162000ba681600885016020870162000a57565b7f206973206e6f7420616e206f70657261746f72000000000000000000000000006008939091019283015250601b01919050565b615d458062000bea6000396000f3fe6080604052600436106106665760003560e01c80637254d90c11610344578063b7c0b8e8116101b6578063da359dc811610102578063f19e75d4116100a0578063fdf03cd51161007a578063fdf03cd514611348578063fe08eab014611368578063fe8b456e14611388578063ff768212146113a857600080fd5b8063f19e75d4146112ee578063f2fde38b1461130e578063fb796e6c1461132e57600080fd5b8063e0669c55116100dc578063e0669c5514611283578063e8a3d485146112a3578063e985e9c5146112b8578063ea7baab1146112d857600080fd5b8063da359dc81461122d578063da3ef23f1461124d578063df58a1b51461126d57600080fd5b8063c50c81861161016f578063d4e45c1411610149578063d4e45c14146111cc578063d5abeb01146111e1578063d5dcfbc6146111f7578063d78be71c1461120d57600080fd5b8063c50c81861461116c578063c87b56dd1461118c578063d2de022f146111ac57600080fd5b8063b7c0b8e8146110b2578063b88d4fde146110d2578063b9a2e655146110f2578063bbaac02f14611112578063bf509b9d14611132578063c3e536831461115257600080fd5b80638da5cb5b11610290578063a22cb4651161022e578063b0b9150f11610208578063b0b9150f1461102b578063b219f7d714611041578063b31391cb14611061578063b435d2361461108e57600080fd5b8063a22cb46514610fbe578063a355fd2914610fde578063a35c23ad14610ffe57600080fd5b806391e4bac81161026a57806391e4bac814610f25578063942958f414610f4557806395d89b4114610f895780639d1fbfbe14610f9e57600080fd5b80638da5cb5b14610ea45780638dd07d0f14610ec25780638e37326a14610ee257600080fd5b80637c3dc173116102fd578063830b3a64116102d7578063830b3a6414610e2e578063830f821114610e4e5780638462151c14610e645780638c5668be14610e8457600080fd5b80637c3dc17314610dd85780637fc69f5a14610df8578063813779ef14610e0e57600080fd5b80637254d90c14610d2f57806372b44d7114610d4557806374dfc98214610d655780637558be9e14610d855780637672287e14610da55780637bc9200e14610dc557600080fd5b806330e7ed35116104dd578063449d0f10116104295780636352211e116103c75780636fa0cf5f116103a15780636fa0cf5f14610cba578063709411d214610cda57806370a0823114610cfa578063715018a614610d1a57600080fd5b80636352211e14610c415780636d70f7ae14610c615780636f8b44b014610c9a57600080fd5b806351830227116104035780635183022714610bd557806355f804b314610beb5780635638697b14610c0b57806358303b1014610c2b57600080fd5b8063449d0f1014610b935780634bf365df14610ba95780634f3db34614610bbf57600080fd5b80634009920d1161049657806342842e0e1161047057806342842e0e14610b0657806342966c6814610b26578063435e4ccd14610b46578063438b630014610b6657600080fd5b80634009920d14610aaf57806341f4343414610ace57806342454db914610af057600080fd5b806330e7ed3514610a11578063396e8f5314610a315780633ad22cc314610a515780633ccfd60b14610a715780633df669f714610a795780633fa3b4df14610a8f57600080fd5b80630f5ba1ae116105b75780632672c902116105555780632a55205a1161052f5780632a55205a146109935780632c4e9fc6146109d25780632db11544146109e85780632e9901f4146109fb57600080fd5b80632672c9021461093e578063267fe9891461095357806327ac0c581461097357600080fd5b80631a8b8357116105915780631a8b83571461088057806321434421146108ad5780632398f843146108f157806323b872dd1461091e57600080fd5b80630f5ba1ae1461083557806318160ddd146108555780631a09cfe21461086a57600080fd5b80630726538911610624578063095ea7b3116105fe578063095ea7b3146107c05780630ab06c7e146107e05780630d9005ae146108005780630f4345e21461081557600080fd5b8063072653891461074a578063081812fc1461076457806308b096a01461079c57600080fd5b80623f332f1461066b57806301ffc9a714610696578063025e332e146106c657806303c0f48c146106e857806304634d8d1461070857806306fdde0314610728575b600080fd5b34801561067757600080fd5b506106806113c8565b60405161068d9190614e6e565b60405180910390f35b3480156106a257600080fd5b506106b66106b1366004614ed1565b6113d7565b604051901515815260200161068d565b3480156106d257600080fd5b506106e66106e1366004614f03565b6113e8565b005b3480156106f457600080fd5b506106e6610703366004614f20565b611412565b34801561071457600080fd5b506106e6610723366004614f39565b611420565b34801561073457600080fd5b5061073d611437565b60405161068d9190614fce565b34801561075657600080fd5b50600c546106b69060ff1681565b34801561077057600080fd5b5061078461077f366004614f20565b6114c9565b6040516001600160a01b03909116815260200161068d565b3480156107a857600080fd5b506107b260265481565b60405190815260200161068d565b3480156107cc57600080fd5b506106e66107db366004614fe1565b611559565b3480156107ec57600080fd5b506106e66107fb366004614f20565b611632565b34801561080c57600080fd5b506107b261163f565b34801561082157600080fd5b506106e6610830366004614f20565b611656565b34801561084157600080fd5b5061073d610850366004614f20565b611664565b34801561086157600080fd5b506107b26116a7565b34801561087657600080fd5b506107b2601b5481565b34801561088c57600080fd5b506107b261089b366004614f20565b601a6020526000908152604090205481565b3480156108b957600080fd5b506107b26108c8366004614f03565b6022546000908152602d602090815260408083206001600160a01b039094168352929052205490565b3480156108fd57600080fd5b506107b261090c366004614f03565b600e6020526000908152604090205481565b34801561092a57600080fd5b506106e661093936600461500d565b6116b9565b34801561094a57600080fd5b5061073d6117a2565b34801561095f57600080fd5b506106e661096e366004614f20565b611830565b34801561097f57600080fd5b506106e661098e366004614f03565b61185b565b34801561099f57600080fd5b506109b36109ae36600461504e565b61186c565b604080516001600160a01b03909316835260208301919091520161068d565b3480156109de57600080fd5b506107b260175481565b6106e66109f6366004614f20565b61191a565b348015610a0757600080fd5b506107b2601c5481565b348015610a1d57600080fd5b506106e6610a2c366004614f20565b611b7b565b348015610a3d57600080fd5b50600954610784906001600160a01b031681565b348015610a5d57600080fd5b506106e6610a6c366004614f03565b611b89565b6106e6611bb4565b348015610a8557600080fd5b506107b260335481565b348015610a9b57600080fd5b506106e6610aaa366004614f20565b611cf4565b348015610abb57600080fd5b50602c546106b690610100900460ff1681565b348015610ada57600080fd5b506107846daaeb6d7670e522a718067333cd4e81565b348015610afc57600080fd5b506107b260195481565b348015610b1257600080fd5b506106e6610b2136600461500d565b611d99565b348015610b3257600080fd5b506106e6610b41366004614f20565b611e77565b348015610b5257600080fd5b506106e6610b6136600461507e565b611ef6565b348015610b7257600080fd5b50610b86610b81366004614f03565b611f1d565b60405161068d919061509b565b348015610b9f57600080fd5b506107b260185481565b348015610bb557600080fd5b506107b2601f5481565b348015610bcb57600080fd5b506107b2600f5481565b348015610be157600080fd5b506107b260205481565b348015610bf757600080fd5b506106e6610c06366004615170565b612052565b348015610c1757600080fd5b506106e6610c263660046151f9565b612067565b348015610c3757600080fd5b506107b260125481565b348015610c4d57600080fd5b50610784610c5c366004614f20565b612102565b348015610c6d57600080fd5b506106b6610c7c366004614f03565b6001600160a01b031660009081526016602052604090205460ff1690565b348015610ca657600080fd5b506106e6610cb5366004614f20565b61214d565b348015610cc657600080fd5b506106e6610cd536600461504e565b6121ae565b348015610ce657600080fd5b506106e6610cf5366004614f20565b6121c9565b348015610d0657600080fd5b506107b2610d15366004614f03565b61222f565b348015610d2657600080fd5b506106e66122fe565b348015610d3b57600080fd5b506107b260255481565b348015610d5157600080fd5b506106e6610d60366004614f03565b612310565b348015610d7157600080fd5b506107b2610d80366004614f20565b612322565b348015610d9157600080fd5b506106e6610da0366004614f20565b612379565b348015610db157600080fd5b506106e6610dc036600461507e565b612386565b6106e6610dd33660046152c3565b6123a2565b348015610de457600080fd5b506106e6610df336600461504e565b612684565b348015610e0457600080fd5b506107b260245481565b348015610e1a57600080fd5b506106e6610e29366004614f20565b612714565b348015610e3a57600080fd5b50610784610e49366004614f20565b612722565b348015610e5a57600080fd5b506107b260215481565b348015610e7057600080fd5b50610b86610e7f366004614f03565b612789565b348015610e9057600080fd5b506106e6610e9f366004614f20565b61284f565b348015610eb057600080fd5b506000546001600160a01b0316610784565b348015610ece57600080fd5b506106e6610edd366004614f20565b6128e4565b348015610eee57600080fd5b506107b2610efd366004615309565b6000918252602d602090815260408084206001600160a01b0393909316845291905290205490565b348015610f3157600080fd5b506106e6610f40366004614f20565b6128f2565b348015610f5157600080fd5b506107b2610f60366004614f03565b6023546000908152602e602090815260408083206001600160a01b039094168352929052205490565b348015610f9557600080fd5b5061073d612953565b348015610faa57600080fd5b506106e6610fb9366004614f20565b612962565b348015610fca57600080fd5b506106e6610fd936600461532e565b61296f565b348015610fea57600080fd5b506106e6610ff936600461507e565b612a43565b34801561100a57600080fd5b506106e6611019366004614f20565b336000908152600e6020526040902055565b34801561103757600080fd5b506107b260275481565b34801561104d57600080fd5b506106e661105c366004614f03565b612a66565b34801561106d57600080fd5b506107b261107c366004614f20565b600d6020526000908152604090205481565b34801561109a57600080fd5b506012546000908152601a60205260409020546107b2565b3480156110be57600080fd5b506106e66110cd36600461507e565b612a77565b3480156110de57600080fd5b506106e66110ed36600461535c565b612a93565b3480156110fe57600080fd5b506106e661110d36600461504e565b612b7f565b34801561111e57600080fd5b506106e661112d366004615170565b612b9a565b34801561113e57600080fd5b506106e661114d366004614f20565b612baf565b34801561115e57600080fd5b50602c546106b69060ff1681565b34801561117857600080fd5b506106e6611187366004614f20565b612bbd565b34801561119857600080fd5b5061073d6111a7366004614f20565b612bcb565b3480156111b857600080fd5b506106b66111c73660046153db565b612d87565b3480156111d857600080fd5b506012546107b2565b3480156111ed57600080fd5b506107b2601e5481565b34801561120357600080fd5b506107b260225481565b34801561121957600080fd5b506106e6611228366004614f20565b612eb9565b34801561123957600080fd5b506106e6611248366004615433565b612ec7565b34801561125957600080fd5b506106e6611268366004615170565b612f57565b34801561127957600080fd5b506107b260235481565b34801561128f57600080fd5b506106e661129e366004614f20565b612f6c565b3480156112af57600080fd5b5061073d612f7a565b3480156112c457600080fd5b506106b66112d3366004615474565b612f84565b3480156112e457600080fd5b506107b2601d5481565b3480156112fa57600080fd5b506106e6611309366004614f20565b612fcf565b34801561131a57600080fd5b506106e6611329366004614f03565b6130ba565b34801561133a57600080fd5b506015546106b69060ff1681565b34801561135457600080fd5b506106e6611363366004614f20565b613130565b34801561137457600080fd5b506106e6611383366004615309565b61313e565b34801561139457600080fd5b506106e66113a3366004614f20565b613184565b3480156113b457600080fd5b506106e66113c3366004614f03565b613191565b60606113d2613353565b905090565b60006113e28261335f565b92915050565b6113f133613384565b600980546001600160a01b0319166001600160a01b03831617905550565b50565b61141b33613384565b602255565b61142933613384565b61143382826133f2565b5050565b606060028054611446906154a2565b80601f0160208091040260200160405190810160405280929190818152602001828054611472906154a2565b80156114bf5780601f10611494576101008083540402835291602001916114bf565b820191906000526020600020905b8154815290600101906020018083116114a257829003601f168201915b5050505050905090565b60006114d4826134ef565b61153d5760405162461bcd60e51b815260206004820152602f60248201527f4552433732315073693a20617070726f76656420717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084015b60405180910390fd5b506000908152600660205260409020546001600160a01b031690565b816daaeb6d7670e522a718067333cd4e3b1580159061157a575060155460ff165b1561162357604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa1580156115d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115fb91906154d6565b61162357604051633b79c77360e21b81526001600160a01b0382166004820152602401611534565b61162d8383613512565b505050565b61163a613526565b602755565b6000600161164c60055490565b6113d29190615509565b61165f33613384565b600f55565b606061166f33613384565b6113e2603183815481106116855761168561551c565b60009182526020822001546001600160a01b0316906156cc613580565b919050565b60006116b16135a9565b61164c61360b565b826daaeb6d7670e522a718067333cd4e3b158015906116da575060155460ff165b1561179157336001600160a01b038216036116ff576116fa84848461361c565b61179c565b604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa15801561174e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061177291906154d6565b61179157604051633b79c77360e21b8152336004820152602401611534565b61179c84848461361c565b50505050565b602b80546117af906154a2565b80601f01602080910402602001604051908101604052809291908181526020018280546117db906154a2565b80156118285780601f106117fd57610100808354040283529160200191611828565b820191906000526020600020905b81548152906001019060200180831161180b57829003601f168201915b505050505081565b61183933613384565b806012819055506001602260008282546118539190615532565b909155505050565b611863613526565b61140f8161364d565b60008281526014602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b03169282019290925282916118e15750604080518082019091526013546001600160a01b0381168252600160a01b90046001600160601b031660208201525b602081015160009061271090611900906001600160601b031687615545565b61190a9190615572565b91519350909150505b9250929050565b6119226136d5565b602c54610100900460ff166119705760405162461bcd60e51b81526020600482015260146024820152731c1d589b1a58d35a5b9d081a5cc814185d5cd95960621b6044820152606401611534565b80601d5410156119d25760405162461bcd60e51b815260206004820152602760248201527f7075626c69634d696e743a204f766572206d6178206d696e747320706572206f6044820152666e652074696d6560c81b6064820152608401611534565b80601b541015611a325760405162461bcd60e51b815260206004820152602560248201527f7075626c69634d696e743a204f766572206d6178206d696e7473207065722077604482015264185b1b195d60da1b6064820152608401611534565b6023546000908152602e60209081526040808320338452909152902054611a5a908290615532565b601b541015611aab5760405162461bcd60e51b815260206004820152601b60248201527f596f752068617665206e6f207075626c69634d696e74206c65667400000000006044820152606401611534565b80601954611ab99190615545565b3414611b025760405162461bcd60e51b8152602060048201526018602482015277115512081d985b1d59481a5cc81b9bdd0818dbdc9c9958dd60421b6044820152606401611534565b601f54611b0d6116a7565b611b179083615532565b1115611b355760405162461bcd60e51b815260040161153490615586565b6023546000908152602e6020908152604080832033845290915281208054839290611b61908490615532565b90915550611b719050338261372e565b61140f6001601055565b611b8433613384565b602355565b611b9233613384565b603280546001600160a01b0319166001600160a01b0392909216919091179055565b611bbd33613384565b611bc56136d5565b60285447906000906001600160a01b031615611c38576028546040516001600160a01b03909116908390600081818185875af1925050503d8060008114611c28576040519150601f19603f3d011682016040523d82523d6000602084013e611c2d565b606091505b505080915050611c99565b6000546001600160a01b03166001600160a01b03168260405160006040518083038185875af1925050503d8060008114611c8e576040519150601f19603f3d011682016040523d82523d6000602084013e611c93565b606091505b50909150505b80611ce65760405162461bcd60e51b815260206004820152601860248201527f4661696c656420746f20776974686472617720457468657200000000000000006044820152606401611534565b5050611cf26001601055565b565b611cfd33613384565b60008111611d625760405162461bcd60e51b815260206004820152602c60248201527f45524337323150736941697244726f703a205f746f6b656e4964206d7573742060448201526b06265206772656174657220360a41b6064820152608401611534565b80611d6c82613748565b6032546040516001600160a01b039283169290911690600080516020615bf083398151915290600090a450565b826daaeb6d7670e522a718067333cd4e3b15801590611dba575060155460ff165b15611e6c57336001600160a01b03821603611dda576116fa8484846137db565b604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015611e29573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e4d91906154d6565b611e6c57604051633b79c77360e21b8152336004820152602401611534565b61179c8484846137db565b33611e8182612102565b6001600160a01b031614611ea75760405162461bcd60e51b8152600401611534906155ac565b602c546301000000900460ff1615611eed5760405162461bcd60e51b81526020600482015260096024820152686e6f7420616c6c6f7760b81b6044820152606401611534565b61140f816137f6565b611eff33613384565b602c805491151563010000000263ff00000019909216919091179055565b60606000611f2a8361222f565b90506000816001600160401b03811115611f4657611f466150d3565b604051908082528060200260200182016040528015611f6f578160200160208202803683370190505b509050600060015b6001611f8260055490565b611f8c9190615509565b811015612048576040516320c2ce9960e21b815260048101829052309063830b3a6490602401602060405180830381865afa158015611fcf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ff391906155d6565b6001600160a01b0316866001600160a01b03160361203657808383612017816155f3565b9450815181106120295761202961551c565b6020026020010181815250505b80612040816155f3565b915050611f77565b5090949350505050565b61205b33613384565b602a6114338282615652565b61207033613384565b6120af83838080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061385092505050565b603182815481106120c2576120c261551c565b600091825260209091200180546001600160a01b0319166001600160a01b03929092169190911790556031546120fa90600190615509565b603355505050565b6000818152602f6020526040812054819015801561212857506121266008846138b5565b155b1561213d5761213683613748565b90506113e2565b612146836138dc565b9392505050565b61215633613384565b8061215f6116a7565b11156121a95760405162461bcd60e51b81526020600482015260196024820152782637bbb2b9103a3430b7102fb1bab93932b73a24b73232bc1760391b6044820152606401611534565b601e55565b6121b733613384565b60009182526011602052604090912055565b6121d2816134ef565b6121ee5760405162461bcd60e51b815260040161153490615711565b336121f882612102565b6001600160a01b03161461221e5760405162461bcd60e51b8152600401611534906155ac565b600090815260306020526040812055565b60006001600160a01b03821661229d5760405162461bcd60e51b815260206004820152602d60248201527f4552433732315073693a2062616c616e636520717565727920666f722074686560448201526c207a65726f206164647265737360981b6064820152608401611534565b600060015b6005548110156122f7576122b5816134ef565b156122e7576122c381612102565b6001600160a01b0316846001600160a01b0316036122e7576122e4826155f3565b91505b6122f0816155f3565b90506122a2565b5092915050565b612306613526565b611cf260006138f0565b61231933613384565b61140f81613940565b600061232d826134ef565b6123495760405162461bcd60e51b815260040161153490615711565b6000828152602f6020526040812054900361236657505060265490565b506000908152602f602052604090205490565b612381613526565b602455565b61238f33613384565b602c805460ff1916911515919091179055565b6123aa6136d5565b602c5460ff166123fc5760405162461bcd60e51b815260206004820152601760248201527f616c6c6f776c6973744d696e74206973205061757365640000000000000000006044820152606401611534565b6124093360125483612d87565b6124555760405162461bcd60e51b815260206004820152601860248201527f596f7520617265206e6f742077686974656c69737465642100000000000000006044820152606401611534565b81601c5410156124ba5760405162461bcd60e51b815260206004820152602a60248201527f616c6c6f776c6973744d696e743a204f766572206d6178206d696e747320706560448201526972206f6e652074696d6560b01b6064820152608401611534565b6012546000908152601a602052604090205482111561252c5760405162461bcd60e51b815260206004820152602860248201527f616c6c6f776c6973744d696e743a204f766572206d6178206d696e74732070656044820152671c881dd85b1b195d60c21b6064820152608401611534565b6022546000908152602d60209081526040808320338452909152902054612554908390615532565b6012546000908152601a602052604090205410156125b45760405162461bcd60e51b815260206004820152601e60248201527f596f752068617665206e6f2077686974656c6973744d696e74206c65667400006044820152606401611534565b816018546125c29190615545565b341461260b5760405162461bcd60e51b8152602060048201526018602482015277115512081d985b1d59481a5cc81b9bdd0818dbdc9c9958dd60421b6044820152606401611534565b601f546126166116a7565b6126209084615532565b111561263e5760405162461bcd60e51b815260040161153490615586565b6022546000908152602d602090815260408083203384529091528120805484929061266a908490615532565b9091555061267a9050338361372e565b6114336001601055565b8161268e81612102565b6001600160a01b0316336001600160a01b0316146127015760405162461bcd60e51b815260206004820152602a60248201527f5265737472696374417070726f76653a206f7065726174696f6e206973206f6e604482015269363c903437b63232b91760b11b6064820152608401611534565b506000918252600d602052604090912055565b61271d33613384565b601b55565b6040516331a9108f60e11b8152600481018290526000903090636352211e90602401602060405180830381865afa92505050801561277d575060408051601f3d908101601f1916820190925261277a918101906155d6565b60015b6113e257506000919050565b60606000806127978461222f565b90506000816001600160401b038111156127b3576127b36150d3565b6040519080825280602002602001820160405280156127dc578160200160208202803683370190505b50905060015b828414612846576127f2816134ef565b1561283e57856001600160a01b031661280a82612102565b6001600160a01b03160361283e57808285806001019650815181106128315761283161551c565b6020026020010181815250505b6001016127e2565b50949350505050565b612858816134ef565b6128745760405162461bcd60e51b815260040161153490615711565b3361287e82612102565b6001600160a01b0316146128a45760405162461bcd60e51b8152600401611534906155ac565b6128b081602054101590565b1561140f57602c5462010000900460ff161561140f5760006128d182613985565b6000838152603060205260409020555050565b6128ed33613384565b601755565b6128fb33613384565b806129046116a7565b111561294e5760405162461bcd60e51b81526020600482015260196024820152782637bbb2b9103a3430b7102fb1bab93932b73a24b73232bc1760391b6044820152606401611534565b601f55565b606060038054611446906154a2565b61296a613526565b602655565b816daaeb6d7670e522a718067333cd4e3b15801590612990575060155460ff165b15612a3957604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa1580156129ed573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a1191906154d6565b612a3957604051633b79c77360e21b81526001600160a01b0382166004820152602401611534565b61162d83836139ea565b612a4c33613384565b602c80549115156101000261ff0019909216919091179055565b612a6e613526565b61140f81613a68565b612a8033613384565b6015805460ff1916911515919091179055565b836daaeb6d7670e522a718067333cd4e3b15801590612ab4575060155460ff165b15612b6c57336001600160a01b03821603612ada57612ad585858585613a92565b612b78565b604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015612b29573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b4d91906154d6565b612b6c57604051633b79c77360e21b8152336004820152602401611534565b612b7885858585613a92565b5050505050565b612b8833613384565b6000918252601a602052604090912055565b612ba333613384565b60296114338282615652565b612bb833613384565b601855565b612bc633613384565b602055565b6060612bd6826134ef565b612bf25760405162461bcd60e51b815260040161153490615711565b612bfe82602054101590565b15612cf5576000828152603060205260408120541315612c6c57612c20613ac4565b600083815260306020526040902054612c3890613ad3565b612c4184613ad3565b602b604051602001612c5694939291906157bb565b6040516020818303038152906040529050919050565b602c5462010000900460ff1615612cd0576000612c8883613985565b9050612c92613ac4565b612c9b82613ad3565b612ca485613ad3565b602b604051602001612cb994939291906157bb565b604051602081830303815290604052915050919050565b612cd8613ac4565b612ce183613ad3565b602b604051602001612c5693929190615819565b60298054612d02906154a2565b80601f0160208091040260200160405190810160405280929190818152602001828054612d2e906154a2565b8015612d7b5780601f10612d5057610100808354040283529160200191612d7b565b820191906000526020600020905b815481529060010190602001808311612d5e57829003601f168201915b50505050509050919050565b6040516bffffffffffffffffffffffff19606085901b166020820152600090819060340160405160208183030381529060405280519060200120905060005b8351811015612e9f57838181518110612de157612de161551c565b60200260200101518210612e3f57838181518110612e0157612e0161551c565b602002602001015182604051602001612e24929190918252602082015260400190565b60405160208183030381529060405280519060200120612e8b565b81848281518110612e5257612e5261551c565b6020026020010151604051602001612e74929190918252602082015260400190565b604051602081830303815290604052805190602001205b915080612e97816155f3565b915050612dc6565b506000848152601160205260409020541490509392505050565b612ec233613384565b601955565b612ed033613384565b6031612f1183838080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061385092505050565b815460018082018455600093845260209093200180546001600160a01b0319166001600160a01b0392909216919091179055603154612f509190615509565b6033555050565b612f6033613384565b602b6114338282615652565b612f7533613384565b602155565b60606113d2613b65565b6000612f908383613be5565b1515600003612fa1575060006113e2565b6001600160a01b0380841660009081526007602090815260408083209386168352929052205460ff16612146565b612fd833613384565b6000612fe360055490565b90506000821161304a5760405162461bcd60e51b815260206004820152602c60248201527f45524337323150736941697244726f703a207175616e74697479206d7573742060448201526b06265206772656174657220360a41b6064820152608401611534565b816005600082825461305c9190615532565b9091555061306d9050600182613bfd565b805b6130798383615532565b81101561162d5760325460405182916001600160a01b031690600090600080516020615bf0833981519152908290a4806130b2816155f3565b91505061306f565b6130c2613526565b6001600160a01b0381166131275760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401611534565b61140f816138f0565b61313933613384565b601255565b61314733613384565b601e546131526116a7565b61315c9084615532565b111561317a5760405162461bcd60e51b815260040161153490615586565b611433818361372e565b61318c613526565b602555565b61319a33613384565b61140f81613c29565b606060006131b2836002615545565b6131bd906002615532565b6001600160401b038111156131d4576131d46150d3565b6040519080825280601f01601f1916602001820160405280156131fe576020820181803683370190505b509050600360fc1b816000815181106132195761321961551c565b60200101906001600160f81b031916908160001a905350600f60fb1b816001815181106132485761324861551c565b60200101906001600160f81b031916908160001a905350600061326c846002615545565b613277906001615532565b90505b60018111156132ef576f181899199a1a9b1b9c1cb0b131b232b360811b85600f16601081106132ab576132ab61551c565b1a60f81b8282815181106132c1576132c161551c565b60200101906001600160f81b031916908160001a90535060049490941c936132e88161584b565b905061327a565b5083156121465760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401611534565b6000612146836001600160a01b038416613c6e565b60606113d2600a613cbd565b60006001600160e01b0319821663152a902d60e11b14806113e257506113e282613cca565b6001600160a01b03811660009081526016602052604090205460ff166133b5335b6001600160a01b031660146131a3565b6040516020016133c59190615862565b604051602081830303815290604052906114335760405162461bcd60e51b81526004016115349190614fce565b6127106001600160601b03821611156134605760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b6064820152608401611534565b6001600160a01b0382166134b65760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606401611534565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217601355565b60006134fc6008836138b5565b1561350957506000919050565b6113e282613cef565b61351c8282613d0b565b6114338282613d86565b6000546001600160a01b03163314611cf25760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401611534565b60606135a184613591856001615532565b61359c856001615532565b613e98565b949350505050565b600554600090819081906135c19060081c6001615532565b9050815b81811015613605576000818152600860205260409020546135e581613f4d565b6135ef9086615532565b94505080806135fd906155f3565b9150506135c5565b50505090565b600060016005546113d29190615509565b6136263382613f67565b6136425760405162461bcd60e51b8152600401611534906158af565b61162d83838361402c565b6001600160a01b03811660009081526016602052604090205460ff1615613673336133a5565b6040516020016136839190615903565b604051602081830303815290604052906136b05760405162461bcd60e51b81526004016115349190614fce565b506001600160a01b03166000908152601660205260409020805460ff19166001179055565b6002601054036137275760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401611534565b6002601055565b61143382826040518060200160405280600081525061420c565b600080610457613759600185615509565b6137639190615572565b9050600061377382610457615545565b61377e600186615509565b6137889190615509565b613793906014615545565b90506135a16137d4603184815481106137ae576137ae61551c565b6000918252602090912001546001600160a01b0316836137cf816014615532565b613580565b6014015190565b61162d83838360405180602001604052806000815250612a93565b600061380182612102565b905061381181600084600161424d565b61381c600883613bfd565b60405182906000906001600160a01b03841690600080516020615bf0833981519152908390a461143381600084600161429c565b60008061387b83604051602001613867919061595a565b6040516020818303038152906040526142bf565b90508051602082016000f091506001600160a01b0382166138af5760405163046a55db60e11b815260040160405180910390fd5b50919050565b600881901c600090815260208390526040902054600160ff1b60ff83161c16151592915050565b6000806138e8836142d5565b509392505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b61394b600a826143a6565b506040516001600160a01b0382169033907f3b01c97343869ca2757fcc37cdb8f71683b0a7aed858e3755f4529a1db85729290600090a350565b6000613990826134ef565b6139ac5760405162461bcd60e51b815260040161153490615711565b6025546000838152602f60205260408120549091906139cb9042615980565b6139d591906159a0565b905060245481126113e2575060245492915050565b6139f3826143bb565b806139fc575080155b613a5e5760405162461bcd60e51b815260206004820152602d60248201527f5265737472696374417070726f76653a2043616e206e6f7420617070726f766560448201526c103637b1b5b2b2103a37b5b2b760991b6064820152608401611534565b61143382826143c7565b613a7181613384565b6001600160a01b03166000908152601660205260409020805460ff19169055565b613a9c3383613f67565b613ab85760405162461bcd60e51b8152600401611534906158af565b61179c8484848461448b565b6060602a8054611446906154a2565b60606000613ae0836144a4565b60010190506000816001600160401b03811115613aff57613aff6150d3565b6040519080825280601f01601f191660200182016040528015613b29576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a8504945084613b3357509392505050565b6060600080613b768161271061186c565b91509150613bbf613b8682613ad3565b613b9a846001600160a01b031660146131a3565b604051602001613bab9291906159ce565b60405160208183030381529060405261457c565b604051602001613bcf9190615a54565b6040516020818303038152906040529250505090565b600080613bf1846146e0565b90506135a18382614722565b600881901c600090815260209290925260409091208054600160ff1b60ff9093169290921c9091179055565b613c34600a8261333e565b506040516001600160a01b0382169033907fbd0af1fe0a2c1c7bb340c17a284a291138979c8eeb797e176dbd1c415199af3c90600090a350565b6000818152600183016020526040812054613cb5575081546001818101845560008481526020808220909301849055845484825282860190935260409020919091556113e2565b5060006113e2565b60606000612146836147bb565b60006001600160e01b03198216630101c11560e71b14806113e257506113e282614816565b6000613cfa60055490565b821080156113e25750506001111590565b6001600160a01b0382161561143357613d248183614866565b6114335760405162461bcd60e51b815260206004820152602d60248201527f5265737472696374417070726f76653a2054686520636f6e747261637420697360448201526c103737ba1030b63637bbb2b21760991b6064820152608401611534565b6000613d9182612102565b9050806001600160a01b0316836001600160a01b031603613e005760405162461bcd60e51b8152602060048201526024808201527f4552433732315073693a20617070726f76616c20746f2063757272656e74206f6044820152633bb732b960e11b6064820152608401611534565b336001600160a01b0382161480613e1c5750613e1c8133612f84565b613e8e5760405162461bcd60e51b815260206004820152603b60248201527f4552433732315073693a20617070726f76652063616c6c6572206973206e6f7460448201527f206f776e6572206e6f7220617070726f76656420666f7220616c6c00000000006064820152608401611534565b61162d8383614873565b6060833b6000819003613ebb575050604080516020810190915260008152612146565b80841115613ed9575050604080516020810190915260008152612146565b83831015613f0b5760405163162544fd60e11b8152600481018290526024810185905260448101849052606401611534565b8383038482036000828210613f205782613f22565b815b60408051603f8301601f19168101909152818152955090508087602087018a3c505050509392505050565b60005b81156116a257600019820190911690600101613f50565b6000613f72826134ef565b613fd65760405162461bcd60e51b815260206004820152602f60248201527f4552433732315073693a206f70657261746f7220717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401611534565b6000613fe183612102565b9050806001600160a01b0316846001600160a01b0316148061401c5750836001600160a01b0316614011846114c9565b6001600160a01b0316145b806135a157506135a18185612f84565b600080614038836142d5565b91509150846001600160a01b0316826001600160a01b0316146140b25760405162461bcd60e51b815260206004820152602c60248201527f4552433732315073693a207472616e73666572206f6620746f6b656e2074686160448201526b3a1034b9903737ba1037bbb760a11b6064820152608401611534565b6001600160a01b0384166141185760405162461bcd60e51b815260206004820152602760248201527f4552433732315073693a207472616e7366657220746f20746865207a65726f206044820152666164647265737360c81b6064820152608401611534565b614125858585600161424d565b614130600084614873565b600061413d846001615532565b905061414a6001826138b5565b158015614158575060055481105b1561418f57600081815260046020526040902080546001600160a01b0319166001600160a01b03881617905561418f600182613bfd565b600084815260046020526040902080546001600160a01b0319166001600160a01b0387161790558184146141c8576141c8600185613bfd565b83856001600160a01b0316876001600160a01b0316600080516020615bf083398151915260405160405180910390a4614204868686600161429c565b505050505050565b600061421760055490565b905061422384846148e1565b614231600085838686614a5c565b61179c5760405162461bcd60e51b815260040161153490615a99565b6000828152602f60205260408120429055829061426a8383615532565b90505b42602f60008461427c816155f3565b955081526020019081526020016000208190555080821061426d57614204565b6001600160a01b0384161561179c576000828152600d602052604081205561179c565b6060815182604051602001612c56929190615aee565b6000806142e1836134ef565b6143425760405162461bcd60e51b815260206004820152602c60248201527f4552433732315073693a206f776e657220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401611534565b61434b83614b93565b6000848152602f602052604090205490915015801561437257506143706008846138b5565b155b156143875761438083613748565b9150915091565b6000818152600460205260409020546001600160a01b03169150915091565b6000612146836001600160a01b038416614ba0565b60006113e23383613be5565b336001600160a01b0383160361441f5760405162461bcd60e51b815260206004820152601c60248201527f4552433732315073693a20617070726f766520746f2063616c6c6572000000006044820152606401611534565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b61449684848461402c565b614231848484600185614a5c565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106144e35772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef8100000000831061450f576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061452d57662386f26fc10000830492506010015b6305f5e1008310614545576305f5e100830492506008015b612710831061455957612710830492506004015b6064831061456b576064830492506002015b600a83106113e25760010192915050565b6060815160000361459b57505060408051602081019091526000815290565b6000604051806060016040528060408152602001615bb060409139905060006003845160026145ca9190615532565b6145d49190615572565b6145df906004615545565b905060006145ee826020615532565b6001600160401b03811115614605576146056150d3565b6040519080825280601f01601f19166020018201604052801561462f576020820181803683370190505b509050818152600183018586518101602084015b8183101561469b576003830192508251603f8160121c168501518253600182019150603f81600c1c168501518253600182019150603f8160061c168501518253600182019150603f8116850151825350600101614643565b6003895106600181146146b557600281146146c6576146d2565b613d3d60f01b6001198301526146d2565b603d60f81b6000198301525b509398975050505050505050565b6001600160a01b0381166000908152600e60205260408120541561471a57506001600160a01b03166000908152600e602052604090205490565b5050600f5490565b600c5460009060ff16614737575060016113e2565b61474083614c93565b806121465750600954604051630f8350ed60e41b81526001600160a01b038581166004830152602482018590529091169063f8350ed090604401602060405180830381865afa158015614797573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061214691906154d6565b606081600001805480602002602001604051908101604052809291908181526020018280548015612d7b57602002820191906000526020600020905b8154815260200190600101908083116147f75750505050509050919050565b60006001600160e01b031982166380ac58cd60e01b148061484757506001600160e01b03198216635b5e139f60e01b145b806113e257506301ffc9a760e01b6001600160e01b03198316146113e2565b600080613bf13385614ca0565b600081815260066020526040902080546001600160a01b0319166001600160a01b03841690811790915581906148a882612102565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006148ec60055490565b90506000821161494c5760405162461bcd60e51b815260206004820152602560248201527f4552433732315073693a207175616e74697479206d7573742062652067726561604482015264074657220360dc1b6064820152608401611534565b6001600160a01b0383166149ae5760405162461bcd60e51b815260206004820152602360248201527f4552433732315073693a206d696e7420746f20746865207a65726f206164647260448201526265737360e81b6064820152608401611534565b6149bb600084838561424d565b81600560008282546149cd9190615532565b9091555050600081815260046020526040902080546001600160a01b0319166001600160a01b038516179055614a04600182613bfd565b614a11600084838561429c565b805b614a1d8383615532565b81101561179c5760405181906001600160a01b03861690600090600080516020615bf0833981519152908290a480614a54816155f3565b915050614a13565b60006001600160a01b0385163b15614b8657506001835b614a7d8486615532565b811015614b8057604051630a85bd0160e11b81526001600160a01b0387169063150b7a0290614ab69033908b9086908990600401615b3f565b6020604051808303816000875af1925050508015614af1575060408051601f3d908101601f19168201909252614aee91810190615b7c565b60015b614b4e573d808015614b1f576040519150601f19603f3d011682016040523d82523d6000602084013e614b24565b606091505b508051600003614b465760405162461bcd60e51b815260040161153490615a99565b805181602001fd5b828015614b6b57506001600160e01b03198116630a85bd0160e11b145b92505080614b78816155f3565b915050614a73565b50614b8a565b5060015b95945050505050565b60006113e2600183614cd2565b60008181526001830160205260408120548015614c89576000614bc4600183615509565b8554909150600090614bd890600190615509565b9050818114614c3d576000866000018281548110614bf857614bf861551c565b9060005260206000200154905080876000018481548110614c1b57614c1b61551c565b6000918252602080832090910192909255918252600188019052604090208390555b8554869080614c4e57614c4e615b99565b6001900381819060005260206000200160009055905585600101600086815260200190815260200160002060009055600193505050506113e2565b60009150506113e2565b60006113e2600a83614dca565b6000818152600d602052604081205415614cc957506000818152600d60205260409020546113e2565b612146836146e0565b600881901c60008181526020849052604081205490919060ff808516919082181c8015614d1457614d0281614dec565b60ff168203600884901b179350614dc1565b60008311614d815760405162461bcd60e51b815260206004820152603460248201527f4269744d6170733a205468652073657420626974206265666f7265207468652060448201527334b73232bc103237b2b9b713ba1032bc34b9ba1760611b6064820152608401611534565b506000199091016000818152602086905260409020549091908015614dbc57614da981614dec565b60ff0360ff16600884901b179350614dc1565b614d14565b50505092915050565b6001600160a01b03811660009081526001830160205260408120541515612146565b60006040518061012001604052806101008152602001615c10610100913960f87e818283848586878898a8b8c8d8e8f929395969799a9b9d9e9faaeb6bedeeff614e3585614e56565b02901c81518110614e4857614e4861551c565b016020015160f81c92915050565b6000808211614e6457600080fd5b5060008190031690565b6020808252825182820181905260009190848201906040850190845b81811015614eaf5783516001600160a01b031683529284019291840191600101614e8a565b50909695505050505050565b6001600160e01b03198116811461140f57600080fd5b600060208284031215614ee357600080fd5b813561214681614ebb565b6001600160a01b038116811461140f57600080fd5b600060208284031215614f1557600080fd5b813561214681614eee565b600060208284031215614f3257600080fd5b5035919050565b60008060408385031215614f4c57600080fd5b8235614f5781614eee565b915060208301356001600160601b0381168114614f7357600080fd5b809150509250929050565b60005b83811015614f99578181015183820152602001614f81565b50506000910152565b60008151808452614fba816020860160208601614f7e565b601f01601f19169290920160200192915050565b6020815260006121466020830184614fa2565b60008060408385031215614ff457600080fd5b8235614fff81614eee565b946020939093013593505050565b60008060006060848603121561502257600080fd5b833561502d81614eee565b9250602084013561503d81614eee565b929592945050506040919091013590565b6000806040838503121561506157600080fd5b50508035926020909101359150565b801515811461140f57600080fd5b60006020828403121561509057600080fd5b813561214681615070565b6020808252825182820181905260009190848201906040850190845b81811015614eaf578351835292840192918401916001016150b7565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715615111576151116150d3565b604052919050565b60006001600160401b03831115615132576151326150d3565b615145601f8401601f19166020016150e9565b905082815283838301111561515957600080fd5b828260208301376000602084830101529392505050565b60006020828403121561518257600080fd5b81356001600160401b0381111561519857600080fd5b8201601f810184136151a957600080fd5b6135a184823560208401615119565b60008083601f8401126151ca57600080fd5b5081356001600160401b038111156151e157600080fd5b60208301915083602082850101111561191357600080fd5b60008060006040848603121561520e57600080fd5b83356001600160401b0381111561522457600080fd5b615230868287016151b8565b909790965060209590950135949350505050565b600082601f83011261525557600080fd5b813560206001600160401b03821115615270576152706150d3565b8160051b61527f8282016150e9565b928352848101820192828101908785111561529957600080fd5b83870192505b848310156152b85782358252918301919083019061529f565b979650505050505050565b600080604083850312156152d657600080fd5b8235915060208301356001600160401b038111156152f357600080fd5b6152ff85828601615244565b9150509250929050565b6000806040838503121561531c57600080fd5b823591506020830135614f7381614eee565b6000806040838503121561534157600080fd5b823561534c81614eee565b91506020830135614f7381615070565b6000806000806080858703121561537257600080fd5b843561537d81614eee565b9350602085013561538d81614eee565b92506040850135915060608501356001600160401b038111156153af57600080fd5b8501601f810187136153c057600080fd5b6153cf87823560208401615119565b91505092959194509250565b6000806000606084860312156153f057600080fd5b83356153fb81614eee565b92506020840135915060408401356001600160401b0381111561541d57600080fd5b61542986828701615244565b9150509250925092565b6000806020838503121561544657600080fd5b82356001600160401b0381111561545c57600080fd5b615468858286016151b8565b90969095509350505050565b6000806040838503121561548757600080fd5b823561549281614eee565b91506020830135614f7381614eee565b600181811c908216806154b657607f821691505b6020821081036138af57634e487b7160e01b600052602260045260246000fd5b6000602082840312156154e857600080fd5b815161214681615070565b634e487b7160e01b600052601160045260246000fd5b818103818111156113e2576113e26154f3565b634e487b7160e01b600052603260045260246000fd5b808201808211156113e2576113e26154f3565b80820281158282048414176113e2576113e26154f3565b634e487b7160e01b600052601260045260246000fd5b6000826155815761558161555c565b500490565b6020808252600c908201526b4e6f206d6f7265204e46547360a01b604082015260600190565b60208082526010908201526f34b9b73a1037bbb732b9103a37b5b2b760811b604082015260600190565b6000602082840312156155e857600080fd5b815161214681614eee565b600060018201615605576156056154f3565b5060010190565b601f82111561162d57600081815260208120601f850160051c810160208610156156335750805b601f850160051c820191505b818110156142045782815560010161563f565b81516001600160401b0381111561566b5761566b6150d3565b61567f8161567984546154a2565b8461560c565b602080601f8311600181146156b4576000841561569c5750858301515b600019600386901b1c1916600185901b178555614204565b600085815260208120601f198616915b828110156156e3578886015182559484019460019091019084016156c4565b50858210156157015787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6020808252601f908201527f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e00604082015260600190565b60008154615755816154a2565b6001828116801561576d5760018114615782576157b1565b60ff19841687528215158302870194506157b1565b8560005260208060002060005b858110156157a85781548a82015290840190820161578f565b50505082870194505b5050505092915050565b600085516157cd818460208a01614f7e565b8551908301906157e1818360208a01614f7e565b602f60f81b910190815284516157fe816001840160208901614f7e565b61580d60018284010186615748565b98975050505050505050565b6000845161582b818460208901614f7e565b84519083019061583f818360208901614f7e565b6152b881830186615748565b60008161585a5761585a6154f3565b506000190190565b67030b1b1b7bab73a160c51b815260008251615885816008850160208701614f7e565b721034b9903737ba1030b71037b832b930ba37b960691b6008939091019283015250601b01919050565b60208082526034908201527f4552433732315073693a207472616e736665722063616c6c6572206973206e6f6040820152731d081bdddb995c881b9bdc88185c1c1c9bdd995960621b606082015260800190565b67030b1b1b7bab73a160c51b815260008251615926816008850160208701614f7e565b7f20697320616c72656164792068617320616e206f70657261746f7220726f6c656008939091019283015250602801919050565b6000815260008251615973816001850160208701614f7e565b9190910160010192915050565b81810360008312801583831316838312821617156122f7576122f76154f3565b6000826159af576159af61555c565b600160ff1b8214600019841416156159c9576159c96154f3565b500590565b7f7b2273656c6c65725f6665655f62617369735f706f696e7473223a0000000000815260008351615a0681601b850160208801614f7e565b721610113332b2afb932b1b4b834b2b73a111d1160691b601b918401918201528351615a3981602e840160208801614f7e565b61227d60f01b602e9290910191820152603001949350505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000815260008251615a8c81601d850160208701614f7e565b91909101601d0192915050565b60208082526035908201527f4552433732315073693a207472616e7366657220746f206e6f6e20455243373260408201527418a932b1b2b4bb32b91034b6b83632b6b2b73a32b960591b606082015260800190565b606360f81b815260e083901b6001600160e01b03191660018201526880600e6000396000f360b81b60058201528151600090615b3181600e850160208701614f7e565b91909101600e019392505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090615b7290830184614fa2565b9695505050505050565b600060208284031215615b8e57600080fd5b815161214681614ebb565b634e487b7160e01b600052603160045260246000fdfe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef0001020903110a19042112290b311a3905412245134d2a550c5d32651b6d3a7506264262237d468514804e8d2b95569d0d495ea533a966b11c886eb93bc176c9071727374353637324837e9b47af86c7155181ad4fd18ed32c9096db57d59ee30e2e4a6a5f92a6be3498aae067ddb2eb1d5989b56fd7baf33ca0c2ee77e5caf7ff0810182028303840444c545c646c7425617c847f8c949c48a4a8b087b8c0c816365272829aaec650acd0d28fdad4e22d6991bd97dfdcea58b4d6f29fede4f6fe0f1f2f3f4b5b6b607b8b93a3a7b7bf357199c5abcfd9e168bcdee9b3f1ecf5fd1e3e5a7a8aa2b670c4ced8bbe8f0f4fc3d79a1c3cde7effb78cce6facbf9f8a26469706673582212200d5ca9442ed1e03d0e336c057f21ccd8f6dfd1d33f39c29c6a1bb0d4f18ae0c764736f6c63430008110033000000000000000000000000637d25d0769f747b2742a04d249802da8539597000000000000000000000000000000000000000000000000000000000000003e8
Deployed Bytecode
0x6080604052600436106106665760003560e01c80637254d90c11610344578063b7c0b8e8116101b6578063da359dc811610102578063f19e75d4116100a0578063fdf03cd51161007a578063fdf03cd514611348578063fe08eab014611368578063fe8b456e14611388578063ff768212146113a857600080fd5b8063f19e75d4146112ee578063f2fde38b1461130e578063fb796e6c1461132e57600080fd5b8063e0669c55116100dc578063e0669c5514611283578063e8a3d485146112a3578063e985e9c5146112b8578063ea7baab1146112d857600080fd5b8063da359dc81461122d578063da3ef23f1461124d578063df58a1b51461126d57600080fd5b8063c50c81861161016f578063d4e45c1411610149578063d4e45c14146111cc578063d5abeb01146111e1578063d5dcfbc6146111f7578063d78be71c1461120d57600080fd5b8063c50c81861461116c578063c87b56dd1461118c578063d2de022f146111ac57600080fd5b8063b7c0b8e8146110b2578063b88d4fde146110d2578063b9a2e655146110f2578063bbaac02f14611112578063bf509b9d14611132578063c3e536831461115257600080fd5b80638da5cb5b11610290578063a22cb4651161022e578063b0b9150f11610208578063b0b9150f1461102b578063b219f7d714611041578063b31391cb14611061578063b435d2361461108e57600080fd5b8063a22cb46514610fbe578063a355fd2914610fde578063a35c23ad14610ffe57600080fd5b806391e4bac81161026a57806391e4bac814610f25578063942958f414610f4557806395d89b4114610f895780639d1fbfbe14610f9e57600080fd5b80638da5cb5b14610ea45780638dd07d0f14610ec25780638e37326a14610ee257600080fd5b80637c3dc173116102fd578063830b3a64116102d7578063830b3a6414610e2e578063830f821114610e4e5780638462151c14610e645780638c5668be14610e8457600080fd5b80637c3dc17314610dd85780637fc69f5a14610df8578063813779ef14610e0e57600080fd5b80637254d90c14610d2f57806372b44d7114610d4557806374dfc98214610d655780637558be9e14610d855780637672287e14610da55780637bc9200e14610dc557600080fd5b806330e7ed35116104dd578063449d0f10116104295780636352211e116103c75780636fa0cf5f116103a15780636fa0cf5f14610cba578063709411d214610cda57806370a0823114610cfa578063715018a614610d1a57600080fd5b80636352211e14610c415780636d70f7ae14610c615780636f8b44b014610c9a57600080fd5b806351830227116104035780635183022714610bd557806355f804b314610beb5780635638697b14610c0b57806358303b1014610c2b57600080fd5b8063449d0f1014610b935780634bf365df14610ba95780634f3db34614610bbf57600080fd5b80634009920d1161049657806342842e0e1161047057806342842e0e14610b0657806342966c6814610b26578063435e4ccd14610b46578063438b630014610b6657600080fd5b80634009920d14610aaf57806341f4343414610ace57806342454db914610af057600080fd5b806330e7ed3514610a11578063396e8f5314610a315780633ad22cc314610a515780633ccfd60b14610a715780633df669f714610a795780633fa3b4df14610a8f57600080fd5b80630f5ba1ae116105b75780632672c902116105555780632a55205a1161052f5780632a55205a146109935780632c4e9fc6146109d25780632db11544146109e85780632e9901f4146109fb57600080fd5b80632672c9021461093e578063267fe9891461095357806327ac0c581461097357600080fd5b80631a8b8357116105915780631a8b83571461088057806321434421146108ad5780632398f843146108f157806323b872dd1461091e57600080fd5b80630f5ba1ae1461083557806318160ddd146108555780631a09cfe21461086a57600080fd5b80630726538911610624578063095ea7b3116105fe578063095ea7b3146107c05780630ab06c7e146107e05780630d9005ae146108005780630f4345e21461081557600080fd5b8063072653891461074a578063081812fc1461076457806308b096a01461079c57600080fd5b80623f332f1461066b57806301ffc9a714610696578063025e332e146106c657806303c0f48c146106e857806304634d8d1461070857806306fdde0314610728575b600080fd5b34801561067757600080fd5b506106806113c8565b60405161068d9190614e6e565b60405180910390f35b3480156106a257600080fd5b506106b66106b1366004614ed1565b6113d7565b604051901515815260200161068d565b3480156106d257600080fd5b506106e66106e1366004614f03565b6113e8565b005b3480156106f457600080fd5b506106e6610703366004614f20565b611412565b34801561071457600080fd5b506106e6610723366004614f39565b611420565b34801561073457600080fd5b5061073d611437565b60405161068d9190614fce565b34801561075657600080fd5b50600c546106b69060ff1681565b34801561077057600080fd5b5061078461077f366004614f20565b6114c9565b6040516001600160a01b03909116815260200161068d565b3480156107a857600080fd5b506107b260265481565b60405190815260200161068d565b3480156107cc57600080fd5b506106e66107db366004614fe1565b611559565b3480156107ec57600080fd5b506106e66107fb366004614f20565b611632565b34801561080c57600080fd5b506107b261163f565b34801561082157600080fd5b506106e6610830366004614f20565b611656565b34801561084157600080fd5b5061073d610850366004614f20565b611664565b34801561086157600080fd5b506107b26116a7565b34801561087657600080fd5b506107b2601b5481565b34801561088c57600080fd5b506107b261089b366004614f20565b601a6020526000908152604090205481565b3480156108b957600080fd5b506107b26108c8366004614f03565b6022546000908152602d602090815260408083206001600160a01b039094168352929052205490565b3480156108fd57600080fd5b506107b261090c366004614f03565b600e6020526000908152604090205481565b34801561092a57600080fd5b506106e661093936600461500d565b6116b9565b34801561094a57600080fd5b5061073d6117a2565b34801561095f57600080fd5b506106e661096e366004614f20565b611830565b34801561097f57600080fd5b506106e661098e366004614f03565b61185b565b34801561099f57600080fd5b506109b36109ae36600461504e565b61186c565b604080516001600160a01b03909316835260208301919091520161068d565b3480156109de57600080fd5b506107b260175481565b6106e66109f6366004614f20565b61191a565b348015610a0757600080fd5b506107b2601c5481565b348015610a1d57600080fd5b506106e6610a2c366004614f20565b611b7b565b348015610a3d57600080fd5b50600954610784906001600160a01b031681565b348015610a5d57600080fd5b506106e6610a6c366004614f03565b611b89565b6106e6611bb4565b348015610a8557600080fd5b506107b260335481565b348015610a9b57600080fd5b506106e6610aaa366004614f20565b611cf4565b348015610abb57600080fd5b50602c546106b690610100900460ff1681565b348015610ada57600080fd5b506107846daaeb6d7670e522a718067333cd4e81565b348015610afc57600080fd5b506107b260195481565b348015610b1257600080fd5b506106e6610b2136600461500d565b611d99565b348015610b3257600080fd5b506106e6610b41366004614f20565b611e77565b348015610b5257600080fd5b506106e6610b6136600461507e565b611ef6565b348015610b7257600080fd5b50610b86610b81366004614f03565b611f1d565b60405161068d919061509b565b348015610b9f57600080fd5b506107b260185481565b348015610bb557600080fd5b506107b2601f5481565b348015610bcb57600080fd5b506107b2600f5481565b348015610be157600080fd5b506107b260205481565b348015610bf757600080fd5b506106e6610c06366004615170565b612052565b348015610c1757600080fd5b506106e6610c263660046151f9565b612067565b348015610c3757600080fd5b506107b260125481565b348015610c4d57600080fd5b50610784610c5c366004614f20565b612102565b348015610c6d57600080fd5b506106b6610c7c366004614f03565b6001600160a01b031660009081526016602052604090205460ff1690565b348015610ca657600080fd5b506106e6610cb5366004614f20565b61214d565b348015610cc657600080fd5b506106e6610cd536600461504e565b6121ae565b348015610ce657600080fd5b506106e6610cf5366004614f20565b6121c9565b348015610d0657600080fd5b506107b2610d15366004614f03565b61222f565b348015610d2657600080fd5b506106e66122fe565b348015610d3b57600080fd5b506107b260255481565b348015610d5157600080fd5b506106e6610d60366004614f03565b612310565b348015610d7157600080fd5b506107b2610d80366004614f20565b612322565b348015610d9157600080fd5b506106e6610da0366004614f20565b612379565b348015610db157600080fd5b506106e6610dc036600461507e565b612386565b6106e6610dd33660046152c3565b6123a2565b348015610de457600080fd5b506106e6610df336600461504e565b612684565b348015610e0457600080fd5b506107b260245481565b348015610e1a57600080fd5b506106e6610e29366004614f20565b612714565b348015610e3a57600080fd5b50610784610e49366004614f20565b612722565b348015610e5a57600080fd5b506107b260215481565b348015610e7057600080fd5b50610b86610e7f366004614f03565b612789565b348015610e9057600080fd5b506106e6610e9f366004614f20565b61284f565b348015610eb057600080fd5b506000546001600160a01b0316610784565b348015610ece57600080fd5b506106e6610edd366004614f20565b6128e4565b348015610eee57600080fd5b506107b2610efd366004615309565b6000918252602d602090815260408084206001600160a01b0393909316845291905290205490565b348015610f3157600080fd5b506106e6610f40366004614f20565b6128f2565b348015610f5157600080fd5b506107b2610f60366004614f03565b6023546000908152602e602090815260408083206001600160a01b039094168352929052205490565b348015610f9557600080fd5b5061073d612953565b348015610faa57600080fd5b506106e6610fb9366004614f20565b612962565b348015610fca57600080fd5b506106e6610fd936600461532e565b61296f565b348015610fea57600080fd5b506106e6610ff936600461507e565b612a43565b34801561100a57600080fd5b506106e6611019366004614f20565b336000908152600e6020526040902055565b34801561103757600080fd5b506107b260275481565b34801561104d57600080fd5b506106e661105c366004614f03565b612a66565b34801561106d57600080fd5b506107b261107c366004614f20565b600d6020526000908152604090205481565b34801561109a57600080fd5b506012546000908152601a60205260409020546107b2565b3480156110be57600080fd5b506106e66110cd36600461507e565b612a77565b3480156110de57600080fd5b506106e66110ed36600461535c565b612a93565b3480156110fe57600080fd5b506106e661110d36600461504e565b612b7f565b34801561111e57600080fd5b506106e661112d366004615170565b612b9a565b34801561113e57600080fd5b506106e661114d366004614f20565b612baf565b34801561115e57600080fd5b50602c546106b69060ff1681565b34801561117857600080fd5b506106e6611187366004614f20565b612bbd565b34801561119857600080fd5b5061073d6111a7366004614f20565b612bcb565b3480156111b857600080fd5b506106b66111c73660046153db565b612d87565b3480156111d857600080fd5b506012546107b2565b3480156111ed57600080fd5b506107b2601e5481565b34801561120357600080fd5b506107b260225481565b34801561121957600080fd5b506106e6611228366004614f20565b612eb9565b34801561123957600080fd5b506106e6611248366004615433565b612ec7565b34801561125957600080fd5b506106e6611268366004615170565b612f57565b34801561127957600080fd5b506107b260235481565b34801561128f57600080fd5b506106e661129e366004614f20565b612f6c565b3480156112af57600080fd5b5061073d612f7a565b3480156112c457600080fd5b506106b66112d3366004615474565b612f84565b3480156112e457600080fd5b506107b2601d5481565b3480156112fa57600080fd5b506106e6611309366004614f20565b612fcf565b34801561131a57600080fd5b506106e6611329366004614f03565b6130ba565b34801561133a57600080fd5b506015546106b69060ff1681565b34801561135457600080fd5b506106e6611363366004614f20565b613130565b34801561137457600080fd5b506106e6611383366004615309565b61313e565b34801561139457600080fd5b506106e66113a3366004614f20565b613184565b3480156113b457600080fd5b506106e66113c3366004614f03565b613191565b60606113d2613353565b905090565b60006113e28261335f565b92915050565b6113f133613384565b600980546001600160a01b0319166001600160a01b03831617905550565b50565b61141b33613384565b602255565b61142933613384565b61143382826133f2565b5050565b606060028054611446906154a2565b80601f0160208091040260200160405190810160405280929190818152602001828054611472906154a2565b80156114bf5780601f10611494576101008083540402835291602001916114bf565b820191906000526020600020905b8154815290600101906020018083116114a257829003601f168201915b5050505050905090565b60006114d4826134ef565b61153d5760405162461bcd60e51b815260206004820152602f60248201527f4552433732315073693a20617070726f76656420717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084015b60405180910390fd5b506000908152600660205260409020546001600160a01b031690565b816daaeb6d7670e522a718067333cd4e3b1580159061157a575060155460ff165b1561162357604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa1580156115d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115fb91906154d6565b61162357604051633b79c77360e21b81526001600160a01b0382166004820152602401611534565b61162d8383613512565b505050565b61163a613526565b602755565b6000600161164c60055490565b6113d29190615509565b61165f33613384565b600f55565b606061166f33613384565b6113e2603183815481106116855761168561551c565b60009182526020822001546001600160a01b0316906156cc613580565b919050565b60006116b16135a9565b61164c61360b565b826daaeb6d7670e522a718067333cd4e3b158015906116da575060155460ff165b1561179157336001600160a01b038216036116ff576116fa84848461361c565b61179c565b604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa15801561174e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061177291906154d6565b61179157604051633b79c77360e21b8152336004820152602401611534565b61179c84848461361c565b50505050565b602b80546117af906154a2565b80601f01602080910402602001604051908101604052809291908181526020018280546117db906154a2565b80156118285780601f106117fd57610100808354040283529160200191611828565b820191906000526020600020905b81548152906001019060200180831161180b57829003601f168201915b505050505081565b61183933613384565b806012819055506001602260008282546118539190615532565b909155505050565b611863613526565b61140f8161364d565b60008281526014602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b03169282019290925282916118e15750604080518082019091526013546001600160a01b0381168252600160a01b90046001600160601b031660208201525b602081015160009061271090611900906001600160601b031687615545565b61190a9190615572565b91519350909150505b9250929050565b6119226136d5565b602c54610100900460ff166119705760405162461bcd60e51b81526020600482015260146024820152731c1d589b1a58d35a5b9d081a5cc814185d5cd95960621b6044820152606401611534565b80601d5410156119d25760405162461bcd60e51b815260206004820152602760248201527f7075626c69634d696e743a204f766572206d6178206d696e747320706572206f6044820152666e652074696d6560c81b6064820152608401611534565b80601b541015611a325760405162461bcd60e51b815260206004820152602560248201527f7075626c69634d696e743a204f766572206d6178206d696e7473207065722077604482015264185b1b195d60da1b6064820152608401611534565b6023546000908152602e60209081526040808320338452909152902054611a5a908290615532565b601b541015611aab5760405162461bcd60e51b815260206004820152601b60248201527f596f752068617665206e6f207075626c69634d696e74206c65667400000000006044820152606401611534565b80601954611ab99190615545565b3414611b025760405162461bcd60e51b8152602060048201526018602482015277115512081d985b1d59481a5cc81b9bdd0818dbdc9c9958dd60421b6044820152606401611534565b601f54611b0d6116a7565b611b179083615532565b1115611b355760405162461bcd60e51b815260040161153490615586565b6023546000908152602e6020908152604080832033845290915281208054839290611b61908490615532565b90915550611b719050338261372e565b61140f6001601055565b611b8433613384565b602355565b611b9233613384565b603280546001600160a01b0319166001600160a01b0392909216919091179055565b611bbd33613384565b611bc56136d5565b60285447906000906001600160a01b031615611c38576028546040516001600160a01b03909116908390600081818185875af1925050503d8060008114611c28576040519150601f19603f3d011682016040523d82523d6000602084013e611c2d565b606091505b505080915050611c99565b6000546001600160a01b03166001600160a01b03168260405160006040518083038185875af1925050503d8060008114611c8e576040519150601f19603f3d011682016040523d82523d6000602084013e611c93565b606091505b50909150505b80611ce65760405162461bcd60e51b815260206004820152601860248201527f4661696c656420746f20776974686472617720457468657200000000000000006044820152606401611534565b5050611cf26001601055565b565b611cfd33613384565b60008111611d625760405162461bcd60e51b815260206004820152602c60248201527f45524337323150736941697244726f703a205f746f6b656e4964206d7573742060448201526b06265206772656174657220360a41b6064820152608401611534565b80611d6c82613748565b6032546040516001600160a01b039283169290911690600080516020615bf083398151915290600090a450565b826daaeb6d7670e522a718067333cd4e3b15801590611dba575060155460ff165b15611e6c57336001600160a01b03821603611dda576116fa8484846137db565b604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015611e29573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e4d91906154d6565b611e6c57604051633b79c77360e21b8152336004820152602401611534565b61179c8484846137db565b33611e8182612102565b6001600160a01b031614611ea75760405162461bcd60e51b8152600401611534906155ac565b602c546301000000900460ff1615611eed5760405162461bcd60e51b81526020600482015260096024820152686e6f7420616c6c6f7760b81b6044820152606401611534565b61140f816137f6565b611eff33613384565b602c805491151563010000000263ff00000019909216919091179055565b60606000611f2a8361222f565b90506000816001600160401b03811115611f4657611f466150d3565b604051908082528060200260200182016040528015611f6f578160200160208202803683370190505b509050600060015b6001611f8260055490565b611f8c9190615509565b811015612048576040516320c2ce9960e21b815260048101829052309063830b3a6490602401602060405180830381865afa158015611fcf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ff391906155d6565b6001600160a01b0316866001600160a01b03160361203657808383612017816155f3565b9450815181106120295761202961551c565b6020026020010181815250505b80612040816155f3565b915050611f77565b5090949350505050565b61205b33613384565b602a6114338282615652565b61207033613384565b6120af83838080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061385092505050565b603182815481106120c2576120c261551c565b600091825260209091200180546001600160a01b0319166001600160a01b03929092169190911790556031546120fa90600190615509565b603355505050565b6000818152602f6020526040812054819015801561212857506121266008846138b5565b155b1561213d5761213683613748565b90506113e2565b612146836138dc565b9392505050565b61215633613384565b8061215f6116a7565b11156121a95760405162461bcd60e51b81526020600482015260196024820152782637bbb2b9103a3430b7102fb1bab93932b73a24b73232bc1760391b6044820152606401611534565b601e55565b6121b733613384565b60009182526011602052604090912055565b6121d2816134ef565b6121ee5760405162461bcd60e51b815260040161153490615711565b336121f882612102565b6001600160a01b03161461221e5760405162461bcd60e51b8152600401611534906155ac565b600090815260306020526040812055565b60006001600160a01b03821661229d5760405162461bcd60e51b815260206004820152602d60248201527f4552433732315073693a2062616c616e636520717565727920666f722074686560448201526c207a65726f206164647265737360981b6064820152608401611534565b600060015b6005548110156122f7576122b5816134ef565b156122e7576122c381612102565b6001600160a01b0316846001600160a01b0316036122e7576122e4826155f3565b91505b6122f0816155f3565b90506122a2565b5092915050565b612306613526565b611cf260006138f0565b61231933613384565b61140f81613940565b600061232d826134ef565b6123495760405162461bcd60e51b815260040161153490615711565b6000828152602f6020526040812054900361236657505060265490565b506000908152602f602052604090205490565b612381613526565b602455565b61238f33613384565b602c805460ff1916911515919091179055565b6123aa6136d5565b602c5460ff166123fc5760405162461bcd60e51b815260206004820152601760248201527f616c6c6f776c6973744d696e74206973205061757365640000000000000000006044820152606401611534565b6124093360125483612d87565b6124555760405162461bcd60e51b815260206004820152601860248201527f596f7520617265206e6f742077686974656c69737465642100000000000000006044820152606401611534565b81601c5410156124ba5760405162461bcd60e51b815260206004820152602a60248201527f616c6c6f776c6973744d696e743a204f766572206d6178206d696e747320706560448201526972206f6e652074696d6560b01b6064820152608401611534565b6012546000908152601a602052604090205482111561252c5760405162461bcd60e51b815260206004820152602860248201527f616c6c6f776c6973744d696e743a204f766572206d6178206d696e74732070656044820152671c881dd85b1b195d60c21b6064820152608401611534565b6022546000908152602d60209081526040808320338452909152902054612554908390615532565b6012546000908152601a602052604090205410156125b45760405162461bcd60e51b815260206004820152601e60248201527f596f752068617665206e6f2077686974656c6973744d696e74206c65667400006044820152606401611534565b816018546125c29190615545565b341461260b5760405162461bcd60e51b8152602060048201526018602482015277115512081d985b1d59481a5cc81b9bdd0818dbdc9c9958dd60421b6044820152606401611534565b601f546126166116a7565b6126209084615532565b111561263e5760405162461bcd60e51b815260040161153490615586565b6022546000908152602d602090815260408083203384529091528120805484929061266a908490615532565b9091555061267a9050338361372e565b6114336001601055565b8161268e81612102565b6001600160a01b0316336001600160a01b0316146127015760405162461bcd60e51b815260206004820152602a60248201527f5265737472696374417070726f76653a206f7065726174696f6e206973206f6e604482015269363c903437b63232b91760b11b6064820152608401611534565b506000918252600d602052604090912055565b61271d33613384565b601b55565b6040516331a9108f60e11b8152600481018290526000903090636352211e90602401602060405180830381865afa92505050801561277d575060408051601f3d908101601f1916820190925261277a918101906155d6565b60015b6113e257506000919050565b60606000806127978461222f565b90506000816001600160401b038111156127b3576127b36150d3565b6040519080825280602002602001820160405280156127dc578160200160208202803683370190505b50905060015b828414612846576127f2816134ef565b1561283e57856001600160a01b031661280a82612102565b6001600160a01b03160361283e57808285806001019650815181106128315761283161551c565b6020026020010181815250505b6001016127e2565b50949350505050565b612858816134ef565b6128745760405162461bcd60e51b815260040161153490615711565b3361287e82612102565b6001600160a01b0316146128a45760405162461bcd60e51b8152600401611534906155ac565b6128b081602054101590565b1561140f57602c5462010000900460ff161561140f5760006128d182613985565b6000838152603060205260409020555050565b6128ed33613384565b601755565b6128fb33613384565b806129046116a7565b111561294e5760405162461bcd60e51b81526020600482015260196024820152782637bbb2b9103a3430b7102fb1bab93932b73a24b73232bc1760391b6044820152606401611534565b601f55565b606060038054611446906154a2565b61296a613526565b602655565b816daaeb6d7670e522a718067333cd4e3b15801590612990575060155460ff165b15612a3957604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa1580156129ed573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a1191906154d6565b612a3957604051633b79c77360e21b81526001600160a01b0382166004820152602401611534565b61162d83836139ea565b612a4c33613384565b602c80549115156101000261ff0019909216919091179055565b612a6e613526565b61140f81613a68565b612a8033613384565b6015805460ff1916911515919091179055565b836daaeb6d7670e522a718067333cd4e3b15801590612ab4575060155460ff165b15612b6c57336001600160a01b03821603612ada57612ad585858585613a92565b612b78565b604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015612b29573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b4d91906154d6565b612b6c57604051633b79c77360e21b8152336004820152602401611534565b612b7885858585613a92565b5050505050565b612b8833613384565b6000918252601a602052604090912055565b612ba333613384565b60296114338282615652565b612bb833613384565b601855565b612bc633613384565b602055565b6060612bd6826134ef565b612bf25760405162461bcd60e51b815260040161153490615711565b612bfe82602054101590565b15612cf5576000828152603060205260408120541315612c6c57612c20613ac4565b600083815260306020526040902054612c3890613ad3565b612c4184613ad3565b602b604051602001612c5694939291906157bb565b6040516020818303038152906040529050919050565b602c5462010000900460ff1615612cd0576000612c8883613985565b9050612c92613ac4565b612c9b82613ad3565b612ca485613ad3565b602b604051602001612cb994939291906157bb565b604051602081830303815290604052915050919050565b612cd8613ac4565b612ce183613ad3565b602b604051602001612c5693929190615819565b60298054612d02906154a2565b80601f0160208091040260200160405190810160405280929190818152602001828054612d2e906154a2565b8015612d7b5780601f10612d5057610100808354040283529160200191612d7b565b820191906000526020600020905b815481529060010190602001808311612d5e57829003601f168201915b50505050509050919050565b6040516bffffffffffffffffffffffff19606085901b166020820152600090819060340160405160208183030381529060405280519060200120905060005b8351811015612e9f57838181518110612de157612de161551c565b60200260200101518210612e3f57838181518110612e0157612e0161551c565b602002602001015182604051602001612e24929190918252602082015260400190565b60405160208183030381529060405280519060200120612e8b565b81848281518110612e5257612e5261551c565b6020026020010151604051602001612e74929190918252602082015260400190565b604051602081830303815290604052805190602001205b915080612e97816155f3565b915050612dc6565b506000848152601160205260409020541490509392505050565b612ec233613384565b601955565b612ed033613384565b6031612f1183838080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061385092505050565b815460018082018455600093845260209093200180546001600160a01b0319166001600160a01b0392909216919091179055603154612f509190615509565b6033555050565b612f6033613384565b602b6114338282615652565b612f7533613384565b602155565b60606113d2613b65565b6000612f908383613be5565b1515600003612fa1575060006113e2565b6001600160a01b0380841660009081526007602090815260408083209386168352929052205460ff16612146565b612fd833613384565b6000612fe360055490565b90506000821161304a5760405162461bcd60e51b815260206004820152602c60248201527f45524337323150736941697244726f703a207175616e74697479206d7573742060448201526b06265206772656174657220360a41b6064820152608401611534565b816005600082825461305c9190615532565b9091555061306d9050600182613bfd565b805b6130798383615532565b81101561162d5760325460405182916001600160a01b031690600090600080516020615bf0833981519152908290a4806130b2816155f3565b91505061306f565b6130c2613526565b6001600160a01b0381166131275760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401611534565b61140f816138f0565b61313933613384565b601255565b61314733613384565b601e546131526116a7565b61315c9084615532565b111561317a5760405162461bcd60e51b815260040161153490615586565b611433818361372e565b61318c613526565b602555565b61319a33613384565b61140f81613c29565b606060006131b2836002615545565b6131bd906002615532565b6001600160401b038111156131d4576131d46150d3565b6040519080825280601f01601f1916602001820160405280156131fe576020820181803683370190505b509050600360fc1b816000815181106132195761321961551c565b60200101906001600160f81b031916908160001a905350600f60fb1b816001815181106132485761324861551c565b60200101906001600160f81b031916908160001a905350600061326c846002615545565b613277906001615532565b90505b60018111156132ef576f181899199a1a9b1b9c1cb0b131b232b360811b85600f16601081106132ab576132ab61551c565b1a60f81b8282815181106132c1576132c161551c565b60200101906001600160f81b031916908160001a90535060049490941c936132e88161584b565b905061327a565b5083156121465760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401611534565b6000612146836001600160a01b038416613c6e565b60606113d2600a613cbd565b60006001600160e01b0319821663152a902d60e11b14806113e257506113e282613cca565b6001600160a01b03811660009081526016602052604090205460ff166133b5335b6001600160a01b031660146131a3565b6040516020016133c59190615862565b604051602081830303815290604052906114335760405162461bcd60e51b81526004016115349190614fce565b6127106001600160601b03821611156134605760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b6064820152608401611534565b6001600160a01b0382166134b65760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606401611534565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217601355565b60006134fc6008836138b5565b1561350957506000919050565b6113e282613cef565b61351c8282613d0b565b6114338282613d86565b6000546001600160a01b03163314611cf25760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401611534565b60606135a184613591856001615532565b61359c856001615532565b613e98565b949350505050565b600554600090819081906135c19060081c6001615532565b9050815b81811015613605576000818152600860205260409020546135e581613f4d565b6135ef9086615532565b94505080806135fd906155f3565b9150506135c5565b50505090565b600060016005546113d29190615509565b6136263382613f67565b6136425760405162461bcd60e51b8152600401611534906158af565b61162d83838361402c565b6001600160a01b03811660009081526016602052604090205460ff1615613673336133a5565b6040516020016136839190615903565b604051602081830303815290604052906136b05760405162461bcd60e51b81526004016115349190614fce565b506001600160a01b03166000908152601660205260409020805460ff19166001179055565b6002601054036137275760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401611534565b6002601055565b61143382826040518060200160405280600081525061420c565b600080610457613759600185615509565b6137639190615572565b9050600061377382610457615545565b61377e600186615509565b6137889190615509565b613793906014615545565b90506135a16137d4603184815481106137ae576137ae61551c565b6000918252602090912001546001600160a01b0316836137cf816014615532565b613580565b6014015190565b61162d83838360405180602001604052806000815250612a93565b600061380182612102565b905061381181600084600161424d565b61381c600883613bfd565b60405182906000906001600160a01b03841690600080516020615bf0833981519152908390a461143381600084600161429c565b60008061387b83604051602001613867919061595a565b6040516020818303038152906040526142bf565b90508051602082016000f091506001600160a01b0382166138af5760405163046a55db60e11b815260040160405180910390fd5b50919050565b600881901c600090815260208390526040902054600160ff1b60ff83161c16151592915050565b6000806138e8836142d5565b509392505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b61394b600a826143a6565b506040516001600160a01b0382169033907f3b01c97343869ca2757fcc37cdb8f71683b0a7aed858e3755f4529a1db85729290600090a350565b6000613990826134ef565b6139ac5760405162461bcd60e51b815260040161153490615711565b6025546000838152602f60205260408120549091906139cb9042615980565b6139d591906159a0565b905060245481126113e2575060245492915050565b6139f3826143bb565b806139fc575080155b613a5e5760405162461bcd60e51b815260206004820152602d60248201527f5265737472696374417070726f76653a2043616e206e6f7420617070726f766560448201526c103637b1b5b2b2103a37b5b2b760991b6064820152608401611534565b61143382826143c7565b613a7181613384565b6001600160a01b03166000908152601660205260409020805460ff19169055565b613a9c3383613f67565b613ab85760405162461bcd60e51b8152600401611534906158af565b61179c8484848461448b565b6060602a8054611446906154a2565b60606000613ae0836144a4565b60010190506000816001600160401b03811115613aff57613aff6150d3565b6040519080825280601f01601f191660200182016040528015613b29576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a8504945084613b3357509392505050565b6060600080613b768161271061186c565b91509150613bbf613b8682613ad3565b613b9a846001600160a01b031660146131a3565b604051602001613bab9291906159ce565b60405160208183030381529060405261457c565b604051602001613bcf9190615a54565b6040516020818303038152906040529250505090565b600080613bf1846146e0565b90506135a18382614722565b600881901c600090815260209290925260409091208054600160ff1b60ff9093169290921c9091179055565b613c34600a8261333e565b506040516001600160a01b0382169033907fbd0af1fe0a2c1c7bb340c17a284a291138979c8eeb797e176dbd1c415199af3c90600090a350565b6000818152600183016020526040812054613cb5575081546001818101845560008481526020808220909301849055845484825282860190935260409020919091556113e2565b5060006113e2565b60606000612146836147bb565b60006001600160e01b03198216630101c11560e71b14806113e257506113e282614816565b6000613cfa60055490565b821080156113e25750506001111590565b6001600160a01b0382161561143357613d248183614866565b6114335760405162461bcd60e51b815260206004820152602d60248201527f5265737472696374417070726f76653a2054686520636f6e747261637420697360448201526c103737ba1030b63637bbb2b21760991b6064820152608401611534565b6000613d9182612102565b9050806001600160a01b0316836001600160a01b031603613e005760405162461bcd60e51b8152602060048201526024808201527f4552433732315073693a20617070726f76616c20746f2063757272656e74206f6044820152633bb732b960e11b6064820152608401611534565b336001600160a01b0382161480613e1c5750613e1c8133612f84565b613e8e5760405162461bcd60e51b815260206004820152603b60248201527f4552433732315073693a20617070726f76652063616c6c6572206973206e6f7460448201527f206f776e6572206e6f7220617070726f76656420666f7220616c6c00000000006064820152608401611534565b61162d8383614873565b6060833b6000819003613ebb575050604080516020810190915260008152612146565b80841115613ed9575050604080516020810190915260008152612146565b83831015613f0b5760405163162544fd60e11b8152600481018290526024810185905260448101849052606401611534565b8383038482036000828210613f205782613f22565b815b60408051603f8301601f19168101909152818152955090508087602087018a3c505050509392505050565b60005b81156116a257600019820190911690600101613f50565b6000613f72826134ef565b613fd65760405162461bcd60e51b815260206004820152602f60248201527f4552433732315073693a206f70657261746f7220717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401611534565b6000613fe183612102565b9050806001600160a01b0316846001600160a01b0316148061401c5750836001600160a01b0316614011846114c9565b6001600160a01b0316145b806135a157506135a18185612f84565b600080614038836142d5565b91509150846001600160a01b0316826001600160a01b0316146140b25760405162461bcd60e51b815260206004820152602c60248201527f4552433732315073693a207472616e73666572206f6620746f6b656e2074686160448201526b3a1034b9903737ba1037bbb760a11b6064820152608401611534565b6001600160a01b0384166141185760405162461bcd60e51b815260206004820152602760248201527f4552433732315073693a207472616e7366657220746f20746865207a65726f206044820152666164647265737360c81b6064820152608401611534565b614125858585600161424d565b614130600084614873565b600061413d846001615532565b905061414a6001826138b5565b158015614158575060055481105b1561418f57600081815260046020526040902080546001600160a01b0319166001600160a01b03881617905561418f600182613bfd565b600084815260046020526040902080546001600160a01b0319166001600160a01b0387161790558184146141c8576141c8600185613bfd565b83856001600160a01b0316876001600160a01b0316600080516020615bf083398151915260405160405180910390a4614204868686600161429c565b505050505050565b600061421760055490565b905061422384846148e1565b614231600085838686614a5c565b61179c5760405162461bcd60e51b815260040161153490615a99565b6000828152602f60205260408120429055829061426a8383615532565b90505b42602f60008461427c816155f3565b955081526020019081526020016000208190555080821061426d57614204565b6001600160a01b0384161561179c576000828152600d602052604081205561179c565b6060815182604051602001612c56929190615aee565b6000806142e1836134ef565b6143425760405162461bcd60e51b815260206004820152602c60248201527f4552433732315073693a206f776e657220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401611534565b61434b83614b93565b6000848152602f602052604090205490915015801561437257506143706008846138b5565b155b156143875761438083613748565b9150915091565b6000818152600460205260409020546001600160a01b03169150915091565b6000612146836001600160a01b038416614ba0565b60006113e23383613be5565b336001600160a01b0383160361441f5760405162461bcd60e51b815260206004820152601c60248201527f4552433732315073693a20617070726f766520746f2063616c6c6572000000006044820152606401611534565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b61449684848461402c565b614231848484600185614a5c565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106144e35772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef8100000000831061450f576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061452d57662386f26fc10000830492506010015b6305f5e1008310614545576305f5e100830492506008015b612710831061455957612710830492506004015b6064831061456b576064830492506002015b600a83106113e25760010192915050565b6060815160000361459b57505060408051602081019091526000815290565b6000604051806060016040528060408152602001615bb060409139905060006003845160026145ca9190615532565b6145d49190615572565b6145df906004615545565b905060006145ee826020615532565b6001600160401b03811115614605576146056150d3565b6040519080825280601f01601f19166020018201604052801561462f576020820181803683370190505b509050818152600183018586518101602084015b8183101561469b576003830192508251603f8160121c168501518253600182019150603f81600c1c168501518253600182019150603f8160061c168501518253600182019150603f8116850151825350600101614643565b6003895106600181146146b557600281146146c6576146d2565b613d3d60f01b6001198301526146d2565b603d60f81b6000198301525b509398975050505050505050565b6001600160a01b0381166000908152600e60205260408120541561471a57506001600160a01b03166000908152600e602052604090205490565b5050600f5490565b600c5460009060ff16614737575060016113e2565b61474083614c93565b806121465750600954604051630f8350ed60e41b81526001600160a01b038581166004830152602482018590529091169063f8350ed090604401602060405180830381865afa158015614797573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061214691906154d6565b606081600001805480602002602001604051908101604052809291908181526020018280548015612d7b57602002820191906000526020600020905b8154815260200190600101908083116147f75750505050509050919050565b60006001600160e01b031982166380ac58cd60e01b148061484757506001600160e01b03198216635b5e139f60e01b145b806113e257506301ffc9a760e01b6001600160e01b03198316146113e2565b600080613bf13385614ca0565b600081815260066020526040902080546001600160a01b0319166001600160a01b03841690811790915581906148a882612102565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006148ec60055490565b90506000821161494c5760405162461bcd60e51b815260206004820152602560248201527f4552433732315073693a207175616e74697479206d7573742062652067726561604482015264074657220360dc1b6064820152608401611534565b6001600160a01b0383166149ae5760405162461bcd60e51b815260206004820152602360248201527f4552433732315073693a206d696e7420746f20746865207a65726f206164647260448201526265737360e81b6064820152608401611534565b6149bb600084838561424d565b81600560008282546149cd9190615532565b9091555050600081815260046020526040902080546001600160a01b0319166001600160a01b038516179055614a04600182613bfd565b614a11600084838561429c565b805b614a1d8383615532565b81101561179c5760405181906001600160a01b03861690600090600080516020615bf0833981519152908290a480614a54816155f3565b915050614a13565b60006001600160a01b0385163b15614b8657506001835b614a7d8486615532565b811015614b8057604051630a85bd0160e11b81526001600160a01b0387169063150b7a0290614ab69033908b9086908990600401615b3f565b6020604051808303816000875af1925050508015614af1575060408051601f3d908101601f19168201909252614aee91810190615b7c565b60015b614b4e573d808015614b1f576040519150601f19603f3d011682016040523d82523d6000602084013e614b24565b606091505b508051600003614b465760405162461bcd60e51b815260040161153490615a99565b805181602001fd5b828015614b6b57506001600160e01b03198116630a85bd0160e11b145b92505080614b78816155f3565b915050614a73565b50614b8a565b5060015b95945050505050565b60006113e2600183614cd2565b60008181526001830160205260408120548015614c89576000614bc4600183615509565b8554909150600090614bd890600190615509565b9050818114614c3d576000866000018281548110614bf857614bf861551c565b9060005260206000200154905080876000018481548110614c1b57614c1b61551c565b6000918252602080832090910192909255918252600188019052604090208390555b8554869080614c4e57614c4e615b99565b6001900381819060005260206000200160009055905585600101600086815260200190815260200160002060009055600193505050506113e2565b60009150506113e2565b60006113e2600a83614dca565b6000818152600d602052604081205415614cc957506000818152600d60205260409020546113e2565b612146836146e0565b600881901c60008181526020849052604081205490919060ff808516919082181c8015614d1457614d0281614dec565b60ff168203600884901b179350614dc1565b60008311614d815760405162461bcd60e51b815260206004820152603460248201527f4269744d6170733a205468652073657420626974206265666f7265207468652060448201527334b73232bc103237b2b9b713ba1032bc34b9ba1760611b6064820152608401611534565b506000199091016000818152602086905260409020549091908015614dbc57614da981614dec565b60ff0360ff16600884901b179350614dc1565b614d14565b50505092915050565b6001600160a01b03811660009081526001830160205260408120541515612146565b60006040518061012001604052806101008152602001615c10610100913960f87e818283848586878898a8b8c8d8e8f929395969799a9b9d9e9faaeb6bedeeff614e3585614e56565b02901c81518110614e4857614e4861551c565b016020015160f81c92915050565b6000808211614e6457600080fd5b5060008190031690565b6020808252825182820181905260009190848201906040850190845b81811015614eaf5783516001600160a01b031683529284019291840191600101614e8a565b50909695505050505050565b6001600160e01b03198116811461140f57600080fd5b600060208284031215614ee357600080fd5b813561214681614ebb565b6001600160a01b038116811461140f57600080fd5b600060208284031215614f1557600080fd5b813561214681614eee565b600060208284031215614f3257600080fd5b5035919050565b60008060408385031215614f4c57600080fd5b8235614f5781614eee565b915060208301356001600160601b0381168114614f7357600080fd5b809150509250929050565b60005b83811015614f99578181015183820152602001614f81565b50506000910152565b60008151808452614fba816020860160208601614f7e565b601f01601f19169290920160200192915050565b6020815260006121466020830184614fa2565b60008060408385031215614ff457600080fd5b8235614fff81614eee565b946020939093013593505050565b60008060006060848603121561502257600080fd5b833561502d81614eee565b9250602084013561503d81614eee565b929592945050506040919091013590565b6000806040838503121561506157600080fd5b50508035926020909101359150565b801515811461140f57600080fd5b60006020828403121561509057600080fd5b813561214681615070565b6020808252825182820181905260009190848201906040850190845b81811015614eaf578351835292840192918401916001016150b7565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715615111576151116150d3565b604052919050565b60006001600160401b03831115615132576151326150d3565b615145601f8401601f19166020016150e9565b905082815283838301111561515957600080fd5b828260208301376000602084830101529392505050565b60006020828403121561518257600080fd5b81356001600160401b0381111561519857600080fd5b8201601f810184136151a957600080fd5b6135a184823560208401615119565b60008083601f8401126151ca57600080fd5b5081356001600160401b038111156151e157600080fd5b60208301915083602082850101111561191357600080fd5b60008060006040848603121561520e57600080fd5b83356001600160401b0381111561522457600080fd5b615230868287016151b8565b909790965060209590950135949350505050565b600082601f83011261525557600080fd5b813560206001600160401b03821115615270576152706150d3565b8160051b61527f8282016150e9565b928352848101820192828101908785111561529957600080fd5b83870192505b848310156152b85782358252918301919083019061529f565b979650505050505050565b600080604083850312156152d657600080fd5b8235915060208301356001600160401b038111156152f357600080fd5b6152ff85828601615244565b9150509250929050565b6000806040838503121561531c57600080fd5b823591506020830135614f7381614eee565b6000806040838503121561534157600080fd5b823561534c81614eee565b91506020830135614f7381615070565b6000806000806080858703121561537257600080fd5b843561537d81614eee565b9350602085013561538d81614eee565b92506040850135915060608501356001600160401b038111156153af57600080fd5b8501601f810187136153c057600080fd5b6153cf87823560208401615119565b91505092959194509250565b6000806000606084860312156153f057600080fd5b83356153fb81614eee565b92506020840135915060408401356001600160401b0381111561541d57600080fd5b61542986828701615244565b9150509250925092565b6000806020838503121561544657600080fd5b82356001600160401b0381111561545c57600080fd5b615468858286016151b8565b90969095509350505050565b6000806040838503121561548757600080fd5b823561549281614eee565b91506020830135614f7381614eee565b600181811c908216806154b657607f821691505b6020821081036138af57634e487b7160e01b600052602260045260246000fd5b6000602082840312156154e857600080fd5b815161214681615070565b634e487b7160e01b600052601160045260246000fd5b818103818111156113e2576113e26154f3565b634e487b7160e01b600052603260045260246000fd5b808201808211156113e2576113e26154f3565b80820281158282048414176113e2576113e26154f3565b634e487b7160e01b600052601260045260246000fd5b6000826155815761558161555c565b500490565b6020808252600c908201526b4e6f206d6f7265204e46547360a01b604082015260600190565b60208082526010908201526f34b9b73a1037bbb732b9103a37b5b2b760811b604082015260600190565b6000602082840312156155e857600080fd5b815161214681614eee565b600060018201615605576156056154f3565b5060010190565b601f82111561162d57600081815260208120601f850160051c810160208610156156335750805b601f850160051c820191505b818110156142045782815560010161563f565b81516001600160401b0381111561566b5761566b6150d3565b61567f8161567984546154a2565b8461560c565b602080601f8311600181146156b4576000841561569c5750858301515b600019600386901b1c1916600185901b178555614204565b600085815260208120601f198616915b828110156156e3578886015182559484019460019091019084016156c4565b50858210156157015787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6020808252601f908201527f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e00604082015260600190565b60008154615755816154a2565b6001828116801561576d5760018114615782576157b1565b60ff19841687528215158302870194506157b1565b8560005260208060002060005b858110156157a85781548a82015290840190820161578f565b50505082870194505b5050505092915050565b600085516157cd818460208a01614f7e565b8551908301906157e1818360208a01614f7e565b602f60f81b910190815284516157fe816001840160208901614f7e565b61580d60018284010186615748565b98975050505050505050565b6000845161582b818460208901614f7e565b84519083019061583f818360208901614f7e565b6152b881830186615748565b60008161585a5761585a6154f3565b506000190190565b67030b1b1b7bab73a160c51b815260008251615885816008850160208701614f7e565b721034b9903737ba1030b71037b832b930ba37b960691b6008939091019283015250601b01919050565b60208082526034908201527f4552433732315073693a207472616e736665722063616c6c6572206973206e6f6040820152731d081bdddb995c881b9bdc88185c1c1c9bdd995960621b606082015260800190565b67030b1b1b7bab73a160c51b815260008251615926816008850160208701614f7e565b7f20697320616c72656164792068617320616e206f70657261746f7220726f6c656008939091019283015250602801919050565b6000815260008251615973816001850160208701614f7e565b9190910160010192915050565b81810360008312801583831316838312821617156122f7576122f76154f3565b6000826159af576159af61555c565b600160ff1b8214600019841416156159c9576159c96154f3565b500590565b7f7b2273656c6c65725f6665655f62617369735f706f696e7473223a0000000000815260008351615a0681601b850160208801614f7e565b721610113332b2afb932b1b4b834b2b73a111d1160691b601b918401918201528351615a3981602e840160208801614f7e565b61227d60f01b602e9290910191820152603001949350505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000815260008251615a8c81601d850160208701614f7e565b91909101601d0192915050565b60208082526035908201527f4552433732315073693a207472616e7366657220746f206e6f6e20455243373260408201527418a932b1b2b4bb32b91034b6b83632b6b2b73a32b960591b606082015260800190565b606360f81b815260e083901b6001600160e01b03191660018201526880600e6000396000f360b81b60058201528151600090615b3181600e850160208701614f7e565b91909101600e019392505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090615b7290830184614fa2565b9695505050505050565b600060208284031215615b8e57600080fd5b815161214681614ebb565b634e487b7160e01b600052603160045260246000fdfe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef0001020903110a19042112290b311a3905412245134d2a550c5d32651b6d3a7506264262237d468514804e8d2b95569d0d495ea533a966b11c886eb93bc176c9071727374353637324837e9b47af86c7155181ad4fd18ed32c9096db57d59ee30e2e4a6a5f92a6be3498aae067ddb2eb1d5989b56fd7baf33ca0c2ee77e5caf7ff0810182028303840444c545c646c7425617c847f8c949c48a4a8b087b8c0c816365272829aaec650acd0d28fdad4e22d6991bd97dfdcea58b4d6f29fede4f6fe0f1f2f3f4b5b6b607b8b93a3a7b7bf357199c5abcfd9e168bcdee9b3f1ecf5fd1e3e5a7a8aa2b670c4ced8bbe8f0f4fc3d79a1c3cde7effb78cce6facbf9f8a26469706673582212200d5ca9442ed1e03d0e336c057f21ccd8f6dfd1d33f39c29c6a1bb0d4f18ae0c764736f6c63430008110033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000637d25d0769f747b2742a04d249802da8539597000000000000000000000000000000000000000000000000000000000000003e8
-----Decoded View---------------
Arg [0] : _royaltyReceiver (address): 0x637d25D0769f747B2742A04d249802dA85395970
Arg [1] : _royaltyFraction (uint96): 1000
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000637d25d0769f747b2742a04d249802da85395970
Arg [1] : 00000000000000000000000000000000000000000000000000000000000003e8
Deployed Bytecode Sourcemap
139942:19889:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;156033:181;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;142703:179;;;;;;;;;;-1:-1:-1;142703:179:0;;;;;:::i;:::-;;:::i;:::-;;;1228:14:1;;1221:22;1203:41;;1191:2;1176:18;142703:179:0;1063:187:1;156330:105:0;;;;;;;;;;-1:-1:-1;156330:105:0;;;;;:::i;:::-;;:::i;:::-;;144520:111;;;;;;;;;;-1:-1:-1;144520:111:0;;;;;:::i;:::-;;:::i;142525:157::-;;;;;;;;;;-1:-1:-1;142525:157:0;;;;;:::i;:::-;;:::i;100146:100::-;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;134069:33::-;;;;;;;;;;-1:-1:-1;134069:33:0;;;;;;;;101701:311;;;;;;;;;;-1:-1:-1;101701:311:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;3188:32:1;;;3170:51;;3158:2;3143:18;101701:311:0;3024:203:1;140664:23:0;;;;;;;;;;;;;;;;;;;3378:25:1;;;3366:2;3351:18;140664:23:0;3232:177:1;154680:157:0;;;;;;;;;;-1:-1:-1;154680:157:0;;;;;:::i;:::-;;:::i;149090:92::-;;;;;;;;;;-1:-1:-1;149090:92:0;;;;;:::i;:::-;;:::i;146914:103::-;;;;;;;;;;;;;:::i;156222:100::-;;;;;;;;;;-1:-1:-1;156222:100:0;;;;;:::i;:::-;;:::i;157123:151::-;;;;;;;;;;-1:-1:-1;157123:151:0;;;;;:::i;:::-;;:::i;115276:122::-;;;;;;;;;;;;;:::i;140287:32::-;;;;;;;;;;;;;;;;140234:48;;;;;;;;;;-1:-1:-1;140234:48:0;;;;;:::i;:::-;;;;;;;;;;;;;;145439:126;;;;;;;;;;-1:-1:-1;145439:126:0;;;;;:::i;:::-;145538:10;;145506:7;145528:21;;;:9;:21;;;;;;;;-1:-1:-1;;;;;145528:31:0;;;;;;;;;;;145439:126;134207:49;;;;;;;;;;-1:-1:-1;134207:49:0;;;;;:::i;:::-;;;;;;;;;;;;;;154845:163;;;;;;;;;;-1:-1:-1;154845:163:0;;;;;:::i;:::-;;:::i;140837:38::-;;;;;;;;;;;;;:::i;144271:130::-;;;;;;;;;;-1:-1:-1;144271:130:0;;;;;:::i;:::-;;:::i;156493:115::-;;;;;;;;;;-1:-1:-1;156493:115:0;;;;;:::i;:::-;;:::i;93060:442::-;;;;;;;;;;-1:-1:-1;93060:442:0;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;4863:32:1;;;4845:51;;4927:2;4912:18;;4905:34;;;;4818:18;93060:442:0;4671:274:1;140099:40:0;;;;;;;;;;;;;;;;152310:650;;;;;;:::i;:::-;;:::i;140324:34::-;;;;;;;;;;;;;;;;144635:111;;;;;;;;;;-1:-1:-1;144635:111:0;;;;;:::i;:::-;;:::i;133623:34::-;;;;;;;;;;-1:-1:-1;133623:34:0;;;;-1:-1:-1;;;;;133623:34:0;;;149188:98;;;;;;;;;;-1:-1:-1;149188:98:0;;;;;:::i;:::-;;:::i;151876:412::-;;;:::i;141426:21::-;;;;;;;;;;;;;;;;158710:236;;;;;;;;;;-1:-1:-1;158710:236:0;;;;;:::i;:::-;;:::i;140925:31::-;;;;;;;;;;-1:-1:-1;140925:31:0;;;;;;;;;;;128724:143;;;;;;;;;;;;128824:42;128724:143;;140189:40;;;;;;;;;;;;;;;;155016:171;;;;;;;;;;-1:-1:-1;155016:171:0;;;;;:::i;:::-;;:::i;152980:201::-;;;;;;;;;;-1:-1:-1;152980:201:0;;;;;:::i;:::-;;:::i;153208:98::-;;;;;;;;;;-1:-1:-1;153208:98:0;;;;;:::i;:::-;;:::i;153349:481::-;;;;;;;;;;-1:-1:-1;153349:481:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;140144:40::-;;;;;;;;;;;;;;;;140439:29;;;;;;;;;;;;;;;;134287:27;;;;;;;;;;;;;;;;140473;;;;;;;;;;;;;;;;147077:103;;;;;;;;;;-1:-1:-1;147077:103:0;;;;;:::i;:::-;;:::i;156947:170::-;;;;;;;;;;-1:-1:-1;156947:170:0;;;;;:::i;:::-;;:::i;123847:22::-;;;;;;;;;;;;;;;;158954:393;;;;;;;;;;-1:-1:-1;158954:393:0;;;;;:::i;:::-;;:::i;124806:113::-;;;;;;;;;;-1:-1:-1;124806:113:0;;;;;:::i;:::-;-1:-1:-1;;;;;124890:21:0;124866:4;124890:21;;;:10;:21;;;;;;;;;124806:113;143652:179;;;;;;;;;;-1:-1:-1;143652:179:0;;;;;:::i;:::-;;:::i;146588:156::-;;;;;;;;;;-1:-1:-1;146588:156:0;;;;;:::i;:::-;;:::i;148614:225::-;;;;;;;;;;-1:-1:-1;148614:225:0;;;;;:::i;:::-;;:::i;98991:490::-;;;;;;;;;;-1:-1:-1;98991:490:0;;;;;:::i;:::-;;:::i;117947:103::-;;;;;;;;;;;;;:::i;140624:23::-;;;;;;;;;;;;;;;;155844:181;;;;;;;;;;-1:-1:-1;155844:181:0;;;;;:::i;:::-;;:::i;147563:255::-;;;;;;;;;;-1:-1:-1;147563:255:0;;;;;:::i;:::-;;:::i;148862:92::-;;;;;;;;;;-1:-1:-1;148862:92:0;;;;;:::i;:::-;;:::i;146317:110::-;;;;;;;;;;-1:-1:-1;146317:110:0;;;;;:::i;:::-;;:::i;150852:789::-;;;;;;:::i;:::-;;:::i;137095:176::-;;;;;;;;;;-1:-1:-1;137095:176:0;;;;;:::i;:::-;;:::i;140595:24::-;;;;;;;;;;;;;;;;146170:100;;;;;;;;;;-1:-1:-1;146170:100:0;;;;;:::i;:::-;;:::i;153893:243::-;;;;;;;;;;-1:-1:-1;153893:243:0;;;;;:::i;:::-;;:::i;140505:25::-;;;;;;;;;;;;;;;;111684:601;;;;;;;;;;-1:-1:-1;111684:601:0;;;;;:::i;:::-;;:::i;148214:369::-;;;;;;;;;;-1:-1:-1;148214:369:0;;;;;:::i;:::-;;:::i;117299:87::-;;;;;;;;;;-1:-1:-1;117345:7:0;117372:6;-1:-1:-1;;;;;117372:6:0;117299:87;;144782:103;;;;;;;;;;-1:-1:-1;144782:103:0;;;;;:::i;:::-;;:::i;145569:149::-;;;;;;;;;;-1:-1:-1;145569:149:0;;;;;:::i;:::-;145658:7;145680:22;;;:9;:22;;;;;;;;-1:-1:-1;;;;;145680:32:0;;;;;;;;;;;;;145569:149;143835:174;;;;;;;;;;-1:-1:-1;143835:174:0;;;;;:::i;:::-;;:::i;145722:126::-;;;;;;;;;;-1:-1:-1;145722:126:0;;;;;:::i;:::-;145821:10;;145789:7;145811:21;;;:9;:21;;;;;;;;-1:-1:-1;;;;;145811:31:0;;;;;;;;;;;145722:126;100315:104;;;;;;;;;;;;;:::i;147457:100::-;;;;;;;;;;-1:-1:-1;147457:100:0;;;;;:::i;:::-;;:::i;154496:176::-;;;;;;;;;;-1:-1:-1;154496:176:0;;;;;:::i;:::-;;:::i;146450:111::-;;;;;;;;;;-1:-1:-1;146450:111:0;;;;;:::i;:::-;;:::i;137279:135::-;;;;;;;;;;-1:-1:-1;137279:135:0;;;;;:::i;:::-;137387:10;137372:26;;;;:14;:26;;;;;:34;137279:135;140692:26;;;;;;;;;;;;;;;;156667:117;;;;;;;;;;-1:-1:-1;156667:117:0;;;;;:::i;:::-;;:::i;134130:48::-;;;;;;;;;;-1:-1:-1;134130:48:0;;;;;:::i;:::-;;;;;;;;;;;;;;145893:106;;;;;;;;;;-1:-1:-1;145985:7:0;;145949;145971:22;;;:13;:22;;;;;;145893:106;;154366:122;;;;;;;;;;-1:-1:-1;154366:122:0;;;;;:::i;:::-;;:::i;155195:228::-;;;;;;;;;;-1:-1:-1;155195:228:0;;;;;:::i;:::-;;:::i;146023:127::-;;;;;;;;;;-1:-1:-1;146023:127:0;;;;;:::i;:::-;;:::i;146783:101::-;;;;;;;;;;-1:-1:-1;146783:101:0;;;;;:::i;:::-;;:::i;144903:103::-;;;;;;;;;;-1:-1:-1;144903:103:0;;;;;:::i;:::-;;:::i;140893:27::-;;;;;;;;;;-1:-1:-1;140893:27:0;;;;;;;;145159:107;;;;;;;;;;-1:-1:-1;145159:107:0;;;;;:::i;:::-;;:::i;149779:786::-;;;;;;;;;;-1:-1:-1;149779:786:0;;;;;:::i;:::-;;:::i;124158:434::-;;;;;;;;;;-1:-1:-1;124158:434:0;;;;;:::i;:::-;;:::i;144034:88::-;;;;;;;;;;-1:-1:-1;144109:7:0;;144034:88;;140402:32;;;;;;;;;;;;;;;;140535:25;;;;;;;;;;;;;;;;145024:103;;;;;;;;;;-1:-1:-1;145024:103:0;;;;;:::i;:::-;;:::i;156790:151::-;;;;;;;;;;-1:-1:-1;156790:151:0;;;;;:::i;:::-;;:::i;147186:131::-;;;;;;;;;;-1:-1:-1;147186:131:0;;;;;:::i;:::-;;:::i;140565:25::-;;;;;;;;;;;;;;;;144405:111;;;;;;;;;;-1:-1:-1;144405:111:0;;;;;:::i;:::-;;:::i;142911:113::-;;;;;;;;;;;;;:::i;137606:309::-;;;;;;;;;;-1:-1:-1;137606:309:0;;;;;:::i;:::-;;:::i;140363:34::-;;;;;;;;;;;;;;;;157794:847;;;;;;;;;;-1:-1:-1;157794:847:0;;;;;:::i;:::-;;:::i;118205:201::-;;;;;;;;;;-1:-1:-1;118205:201:0;;;;;:::i;:::-;;:::i;128672:43::-;;;;;;;;;;-1:-1:-1;128672:43:0;;;;;;;;144147:99;;;;;;;;;;-1:-1:-1;144147:99:0;;;;;:::i;:::-;;:::i;150628:202::-;;;;;;;;;;-1:-1:-1;150628:202:0;;;;;:::i;:::-;;:::i;148977:90::-;;;;;;;;;;-1:-1:-1;148977:90:0;;;;;:::i;:::-;;:::i;155661:175::-;;;;;;;;;;-1:-1:-1;155661:175:0;;;;;:::i;:::-;;:::i;156033:181::-;156137:16;156178:28;:26;:28::i;:::-;156171:35;;156033:181;:::o;142703:179::-;142820:4;142840:36;142864:11;142840:23;:36::i;:::-;142833:43;142703:179;-1:-1:-1;;142703:179:0:o;156330:105::-;124748:32;96316:10;124748:18;:32::i;:::-;136924:3;:35;;-1:-1:-1;;;;;;136924:35:0;-1:-1:-1;;;;;136924:35:0;;;;;156330:105;:::o;156408:19::-:1;156330:105:::0;:::o;144520:111::-;124748:32;96316:10;124748:18;:32::i;:::-;144601:10:::1;:24:::0;144520:111::o;142525:157::-;124748:32;96316:10;124748:18;:32::i;:::-;142632:44:::1;142651:9;142662:13;142632:18;:44::i;:::-;142525:157:::0;;:::o;100146:100::-;100200:13;100233:5;100226:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;100146:100;:::o;101701:311::-;101822:7;101869:16;101877:7;101869;:16::i;:::-;101847:113;;;;-1:-1:-1;;;101847:113:0;;13398:2:1;101847:113:0;;;13380:21:1;13437:2;13417:18;;;13410:30;13476:34;13456:18;;;13449:62;-1:-1:-1;;;13527:18:1;;;13520:45;13582:19;;101847:113:0;;;;;;;;;-1:-1:-1;101980:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;101980:24:0;;101701:311::o;154680:157::-;154776:8;128824:42;130746:45;:49;;;;:77;;-1:-1:-1;130799:24:0;;;;130746:77;130742:253;;;130845:67;;-1:-1:-1;;;130845:67:0;;130896:4;130845:67;;;13824:34:1;-1:-1:-1;;;;;13894:15:1;;13874:18;;;13867:43;128824:42:0;;130845;;13759:18:1;;130845:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;130840:144;;130940:28;;-1:-1:-1;;;130940:28:0;;-1:-1:-1;;;;;3188:32:1;;130940:28:0;;;3170:51:1;3143:18;;130940:28:0;3024:203:1;130840:144:0;154797:32:::1;154811:8;154821:7;154797:13;:32::i;:::-;154680:157:::0;;;:::o;149090:92::-;117185:13;:11;:13::i;:::-;149160:7:::1;:16:::0;149090:92::o;146914:103::-;146972:7;147010:1;146994:14;98258:13;;;98176:103;146994:14;:17;;;;:::i;156222:100::-;124748:32;96316:10;124748:18;:32::i;:::-;156298:8:::1;:16:::0;156222:100::o;157123:151::-;157197:12;124748:32;96316:10;124748:18;:32::i;:::-;157229:37:::1;157242:7;157250:4;157242:13;;;;;;;;:::i;:::-;;::::0;;;::::1;::::0;;::::1;::::0;-1:-1:-1;;;;;157242:13:0::1;::::0;157258:7:::1;157229:12;:37::i;124791:1::-;157123:151:::0;;;:::o;115276:122::-;115337:7;115381:9;:7;:9::i;:::-;115364:14;:12;:14::i;154845:163::-;154946:4;128824:42;129972:45;:49;;;;:77;;-1:-1:-1;130025:24:0;;;;129972:77;129968:567;;;130289:10;-1:-1:-1;;;;;130281:18:0;;;130277:85;;154963:37:::1;154982:4;154988:2;154992:7;154963:18;:37::i;:::-;130340:7:::0;;130277:85;130381:69;;-1:-1:-1;;;130381:69:0;;130432:4;130381:69;;;13824:34:1;130439:10:0;13874:18:1;;;13867:43;128824:42:0;;130381;;13759:18:1;;130381:69:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;130376:148;;130478:30;;-1:-1:-1;;;130478:30:0;;130497:10;130478:30;;;3170:51:1;3143:18;;130478:30:0;3024:203:1;130376:148:0;154963:37:::1;154982:4;154988:2;154992:7;154963:18;:37::i;:::-;154845:163:::0;;;;:::o;140837:38::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;144271:130::-;124748:32;96316:10;124748:18;:32::i;:::-;144365:8:::1;144355:7;:18;;;;144394:1;144380:10;;:15;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;;;144271:130:0:o;156493:115::-;117185:13;:11;:13::i;:::-;156570:30:::1;156589:10;156570:18;:30::i;93060:442::-:0;93157:7;93215:27;;;:17;:27;;;;;;;;93186:56;;;;;;;;;-1:-1:-1;;;;;93186:56:0;;;;;-1:-1:-1;;;93186:56:0;;;-1:-1:-1;;;;;93186:56:0;;;;;;;;93157:7;;93255:92;;-1:-1:-1;93306:29:0;;;;;;;;;93316:19;93306:29;-1:-1:-1;;;;;93306:29:0;;;;-1:-1:-1;;;93306:29:0;;-1:-1:-1;;;;;93306:29:0;;;;;93255:92;93397:23;;;;93359:21;;93868:5;;93384:36;;-1:-1:-1;;;;;93384:36:0;:10;:36;:::i;:::-;93383:58;;;;:::i;:::-;93462:16;;;-1:-1:-1;93359:82:0;;-1:-1:-1;;93060:442:0;;;;;;:::o;152310:650::-;82042:21;:19;:21::i;:::-;152400:19:::1;::::0;::::1;::::0;::::1;;;152392:52;;;::::0;-1:-1:-1;;;152392:52:0;;15330:2:1;152392:52:0::1;::::0;::::1;15312:21:1::0;15369:2;15349:18;;;15342:30;-1:-1:-1;;;15388:18:1;;;15381:50;15448:18;;152392:52:0::1;15128:344:1::0;152392:52:0::1;152478:7;152459:15;;:26;;152451:78;;;::::0;-1:-1:-1;;;152451:78:0;;15679:2:1;152451:78:0::1;::::0;::::1;15661:21:1::0;15718:2;15698:18;;;15691:30;15757:34;15737:18;;;15730:62;-1:-1:-1;;;15808:18:1;;;15801:37;15855:19;;152451:78:0::1;15477:403:1::0;152451:78:0::1;152561:7;152544:13;;:24;;152536:74;;;::::0;-1:-1:-1;;;152536:74:0;;16087:2:1;152536:74:0::1;::::0;::::1;16069:21:1::0;16126:2;16106:18;;;16099:30;16165:34;16145:18;;;16138:62;-1:-1:-1;;;16216:18:1;;;16209:35;16261:19;;152536:74:0::1;15885:401:1::0;152536:74:0::1;152652:10;::::0;152642:21:::1;::::0;;;:9:::1;:21;::::0;;;;;;;152664:10:::1;152642:33:::0;;;;;;;;:43:::1;::::0;152678:7;;152642:43:::1;:::i;:::-;152625:13;;:60;;152617:100;;;::::0;-1:-1:-1;;;152617:100:0;;16493:2:1;152617:100:0::1;::::0;::::1;16475:21:1::0;16532:2;16512:18;;;16505:30;16571:29;16551:18;;;16544:57;16618:18;;152617:100:0::1;16291:351:1::0;152617:100:0::1;152759:7;152745:11;;:21;;;;:::i;:::-;152732:9;:34;152724:71;;;::::0;-1:-1:-1;;;152724:71:0;;16849:2:1;152724:71:0::1;::::0;::::1;16831:21:1::0;16888:2;16868:18;;;16861:30;-1:-1:-1;;;16907:18:1;;;16900:54;16971:18;;152724:71:0::1;16647:348:1::0;152724:71:0::1;152840:8;;152821:13;:11;:13::i;:::-;152811:23;::::0;:7;:23:::1;:::i;:::-;152810:39;;152802:64;;;;-1:-1:-1::0;;;152802:64:0::1;;;;;;;:::i;:::-;152883:10;::::0;152873:21:::1;::::0;;;:9:::1;:21;::::0;;;;;;;152895:10:::1;152873:33:::0;;;;;;;:44;;152910:7;;152873:21;:44:::1;::::0;152910:7;;152873:44:::1;:::i;:::-;::::0;;;-1:-1:-1;152924:30:0::1;::::0;-1:-1:-1;152934:10:0::1;152946:7:::0;152924:9:::1;:30::i;:::-;82086:20:::0;81480:1;82606:7;:22;82423:213;144635:111;124748:32;96316:10;124748:18;:32::i;:::-;144716:10:::1;:24:::0;144635:111::o;149188:98::-;124748:32;96316:10;124748:18;:32::i;:::-;149254:14:::1;:26:::0;;-1:-1:-1;;;;;;149254:26:0::1;-1:-1:-1::0;;;;;149254:26:0;;;::::1;::::0;;;::::1;::::0;;149188:98::o;151876:412::-;124748:32;96316:10;124748:18;:32::i;:::-;82042:21:::1;:19;:21::i;:::-;152020:15:::2;::::0;151975:21:::2;::::0;151953:19:::2;::::0;-1:-1:-1;;;;;152020:15:0::2;:29:::0;152017:220:::2;;152103:15;::::0;152095:55:::2;::::0;-1:-1:-1;;;;;152103:15:0;;::::2;::::0;152133:11;;152095:55:::2;::::0;;;152133:11;152103:15;152095:55:::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;152086:64;;;;;152017:220;;;117345:7:::0;117372:6;-1:-1:-1;;;;;117372:6:0;-1:-1:-1;;;;;152182:21:0::2;152212:11;152182:47;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1::0;152173:56:0;;-1:-1:-1;;152017:220:0::2;152251:2;152243:39;;;::::0;-1:-1:-1;;;152243:39:0;;17753:2:1;152243:39:0::2;::::0;::::2;17735:21:1::0;17792:2;17772:18;;;17765:30;17831:26;17811:18;;;17804:54;17875:18;;152243:39:0::2;17551:348:1::0;152243:39:0::2;151946:342;;82086:20:::1;81480:1:::0;82606:7;:22;82423:213;82086:20:::1;151876:412::o:0;158710:236::-;124748:32;96316:10;124748:18;:32::i;:::-;158809:1:::1;158798:8;:12;158790:69;;;::::0;-1:-1:-1;;;158790:69:0;;18106:2:1;158790:69:0::1;::::0;::::1;18088:21:1::0;18145:2;18125:18;;;18118:30;18184:34;18164:18;;;18157:62;-1:-1:-1;;;18235:18:1;;;18228:42;18287:19;;158790:69:0::1;17904:408:1::0;158790:69:0::1;158929:8;158900:27;158918:8;158900:17;:27::i;:::-;158884:14;::::0;158875:63:::1;::::0;-1:-1:-1;;;;;158875:63:0;;::::1;::::0;158884:14;;::::1;::::0;-1:-1:-1;;;;;;;;;;;158875:63:0;158884:14:::1;::::0;158875:63:::1;158710:236:::0;:::o;155016:171::-;155121:4;128824:42;129972:45;:49;;;;:77;;-1:-1:-1;130025:24:0;;;;129972:77;129968:567;;;130289:10;-1:-1:-1;;;;;130281:18:0;;;130277:85;;155138:41:::1;155161:4;155167:2;155171:7;155138:22;:41::i;130277:85::-:0;130381:69;;-1:-1:-1;;;130381:69:0;;130432:4;130381:69;;;13824:34:1;130439:10:0;13874:18:1;;;13867:43;128824:42:0;;130381;;13759:18:1;;130381:69:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;130376:148;;130478:30;;-1:-1:-1;;;130478:30:0;;130497:10;130478:30;;;3170:51:1;3143:18;;130478:30:0;3024:203:1;130376:148:0;155138:41:::1;155161:4;155167:2;155171:7;155138:22;:41::i;152980:201::-:0;153067:10;153047:16;153055:7;153047;:16::i;:::-;-1:-1:-1;;;;;153047:30:0;;153039:59;;;;-1:-1:-1;;;153039:59:0;;;;;;;:::i;:::-;153117:8;;;;;;;:17;153109:39;;;;-1:-1:-1;;;153109:39:0;;18864:2:1;153109:39:0;;;18846:21:1;18903:1;18883:18;;;18876:29;-1:-1:-1;;;18921:18:1;;;18914:39;18970:18;;153109:39:0;18662:332:1;153109:39:0;153159:14;153165:7;153159:5;:14::i;153208:98::-;124748:32;96316:10;124748:18;:32::i;:::-;153282:8:::1;:16:::0;;;::::1;;::::0;::::1;-1:-1:-1::0;;153282:16:0;;::::1;::::0;;;::::1;::::0;;153208:98::o;153349:481::-;153421:16;153446:23;153472:19;153482:8;153472:9;:19::i;:::-;153446:45;;153498:25;153540:15;-1:-1:-1;;;;;153526:30:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;153526:30:0;-1:-1:-1;153498:58:0;-1:-1:-1;153632:18:0;142458:1;153661:142;153716:1;153700:14;98258:13;;;98176:103;153700:14;:17;;;;:::i;:::-;153695:1;:23;153661:142;;;153749:18;;-1:-1:-1;;;153749:18:0;;;;;3378:25:1;;;153749:4:0;;:15;;3351:18:1;;153749::0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;153737:30:0;:8;-1:-1:-1;;;;;153737:30:0;;153734:61;;153794:1;153769:8;153778:12;;;;:::i;:::-;;;153769:22;;;;;;;;:::i;:::-;;;;;;:26;;;;;153734:61;153720:3;;;;:::i;:::-;;;;153661:142;;;-1:-1:-1;153816:8:0;;153349:481;-1:-1:-1;;;;153349:481:0:o;147077:103::-;124748:32;96316:10;124748:18;:32::i;:::-;147154:13:::1;:20;147170:4:::0;147154:13;:20:::1;:::i;156947:170::-:0;124748:32;96316:10;124748:18;:32::i;:::-;157054:21:::1;157068:6;;157054:21;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;157054:13:0::1;::::0;-1:-1:-1;;;157054:21:0:i:1;:::-;157040:7;157048:4;157040:13;;;;;;;;:::i;:::-;;::::0;;;::::1;::::0;;;::::1;:35:::0;;-1:-1:-1;;;;;;157040:35:0::1;-1:-1:-1::0;;;;;157040:35:0;;;::::1;::::0;;;::::1;::::0;;157093:7:::1;:14:::0;:16:::1;::::0;-1:-1:-1;;157093:16:0::1;:::i;:::-;157086:6;:23:::0;-1:-1:-1;;;156947:170:0:o;158954:393::-;159071:7;159123:18;;;:9;:18;;;;;;159071:7;;159123:23;:71;;;;-1:-1:-1;159151:43:0;:30;159186:7;159151:34;:43::i;:::-;159150:44;159123:71;159120:197;;;159218:26;159236:7;159218:17;:26::i;:::-;159210:34;;159120:197;;;159283:22;159297:7;159283:13;:22::i;:::-;159275:30;159334:5;-1:-1:-1;;;158954:393:0:o;143652:179::-;124748:32;96316:10;124748:18;:32::i;:::-;143756:10:::1;143739:13;:11;:13::i;:::-;:27;;143731:65;;;::::0;-1:-1:-1;;;143731:65:0;;21801:2:1;143731:65:0::1;::::0;::::1;21783:21:1::0;21840:2;21820:18;;;21813:30;-1:-1:-1;;;21859:18:1;;;21852:55;21924:18;;143731:65:0::1;21599:349:1::0;143731:65:0::1;143803:9;:22:::0;143652:179::o;146588:156::-;124748:32;96316:10;124748:18;:32::i;:::-;123978:23;;;;:13;:23;;;;;;:37;142525:157::o;148614:225::-;148684:17;148692:8;148684:7;:17::i;:::-;148676:61;;;;-1:-1:-1;;;148676:61:0;;;;;;;:::i;:::-;148773:10;148752:17;148760:8;148752:7;:17::i;:::-;-1:-1:-1;;;;;148752:31:0;;148744:60;;;;-1:-1:-1;;;148744:60:0;;;;;;;:::i;:::-;148832:1;148811:18;;;:8;:18;;;;;:22;148614:225::o;98991:490::-;99113:4;-1:-1:-1;;;;;99144:19:0;;99136:77;;;;-1:-1:-1;;;99136:77:0;;22515:2:1;99136:77:0;;;22497:21:1;22554:2;22534:18;;;22527:30;22593:34;22573:18;;;22566:62;-1:-1:-1;;;22644:18:1;;;22637:43;22697:19;;99136:77:0;22313:409:1;99136:77:0;99226:10;142458:1;99247:204;98258:13;;99278:1;:18;99247:204;;;99321:10;99329:1;99321:7;:10::i;:::-;99318:122;;;99364:10;99372:1;99364:7;:10::i;:::-;-1:-1:-1;;;;;99355:19:0;:5;-1:-1:-1;;;;;99355:19:0;;99351:74;;99398:7;;;:::i;:::-;;;99351:74;99298:3;;;:::i;:::-;;;99247:204;;;-1:-1:-1;99468:5:0;98991:490;-1:-1:-1;;98991:490:0:o;117947:103::-;117185:13;:11;:13::i;:::-;118012:30:::1;118039:1;118012:18;:30::i;155844:181::-:0;124748:32;96316:10;124748:18;:32::i;:::-;155976:41:::1;156006:10;155976:29;:41::i;147563:255::-:0;147634:7;147658:17;147666:8;147658:7;:17::i;:::-;147650:61;;;;-1:-1:-1;;;147650:61:0;;;;;;;:::i;:::-;147721:19;;;;:9;:19;;;;;;:24;;147718:62;;-1:-1:-1;;147764:8:0;;;147563:255::o;147718:62::-;-1:-1:-1;147793:19:0;;;;:9;:19;;;;;;;147563:255::o;148862:92::-;117185:13;:11;:13::i;:::-;148932:9:::1;:16:::0;148862:92::o;146317:110::-;124748:32;96316:10;124748:18;:32::i;:::-;146398:15:::1;:23:::0;;-1:-1:-1;;146398:23:0::1;::::0;::::1;;::::0;;;::::1;::::0;;146317:110::o;150852:789::-;82042:21;:19;:21::i;:::-;150970:15:::1;::::0;::::1;;150962:51;;;::::0;-1:-1:-1;;;150962:51:0;;22929:2:1;150962:51:0::1;::::0;::::1;22911:21:1::0;22968:2;22948:18;;;22941:30;23007:25;22987:18;;;22980:53;23050:18;;150962:51:0::1;22727:347:1::0;150962:51:0::1;151028:41;151042:10;151053:7;;151062:6;151028:13;:41::i;:::-;151020:78;;;::::0;-1:-1:-1;;;151020:78:0;;23281:2:1;151020:78:0::1;::::0;::::1;23263:21:1::0;23320:2;23300:18;;;23293:30;23359:26;23339:18;;;23332:54;23403:18;;151020:78:0::1;23079:348:1::0;151020:78:0::1;151132:7;151113:15;;:26;;151105:81;;;::::0;-1:-1:-1;;;151105:81:0;;23634:2:1;151105:81:0::1;::::0;::::1;23616:21:1::0;23673:2;23653:18;;;23646:30;23712:34;23692:18;;;23685:62;-1:-1:-1;;;23763:18:1;;;23756:40;23813:19;;151105:81:0::1;23432:406:1::0;151105:81:0::1;151215:7;::::0;151201:22:::1;::::0;;;:13:::1;:22;::::0;;;;;:33;-1:-1:-1;151201:33:0::1;151193:86;;;::::0;-1:-1:-1;;;151193:86:0;;24045:2:1;151193:86:0::1;::::0;::::1;24027:21:1::0;24084:2;24064:18;;;24057:30;24123:34;24103:18;;;24096:62;-1:-1:-1;;;24174:18:1;;;24167:38;24222:19;;151193:86:0::1;23843:404:1::0;151193:86:0::1;151330:10;::::0;151320:21:::1;::::0;;;:9:::1;:21;::::0;;;;;;;151342:10:::1;151320:33:::0;;;;;;;;:43:::1;::::0;151356:7;;151320:43:::1;:::i;:::-;151308:7;::::0;151294:22:::1;::::0;;;:13:::1;:22;::::0;;;;;:69:::1;;151286:112;;;::::0;-1:-1:-1;;;151286:112:0;;24454:2:1;151286:112:0::1;::::0;::::1;24436:21:1::0;24493:2;24473:18;;;24466:30;24532:32;24512:18;;;24505:60;24582:18;;151286:112:0::1;24252:354:1::0;151286:112:0::1;151440:7;151426:11;;:21;;;;:::i;:::-;151413:9;:34;151405:71;;;::::0;-1:-1:-1;;;151405:71:0;;16849:2:1;151405:71:0::1;::::0;::::1;16831:21:1::0;16888:2;16868:18;;;16861:30;-1:-1:-1;;;16907:18:1;;;16900:54;16971:18;;151405:71:0::1;16647:348:1::0;151405:71:0::1;151521:8;;151502:13;:11;:13::i;:::-;151492:23;::::0;:7;:23:::1;:::i;:::-;151491:39;;151483:64;;;;-1:-1:-1::0;;;151483:64:0::1;;;;;;;:::i;:::-;151564:10;::::0;151554:21:::1;::::0;;;:9:::1;:21;::::0;;;;;;;151576:10:::1;151554:33:::0;;;;;;;:44;;151591:7;;151554:21;:44:::1;::::0;151591:7;;151554:44:::1;:::i;:::-;::::0;;;-1:-1:-1;151605:30:0::1;::::0;-1:-1:-1;151615:10:0::1;151627:7:::0;151605:9:::1;:30::i;:::-;82086:20:::0;81480:1;82606:7;:22;82423:213;137095:176;137208:7;133803:16;133811:7;133803;:16::i;:::-;-1:-1:-1;;;;;133789:30:0;:10;-1:-1:-1;;;;;133789:30:0;;133767:122;;;;-1:-1:-1;;;133767:122:0;;24813:2:1;133767:122:0;;;24795:21:1;24852:2;24832:18;;;24825:30;24891:34;24871:18;;;24864:62;-1:-1:-1;;;24942:18:1;;;24935:40;24992:19;;133767:122:0;24611:406:1;133767:122:0;-1:-1:-1;137233:22:0::1;::::0;;;:13:::1;:22;::::0;;;;;:30;137095:176::o;146170:100::-;124748:32;96316:10;124748:18;:32::i;:::-;146244:13:::1;:20:::0;146170:100::o;153893:243::-;153982:21;;-1:-1:-1;;;153982:21:0;;;;;3378:25:1;;;153962:7:0;;153982:4;;:12;;3351:18:1;;153982:21:0;;;;;;;;;;;;;;;;;;-1:-1:-1;153982:21:0;;;;;;;;-1:-1:-1;;153982:21:0;;;;;;;;;;;;:::i;:::-;;;153978:153;;-1:-1:-1;154098:1:0;;153893:243;-1:-1:-1;153893:243:0:o;111684:601::-;111753:16;111807:19;111841:22;111866:16;111876:5;111866:9;:16::i;:::-;111841:41;;111897:25;111939:14;-1:-1:-1;;;;;111925:29:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;111925:29:0;-1:-1:-1;111897:57:0;-1:-1:-1;142458:1:0;111969:265;112018:14;112003:11;:29;111969:265;;112062:10;112070:1;112062:7;:10::i;:::-;112058:161;;;112115:5;-1:-1:-1;;;;;112101:19:0;:10;112109:1;112101:7;:10::i;:::-;-1:-1:-1;;;;;112101:19:0;;112097:103;;112175:1;112149:8;112158:13;;;;;;112149:23;;;;;;;;:::i;:::-;;;;;;:27;;;;;112097:103;112034:3;;111969:265;;;-1:-1:-1;112255:8:0;111684:601;-1:-1:-1;;;;111684:601:0:o;148214:369::-;148282:17;148290:8;148282:7;:17::i;:::-;148274:61;;;;-1:-1:-1;;;148274:61:0;;;;;;;:::i;:::-;148371:10;148350:17;148358:8;148350:7;:17::i;:::-;-1:-1:-1;;;;;148350:31:0;;148342:60;;;;-1:-1:-1;;;148342:60:0;;;;;;;:::i;:::-;148412:21;148424:8;145397;;-1:-1:-1;145385:20:0;;145296:115;148412:21;148409:169;;;148448:10;;;;;;;148445:126;;;148474:15;148492:23;148506:8;148492:13;:23::i;:::-;148530:18;;;;:8;:18;;;;;:29;-1:-1:-1;148214:369:0;:::o;144782:103::-;124748:32;96316:10;124748:18;:32::i;:::-;144857:11:::1;:22:::0;144782:103::o;143835:174::-;124748:32;96316:10;124748:18;:32::i;:::-;143937:9:::1;143920:13;:11;:13::i;:::-;:26;;143912:64;;;::::0;-1:-1:-1;;;143912:64:0;;21801:2:1;143912:64:0::1;::::0;::::1;21783:21:1::0;21840:2;21820:18;;;21813:30;-1:-1:-1;;;21859:18:1;;;21852:55;21924:18;;143912:64:0::1;21599:349:1::0;143912:64:0::1;143983:8;:20:::0;143835:174::o;100315:104::-;100371:13;100404:7;100397:14;;;;;:::i;147457:100::-;117185:13;:11;:13::i;:::-;147531:8:::1;:20:::0;147457:100::o;154496:176::-;154600:8;128824:42;130746:45;:49;;;;:77;;-1:-1:-1;130799:24:0;;;;130746:77;130742:253;;;130845:67;;-1:-1:-1;;;130845:67:0;;130896:4;130845:67;;;13824:34:1;-1:-1:-1;;;;;13894:15:1;;13874:18;;;13867:43;128824:42:0;;130845;;13759:18:1;;130845:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;130840:144;;130940:28;;-1:-1:-1;;;130940:28:0;;-1:-1:-1;;;;;3188:32:1;;130940:28:0;;;3170:51:1;3143:18;;130940:28:0;3024:203:1;130840:144:0;154621:43:::1;154645:8;154655;154621:23;:43::i;146450:111::-:0;124748:32;96316:10;124748:18;:32::i;:::-;146528:19:::1;:27:::0;;;::::1;;;;-1:-1:-1::0;;146528:27:0;;::::1;::::0;;;::::1;::::0;;146450:111::o;156667:117::-;117185:13;:11;:13::i;:::-;156745:31:::1;156765:10;156745:19;:31::i;154366:122::-:0;124748:32;96316:10;124748:18;:32::i;:::-;154448:24:::1;:32:::0;;-1:-1:-1;;154448:32:0::1;::::0;::::1;;::::0;;;::::1;::::0;;154366:122::o;155195:228::-;155346:4;128824:42;129972:45;:49;;;;:77;;-1:-1:-1;130025:24:0;;;;129972:77;129968:567;;;130289:10;-1:-1:-1;;;;;130281:18:0;;;130277:85;;155368:47:::1;155391:4;155397:2;155401:7;155410:4;155368:22;:47::i;:::-;130340:7:::0;;130277:85;130381:69;;-1:-1:-1;;;130381:69:0;;130432:4;130381:69;;;13824:34:1;130439:10:0;13874:18:1;;;13867:43;128824:42:0;;130381;;13759:18:1;;130381:69:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;130376:148;;130478:30;;-1:-1:-1;;;130478:30:0;;130497:10;130478:30;;;3170:51:1;3143:18;;130478:30:0;3024:203:1;130376:148:0;155368:47:::1;155391:4;155397:2;155401:7;155410:4;155368:22;:47::i;:::-;155195:228:::0;;;;;:::o;146023:127::-;124748:32;96316:10;124748:18;:32::i;:::-;146114:23:::1;::::0;;;:13:::1;:23;::::0;;;;;:30;146023:127::o;146783:101::-;124748:32;96316:10;124748:18;:32::i;:::-;146862:9:::1;:16;146874:4:::0;146862:9;:16:::1;:::i;144903:103::-:0;124748:32;96316:10;124748:18;:32::i;:::-;144978:11:::1;:22:::0;144903:103::o;145159:107::-;124748:32;96316:10;124748:18;:32::i;:::-;145237:8:::1;:23:::0;145159:107::o;149779:786::-;149853:13;149883:17;149891:8;149883:7;:17::i;:::-;149875:61;;;;-1:-1:-1;;;149875:61:0;;;;;;;:::i;:::-;149946:21;149958:8;145397;;-1:-1:-1;145385:20:0;;145296:115;149946:21;149943:594;;;150003:1;149982:18;;;:8;:18;;;;;;:22;149979:201;;;150051:17;:15;:17::i;:::-;150095:18;;;;:8;:18;;;;;;150070:45;;:16;:45::i;:::-;150122:28;150140:8;150122:16;:28::i;:::-;150152:14;150034:133;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;150020:148;;149779:786;;;:::o;149979:201::-;150193:10;;;;;;;150190:235;;;150219:15;150237:23;150251:8;150237:13;:23::i;:::-;150219:41;;150306:17;:15;:17::i;:::-;150325:35;150350:8;150325:16;:35::i;:::-;150367:28;150385:8;150367:16;:28::i;:::-;150397:14;150289:123;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;150275:138;;;149779:786;;;:::o;150190:235::-;150466:17;:15;:17::i;:::-;150485:26;150502:8;150485:16;:26::i;:::-;150513:14;150449:79;;;;;;;;;;:::i;149943:594::-;150550:9;150543:16;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;149779:786;;;:::o;124158:434::-;124305:26;;-1:-1:-1;;27411:2:1;27407:15;;;27403:53;124305:26:0;;;27391:66:1;124262:4:0;;;;27473:12:1;;124305:26:0;;;;;;;;;;;;124295:37;;;;;;124279:53;;124348:9;124343:192;124367:6;:13;124363:1;:17;124343:192;;;124418:6;124425:1;124418:9;;;;;;;;:::i;:::-;;;;;;;124410:5;:17;:113;;124505:6;124512:1;124505:9;;;;;;;;:::i;:::-;;;;;;;124516:5;124488:34;;;;;;;;27653:19:1;;;27697:2;27688:12;;27681:28;27734:2;27725:12;;27496:247;124488:34:0;;;;;;;;;;;;;124478:45;;;;;;124410:113;;;124457:5;124464:6;124471:1;124464:9;;;;;;;;:::i;:::-;;;;;;;124440:34;;;;;;;;27653:19:1;;;27697:2;27688:12;;27681:28;27734:2;27725:12;;27496:247;124440:34:0;;;;;;;;;;;;;124430:45;;;;;;124410:113;124402:121;-1:-1:-1;124382:3:0;;;;:::i;:::-;;;;124343:192;;;-1:-1:-1;124561:23:0;;;;:13;:23;;;;;;124552:32;;-1:-1:-1;124158:434:0;;;;;:::o;145024:103::-;124748:32;96316:10;124748:18;:32::i;:::-;145099:11:::1;:22:::0;145024:103::o;156790:151::-;124748:32;96316:10;124748:18;:32::i;:::-;156864:7:::1;156877:21;156891:6;;156877:21;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;156877:13:0::1;::::0;-1:-1:-1;;;156877:21:0:i:1;:::-;156864:35:::0;;::::1;::::0;;::::1;::::0;;-1:-1:-1;156864:35:0;;;::::1;::::0;;;::::1;::::0;;-1:-1:-1;;;;;;156864:35:0::1;-1:-1:-1::0;;;;;156864:35:0;;;::::1;::::0;;;::::1;::::0;;156917:7:::1;:14:::0;:16:::1;::::0;156864:35;156917:16:::1;:::i;:::-;156910:6;:23:::0;-1:-1:-1;;156790:151:0:o;147186:131::-;124748:32;96316:10;124748:18;:32::i;:::-;147277:14:::1;:34;147294:17:::0;147277:14;:34:::1;:::i;144405:111::-:0;124748:32;96316:10;124748:18;:32::i;:::-;144486:10:::1;:24:::0;144405:111::o;142911:113::-;142965:13;142998:20;:18;:20::i;137606:309::-;137748:4;137774:27;137785:5;137792:8;137774:10;:27::i;:::-;:36;;137805:5;137774:36;137770:81;;-1:-1:-1;137834:5:0;137827:12;;137770:81;-1:-1:-1;;;;;102656:25:0;;;102627:4;102656:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;137868:39;102485:214;157794:847;124748:32;96316:10;124748:18;:32::i;:::-;157873:19:::1;157895:14;98258:13:::0;;;98176:103;157895:14:::1;157873:36;;157949:1;157938:8;:12;157930:69;;;::::0;-1:-1:-1;;;157930:69:0;;27950:2:1;157930:69:0::1;::::0;::::1;27932:21:1::0;27989:2;27969:18;;;27962:30;28028:34;28008:18;;;28001:62;-1:-1:-1;;;28079:18:1;;;28072:42;28131:19;;157930:69:0::1;27748:408:1::0;157930:69:0::1;158111:8;158084:23;;:35;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;158169:37:0::1;::::0;-1:-1:-1;158169:20:0::1;158194:11:::0;158169:24:::1;:37::i;:::-;158334:11:::0;158314:319:::1;158357:22;158371:8:::0;158357:11;:22:::1;:::i;:::-;158347:7;:32;158314:319;;;158597:14;::::0;158576:45:::1;::::0;158613:7;;-1:-1:-1;;;;;158597:14:0::1;::::0;::::1;::::0;-1:-1:-1;;;;;;;;;;;158576:45:0;158597:14;;158576:45:::1;158381:9:::0;::::1;::::0;::::1;:::i;:::-;;;;158314:319;;118205:201:::0;117185:13;:11;:13::i;:::-;-1:-1:-1;;;;;118294:22:0;::::1;118286:73;;;::::0;-1:-1:-1;;;118286:73:0;;28363:2:1;118286:73:0::1;::::0;::::1;28345:21:1::0;28402:2;28382:18;;;28375:30;28441:34;28421:18;;;28414:62;-1:-1:-1;;;28492:18:1;;;28485:36;28538:19;;118286:73:0::1;28161:402:1::0;118286:73:0::1;118370:28;118389:8;118370:18;:28::i;144147:99::-:0;124748:32;96316:10;124748:18;:32::i;:::-;144222:7:::1;:18:::0;144147:99::o;150628:202::-;124748:32;96316:10;124748:18;:32::i;:::-;150762:9:::1;;150743:13;:11;:13::i;:::-;150733:23;::::0;:7;:23:::1;:::i;:::-;150732:40;;150724:65;;;;-1:-1:-1::0;;;150724:65:0::1;;;;;;;:::i;:::-;150796:28;150806:8;150816:7;150796:9;:28::i;148977:90::-:0;117185:13;:11;:13::i;:::-;149046:8:::1;:15:::0;148977:90::o;155661:175::-;124748:32;96316:10;124748:18;:32::i;:::-;155790:38:::1;155817:10;155790:26;:38::i;64836:447::-:0;64911:13;64937:19;64969:10;64973:6;64969:1;:10;:::i;:::-;:14;;64982:1;64969:14;:::i;:::-;-1:-1:-1;;;;;64959:25:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;64959:25:0;;64937:47;;-1:-1:-1;;;64995:6:0;65002:1;64995:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;64995:15:0;;;;;;;;;-1:-1:-1;;;65021:6:0;65028:1;65021:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;65021:15:0;;;;;;;;-1:-1:-1;65052:9:0;65064:10;65068:6;65064:1;:10;:::i;:::-;:14;;65077:1;65064:14;:::i;:::-;65052:26;;65047:131;65084:1;65080;:5;65047:131;;;-1:-1:-1;;;65128:5:0;65136:3;65128:11;65119:21;;;;;;;:::i;:::-;;;;65107:6;65114:1;65107:9;;;;;;;;:::i;:::-;;;;:33;-1:-1:-1;;;;;65107:33:0;;;;;;;;-1:-1:-1;65165:1:0;65155:11;;;;;65087:3;;;:::i;:::-;;;65047:131;;;-1:-1:-1;65196:10:0;;65188:55;;;;-1:-1:-1;;;65188:55:0;;28911:2:1;65188:55:0;;;28893:21:1;;;28930:18;;;28923:30;28989:34;28969:18;;;28962:62;29041:18;;65188:55:0;28709:356:1;33390:152:0;33460:4;33484:50;33489:3;-1:-1:-1;;;;;33509:23:0;;33484:4;:50::i;134935:183::-;135039:16;135080:30;:21;:28;:30::i;92790:215::-;92892:4;-1:-1:-1;;;;;;92916:41:0;;-1:-1:-1;;;92916:41:0;;:81;;;92961:36;92985:11;92961:23;:36::i;125505:370::-;-1:-1:-1;;;;;125599:21:0;;;;;;:10;:21;;;;;;;;125732:46;96316:10;125760:12;-1:-1:-1;;;;;125732:46:0;125775:2;125732:19;:46::i;:::-;125660:181;;;;;;;;:::i;:::-;;;;;;;;;;;;;125577:290;;;;;-1:-1:-1;;;125577:290:0;;;;;;;;:::i;94152:332::-;93868:5;-1:-1:-1;;;;;94255:33:0;;;;94247:88;;;;-1:-1:-1;;;94247:88:0;;29888:2:1;94247:88:0;;;29870:21:1;29927:2;29907:18;;;29900:30;29966:34;29946:18;;;29939:62;-1:-1:-1;;;30017:18:1;;;30010:40;30067:19;;94247:88:0;29686:406:1;94247:88:0;-1:-1:-1;;;;;94354:22:0;;94346:60;;;;-1:-1:-1;;;94346:60:0;;30299:2:1;94346:60:0;;;30281:21:1;30338:2;30318:18;;;30311:30;30377:27;30357:18;;;30350:55;30422:18;;94346:60:0;30097:349:1;94346:60:0;94441:35;;;;;;;;;-1:-1:-1;;;;;94441:35:0;;;;;;-1:-1:-1;;;;;94441:35:0;;;;;;;;;;-1:-1:-1;;;94419:57:0;;;;:19;:57;94152:332::o;114993:207::-;115067:4;115086:25;:12;115103:7;115086:16;:25::i;:::-;115083:69;;;-1:-1:-1;115135:5:0;;114993:207;-1:-1:-1;114993:207:0:o;115083:69::-;115170:22;115184:7;115170:13;:22::i;138505:185::-;138618:27;138633:2;138637:7;138618:14;:27::i;:::-;138656:26;138670:2;138674:7;138656:13;:26::i;117464:132::-;117345:7;117372:6;-1:-1:-1;;;;;117372:6:0;96316:10;117528:23;117520:68;;;;-1:-1:-1;;;117520:68:0;;30653:2:1;117520:68:0;;;30635:21:1;;;30672:18;;;30665:30;30731:34;30711:18;;;30704:62;30783:18;;117520:68:0;30451:356:1;5123:166:0;5208:12;5236:47;5252:8;5262:10;:6;5271:1;5262:10;:::i;:::-;5274:8;:4;5281:1;5274:8;:::i;:::-;5236:15;:47::i;:::-;5229:54;5123:166;-1:-1:-1;;;;5123:166:0:o;115469:346::-;98258:13;;115511:14;;;;;;115611:25;;115578:1;115612:19;115635:1;115611:25;:::i;:::-;115590:46;-1:-1:-1;115663:11:0;115649:159;115680:10;115676:1;:14;115649:159;;;115712:14;79662:20;;;115729:12;79662:20;;;;;;115779:17;79662:20;115779:9;:17::i;:::-;115769:27;;;;:::i;:::-;;;115697:111;115692:3;;;;;:::i;:::-;;;;115649:159;;;;115526:289;;115469:346;:::o;98377:121::-;98432:7;142458:1;98459:13;;:31;;;;:::i;102766:379::-;102975:41;96316:10;103008:7;102975:18;:41::i;:::-;102953:143;;;;-1:-1:-1;;;102953:143:0;;;;;;;:::i;:::-;103109:28;103119:4;103125:2;103129:7;103109:9;:28::i;124925:421::-;-1:-1:-1;;;;;125016:22:0;;;;;;:10;:22;;;;;;;;125015:23;125150:46;96316:10;125178:12;96236:98;125150:46;125078:194;;;;;;;;:::i;:::-;;;;;;;;;;;;;124993:305;;;;;-1:-1:-1;;;124993:305:0;;;;;;;;:::i;:::-;-1:-1:-1;;;;;;125309:22:0;;;;;:10;:22;;;;;:29;;-1:-1:-1;;125309:29:0;125334:4;125309:29;;;124925:421::o;82122:293::-;81524:1;82256:7;;:19;82248:63;;;;-1:-1:-1;;;82248:63:0;;32064:2:1;82248:63:0;;;32046:21:1;32103:2;32083:18;;;32076:30;32142:33;32122:18;;;32115:61;32193:18;;82248:63:0;31862:355:1;82248:63:0;81524:1;82389:7;:18;82122:293::o;106463:112::-;106540:27;106550:2;106554:8;106540:27;;;;;;;;;;;;:9;:27::i;157435:288::-;157504:7;;157549:4;157537:10;157546:1;157537:8;:10;:::i;:::-;157536:17;;;;:::i;:::-;157522:31;-1:-1:-1;157562:13:0;157591:8;157522:31;157595:4;157591:8;:::i;:::-;157579:10;157588:1;157579:8;:10;:::i;:::-;:21;;;;:::i;:::-;157578:26;;157602:2;157578:26;:::i;:::-;157562:42;;157662:52;157672:41;157685:7;157693:3;157685:12;;;;;;;;:::i;:::-;;;;;;;;;;;-1:-1:-1;;;;;157685:12:0;157698:5;157704:8;157698:5;157710:2;157704:8;:::i;:::-;157672:12;:41::i;:::-;157406:2;157398:11;157392:18;;157280:149;103216:185;103354:39;103371:4;103377:2;103381:7;103354:39;;;;;;;;;;;;:16;:39::i;114359:321::-;114419:12;114434:16;114442:7;114434;:16::i;:::-;114419:31;;114461:51;114483:4;114497:1;114501:7;114510:1;114461:21;:51::i;:::-;114523:25;:12;114540:7;114523:16;:25::i;:::-;114574:35;;114601:7;;114597:1;;-1:-1:-1;;;;;114574:35:0;;;-1:-1:-1;;;;;;;;;;;114574:35:0;114597:1;;114574:35;114622:50;114643:4;114657:1;114661:7;114670:1;114622:20;:50::i;3425:475::-;3478:15;3581:17;3601:99;3679:5;3634:59;;;;;;;;:::i;:::-;;;;;;;;;;;;;3601:24;:99::i;:::-;3581:119;;3799:4;3793:11;3788:2;3782:4;3778:13;3775:1;3768:37;3757:48;-1:-1:-1;;;;;;3852:21:0;;3848:46;;3882:12;;-1:-1:-1;;;3882:12:0;;;;;;;;;;;3848:46;3495:405;3425:475;;;:::o;72920:235::-;73037:1;73028:10;;;72994:4;73115:20;;;;;;;;;;;-1:-1:-1;;;73092:4:0;73084:12;;73064:33;73115:27;:32;;72920:235;;;;:::o;99543:222::-;99660:7;99686:13;99705:29;99726:7;99705:20;:29::i;:::-;-1:-1:-1;99685:49:0;99543:222;-1:-1:-1;;;99543:222:0:o;118566:191::-;118640:16;118659:6;;-1:-1:-1;;;;;118676:17:0;;;-1:-1:-1;;;;;;118676:17:0;;;;;;118709:40;;118659:6;;;;;;;118709:40;;118640:16;118709:40;118629:128;118566:191;:::o;134714:213::-;134824:40;:21;134853:10;134824:28;:40::i;:::-;-1:-1:-1;134880:39:0;;-1:-1:-1;;;;;134880:39:0;;;134896:10;;134880:39;;;;;134714:213;:::o;147824:361::-;147897:6;147920:17;147928:8;147920:7;:17::i;:::-;147912:61;;;;-1:-1:-1;;;147912:61:0;;;;;;;:::i;:::-;148061:8;;147980:15;148030:19;;;:9;:19;;;;;;147980:15;;148061:8;147999:51;;148006:15;147999:51;:::i;:::-;147998:72;;;;:::i;:::-;147980:90;;148100:9;;148081:8;:29;148077:81;;-1:-1:-1;148140:9:0;;148171:8;147824:361;-1:-1:-1;;147824:361:0:o;137923:325::-;138072:20;138083:8;138072:10;:20::i;:::-;:41;;;-1:-1:-1;138096:17:0;;138072:41;138050:136;;;;-1:-1:-1;;;138050:136:0;;33259:2:1;138050:136:0;;;33241:21:1;33298:2;33278:18;;;33271:30;33337:34;33317:18;;;33310:62;-1:-1:-1;;;33388:18:1;;;33381:43;33441:19;;138050:136:0;33057:409:1;138050:136:0;138197:43;138221:8;138231;138197:23;:43::i;125352:147::-;125421:30;125440:10;125421:18;:30::i;:::-;-1:-1:-1;;;;;125469:22:0;;;;;:10;:22;;;;;125462:29;;-1:-1:-1;;125462:29:0;;;125352:147::o;103472:368::-;103661:41;96316:10;103694:7;103661:18;:41::i;:::-;103639:143;;;;-1:-1:-1;;;103639:143:0;;;;;;;:::i;:::-;103793:39;103807:4;103813:2;103817:7;103826:5;103793:13;:39::i;147356:97::-;147406:13;147434;147427:20;;;;;:::i;63704:716::-;63760:13;63811:14;63828:17;63839:5;63828:10;:17::i;:::-;63848:1;63828:21;63811:38;;63864:20;63898:6;-1:-1:-1;;;;;63887:18:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;63887:18:0;-1:-1:-1;63864:41:0;-1:-1:-1;64029:28:0;;;64045:2;64029:28;64086:288;-1:-1:-1;;64118:5:0;-1:-1:-1;;;64255:2:0;64244:14;;64239:30;64118:5;64226:44;64316:2;64307:11;;;-1:-1:-1;64337:21:0;64086:288;64337:21;-1:-1:-1;64395:6:0;63704:716;-1:-1:-1;;;63704:716:0:o;143050:567::-;143103:13;143126:16;;143171:32;143126:16;93868:5;143171:11;:32::i;:::-;143125:78;;;;143312:283;143424:33;143441:15;143424:16;:33::i;:::-;143499:51;143535:8;-1:-1:-1;;;;;143519:26:0;143547:2;143499:19;:51::i;:::-;143358:213;;;;;;;;;:::i;:::-;;;;;;;;;;;;;143312:13;:283::i;:::-;143243:361;;;;;;;;:::i;:::-;;;;;;;;;;;;;143221:390;;;;143050:567;:::o;135769:236::-;135892:4;135914:13;135930:20;135943:6;135930:12;:20::i;:::-;135914:36;;135968:29;135979:10;135991:5;135968:10;:29::i;73541:204::-;73638:1;73629:10;;;73612:14;73709:20;;;;;;;;;;;;:28;;-1:-1:-1;;;73693:4:0;73685:12;;;73665:33;;;;73709:28;;;;;73541:204::o;134501:205::-;134608:37;:21;134634:10;134608:25;:37::i;:::-;-1:-1:-1;134661:37:0;;-1:-1:-1;;;;;134661:37:0;;;134675:10;;134661:37;;;;;134501:205;:::o;27121:414::-;27184:4;29314:19;;;:12;;;:19;;;;;;27201:327;;-1:-1:-1;27244:23:0;;;;;;;;:11;:23;;;;;;;;;;;;;27427:18;;27405:19;;;:12;;;:19;;;;;;:40;;;;27460:11;;27201:327;-1:-1:-1;27511:5:0;27504:12;;35394:310;35457:16;35486:22;35511:19;35519:3;35511:7;:19::i;139149:288::-;139279:4;-1:-1:-1;;;;;;139321:55:0;;-1:-1:-1;;;139321:55:0;;:108;;;139393:36;139417:11;139393:23;:36::i;105334:151::-;105399:4;105433:14;98258:13;;;98176:103;105433:14;105423:7;:24;:54;;;;-1:-1:-1;;142458:1:0;105451:26;;;105334:151::o;138256:241::-;-1:-1:-1;;;;;138364:16:0;;;138360:130;;138405:23;138416:7;138425:2;138405:10;:23::i;:::-;138397:81;;;;-1:-1:-1;;;138397:81:0;;35194:2:1;138397:81:0;;;35176:21:1;35233:2;35213:18;;;35206:30;35272:34;35252:18;;;35245:62;-1:-1:-1;;;35323:18:1;;;35316:43;35376:19;;138397:81:0;34992:409:1;101225:410:0;101306:13;101322:16;101330:7;101322;:16::i;:::-;101306:32;;101363:5;-1:-1:-1;;;;;101357:11:0;:2;-1:-1:-1;;;;;101357:11:0;;101349:60;;;;-1:-1:-1;;;101349:60:0;;35608:2:1;101349:60:0;;;35590:21:1;35647:2;35627:18;;;35620:30;35686:34;35666:18;;;35659:62;-1:-1:-1;;;35737:18:1;;;35730:34;35781:19;;101349:60:0;35406:400:1;101349:60:0;96316:10;-1:-1:-1;;;;;101444:21:0;;;;:62;;-1:-1:-1;101469:37:0;101486:5;96316:10;137606:309;:::i;101469:37::-;101422:171;;;;-1:-1:-1;;;101422:171:0;;36013:2:1;101422:171:0;;;35995:21:1;36052:2;36032:18;;;36025:30;36091:34;36071:18;;;36064:62;36162:29;36142:18;;;36135:57;36209:19;;101422:171:0;35811:423:1;101422:171:0;101606:21;101615:2;101619:7;101606:8;:21::i;1915:971::-;1999:18;1465;;2026:13;2068:10;;;2064:32;;-1:-1:-1;;2087:9:0;;;;;;;;;-1:-1:-1;2087:9:0;;2080:16;;2064:32;2118:5;2109:6;:14;2105:36;;;-1:-1:-1;;2132:9:0;;;;;;;;;-1:-1:-1;2132:9:0;;2125:16;;2105:36;2159:6;2152:4;:13;2148:65;;;2174:39;;-1:-1:-1;;;2174:39:0;;;;;36441:25:1;;;36482:18;;;36475:34;;;36525:18;;;36518:34;;;36414:18;;2174:39:0;36239:319:1;2148:65:0;2260:13;;;2300:14;;;2242:15;2340:17;;;:37;;2370:7;2340:37;;;2360:7;2340:37;2551:4;2545:11;;2641:26;;;-1:-1:-1;;2637:42:0;2626:54;;2613:68;;;2726:19;;;2545:11;-1:-1:-1;2325:52:0;-1:-1:-1;2325:52:0;2852:6;2655:4;2834:16;;2827:5;2815:50;2397:477;;;2019:867;1915:971;;;;;:::o;115882:177::-;115934:13;115984:56;115998:4;;115984:56;;-1:-1:-1;;116035:5:0;;116030:10;;;;116039:1;116004:7;115984:56;;105652:448;105781:4;105825:16;105833:7;105825;:16::i;:::-;105803:113;;;;-1:-1:-1;;;105803:113:0;;36765:2:1;105803:113:0;;;36747:21:1;36804:2;36784:18;;;36777:30;36843:34;36823:18;;;36816:62;-1:-1:-1;;;36894:18:1;;;36887:45;36949:19;;105803:113:0;36563:411:1;105803:113:0;105927:13;105943:16;105951:7;105943;:16::i;:::-;105927:32;;105989:5;-1:-1:-1;;;;;105978:16:0;:7;-1:-1:-1;;;;;105978:16:0;;:64;;;;106035:7;-1:-1:-1;;;;;106011:31:0;:20;106023:7;106011:11;:20::i;:::-;-1:-1:-1;;;;;106011:31:0;;105978:64;:113;;;;106059:32;106076:5;106083:7;106059:16;:32::i;108075:1057::-;108200:13;108215:24;108243:29;108264:7;108243:20;:29::i;:::-;108199:73;;;;108316:4;-1:-1:-1;;;;;108307:13:0;:5;-1:-1:-1;;;;;108307:13:0;;108285:107;;;;-1:-1:-1;;;108285:107:0;;37181:2:1;108285:107:0;;;37163:21:1;37220:2;37200:18;;;37193:30;37259:34;37239:18;;;37232:62;-1:-1:-1;;;37310:18:1;;;37303:42;37362:19;;108285:107:0;36979:408:1;108285:107:0;-1:-1:-1;;;;;108411:16:0;;108403:68;;;;-1:-1:-1;;;108403:68:0;;37594:2:1;108403:68:0;;;37576:21:1;37633:2;37613:18;;;37606:30;37672:34;37652:18;;;37645:62;-1:-1:-1;;;37723:18:1;;;37716:37;37770:19;;108403:68:0;37392:403:1;108403:68:0;108484:43;108506:4;108512:2;108516:7;108525:1;108484:21;:43::i;:::-;108592:29;108609:1;108613:7;108592:8;:29::i;:::-;108637:25;108665:11;:7;108675:1;108665:11;:::i;:::-;108637:39;-1:-1:-1;108693:33:0;:10;108637:39;108693:14;:33::i;:::-;108692:34;:87;;;;-1:-1:-1;98258:13:0;;108745:17;:34;108692:87;108689:210;;;108806:26;;;;:7;:26;;;;;:33;;-1:-1:-1;;;;;;108806:33:0;-1:-1:-1;;;;;108806:33:0;;;;;108854;-1:-1:-1;108806:26:0;108854:14;:33::i;:::-;108911:16;;;;:7;:16;;;;;:21;;-1:-1:-1;;;;;;108911:21:0;-1:-1:-1;;;;;108911:21:0;;;;;108946:27;;;108943:82;;108990:23;:10;109005:7;108990:14;:23::i;:::-;109061:7;109057:2;-1:-1:-1;;;;;109042:27:0;109051:4;-1:-1:-1;;;;;109042:27:0;-1:-1:-1;;;;;;;;;;;109042:27:0;;;;;;;;;109082:42;109103:4;109109:2;109113:7;109122:1;109082:20;:42::i;:::-;108188:944;;;108075:1057;;;:::o;106589:387::-;106720:19;106742:14;98258:13;;;98176:103;106742:14;106720:36;;106767:19;106773:2;106777:8;106767:5;:19::i;:::-;106819:68;106850:1;106854:2;106858:11;106871:8;106881:5;106819:22;:68::i;:::-;106797:171;;;;-1:-1:-1;;;106797:171:0;;;;;;;:::i;149292:481::-;149447:23;;;;:9;:23;;;;;149473:15;149447:41;;149457:12;;149559:23;149574:8;149457:12;149559:23;:::i;:::-;149545:37;;149593:97;149635:15;149607:9;:25;149617:14;;;;:::i;:::-;;;149607:25;;;;;;;;;;;:43;;;;149685:3;149670:12;:18;149593:97;;149706:61;154845:163;138698:443;-1:-1:-1;;;;;138994:18:0;;;138990:144;;137057:22;;;;:13;:22;;;;;137050:29;139088:34;136975:112;461:718;529:12;1099:5;:12;1161:5;1051:122;;;;;;;;;:::i;159353:473::-;159432:13;159447:24;159491:16;159499:7;159491;:16::i;:::-;159483:73;;;;-1:-1:-1;;;159483:73:0;;39120:2:1;159483:73:0;;;39102:21:1;39159:2;39139:18;;;39132:30;39198:34;39178:18;;;39171:62;-1:-1:-1;;;39249:18:1;;;39242:42;39301:19;;159483:73:0;38918:408:1;159483:73:0;159586:22;159600:7;159586:13;:22::i;:::-;159622:18;;;;:9;:18;;;;;;159567:41;;-1:-1:-1;159622:23:0;:71;;;;-1:-1:-1;159650:43:0;:30;159685:7;159650:34;:43::i;:::-;159649:44;159622:71;159619:200;;;159717:26;159735:7;159717:17;:26::i;:::-;159709:34;;159353:473;;;:::o;159619:200::-;159782:25;;;;:7;:25;;;;;;-1:-1:-1;;;;;159782:25:0;;-1:-1:-1;159353:473:0;;;:::o;33718:158::-;33791:4;33815:53;33823:3;-1:-1:-1;;;;;33843:23:0;;33815:7;:53::i;135325:178::-;135432:4;135461:34;135472:10;135484;135461;:34::i;102084:330::-;96316:10;-1:-1:-1;;;;;102219:24:0;;;102211:65;;;;-1:-1:-1;;;102211:65:0;;39533:2:1;102211:65:0;;;39515:21:1;39572:2;39552:18;;;39545:30;39611;39591:18;;;39584:58;39659:18;;102211:65:0;39331:352:1;102211:65:0;96316:10;102289:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;102289:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;102289:53:0;;;;;;;;;;102358:48;;1203:41:1;;;102289:42:0;;96316:10;102358:48;;1176:18:1;102358:48:0;;;;;;;102084:330;;:::o;104722:357::-;104879:28;104889:4;104895:2;104899:7;104879:9;:28::i;:::-;104940:50;104963:4;104969:2;104973:7;104982:1;104984:5;104940:22;:50::i;60570:922::-;60623:7;;-1:-1:-1;;;60701:15:0;;60697:102;;-1:-1:-1;;;60737:15:0;;;-1:-1:-1;60781:2:0;60771:12;60697:102;60826:6;60817:5;:15;60813:102;;60862:6;60853:15;;;-1:-1:-1;60897:2:0;60887:12;60813:102;60942:6;60933:5;:15;60929:102;;60978:6;60969:15;;;-1:-1:-1;61013:2:0;61003:12;60929:102;61058:5;61049;:14;61045:99;;61093:5;61084:14;;;-1:-1:-1;61127:1:0;61117:11;61045:99;61171:5;61162;:14;61158:99;;61206:5;61197:14;;;-1:-1:-1;61240:1:0;61230:11;61158:99;61284:5;61275;:14;61271:99;;61319:5;61310:14;;;-1:-1:-1;61353:1:0;61343:11;61271:99;61397:5;61388;:14;61384:66;;61433:1;61423:11;61478:6;60570:922;-1:-1:-1;;60570:922:0:o;119548:1912::-;119606:13;119636:4;:11;119651:1;119636:16;119632:31;;-1:-1:-1;;119654:9:0;;;;;;;;;-1:-1:-1;119654:9:0;;;119548:1912::o;119632:31::-;119715:19;119737:12;;;;;;;;;;;;;;;;;119715:34;;119801:18;119847:1;119828:4;:11;119842:1;119828:15;;;;:::i;:::-;119827:21;;;;:::i;:::-;119822:27;;:1;:27;:::i;:::-;119801:48;-1:-1:-1;119932:20:0;119966:15;119801:48;119979:2;119966:15;:::i;:::-;-1:-1:-1;;;;;119955:27:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;119955:27:0;;119932:50;;120079:10;120071:6;120064:26;120174:1;120167:5;120163:13;120233:4;120284;120278:11;120269:7;120265:25;120380:2;120372:6;120368:15;120453:754;120472:6;120463:7;120460:19;120453:754;;;120572:1;120563:7;120559:15;120548:26;;120611:7;120605:14;120737:4;120729:5;120725:2;120721:14;120717:25;120707:8;120703:40;120697:47;120686:9;120678:67;120791:1;120780:9;120776:17;120763:30;;120870:4;120862:5;120858:2;120854:14;120850:25;120840:8;120836:40;120830:47;120819:9;120811:67;120924:1;120913:9;120909:17;120896:30;;121003:4;120995:5;120992:1;120987:14;120983:25;120973:8;120969:40;120963:47;120952:9;120944:67;121057:1;121046:9;121042:17;121029:30;;121136:4;121128:5;121116:25;121106:8;121102:40;121096:47;121085:9;121077:67;-1:-1:-1;121190:1:0;121175:17;120453:754;;;121280:1;121273:4;121267:11;121263:19;121301:1;121296:54;;;;121369:1;121364:52;;;;121256:160;;121296:54;-1:-1:-1;;;;;121312:17:0;;121305:43;121296:54;;121364:52;-1:-1:-1;;;;;121380:17:0;;121373:41;121256:160;-1:-1:-1;121446:6:0;;119548:1912;-1:-1:-1;;;;;;;;119548:1912:0:o;136604:253::-;-1:-1:-1;;;;;136738:22:0;;136709:7;136738:22;;;:14;:22;;;;;;:26;136734:88;;-1:-1:-1;;;;;;136788:22:0;;;;;:14;:22;;;;;;;136604:253::o;136734:88::-;-1:-1:-1;;136841:8:0;;;136604:253::o;136013:293::-;136162:14;;136135:4;;136162:14;;136157:59;;-1:-1:-1;136200:4:0;136193:11;;136157:59;136235:27;136251:10;136235:15;:27::i;:::-;:63;;;-1:-1:-1;136266:3:0;;:32;;-1:-1:-1;;;136266:32:0;;-1:-1:-1;;;;;4863:32:1;;;136266::0;;;4845:51:1;4912:18;;;4905:34;;;136266:3:0;;;;:13;;4818:18:1;;136266:32:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;30565:111::-;30621:16;30657:3;:11;;30650:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30565:111;;;:::o;98572:355::-;98719:4;-1:-1:-1;;;;;;98761:40:0;;-1:-1:-1;;;98761:40:0;;:105;;-1:-1:-1;;;;;;;98818:48:0;;-1:-1:-1;;;98818:48:0;98761:105;:158;;;-1:-1:-1;;;;;;;;;;90451:40:0;;;98883:36;90342:157;135511:250;135635:4;135657:13;135673:33;135686:10;135698:7;135673:12;:33::i;109250:167::-;109325:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;109325:29:0;-1:-1:-1;;;;;109325:29:0;;;;;;;;:24;;109379:16;109325:24;109379:7;:16::i;:::-;-1:-1:-1;;;;;109370:39:0;;;;;;;;;;;109250:167;;:::o;106986:748::-;107084:19;107106:14;98258:13;;;98176:103;107106:14;107084:36;;107160:1;107149:8;:12;107141:62;;;;-1:-1:-1;;;107141:62:0;;39890:2:1;107141:62:0;;;39872:21:1;39929:2;39909:18;;;39902:30;39968:34;39948:18;;;39941:62;-1:-1:-1;;;40019:18:1;;;40012:35;40064:19;;107141:62:0;39688:401:1;107141:62:0;-1:-1:-1;;;;;107222:16:0;;107214:64;;;;-1:-1:-1;;;107214:64:0;;40296:2:1;107214:64:0;;;40278:21:1;40335:2;40315:18;;;40308:30;40374:34;40354:18;;;40347:62;-1:-1:-1;;;40425:18:1;;;40418:33;40468:19;;107214:64:0;40094:399:1;107214:64:0;107299:60;107329:1;107333:2;107337:11;107350:8;107299:21;:60::i;:::-;107387:8;107370:13;;:25;;;;;;;:::i;:::-;;;;-1:-1:-1;;107406:20:0;;;;:7;:20;;;;;:25;;-1:-1:-1;;;;;;107406:25:0;-1:-1:-1;;;;;107406:25:0;;;;;107442:27;-1:-1:-1;107406:20:0;107442:14;:27::i;:::-;107480:59;107509:1;107513:2;107517:11;107530:8;107480:20;:59::i;:::-;107604:11;107584:142;107627:22;107641:8;107627:11;:22;:::i;:::-;107617:7;:32;107584:142;;;107681:33;;107706:7;;-1:-1:-1;;;;;107681:33:0;;;107698:1;;-1:-1:-1;;;;;;;;;;;107681:33:0;107698:1;;107681:33;107651:9;;;;:::i;:::-;;;;107584:142;;110071:1039;110258:6;-1:-1:-1;;;;;110281:13:0;;42499:19;:23;110277:826;;-1:-1:-1;110317:4:0;110358:12;110336:689;110382:23;110397:8;110382:12;:23;:::i;:::-;110372:7;:33;110336:689;;;110440:72;;-1:-1:-1;;;110440:72:0;;-1:-1:-1;;;;;110440:36:0;;;;;:72;;96316:10;;110491:4;;110497:7;;110506:5;;110440:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;110440:72:0;;;;;;;;-1:-1:-1;;110440:72:0;;;;;;;;;;;;:::i;:::-;;;110436:574;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;110696:6;:13;110713:1;110696:18;110692:299;;110743:63;;-1:-1:-1;;;110743:63:0;;;;;;;:::i;110692:299::-;110933:6;110927:13;110918:6;110914:2;110910:15;110903:38;110436:574;110564:1;:56;;;;-1:-1:-1;;;;;;;110569:51:0;;-1:-1:-1;;;110569:51:0;110564:56;110560:60;;110513:127;110407:9;;;;:::i;:::-;;;;110336:689;;;;111039:8;;110277:826;-1:-1:-1;111087:4:0;110277:826;110071:1039;;;;;;;:::o;111118:159::-;111181:24;111237:31;:10;111260:7;111237:22;:31::i;27711:1420::-;27777:4;27916:19;;;:12;;;:19;;;;;;27952:15;;27948:1176;;28327:21;28351:14;28364:1;28351:10;:14;:::i;:::-;28400:18;;28327:38;;-1:-1:-1;28380:17:0;;28400:22;;28421:1;;28400:22;:::i;:::-;28380:42;;28456:13;28443:9;:26;28439:405;;28490:17;28510:3;:11;;28522:9;28510:22;;;;;;;;:::i;:::-;;;;;;;;;28490:42;;28664:9;28635:3;:11;;28647:13;28635:26;;;;;;;;:::i;:::-;;;;;;;;;;;;:38;;;;28749:23;;;:12;;;:23;;;;;:36;;;28439:405;28925:17;;:3;;:17;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;29020:3;:12;;:19;29033:5;29020:19;;;;;;;;;;;29013:26;;;29063:4;29056:11;;;;;;;27948:1176;29107:5;29100:12;;;;;135126:191;135238:4;135267:42;:21;135298:10;135267:30;:42::i;136314:282::-;136436:7;136465:22;;;:13;:22;;;;;;:26;136461:88;;-1:-1:-1;136515:22:0;;;;:13;:22;;;;;;136508:29;;136461:88;136568:20;136581:6;136568:12;:20::i;78312:1234::-;78452:1;78443:10;;;78394:19;78609:20;;;;;;;;;;;78394:19;;78443:10;78533:4;78525:12;;;;78714:18;;;78707:26;78786:6;;78783:756;;78884:22;:2;:20;:22::i;:::-;78869:37;;:11;:37;78863:1;78853:6;:11;;78852:55;78838:69;;78783:756;;;79007:1;78998:6;:10;78990:75;;;;-1:-1:-1;;;78990:75:0;;41580:2:1;78990:75:0;;;41562:21:1;41619:2;41599:18;;;41592:30;41658:34;41638:18;;;41631:62;-1:-1:-1;;;41709:18:1;;;41702:50;41769:19;;78990:75:0;41378:416:1;78990:75:0;-1:-1:-1;;;79117:8:0;;;79248:12;:20;;;;;;;;;;;79117:8;;-1:-1:-1;79308:6:0;;79305:207;;79414:22;:2;:20;:22::i;:::-;79407:3;:29;79390:47;;79401:1;79391:6;:11;;79390:47;79376:61;;79464:5;;79305:207;78959:569;;;78415:1131;;;78312:1234;;;;:::o;33962:167::-;-1:-1:-1;;;;;34096:23:0;;34042:4;29314:19;;;:12;;;:19;;;;;;:24;;34066:55;29217:129;70511:201;70573:5;70629:16;;;;;;;;;;;;;;;;;70685:3;69027:64;70647:18;70662:2;70647:14;:18::i;:::-;:33;70646:42;;70629:60;;;;;;;;:::i;:::-;;;;;;;;70511:201;-1:-1:-1;;70511:201:0:o;69738:169::-;69797:7;69830:1;69825:2;:6;69817:15;;;;;;-1:-1:-1;69881:1:0;:6;;;69875:13;;69738:169::o;14:658:1:-;185:2;237:21;;;307:13;;210:18;;;329:22;;;156:4;;185:2;408:15;;;;382:2;367:18;;;156:4;451:195;465:6;462:1;459:13;451:195;;;530:13;;-1:-1:-1;;;;;526:39:1;514:52;;621:15;;;;586:12;;;;562:1;480:9;451:195;;;-1:-1:-1;663:3:1;;14:658;-1:-1:-1;;;;;;14:658:1:o;677:131::-;-1:-1:-1;;;;;;751:32:1;;741:43;;731:71;;798:1;795;788:12;813:245;871:6;924:2;912:9;903:7;899:23;895:32;892:52;;;940:1;937;930:12;892:52;979:9;966:23;998:30;1022:5;998:30;:::i;1255:131::-;-1:-1:-1;;;;;1330:31:1;;1320:42;;1310:70;;1376:1;1373;1366:12;1391:247;1450:6;1503:2;1491:9;1482:7;1478:23;1474:32;1471:52;;;1519:1;1516;1509:12;1471:52;1558:9;1545:23;1577:31;1602:5;1577:31;:::i;1643:180::-;1702:6;1755:2;1743:9;1734:7;1730:23;1726:32;1723:52;;;1771:1;1768;1761:12;1723:52;-1:-1:-1;1794:23:1;;1643:180;-1:-1:-1;1643:180:1:o;1828:435::-;1895:6;1903;1956:2;1944:9;1935:7;1931:23;1927:32;1924:52;;;1972:1;1969;1962:12;1924:52;2011:9;1998:23;2030:31;2055:5;2030:31;:::i;:::-;2080:5;-1:-1:-1;2137:2:1;2122:18;;2109:32;-1:-1:-1;;;;;2172:40:1;;2160:53;;2150:81;;2227:1;2224;2217:12;2150:81;2250:7;2240:17;;;1828:435;;;;;:::o;2268:250::-;2353:1;2363:113;2377:6;2374:1;2371:13;2363:113;;;2453:11;;;2447:18;2434:11;;;2427:39;2399:2;2392:10;2363:113;;;-1:-1:-1;;2510:1:1;2492:16;;2485:27;2268:250::o;2523:271::-;2565:3;2603:5;2597:12;2630:6;2625:3;2618:19;2646:76;2715:6;2708:4;2703:3;2699:14;2692:4;2685:5;2681:16;2646:76;:::i;:::-;2776:2;2755:15;-1:-1:-1;;2751:29:1;2742:39;;;;2783:4;2738:50;;2523:271;-1:-1:-1;;2523:271:1:o;2799:220::-;2948:2;2937:9;2930:21;2911:4;2968:45;3009:2;2998:9;2994:18;2986:6;2968:45;:::i;3414:315::-;3482:6;3490;3543:2;3531:9;3522:7;3518:23;3514:32;3511:52;;;3559:1;3556;3549:12;3511:52;3598:9;3585:23;3617:31;3642:5;3617:31;:::i;:::-;3667:5;3719:2;3704:18;;;;3691:32;;-1:-1:-1;;;3414:315:1:o;3957:456::-;4034:6;4042;4050;4103:2;4091:9;4082:7;4078:23;4074:32;4071:52;;;4119:1;4116;4109:12;4071:52;4158:9;4145:23;4177:31;4202:5;4177:31;:::i;:::-;4227:5;-1:-1:-1;4284:2:1;4269:18;;4256:32;4297:33;4256:32;4297:33;:::i;:::-;3957:456;;4349:7;;-1:-1:-1;;;4403:2:1;4388:18;;;;4375:32;;3957:456::o;4418:248::-;4486:6;4494;4547:2;4535:9;4526:7;4522:23;4518:32;4515:52;;;4563:1;4560;4553:12;4515:52;-1:-1:-1;;4586:23:1;;;4656:2;4641:18;;;4628:32;;-1:-1:-1;4418:248:1:o;5430:118::-;5516:5;5509:13;5502:21;5495:5;5492:32;5482:60;;5538:1;5535;5528:12;5553:241;5609:6;5662:2;5650:9;5641:7;5637:23;5633:32;5630:52;;;5678:1;5675;5668:12;5630:52;5717:9;5704:23;5736:28;5758:5;5736:28;:::i;5799:632::-;5970:2;6022:21;;;6092:13;;5995:18;;;6114:22;;;5941:4;;5970:2;6193:15;;;;6167:2;6152:18;;;5941:4;6236:169;6250:6;6247:1;6244:13;6236:169;;;6311:13;;6299:26;;6380:15;;;;6345:12;;;;6272:1;6265:9;6236:169;;6436:127;6497:10;6492:3;6488:20;6485:1;6478:31;6528:4;6525:1;6518:15;6552:4;6549:1;6542:15;6568:275;6639:2;6633:9;6704:2;6685:13;;-1:-1:-1;;6681:27:1;6669:40;;-1:-1:-1;;;;;6724:34:1;;6760:22;;;6721:62;6718:88;;;6786:18;;:::i;:::-;6822:2;6815:22;6568:275;;-1:-1:-1;6568:275:1:o;6848:407::-;6913:5;-1:-1:-1;;;;;6939:6:1;6936:30;6933:56;;;6969:18;;:::i;:::-;7007:57;7052:2;7031:15;;-1:-1:-1;;7027:29:1;7058:4;7023:40;7007:57;:::i;:::-;6998:66;;7087:6;7080:5;7073:21;7127:3;7118:6;7113:3;7109:16;7106:25;7103:45;;;7144:1;7141;7134:12;7103:45;7193:6;7188:3;7181:4;7174:5;7170:16;7157:43;7247:1;7240:4;7231:6;7224:5;7220:18;7216:29;7209:40;6848:407;;;;;:::o;7260:451::-;7329:6;7382:2;7370:9;7361:7;7357:23;7353:32;7350:52;;;7398:1;7395;7388:12;7350:52;7438:9;7425:23;-1:-1:-1;;;;;7463:6:1;7460:30;7457:50;;;7503:1;7500;7493:12;7457:50;7526:22;;7579:4;7571:13;;7567:27;-1:-1:-1;7557:55:1;;7608:1;7605;7598:12;7557:55;7631:74;7697:7;7692:2;7679:16;7674:2;7670;7666:11;7631:74;:::i;7716:347::-;7767:8;7777:6;7831:3;7824:4;7816:6;7812:17;7808:27;7798:55;;7849:1;7846;7839:12;7798:55;-1:-1:-1;7872:20:1;;-1:-1:-1;;;;;7904:30:1;;7901:50;;;7947:1;7944;7937:12;7901:50;7984:4;7976:6;7972:17;7960:29;;8036:3;8029:4;8020:6;8012;8008:19;8004:30;8001:39;7998:59;;;8053:1;8050;8043:12;8068:477;8147:6;8155;8163;8216:2;8204:9;8195:7;8191:23;8187:32;8184:52;;;8232:1;8229;8222:12;8184:52;8272:9;8259:23;-1:-1:-1;;;;;8297:6:1;8294:30;8291:50;;;8337:1;8334;8327:12;8291:50;8376:58;8426:7;8417:6;8406:9;8402:22;8376:58;:::i;:::-;8453:8;;8350:84;;-1:-1:-1;8535:2:1;8520:18;;;;8507:32;;8068:477;-1:-1:-1;;;;8068:477:1:o;8803:712::-;8857:5;8910:3;8903:4;8895:6;8891:17;8887:27;8877:55;;8928:1;8925;8918:12;8877:55;8964:6;8951:20;8990:4;-1:-1:-1;;;;;9009:2:1;9006:26;9003:52;;;9035:18;;:::i;:::-;9081:2;9078:1;9074:10;9104:28;9128:2;9124;9120:11;9104:28;:::i;:::-;9166:15;;;9236;;;9232:24;;;9197:12;;;;9268:15;;;9265:35;;;9296:1;9293;9286:12;9265:35;9332:2;9324:6;9320:15;9309:26;;9344:142;9360:6;9355:3;9352:15;9344:142;;;9426:17;;9414:30;;9377:12;;;;9464;;;;9344:142;;;9504:5;8803:712;-1:-1:-1;;;;;;;8803:712:1:o;9520:416::-;9613:6;9621;9674:2;9662:9;9653:7;9649:23;9645:32;9642:52;;;9690:1;9687;9680:12;9642:52;9726:9;9713:23;9703:33;;9787:2;9776:9;9772:18;9759:32;-1:-1:-1;;;;;9806:6:1;9803:30;9800:50;;;9846:1;9843;9836:12;9800:50;9869:61;9922:7;9913:6;9902:9;9898:22;9869:61;:::i;:::-;9859:71;;;9520:416;;;;;:::o;9941:315::-;10009:6;10017;10070:2;10058:9;10049:7;10045:23;10041:32;10038:52;;;10086:1;10083;10076:12;10038:52;10122:9;10109:23;10099:33;;10182:2;10171:9;10167:18;10154:32;10195:31;10220:5;10195:31;:::i;10261:382::-;10326:6;10334;10387:2;10375:9;10366:7;10362:23;10358:32;10355:52;;;10403:1;10400;10393:12;10355:52;10442:9;10429:23;10461:31;10486:5;10461:31;:::i;:::-;10511:5;-1:-1:-1;10568:2:1;10553:18;;10540:32;10581:30;10540:32;10581:30;:::i;10648:795::-;10743:6;10751;10759;10767;10820:3;10808:9;10799:7;10795:23;10791:33;10788:53;;;10837:1;10834;10827:12;10788:53;10876:9;10863:23;10895:31;10920:5;10895:31;:::i;:::-;10945:5;-1:-1:-1;11002:2:1;10987:18;;10974:32;11015:33;10974:32;11015:33;:::i;:::-;11067:7;-1:-1:-1;11121:2:1;11106:18;;11093:32;;-1:-1:-1;11176:2:1;11161:18;;11148:32;-1:-1:-1;;;;;11192:30:1;;11189:50;;;11235:1;11232;11225:12;11189:50;11258:22;;11311:4;11303:13;;11299:27;-1:-1:-1;11289:55:1;;11340:1;11337;11330:12;11289:55;11363:74;11429:7;11424:2;11411:16;11406:2;11402;11398:11;11363:74;:::i;:::-;11353:84;;;10648:795;;;;;;;:::o;11448:551::-;11550:6;11558;11566;11619:2;11607:9;11598:7;11594:23;11590:32;11587:52;;;11635:1;11632;11625:12;11587:52;11674:9;11661:23;11693:31;11718:5;11693:31;:::i;:::-;11743:5;-1:-1:-1;11795:2:1;11780:18;;11767:32;;-1:-1:-1;11850:2:1;11835:18;;11822:32;-1:-1:-1;;;;;11866:30:1;;11863:50;;;11909:1;11906;11899:12;11863:50;11932:61;11985:7;11976:6;11965:9;11961:22;11932:61;:::i;:::-;11922:71;;;11448:551;;;;;:::o;12004:409::-;12074:6;12082;12135:2;12123:9;12114:7;12110:23;12106:32;12103:52;;;12151:1;12148;12141:12;12103:52;12191:9;12178:23;-1:-1:-1;;;;;12216:6:1;12213:30;12210:50;;;12256:1;12253;12246:12;12210:50;12295:58;12345:7;12336:6;12325:9;12321:22;12295:58;:::i;:::-;12372:8;;12269:84;;-1:-1:-1;12004:409:1;-1:-1:-1;;;;12004:409:1:o;12418:388::-;12486:6;12494;12547:2;12535:9;12526:7;12522:23;12518:32;12515:52;;;12563:1;12560;12553:12;12515:52;12602:9;12589:23;12621:31;12646:5;12621:31;:::i;:::-;12671:5;-1:-1:-1;12728:2:1;12713:18;;12700:32;12741:33;12700:32;12741:33;:::i;12811:380::-;12890:1;12886:12;;;;12933;;;12954:61;;13008:4;13000:6;12996:17;12986:27;;12954:61;13061:2;13053:6;13050:14;13030:18;13027:38;13024:161;;13107:10;13102:3;13098:20;13095:1;13088:31;13142:4;13139:1;13132:15;13170:4;13167:1;13160:15;13921:245;13988:6;14041:2;14029:9;14020:7;14016:23;14012:32;14009:52;;;14057:1;14054;14047:12;14009:52;14089:9;14083:16;14108:28;14130:5;14108:28;:::i;14171:127::-;14232:10;14227:3;14223:20;14220:1;14213:31;14263:4;14260:1;14253:15;14287:4;14284:1;14277:15;14303:128;14370:9;;;14391:11;;;14388:37;;;14405:18;;:::i;14436:127::-;14497:10;14492:3;14488:20;14485:1;14478:31;14528:4;14525:1;14518:15;14552:4;14549:1;14542:15;14568:125;14633:9;;;14654:10;;;14651:36;;;14667:18;;:::i;14698:168::-;14771:9;;;14802;;14819:15;;;14813:22;;14799:37;14789:71;;14840:18;;:::i;14871:127::-;14932:10;14927:3;14923:20;14920:1;14913:31;14963:4;14960:1;14953:15;14987:4;14984:1;14977:15;15003:120;15043:1;15069;15059:35;;15074:18;;:::i;:::-;-1:-1:-1;15108:9:1;;15003:120::o;17000:336::-;17202:2;17184:21;;;17241:2;17221:18;;;17214:30;-1:-1:-1;;;17275:2:1;17260:18;;17253:42;17327:2;17312:18;;17000:336::o;18317:340::-;18519:2;18501:21;;;18558:2;18538:18;;;18531:30;-1:-1:-1;;;18592:2:1;18577:18;;18570:46;18648:2;18633:18;;18317:340::o;18999:251::-;19069:6;19122:2;19110:9;19101:7;19097:23;19093:32;19090:52;;;19138:1;19135;19128:12;19090:52;19170:9;19164:16;19189:31;19214:5;19189:31;:::i;19255:135::-;19294:3;19315:17;;;19312:43;;19335:18;;:::i;:::-;-1:-1:-1;19382:1:1;19371:13;;19255:135::o;19521:545::-;19623:2;19618:3;19615:11;19612:448;;;19659:1;19684:5;19680:2;19673:17;19729:4;19725:2;19715:19;19799:2;19787:10;19783:19;19780:1;19776:27;19770:4;19766:38;19835:4;19823:10;19820:20;19817:47;;;-1:-1:-1;19858:4:1;19817:47;19913:2;19908:3;19904:12;19901:1;19897:20;19891:4;19887:31;19877:41;;19968:82;19986:2;19979:5;19976:13;19968:82;;;20031:17;;;20012:1;20001:13;19968:82;;20242:1352;20368:3;20362:10;-1:-1:-1;;;;;20387:6:1;20384:30;20381:56;;;20417:18;;:::i;:::-;20446:97;20536:6;20496:38;20528:4;20522:11;20496:38;:::i;:::-;20490:4;20446:97;:::i;:::-;20598:4;;20662:2;20651:14;;20679:1;20674:663;;;;21381:1;21398:6;21395:89;;;-1:-1:-1;21450:19:1;;;21444:26;21395:89;-1:-1:-1;;20199:1:1;20195:11;;;20191:24;20187:29;20177:40;20223:1;20219:11;;;20174:57;21497:81;;20644:944;;20674:663;19468:1;19461:14;;;19505:4;19492:18;;-1:-1:-1;;20710:20:1;;;20828:236;20842:7;20839:1;20836:14;20828:236;;;20931:19;;;20925:26;20910:42;;21023:27;;;;20991:1;20979:14;;;;20858:19;;20828:236;;;20832:3;21092:6;21083:7;21080:19;21077:201;;;21153:19;;;21147:26;-1:-1:-1;;21236:1:1;21232:14;;;21248:3;21228:24;21224:37;21220:42;21205:58;21190:74;;21077:201;-1:-1:-1;;;;;21324:1:1;21308:14;;;21304:22;21291:36;;-1:-1:-1;20242:1352:1:o;21953:355::-;22155:2;22137:21;;;22194:2;22174:18;;;22167:30;22233:33;22228:2;22213:18;;22206:61;22299:2;22284:18;;21953:355::o;25022:722::-;25072:3;25113:5;25107:12;25142:36;25168:9;25142:36;:::i;:::-;25197:1;25214:18;;;25241:133;;;;25388:1;25383:355;;;;25207:531;;25241:133;-1:-1:-1;;25274:24:1;;25262:37;;25347:14;;25340:22;25328:35;;25319:45;;;-1:-1:-1;25241:133:1;;25383:355;25414:5;25411:1;25404:16;25443:4;25488:2;25485:1;25475:16;25513:1;25527:165;25541:6;25538:1;25535:13;25527:165;;;25619:14;;25606:11;;;25599:35;25662:16;;;;25556:10;;25527:165;;;25531:3;;;25721:6;25716:3;25712:16;25705:23;;25207:531;;;;;25022:722;;;;:::o;25749:927::-;26122:3;26160:6;26154:13;26176:66;26235:6;26230:3;26223:4;26215:6;26211:17;26176:66;:::i;:::-;26305:13;;26264:16;;;;26327:70;26305:13;26264:16;26374:4;26362:17;;26327:70;:::i;:::-;-1:-1:-1;;;26419:20:1;;26448:18;;;26491:13;;26513:78;26491:13;26578:1;26567:13;;26560:4;26548:17;;26513:78;:::i;:::-;26607:63;26667:1;26656:8;26649:5;26645:20;26641:28;26633:6;26607:63;:::i;:::-;26600:70;25749:927;-1:-1:-1;;;;;;;;25749:927:1:o;26681:576::-;26905:3;26943:6;26937:13;26959:66;27018:6;27013:3;27006:4;26998:6;26994:17;26959:66;:::i;:::-;27088:13;;27047:16;;;;27110:70;27088:13;27047:16;27157:4;27145:17;;27110:70;:::i;:::-;27196:55;27241:8;27234:5;27230:20;27222:6;27196:55;:::i;28568:136::-;28607:3;28635:5;28625:39;;28644:18;;:::i;:::-;-1:-1:-1;;;28680:18:1;;28568:136::o;29070:611::-;-1:-1:-1;;;29428:3:1;29421:23;29403:3;29473:6;29467:13;29489:74;29556:6;29552:1;29547:3;29543:11;29536:4;29528:6;29524:17;29489:74;:::i;:::-;-1:-1:-1;;;29622:1:1;29582:16;;;;29614:10;;;29607:41;-1:-1:-1;29672:2:1;29664:11;;29070:611;-1:-1:-1;29070:611:1:o;30812:416::-;31014:2;30996:21;;;31053:2;31033:18;;;31026:30;31092:34;31087:2;31072:18;;31065:62;-1:-1:-1;;;31158:2:1;31143:18;;31136:50;31218:3;31203:19;;30812:416::o;31233:624::-;-1:-1:-1;;;31591:3:1;31584:23;31566:3;31636:6;31630:13;31652:74;31719:6;31715:1;31710:3;31706:11;31699:4;31691:6;31687:17;31652:74;:::i;:::-;31789:34;31785:1;31745:16;;;;31777:10;;;31770:54;-1:-1:-1;31848:2:1;31840:11;;31233:624;-1:-1:-1;31233:624:1:o;32222:427::-;32482:1;32477:3;32470:14;32452:3;32513:6;32507:13;32529:74;32596:6;32592:1;32587:3;32583:11;32576:4;32568:6;32564:17;32529:74;:::i;:::-;32623:16;;;;32641:1;32619:24;;32222:427;-1:-1:-1;;32222:427:1:o;32654:200::-;32720:9;;;32693:4;32748:9;;32776:10;;32788:12;;;32772:29;32811:12;;;32803:21;;32769:56;32766:82;;;32828:18;;:::i;32859:193::-;32898:1;32924;32914:35;;32929:18;;:::i;:::-;-1:-1:-1;;;32965:18:1;;-1:-1:-1;;32985:13:1;;32961:38;32958:64;;;33002:18;;:::i;:::-;-1:-1:-1;33036:10:1;;32859:193::o;33471:1050::-;33983:66;33978:3;33971:79;33953:3;34079:6;34073:13;34095:75;34163:6;34158:2;34153:3;34149:12;34142:4;34134:6;34130:17;34095:75;:::i;:::-;-1:-1:-1;;;34229:2:1;34189:16;;;34221:11;;;34214:71;34310:13;;34332:76;34310:13;34394:2;34386:11;;34379:4;34367:17;;34332:76;:::i;:::-;-1:-1:-1;;;34468:2:1;34427:17;;;;34460:11;;;34453:35;34512:2;34504:11;;33471:1050;-1:-1:-1;;;;33471:1050:1:o;34526:461::-;34788:31;34783:3;34776:44;34758:3;34849:6;34843:13;34865:75;34933:6;34928:2;34923:3;34919:12;34912:4;34904:6;34900:17;34865:75;:::i;:::-;34960:16;;;;34978:2;34956:25;;34526:461;-1:-1:-1;;34526:461:1:o;37800:417::-;38002:2;37984:21;;;38041:2;38021:18;;;38014:30;38080:34;38075:2;38060:18;;38053:62;-1:-1:-1;;;38146:2:1;38131:18;;38124:51;38207:3;38192:19;;37800:417::o;38222:691::-;-1:-1:-1;;;38597:16:1;;38668:3;38646:16;;;-1:-1:-1;;;;;;38642:43:1;38638:1;38629:11;;38622:64;-1:-1:-1;;;38711:1:1;38702:11;;38695:51;38769:13;;-1:-1:-1;;38791:75:1;38769:13;38854:2;38845:12;;38838:4;38826:17;;38791:75;:::i;:::-;38886:16;;;;38904:2;38882:25;;38222:691;-1:-1:-1;;;38222:691:1:o;40498:489::-;-1:-1:-1;;;;;40767:15:1;;;40749:34;;40819:15;;40814:2;40799:18;;40792:43;40866:2;40851:18;;40844:34;;;40914:3;40909:2;40894:18;;40887:31;;;40692:4;;40935:46;;40961:19;;40953:6;40935:46;:::i;:::-;40927:54;40498:489;-1:-1:-1;;;;;;40498:489:1:o;40992:249::-;41061:6;41114:2;41102:9;41093:7;41089:23;41085:32;41082:52;;;41130:1;41127;41120:12;41082:52;41162:9;41156:16;41181:30;41205:5;41181:30;:::i;41246:127::-;41307:10;41302:3;41298:20;41295:1;41288:31;41338:4;41335:1;41328:15;41362:4;41359:1;41352:15
Swarm Source
ipfs://0d5ca9442ed1e03d0e336c057f21ccd8f6dfd1d33f39c29c6a1bb0d4f18ae0c7
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.