Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
This contract may be a proxy contract. Click on More Options and select Is this a proxy? to confirm and enable the "Read as Proxy" & "Write as Proxy" tabs.
Contract Source Code Verified (Exact Match)
Contract Name:
KartParty
Compiler Version
v0.8.22+commit.4fc1097e
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-12-06 */ // SPDX-License-Identifier: MIT // File: @openzeppelin/contracts/utils/cryptography/MerkleProof.sol // OpenZeppelin Contracts (last updated v4.9.2) (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Tree proofs. * * The tree and the proofs can be generated using our * https://github.com/OpenZeppelin/merkle-tree[JavaScript library]. * You will find a quickstart guide in the readme. * * WARNING: You should avoid using leaf values that are 64 bytes long prior to * hashing, or use a hash function other than keccak256 for hashing leaves. * This is because the concatenation of a sorted pair of internal nodes in * the merkle tree could be reinterpreted as a leaf value. * OpenZeppelin's JavaScript library generates merkle trees that are safe * against this attack out of the box. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify(bytes32[] memory proof, bytes32 root, bytes32 leaf) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Calldata version of {verify} * * _Available since v4.7._ */ function verifyCalldata(bytes32[] calldata proof, bytes32 root, bytes32 leaf) internal pure returns (bool) { return processProofCalldata(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merkle tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. * * _Available since v4.4._ */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Calldata version of {processProof} * * _Available since v4.7._ */ function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Returns true if the `leaves` can be simultaneously proven to be a part of a merkle tree defined by * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}. * * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details. * * _Available since v4.7._ */ function multiProofVerify( bytes32[] memory proof, bool[] memory proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProof(proof, proofFlags, leaves) == root; } /** * @dev Calldata version of {multiProofVerify} * * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details. * * _Available since v4.7._ */ function multiProofVerifyCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProofCalldata(proof, proofFlags, leaves) == root; } /** * @dev Returns the root of a tree reconstructed from `leaves` and sibling nodes in `proof`. The reconstruction * proceeds by incrementally reconstructing all inner nodes by combining a leaf/inner node with either another * leaf/inner node or a proof sibling node, depending on whether each `proofFlags` item is true or false * respectively. * * CAUTION: Not all merkle trees admit multiproofs. To use multiproofs, it is sufficient to ensure that: 1) the tree * is complete (but not necessarily perfect), 2) the leaves to be proven are in the opposite order they are in the * tree (i.e., as seen from right to left starting at the deepest layer and continuing at the next layer). * * _Available since v4.7._ */ function processMultiProof( bytes32[] memory proof, bool[] memory proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuilds the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 proofLen = proof.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proofLen - 1 == totalHashes, "MerkleProof: invalid multiproof"); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value from the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? (leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]) : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { require(proofPos == proofLen, "MerkleProof: invalid multiproof"); unchecked { return hashes[totalHashes - 1]; } } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } /** * @dev Calldata version of {processMultiProof}. * * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details. * * _Available since v4.7._ */ function processMultiProofCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuilds the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 proofLen = proof.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proofLen - 1 == totalHashes, "MerkleProof: invalid multiproof"); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value from the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? (leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]) : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { require(proofPos == proofLen, "MerkleProof: invalid multiproof"); unchecked { return hashes[totalHashes - 1]; } } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) { return a < b ? _efficientHash(a, b) : _efficientHash(b, a); } function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) { /// @solidity memory-safe-assembly assembly { mstore(0x00, a) mstore(0x20, b) value := keccak256(0x00, 0x40) } } } // File: @openzeppelin/contracts-upgradeable/utils/StorageSlotUpgradeable.sol // OpenZeppelin Contracts (last updated v4.9.0) (utils/StorageSlot.sol) // This file was procedurally generated from scripts/generate/templates/StorageSlot.js. 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: * ```solidity * 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`, `uint256`._ * _Available since v4.9 for `string`, `bytes`._ */ library StorageSlotUpgradeable { struct AddressSlot { address value; } struct BooleanSlot { bool value; } struct Bytes32Slot { bytes32 value; } struct Uint256Slot { uint256 value; } struct StringSlot { string value; } struct BytesSlot { bytes 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 } } /** * @dev Returns an `StringSlot` with member `value` located at `slot`. */ function getStringSlot(bytes32 slot) internal pure returns (StringSlot storage r) { /// @solidity memory-safe-assembly assembly { r.slot := slot } } /** * @dev Returns an `StringSlot` representation of the string storage pointer `store`. */ function getStringSlot(string storage store) internal pure returns (StringSlot storage r) { /// @solidity memory-safe-assembly assembly { r.slot := store.slot } } /** * @dev Returns an `BytesSlot` with member `value` located at `slot`. */ function getBytesSlot(bytes32 slot) internal pure returns (BytesSlot storage r) { /// @solidity memory-safe-assembly assembly { r.slot := slot } } /** * @dev Returns an `BytesSlot` representation of the bytes storage pointer `store`. */ function getBytesSlot(bytes storage store) internal pure returns (BytesSlot storage r) { /// @solidity memory-safe-assembly assembly { r.slot := store.slot } } } // File: @openzeppelin/contracts-upgradeable/interfaces/IERC1967Upgradeable.sol // OpenZeppelin Contracts (last updated v4.9.0) (interfaces/IERC1967.sol) pragma solidity ^0.8.0; /** * @dev ERC-1967: Proxy Storage Slots. This interface contains the events defined in the ERC. * * _Available since v4.8.3._ */ interface IERC1967Upgradeable { /** * @dev Emitted when the implementation is upgraded. */ event Upgraded(address indexed implementation); /** * @dev Emitted when the admin account has changed. */ event AdminChanged(address previousAdmin, address newAdmin); /** * @dev Emitted when the beacon is changed. */ event BeaconUpgraded(address indexed beacon); } // File: @openzeppelin/contracts-upgradeable/proxy/beacon/IBeaconUpgradeable.sol // OpenZeppelin Contracts v4.4.1 (proxy/beacon/IBeacon.sol) pragma solidity ^0.8.0; /** * @dev This is the interface that {BeaconProxy} expects of its beacon. */ interface IBeaconUpgradeable { /** * @dev Must return an address that can be used as a delegate call target. * * {BeaconProxy} will check that this address is a contract. */ function implementation() external view returns (address); } // File: @openzeppelin/contracts-upgradeable/interfaces/draft-IERC1822Upgradeable.sol // OpenZeppelin Contracts (last updated v4.5.0) (interfaces/draft-IERC1822.sol) pragma solidity ^0.8.0; /** * @dev ERC1822: Universal Upgradeable Proxy Standard (UUPS) documents a method for upgradeability through a simplified * proxy whose upgrades are fully controlled by the current implementation. */ interface IERC1822ProxiableUpgradeable { /** * @dev Returns the storage slot that the proxiable contract assumes is being used to store the implementation * address. * * IMPORTANT: A proxy pointing at a proxiable contract should not be considered proxiable itself, because this risks * bricking a proxy that upgrades to it, by delegating to itself until out of gas. Thus it is critical that this * function revert if invoked through a proxy. */ function proxiableUUID() external view returns (bytes32); } // File: @openzeppelin/contracts-upgradeable/utils/math/SignedMathUpgradeable.sol // OpenZeppelin Contracts (last updated v4.8.0) (utils/math/SignedMath.sol) pragma solidity ^0.8.0; /** * @dev Standard signed math utilities missing in the Solidity language. */ library SignedMathUpgradeable { /** * @dev Returns the largest of two signed numbers. */ function max(int256 a, int256 b) internal pure returns (int256) { return a > b ? a : b; } /** * @dev Returns the smallest of two signed numbers. */ function min(int256 a, int256 b) internal pure returns (int256) { return a < b ? a : b; } /** * @dev Returns the average of two signed numbers without overflow. * The result is rounded towards zero. */ function average(int256 a, int256 b) internal pure returns (int256) { // Formula from the book "Hacker's Delight" int256 x = (a & b) + ((a ^ b) >> 1); return x + (int256(uint256(x) >> 255) & (a ^ b)); } /** * @dev Returns the absolute unsigned value of a signed value. */ function abs(int256 n) internal pure returns (uint256) { unchecked { // must be unchecked in order to support `n = type(int256).min` return uint256(n >= 0 ? n : -n); } } } // File: @openzeppelin/contracts-upgradeable/utils/math/MathUpgradeable.sol // OpenZeppelin Contracts (last updated v4.9.0) (utils/math/Math.sol) pragma solidity ^0.8.0; /** * @dev Standard math utilities missing in the Solidity language. */ library MathUpgradeable { 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) { // Solidity will revert if denominator == 0, unlike the div opcode on its own. // The surrounding unchecked block does not change this fact. // See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic. return prod0 / denominator; } // Make sure the result is less than 2^256. Also prevents denominator == 0. require(denominator > prod1, "Math: mulDiv overflow"); /////////////////////////////////////////////// // 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 256, 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 << 3) < value ? 1 : 0); } } } // File: @openzeppelin/contracts-upgradeable/utils/StringsUpgradeable.sol // OpenZeppelin Contracts (last updated v4.9.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library StringsUpgradeable { 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 = MathUpgradeable.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 `int256` to its ASCII `string` decimal representation. */ function toString(int256 value) internal pure returns (string memory) { return string(abi.encodePacked(value < 0 ? "-" : "", toString(SignedMathUpgradeable.abs(value)))); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { unchecked { return toHexString(value, MathUpgradeable.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); } /** * @dev Returns true if the two strings are equal. */ function equal(string memory a, string memory b) internal pure returns (bool) { return keccak256(bytes(a)) == keccak256(bytes(b)); } } // File: @openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol // OpenZeppelin Contracts (last updated v4.9.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library AddressUpgradeable { /** * @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 * * Furthermore, `isContract` will also return true if the target contract within * the same transaction is already scheduled for destruction by `SELFDESTRUCT`, * which only has an effect at the end of a transaction. * ==== * * [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://consensys.net/diligence/blog/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.8.0/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-upgradeable/proxy/utils/Initializable.sol // OpenZeppelin Contracts (last updated v4.9.0) (proxy/utils/Initializable.sol) pragma solidity ^0.8.2; /** * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed * behind a proxy. Since proxied contracts do not make use of a constructor, it's common to move constructor logic to an * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect. * * The initialization functions use a version number. Once a version number is used, it is consumed and cannot be * reused. This mechanism prevents re-execution of each "step" but allows the creation of new initialization steps in * case an upgrade adds a module that needs to be initialized. * * For example: * * [.hljs-theme-light.nopadding] * ```solidity * contract MyToken is ERC20Upgradeable { * function initialize() initializer public { * __ERC20_init("MyToken", "MTK"); * } * } * * contract MyTokenV2 is MyToken, ERC20PermitUpgradeable { * function initializeV2() reinitializer(2) public { * __ERC20Permit_init("MyToken"); * } * } * ``` * * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as * possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}. * * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity. * * [CAUTION] * ==== * Avoid leaving a contract uninitialized. * * An uninitialized contract can be taken over by an attacker. This applies to both a proxy and its implementation * contract, which may impact the proxy. To prevent the implementation contract from being used, you should invoke * the {_disableInitializers} function in the constructor to automatically lock it when it is deployed: * * [.hljs-theme-light.nopadding] * ``` * /// @custom:oz-upgrades-unsafe-allow constructor * constructor() { * _disableInitializers(); * } * ``` * ==== */ abstract contract Initializable { /** * @dev Indicates that the contract has been initialized. * @custom:oz-retyped-from bool */ uint8 private _initialized; /** * @dev Indicates that the contract is in the process of being initialized. */ bool private _initializing; /** * @dev Triggered when the contract has been initialized or reinitialized. */ event Initialized(uint8 version); /** * @dev A modifier that defines a protected initializer function that can be invoked at most once. In its scope, * `onlyInitializing` functions can be used to initialize parent contracts. * * Similar to `reinitializer(1)`, except that functions marked with `initializer` can be nested in the context of a * constructor. * * Emits an {Initialized} event. */ modifier initializer() { bool isTopLevelCall = !_initializing; require( (isTopLevelCall && _initialized < 1) || (!AddressUpgradeable.isContract(address(this)) && _initialized == 1), "Initializable: contract is already initialized" ); _initialized = 1; if (isTopLevelCall) { _initializing = true; } _; if (isTopLevelCall) { _initializing = false; emit Initialized(1); } } /** * @dev A modifier that defines a protected reinitializer function that can be invoked at most once, and only if the * contract hasn't been initialized to a greater version before. In its scope, `onlyInitializing` functions can be * used to initialize parent contracts. * * A reinitializer may be used after the original initialization step. This is essential to configure modules that * are added through upgrades and that require initialization. * * When `version` is 1, this modifier is similar to `initializer`, except that functions marked with `reinitializer` * cannot be nested. If one is invoked in the context of another, execution will revert. * * Note that versions can jump in increments greater than 1; this implies that if multiple reinitializers coexist in * a contract, executing them in the right order is up to the developer or operator. * * WARNING: setting the version to 255 will prevent any future reinitialization. * * Emits an {Initialized} event. */ modifier reinitializer(uint8 version) { require(!_initializing && _initialized < version, "Initializable: contract is already initialized"); _initialized = version; _initializing = true; _; _initializing = false; emit Initialized(version); } /** * @dev Modifier to protect an initialization function so that it can only be invoked by functions with the * {initializer} and {reinitializer} modifiers, directly or indirectly. */ modifier onlyInitializing() { require(_initializing, "Initializable: contract is not initializing"); _; } /** * @dev Locks the contract, preventing any future reinitialization. This cannot be part of an initializer call. * Calling this in the constructor of a contract will prevent that contract from being initialized or reinitialized * to any version. It is recommended to use this to lock implementation contracts that are designed to be called * through proxies. * * Emits an {Initialized} event the first time it is successfully executed. */ function _disableInitializers() internal virtual { require(!_initializing, "Initializable: contract is initializing"); if (_initialized != type(uint8).max) { _initialized = type(uint8).max; emit Initialized(type(uint8).max); } } /** * @dev Returns the highest version that has been initialized. See {reinitializer}. */ function _getInitializedVersion() internal view returns (uint8) { return _initialized; } /** * @dev Returns `true` if the contract is currently initializing. See {onlyInitializing}. */ function _isInitializing() internal view returns (bool) { return _initializing; } } // File: @openzeppelin/contracts-upgradeable/proxy/ERC1967/ERC1967UpgradeUpgradeable.sol // OpenZeppelin Contracts (last updated v4.9.0) (proxy/ERC1967/ERC1967Upgrade.sol) pragma solidity ^0.8.2; /** * @dev This abstract contract provides getters and event emitting update functions for * https://eips.ethereum.org/EIPS/eip-1967[EIP1967] slots. * * _Available since v4.1._ */ abstract contract ERC1967UpgradeUpgradeable is Initializable, IERC1967Upgradeable { function __ERC1967Upgrade_init() internal onlyInitializing { } function __ERC1967Upgrade_init_unchained() internal onlyInitializing { } // This is the keccak-256 hash of "eip1967.proxy.rollback" subtracted by 1 bytes32 private constant _ROLLBACK_SLOT = 0x4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd9143; /** * @dev Storage slot with the address of the current implementation. * This is the keccak-256 hash of "eip1967.proxy.implementation" subtracted by 1, and is * validated in the constructor. */ bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc; /** * @dev Returns the current implementation address. */ function _getImplementation() internal view returns (address) { return StorageSlotUpgradeable.getAddressSlot(_IMPLEMENTATION_SLOT).value; } /** * @dev Stores a new address in the EIP1967 implementation slot. */ function _setImplementation(address newImplementation) private { require(AddressUpgradeable.isContract(newImplementation), "ERC1967: new implementation is not a contract"); StorageSlotUpgradeable.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation; } /** * @dev Perform implementation upgrade * * Emits an {Upgraded} event. */ function _upgradeTo(address newImplementation) internal { _setImplementation(newImplementation); emit Upgraded(newImplementation); } /** * @dev Perform implementation upgrade with additional setup call. * * Emits an {Upgraded} event. */ function _upgradeToAndCall(address newImplementation, bytes memory data, bool forceCall) internal { _upgradeTo(newImplementation); if (data.length > 0 || forceCall) { AddressUpgradeable.functionDelegateCall(newImplementation, data); } } /** * @dev Perform implementation upgrade with security checks for UUPS proxies, and additional setup call. * * Emits an {Upgraded} event. */ function _upgradeToAndCallUUPS(address newImplementation, bytes memory data, bool forceCall) internal { // Upgrades from old implementations will perform a rollback test. This test requires the new // implementation to upgrade back to the old, non-ERC1822 compliant, implementation. Removing // this special case will break upgrade paths from old UUPS implementation to new ones. if (StorageSlotUpgradeable.getBooleanSlot(_ROLLBACK_SLOT).value) { _setImplementation(newImplementation); } else { try IERC1822ProxiableUpgradeable(newImplementation).proxiableUUID() returns (bytes32 slot) { require(slot == _IMPLEMENTATION_SLOT, "ERC1967Upgrade: unsupported proxiableUUID"); } catch { revert("ERC1967Upgrade: new implementation is not UUPS"); } _upgradeToAndCall(newImplementation, data, forceCall); } } /** * @dev Storage slot with the admin of the contract. * This is the keccak-256 hash of "eip1967.proxy.admin" subtracted by 1, and is * validated in the constructor. */ bytes32 internal constant _ADMIN_SLOT = 0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103; /** * @dev Returns the current admin. */ function _getAdmin() internal view returns (address) { return StorageSlotUpgradeable.getAddressSlot(_ADMIN_SLOT).value; } /** * @dev Stores a new address in the EIP1967 admin slot. */ function _setAdmin(address newAdmin) private { require(newAdmin != address(0), "ERC1967: new admin is the zero address"); StorageSlotUpgradeable.getAddressSlot(_ADMIN_SLOT).value = newAdmin; } /** * @dev Changes the admin of the proxy. * * Emits an {AdminChanged} event. */ function _changeAdmin(address newAdmin) internal { emit AdminChanged(_getAdmin(), newAdmin); _setAdmin(newAdmin); } /** * @dev The storage slot of the UpgradeableBeacon contract which defines the implementation for this proxy. * This is bytes32(uint256(keccak256('eip1967.proxy.beacon')) - 1)) and is validated in the constructor. */ bytes32 internal constant _BEACON_SLOT = 0xa3f0ad74e5423aebfd80d3ef4346578335a9a72aeaee59ff6cb3582b35133d50; /** * @dev Returns the current beacon. */ function _getBeacon() internal view returns (address) { return StorageSlotUpgradeable.getAddressSlot(_BEACON_SLOT).value; } /** * @dev Stores a new beacon in the EIP1967 beacon slot. */ function _setBeacon(address newBeacon) private { require(AddressUpgradeable.isContract(newBeacon), "ERC1967: new beacon is not a contract"); require( AddressUpgradeable.isContract(IBeaconUpgradeable(newBeacon).implementation()), "ERC1967: beacon implementation is not a contract" ); StorageSlotUpgradeable.getAddressSlot(_BEACON_SLOT).value = newBeacon; } /** * @dev Perform beacon upgrade with additional setup call. Note: This upgrades the address of the beacon, it does * not upgrade the implementation contained in the beacon (see {UpgradeableBeacon-_setImplementation} for that). * * Emits a {BeaconUpgraded} event. */ function _upgradeBeaconToAndCall(address newBeacon, bytes memory data, bool forceCall) internal { _setBeacon(newBeacon); emit BeaconUpgraded(newBeacon); if (data.length > 0 || forceCall) { AddressUpgradeable.functionDelegateCall(IBeaconUpgradeable(newBeacon).implementation(), data); } } /** * @dev This empty reserved space is put in place to allow future versions to add new * variables without shifting down storage in the inheritance chain. * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps */ uint256[50] private __gap; } // File: @openzeppelin/contracts-upgradeable/proxy/utils/UUPSUpgradeable.sol // OpenZeppelin Contracts (last updated v4.9.0) (proxy/utils/UUPSUpgradeable.sol) pragma solidity ^0.8.0; /** * @dev An upgradeability mechanism designed for UUPS proxies. The functions included here can perform an upgrade of an * {ERC1967Proxy}, when this contract is set as the implementation behind such a proxy. * * A security mechanism ensures that an upgrade does not turn off upgradeability accidentally, although this risk is * reinstated if the upgrade retains upgradeability but removes the security mechanism, e.g. by replacing * `UUPSUpgradeable` with a custom implementation of upgrades. * * The {_authorizeUpgrade} function must be overridden to include access restriction to the upgrade mechanism. * * _Available since v4.1._ */ abstract contract UUPSUpgradeable is Initializable, IERC1822ProxiableUpgradeable, ERC1967UpgradeUpgradeable { function __UUPSUpgradeable_init() internal onlyInitializing { } function __UUPSUpgradeable_init_unchained() internal onlyInitializing { } /// @custom:oz-upgrades-unsafe-allow state-variable-immutable state-variable-assignment address private immutable __self = address(this); /** * @dev Check that the execution is being performed through a delegatecall call and that the execution context is * a proxy contract with an implementation (as defined in ERC1967) pointing to self. This should only be the case * for UUPS and transparent proxies that are using the current contract as their implementation. Execution of a * function through ERC1167 minimal proxies (clones) would not normally pass this test, but is not guaranteed to * fail. */ modifier onlyProxy() { require(address(this) != __self, "Function must be called through delegatecall"); require(_getImplementation() == __self, "Function must be called through active proxy"); _; } /** * @dev Check that the execution is not being performed through a delegate call. This allows a function to be * callable on the implementing contract but not through proxies. */ modifier notDelegated() { require(address(this) == __self, "UUPSUpgradeable: must not be called through delegatecall"); _; } /** * @dev Implementation of the ERC1822 {proxiableUUID} function. This returns the storage slot used by the * implementation. It is used to validate the implementation's compatibility when performing an upgrade. * * IMPORTANT: A proxy pointing at a proxiable contract should not be considered proxiable itself, because this risks * bricking a proxy that upgrades to it, by delegating to itself until out of gas. Thus it is critical that this * function revert if invoked through a proxy. This is guaranteed by the `notDelegated` modifier. */ function proxiableUUID() external view virtual override notDelegated returns (bytes32) { return _IMPLEMENTATION_SLOT; } /** * @dev Upgrade the implementation of the proxy to `newImplementation`. * * Calls {_authorizeUpgrade}. * * Emits an {Upgraded} event. * * @custom:oz-upgrades-unsafe-allow-reachable delegatecall */ function upgradeTo(address newImplementation) public virtual onlyProxy { _authorizeUpgrade(newImplementation); _upgradeToAndCallUUPS(newImplementation, new bytes(0), false); } /** * @dev Upgrade the implementation of the proxy to `newImplementation`, and subsequently execute the function call * encoded in `data`. * * Calls {_authorizeUpgrade}. * * Emits an {Upgraded} event. * * @custom:oz-upgrades-unsafe-allow-reachable delegatecall */ function upgradeToAndCall(address newImplementation, bytes memory data) public payable virtual onlyProxy { _authorizeUpgrade(newImplementation); _upgradeToAndCallUUPS(newImplementation, data, true); } /** * @dev Function that should revert when `msg.sender` is not authorized to upgrade the contract. Called by * {upgradeTo} and {upgradeToAndCall}. * * Normally, this function will use an xref:access.adoc[access control] modifier such as {Ownable-onlyOwner}. * * ```solidity * function _authorizeUpgrade(address) internal override onlyOwner {} * ``` */ function _authorizeUpgrade(address newImplementation) internal virtual; /** * @dev This empty reserved space is put in place to allow future versions to add new * variables without shifting down storage in the inheritance chain. * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps */ uint256[50] private __gap; } // File: @openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.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 ContextUpgradeable is Initializable { function __Context_init() internal onlyInitializing { } function __Context_init_unchained() internal onlyInitializing { } function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } /** * @dev This empty reserved space is put in place to allow future versions to add new * variables without shifting down storage in the inheritance chain. * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps */ uint256[50] private __gap; } // File: @openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol // OpenZeppelin Contracts (last updated v4.9.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 OwnableUpgradeable is Initializable, ContextUpgradeable { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ function __Ownable_init() internal onlyInitializing { __Ownable_init_unchained(); } function __Ownable_init_unchained() internal onlyInitializing { _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. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling 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); } /** * @dev This empty reserved space is put in place to allow future versions to add new * variables without shifting down storage in the inheritance chain. * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps */ uint256[49] private __gap; } // File: @openzeppelin/contracts-upgradeable/token/ERC721/IERC721ReceiverUpgradeable.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 IERC721ReceiverUpgradeable { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } // File: @openzeppelin/contracts-upgradeable/utils/introspection/IERC165Upgradeable.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 IERC165Upgradeable { /** * @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-upgradeable/interfaces/IERC2981Upgradeable.sol // OpenZeppelin Contracts (last updated v4.9.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 IERC2981Upgradeable is IERC165Upgradeable { /** * @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-upgradeable/utils/introspection/ERC165Upgradeable.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 ERC165Upgradeable is Initializable, IERC165Upgradeable { function __ERC165_init() internal onlyInitializing { } function __ERC165_init_unchained() internal onlyInitializing { } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165Upgradeable).interfaceId; } /** * @dev This empty reserved space is put in place to allow future versions to add new * variables without shifting down storage in the inheritance chain. * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps */ uint256[50] private __gap; } // File: @openzeppelin/contracts-upgradeable/token/ERC721/IERC721Upgradeable.sol // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721Upgradeable is IERC165Upgradeable { /** * @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-upgradeable/token/ERC721/extensions/IERC721MetadataUpgradeable.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 IERC721MetadataUpgradeable is IERC721Upgradeable { /** * @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: contracts/ERC721Upgradeable.sol // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721Upgradeable is Initializable, ContextUpgradeable, ERC165Upgradeable, IERC721Upgradeable, IERC721MetadataUpgradeable { using AddressUpgradeable for address; using StringsUpgradeable for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) internal _owners; // Mapping owner address to token count mapping(address => uint256) internal _balances; // Mapping from token ID to approved address mapping(uint256 => address) internal _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) internal _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ function __ERC721_init(string memory name_, string memory symbol_) internal onlyInitializing { __ERC721_init_unchained(name_, symbol_); } function __ERC721_init_unchained(string memory name_, string memory symbol_) internal onlyInitializing { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165Upgradeable, IERC165Upgradeable) returns (bool) { return interfaceId == type(IERC721Upgradeable).interfaceId || interfaceId == type(IERC721MetadataUpgradeable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: address zero is not a valid owner"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _ownerOf(tokenId); require(owner != address(0), "ERC721: invalid token ID"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { _requireMinted(tokenId); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721Upgradeable.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not token owner or approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { _requireMinted(tokenId); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom(address from, address to, uint256 tokenId) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner or approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom(address from, address to, uint256 tokenId) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory data) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner or approved"); _safeTransfer(from, to, tokenId, data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer(address from, address to, uint256 tokenId, bytes memory data) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns the owner of the `tokenId`. Does NOT revert if token doesn't exist */ function _ownerOf(uint256 tokenId) internal view virtual returns (address) { return _owners[tokenId]; } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _ownerOf(tokenId) != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { address owner = ERC721Upgradeable.ownerOf(tokenId); return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint(address to, uint256 tokenId, bytes memory data) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId, 1); // Check that tokenId was not minted by `_beforeTokenTransfer` hook require(!_exists(tokenId), "ERC721: token already minted"); unchecked { // Will not overflow unless all 2**256 token ids are minted to the same owner. // Given that tokens are minted one by one, it is impossible in practice that // this ever happens. Might change if we allow batch minting. // The ERC fails to describe this case. _balances[to] += 1; } _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId, 1); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * This is an internal function that does not check if the sender is authorized to operate on the token. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721Upgradeable.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId, 1); // Update ownership in case tokenId was transferred by `_beforeTokenTransfer` hook owner = ERC721Upgradeable.ownerOf(tokenId); // Clear approvals delete _tokenApprovals[tokenId]; unchecked { // Cannot overflow, as that would require more tokens to be burned/transferred // out than the owner initially received through minting and transferring in. _balances[owner] -= 1; } delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); _afterTokenTransfer(owner, address(0), tokenId, 1); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer(address from, address to, uint256 tokenId) internal virtual { require(ERC721Upgradeable.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId, 1); // Check that tokenId was not transferred by `_beforeTokenTransfer` hook require(ERC721Upgradeable.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); // Clear approvals from the previous owner delete _tokenApprovals[tokenId]; unchecked { // `_balances[from]` cannot overflow for the same reason as described in `_burn`: // `from`'s balance is the number of token held, which is at least one before the current // transfer. // `_balances[to]` could overflow in the conditions described in `_mint`. That would require // all 2**256 token ids to be minted, which in practice is impossible. _balances[from] -= 1; _balances[to] += 1; } _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId, 1); } /** * @dev Approve `to` to operate on `tokenId` * * Emits an {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721Upgradeable.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits an {ApprovalForAll} event. */ function _setApprovalForAll(address owner, address operator, bool approved) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Reverts if the `tokenId` has not been minted yet. */ function _requireMinted(uint256 tokenId) internal view virtual { require(_exists(tokenId), "ERC721: invalid token ID"); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory data ) private returns (bool) { if (to.isContract()) { try IERC721ReceiverUpgradeable(to).onERC721Received(_msgSender(), from, tokenId, data) returns (bytes4 retval) { return retval == IERC721ReceiverUpgradeable.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { /// @solidity memory-safe-assembly assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting and burning. If {ERC721Consecutive} is * used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s tokens will be transferred to `to`. * - When `from` is zero, the tokens will be minted for `to`. * - When `to` is zero, ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * - `batchSize` is non-zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer(address from, address to, uint256 firstTokenId, uint256 batchSize) internal virtual {} /** * @dev Hook that is called after any token transfer. This includes minting and burning. If {ERC721Consecutive} is * used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s tokens were transferred to `to`. * - When `from` is zero, the tokens were minted for `to`. * - When `to` is zero, ``from``'s tokens were burned. * - `from` and `to` are never both zero. * - `batchSize` is non-zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer(address from, address to, uint256 firstTokenId, uint256 batchSize) internal virtual {} /** * @dev Unsafe write access to the balances, used by extensions that "mint" tokens using an {ownerOf} override. * * WARNING: Anyone calling this MUST ensure that the balances remain consistent with the ownership. The invariant * being that for any address `a` the value returned by `balanceOf(a)` must be equal to the number of tokens such * that `ownerOf(tokenId)` is `a`. */ // solhint-disable-next-line func-name-mixedcase function __unsafe_increaseBalance(address account, uint256 amount) internal { _balances[account] += amount; } /** * @dev This empty reserved space is put in place to allow future versions to add new * variables without shifting down storage in the inheritance chain. * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps */ uint256[44] private __gap; } // File: contracts/KartParty_v1121.sol pragma solidity >=0.8.0 <0.9.0; contract KartParty is Initializable, ERC721Upgradeable, IERC2981Upgradeable, OwnableUpgradeable, UUPSUpgradeable { using StringsUpgradeable for uint256; uint256 public numToken; uint256 public constant totalSupply = 700; uint256 public constant wlSupply = 450; uint256 private _mintTokenId; mapping(address => bool) private _wlMinted; address public treasuryAddress; bool private _treasuryMinted; uint256 public status; // 0 - unavailable, 1 - running event StatusChanged(uint256 prevStatus, uint256 newStatus, address indexed account); string private _buri; bytes32 public merkleRoot; // event => state, state: 0- not open, 1- open mapping(string => uint256) private _lockEventState; //tokenId => lock counts mapping(uint256 => uint256) private _lockCounts; //event => ( tokenId=> lockState), lockState: 0-unlock, 1-lock mapping(string => mapping(uint256 => uint256)) private _eventTokenLock; event Lock(string eventId, uint256[] tokenId, address indexed by, uint256 lockAt); event Unlock(string eventId, uint256[] tokenId, address indexed by, uint256 unlockAt); // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; bool private _enumerated; address public operatorAddress; /// @custom:oz-upgrades-unsafe-allow constructor constructor() { _disableInitializers(); } function initialize() initializer public { __ERC721_init("KartParty-YKZ", "YKZ"); __Ownable_init(); __UUPSUpgradeable_init(); treasuryAddress = 0xd66C488C87e8a8D918bCa904889D08856C6EB928; } modifier isSufficient() { require(_mintTokenId < wlSupply, "KartParty: Max whitelist supply reached"); require(numToken < totalSupply, "KartParty: Max total supply reached"); _; } modifier isRealWallet() { require(msg.sender == tx.origin, "KartParty: Must from real wallet address"); _; } modifier checkStatus(uint256 _status) { require(status == _status, "KartParty: Not correct status"); _; } function _baseURI() internal view override returns (string memory) { return _buri; } function setBaseURI(string memory _uri) public onlyOwner { require(bytes(_uri).length > 0, "KartParty: wrong base uri"); _buri = _uri; } function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { _requireMinted(tokenId); string memory uri = _baseURI(); if (status == 2) { uri = string(abi.encodePacked(uri, "/", tokenId.toString())); } return uri; } function setStatus(uint256 _status) public onlyOwner { uint256 prevStatus = status; status = _status; emit StatusChanged(prevStatus, status, _msgSender()); } function setMerkleRoot(bytes32 _root) public onlyOwner { // (1) Store the tree root in your contract. merkleRoot = _root; } function setTreasuryAddress(address _address) public onlyOwner { require(_address != address(0), "KartParty: treasury must not be zero address"); treasuryAddress = _address; } function wlMinted(address _address) public view returns(bool) { return _wlMinted[_address]; } function _verifyProof(address _address, bytes32[] memory _proof) internal view returns(bool) { bytes32 msgHash = keccak256(abi.encodePacked(_address)); bytes32 leaf = keccak256(bytes.concat(keccak256(abi.encode(msgHash)))); return MerkleProof.verify(_proof, merkleRoot, leaf); } function wlMint(bytes32[] memory _proof) public isSufficient isRealWallet checkStatus(1) { address addr = _msgSender(); require(wlMinted(addr) == false, "KartParty: Already minted whitelist address"); require(_verifyProof(addr, _proof), "KartParty: Invalid proof for whitelist"); uint256 tokenId = _mintTokenId + 1; _wlMinted[addr] = true; _mintTokenId += 1; numToken += 1; _safeMint(addr, tokenId); } function treasuryMint(address _treasury) external onlyOwner { require(_treasury != address(0), "KartParty: Invalid treasury address"); require(_treasury == treasuryAddress, "KartParty: inconsistent treasury address"); require(_treasuryMinted == false, "KartParty: Already airdrop to treasury"); _treasuryMinted = true; _balances[_treasury] += (totalSupply - wlSupply); numToken += (totalSupply - wlSupply); for (uint256 tokenId = wlSupply+1; tokenId <= totalSupply; tokenId++) { _owners[tokenId] = _treasury; emit Transfer(address(0), _treasury, tokenId); } } function _authorizeUpgrade(address newImplementation) internal onlyOwner override {} function setOperatorAddress(address _address) public onlyOwner { require(_address != address(0), "KartParty: operator must not be zero address"); operatorAddress = _address; } /** * event lock */ function lockTokenBatch(string calldata _event, uint256[] calldata _tokenIds) external { require(_lockEventState[_event] == 1, "KartParty: Event not open"); require(_tokenIds.length > 0, "KartParty: BatchSize too small"); require(_tokenIds.length <= 50, "KartParty: BatchSize exceeds"); for(uint256 i = 0; i<_tokenIds.length; i++) { uint256 _tokenId = _tokenIds[i]; require(_msgSender() == ownerOf(_tokenId), "KartParty: Caller must be owner of token"); require(_eventTokenLock[_event][_tokenId] == 0, "KartParty: Token already locked by current event"); _eventTokenLock[_event][_tokenId] = 1; _lockCounts[_tokenId] += 1; } emit Lock(_event, _tokenIds, _msgSender(), block.timestamp); } /** * event unlock */ function unlockTokenBatch(string calldata _event, uint256[] calldata _tokenIds) external { require(_tokenIds.length > 0, "KartParty: BatchSize too small"); require(_tokenIds.length <= 50, "KartParty: BatchSize exceeds"); for(uint256 i = 0; i<_tokenIds.length; i++) { uint256 _tokenId = _tokenIds[i]; require(_msgSender() == ownerOf(_tokenId) || _msgSender() == operatorAddress, "KartParty: Caller must be owner of token or operator"); require(_eventTokenLock[_event][_tokenId] == 1, "KartParty: Token not locked by current event"); _eventTokenLock[_event][_tokenId] = 0; require(_lockCounts[_tokenId] >= 1, "KartParty: Lock counts error"); _lockCounts[_tokenId] -= 1; } emit Unlock(_event, _tokenIds, _msgSender(), block.timestamp); } function setLockEventState(string calldata _event, uint256 _state) external onlyOwner { _lockEventState[_event] = _state; } function queryTokenBatchLock(string calldata _event, uint256[] calldata _tokenIds) public view returns (uint256[] memory){ uint256[] memory _states = new uint256[](_tokenIds.length); for(uint256 i = 0; i<_tokenIds.length; i++) { _states[i] = _eventTokenLock[_event][_tokenIds[i]]; } return _states; } function queryLockEventState(string calldata _event) public view returns(uint256){ return _lockEventState[_event]; } function queryLockCounts(uint256 _tokenId) public view returns(uint256){ return _lockCounts[_tokenId]; } /** * @inheritdoc IERC2981Upgradeable */ function royaltyInfo(uint256 tokenId, uint256 salePrice) public view virtual override returns (address, uint256) { uint256 royaltyAmount = (salePrice / 100) * 5; return (treasuryAddress, royaltyAmount); } function enumerateTokens() external onlyOwner { require(_enumerated == false, "KartParty: Already enumerate tokens"); _enumerated = true; for (uint256 tokenId = 1; tokenId <= wlSupply; tokenId++) { address addr = _ownerOf(tokenId); if (addr != address(0)) { uint256 idx = 0; while (_ownedTokens[addr][idx] != 0) { idx++; } _ownedTokens[addr][idx] = tokenId; _ownedTokensIndex[tokenId] = idx; } } uint256 treasuryNum = totalSupply - wlSupply; for (uint256 idx = 0; idx < treasuryNum; idx++) { uint256 tokenId = wlSupply + idx + 1; _ownedTokens[treasuryAddress][idx] = tokenId; _ownedTokensIndex[tokenId] = idx; } } function ownTokens(address _address, string calldata _event) public view returns(uint256[] memory, uint256[] memory) { uint256 num = balanceOf(_address); uint256[] memory _tokens = new uint256[](num); uint256[] memory _states = new uint256[](num); for (uint256 i; i < num; i++) { _tokens[i] = _ownedTokens[_address][i]; _states[i] = _eventTokenLock[_event][_tokens[i]]; } return (_tokens, _states); } function _beforeTokenTransfer(address from, address to, uint256 tokenId, uint256 batchSize) internal override { require (_lockCounts[tokenId] == 0, "KartParty: Token locked by event"); // locked super._beforeTokenTransfer(from, to, tokenId, batchSize); if (from != to) { uint256 fromLastTokenIndex = balanceOf(from) - 1; uint256 toTokenLength = balanceOf(to); uint256 tokenIndex = _ownedTokensIndex[tokenId]; if (tokenIndex != fromLastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][fromLastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } delete _ownedTokens[from][fromLastTokenIndex]; _ownedTokens[to][toTokenLength] = tokenId; _ownedTokensIndex[tokenId] = toTokenLength; } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"previousAdmin","type":"address"},{"indexed":false,"internalType":"address","name":"newAdmin","type":"address"}],"name":"AdminChanged","type":"event"},{"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":"beacon","type":"address"}],"name":"BeaconUpgraded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint8","name":"version","type":"uint8"}],"name":"Initialized","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"eventId","type":"string"},{"indexed":false,"internalType":"uint256[]","name":"tokenId","type":"uint256[]"},{"indexed":true,"internalType":"address","name":"by","type":"address"},{"indexed":false,"internalType":"uint256","name":"lockAt","type":"uint256"}],"name":"Lock","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"prevStatus","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newStatus","type":"uint256"},{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"StatusChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"eventId","type":"string"},{"indexed":false,"internalType":"uint256[]","name":"tokenId","type":"uint256[]"},{"indexed":true,"internalType":"address","name":"by","type":"address"},{"indexed":false,"internalType":"uint256","name":"unlockAt","type":"uint256"}],"name":"Unlock","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"implementation","type":"address"}],"name":"Upgraded","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"enumerateTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"initialize","outputs":[],"stateMutability":"nonpayable","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":"string","name":"_event","type":"string"},{"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"}],"name":"lockTokenBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"numToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"operatorAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"string","name":"_event","type":"string"}],"name":"ownTokens","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"},{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"proxiableUUID","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"queryLockCounts","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"_event","type":"string"}],"name":"queryLockEventState","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"_event","type":"string"},{"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"}],"name":"queryTokenBatchLock","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","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":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_event","type":"string"},{"internalType":"uint256","name":"_state","type":"uint256"}],"name":"setLockEventState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_root","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"setOperatorAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_status","type":"uint256"}],"name":"setStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"setTreasuryAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"status","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"treasuryAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_treasury","type":"address"}],"name":"treasuryMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_event","type":"string"},{"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"}],"name":"unlockTokenBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newImplementation","type":"address"}],"name":"upgradeTo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newImplementation","type":"address"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"upgradeToAndCall","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_proof","type":"bytes32[]"}],"name":"wlMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"wlMinted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"wlSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
60a06040523060805234801562000014575f80fd5b506200001f62000025565b620000e3565b5f54610100900460ff1615620000915760405162461bcd60e51b815260206004820152602760248201527f496e697469616c697a61626c653a20636f6e747261637420697320696e697469604482015266616c697a696e6760c81b606482015260840160405180910390fd5b5f5460ff90811614620000e1575f805460ff191660ff9081179091556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b565b608051613cb2620001185f395f8181610cd301528181610d1301528181610e9501528181610ed501526110c60152613cb25ff3fe60806040526004361061025f575f3560e01c806369ba1a751161013f578063a5a1b2ba116100b3578063c5f956af11610078578063c5f956af14610737578063c87b56dd14610757578063c93eff3b14610776578063da29bb0b1461078c578063e985e9c5146107ab578063f2fde38b146107f2575f80fd5b8063a5a1b2ba1461068f578063ace65850146106bb578063b0ea7dcf146106da578063b2a90a7c146106f9578063b88d4fde14610718575f80fd5b80638129fc1c116101045780638129fc1c146105ed5780638d65a35e146106015780638da5cb5b1461062057806395d89b411461063d578063a1e3e25814610651578063a22cb46514610670575f80fd5b806369ba1a751461054457806370a0823114610563578063715018a61461058257806378a92380146105965780637cb64759146105ce575f80fd5b80632eb4a7ab116101d65780634f1ef2861161019b5780634f1ef2861461049357806350554def146104a657806352d1902d146104d357806355f804b3146104e75780636352211e146105065780636605bfda14610525575f80fd5b80632eb4a7ab146103f45780632f1d5a601461040a5780633659cfe61461042957806342842e0e146104485780634e8cb75a14610467575f80fd5b80630fe8418b116102275780630fe8418b14610324578063127effb21461034757806318160ddd1461036c578063200d2ed21461038157806323b872dd146103975780632a55205a146103b6575f80fd5b806301ffc9a71461026357806306a00e131461029757806306fdde03146102ad578063081812fc146102ce578063095ea7b314610305575b5f80fd5b34801561026e575f80fd5b5061028261027d366004613154565b610811565b60405190151581526020015b60405180910390f35b3480156102a2575f80fd5b506102ab610862565b005b3480156102b8575f80fd5b506102c1610a00565b60405161028e91906131bc565b3480156102d9575f80fd5b506102ed6102e83660046131ce565b610a90565b6040516001600160a01b03909116815260200161028e565b348015610310575f80fd5b506102ab61031f366004613200565b610ab5565b34801561032f575f80fd5b506103396101c281565b60405190815260200161028e565b348015610352575f80fd5b50610139546102ed9061010090046001600160a01b031681565b348015610377575f80fd5b506103396102bc81565b34801561038c575f80fd5b506103396101315481565b3480156103a2575f80fd5b506102ab6103b1366004613228565b610bc9565b3480156103c1575f80fd5b506103d56103d0366004613261565b610bfa565b604080516001600160a01b03909316835260208301919091520161028e565b3480156103ff575f80fd5b506103396101335481565b348015610415575f80fd5b506102ab610424366004613281565b610c2d565b348015610434575f80fd5b506102ab610443366004613281565b610cc9565b348015610453575f80fd5b506102ab610462366004613228565b610da6565b348015610472575f80fd5b506104866104813660046132d7565b610dc0565b60405161028e91906133a2565b6102ab6104a136600461346a565b610e8b565b3480156104b1575f80fd5b506104c56104c03660046134b4565b610f56565b60405161028e929190613502565b3480156104de575f80fd5b506103396110ba565b3480156104f2575f80fd5b506102ab610501366004613526565b61116b565b348015610511575f80fd5b506102ed6105203660046131ce565b6111d0565b348015610530575f80fd5b506102ab61053f366004613281565b61122f565b34801561054f575f80fd5b506102ab61055e3660046131ce565b6112c5565b34801561056e575f80fd5b5061033961057d366004613281565b611315565b34801561058d575f80fd5b506102ab611399565b3480156105a1575f80fd5b506102826105b0366004613281565b6001600160a01b03165f90815261012f602052604090205460ff1690565b3480156105d9575f80fd5b506102ab6105e83660046131ce565b6113ac565b3480156105f8575f80fd5b506102ab6113ba565b34801561060c575f80fd5b506102ab61061b3660046132d7565b61153d565b34801561062b575f80fd5b506097546001600160a01b03166102ed565b348015610648575f80fd5b506102c1611849565b34801561065c575f80fd5b506102ab61066b366004613281565b611858565b34801561067b575f80fd5b506102ab61068a36600461356a565b611a8f565b34801561069a575f80fd5b506103396106a93660046131ce565b5f908152610135602052604090205490565b3480156106c6575f80fd5b506102ab6106d53660046132d7565b611a9a565b3480156106e5575f80fd5b506102ab6106f43660046135a3565b611d79565b348015610704575f80fd5b506102ab610713366004613643565b612049565b348015610723575f80fd5b506102ab61073236600461368a565b61207a565b348015610742575f80fd5b50610130546102ed906001600160a01b031681565b348015610762575f80fd5b506102c16107713660046131ce565b6120ac565b348015610781575f80fd5b5061033961012d5481565b348015610797575f80fd5b506103396107a63660046136ed565b6120ff565b3480156107b6575f80fd5b506102826107c536600461372b565b6001600160a01b039182165f908152606a6020908152604080832093909416825291909152205460ff1690565b3480156107fd575f80fd5b506102ab61080c366004613281565b61212a565b5f6001600160e01b031982166380ac58cd60e01b148061084157506001600160e01b03198216635b5e139f60e01b145b8061085c57506301ffc9a760e01b6001600160e01b03198316145b92915050565b61086a6121a0565b6101395460ff16156108cf5760405162461bcd60e51b815260206004820152602360248201527f4b61727450617274793a20416c726561647920656e756d657261746520746f6b604482015262656e7360e81b60648201526084015b60405180910390fd5b610139805460ff191660019081179091555b6101c2811161098a575f818152606760205260409020546001600160a01b03168015610977575f5b6001600160a01b0382165f9081526101376020908152604080832084845290915290205415610944578061093c81613770565b915050610909565b6001600160a01b0382165f9081526101376020908152604080832084845282528083208690558583526101389091529020555b508061098281613770565b9150506108e1565b505f61099a6101c26102bc613788565b90505f5b818110156109fc575f6109b3826101c261379b565b6109be90600161379b565b610130546001600160a01b03165f9081526101376020908152604080832086845282528083208490559282526101389052208290555060010161099e565b5050565b606060658054610a0f906137ae565b80601f0160208091040260200160405190810160405280929190818152602001828054610a3b906137ae565b8015610a865780601f10610a5d57610100808354040283529160200191610a86565b820191905f5260205f20905b815481529060010190602001808311610a6957829003601f168201915b5050505050905090565b5f610a9a826121fa565b505f908152606960205260409020546001600160a01b031690565b5f610abf826111d0565b9050806001600160a01b0316836001600160a01b031603610b2c5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016108c6565b336001600160a01b0382161480610b485750610b4881336107c5565b610bba5760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c00000060648201526084016108c6565b610bc48383612258565b505050565b610bd333826122c5565b610bef5760405162461bcd60e51b81526004016108c6906137e6565b610bc4838383612341565b5f8080610c08606485613833565b610c13906005613852565b610130546001600160a01b031693509150505b9250929050565b610c356121a0565b6001600160a01b038116610ca05760405162461bcd60e51b815260206004820152602c60248201527f4b61727450617274793a206f70657261746f72206d757374206e6f742062652060448201526b7a65726f206164647265737360a01b60648201526084016108c6565b61013980546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b6001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000163003610d115760405162461bcd60e51b81526004016108c690613869565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316610d595f80516020613c36833981519152546001600160a01b031690565b6001600160a01b031614610d7f5760405162461bcd60e51b81526004016108c6906138b5565b610d88816124b0565b604080515f80825260208201909252610da3918391906124b8565b50565b610bc483838360405180602001604052805f81525061207a565b60605f826001600160401b03811115610ddb57610ddb6133b4565b604051908082528060200260200182016040528015610e04578160200160208202803683370190505b5090505f5b83811015610e7f576101368787604051610e24929190613901565b90815260200160405180910390205f868684818110610e4557610e45613910565b9050602002013581526020019081526020015f2054828281518110610e6c57610e6c613910565b6020908102919091010152600101610e09565b5090505b949350505050565b6001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000163003610ed35760405162461bcd60e51b81526004016108c690613869565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316610f1b5f80516020613c36833981519152546001600160a01b031690565b6001600160a01b031614610f415760405162461bcd60e51b81526004016108c6906138b5565b610f4a826124b0565b6109fc828260016124b8565b6060805f610f6386611315565b90505f816001600160401b03811115610f7e57610f7e6133b4565b604051908082528060200260200182016040528015610fa7578160200160208202803683370190505b5090505f826001600160401b03811115610fc357610fc36133b4565b604051908082528060200260200182016040528015610fec578160200160208202803683370190505b5090505f5b838110156110ac576001600160a01b0389165f90815261013760209081526040808320848452909152902054835184908390811061103157611031613910565b6020026020010181815250506101368888604051611050929190613901565b90815260200160405180910390205f84838151811061107157611071613910565b602002602001015181526020019081526020015f205482828151811061109957611099613910565b6020908102919091010152600101610ff1565b509097909650945050505050565b5f306001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146111595760405162461bcd60e51b815260206004820152603860248201527f555550535570677261646561626c653a206d757374206e6f742062652063616c60448201527f6c6564207468726f7567682064656c656761746563616c6c000000000000000060648201526084016108c6565b505f80516020613c3683398151915290565b6111736121a0565b5f8151116111c35760405162461bcd60e51b815260206004820152601960248201527f4b61727450617274793a2077726f6e672062617365207572690000000000000060448201526064016108c6565b6101326109fc828261396f565b5f818152606760205260408120546001600160a01b03168061085c5760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016108c6565b6112376121a0565b6001600160a01b0381166112a25760405162461bcd60e51b815260206004820152602c60248201527f4b61727450617274793a207472656173757279206d757374206e6f742062652060448201526b7a65726f206164647265737360a01b60648201526084016108c6565b61013080546001600160a01b0319166001600160a01b0392909216919091179055565b6112cd6121a0565b610131805490829055604080518281526020810184905233917f5472f38d2c2baa002676092ed6709d865e949a3b59a418c3e74fafa71899cc99910160405180910390a25050565b5f6001600160a01b03821661137e5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b60648201526084016108c6565b506001600160a01b03165f9081526068602052604090205490565b6113a16121a0565b6113aa5f612622565b565b6113b46121a0565b61013355565b5f54610100900460ff16158080156113d857505f54600160ff909116105b806113f15750303b1580156113f157505f5460ff166001145b6114545760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084016108c6565b5f805460ff191660011790558015611475575f805461ff0019166101001790555b6114bf6040518060400160405280600d81526020016c25b0b93a2830b93a3c96aca5ad60991b815250604051806040016040528060038152602001622ca5ad60e91b815250612673565b6114c76126a3565b6114cf6126d1565b61013080546001600160a01b03191673d66c488c87e8a8d918bca904889d08856c6eb9281790558015610da3575f805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a150565b8061158a5760405162461bcd60e51b815260206004820152601e60248201527f4b61727450617274793a20426174636853697a6520746f6f20736d616c6c000060448201526064016108c6565b60328111156115db5760405162461bcd60e51b815260206004820152601c60248201527f4b61727450617274793a20426174636853697a6520657863656564730000000060448201526064016108c6565b5f5b818110156117f9575f8383838181106115f8576115f8613910565b90506020020135905061160a816111d0565b6001600160a01b0316336001600160a01b0316148061164257506101395461010090046001600160a01b0316336001600160a01b0316145b6116ab5760405162461bcd60e51b815260206004820152603460248201527f4b61727450617274793a2043616c6c6572206d757374206265206f776e65722060448201527337b3103a37b5b2b71037b91037b832b930ba37b960611b60648201526084016108c6565b61013686866040516116be929190613901565b90815260200160405180910390205f8281526020019081526020015f20546001146117405760405162461bcd60e51b815260206004820152602c60248201527f4b61727450617274793a20546f6b656e206e6f74206c6f636b6564206279206360448201526b1d5c9c995b9d08195d995b9d60a21b60648201526084016108c6565b5f6101368787604051611754929190613901565b90815260408051602092819003830190205f85815290835281812093909355610135909152902054600111156117cc5760405162461bcd60e51b815260206004820152601c60248201527f4b61727450617274793a204c6f636b20636f756e7473206572726f720000000060448201526064016108c6565b5f818152610135602052604081208054600192906117eb908490613788565b9091555050506001016115dd565b50336001600160a01b03167f0e6a9b542100dff5c1e072c595fc95d46787c6371af93218c380a7dcf53efe4c858585854260405161183b959493929190613a2e565b60405180910390a250505050565b606060668054610a0f906137ae565b6118606121a0565b6001600160a01b0381166118c25760405162461bcd60e51b815260206004820152602360248201527f4b61727450617274793a20496e76616c6964207472656173757279206164647260448201526265737360e81b60648201526084016108c6565b610130546001600160a01b038281169116146119315760405162461bcd60e51b815260206004820152602860248201527f4b61727450617274793a20696e636f6e73697374656e74207472656173757279604482015267206164647265737360c01b60648201526084016108c6565b61013054600160a01b900460ff161561199b5760405162461bcd60e51b815260206004820152602660248201527f4b61727450617274793a20416c72656164792061697264726f7020746f20747260448201526565617375727960d01b60648201526084016108c6565b610130805460ff60a01b1916600160a01b1790556119bd6101c26102bc613788565b6001600160a01b0382165f90815260686020526040812080549091906119e490849061379b565b909155506119f890506101c26102bc613788565b61012d5f828254611a09919061379b565b909155505f9050611a1d6101c2600161379b565b90505b6102bc81116109fc575f8181526067602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a480611a8781613770565b915050611a20565b6109fc3383836126f7565b6101348484604051611aad929190613901565b908152602001604051809103902054600114611b0b5760405162461bcd60e51b815260206004820152601960248201527f4b61727450617274793a204576656e74206e6f74206f70656e0000000000000060448201526064016108c6565b80611b585760405162461bcd60e51b815260206004820152601e60248201527f4b61727450617274793a20426174636853697a6520746f6f20736d616c6c000060448201526064016108c6565b6032811115611ba95760405162461bcd60e51b815260206004820152601c60248201527f4b61727450617274793a20426174636853697a6520657863656564730000000060448201526064016108c6565b5f5b81811015611d37575f838383818110611bc657611bc6613910565b905060200201359050611bd8816111d0565b6001600160a01b0316336001600160a01b031614611c495760405162461bcd60e51b815260206004820152602860248201527f4b61727450617274793a2043616c6c6572206d757374206265206f776e65722060448201526737b3103a37b5b2b760c11b60648201526084016108c6565b6101368686604051611c5c929190613901565b90815260408051602092819003830190205f848152925290205415611cdc5760405162461bcd60e51b815260206004820152603060248201527f4b61727450617274793a20546f6b656e20616c7265616479206c6f636b65642060448201526f189e4818dd5c9c995b9d08195d995b9d60821b60648201526084016108c6565b60016101368787604051611cf1929190613901565b90815260408051602092819003830190205f858152908352818120939093556101359091528120805460019290611d2990849061379b565b909155505050600101611bab565b50336001600160a01b03167ffea44eff610c2922d0be033f0d5754e30414842ab51cea561ee1993e2bf25d46858585854260405161183b959493929190613a2e565b6101c261012e5410611ddd5760405162461bcd60e51b815260206004820152602760248201527f4b61727450617274793a204d61782077686974656c69737420737570706c79206044820152661c995858da195960ca1b60648201526084016108c6565b6102bc61012d5410611e3d5760405162461bcd60e51b815260206004820152602360248201527f4b61727450617274793a204d617820746f74616c20737570706c7920726561636044820152621a195960ea1b60648201526084016108c6565b333214611e9d5760405162461bcd60e51b815260206004820152602860248201527f4b61727450617274793a204d7573742066726f6d207265616c2077616c6c6574604482015267206164647265737360c01b60648201526084016108c6565b6001806101315414611ef15760405162461bcd60e51b815260206004820152601d60248201527f4b61727450617274793a204e6f7420636f72726563742073746174757300000060448201526064016108c6565b335f81815261012f602052604090205460ff1615611f655760405162461bcd60e51b815260206004820152602b60248201527f4b61727450617274793a20416c7265616479206d696e7465642077686974656c60448201526a697374206164647265737360a81b60648201526084016108c6565b611f6f81846127c4565b611fca5760405162461bcd60e51b815260206004820152602660248201527f4b61727450617274793a20496e76616c69642070726f6f6620666f72207768696044820152651d195b1a5cdd60d21b60648201526084016108c6565b5f61012e546001611fdb919061379b565b6001600160a01b0383165f90815261012f60205260408120805460ff1916600190811790915561012e8054939450909290919061201990849061379b565b92505081905550600161012d5f828254612033919061379b565b9091555061204390508282612856565b50505050565b6120516121a0565b806101348484604051612065929190613901565b90815260405190819003602001902055505050565b61208433836122c5565b6120a05760405162461bcd60e51b81526004016108c6906137e6565b6120438484848461286f565b60606120b7826121fa565b5f6120c06128a2565b90506101315460020361085c57806120d7846128b2565b6040516020016120e8929190613a99565b604051602081830303815290604052905092915050565b5f6101348383604051612113929190613901565b908152602001604051809103902054905092915050565b6121326121a0565b6001600160a01b0381166121975760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108c6565b610da381612622565b6097546001600160a01b031633146113aa5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108c6565b5f818152606760205260409020546001600160a01b0316610da35760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016108c6565b5f81815260696020526040902080546001600160a01b0319166001600160a01b038416908117909155819061228c826111d0565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b5f806122d0836111d0565b9050806001600160a01b0316846001600160a01b0316148061231657506001600160a01b038082165f908152606a602090815260408083209388168352929052205460ff165b80610e835750836001600160a01b031661232f84610a90565b6001600160a01b031614949350505050565b826001600160a01b0316612354826111d0565b6001600160a01b03161461237a5760405162461bcd60e51b81526004016108c690613ad4565b6001600160a01b0382166123dc5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016108c6565b6123e98383836001612941565b826001600160a01b03166123fc826111d0565b6001600160a01b0316146124225760405162461bcd60e51b81526004016108c690613ad4565b5f81815260696020908152604080832080546001600160a01b03199081169091556001600160a01b038781168086526068855283862080545f1901905590871680865283862080546001019055868652606790945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b610da36121a0565b7f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd91435460ff16156124eb57610bc483612a7b565b826001600160a01b03166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015612545575060408051601f3d908101601f1916820190925261254291810190613b19565b60015b6125a85760405162461bcd60e51b815260206004820152602e60248201527f45524331393637557067726164653a206e657720696d706c656d656e7461746960448201526d6f6e206973206e6f74205555505360901b60648201526084016108c6565b5f80516020613c3683398151915281146126165760405162461bcd60e51b815260206004820152602960248201527f45524331393637557067726164653a20756e737570706f727465642070726f786044820152681a58589b195555525160ba1b60648201526084016108c6565b50610bc4838383612b16565b609780546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b5f54610100900460ff166126995760405162461bcd60e51b81526004016108c690613b30565b6109fc8282612b3a565b5f54610100900460ff166126c95760405162461bcd60e51b81526004016108c690613b30565b6113aa612b79565b5f54610100900460ff166113aa5760405162461bcd60e51b81526004016108c690613b30565b816001600160a01b0316836001600160a01b0316036127585760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016108c6565b6001600160a01b038381165f818152606a6020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6040516bffffffffffffffffffffffff19606084901b1660208201525f90819060340160408051601f19818403018152828252805160209182012090830181905292505f910160408051601f198184030181528282528051602091820120908301520160405160208183030381529060405280519060200120905061284d846101335483612ba8565b95945050505050565b6109fc828260405180602001604052805f815250612bbd565b61287a848484612341565b61288684848484612bef565b6120435760405162461bcd60e51b81526004016108c690613b7b565b60606101328054610a0f906137ae565b60605f6128be83612ce9565b60010190505f816001600160401b038111156128dc576128dc6133b4565b6040519080825280601f01601f191660200182016040528015612906576020820181803683370190505b5090508181016020015b5f19016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461291057509392505050565b5f82815261013560205260409020541561299d5760405162461bcd60e51b815260206004820181905260248201527f4b61727450617274793a20546f6b656e206c6f636b6564206279206576656e7460448201526064016108c6565b826001600160a01b0316846001600160a01b031614612043575f60016129c286611315565b6129cc9190613788565b90505f6129d885611315565b5f8581526101386020526040902054909150828114612a2c576001600160a01b0387165f90815261013760209081526040808320868452825280832054848452818420819055835261013890915290208190555b506001600160a01b039586165f90815261013760208181526040808420958452948152848320839055969097168152958552818620818752855281862084905592855261013890935250912055565b6001600160a01b0381163b612ae85760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b60648201526084016108c6565b5f80516020613c3683398151915280546001600160a01b0319166001600160a01b0392909216919091179055565b612b1f83612dc0565b5f82511180612b2b5750805b15610bc4576120438383612dff565b5f54610100900460ff16612b605760405162461bcd60e51b81526004016108c690613b30565b6065612b6c838261396f565b506066610bc4828261396f565b5f54610100900460ff16612b9f5760405162461bcd60e51b81526004016108c690613b30565b6113aa33612622565b5f82612bb48584612e2b565b14949350505050565b612bc78383612e6d565b612bd35f848484612bef565b610bc45760405162461bcd60e51b81526004016108c690613b7b565b5f6001600160a01b0384163b15612ce157604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612c32903390899088908890600401613bcd565b6020604051808303815f875af1925050508015612c6c575060408051601f3d908101601f19168201909252612c6991810190613bff565b60015b612cc7573d808015612c99576040519150601f19603f3d011682016040523d82523d5f602084013e612c9e565b606091505b5080515f03612cbf5760405162461bcd60e51b81526004016108c690613b7b565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610e83565b506001610e83565b5f8072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b8310612d275772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310612d53576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310612d7157662386f26fc10000830492506010015b6305f5e1008310612d89576305f5e100830492506008015b6127108310612d9d57612710830492506004015b60648310612daf576064830492506002015b600a831061085c5760010192915050565b612dc981612a7b565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b905f90a250565b6060612e248383604051806060016040528060278152602001613c5660279139613002565b9392505050565b5f81815b8451811015612e6557612e5b82868381518110612e4e57612e4e613910565b6020026020010151613076565b9150600101612e2f565b509392505050565b6001600160a01b038216612ec35760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016108c6565b5f818152606760205260409020546001600160a01b031615612f275760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016108c6565b612f345f83836001612941565b5f818152606760205260409020546001600160a01b031615612f985760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016108c6565b6001600160a01b0382165f81815260686020908152604080832080546001019055848352606790915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60605f80856001600160a01b03168560405161301e9190613c1a565b5f60405180830381855af49150503d805f8114613056576040519150601f19603f3d011682016040523d82523d5f602084013e61305b565b606091505b509150915061306c868383876130a2565b9695505050505050565b5f818310613090575f828152602084905260409020612e24565b5f838152602083905260409020612e24565b606083156131105782515f03613109576001600160a01b0385163b6131095760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016108c6565b5081610e83565b610e8383838151156131255781518083602001fd5b8060405162461bcd60e51b81526004016108c691906131bc565b6001600160e01b031981168114610da3575f80fd5b5f60208284031215613164575f80fd5b8135612e248161313f565b5f5b83811015613189578181015183820152602001613171565b50505f910152565b5f81518084526131a881602086016020860161316f565b601f01601f19169290920160200192915050565b602081525f612e246020830184613191565b5f602082840312156131de575f80fd5b5035919050565b80356001600160a01b03811681146131fb575f80fd5b919050565b5f8060408385031215613211575f80fd5b61321a836131e5565b946020939093013593505050565b5f805f6060848603121561323a575f80fd5b613243846131e5565b9250613251602085016131e5565b9150604084013590509250925092565b5f8060408385031215613272575f80fd5b50508035926020909101359150565b5f60208284031215613291575f80fd5b612e24826131e5565b5f8083601f8401126132aa575f80fd5b5081356001600160401b038111156132c0575f80fd5b602083019150836020828501011115610c26575f80fd5b5f805f80604085870312156132ea575f80fd5b84356001600160401b0380821115613300575f80fd5b61330c8883890161329a565b90965094506020870135915080821115613324575f80fd5b818701915087601f830112613337575f80fd5b813581811115613345575f80fd5b8860208260051b8501011115613359575f80fd5b95989497505060200194505050565b5f815180845260208085019450602084015f5b838110156133975781518752958201959082019060010161337b565b509495945050505050565b602081525f612e246020830184613368565b634e487b7160e01b5f52604160045260245ffd5b604051601f8201601f191681016001600160401b03811182821017156133f0576133f06133b4565b604052919050565b5f6001600160401b03831115613410576134106133b4565b613423601f8401601f19166020016133c8565b9050828152838383011115613436575f80fd5b828260208301375f602084830101529392505050565b5f82601f83011261345b575f80fd5b612e24838335602085016133f8565b5f806040838503121561347b575f80fd5b613484836131e5565b915060208301356001600160401b0381111561349e575f80fd5b6134aa8582860161344c565b9150509250929050565b5f805f604084860312156134c6575f80fd5b6134cf846131e5565b925060208401356001600160401b038111156134e9575f80fd5b6134f58682870161329a565b9497909650939450505050565b604081525f6135146040830185613368565b828103602084015261284d8185613368565b5f60208284031215613536575f80fd5b81356001600160401b0381111561354b575f80fd5b8201601f8101841361355b575f80fd5b610e83848235602084016133f8565b5f806040838503121561357b575f80fd5b613584836131e5565b915060208301358015158114613598575f80fd5b809150509250929050565b5f60208083850312156135b4575f80fd5b82356001600160401b03808211156135ca575f80fd5b818501915085601f8301126135dd575f80fd5b8135818111156135ef576135ef6133b4565b8060051b91506136008483016133c8565b8181529183018401918481019088841115613619575f80fd5b938501935b838510156136375784358252938501939085019061361e565b98975050505050505050565b5f805f60408486031215613655575f80fd5b83356001600160401b0381111561366a575f80fd5b6136768682870161329a565b909790965060209590950135949350505050565b5f805f806080858703121561369d575f80fd5b6136a6856131e5565b93506136b4602086016131e5565b92506040850135915060608501356001600160401b038111156136d5575f80fd5b6136e18782880161344c565b91505092959194509250565b5f80602083850312156136fe575f80fd5b82356001600160401b03811115613713575f80fd5b61371f8582860161329a565b90969095509350505050565b5f806040838503121561373c575f80fd5b613745836131e5565b9150613753602084016131e5565b90509250929050565b634e487b7160e01b5f52601160045260245ffd5b5f600182016137815761378161375c565b5060010190565b8181038181111561085c5761085c61375c565b8082018082111561085c5761085c61375c565b600181811c908216806137c257607f821691505b6020821081036137e057634e487b7160e01b5f52602260045260245ffd5b50919050565b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b5f8261384d57634e487b7160e01b5f52601260045260245ffd5b500490565b808202811582820484141761085c5761085c61375c565b6020808252602c908201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060408201526b19195b1959d85d1958d85b1b60a21b606082015260800190565b6020808252602c908201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060408201526b6163746976652070726f787960a01b606082015260800190565b818382375f9101908152919050565b634e487b7160e01b5f52603260045260245ffd5b601f821115610bc457805f5260205f20601f840160051c810160208510156139495750805b601f840160051c820191505b81811015613968575f8155600101613955565b5050505050565b81516001600160401b03811115613988576139886133b4565b61399c8161399684546137ae565b84613924565b602080601f8311600181146139cf575f84156139b85750858301515b5f19600386901b1c1916600185901b178555613a26565b5f85815260208120601f198616915b828110156139fd578886015182559484019460019091019084016139de565b5085821015613a1a57878501515f19600388901b60f8161c191681555b505060018460011b0185555b505050505050565b60608152846060820152848660808301375f60808683018101829052601f19601f8801168301838103820160208501529081018590526001600160fb1b03851115613a77575f80fd5b8460051b808760a084013760409390930193909352500160a001949350505050565b5f8351613aaa81846020880161316f565b602f60f81b9083019081528351613ac881600184016020880161316f565b01600101949350505050565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b5f60208284031215613b29575f80fd5b5051919050565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6001600160a01b03858116825284166020820152604081018390526080606082018190525f9061306c90830184613191565b5f60208284031215613c0f575f80fd5b8151612e248161313f565b5f8251613c2b81846020870161316f565b919091019291505056fe360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a2646970667358221220661eb1c6dd5735e0b0b859d6bd0d5b0880d7e0aa6c956c2c4f24689552779b9a64736f6c63430008160033
Deployed Bytecode
0x60806040526004361061025f575f3560e01c806369ba1a751161013f578063a5a1b2ba116100b3578063c5f956af11610078578063c5f956af14610737578063c87b56dd14610757578063c93eff3b14610776578063da29bb0b1461078c578063e985e9c5146107ab578063f2fde38b146107f2575f80fd5b8063a5a1b2ba1461068f578063ace65850146106bb578063b0ea7dcf146106da578063b2a90a7c146106f9578063b88d4fde14610718575f80fd5b80638129fc1c116101045780638129fc1c146105ed5780638d65a35e146106015780638da5cb5b1461062057806395d89b411461063d578063a1e3e25814610651578063a22cb46514610670575f80fd5b806369ba1a751461054457806370a0823114610563578063715018a61461058257806378a92380146105965780637cb64759146105ce575f80fd5b80632eb4a7ab116101d65780634f1ef2861161019b5780634f1ef2861461049357806350554def146104a657806352d1902d146104d357806355f804b3146104e75780636352211e146105065780636605bfda14610525575f80fd5b80632eb4a7ab146103f45780632f1d5a601461040a5780633659cfe61461042957806342842e0e146104485780634e8cb75a14610467575f80fd5b80630fe8418b116102275780630fe8418b14610324578063127effb21461034757806318160ddd1461036c578063200d2ed21461038157806323b872dd146103975780632a55205a146103b6575f80fd5b806301ffc9a71461026357806306a00e131461029757806306fdde03146102ad578063081812fc146102ce578063095ea7b314610305575b5f80fd5b34801561026e575f80fd5b5061028261027d366004613154565b610811565b60405190151581526020015b60405180910390f35b3480156102a2575f80fd5b506102ab610862565b005b3480156102b8575f80fd5b506102c1610a00565b60405161028e91906131bc565b3480156102d9575f80fd5b506102ed6102e83660046131ce565b610a90565b6040516001600160a01b03909116815260200161028e565b348015610310575f80fd5b506102ab61031f366004613200565b610ab5565b34801561032f575f80fd5b506103396101c281565b60405190815260200161028e565b348015610352575f80fd5b50610139546102ed9061010090046001600160a01b031681565b348015610377575f80fd5b506103396102bc81565b34801561038c575f80fd5b506103396101315481565b3480156103a2575f80fd5b506102ab6103b1366004613228565b610bc9565b3480156103c1575f80fd5b506103d56103d0366004613261565b610bfa565b604080516001600160a01b03909316835260208301919091520161028e565b3480156103ff575f80fd5b506103396101335481565b348015610415575f80fd5b506102ab610424366004613281565b610c2d565b348015610434575f80fd5b506102ab610443366004613281565b610cc9565b348015610453575f80fd5b506102ab610462366004613228565b610da6565b348015610472575f80fd5b506104866104813660046132d7565b610dc0565b60405161028e91906133a2565b6102ab6104a136600461346a565b610e8b565b3480156104b1575f80fd5b506104c56104c03660046134b4565b610f56565b60405161028e929190613502565b3480156104de575f80fd5b506103396110ba565b3480156104f2575f80fd5b506102ab610501366004613526565b61116b565b348015610511575f80fd5b506102ed6105203660046131ce565b6111d0565b348015610530575f80fd5b506102ab61053f366004613281565b61122f565b34801561054f575f80fd5b506102ab61055e3660046131ce565b6112c5565b34801561056e575f80fd5b5061033961057d366004613281565b611315565b34801561058d575f80fd5b506102ab611399565b3480156105a1575f80fd5b506102826105b0366004613281565b6001600160a01b03165f90815261012f602052604090205460ff1690565b3480156105d9575f80fd5b506102ab6105e83660046131ce565b6113ac565b3480156105f8575f80fd5b506102ab6113ba565b34801561060c575f80fd5b506102ab61061b3660046132d7565b61153d565b34801561062b575f80fd5b506097546001600160a01b03166102ed565b348015610648575f80fd5b506102c1611849565b34801561065c575f80fd5b506102ab61066b366004613281565b611858565b34801561067b575f80fd5b506102ab61068a36600461356a565b611a8f565b34801561069a575f80fd5b506103396106a93660046131ce565b5f908152610135602052604090205490565b3480156106c6575f80fd5b506102ab6106d53660046132d7565b611a9a565b3480156106e5575f80fd5b506102ab6106f43660046135a3565b611d79565b348015610704575f80fd5b506102ab610713366004613643565b612049565b348015610723575f80fd5b506102ab61073236600461368a565b61207a565b348015610742575f80fd5b50610130546102ed906001600160a01b031681565b348015610762575f80fd5b506102c16107713660046131ce565b6120ac565b348015610781575f80fd5b5061033961012d5481565b348015610797575f80fd5b506103396107a63660046136ed565b6120ff565b3480156107b6575f80fd5b506102826107c536600461372b565b6001600160a01b039182165f908152606a6020908152604080832093909416825291909152205460ff1690565b3480156107fd575f80fd5b506102ab61080c366004613281565b61212a565b5f6001600160e01b031982166380ac58cd60e01b148061084157506001600160e01b03198216635b5e139f60e01b145b8061085c57506301ffc9a760e01b6001600160e01b03198316145b92915050565b61086a6121a0565b6101395460ff16156108cf5760405162461bcd60e51b815260206004820152602360248201527f4b61727450617274793a20416c726561647920656e756d657261746520746f6b604482015262656e7360e81b60648201526084015b60405180910390fd5b610139805460ff191660019081179091555b6101c2811161098a575f818152606760205260409020546001600160a01b03168015610977575f5b6001600160a01b0382165f9081526101376020908152604080832084845290915290205415610944578061093c81613770565b915050610909565b6001600160a01b0382165f9081526101376020908152604080832084845282528083208690558583526101389091529020555b508061098281613770565b9150506108e1565b505f61099a6101c26102bc613788565b90505f5b818110156109fc575f6109b3826101c261379b565b6109be90600161379b565b610130546001600160a01b03165f9081526101376020908152604080832086845282528083208490559282526101389052208290555060010161099e565b5050565b606060658054610a0f906137ae565b80601f0160208091040260200160405190810160405280929190818152602001828054610a3b906137ae565b8015610a865780601f10610a5d57610100808354040283529160200191610a86565b820191905f5260205f20905b815481529060010190602001808311610a6957829003601f168201915b5050505050905090565b5f610a9a826121fa565b505f908152606960205260409020546001600160a01b031690565b5f610abf826111d0565b9050806001600160a01b0316836001600160a01b031603610b2c5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016108c6565b336001600160a01b0382161480610b485750610b4881336107c5565b610bba5760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c00000060648201526084016108c6565b610bc48383612258565b505050565b610bd333826122c5565b610bef5760405162461bcd60e51b81526004016108c6906137e6565b610bc4838383612341565b5f8080610c08606485613833565b610c13906005613852565b610130546001600160a01b031693509150505b9250929050565b610c356121a0565b6001600160a01b038116610ca05760405162461bcd60e51b815260206004820152602c60248201527f4b61727450617274793a206f70657261746f72206d757374206e6f742062652060448201526b7a65726f206164647265737360a01b60648201526084016108c6565b61013980546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b6001600160a01b037f00000000000000000000000074f207f5beea155b0d58e108965f8d24687f9b11163003610d115760405162461bcd60e51b81526004016108c690613869565b7f00000000000000000000000074f207f5beea155b0d58e108965f8d24687f9b116001600160a01b0316610d595f80516020613c36833981519152546001600160a01b031690565b6001600160a01b031614610d7f5760405162461bcd60e51b81526004016108c6906138b5565b610d88816124b0565b604080515f80825260208201909252610da3918391906124b8565b50565b610bc483838360405180602001604052805f81525061207a565b60605f826001600160401b03811115610ddb57610ddb6133b4565b604051908082528060200260200182016040528015610e04578160200160208202803683370190505b5090505f5b83811015610e7f576101368787604051610e24929190613901565b90815260200160405180910390205f868684818110610e4557610e45613910565b9050602002013581526020019081526020015f2054828281518110610e6c57610e6c613910565b6020908102919091010152600101610e09565b5090505b949350505050565b6001600160a01b037f00000000000000000000000074f207f5beea155b0d58e108965f8d24687f9b11163003610ed35760405162461bcd60e51b81526004016108c690613869565b7f00000000000000000000000074f207f5beea155b0d58e108965f8d24687f9b116001600160a01b0316610f1b5f80516020613c36833981519152546001600160a01b031690565b6001600160a01b031614610f415760405162461bcd60e51b81526004016108c6906138b5565b610f4a826124b0565b6109fc828260016124b8565b6060805f610f6386611315565b90505f816001600160401b03811115610f7e57610f7e6133b4565b604051908082528060200260200182016040528015610fa7578160200160208202803683370190505b5090505f826001600160401b03811115610fc357610fc36133b4565b604051908082528060200260200182016040528015610fec578160200160208202803683370190505b5090505f5b838110156110ac576001600160a01b0389165f90815261013760209081526040808320848452909152902054835184908390811061103157611031613910565b6020026020010181815250506101368888604051611050929190613901565b90815260200160405180910390205f84838151811061107157611071613910565b602002602001015181526020019081526020015f205482828151811061109957611099613910565b6020908102919091010152600101610ff1565b509097909650945050505050565b5f306001600160a01b037f00000000000000000000000074f207f5beea155b0d58e108965f8d24687f9b1116146111595760405162461bcd60e51b815260206004820152603860248201527f555550535570677261646561626c653a206d757374206e6f742062652063616c60448201527f6c6564207468726f7567682064656c656761746563616c6c000000000000000060648201526084016108c6565b505f80516020613c3683398151915290565b6111736121a0565b5f8151116111c35760405162461bcd60e51b815260206004820152601960248201527f4b61727450617274793a2077726f6e672062617365207572690000000000000060448201526064016108c6565b6101326109fc828261396f565b5f818152606760205260408120546001600160a01b03168061085c5760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016108c6565b6112376121a0565b6001600160a01b0381166112a25760405162461bcd60e51b815260206004820152602c60248201527f4b61727450617274793a207472656173757279206d757374206e6f742062652060448201526b7a65726f206164647265737360a01b60648201526084016108c6565b61013080546001600160a01b0319166001600160a01b0392909216919091179055565b6112cd6121a0565b610131805490829055604080518281526020810184905233917f5472f38d2c2baa002676092ed6709d865e949a3b59a418c3e74fafa71899cc99910160405180910390a25050565b5f6001600160a01b03821661137e5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b60648201526084016108c6565b506001600160a01b03165f9081526068602052604090205490565b6113a16121a0565b6113aa5f612622565b565b6113b46121a0565b61013355565b5f54610100900460ff16158080156113d857505f54600160ff909116105b806113f15750303b1580156113f157505f5460ff166001145b6114545760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084016108c6565b5f805460ff191660011790558015611475575f805461ff0019166101001790555b6114bf6040518060400160405280600d81526020016c25b0b93a2830b93a3c96aca5ad60991b815250604051806040016040528060038152602001622ca5ad60e91b815250612673565b6114c76126a3565b6114cf6126d1565b61013080546001600160a01b03191673d66c488c87e8a8d918bca904889d08856c6eb9281790558015610da3575f805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a150565b8061158a5760405162461bcd60e51b815260206004820152601e60248201527f4b61727450617274793a20426174636853697a6520746f6f20736d616c6c000060448201526064016108c6565b60328111156115db5760405162461bcd60e51b815260206004820152601c60248201527f4b61727450617274793a20426174636853697a6520657863656564730000000060448201526064016108c6565b5f5b818110156117f9575f8383838181106115f8576115f8613910565b90506020020135905061160a816111d0565b6001600160a01b0316336001600160a01b0316148061164257506101395461010090046001600160a01b0316336001600160a01b0316145b6116ab5760405162461bcd60e51b815260206004820152603460248201527f4b61727450617274793a2043616c6c6572206d757374206265206f776e65722060448201527337b3103a37b5b2b71037b91037b832b930ba37b960611b60648201526084016108c6565b61013686866040516116be929190613901565b90815260200160405180910390205f8281526020019081526020015f20546001146117405760405162461bcd60e51b815260206004820152602c60248201527f4b61727450617274793a20546f6b656e206e6f74206c6f636b6564206279206360448201526b1d5c9c995b9d08195d995b9d60a21b60648201526084016108c6565b5f6101368787604051611754929190613901565b90815260408051602092819003830190205f85815290835281812093909355610135909152902054600111156117cc5760405162461bcd60e51b815260206004820152601c60248201527f4b61727450617274793a204c6f636b20636f756e7473206572726f720000000060448201526064016108c6565b5f818152610135602052604081208054600192906117eb908490613788565b9091555050506001016115dd565b50336001600160a01b03167f0e6a9b542100dff5c1e072c595fc95d46787c6371af93218c380a7dcf53efe4c858585854260405161183b959493929190613a2e565b60405180910390a250505050565b606060668054610a0f906137ae565b6118606121a0565b6001600160a01b0381166118c25760405162461bcd60e51b815260206004820152602360248201527f4b61727450617274793a20496e76616c6964207472656173757279206164647260448201526265737360e81b60648201526084016108c6565b610130546001600160a01b038281169116146119315760405162461bcd60e51b815260206004820152602860248201527f4b61727450617274793a20696e636f6e73697374656e74207472656173757279604482015267206164647265737360c01b60648201526084016108c6565b61013054600160a01b900460ff161561199b5760405162461bcd60e51b815260206004820152602660248201527f4b61727450617274793a20416c72656164792061697264726f7020746f20747260448201526565617375727960d01b60648201526084016108c6565b610130805460ff60a01b1916600160a01b1790556119bd6101c26102bc613788565b6001600160a01b0382165f90815260686020526040812080549091906119e490849061379b565b909155506119f890506101c26102bc613788565b61012d5f828254611a09919061379b565b909155505f9050611a1d6101c2600161379b565b90505b6102bc81116109fc575f8181526067602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a480611a8781613770565b915050611a20565b6109fc3383836126f7565b6101348484604051611aad929190613901565b908152602001604051809103902054600114611b0b5760405162461bcd60e51b815260206004820152601960248201527f4b61727450617274793a204576656e74206e6f74206f70656e0000000000000060448201526064016108c6565b80611b585760405162461bcd60e51b815260206004820152601e60248201527f4b61727450617274793a20426174636853697a6520746f6f20736d616c6c000060448201526064016108c6565b6032811115611ba95760405162461bcd60e51b815260206004820152601c60248201527f4b61727450617274793a20426174636853697a6520657863656564730000000060448201526064016108c6565b5f5b81811015611d37575f838383818110611bc657611bc6613910565b905060200201359050611bd8816111d0565b6001600160a01b0316336001600160a01b031614611c495760405162461bcd60e51b815260206004820152602860248201527f4b61727450617274793a2043616c6c6572206d757374206265206f776e65722060448201526737b3103a37b5b2b760c11b60648201526084016108c6565b6101368686604051611c5c929190613901565b90815260408051602092819003830190205f848152925290205415611cdc5760405162461bcd60e51b815260206004820152603060248201527f4b61727450617274793a20546f6b656e20616c7265616479206c6f636b65642060448201526f189e4818dd5c9c995b9d08195d995b9d60821b60648201526084016108c6565b60016101368787604051611cf1929190613901565b90815260408051602092819003830190205f858152908352818120939093556101359091528120805460019290611d2990849061379b565b909155505050600101611bab565b50336001600160a01b03167ffea44eff610c2922d0be033f0d5754e30414842ab51cea561ee1993e2bf25d46858585854260405161183b959493929190613a2e565b6101c261012e5410611ddd5760405162461bcd60e51b815260206004820152602760248201527f4b61727450617274793a204d61782077686974656c69737420737570706c79206044820152661c995858da195960ca1b60648201526084016108c6565b6102bc61012d5410611e3d5760405162461bcd60e51b815260206004820152602360248201527f4b61727450617274793a204d617820746f74616c20737570706c7920726561636044820152621a195960ea1b60648201526084016108c6565b333214611e9d5760405162461bcd60e51b815260206004820152602860248201527f4b61727450617274793a204d7573742066726f6d207265616c2077616c6c6574604482015267206164647265737360c01b60648201526084016108c6565b6001806101315414611ef15760405162461bcd60e51b815260206004820152601d60248201527f4b61727450617274793a204e6f7420636f72726563742073746174757300000060448201526064016108c6565b335f81815261012f602052604090205460ff1615611f655760405162461bcd60e51b815260206004820152602b60248201527f4b61727450617274793a20416c7265616479206d696e7465642077686974656c60448201526a697374206164647265737360a81b60648201526084016108c6565b611f6f81846127c4565b611fca5760405162461bcd60e51b815260206004820152602660248201527f4b61727450617274793a20496e76616c69642070726f6f6620666f72207768696044820152651d195b1a5cdd60d21b60648201526084016108c6565b5f61012e546001611fdb919061379b565b6001600160a01b0383165f90815261012f60205260408120805460ff1916600190811790915561012e8054939450909290919061201990849061379b565b92505081905550600161012d5f828254612033919061379b565b9091555061204390508282612856565b50505050565b6120516121a0565b806101348484604051612065929190613901565b90815260405190819003602001902055505050565b61208433836122c5565b6120a05760405162461bcd60e51b81526004016108c6906137e6565b6120438484848461286f565b60606120b7826121fa565b5f6120c06128a2565b90506101315460020361085c57806120d7846128b2565b6040516020016120e8929190613a99565b604051602081830303815290604052905092915050565b5f6101348383604051612113929190613901565b908152602001604051809103902054905092915050565b6121326121a0565b6001600160a01b0381166121975760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108c6565b610da381612622565b6097546001600160a01b031633146113aa5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108c6565b5f818152606760205260409020546001600160a01b0316610da35760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016108c6565b5f81815260696020526040902080546001600160a01b0319166001600160a01b038416908117909155819061228c826111d0565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b5f806122d0836111d0565b9050806001600160a01b0316846001600160a01b0316148061231657506001600160a01b038082165f908152606a602090815260408083209388168352929052205460ff165b80610e835750836001600160a01b031661232f84610a90565b6001600160a01b031614949350505050565b826001600160a01b0316612354826111d0565b6001600160a01b03161461237a5760405162461bcd60e51b81526004016108c690613ad4565b6001600160a01b0382166123dc5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016108c6565b6123e98383836001612941565b826001600160a01b03166123fc826111d0565b6001600160a01b0316146124225760405162461bcd60e51b81526004016108c690613ad4565b5f81815260696020908152604080832080546001600160a01b03199081169091556001600160a01b038781168086526068855283862080545f1901905590871680865283862080546001019055868652606790945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b610da36121a0565b7f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd91435460ff16156124eb57610bc483612a7b565b826001600160a01b03166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015612545575060408051601f3d908101601f1916820190925261254291810190613b19565b60015b6125a85760405162461bcd60e51b815260206004820152602e60248201527f45524331393637557067726164653a206e657720696d706c656d656e7461746960448201526d6f6e206973206e6f74205555505360901b60648201526084016108c6565b5f80516020613c3683398151915281146126165760405162461bcd60e51b815260206004820152602960248201527f45524331393637557067726164653a20756e737570706f727465642070726f786044820152681a58589b195555525160ba1b60648201526084016108c6565b50610bc4838383612b16565b609780546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b5f54610100900460ff166126995760405162461bcd60e51b81526004016108c690613b30565b6109fc8282612b3a565b5f54610100900460ff166126c95760405162461bcd60e51b81526004016108c690613b30565b6113aa612b79565b5f54610100900460ff166113aa5760405162461bcd60e51b81526004016108c690613b30565b816001600160a01b0316836001600160a01b0316036127585760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016108c6565b6001600160a01b038381165f818152606a6020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6040516bffffffffffffffffffffffff19606084901b1660208201525f90819060340160408051601f19818403018152828252805160209182012090830181905292505f910160408051601f198184030181528282528051602091820120908301520160405160208183030381529060405280519060200120905061284d846101335483612ba8565b95945050505050565b6109fc828260405180602001604052805f815250612bbd565b61287a848484612341565b61288684848484612bef565b6120435760405162461bcd60e51b81526004016108c690613b7b565b60606101328054610a0f906137ae565b60605f6128be83612ce9565b60010190505f816001600160401b038111156128dc576128dc6133b4565b6040519080825280601f01601f191660200182016040528015612906576020820181803683370190505b5090508181016020015b5f19016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461291057509392505050565b5f82815261013560205260409020541561299d5760405162461bcd60e51b815260206004820181905260248201527f4b61727450617274793a20546f6b656e206c6f636b6564206279206576656e7460448201526064016108c6565b826001600160a01b0316846001600160a01b031614612043575f60016129c286611315565b6129cc9190613788565b90505f6129d885611315565b5f8581526101386020526040902054909150828114612a2c576001600160a01b0387165f90815261013760209081526040808320868452825280832054848452818420819055835261013890915290208190555b506001600160a01b039586165f90815261013760208181526040808420958452948152848320839055969097168152958552818620818752855281862084905592855261013890935250912055565b6001600160a01b0381163b612ae85760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b60648201526084016108c6565b5f80516020613c3683398151915280546001600160a01b0319166001600160a01b0392909216919091179055565b612b1f83612dc0565b5f82511180612b2b5750805b15610bc4576120438383612dff565b5f54610100900460ff16612b605760405162461bcd60e51b81526004016108c690613b30565b6065612b6c838261396f565b506066610bc4828261396f565b5f54610100900460ff16612b9f5760405162461bcd60e51b81526004016108c690613b30565b6113aa33612622565b5f82612bb48584612e2b565b14949350505050565b612bc78383612e6d565b612bd35f848484612bef565b610bc45760405162461bcd60e51b81526004016108c690613b7b565b5f6001600160a01b0384163b15612ce157604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612c32903390899088908890600401613bcd565b6020604051808303815f875af1925050508015612c6c575060408051601f3d908101601f19168201909252612c6991810190613bff565b60015b612cc7573d808015612c99576040519150601f19603f3d011682016040523d82523d5f602084013e612c9e565b606091505b5080515f03612cbf5760405162461bcd60e51b81526004016108c690613b7b565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610e83565b506001610e83565b5f8072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b8310612d275772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310612d53576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310612d7157662386f26fc10000830492506010015b6305f5e1008310612d89576305f5e100830492506008015b6127108310612d9d57612710830492506004015b60648310612daf576064830492506002015b600a831061085c5760010192915050565b612dc981612a7b565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b905f90a250565b6060612e248383604051806060016040528060278152602001613c5660279139613002565b9392505050565b5f81815b8451811015612e6557612e5b82868381518110612e4e57612e4e613910565b6020026020010151613076565b9150600101612e2f565b509392505050565b6001600160a01b038216612ec35760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016108c6565b5f818152606760205260409020546001600160a01b031615612f275760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016108c6565b612f345f83836001612941565b5f818152606760205260409020546001600160a01b031615612f985760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016108c6565b6001600160a01b0382165f81815260686020908152604080832080546001019055848352606790915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60605f80856001600160a01b03168560405161301e9190613c1a565b5f60405180830381855af49150503d805f8114613056576040519150601f19603f3d011682016040523d82523d5f602084013e61305b565b606091505b509150915061306c868383876130a2565b9695505050505050565b5f818310613090575f828152602084905260409020612e24565b5f838152602083905260409020612e24565b606083156131105782515f03613109576001600160a01b0385163b6131095760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016108c6565b5081610e83565b610e8383838151156131255781518083602001fd5b8060405162461bcd60e51b81526004016108c691906131bc565b6001600160e01b031981168114610da3575f80fd5b5f60208284031215613164575f80fd5b8135612e248161313f565b5f5b83811015613189578181015183820152602001613171565b50505f910152565b5f81518084526131a881602086016020860161316f565b601f01601f19169290920160200192915050565b602081525f612e246020830184613191565b5f602082840312156131de575f80fd5b5035919050565b80356001600160a01b03811681146131fb575f80fd5b919050565b5f8060408385031215613211575f80fd5b61321a836131e5565b946020939093013593505050565b5f805f6060848603121561323a575f80fd5b613243846131e5565b9250613251602085016131e5565b9150604084013590509250925092565b5f8060408385031215613272575f80fd5b50508035926020909101359150565b5f60208284031215613291575f80fd5b612e24826131e5565b5f8083601f8401126132aa575f80fd5b5081356001600160401b038111156132c0575f80fd5b602083019150836020828501011115610c26575f80fd5b5f805f80604085870312156132ea575f80fd5b84356001600160401b0380821115613300575f80fd5b61330c8883890161329a565b90965094506020870135915080821115613324575f80fd5b818701915087601f830112613337575f80fd5b813581811115613345575f80fd5b8860208260051b8501011115613359575f80fd5b95989497505060200194505050565b5f815180845260208085019450602084015f5b838110156133975781518752958201959082019060010161337b565b509495945050505050565b602081525f612e246020830184613368565b634e487b7160e01b5f52604160045260245ffd5b604051601f8201601f191681016001600160401b03811182821017156133f0576133f06133b4565b604052919050565b5f6001600160401b03831115613410576134106133b4565b613423601f8401601f19166020016133c8565b9050828152838383011115613436575f80fd5b828260208301375f602084830101529392505050565b5f82601f83011261345b575f80fd5b612e24838335602085016133f8565b5f806040838503121561347b575f80fd5b613484836131e5565b915060208301356001600160401b0381111561349e575f80fd5b6134aa8582860161344c565b9150509250929050565b5f805f604084860312156134c6575f80fd5b6134cf846131e5565b925060208401356001600160401b038111156134e9575f80fd5b6134f58682870161329a565b9497909650939450505050565b604081525f6135146040830185613368565b828103602084015261284d8185613368565b5f60208284031215613536575f80fd5b81356001600160401b0381111561354b575f80fd5b8201601f8101841361355b575f80fd5b610e83848235602084016133f8565b5f806040838503121561357b575f80fd5b613584836131e5565b915060208301358015158114613598575f80fd5b809150509250929050565b5f60208083850312156135b4575f80fd5b82356001600160401b03808211156135ca575f80fd5b818501915085601f8301126135dd575f80fd5b8135818111156135ef576135ef6133b4565b8060051b91506136008483016133c8565b8181529183018401918481019088841115613619575f80fd5b938501935b838510156136375784358252938501939085019061361e565b98975050505050505050565b5f805f60408486031215613655575f80fd5b83356001600160401b0381111561366a575f80fd5b6136768682870161329a565b909790965060209590950135949350505050565b5f805f806080858703121561369d575f80fd5b6136a6856131e5565b93506136b4602086016131e5565b92506040850135915060608501356001600160401b038111156136d5575f80fd5b6136e18782880161344c565b91505092959194509250565b5f80602083850312156136fe575f80fd5b82356001600160401b03811115613713575f80fd5b61371f8582860161329a565b90969095509350505050565b5f806040838503121561373c575f80fd5b613745836131e5565b9150613753602084016131e5565b90509250929050565b634e487b7160e01b5f52601160045260245ffd5b5f600182016137815761378161375c565b5060010190565b8181038181111561085c5761085c61375c565b8082018082111561085c5761085c61375c565b600181811c908216806137c257607f821691505b6020821081036137e057634e487b7160e01b5f52602260045260245ffd5b50919050565b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b5f8261384d57634e487b7160e01b5f52601260045260245ffd5b500490565b808202811582820484141761085c5761085c61375c565b6020808252602c908201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060408201526b19195b1959d85d1958d85b1b60a21b606082015260800190565b6020808252602c908201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060408201526b6163746976652070726f787960a01b606082015260800190565b818382375f9101908152919050565b634e487b7160e01b5f52603260045260245ffd5b601f821115610bc457805f5260205f20601f840160051c810160208510156139495750805b601f840160051c820191505b81811015613968575f8155600101613955565b5050505050565b81516001600160401b03811115613988576139886133b4565b61399c8161399684546137ae565b84613924565b602080601f8311600181146139cf575f84156139b85750858301515b5f19600386901b1c1916600185901b178555613a26565b5f85815260208120601f198616915b828110156139fd578886015182559484019460019091019084016139de565b5085821015613a1a57878501515f19600388901b60f8161c191681555b505060018460011b0185555b505050505050565b60608152846060820152848660808301375f60808683018101829052601f19601f8801168301838103820160208501529081018590526001600160fb1b03851115613a77575f80fd5b8460051b808760a084013760409390930193909352500160a001949350505050565b5f8351613aaa81846020880161316f565b602f60f81b9083019081528351613ac881600184016020880161316f565b01600101949350505050565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b5f60208284031215613b29575f80fd5b5051919050565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6001600160a01b03858116825284166020820152604081018390526080606082018190525f9061306c90830184613191565b5f60208284031215613c0f575f80fd5b8151612e248161313f565b5f8251613c2b81846020870161316f565b919091019291505056fe360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a2646970667358221220661eb1c6dd5735e0b0b859d6bd0d5b0880d7e0aa6c956c2c4f24689552779b9a64736f6c63430008160033
Deployed Bytecode Sourcemap
95173:10736:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;78788:349;;;;;;;;;;-1:-1:-1;78788:349:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;78788:349:0;;;;;;;;103478:867;;;;;;;;;;;;;:::i;:::-;;79760:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;81283:171::-;;;;;;;;;;-1:-1:-1;81283:171:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1697:32:1;;;1679:51;;1667:2;1652:18;81283:171:0;1533:203:1;80790:427:0;;;;;;;;;;-1:-1:-1;80790:427:0;;;;;:::i;:::-;;:::i;95418:38::-;;;;;;;;;;;;95453:3;95418:38;;;;;2324:25:1;;;2312:2;2297:18;95418:38:0;2178:177:1;96649:30:0;;;;;;;;;;-1:-1:-1;96649:30:0;;;;;;;-1:-1:-1;;;;;96649:30:0;;;95370:41;;;;;;;;;;;;95408:3;95370:41;;95625:21;;;;;;;;;;;;;;;;81983:301;;;;;;;;;;-1:-1:-1;81983:301:0;;;;;:::i;:::-;;:::i;103241:229::-;;;;;;;;;;-1:-1:-1;103241:229:0;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;3138:32:1;;;3120:51;;3202:2;3187:18;;3180:34;;;;3093:18;103241:229:0;2946:274:1;95807:25:0;;;;;;;;;;;;;;;;100438:198;;;;;;;;;;-1:-1:-1;100438:198:0;;;;;:::i;:::-;;:::i;60534:::-;;;;;;;;;;-1:-1:-1;60534:198:0;;;;;:::i;:::-;;:::i;82355:151::-;;;;;;;;;;-1:-1:-1;82355:151:0;;;;;:::i;:::-;;:::i;102557:354::-;;;;;;;;;;-1:-1:-1;102557:354:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;61063:223::-;;;;;;:::i;:::-;;:::i;104353:485::-;;;;;;;;;;-1:-1:-1;104353:485:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;;:::i;60140:133::-;;;;;;;;;;;;;:::i;97645:159::-;;;;;;;;;;-1:-1:-1;97645:159:0;;;;;:::i;:::-;;:::i;79470:223::-;;;;;;;;;;-1:-1:-1;79470:223:0;;;;;:::i;:::-;;:::i;98479:198::-;;;;;;;;;;-1:-1:-1;98479:198:0;;;;;:::i;:::-;;:::i;98128:189::-;;;;;;;;;;-1:-1:-1;98128:189:0;;;;;:::i;:::-;;:::i;79201:207::-;;;;;;;;;;-1:-1:-1;79201:207:0;;;;;:::i;:::-;;:::i;65561:103::-;;;;;;;;;;;;;:::i;98685:107::-;;;;;;;;;;-1:-1:-1;98685:107:0;;;;;:::i;:::-;-1:-1:-1;;;;;98765:19:0;98741:4;98765:19;;;:9;:19;;;;;;;;;98685:107;98325:146;;;;;;;;;;-1:-1:-1;98325:146:0;;;;;:::i;:::-;;:::i;96805:232::-;;;;;;;;;;;;;:::i;101542:862::-;;;;;;;;;;-1:-1:-1;101542:862:0;;;;;:::i;:::-;;:::i;64920:87::-;;;;;;;;;;-1:-1:-1;64993:6:0;;-1:-1:-1;;;;;64993:6:0;64920:87;;79929:104;;;;;;;;;;;;;:::i;99642:664::-;;;;;;;;;;-1:-1:-1;99642:664:0;;;;;:::i;:::-;;:::i;81526:155::-;;;;;;;;;;-1:-1:-1;81526:155:0;;;;;:::i;:::-;;:::i;103057:118::-;;;;;;;;;;-1:-1:-1;103057:118:0;;;;;:::i;:::-;103120:7;103146:21;;;:11;:21;;;;;;;103057:118;100683:810;;;;;;;;;;-1:-1:-1;100683:810:0;;;;;:::i;:::-;;:::i;99118:516::-;;;;;;;;;;-1:-1:-1;99118:516:0;;;;;:::i;:::-;;:::i;102412:137::-;;;;;;;;;;-1:-1:-1;102412:137:0;;;;;:::i;:::-;;:::i;82577:279::-;;;;;;;;;;-1:-1:-1;82577:279:0;;;;;:::i;:::-;;:::i;95551:30::-;;;;;;;;;;-1:-1:-1;95551:30:0;;;;-1:-1:-1;;;;;95551:30:0;;;97812:308;;;;;;;;;;-1:-1:-1;97812:308:0;;;;;:::i;:::-;;:::i;95340:23::-;;;;;;;;;;;;;;;;102919:130;;;;;;;;;;-1:-1:-1;102919:130:0;;;;;:::i;:::-;;:::i;81752:164::-;;;;;;;;;;-1:-1:-1;81752:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;81873:25:0;;;81849:4;81873:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;81752:164;65819:201;;;;;;;;;;-1:-1:-1;65819:201:0;;;;;:::i;:::-;;:::i;78788:349::-;78912:4;-1:-1:-1;;;;;;78949:51:0;;-1:-1:-1;;;78949:51:0;;:127;;-1:-1:-1;;;;;;;79017:59:0;;-1:-1:-1;;;79017:59:0;78949:127;:180;;;-1:-1:-1;;;;;;;;;;70834:51:0;;;79093:36;78929:200;78788:349;-1:-1:-1;;78788:349:0:o;103478:867::-;64806:13;:11;:13::i;:::-;103543:11:::1;::::0;::::1;;:20;103535:68;;;::::0;-1:-1:-1;;;103535:68:0;;11829:2:1;103535:68:0::1;::::0;::::1;11811:21:1::0;11868:2;11848:18;;;11841:30;11907:34;11887:18;;;11880:62;-1:-1:-1;;;11958:18:1;;;11951:33;12001:19;;103535:68:0::1;;;;;;;;;103616:11;:18:::0;;-1:-1:-1;;103616:18:0::1;103630:4;103616:18:::0;;::::1;::::0;;;103645:411:::1;95453:3;103671:7;:19;103645:411;;103718:12;84214:16:::0;;;:7;:16;;;;;;-1:-1:-1;;;;;84214:16:0;103769:18;;103765:280:::1;;103808:11;103842:85;-1:-1:-1::0;;;;;103849:18:0;::::1;;::::0;;;:12:::1;:18;::::0;;;;;;;:23;;;;;;;;;:28;103842:85:::1;;103902:5:::0;::::1;::::0;::::1;:::i;:::-;;;;103842:85;;;-1:-1:-1::0;;;;;103945:18:0;::::1;;::::0;;;:12:::1;:18;::::0;;;;;;;:23;;;;;;;;:33;;;103997:26;;;:17:::1;:26:::0;;;;;:32;103765:280:::1;-1:-1:-1::0;103692:9:0;::::1;::::0;::::1;:::i;:::-;;;;103645:411;;;-1:-1:-1::0;104066:19:0::1;104088:22;95453:3;95408;104088:22;:::i;:::-;104066:44;;104126:11;104121:217;104149:11;104143:3;:17;104121:217;;;104184:15;104202:14;104213:3:::0;95453::::1;104202:14;:::i;:::-;:18;::::0;104219:1:::1;104202:18;:::i;:::-;104248:15;::::0;-1:-1:-1;;;;;104248:15:0::1;104235:29;::::0;;;:12:::1;:29;::::0;;;;;;;:34;;;;;;;;:44;;;104294:26;;;:17:::1;:26:::0;;;:32;;;-1:-1:-1;104248:15:0;104162:5:::1;104121:217;;;;103524:821;103478:867::o:0;79760:100::-;79814:13;79847:5;79840:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;79760:100;:::o;81283:171::-;81359:7;81379:23;81394:7;81379:14;:23::i;:::-;-1:-1:-1;81422:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;81422:24:0;;81283:171::o;80790:427::-;80871:13;80887:34;80913:7;80887:25;:34::i;:::-;80871:50;;80946:5;-1:-1:-1;;;;;80940:11:0;:2;-1:-1:-1;;;;;80940:11:0;;80932:57;;;;-1:-1:-1;;;80932:57:0;;13153:2:1;80932:57:0;;;13135:21:1;13192:2;13172:18;;;13165:30;13231:34;13211:18;;;13204:62;-1:-1:-1;;;13282:18:1;;;13275:31;13323:19;;80932:57:0;12951:397:1;80932:57:0;63038:10;-1:-1:-1;;;;;81024:21:0;;;;:62;;-1:-1:-1;81049:37:0;81066:5;63038:10;81752:164;:::i;81049:37::-;81002:173;;;;-1:-1:-1;;;81002:173:0;;13555:2:1;81002:173:0;;;13537:21:1;13594:2;13574:18;;;13567:30;13633:34;13613:18;;;13606:62;13704:31;13684:18;;;13677:59;13753:19;;81002:173:0;13353:425:1;81002:173:0;81188:21;81197:2;81201:7;81188:8;:21::i;:::-;80860:357;80790:427;;:::o;81983:301::-;82144:41;63038:10;82177:7;82144:18;:41::i;:::-;82136:99;;;;-1:-1:-1;;;82136:99:0;;;;;;;:::i;:::-;82248:28;82258:4;82264:2;82268:7;82248:9;:28::i;103241:229::-;103336:7;;;103390:15;103402:3;103390:9;:15;:::i;:::-;103389:21;;103409:1;103389:21;:::i;:::-;103431:15;;-1:-1:-1;;;;;103431:15:0;;-1:-1:-1;103365:45:0;-1:-1:-1;;103241:229:0;;;;;;:::o;100438:198::-;64806:13;:11;:13::i;:::-;-1:-1:-1;;;;;100520:22:0;::::1;100512:79;;;::::0;-1:-1:-1;;;100512:79:0;;14926:2:1;100512:79:0::1;::::0;::::1;14908:21:1::0;14965:2;14945:18;;;14938:30;15004:34;14984:18;;;14977:62;-1:-1:-1;;;15055:18:1;;;15048:42;15107:19;;100512:79:0::1;14724:408:1::0;100512:79:0::1;100602:15;:26:::0;;-1:-1:-1;;;;;100602:26:0;;::::1;;;-1:-1:-1::0;;;;;;100602:26:0;;::::1;::::0;;;::::1;::::0;;100438:198::o;60534:::-;-1:-1:-1;;;;;59010:6:0;58993:23;59001:4;58993:23;58985:80;;;;-1:-1:-1;;;58985:80:0;;;;;;;:::i;:::-;59108:6;-1:-1:-1;;;;;59084:30:0;:20;-1:-1:-1;;;;;;;;;;;51782:65:0;-1:-1:-1;;;;;51782:65:0;;51702:153;59084:20;-1:-1:-1;;;;;59084:30:0;;59076:87;;;;-1:-1:-1;;;59076:87:0;;;;;;;:::i;:::-;60616:36:::1;60634:17;60616;:36::i;:::-;60704:12;::::0;;60714:1:::1;60704:12:::0;;;::::1;::::0;::::1;::::0;;;60663:61:::1;::::0;60685:17;;60704:12;60663:21:::1;:61::i;:::-;60534:198:::0;:::o;82355:151::-;82459:39;82476:4;82482:2;82486:7;82459:39;;;;;;;;;;;;:16;:39::i;102557:354::-;102661:16;102689:24;102730:9;-1:-1:-1;;;;;102716:31:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;102716:31:0;;102689:58;;102762:9;102758:121;102777:18;;;102758:121;;;102830:15;102846:6;;102830:23;;;;;;;:::i;:::-;;;;;;;;;;;;;:37;102854:9;;102864:1;102854:12;;;;;;;:::i;:::-;;;;;;;102830:37;;;;;;;;;;;;102817:7;102825:1;102817:10;;;;;;;;:::i;:::-;;;;;;;;;;:50;102797:3;;102758:121;;;-1:-1:-1;102896:7:0;-1:-1:-1;102557:354:0;;;;;;;:::o;61063:223::-;-1:-1:-1;;;;;59010:6:0;58993:23;59001:4;58993:23;58985:80;;;;-1:-1:-1;;;58985:80:0;;;;;;;:::i;:::-;59108:6;-1:-1:-1;;;;;59084:30:0;:20;-1:-1:-1;;;;;;;;;;;51782:65:0;-1:-1:-1;;;;;51782:65:0;;51702:153;59084:20;-1:-1:-1;;;;;59084:30:0;;59076:87;;;;-1:-1:-1;;;59076:87:0;;;;;;;:::i;:::-;61179:36:::1;61197:17;61179;:36::i;:::-;61226:52;61248:17;61267:4;61273;61226:21;:52::i;104353:485::-:0;104434:16;104452;104481:11;104495:19;104505:8;104495:9;:19::i;:::-;104481:33;;104525:24;104566:3;-1:-1:-1;;;;;104552:18:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;104552:18:0;;104525:45;;104581:24;104622:3;-1:-1:-1;;;;;104608:18:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;104608:18:0;;104581:45;;104642:9;104637:158;104657:3;104653:1;:7;104637:158;;;-1:-1:-1;;;;;104695:22:0;;;;;;:12;:22;;;;;;;;:25;;;;;;;;;104682:10;;:7;;104718:1;;104682:10;;;;;;:::i;:::-;;;;;;:38;;;;;104748:15;104764:6;;104748:23;;;;;;;:::i;:::-;;;;;;;;;;;;;:35;104772:7;104780:1;104772:10;;;;;;;;:::i;:::-;;;;;;;104748:35;;;;;;;;;;;;104735:7;104743:1;104735:10;;;;;;;;:::i;:::-;;;;;;;;;;:48;104662:3;;104637:158;;;-1:-1:-1;104813:7:0;;;;-1:-1:-1;104353:485:0;-1:-1:-1;;;;;104353:485:0:o;60140:133::-;60218:7;59446:4;-1:-1:-1;;;;;59455:6:0;59438:23;;59430:92;;;;-1:-1:-1;;;59430:92:0;;16575:2:1;59430:92:0;;;16557:21:1;16614:2;16594:18;;;16587:30;16653:34;16633:18;;;16626:62;16724:26;16704:18;;;16697:54;16768:19;;59430:92:0;16373:420:1;59430:92:0;-1:-1:-1;;;;;;;;;;;;60140:133:0;:::o;97645:159::-;64806:13;:11;:13::i;:::-;97742:1:::1;97727:4;97721:18;:22;97713:60;;;::::0;-1:-1:-1;;;97713:60:0;;17000:2:1;97713:60:0::1;::::0;::::1;16982:21:1::0;17039:2;17019:18;;;17012:30;17078:27;17058:18;;;17051:55;17123:18;;97713:60:0::1;16798:349:1::0;97713:60:0::1;97784:5;:12;97792:4:::0;97784:5;:12:::1;:::i;79470:223::-:0;79542:7;84214:16;;;:7;:16;;;;;;-1:-1:-1;;;;;84214:16:0;;79606:56;;;;-1:-1:-1;;;79606:56:0;;19524:2:1;79606:56:0;;;19506:21:1;19563:2;19543:18;;;19536:30;-1:-1:-1;;;19582:18:1;;;19575:54;19646:18;;79606:56:0;19322:348:1;98479:198:0;64806:13;:11;:13::i;:::-;-1:-1:-1;;;;;98561:22:0;::::1;98553:79;;;::::0;-1:-1:-1;;;98553:79:0;;19877:2:1;98553:79:0::1;::::0;::::1;19859:21:1::0;19916:2;19896:18;;;19889:30;19955:34;19935:18;;;19928:62;-1:-1:-1;;;20006:18:1;;;19999:42;20058:19;;98553:79:0::1;19675:408:1::0;98553:79:0::1;98643:15;:26:::0;;-1:-1:-1;;;;;;98643:26:0::1;-1:-1:-1::0;;;;;98643:26:0;;;::::1;::::0;;;::::1;::::0;;98479:198::o;98128:189::-;64806:13;:11;:13::i;:::-;98213:6:::1;::::0;;98230:16;;;;98262:47:::1;::::0;;20262:25:1;;;20318:2;20303:18;;20296:34;;;63038:10:0;;98262:47:::1;::::0;20235:18:1;98262:47:0::1;;;;;;;98181:136;98128:189:::0;:::o;79201:207::-;79273:7;-1:-1:-1;;;;;79301:19:0;;79293:73;;;;-1:-1:-1;;;79293:73:0;;20543:2:1;79293:73:0;;;20525:21:1;20582:2;20562:18;;;20555:30;20621:34;20601:18;;;20594:62;-1:-1:-1;;;20672:18:1;;;20665:39;20721:19;;79293:73:0;20341:405:1;79293:73:0;-1:-1:-1;;;;;;79384:16:0;;;;;:9;:16;;;;;;;79201:207::o;65561:103::-;64806:13;:11;:13::i;:::-;65626:30:::1;65653:1;65626:18;:30::i;:::-;65561:103::o:0;98325:146::-;64806:13;:11;:13::i;:::-;98445:10:::1;:18:::0;98325:146::o;96805:232::-;46979:19;47002:13;;;;;;47001:14;;47049:34;;;;-1:-1:-1;47067:12:0;;47082:1;47067:12;;;;:16;47049:34;47048:108;;;-1:-1:-1;47128:4:0;35751:19;:23;;;47089:66;;-1:-1:-1;47138:12:0;;;;;:17;47089:66;47026:204;;;;-1:-1:-1;;;47026:204:0;;20953:2:1;47026:204:0;;;20935:21:1;20992:2;20972:18;;;20965:30;21031:34;21011:18;;;21004:62;-1:-1:-1;;;21082:18:1;;;21075:44;21136:19;;47026:204:0;20751:410:1;47026:204:0;47241:12;:16;;-1:-1:-1;;47241:16:0;47256:1;47241:16;;;47268:67;;;;47303:13;:20;;-1:-1:-1;;47303:20:0;;;;;47268:67;96857:37:::1;;;;;;;;;;;;;;-1:-1:-1::0;;;96857:37:0::1;;::::0;::::1;;;;;;;;;;;;;-1:-1:-1::0;;;96857:37:0::1;;::::0;:13:::1;:37::i;:::-;96905:16;:14;:16::i;:::-;96932:24;:22;:24::i;:::-;96969:15;:60:::0;;-1:-1:-1;;;;;;96969:60:0::1;96987:42;96969:60;::::0;;47357:102;;;;47408:5;47392:21;;-1:-1:-1;;47392:21:0;;;47433:14;;-1:-1:-1;21318:36:1;;47433:14:0;;21306:2:1;21291:18;47433:14:0;;;;;;;46968:498;96805:232::o;101542:862::-;101650:20;101642:63;;;;-1:-1:-1;;;101642:63:0;;21567:2:1;101642:63:0;;;21549:21:1;21606:2;21586:18;;;21579:30;21645:32;21625:18;;;21618:60;21695:18;;101642:63:0;21365:354:1;101642:63:0;101744:2;101724:22;;;101716:63;;;;-1:-1:-1;;;101716:63:0;;21926:2:1;101716:63:0;;;21908:21:1;21965:2;21945:18;;;21938:30;22004;21984:18;;;21977:58;22052:18;;101716:63:0;21724:352:1;101716:63:0;101794:9;101790:535;101809:18;;;101790:535;;;101849:16;101868:9;;101878:1;101868:12;;;;;;;:::i;:::-;;;;;;;101849:31;;101919:17;101927:8;101919:7;:17::i;:::-;-1:-1:-1;;;;;101903:33:0;63038:10;-1:-1:-1;;;;;101903:33:0;;:68;;;-1:-1:-1;101956:15:0;;;;;-1:-1:-1;;;;;101956:15:0;63038:10;-1:-1:-1;;;;;101940:31:0;;101903:68;101895:133;;;;-1:-1:-1;;;101895:133:0;;22283:2:1;101895:133:0;;;22265:21:1;22322:2;22302:18;;;22295:30;22361:34;22341:18;;;22334:62;-1:-1:-1;;;22412:18:1;;;22405:50;22472:19;;101895:133:0;22081:416:1;101895:133:0;102051:15;102067:6;;102051:23;;;;;;;:::i;:::-;;;;;;;;;;;;;:33;102075:8;102051:33;;;;;;;;;;;;102088:1;102051:38;102043:95;;;;-1:-1:-1;;;102043:95:0;;22704:2:1;102043:95:0;;;22686:21:1;22743:2;22723:18;;;22716:30;22782:34;22762:18;;;22755:62;-1:-1:-1;;;22833:18:1;;;22826:42;22885:19;;102043:95:0;22502:408:1;102043:95:0;102189:1;102153:15;102169:6;;102153:23;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;:33;;;;;;;;;;:37;;;;102213:11;:21;;;;;;102238:1;-1:-1:-1;102213:26:0;102205:67;;;;-1:-1:-1;;;102205:67:0;;23117:2:1;102205:67:0;;;23099:21:1;23156:2;23136:18;;;23129:30;23195;23175:18;;;23168:58;23243:18;;102205:67:0;22915:352:1;102205:67:0;102287:21;;;;:11;:21;;;;;:26;;102312:1;;102287:21;:26;;102312:1;;102287:26;:::i;:::-;;;;-1:-1:-1;;;101829:3:0;;101790:535;;;-1:-1:-1;63038:10:0;-1:-1:-1;;;;;102340:56:0;;102347:6;;102355:9;;102380:15;102340:56;;;;;;;;;;:::i;:::-;;;;;;;;101542:862;;;;:::o;79929:104::-;79985:13;80018:7;80011:14;;;;;:::i;99642:664::-;64806:13;:11;:13::i;:::-;-1:-1:-1;;;;;99721:23:0;::::1;99713:71;;;::::0;-1:-1:-1;;;99713:71:0;;24317:2:1;99713:71:0::1;::::0;::::1;24299:21:1::0;24356:2;24336:18;;;24329:30;24395:34;24375:18;;;24368:62;-1:-1:-1;;;24446:18:1;;;24439:33;24489:19;;99713:71:0::1;24115:399:1::0;99713:71:0::1;99816:15;::::0;-1:-1:-1;;;;;99803:28:0;;::::1;99816:15:::0;::::1;99803:28;99795:81;;;::::0;-1:-1:-1;;;99795:81:0;;24721:2:1;99795:81:0::1;::::0;::::1;24703:21:1::0;24760:2;24740:18;;;24733:30;24799:34;24779:18;;;24772:62;-1:-1:-1;;;24850:18:1;;;24843:38;24898:19;;99795:81:0::1;24519:404:1::0;99795:81:0::1;99895:15;::::0;-1:-1:-1;;;99895:15:0;::::1;;;:24;99887:75;;;::::0;-1:-1:-1;;;99887:75:0;;25130:2:1;99887:75:0::1;::::0;::::1;25112:21:1::0;25169:2;25149:18;;;25142:30;25208:34;25188:18;;;25181:62;-1:-1:-1;;;25259:18:1;;;25252:36;25305:19;;99887:75:0::1;24928:402:1::0;99887:75:0::1;99975:15;:22:::0;;-1:-1:-1;;;;99975:22:0::1;-1:-1:-1::0;;;99975:22:0::1;::::0;;100033::::1;95453:3;95408;100033:22;:::i;:::-;-1:-1:-1::0;;;;;100008:20:0;::::1;;::::0;;;:9:::1;:20;::::0;;;;:48;;:20;;;:48:::1;::::0;;;::::1;:::i;:::-;::::0;;;-1:-1:-1;100080:22:0::1;::::0;-1:-1:-1;95453:3:0::1;95408;100080:22;:::i;:::-;100067:8;;:36;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;100119:15:0::1;::::0;-1:-1:-1;100137:10:0::1;95453:3;100146:1;100137:10;:::i;:::-;100119:28;;100114:185;95408:3;100149:7;:22;100114:185;;100199:16;::::0;;;:7:::1;:16;::::0;;;;;:28;;-1:-1:-1;;;;;;100199:28:0::1;-1:-1:-1::0;;;;;100199:28:0;::::1;::::0;;::::1;::::0;;;100247:40;;100199:16;;;100247:40:::1;::::0;100199:16;;100247:40:::1;100173:9:::0;::::1;::::0;::::1;:::i;:::-;;;;100114:185;;81526:155:::0;81621:52;63038:10;81654:8;81664;81621:18;:52::i;100683:810::-;100789:15;100805:6;;100789:23;;;;;;;:::i;:::-;;;;;;;;;;;;;;100816:1;100789:28;100781:66;;;;-1:-1:-1;;;100781:66:0;;25537:2:1;100781:66:0;;;25519:21:1;25576:2;25556:18;;;25549:30;25615:27;25595:18;;;25588:55;25660:18;;100781:66:0;25335:349:1;100781:66:0;100866:20;100858:63;;;;-1:-1:-1;;;100858:63:0;;21567:2:1;100858:63:0;;;21549:21:1;21606:2;21586:18;;;21579:30;21645:32;21625:18;;;21618:60;21695:18;;100858:63:0;21365:354:1;100858:63:0;100960:2;100940:22;;;100932:63;;;;-1:-1:-1;;;100932:63:0;;21926:2:1;100932:63:0;;;21908:21:1;21965:2;21945:18;;;21938:30;22004;21984:18;;;21977:58;22052:18;;100932:63:0;21724:352:1;100932:63:0;101010:9;101006:410;101025:18;;;101006:410;;;101065:16;101084:9;;101094:1;101084:12;;;;;;;:::i;:::-;;;;;;;101065:31;;101135:17;101143:8;101135:7;:17::i;:::-;-1:-1:-1;;;;;101119:33:0;63038:10;-1:-1:-1;;;;;101119:33:0;;101111:86;;;;-1:-1:-1;;;101111:86:0;;25891:2:1;101111:86:0;;;25873:21:1;25930:2;25910:18;;;25903:30;25969:34;25949:18;;;25942:62;-1:-1:-1;;;26020:18:1;;;26013:38;26068:19;;101111:86:0;25689:404:1;101111:86:0;101220:15;101236:6;;101220:23;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;:33;;;;;;;;;:38;101212:99;;;;-1:-1:-1;;;101212:99:0;;26300:2:1;101212:99:0;;;26282:21:1;26339:2;26319:18;;;26312:30;26378:34;26358:18;;;26351:62;-1:-1:-1;;;26429:18:1;;;26422:46;26485:19;;101212:99:0;26098:412:1;101212:99:0;101362:1;101326:15;101342:6;;101326:23;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;:33;;;;;;;;;;:37;;;;101378:11;:21;;;;;:26;;101403:1;;101326:33;101378:26;;101403:1;;101378:26;:::i;:::-;;;;-1:-1:-1;;;101045:3:0;;101006:410;;;-1:-1:-1;63038:10:0;-1:-1:-1;;;;;101431:54:0;;101436:6;;101444:9;;101469:15;101431:54;;;;;;;;;;:::i;99118:516::-;95453:3;97088:12;;:23;97080:75;;;;-1:-1:-1;;;97080:75:0;;26717:2:1;97080:75:0;;;26699:21:1;26756:2;26736:18;;;26729:30;26795:34;26775:18;;;26768:62;-1:-1:-1;;;26846:18:1;;;26839:37;26893:19;;97080:75:0;26515:403:1;97080:75:0;95408:3;97174:8;;:22;97166:70;;;;-1:-1:-1;;;97166:70:0;;27125:2:1;97166:70:0;;;27107:21:1;27164:2;27144:18;;;27137:30;27203:34;27183:18;;;27176:62;-1:-1:-1;;;27254:18:1;;;27247:33;27297:19;;97166:70:0;26923:399:1;97166:70:0;97307:10:::1;97321:9;97307:23;97299:76;;;::::0;-1:-1:-1;;;97299:76:0;;27529:2:1;97299:76:0::1;::::0;::::1;27511:21:1::0;27568:2;27548:18;;;27541:30;27607:34;27587:18;;;27580:62;-1:-1:-1;;;27658:18:1;;;27651:38;27706:19;;97299:76:0::1;27327:404:1::0;97299:76:0::1;99234:1:::2;97470:7;97460:6;;:17;97452:59;;;::::0;-1:-1:-1;;;97452:59:0;;27938:2:1;97452:59:0::2;::::0;::::2;27920:21:1::0;27977:2;27957:18;;;27950:30;28016:31;27996:18;;;27989:59;28065:18;;97452:59:0::2;27736:353:1::0;97452:59:0::2;63038:10:::0;99254:12:::3;98765:19:::0;;;:9;:19;;;;;;;;99300:23:::3;99292:79;;;::::0;-1:-1:-1;;;99292:79:0;;28296:2:1;99292:79:0::3;::::0;::::3;28278:21:1::0;28335:2;28315:18;;;28308:30;28374:34;28354:18;;;28347:62;-1:-1:-1;;;28425:18:1;;;28418:41;28476:19;;99292:79:0::3;28094:407:1::0;99292:79:0::3;99390:26;99403:4;99409:6;99390:12;:26::i;:::-;99382:77;;;::::0;-1:-1:-1;;;99382:77:0;;28708:2:1;99382:77:0::3;::::0;::::3;28690:21:1::0;28747:2;28727:18;;;28720:30;28786:34;28766:18;;;28759:62;-1:-1:-1;;;28837:18:1;;;28830:36;28883:19;;99382:77:0::3;28506:402:1::0;99382:77:0::3;99472:15;99490:12;;99505:1;99490:16;;;;:::i;:::-;-1:-1:-1::0;;;;;99517:15:0;::::3;;::::0;;;:9:::3;:15;::::0;;;;:22;;-1:-1:-1;;99517:22:0::3;99535:4;99517:22:::0;;::::3;::::0;;;99550:12:::3;:17:::0;;99472:34;;-1:-1:-1;99535:4:0;;99550:12;;99517:15;99550:17:::3;::::0;99535:4;;99550:17:::3;:::i;:::-;;;;;;;;99590:1;99578:8;;:13;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;99602:24:0::3;::::0;-1:-1:-1;99612:4:0;99618:7;99602:9:::3;:24::i;:::-;99243:391;;97386:1:::2;99118:516:::0;:::o;102412:137::-;64806:13;:11;:13::i;:::-;102535:6:::1;102509:15;102525:6;;102509:23;;;;;;;:::i;:::-;::::0;;;::::1;::::0;;;;;::::1;::::0;;;:32;-1:-1:-1;;;102412:137:0:o;82577:279::-;82708:41;63038:10;82741:7;82708:18;:41::i;:::-;82700:99;;;;-1:-1:-1;;;82700:99:0;;;;;;;:::i;:::-;82810:38;82824:4;82830:2;82834:7;82843:4;82810:13;:38::i;97812:308::-;97885:13;97911:23;97926:7;97911:14;:23::i;:::-;97947:17;97967:10;:8;:10::i;:::-;97947:30;;97992:6;;98002:1;97992:11;97988:104;;98050:3;98060:18;:7;:16;:18::i;:::-;98033:46;;;;;;;;;:::i;:::-;;;;;;;;;;;;;98020:60;;98109:3;97812:308;-1:-1:-1;;97812:308:0:o;102919:130::-;102992:7;103018:15;103034:6;;103018:23;;;;;;;:::i;:::-;;;;;;;;;;;;;;103011:30;;102919:130;;;;:::o;65819:201::-;64806:13;:11;:13::i;:::-;-1:-1:-1;;;;;65908:22:0;::::1;65900:73;;;::::0;-1:-1:-1;;;65900:73:0;;29760:2:1;65900:73:0::1;::::0;::::1;29742:21:1::0;29799:2;29779:18;;;29772:30;29838:34;29818:18;;;29811:62;-1:-1:-1;;;29889:18:1;;;29882:36;29935:19;;65900:73:0::1;29558:402:1::0;65900:73:0::1;65984:28;66003:8;65984:18;:28::i;65085:132::-:0;64993:6;;-1:-1:-1;;;;;64993:6:0;63038:10;65149:23;65141:68;;;;-1:-1:-1;;;65141:68:0;;30167:2:1;65141:68:0;;;30149:21:1;;;30186:18;;;30179:30;30245:34;30225:18;;;30218:62;30297:18;;65141:68:0;29965:356:1;90912:135:0;84616:4;84214:16;;;:7;:16;;;;;;-1:-1:-1;;;;;84214:16:0;90986:53;;;;-1:-1:-1;;;90986:53:0;;19524:2:1;90986:53:0;;;19506:21:1;19563:2;19543:18;;;19536:30;-1:-1:-1;;;19582:18:1;;;19575:54;19646:18;;90986:53:0;19322:348:1;90214:185:0;90289:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;90289:29:0;-1:-1:-1;;;;;90289:29:0;;;;;;;;:24;;90343:34;90289:24;90343:25;:34::i;:::-;-1:-1:-1;;;;;90334:57:0;;;;;;;;;;;90214:185;;:::o;84846:275::-;84939:4;84956:13;84972:34;84998:7;84972:25;:34::i;:::-;84956:50;;85036:5;-1:-1:-1;;;;;85025:16:0;:7;-1:-1:-1;;;;;85025:16:0;;:52;;;-1:-1:-1;;;;;;81873:25:0;;;81849:4;81873:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;85045:32;85025:87;;;;85105:7;-1:-1:-1;;;;;85081:31:0;:20;85093:7;85081:11;:20::i;:::-;-1:-1:-1;;;;;85081:31:0;;85017:96;84846:275;-1:-1:-1;;;;84846:275:0:o;88844:1251::-;88980:4;-1:-1:-1;;;;;88942:42:0;:34;88968:7;88942:25;:34::i;:::-;-1:-1:-1;;;;;88942:42:0;;88934:92;;;;-1:-1:-1;;;88934:92:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;89045:16:0;;89037:65;;;;-1:-1:-1;;;89037:65:0;;30934:2:1;89037:65:0;;;30916:21:1;30973:2;30953:18;;;30946:30;31012:34;30992:18;;;30985:62;-1:-1:-1;;;31063:18:1;;;31056:34;31107:19;;89037:65:0;30732:400:1;89037:65:0;89115:42;89136:4;89142:2;89146:7;89155:1;89115:20;:42::i;:::-;89298:4;-1:-1:-1;;;;;89260:42:0;:34;89286:7;89260:25;:34::i;:::-;-1:-1:-1;;;;;89260:42:0;;89252:92;;;;-1:-1:-1;;;89252:92:0;;;;;;;:::i;:::-;89416:24;;;;:15;:24;;;;;;;;89409:31;;-1:-1:-1;;;;;;89409:31:0;;;;;;-1:-1:-1;;;;;89892:15:0;;;;;;:9;:15;;;;;:20;;-1:-1:-1;;89892:20:0;;;89927:13;;;;;;;;;:18;;89409:31;89927:18;;;89967:16;;;:7;:16;;;;;;:21;;;;;;;;;;90006:27;;89432:7;;90006:27;;;80860:357;80790:427;;:::o;100314:116::-;64806:13;:11;:13::i;53104:958::-;51204:66;53524:59;;;53520:535;;;53600:37;53619:17;53600:18;:37::i;53520:535::-;53703:17;-1:-1:-1;;;;;53674:61:0;;:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;53674:63:0;;;;;;;;-1:-1:-1;;53674:63:0;;;;;;;;;;;;:::i;:::-;;;53670:306;;53904:56;;-1:-1:-1;;;53904:56:0;;31528:2:1;53904:56:0;;;31510:21:1;31567:2;31547:18;;;31540:30;31606:34;31586:18;;;31579:62;-1:-1:-1;;;31657:18:1;;;31650:44;31711:19;;53904:56:0;31326:410:1;53670:306:0;-1:-1:-1;;;;;;;;;;;53788:28:0;;53780:82;;;;-1:-1:-1;;;53780:82:0;;31943:2:1;53780:82:0;;;31925:21:1;31982:2;31962:18;;;31955:30;32021:34;32001:18;;;31994:62;-1:-1:-1;;;32072:18:1;;;32065:39;32121:19;;53780:82:0;31741:405:1;53780:82:0;53738:140;53990:53;54008:17;54027:4;54033:9;53990:17;:53::i;66180:191::-;66273:6;;;-1:-1:-1;;;;;66290:17:0;;;-1:-1:-1;;;;;;66290:17:0;;;;;;;66323:40;;66273:6;;;66290:17;66273:6;;66323:40;;66254:16;;66323:40;66243:128;66180:191;:::o;78394:151::-;49122:13;;;;;;;49114:69;;;;-1:-1:-1;;;49114:69:0;;;;;;;:::i;:::-;78498:39:::1;78522:5;78529:7;78498:23;:39::i;64463:97::-:0;49122:13;;;;;;;49114:69;;;;-1:-1:-1;;;49114:69:0;;;;;;;:::i;:::-;64526:26:::1;:24;:26::i;58138:68::-:0;49122:13;;;;;;;49114:69;;;;-1:-1:-1;;;49114:69:0;;;;;;;:::i;90542:281::-;90663:8;-1:-1:-1;;;;;90654:17:0;:5;-1:-1:-1;;;;;90654:17:0;;90646:55;;;;-1:-1:-1;;;90646:55:0;;32765:2:1;90646:55:0;;;32747:21:1;32804:2;32784:18;;;32777:30;32843:27;32823:18;;;32816:55;32888:18;;90646:55:0;32563:349:1;90646:55:0;-1:-1:-1;;;;;90712:25:0;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;90712:46:0;;;;;;;;;;90774:41;;540::1;;;90774::0;;513:18:1;90774:41:0;;;;;;;90542:281;;;:::o;98800:310::-;98932:26;;-1:-1:-1;;33066:2:1;33062:15;;;33058:53;98932:26:0;;;33046:66:1;98887:4:0;;;;33128:12:1;;98932:26:0;;;-1:-1:-1;;98932:26:0;;;;;;;;;98922:37;;98932:26;98922:37;;;;99018:19;;;2324:25:1;;;98922:37:0;-1:-1:-1;98970:12:0;;2297:18:1;99018:19:0;;;-1:-1:-1;;99018:19:0;;;;;;;;;99008:30;;99018:19;99008:30;;;;98995:44;;;33280:19:1;33315:12;98995:44:0;;;;;;;;;;;;98985:55;;;;;;98970:70;;99058:44;99077:6;99085:10;;99097:4;99058:18;:44::i;:::-;99051:51;98800:310;-1:-1:-1;;;;;98800:310:0:o;85463:110::-;85539:26;85549:2;85553:7;85539:26;;;;;;;;;;;;:9;:26::i;83737:270::-;83850:28;83860:4;83866:2;83870:7;83850:9;:28::i;:::-;83897:47;83920:4;83926:2;83930:7;83939:4;83897:22;:47::i;:::-;83889:110;;;;-1:-1:-1;;;83889:110:0;;;;;;;:::i;97539:98::-;97591:13;97624:5;97617:12;;;;;:::i;31513:727::-;31569:13;31620:14;31637:28;31659:5;31637:21;:28::i;:::-;31668:1;31637:32;31620:49;;31684:20;31718:6;-1:-1:-1;;;;;31707:18:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;31707:18:0;-1:-1:-1;31684:41:0;-1:-1:-1;31849:28:0;;;31865:2;31849:28;31906:288;-1:-1:-1;;31938:5:0;-1:-1:-1;;;32075:2:0;32064:14;;32059:30;31938:5;32046:44;32136:2;32127:11;;;-1:-1:-1;32157:21:0;31906:288;32157:21;-1:-1:-1;32215:6:0;31513:727;-1:-1:-1;;;31513:727:0:o;104846:1060::-;104999:20;;;;:11;:20;;;;;;:25;104990:71;;;;-1:-1:-1;;;104990:71:0;;33959:2:1;104990:71:0;;;33941:21:1;;;33978:18;;;33971:30;34037:34;34017:18;;;34010:62;34089:18;;104990:71:0;33757:356:1;104990:71:0;105163:2;-1:-1:-1;;;;;105155:10:0;:4;-1:-1:-1;;;;;105155:10:0;;105151:748;;105182:26;105229:1;105211:15;105221:4;105211:9;:15::i;:::-;:19;;;;:::i;:::-;105182:48;;105245:21;105269:13;105279:2;105269:9;:13::i;:::-;105297:18;105318:26;;;:17;:26;;;;;;105245:37;;-1:-1:-1;105365:32:0;;;105361:352;;-1:-1:-1;;;;;105440:18:0;;105418:19;105440:18;;;:12;:18;;;;;;;;:38;;;;;;;;;105499:30;;;;;;:44;;;105620:30;;:17;:30;;;;;:43;;;105361:352;-1:-1:-1;;;;;;105736:18:0;;;;;;;:12;:18;;;;;;;;:38;;;;;;;;;105729:45;;;105789:16;;;;;;;;;;;;:31;;;;;;;;:41;;;105845:26;;;:17;:26;;;-1:-1:-1;105845:26:0;;:42;104846:1060::o;51951:284::-;-1:-1:-1;;;;;35751:19:0;;;52025:106;;;;-1:-1:-1;;;52025:106:0;;34320:2:1;52025:106:0;;;34302:21:1;34359:2;34339:18;;;34332:30;34398:34;34378:18;;;34371:62;-1:-1:-1;;;34449:18:1;;;34442:43;34502:19;;52025:106:0;34118:409:1;52025:106:0;-1:-1:-1;;;;;;;;;;;52142:85:0;;-1:-1:-1;;;;;;52142:85:0;-1:-1:-1;;;;;52142:85:0;;;;;;;;;;51951:284::o;52644:281::-;52753:29;52764:17;52753:10;:29::i;:::-;52811:1;52797:4;:11;:15;:28;;;;52816:9;52797:28;52793:125;;;52842:64;52882:17;52901:4;52842:39;:64::i;78553:163::-;49122:13;;;;;;;49114:69;;;;-1:-1:-1;;;49114:69:0;;;;;;;:::i;:::-;78667:5:::1;:13;78675:5:::0;78667;:13:::1;:::i;:::-;-1:-1:-1::0;78691:7:0::1;:17;78701:7:::0;78691;:17:::1;:::i;64568:113::-:0;49122:13;;;;;;;49114:69;;;;-1:-1:-1;;;49114:69:0;;;;;;;:::i;:::-;64641:32:::1;63038:10:::0;64641:18:::1;:32::i;1255:156::-:0;1346:4;1399;1370:25;1383:5;1390:4;1370:12;:25::i;:::-;:33;;1255:156;-1:-1:-1;;;;1255:156:0:o;85800:285::-;85895:18;85901:2;85905:7;85895:5;:18::i;:::-;85946:53;85977:1;85981:2;85985:7;85994:4;85946:22;:53::i;:::-;85924:153;;;;-1:-1:-1;;;85924:153:0;;;;;;;:::i;91611:875::-;91765:4;-1:-1:-1;;;;;91786:13:0;;35751:19;:23;91782:697;;91822:82;;-1:-1:-1;;;91822:82:0;;-1:-1:-1;;;;;91822:47:0;;;;;:82;;63038:10;;91884:4;;91890:7;;91899:4;;91822:82;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;91822:82:0;;;;;;;;-1:-1:-1;;91822:82:0;;;;;;;;;;;;:::i;:::-;;;91818:606;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;92085:6;:13;92102:1;92085:18;92081:328;;92128:60;;-1:-1:-1;;;92128:60:0;;;;;;;:::i;92081:328::-;92359:6;92353:13;92344:6;92340:2;92336:15;92329:38;91818:606;-1:-1:-1;;;;;;91955:62:0;-1:-1:-1;;;91955:62:0;;-1:-1:-1;91948:69:0;;91782:697;-1:-1:-1;92463:4:0;92456:11;;28313:948;28366:7;;-1:-1:-1;;;28444:17:0;;28440:106;;-1:-1:-1;;;28482:17:0;;;-1:-1:-1;28528:2:0;28518:12;28440:106;28573:8;28564:5;:17;28560:106;;28611:8;28602:17;;;-1:-1:-1;28648:2:0;28638:12;28560:106;28693:8;28684:5;:17;28680:106;;28731:8;28722:17;;;-1:-1:-1;28768:2:0;28758:12;28680:106;28813:7;28804:5;:16;28800:103;;28850:7;28841:16;;;-1:-1:-1;28886:1:0;28876:11;28800:103;28930:7;28921:5;:16;28917:103;;28967:7;28958:16;;;-1:-1:-1;29003:1:0;28993:11;28917:103;29047:7;29038:5;:16;29034:103;;29084:7;29075:16;;;-1:-1:-1;29120:1:0;29110:11;29034:103;29164:7;29155:5;:16;29151:68;;29202:1;29192:11;29247:6;28313:948;-1:-1:-1;;28313:948:0:o;52348:155::-;52415:37;52434:17;52415:18;:37::i;:::-;52468:27;;-1:-1:-1;;;;;52468:27:0;;;;;;;;52348:155;:::o;40848:200::-;40931:12;40963:77;40984:6;40992:4;40963:77;;;;;;;;;;;;;;;;;:20;:77::i;:::-;40956:84;40848:200;-1:-1:-1;;;40848:200:0:o;2054:296::-;2137:7;2180:4;2137:7;2195:118;2219:5;:12;2215:1;:16;2195:118;;;2268:33;2278:12;2292:5;2298:1;2292:8;;;;;;;;:::i;:::-;;;;;;;2268:9;:33::i;:::-;2253:48;-1:-1:-1;2233:3:0;;2195:118;;;-1:-1:-1;2330:12:0;2054:296;-1:-1:-1;;;2054:296:0:o;86421:942::-;-1:-1:-1;;;;;86501:16:0;;86493:61;;;;-1:-1:-1;;;86493:61:0;;35482:2:1;86493:61:0;;;35464:21:1;;;35501:18;;;35494:30;35560:34;35540:18;;;35533:62;35612:18;;86493:61:0;35280:356:1;86493:61:0;84616:4;84214:16;;;:7;:16;;;;;;-1:-1:-1;;;;;84214:16:0;84640:31;86565:58;;;;-1:-1:-1;;;86565:58:0;;35843:2:1;86565:58:0;;;35825:21:1;35882:2;35862:18;;;35855:30;35921;35901:18;;;35894:58;35969:18;;86565:58:0;35641:352:1;86565:58:0;86636:48;86665:1;86669:2;86673:7;86682:1;86636:20;:48::i;:::-;84616:4;84214:16;;;:7;:16;;;;;;-1:-1:-1;;;;;84214:16:0;84640:31;86774:58;;;;-1:-1:-1;;;86774:58:0;;35843:2:1;86774:58:0;;;35825:21:1;35882:2;35862:18;;;35855:30;35921;35901:18;;;35894:58;35969:18;;86774:58:0;35641:352:1;86774:58:0;-1:-1:-1;;;;;87181:13:0;;;;;;:9;:13;;;;;;;;:18;;87198:1;87181:18;;;87223:16;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;87223:21:0;;;;;87262:33;87231:7;;87181:13;;87262:33;;87181:13;;87262:33;104121:217:::1;103524:821;103478:867::o:0;41242:332::-;41387:12;41413;41427:23;41454:6;-1:-1:-1;;;;;41454:19:0;41474:4;41454:25;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41412:67;;;;41497:69;41524:6;41532:7;41541:10;41553:12;41497:26;:69::i;:::-;41490:76;41242:332;-1:-1:-1;;;;;;41242:332:0:o;9492:149::-;9555:7;9586:1;9582;:5;:51;;9717:13;9811:15;;;9847:4;9840:15;;;9894:4;9878:21;;9582:51;;;9717:13;9811:15;;;9847:4;9840:15;;;9894:4;9878:21;;9590:20;9649:268;41870:644;42055:12;42084:7;42080:427;;;42112:10;:17;42133:1;42112:22;42108:290;;-1:-1:-1;;;;;35751:19:0;;;42322:60;;;;-1:-1:-1;;;42322:60:0;;36492:2:1;42322:60:0;;;36474:21:1;36531:2;36511:18;;;36504:30;36570:31;36550:18;;;36543:59;36619:18;;42322:60:0;36290:353:1;42322:60:0;-1:-1:-1;42419:10:0;42412:17;;42080:427;42462:33;42470:10;42482:12;43217:17;;:21;43213:388;;43449:10;43443:17;43506:15;43493:10;43489:2;43485:19;43478:44;43213:388;43576:12;43569:20;;-1:-1:-1;;;43569:20:0;;;;;;;;:::i;14:131:1:-;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:250::-;677:1;687:113;701:6;698:1;695:13;687:113;;;777:11;;;771:18;758:11;;;751:39;723:2;716:10;687:113;;;-1:-1:-1;;834:1:1;816:16;;809:27;592:250::o;847:271::-;889:3;927:5;921:12;954:6;949:3;942:19;970:76;1039:6;1032:4;1027:3;1023:14;1016:4;1009:5;1005:16;970:76;:::i;:::-;1100:2;1079:15;-1:-1:-1;;1075:29:1;1066:39;;;;1107:4;1062:50;;847:271;-1:-1:-1;;847:271:1:o;1123:220::-;1272:2;1261:9;1254:21;1235:4;1292:45;1333:2;1322:9;1318:18;1310:6;1292:45;:::i;1348:180::-;1407:6;1460:2;1448:9;1439:7;1435:23;1431:32;1428:52;;;1476:1;1473;1466:12;1428:52;-1:-1:-1;1499:23:1;;1348:180;-1:-1:-1;1348:180:1:o;1741:173::-;1809:20;;-1:-1:-1;;;;;1858:31:1;;1848:42;;1838:70;;1904:1;1901;1894:12;1838:70;1741:173;;;:::o;1919:254::-;1987:6;1995;2048:2;2036:9;2027:7;2023:23;2019:32;2016:52;;;2064:1;2061;2054:12;2016:52;2087:29;2106:9;2087:29;:::i;:::-;2077:39;2163:2;2148:18;;;;2135:32;;-1:-1:-1;;;1919:254:1:o;2360:328::-;2437:6;2445;2453;2506:2;2494:9;2485:7;2481:23;2477:32;2474:52;;;2522:1;2519;2512:12;2474:52;2545:29;2564:9;2545:29;:::i;:::-;2535:39;;2593:38;2627:2;2616:9;2612:18;2593:38;:::i;:::-;2583:48;;2678:2;2667:9;2663:18;2650:32;2640:42;;2360:328;;;;;:::o;2693:248::-;2761:6;2769;2822:2;2810:9;2801:7;2797:23;2793:32;2790:52;;;2838:1;2835;2828:12;2790:52;-1:-1:-1;;2861:23:1;;;2931:2;2916:18;;;2903:32;;-1:-1:-1;2693:248:1:o;3407:186::-;3466:6;3519:2;3507:9;3498:7;3494:23;3490:32;3487:52;;;3535:1;3532;3525:12;3487:52;3558:29;3577:9;3558:29;:::i;3598:348::-;3650:8;3660:6;3714:3;3707:4;3699:6;3695:17;3691:27;3681:55;;3732:1;3729;3722:12;3681:55;-1:-1:-1;3755:20:1;;-1:-1:-1;;;;;3787:30:1;;3784:50;;;3830:1;3827;3820:12;3784:50;3867:4;3859:6;3855:17;3843:29;;3919:3;3912:4;3903:6;3895;3891:19;3887:30;3884:39;3881:59;;;3936:1;3933;3926:12;3951:904;4058:6;4066;4074;4082;4135:2;4123:9;4114:7;4110:23;4106:32;4103:52;;;4151:1;4148;4141:12;4103:52;4191:9;4178:23;-1:-1:-1;;;;;4261:2:1;4253:6;4250:14;4247:34;;;4277:1;4274;4267:12;4247:34;4316:59;4367:7;4358:6;4347:9;4343:22;4316:59;:::i;:::-;4394:8;;-1:-1:-1;4290:85:1;-1:-1:-1;4482:2:1;4467:18;;4454:32;;-1:-1:-1;4498:16:1;;;4495:36;;;4527:1;4524;4517:12;4495:36;4565:8;4554:9;4550:24;4540:34;;4612:7;4605:4;4601:2;4597:13;4593:27;4583:55;;4634:1;4631;4624:12;4583:55;4674:2;4661:16;4700:2;4692:6;4689:14;4686:34;;;4716:1;4713;4706:12;4686:34;4769:7;4764:2;4754:6;4751:1;4747:14;4743:2;4739:23;4735:32;4732:45;4729:65;;;4790:1;4787;4780:12;4729:65;3951:904;;;;-1:-1:-1;;4821:2:1;4813:11;;-1:-1:-1;;;3951:904:1:o;4860:439::-;4913:3;4951:5;4945:12;4978:6;4973:3;4966:19;5004:4;5033;5028:3;5024:14;5017:21;;5072:4;5065:5;5061:16;5095:1;5105:169;5119:6;5116:1;5113:13;5105:169;;;5180:13;;5168:26;;5214:12;;;;5249:15;;;;5141:1;5134:9;5105:169;;;-1:-1:-1;5290:3:1;;4860:439;-1:-1:-1;;;;;4860:439:1:o;5304:261::-;5483:2;5472:9;5465:21;5446:4;5503:56;5555:2;5544:9;5540:18;5532:6;5503:56;:::i;5570:127::-;5631:10;5626:3;5622:20;5619:1;5612:31;5662:4;5659:1;5652:15;5686:4;5683:1;5676:15;5702:275;5773:2;5767:9;5838:2;5819:13;;-1:-1:-1;;5815:27:1;5803:40;;-1:-1:-1;;;;;5858:34:1;;5894:22;;;5855:62;5852:88;;;5920:18;;:::i;:::-;5956:2;5949:22;5702:275;;-1:-1:-1;5702:275:1:o;5982:406::-;6046:5;-1:-1:-1;;;;;6072:6:1;6069:30;6066:56;;;6102:18;;:::i;:::-;6140:57;6185:2;6164:15;;-1:-1:-1;;6160:29:1;6191:4;6156:40;6140:57;:::i;:::-;6131:66;;6220:6;6213:5;6206:21;6260:3;6251:6;6246:3;6242:16;6239:25;6236:45;;;6277:1;6274;6267:12;6236:45;6326:6;6321:3;6314:4;6307:5;6303:16;6290:43;6380:1;6373:4;6364:6;6357:5;6353:18;6349:29;6342:40;5982:406;;;;;:::o;6393:220::-;6435:5;6488:3;6481:4;6473:6;6469:17;6465:27;6455:55;;6506:1;6503;6496:12;6455:55;6528:79;6603:3;6594:6;6581:20;6574:4;6566:6;6562:17;6528:79;:::i;6618:394::-;6695:6;6703;6756:2;6744:9;6735:7;6731:23;6727:32;6724:52;;;6772:1;6769;6762:12;6724:52;6795:29;6814:9;6795:29;:::i;:::-;6785:39;;6875:2;6864:9;6860:18;6847:32;-1:-1:-1;;;;;6894:6:1;6891:30;6888:50;;;6934:1;6931;6924:12;6888:50;6957:49;6998:7;6989:6;6978:9;6974:22;6957:49;:::i;:::-;6947:59;;;6618:394;;;;;:::o;7017:485::-;7097:6;7105;7113;7166:2;7154:9;7145:7;7141:23;7137:32;7134:52;;;7182:1;7179;7172:12;7134:52;7205:29;7224:9;7205:29;:::i;:::-;7195:39;;7285:2;7274:9;7270:18;7257:32;-1:-1:-1;;;;;7304:6:1;7301:30;7298:50;;;7344:1;7341;7334:12;7298:50;7383:59;7434:7;7425:6;7414:9;7410:22;7383:59;:::i;:::-;7017:485;;7461:8;;-1:-1:-1;7357:85:1;;-1:-1:-1;;;;7017:485:1:o;7507:465::-;7764:2;7753:9;7746:21;7727:4;7790:56;7842:2;7831:9;7827:18;7819:6;7790:56;:::i;:::-;7894:9;7886:6;7882:22;7877:2;7866:9;7862:18;7855:50;7922:44;7959:6;7951;7922:44;:::i;7977:450::-;8046:6;8099:2;8087:9;8078:7;8074:23;8070:32;8067:52;;;8115:1;8112;8105:12;8067:52;8155:9;8142:23;-1:-1:-1;;;;;8180:6:1;8177:30;8174:50;;;8220:1;8217;8210:12;8174:50;8243:22;;8296:4;8288:13;;8284:27;-1:-1:-1;8274:55:1;;8325:1;8322;8315:12;8274:55;8348:73;8413:7;8408:2;8395:16;8390:2;8386;8382:11;8348:73;:::i;8617:347::-;8682:6;8690;8743:2;8731:9;8722:7;8718:23;8714:32;8711:52;;;8759:1;8756;8749:12;8711:52;8782:29;8801:9;8782:29;:::i;:::-;8772:39;;8861:2;8850:9;8846:18;8833:32;8908:5;8901:13;8894:21;8887:5;8884:32;8874:60;;8930:1;8927;8920:12;8874:60;8953:5;8943:15;;;8617:347;;;;;:::o;8969:946::-;9053:6;9084:2;9127;9115:9;9106:7;9102:23;9098:32;9095:52;;;9143:1;9140;9133:12;9095:52;9183:9;9170:23;-1:-1:-1;;;;;9253:2:1;9245:6;9242:14;9239:34;;;9269:1;9266;9259:12;9239:34;9307:6;9296:9;9292:22;9282:32;;9352:7;9345:4;9341:2;9337:13;9333:27;9323:55;;9374:1;9371;9364:12;9323:55;9410:2;9397:16;9432:2;9428;9425:10;9422:36;;;9438:18;;:::i;:::-;9484:2;9481:1;9477:10;9467:20;;9507:28;9531:2;9527;9523:11;9507:28;:::i;:::-;9569:15;;;9639:11;;;9635:20;;;9600:12;;;;9667:19;;;9664:39;;;9699:1;9696;9689:12;9664:39;9723:11;;;;9743:142;9759:6;9754:3;9751:15;9743:142;;;9825:17;;9813:30;;9776:12;;;;9863;;;;9743:142;;;9904:5;8969:946;-1:-1:-1;;;;;;;;8969:946:1:o;9920:479::-;10000:6;10008;10016;10069:2;10057:9;10048:7;10044:23;10040:32;10037:52;;;10085:1;10082;10075:12;10037:52;10125:9;10112:23;-1:-1:-1;;;;;10150:6:1;10147:30;10144:50;;;10190:1;10187;10180:12;10144:50;10229:59;10280:7;10271:6;10260:9;10256:22;10229:59;:::i;:::-;10307:8;;10203:85;;-1:-1:-1;10389:2:1;10374:18;;;;10361:32;;9920:479;-1:-1:-1;;;;9920:479:1:o;10404:537::-;10499:6;10507;10515;10523;10576:3;10564:9;10555:7;10551:23;10547:33;10544:53;;;10593:1;10590;10583:12;10544:53;10616:29;10635:9;10616:29;:::i;:::-;10606:39;;10664:38;10698:2;10687:9;10683:18;10664:38;:::i;:::-;10654:48;;10749:2;10738:9;10734:18;10721:32;10711:42;;10804:2;10793:9;10789:18;10776:32;-1:-1:-1;;;;;10823:6:1;10820:30;10817:50;;;10863:1;10860;10853:12;10817:50;10886:49;10927:7;10918:6;10907:9;10903:22;10886:49;:::i;:::-;10876:59;;;10404:537;;;;;;;:::o;10946:411::-;11017:6;11025;11078:2;11066:9;11057:7;11053:23;11049:32;11046:52;;;11094:1;11091;11084:12;11046:52;11134:9;11121:23;-1:-1:-1;;;;;11159:6:1;11156:30;11153:50;;;11199:1;11196;11189:12;11153:50;11238:59;11289:7;11280:6;11269:9;11265:22;11238:59;:::i;:::-;11316:8;;11212:85;;-1:-1:-1;10946:411:1;-1:-1:-1;;;;10946:411:1:o;11362:260::-;11430:6;11438;11491:2;11479:9;11470:7;11466:23;11462:32;11459:52;;;11507:1;11504;11497:12;11459:52;11530:29;11549:9;11530:29;:::i;:::-;11520:39;;11578:38;11612:2;11601:9;11597:18;11578:38;:::i;:::-;11568:48;;11362:260;;;;;:::o;12031:127::-;12092:10;12087:3;12083:20;12080:1;12073:31;12123:4;12120:1;12113:15;12147:4;12144:1;12137:15;12163:135;12202:3;12223:17;;;12220:43;;12243:18;;:::i;:::-;-1:-1:-1;12290:1:1;12279:13;;12163:135::o;12303:128::-;12370:9;;;12391:11;;;12388:37;;;12405:18;;:::i;12436:125::-;12501:9;;;12522:10;;;12519:36;;;12535:18;;:::i;12566:380::-;12645:1;12641:12;;;;12688;;;12709:61;;12763:4;12755:6;12751:17;12741:27;;12709:61;12816:2;12808:6;12805:14;12785:18;12782:38;12779:161;;12862:10;12857:3;12853:20;12850:1;12843:31;12897:4;12894:1;12887:15;12925:4;12922:1;12915:15;12779:161;;12566:380;;;:::o;13783:409::-;13985:2;13967:21;;;14024:2;14004:18;;;13997:30;14063:34;14058:2;14043:18;;14036:62;-1:-1:-1;;;14129:2:1;14114:18;;14107:43;14182:3;14167:19;;13783:409::o;14329:217::-;14369:1;14395;14385:132;;14439:10;14434:3;14430:20;14427:1;14420:31;14474:4;14471:1;14464:15;14502:4;14499:1;14492:15;14385:132;-1:-1:-1;14531:9:1;;14329:217::o;14551:168::-;14624:9;;;14655;;14672:15;;;14666:22;;14652:37;14642:71;;14693:18;;:::i;15137:408::-;15339:2;15321:21;;;15378:2;15358:18;;;15351:30;15417:34;15412:2;15397:18;;15390:62;-1:-1:-1;;;15483:2:1;15468:18;;15461:42;15535:3;15520:19;;15137:408::o;15550:::-;15752:2;15734:21;;;15791:2;15771:18;;;15764:30;15830:34;15825:2;15810:18;;15803:62;-1:-1:-1;;;15896:2:1;15881:18;;15874:42;15948:3;15933:19;;15550:408::o;15963:273::-;16148:6;16140;16135:3;16122:33;16104:3;16174:16;;16199:13;;;16174:16;15963:273;-1:-1:-1;15963:273:1:o;16241:127::-;16302:10;16297:3;16293:20;16290:1;16283:31;16333:4;16330:1;16323:15;16357:4;16354:1;16347:15;17278:518;17380:2;17375:3;17372:11;17369:421;;;17416:5;17413:1;17406:16;17460:4;17457:1;17447:18;17530:2;17518:10;17514:19;17511:1;17507:27;17501:4;17497:38;17566:4;17554:10;17551:20;17548:47;;;-1:-1:-1;17589:4:1;17548:47;17644:2;17639:3;17635:12;17632:1;17628:20;17622:4;17618:31;17608:41;;17699:81;17717:2;17710:5;17707:13;17699:81;;;17776:1;17762:16;;17743:1;17732:13;17699:81;;;17703:3;;17278:518;;;:::o;17972:1345::-;18098:3;18092:10;-1:-1:-1;;;;;18117:6:1;18114:30;18111:56;;;18147:18;;:::i;:::-;18176:97;18266:6;18226:38;18258:4;18252:11;18226:38;:::i;:::-;18220:4;18176:97;:::i;:::-;18328:4;;18385:2;18374:14;;18402:1;18397:663;;;;19104:1;19121:6;19118:89;;;-1:-1:-1;19173:19:1;;;19167:26;19118:89;-1:-1:-1;;17929:1:1;17925:11;;;17921:24;17917:29;17907:40;17953:1;17949:11;;;17904:57;19220:81;;18367:944;;18397:663;17225:1;17218:14;;;17262:4;17249:18;;-1:-1:-1;;18433:20:1;;;18551:236;18565:7;18562:1;18559:14;18551:236;;;18654:19;;;18648:26;18633:42;;18746:27;;;;18714:1;18702:14;;;;18581:19;;18551:236;;;18555:3;18815:6;18806:7;18803:19;18800:201;;;18876:19;;;18870:26;-1:-1:-1;;18959:1:1;18955:14;;;18971:3;18951:24;18947:37;18943:42;18928:58;18913:74;;18800:201;;;19047:1;19038:6;19035:1;19031:14;19027:22;19021:4;19014:36;18367:944;;;;;17972:1345;;:::o;23272:838::-;23547:2;23536:9;23529:21;23586:6;23581:2;23570:9;23566:18;23559:34;23644:6;23636;23630:3;23619:9;23615:19;23602:49;23701:1;23695:3;23671:22;;;23667:32;;23660:43;;;-1:-1:-1;;23762:2:1;23741:15;;23737:29;23722:45;;23809:18;;;23805:28;;23798:4;23783:20;;23776:58;23850:12;;;23843:28;;;-1:-1:-1;;;;;23883:31:1;;23880:51;;;23927:1;23924;23917:12;23880:51;23961:6;23958:1;23954:14;24012:6;24004;23998:3;23994:2;23990:12;23977:42;24092:2;24077:18;;;;24070:34;;;;-1:-1:-1;24040:15:1;24057:3;24036:25;;23272:838;-1:-1:-1;;;;23272:838:1:o;28913:640::-;29193:3;29231:6;29225:13;29247:66;29306:6;29301:3;29294:4;29286:6;29282:17;29247:66;:::i;:::-;-1:-1:-1;;;29335:16:1;;;29360:18;;;29403:13;;29425:78;29403:13;29490:1;29479:13;;29472:4;29460:17;;29425:78;:::i;:::-;29523:20;29545:1;29519:28;;28913:640;-1:-1:-1;;;;28913:640:1:o;30326:401::-;30528:2;30510:21;;;30567:2;30547:18;;;30540:30;30606:34;30601:2;30586:18;;30579:62;-1:-1:-1;;;30672:2:1;30657:18;;30650:35;30717:3;30702:19;;30326:401::o;31137:184::-;31207:6;31260:2;31248:9;31239:7;31235:23;31231:32;31228:52;;;31276:1;31273;31266:12;31228:52;-1:-1:-1;31299:16:1;;31137:184;-1:-1:-1;31137:184:1:o;32151:407::-;32353:2;32335:21;;;32392:2;32372:18;;;32365:30;32431:34;32426:2;32411:18;;32404:62;-1:-1:-1;;;32497:2:1;32482:18;;32475:41;32548:3;32533:19;;32151:407::o;33338:414::-;33540:2;33522:21;;;33579:2;33559:18;;;33552:30;33618:34;33613:2;33598:18;;33591:62;-1:-1:-1;;;33684:2:1;33669:18;;33662:48;33742:3;33727:19;;33338:414::o;34532:489::-;-1:-1:-1;;;;;34801:15:1;;;34783:34;;34853:15;;34848:2;34833:18;;34826:43;34900:2;34885:18;;34878:34;;;34948:3;34943:2;34928:18;;34921:31;;;34726:4;;34969:46;;34995:19;;34987:6;34969:46;:::i;35026:249::-;35095:6;35148:2;35136:9;35127:7;35123:23;35119:32;35116:52;;;35164:1;35161;35154:12;35116:52;35196:9;35190:16;35215:30;35239:5;35215:30;:::i;35998:287::-;36127:3;36165:6;36159:13;36181:66;36240:6;36235:3;36228:4;36220:6;36216:17;36181:66;:::i;:::-;36263:16;;;;;35998:287;-1:-1:-1;;35998:287:1:o
Swarm Source
ipfs://661eb1c6dd5735e0b0b859d6bd0d5b0880d7e0aa6c956c2c4f24689552779b9a
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.