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 Name:
SoulZAscended
Compiler Version
v0.8.18+commit.87f61d96
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-05-24 */ // SPDX-License-Identifier: MIT // File: @openzeppelin/contracts-upgradeable/utils/CountersUpgradeable.sol // OpenZeppelin Contracts v4.4.1 (utils/Counters.sol) pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library CountersUpgradeable { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } } // 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/SafeMathUpgradeable.sol // OpenZeppelin Contracts (last updated v4.9.0) (utils/math/SafeMath.sol) pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ library SafeMathUpgradeable { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the subtraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } } // File: @openzeppelin/contracts-upgradeable/token/ERC20/IERC20Upgradeable.sol // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20Upgradeable { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address from, address to, uint256 amount) external returns (bool); } // File: @openzeppelin/contracts-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/cryptography/ECDSAUpgradeable.sol // OpenZeppelin Contracts (last updated v4.9.0) (utils/cryptography/ECDSA.sol) pragma solidity ^0.8.0; /** * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations. * * These functions can be used to verify that a message was signed by the holder * of the private keys of a given address. */ library ECDSAUpgradeable { enum RecoverError { NoError, InvalidSignature, InvalidSignatureLength, InvalidSignatureS, InvalidSignatureV // Deprecated in v4.8 } function _throwError(RecoverError error) private pure { if (error == RecoverError.NoError) { return; // no error: do nothing } else if (error == RecoverError.InvalidSignature) { revert("ECDSA: invalid signature"); } else if (error == RecoverError.InvalidSignatureLength) { revert("ECDSA: invalid signature length"); } else if (error == RecoverError.InvalidSignatureS) { revert("ECDSA: invalid signature 's' value"); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature` or error string. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. * * Documentation for signature generation: * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js] * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers] * * _Available since v4.3._ */ function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) { if (signature.length == 65) { bytes32 r; bytes32 s; uint8 v; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. /// @solidity memory-safe-assembly assembly { r := mload(add(signature, 0x20)) s := mload(add(signature, 0x40)) v := byte(0, mload(add(signature, 0x60))) } return tryRecover(hash, v, r, s); } else { return (address(0), RecoverError.InvalidSignatureLength); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature`. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. */ function recover(bytes32 hash, bytes memory signature) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, signature); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately. * * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures] * * _Available since v4.3._ */ function tryRecover(bytes32 hash, bytes32 r, bytes32 vs) internal pure returns (address, RecoverError) { bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff); uint8 v = uint8((uint256(vs) >> 255) + 27); return tryRecover(hash, v, r, s); } /** * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately. * * _Available since v4.2._ */ function recover(bytes32 hash, bytes32 r, bytes32 vs) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, r, vs); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `v`, * `r` and `s` signature fields separately. * * _Available since v4.3._ */ function tryRecover(bytes32 hash, uint8 v, bytes32 r, bytes32 s) internal pure returns (address, RecoverError) { // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most // signatures from current libraries generate a unique signature with an s-value in the lower half order. // // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept // these malleable signatures as well. if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) { return (address(0), RecoverError.InvalidSignatureS); } // If the signature is valid (and not malleable), return the signer address address signer = ecrecover(hash, v, r, s); if (signer == address(0)) { return (address(0), RecoverError.InvalidSignature); } return (signer, RecoverError.NoError); } /** * @dev Overload of {ECDSA-recover} that receives the `v`, * `r` and `s` signature fields separately. */ function recover(bytes32 hash, uint8 v, bytes32 r, bytes32 s) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, v, r, s); _throwError(error); return recovered; } /** * @dev Returns an Ethereum Signed Message, created from a `hash`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32 message) { // 32 is the length in bytes of hash, // enforced by the type signature above /// @solidity memory-safe-assembly assembly { mstore(0x00, "\x19Ethereum Signed Message:\n32") mstore(0x1c, hash) message := keccak256(0x00, 0x3c) } } /** * @dev Returns an Ethereum Signed Message, created from `s`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", StringsUpgradeable.toString(s.length), s)); } /** * @dev Returns an Ethereum Signed Typed Data, created from a * `domainSeparator` and a `structHash`. This produces hash corresponding * to the one signed with the * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`] * JSON-RPC method as part of EIP-712. * * See {recover}. */ function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32 data) { /// @solidity memory-safe-assembly assembly { let ptr := mload(0x40) mstore(ptr, "\x19\x01") mstore(add(ptr, 0x02), domainSeparator) mstore(add(ptr, 0x22), structHash) data := keccak256(ptr, 0x42) } } /** * @dev Returns an Ethereum Signed Data with intended validator, created from a * `validator` and `data` according to the version 0 of EIP-191. * * See {recover}. */ function toDataWithIntendedValidatorHash(address validator, bytes memory data) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19\x00", validator, data)); } } // 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/security/ReentrancyGuardUpgradeable.sol // OpenZeppelin Contracts (last updated v4.9.0) (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuardUpgradeable is Initializable { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; function __ReentrancyGuard_init() internal onlyInitializing { __ReentrancyGuard_init_unchained(); } function __ReentrancyGuard_init_unchained() internal onlyInitializing { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { _nonReentrantBefore(); _; _nonReentrantAfter(); } function _nonReentrantBefore() private { // On the first call to nonReentrant, _status will be _NOT_ENTERED require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; } function _nonReentrantAfter() private { // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } /** * @dev Returns true if the reentrancy guard is currently set to "entered", which indicates there is a * `nonReentrant` function in the call stack. */ function _reentrancyGuardEntered() internal view returns (bool) { return _status == _ENTERED; } /** * @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/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/security/PausableUpgradeable.sol // OpenZeppelin Contracts (last updated v4.7.0) (security/Pausable.sol) pragma solidity ^0.8.0; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract PausableUpgradeable is Initializable, ContextUpgradeable { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ function __Pausable_init() internal onlyInitializing { __Pausable_init_unchained(); } function __Pausable_init_unchained() internal onlyInitializing { _paused = false; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { _requireNotPaused(); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { _requirePaused(); _; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Throws if the contract is paused. */ function _requireNotPaused() internal view virtual { require(!paused(), "Pausable: paused"); } /** * @dev Throws if the contract is not paused. */ function _requirePaused() internal view virtual { require(paused(), "Pausable: not paused"); } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } /** * @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/token/ERC1155/IERC1155Upgradeable.sol // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC1155/IERC1155.sol) pragma solidity ^0.8.0; /** * @dev Required interface of an ERC1155 compliant contract, as defined in the * https://eips.ethereum.org/EIPS/eip-1155[EIP]. * * _Available since v3.1._ */ interface IERC1155Upgradeable is IERC165Upgradeable { /** * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`. */ event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value); /** * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all * transfers. */ event TransferBatch( address indexed operator, address indexed from, address indexed to, uint256[] ids, uint256[] values ); /** * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to * `approved`. */ event ApprovalForAll(address indexed account, address indexed operator, bool approved); /** * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI. * * If an {URI} event was emitted for `id`, the standard * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value * returned by {IERC1155MetadataURI-uri}. */ event URI(string value, uint256 indexed id); /** * @dev Returns the amount of tokens of token type `id` owned by `account`. * * Requirements: * * - `account` cannot be the zero address. */ function balanceOf(address account, uint256 id) external view returns (uint256); /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}. * * Requirements: * * - `accounts` and `ids` must have the same length. */ function balanceOfBatch( address[] calldata accounts, uint256[] calldata ids ) external view returns (uint256[] memory); /** * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`, * * Emits an {ApprovalForAll} event. * * Requirements: * * - `operator` cannot be the caller. */ function setApprovalForAll(address operator, bool approved) external; /** * @dev Returns true if `operator` is approved to transfer ``account``'s tokens. * * See {setApprovalForAll}. */ function isApprovedForAll(address account, address operator) external view returns (bool); /** * @dev Transfers `amount` tokens of token type `id` from `from` to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - If the caller is not `from`, it must have been approved to spend ``from``'s tokens via {setApprovalForAll}. * - `from` must have a balance of tokens of type `id` of at least `amount`. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function safeTransferFrom(address from, address to, uint256 id, uint256 amount, bytes calldata data) external; /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}. * * Emits a {TransferBatch} event. * * Requirements: * * - `ids` and `amounts` must have the same length. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function safeBatchTransferFrom( address from, address to, uint256[] calldata ids, uint256[] calldata amounts, bytes calldata data ) external; } // 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/common/ERC2981Upgradeable.sol // OpenZeppelin Contracts (last updated v4.9.0) (token/common/ERC2981.sol) pragma solidity ^0.8.0; /** * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information. * * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first. * * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the * fee is specified in basis points by default. * * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported. * * _Available since v4.5._ */ abstract contract ERC2981Upgradeable is Initializable, IERC2981Upgradeable, ERC165Upgradeable { function __ERC2981_init() internal onlyInitializing { } function __ERC2981_init_unchained() internal onlyInitializing { } struct RoyaltyInfo { address receiver; uint96 royaltyFraction; } RoyaltyInfo private _defaultRoyaltyInfo; mapping(uint256 => RoyaltyInfo) private _tokenRoyaltyInfo; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165Upgradeable, ERC165Upgradeable) returns (bool) { return interfaceId == type(IERC2981Upgradeable).interfaceId || super.supportsInterface(interfaceId); } /** * @inheritdoc IERC2981Upgradeable */ function royaltyInfo(uint256 tokenId, uint256 salePrice) public view virtual override returns (address, uint256) { RoyaltyInfo memory royalty = _tokenRoyaltyInfo[tokenId]; if (royalty.receiver == address(0)) { royalty = _defaultRoyaltyInfo; } uint256 royaltyAmount = (salePrice * royalty.royaltyFraction) / _feeDenominator(); return (royalty.receiver, royaltyAmount); } /** * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an * override. */ function _feeDenominator() internal pure virtual returns (uint96) { return 10000; } /** * @dev Sets the royalty information that all ids in this contract will default to. * * Requirements: * * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual { require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice"); require(receiver != address(0), "ERC2981: invalid receiver"); _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Removes default royalty information. */ function _deleteDefaultRoyalty() internal virtual { delete _defaultRoyaltyInfo; } /** * @dev Sets the royalty information for a specific token id, overriding the global default. * * Requirements: * * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setTokenRoyalty(uint256 tokenId, address receiver, uint96 feeNumerator) internal virtual { require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice"); require(receiver != address(0), "ERC2981: Invalid parameters"); _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Resets royalty information for the token id back to the global default. */ function _resetTokenRoyalty(uint256 tokenId) internal virtual { delete _tokenRoyaltyInfo[tokenId]; } /** * @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[48] 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: @openzeppelin/contracts-upgradeable/token/ERC721/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) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ 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: SoulZAscendant.sol pragma solidity ^0.8.10; interface ISoulZFood is IERC1155Upgradeable { function burn(address account, uint256 id, uint256 value) external; function burnBatch( address account, uint256[] memory ids, uint256[] memory values ) external; } interface ISoulZGenesis is IERC721Upgradeable {} interface ISoulZOrbZ is IERC20Upgradeable { function decimals() external view returns (uint8); } contract SoulZAscended is Initializable, PausableUpgradeable, OwnableUpgradeable, UUPSUpgradeable, ReentrancyGuardUpgradeable, ERC2981Upgradeable, ERC721Upgradeable { using SafeMathUpgradeable for uint256; using StringsUpgradeable for uint256; /** * * ************************* STATE VARIABLES ************************* */ ISoulZOrbZ public orbz; ISoulZFood public food; ISoulZGenesis public genesis; uint256 public _skin1Counter; uint256 public _skin2Counter; uint256 public _skin3Counter; uint256 public _skin4Counter; uint256 public _skin5Counter; string public baseURI; string private baseExtension; address public _pauserRole; address public _upgraderRole; address public _ECDSAWallet; address public _orbzWallet; function initialize( address soulZOrbZ, address soulZFood, address soulZGenesis ) public initializer { __ERC721_init("AscendedSoulZ", "AscendedSoulZ"); __Pausable_init(); __Ownable_init(); __UUPSUpgradeable_init(); __ReentrancyGuard_init(); __ERC2981_init(); _pauserRole = owner(); _upgraderRole = owner(); baseURI = "https://nftstorage.link/ipfs/bafybeih52mx4rvcofbsbhgmsujavcybqhpgbk7t7zsxvx5qc2mizbgzpjy/"; baseExtension = ".json"; _skin1Counter = 0; _skin2Counter = 1555; _skin3Counter = 3110; _skin4Counter = 4665; _skin5Counter = 6220; orbz = ISoulZOrbZ(soulZOrbZ); food = ISoulZFood(soulZFood); genesis = ISoulZGenesis(soulZGenesis); } /** * * ************************* MAPPINGS ************************* */ mapping(uint256 => uint256) public skin; //*Mapping of ascendant_skin_id to food_id mapping(uint256 => string) public updatedURI; //* Mapping of token id to trait updated uri mapping(bytes => bool) public signatureUsed; //* Tracks for a signature that is already used mapping(address => bool) public blockedMarketplaces; //* Whitelisted marketplaces can allow transferFrom /** * * ************************* EVENTS ************************* */ event ascendantMinted(address indexed _to, uint256 _tokenId, uint256 _foodId); event oneOfTheOne( address indexed _to, uint256 _tokenIdToBurn, uint256 _tokenIdToChange ); /** * * ************************* ROYALTY ************************* */ function setRoyalty( address receiver, uint96 feeNumerator ) public virtual onlyOwner { _setDefaultRoyalty(receiver, feeNumerator); } /** * * ************************* WHITELIST MARKETPLACES ************************* */ //* We will override _beforeTokenTransfer to allow or disallow marketplaces for NFT trades function _beforeTokenTransfer( address from, address to, uint256 firstTokenId, uint256 batchSize ) internal virtual override { require( blockedMarketplaces[to] == false, "Invalid marketplace, not allowed" ); require( blockedMarketplaces[from] == false, "Invalid marketplace, not allowed" ); } function setBlockedMarketplace( address _marketplace, bool _blocked ) public onlyOwner { blockedMarketplaces[_marketplace] = _blocked; } /** * * ************************* URI ************************* */ function tokenURI( uint256 tokenId ) public view virtual override returns (string memory) { require(_exists(tokenId), "TokenId Does not Exist"); if (bytes(updatedURI[tokenId]).length > 0) { return updatedURI[tokenId]; } else { return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString(), baseExtension)) : ""; } } function setBaseURI(string memory _baseURI) public onlyOwner { baseURI = _baseURI; } function getBaseUri() public view returns (string memory) { return baseURI; } function setBaseExtension(string memory newBaseExtension) public onlyOwner { baseExtension = newBaseExtension; } function getBaseExtention() public view returns (string memory) { return baseExtension; } /** * * ************************* VERIFY SIGNATURE ************************* */ function recoverSigner( bytes32 hash, bytes memory signature ) public pure returns (address) { bytes32 messageDigest = keccak256( abi.encodePacked("\x19Ethereum Signed Message:\n32", hash) ); return ECDSAUpgradeable.recover(messageDigest, signature); } /** * * ************************* TRAIT ************************* */ // DEV: TODO: Use Ecreover analogy to make sure no outsider can change URI function updateAsecendantTrait( uint256 _tokenId, string memory _uri, uint256 _features, bytes32 _hash, bytes memory _signature ) public nonReentrant returns (string memory) { require( recoverSigner(_hash, _signature) == _ECDSAWallet, "Cannot verify signature" ); require(!signatureUsed[_signature], "Signature has already been used."); signatureUsed[_signature] = true; require(ownerOf(_tokenId) == msg.sender, "You do not own this Acendant"); uint256 amount = 100 * (10 ** (orbz.decimals())); uint256 total = _features * amount; require( orbz.balanceOf(msg.sender) >= total, "You do not have enough Orbz." ); require( orbz.allowance(msg.sender, address(this)) >= total, "You do not have enough allowance to transfer Orbz" ); orbz.transferFrom(msg.sender, address(_orbzWallet), total); updatedURI[_tokenId] = _uri; return updatedURI[_tokenId]; } /** * * ************************* MODIFIERS ************************* */ modifier onlyPauser() { require(_msgSender() == _pauserRole, "Only Pauser Can Perform this action"); _; } modifier onlyUpgrader() { require( _msgSender() == _upgraderRole, "Only Upgrader Can Perform this action" ); _; } /** * * ************************* TRANSFERS ************************* */ function transferPauserRole(address newPauserAddress) public onlyPauser { _pauserRole = newPauserAddress; } function transferUpgraderRole( address newUpgraderAddress ) public onlyUpgrader { _upgraderRole = newUpgraderAddress; } /** * * ************************* MINT ************************* */ function safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId); } function mintAscendant(uint256[] memory foodId) public nonReentrant { require( food.isApprovedForAll(_msgSender(), address(this)), "You are not approved." ); for (uint256 i = 0; i < foodId.length; i++) { require( food.balanceOf(msg.sender, foodId[i]) > 0, "You do not have the food." ); uint256 tokenId; if (foodId[i] == 0) { tokenId = _skin1Counter; _skin1Counter++; } else if (foodId[i] == 1) { tokenId = _skin2Counter; _skin2Counter++; } else if (foodId[i] == 2) { tokenId = _skin3Counter; _skin3Counter++; } else if (foodId[i] == 3) { tokenId = _skin4Counter; _skin4Counter++; } else if (foodId[i] == 4) { tokenId = _skin5Counter; _skin5Counter++; } skin[tokenId] = foodId[i]; food.burn(msg.sender, foodId[i], 1); safeMint(msg.sender, tokenId); emit ascendantMinted(msg.sender, tokenId, foodId[i]); } } // DEV: TODO: This needs to be changed because we will not mint 1-1 NFT but only give 1-1 by a probability to existing tokens by changing URI only function getOneOfTheOne( uint256 _tokenIdToBurn, uint256 _tokenIdToChange, string memory _uri, bytes32 _hash, bytes memory _signature ) public nonReentrant returns (string memory) { require( recoverSigner(_hash, _signature) == _ECDSAWallet, "Cannot verify signature" ); require(!signatureUsed[_signature], "Signature has already been used."); signatureUsed[_signature] = true; require(genesis.balanceOf(msg.sender) > 0, "You do not own a SoulZ NFT."); require( genesis.ownerOf(_tokenIdToBurn) == msg.sender, "You do not own this Genesis" ); require( genesis.isApprovedForAll(msg.sender, address(this)), "You are not approved." ); genesis.transferFrom( msg.sender, address(0x000000000000000000000000000000000000dEaD), _tokenIdToBurn ); updatedURI[_tokenIdToChange] = _uri; emit oneOfTheOne(msg.sender, _tokenIdToBurn, _tokenIdToChange); return updatedURI[_tokenIdToChange]; } /** * * ************************* PAUSE ************************* */ function pause() public onlyPauser { _pause(); } function unpause() public onlyPauser { _unpause(); } function _authorizeUpgrade( address newImplementation ) internal override onlyUpgrader {} function supportsInterface( bytes4 interfaceId ) public view override(ERC721Upgradeable, ERC2981Upgradeable) returns (bool) { return super.supportsInterface(interfaceId); } /** * * ************************* UPDATE WALLETS ************************* */ function updateECDSAWallet(address wallet) public onlyOwner { _ECDSAWallet = wallet; } function updateOrbzWallet(address wallet) public onlyOwner { _orbzWallet = wallet; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"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":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":"address","name":"account","type":"address"}],"name":"Paused","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":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"implementation","type":"address"}],"name":"Upgraded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_to","type":"address"},{"indexed":false,"internalType":"uint256","name":"_tokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_foodId","type":"uint256"}],"name":"ascendantMinted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_to","type":"address"},{"indexed":false,"internalType":"uint256","name":"_tokenIdToBurn","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_tokenIdToChange","type":"uint256"}],"name":"oneOfTheOne","type":"event"},{"inputs":[],"name":"_ECDSAWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_orbzWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_pauserRole","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_skin1Counter","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_skin2Counter","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_skin3Counter","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_skin4Counter","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_skin5Counter","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_upgraderRole","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"blockedMarketplaces","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"food","outputs":[{"internalType":"contract ISoulZFood","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"genesis","outputs":[{"internalType":"contract ISoulZGenesis","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getBaseExtention","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getBaseUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenIdToBurn","type":"uint256"},{"internalType":"uint256","name":"_tokenIdToChange","type":"uint256"},{"internalType":"string","name":"_uri","type":"string"},{"internalType":"bytes32","name":"_hash","type":"bytes32"},{"internalType":"bytes","name":"_signature","type":"bytes"}],"name":"getOneOfTheOne","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"soulZOrbZ","type":"address"},{"internalType":"address","name":"soulZFood","type":"address"},{"internalType":"address","name":"soulZGenesis","type":"address"}],"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":"uint256[]","name":"foodId","type":"uint256[]"}],"name":"mintAscendant","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"orbz","outputs":[{"internalType":"contract ISoulZOrbZ","name":"","type":"address"}],"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":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"proxiableUUID","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"hash","type":"bytes32"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"recoverSigner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"pure","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":"newBaseExtension","type":"string"}],"name":"setBaseExtension","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_marketplace","type":"address"},{"internalType":"bool","name":"_blocked","type":"bool"}],"name":"setBlockedMarketplace","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint96","name":"feeNumerator","type":"uint96"}],"name":"setRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes","name":"","type":"bytes"}],"name":"signatureUsed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"skin","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":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newPauserAddress","type":"address"}],"name":"transferPauserRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newUpgraderAddress","type":"address"}],"name":"transferUpgraderRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"string","name":"_uri","type":"string"},{"internalType":"uint256","name":"_features","type":"uint256"},{"internalType":"bytes32","name":"_hash","type":"bytes32"},{"internalType":"bytes","name":"_signature","type":"bytes"}],"name":"updateAsecendantTrait","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"wallet","type":"address"}],"name":"updateECDSAWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"wallet","type":"address"}],"name":"updateOrbzWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"updatedURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","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"}]
Contract Creation Code
60a06040523060805234801561001457600080fd5b5060805161469d61004c600039600081816110a6015281816110e60152818161128a015281816112ca0152611346015261469d6000f3fe6080604052600436106102e05760003560e01c80638456cb5911610186578063bad383a6116100d7578063da3ef23f11610085578063da3ef23f146108f2578063db4c5f8114610912578063dd060a5a14610927578063df9094b21461093e578063e6e284631461095e578063e985e9c51461097e578063f2fde38b1461099e57600080fd5b8063bad383a6146107f3578063bb10c82914610813578063c0c53b8b1461084f578063c823b3b81461086f578063c87b56dd14610890578063ca7a7e15146108b0578063ce3708a5146108d157600080fd5b806397aba7f91161013457806397aba7f91461070357806398b4e8d314610723578063a22cb46514610744578063a7f0b3de14610764578063a8e1481b14610785578063b630664f146107b3578063b88d4fde146107d357600080fd5b80638456cb591461064d5780638d11098d146106625780638da5cb5b146106825780638f2fc60b146106a05780639157913d146106c057806395d89b41146106d7578063965bc597146106ec57600080fd5b806342842e0e116102405780636352211e116101ee5780636352211e146105715780636ac77d42146105915780636c0360eb146105b257806370a08231146105c7578063715018a6146105e757806379b41784146105fc57806380880d5d1461062d57600080fd5b806342842e0e146104ba578063458adda3146104da5780634f1ef286146104fa57806352d1902d1461050d57806355f804b31461052257806358206b3f146105425780635c975abb1461055957600080fd5b80630cac36b21161029d5780630cac36b2146103d15780632269ddea146103e657806323b872dd146104065780632a55205a146104265780633659cfe61461046557806338e6fe3d146104855780633f4ba83a146104a557600080fd5b806301ffc9a7146102e557806302a553031461031a5780630420c6111461033f57806306fdde031461036d578063081812fc1461038f578063095ea7b3146103af575b600080fd5b3480156102f157600080fd5b506103056103003660046137eb565b6109be565b60405190151581526020015b60405180910390f35b34801561032657600080fd5b506103316101ca5481565b604051908152602001610311565b34801561034b57600080fd5b506101c354610360906001600160a01b031681565b6040516103119190613808565b34801561037957600080fd5b506103826109cf565b604051610311919061386c565b34801561039b57600080fd5b506103606103aa36600461387f565b610a62565b3480156103bb57600080fd5b506103cf6103ca3660046138ad565b610a8a565b005b3480156103dd57600080fd5b50610382610ba4565b3480156103f257600080fd5b506103cf61040136600461391f565b610bb4565b34801561041257600080fd5b506103cf6104213660046139c4565b610fbb565b34801561043257600080fd5b50610446610441366004613a05565b610fec565b604080516001600160a01b039093168352602083019190915201610311565b34801561047157600080fd5b506103cf610480366004613a27565b61109c565b34801561049157600080fd5b506103826104a036600461387f565b611161565b3480156104b157600080fd5b506103cf6111fc565b3480156104c657600080fd5b506103cf6104d53660046139c4565b61123a565b3480156104e657600080fd5b506103cf6104f5366004613a27565b611255565b6103cf610508366004613ab3565b611280565b34801561051957600080fd5b50610331611339565b34801561052e57600080fd5b506103cf61053d366004613b02565b6113e7565b34801561054e57600080fd5b506103316101c95481565b34801561056557600080fd5b5060335460ff16610305565b34801561057d57600080fd5b5061036061058c36600461387f565b6113fc565b34801561059d57600080fd5b506101d054610360906001600160a01b031681565b3480156105be57600080fd5b50610382611432565b3480156105d357600080fd5b506103316105e2366004613a27565b611440565b3480156105f357600080fd5b506103cf6114c7565b34801561060857600080fd5b50610305610617366004613a27565b6101d46020526000908152604090205460ff1681565b34801561063957600080fd5b506103cf610648366004613b44565b6114d9565b34801561065957600080fd5b506103cf61150d565b34801561066e57600080fd5b506103cf61067d366004613a27565b611549565b34801561068e57600080fd5b506065546001600160a01b0316610360565b3480156106ac57600080fd5b506103cf6106bb366004613b7d565b6115a0565b3480156106cc57600080fd5b506103316101c75481565b3480156106e357600080fd5b506103826115b2565b3480156106f857600080fd5b506103316101c65481565b34801561070f57600080fd5b5061036061071e366004613bb7565b6115c2565b34801561072f57600080fd5b506101c454610360906001600160a01b031681565b34801561075057600080fd5b506103cf61075f366004613b44565b611624565b34801561077057600080fd5b506101c554610360906001600160a01b031681565b34801561079157600080fd5b506103316107a036600461387f565b6101d16020526000908152604090205481565b3480156107bf57600080fd5b506103826107ce366004613be7565b61162f565b3480156107df57600080fd5b506103cf6107ee366004613c67565b611ac6565b3480156107ff57600080fd5b506103cf61080e366004613a27565b611afe565b34801561081f57600080fd5b5061030561082e366004613b02565b80516020818301810180516101d38252928201919093012091525460ff1681565b34801561085b57600080fd5b506103cf61086a366004613cd2565b611b55565b34801561087b57600080fd5b506101ce54610360906001600160a01b031681565b34801561089c57600080fd5b506103826108ab36600461387f565b611dbf565b3480156108bc57600080fd5b506101cd54610360906001600160a01b031681565b3480156108dd57600080fd5b506101cf54610360906001600160a01b031681565b3480156108fe57600080fd5b506103cf61090d366004613b02565b611f32565b34801561091e57600080fd5b50610382611f47565b34801561093357600080fd5b506103316101c85481565b34801561094a57600080fd5b50610382610959366004613d1d565b611f57565b34801561096a57600080fd5b506103cf610979366004613a27565b612389565b34801561098a57600080fd5b50610305610999366004613d83565b6123b4565b3480156109aa57600080fd5b506103cf6109b9366004613a27565b6123e3565b60006109c982612459565b92915050565b606061019180546109df90613db1565b80601f0160208091040260200160405190810160405280929190818152602001828054610a0b90613db1565b8015610a585780601f10610a2d57610100808354040283529160200191610a58565b820191906000526020600020905b815481529060010190602001808311610a3b57829003601f168201915b5050505050905090565b6000610a6d82612499565b50600090815261019560205260409020546001600160a01b031690565b6000610a95826113fc565b9050806001600160a01b0316836001600160a01b031603610b075760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b0382161480610b235750610b2381336123b4565b610b955760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c0000006064820152608401610afe565b610b9f83836124be565b505050565b60606101cb80546109df90613db1565b610bbc61252d565b6101c4546001600160a01b031663e985e9c533306040518363ffffffff1660e01b8152600401610bed929190613deb565b602060405180830381865afa158015610c0a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c2e9190613e05565b610c4a5760405162461bcd60e51b8152600401610afe90613e22565b60005b8151811015610fad576101c45482516000916001600160a01b03169062fdd58e903390869086908110610c8257610c82613e51565b60200260200101516040518363ffffffff1660e01b8152600401610cbb9291906001600160a01b03929092168252602082015260400190565b602060405180830381865afa158015610cd8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cfc9190613e67565b11610d455760405162461bcd60e51b81526020600482015260196024820152782cb7ba903237903737ba103430bb32903a3432903337b7b21760391b6044820152606401610afe565b6000828281518110610d5957610d59613e51565b6020026020010151600003610d8657506101c680549081906000610d7c83613e96565b9190505550610e60565b828281518110610d9857610d98613e51565b6020026020010151600103610dbb57506101c780549081906000610d7c83613e96565b828281518110610dcd57610dcd613e51565b6020026020010151600203610df057506101c880549081906000610d7c83613e96565b828281518110610e0257610e02613e51565b6020026020010151600303610e2557506101c980549081906000610d7c83613e96565b828281518110610e3757610e37613e51565b6020026020010151600403610e6057506101ca80549081906000610e5a83613e96565b91905055505b828281518110610e7257610e72613e51565b60209081029190910181015160008381526101d19092526040909120556101c45483516001600160a01b039091169063f5298aca903390869086908110610ebb57610ebb613e51565b60209081029190910101516040516001600160e01b031960e085901b1681526001600160a01b039092166004830152602482015260016044820152606401600060405180830381600087803b158015610f1357600080fd5b505af1158015610f27573d6000803e3d6000fd5b50505050610f353382612586565b336001600160a01b03167f5429d9751cf3854666ac84d0ce1055e7cd16e7a4394d1f0f0a8b01582e4ff63482858581518110610f7357610f73613e51565b6020026020010151604051610f92929190918252602082015260400190565b60405180910390a25080610fa581613e96565b915050610c4d565b50610fb8600160fb55565b50565b610fc53382612597565b610fe15760405162461bcd60e51b8152600401610afe90613eaf565b610b9f8383836125f5565b6000828152610160602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b031692820192909252829161106357506040805180820190915261015f546001600160a01b0381168252600160a01b90046001600160601b031660208201525b602081015160009061271090611082906001600160601b031687613efc565b61108c9190613f13565b91519350909150505b9250929050565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001630036110e45760405162461bcd60e51b8152600401610afe90613f35565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316611116612769565b6001600160a01b03161461113c5760405162461bcd60e51b8152600401610afe90613f81565b61114581612785565b60408051600080825260208201909252610fb8918391906127b9565b6101d2602052600090815260409020805461117b90613db1565b80601f01602080910402602001604051908101604052809291908181526020018280546111a790613db1565b80156111f45780601f106111c9576101008083540402835291602001916111f4565b820191906000526020600020905b8154815290600101906020018083116111d757829003601f168201915b505050505081565b6101cd546001600160a01b0316336001600160a01b0316146112305760405162461bcd60e51b8152600401610afe90613fcd565b611238612924565b565b610b9f83838360405180602001604052806000815250611ac6565b61125d612970565b6101d080546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001630036112c85760405162461bcd60e51b8152600401610afe90613f35565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166112fa612769565b6001600160a01b0316146113205760405162461bcd60e51b8152600401610afe90613f81565b61132982612785565b611335828260016127b9565b5050565b6000306001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146113d45760405162461bcd60e51b815260206004820152603860248201527f555550535570677261646561626c653a206d757374206e6f742062652063616c6044820152771b1959081d1a1c9bdd59da0819195b1959d85d1958d85b1b60421b6064820152608401610afe565b5060008051602061462183398151915290565b6113ef612970565b6101cb611335828261405e565b600081815261019360205260408120546001600160a01b0316806109c95760405162461bcd60e51b8152600401610afe9061411d565b6101cb805461117b90613db1565b60006001600160a01b0382166114aa5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b6064820152608401610afe565b506001600160a01b03166000908152610194602052604090205490565b6114cf612970565b61123860006129ca565b6114e1612970565b6001600160a01b039190911660009081526101d460205260409020805460ff1916911515919091179055565b6101cd546001600160a01b0316336001600160a01b0316146115415760405162461bcd60e51b8152600401610afe90613fcd565b611238612a1c565b6101ce546001600160a01b0316336001600160a01b03161461157d5760405162461bcd60e51b8152600401610afe9061414f565b6101ce80546001600160a01b0319166001600160a01b0392909216919091179055565b6115a8612970565b6113358282612a59565b606061019280546109df90613db1565b6040517f19457468657265756d205369676e6564204d6573736167653a0a3332000000006020820152603c81018390526000908190605c0160405160208183030381529060405280519060200120905061161c8184612b53565b949350505050565b611335338383612b77565b606061163961252d565b6101cf546001600160a01b031661165084846115c2565b6001600160a01b0316146116765760405162461bcd60e51b8152600401610afe90614194565b6101d38260405161168791906141c5565b9081526040519081900360200190205460ff16156116b75760405162461bcd60e51b8152600401610afe906141e1565b60016101d3836040516116ca91906141c5565b908152604051908190036020019020805491151560ff19909216919091179055336116f4876113fc565b6001600160a01b03161461174a5760405162461bcd60e51b815260206004820152601c60248201527f596f7520646f206e6f74206f776e2074686973204163656e64616e74000000006044820152606401610afe565b6101c3546040805163313ce56760e01b815290516000926001600160a01b03169163313ce5679160048083019260209291908290030181865afa158015611795573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117b99190614216565b6117c490600a61431d565b6117cf906064613efc565b905060006117dd8287613efc565b6101c3546040516370a0823160e01b815291925082916001600160a01b03909116906370a0823190611813903390600401613808565b602060405180830381865afa158015611830573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118549190613e67565b10156118a25760405162461bcd60e51b815260206004820152601c60248201527f596f7520646f206e6f74206861766520656e6f756768204f72627a2e000000006044820152606401610afe565b6101c354604051636eb1769f60e11b815282916001600160a01b03169063dd62ed3e906118d59033903090600401613deb565b602060405180830381865afa1580156118f2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119169190613e67565b101561197e5760405162461bcd60e51b815260206004820152603160248201527f596f7520646f206e6f74206861766520656e6f75676820616c6c6f77616e6365604482015270103a37903a3930b739b332b91027b9313d60791b6064820152608401610afe565b6101c3546101d0546040516323b872dd60e01b81526001600160a01b03928316926323b872dd926119b992339290911690869060040161432c565b6020604051808303816000875af11580156119d8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119fc9190613e05565b5060008881526101d260205260409020611a16888261405e565b5060008881526101d2602052604090208054611a3190613db1565b80601f0160208091040260200160405190810160405280929190818152602001828054611a5d90613db1565b8015611aaa5780601f10611a7f57610100808354040283529160200191611aaa565b820191906000526020600020905b815481529060010190602001808311611a8d57829003601f168201915b505050505092505050611abd600160fb55565b95945050505050565b611ad03383612597565b611aec5760405162461bcd60e51b8152600401610afe90613eaf565b611af884848484612c42565b50505050565b6101cd546001600160a01b0316336001600160a01b031614611b325760405162461bcd60e51b8152600401610afe90613fcd565b6101cd80546001600160a01b0319166001600160a01b0392909216919091179055565b600054610100900460ff1615808015611b755750600054600160ff909116105b80611b8f5750303b158015611b8f575060005460ff166001145b611bf25760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b6064820152608401610afe565b6000805460ff191660011790558015611c15576000805461ff0019166101001790555b611c696040518060400160405280600d81526020016c20b9b1b2b73232b229b7bab62d60991b8152506040518060400160405280600d81526020016c20b9b1b2b73232b229b7bab62d60991b815250612c75565b611c71612ca6565b611c79612cd5565b611c81612d04565b611c89612d2b565b611c91612d04565b6065546101cd80546001600160a01b039092166001600160a01b031992831681179091556101ce8054909216179055604080516080810190915260598082526145c860208301396101cb90611ce6908261405e565b50604080518082019091526005815264173539b7b760d91b60208201526101cc90611d11908261405e565b5060006101c6556106136101c755610c266101c8556112396101c95561184c6101ca556101c380546001600160a01b038087166001600160a01b0319928316179092556101c480548684169083161790556101c58054928516929091169190911790558015611af8576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a150505050565b6060611dca82612d5a565b611e0f5760405162461bcd60e51b8152602060048201526016602482015275151bdad95b925908111bd95cc81b9bdd08115e1a5cdd60521b6044820152606401610afe565b60008281526101d2602052604081208054611e2990613db1565b90501115611ed05760008281526101d2602052604090208054611e4b90613db1565b80601f0160208091040260200160405190810160405280929190818152602001828054611e7790613db1565b8015611ec45780601f10611e9957610100808354040283529160200191611ec4565b820191906000526020600020905b815481529060010190602001808311611ea757829003601f168201915b50505050509050919050565b60006101cb8054611ee090613db1565b905011611efc57604051806020016040528060008152506109c9565b6101cb611f0883612d78565b6101cc604051602001611f1d939291906143c3565b60405160208183030381529060405292915050565b611f3a612970565b6101cc611335828261405e565b60606101cc80546109df90613db1565b6060611f6161252d565b6101cf546001600160a01b0316611f7884846115c2565b6001600160a01b031614611f9e5760405162461bcd60e51b8152600401610afe90614194565b6101d382604051611faf91906141c5565b9081526040519081900360200190205460ff1615611fdf5760405162461bcd60e51b8152600401610afe906141e1565b60016101d383604051611ff291906141c5565b908152604051908190036020018120805492151560ff19909316929092179091556101c5546370a0823160e01b82526000916001600160a01b03909116906370a0823190612044903390600401613808565b602060405180830381865afa158015612061573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120859190613e67565b116120d25760405162461bcd60e51b815260206004820152601b60248201527f596f7520646f206e6f74206f776e206120536f756c5a204e46542e00000000006044820152606401610afe565b6101c5546040516331a9108f60e11b81526004810188905233916001600160a01b031690636352211e90602401602060405180830381865afa15801561211c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061214091906143f6565b6001600160a01b0316146121965760405162461bcd60e51b815260206004820152601b60248201527f596f7520646f206e6f74206f776e20746869732047656e6573697300000000006044820152606401610afe565b6101c55460405163e985e9c560e01b81526001600160a01b039091169063e985e9c5906121c99033903090600401613deb565b602060405180830381865afa1580156121e6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061220a9190613e05565b6122265760405162461bcd60e51b8152600401610afe90613e22565b6101c5546040516323b872dd60e01b81526001600160a01b03909116906323b872dd9061225d90339061dead908b9060040161432c565b600060405180830381600087803b15801561227757600080fd5b505af115801561228b573d6000803e3d6000fd5b50505060008681526101d26020526040902090506122a9858261405e565b50604080518781526020810187905233917f7886bb2cfd9351e2fa93f43c89437a92c73391a440e99468de23cd5f6c3fde51910160405180910390a260008581526101d26020526040902080546122ff90613db1565b80601f016020809104026020016040519081016040528092919081815260200182805461232b90613db1565b80156123785780601f1061234d57610100808354040283529160200191612378565b820191906000526020600020905b81548152906001019060200180831161235b57829003601f168201915b50505050509050611abd600160fb55565b612391612970565b6101cf80546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b0391821660009081526101966020908152604080832093909416825291909152205460ff1690565b6123eb612970565b6001600160a01b0381166124505760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610afe565b610fb8816129ca565b60006001600160e01b031982166380ac58cd60e01b148061248a57506001600160e01b03198216635b5e139f60e01b145b806109c957506109c982612e0a565b6124a281612d5a565b610fb85760405162461bcd60e51b8152600401610afe9061411d565b60008181526101956020526040902080546001600160a01b0319166001600160a01b03841690811790915581906124f4826113fc565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600260fb540361257f5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610afe565b600260fb55565b6113358282612e3f565b600160fb55565b6000806125a3836113fc565b9050806001600160a01b0316846001600160a01b031614806125ca57506125ca81856123b4565b8061161c5750836001600160a01b03166125e384610a62565b6001600160a01b031614949350505050565b826001600160a01b0316612608826113fc565b6001600160a01b03161461262e5760405162461bcd60e51b8152600401610afe90614413565b6001600160a01b0382166126905760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610afe565b61269d8383836001612e59565b826001600160a01b03166126b0826113fc565b6001600160a01b0316146126d65760405162461bcd60e51b8152600401610afe90614413565b60008181526101956020908152604080832080546001600160a01b03199081169091556001600160a01b03878116808652610194855283862080546000190190559087168086528386208054600101905586865261019390945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600080516020614621833981519152546001600160a01b031690565b6101ce546001600160a01b0316336001600160a01b031614610fb85760405162461bcd60e51b8152600401610afe9061414f565b7f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd91435460ff16156127ec57610b9f83612ecd565b826001600160a01b03166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015612846575060408051601f3d908101601f1916820190925261284391810190613e67565b60015b6128a95760405162461bcd60e51b815260206004820152602e60248201527f45524331393637557067726164653a206e657720696d706c656d656e7461746960448201526d6f6e206973206e6f74205555505360901b6064820152608401610afe565b60008051602061462183398151915281146129185760405162461bcd60e51b815260206004820152602960248201527f45524331393637557067726164653a20756e737570706f727465642070726f786044820152681a58589b195555525160ba1b6064820152608401610afe565b50610b9f838383612f69565b61292c612f8e565b6033805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516129669190613808565b60405180910390a1565b6065546001600160a01b031633146112385760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610afe565b606580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b612a24612fd7565b6033805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586129593390565b6127106001600160601b0382161115612ac75760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b6064820152608401610afe565b6001600160a01b038216612b195760405162461bcd60e51b815260206004820152601960248201527822a921991c9c189d1034b73b30b634b2103932b1b2b4bb32b960391b6044820152606401610afe565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b9091021761015f55565b6000806000612b62858561301d565b91509150612b6f8161305f565b509392505050565b816001600160a01b0316836001600160a01b031603612bd45760405162461bcd60e51b815260206004820152601960248201527822a9219b99189d1030b8383937bb32903a379031b0b63632b960391b6044820152606401610afe565b6001600160a01b0383811660008181526101966020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b612c4d8484846125f5565b612c59848484846131a4565b611af85760405162461bcd60e51b8152600401610afe90614458565b600054610100900460ff16612c9c5760405162461bcd60e51b8152600401610afe906144aa565b61133582826132a5565b600054610100900460ff16612ccd5760405162461bcd60e51b8152600401610afe906144aa565b6112386132e7565b600054610100900460ff16612cfc5760405162461bcd60e51b8152600401610afe906144aa565b61123861331a565b600054610100900460ff166112385760405162461bcd60e51b8152600401610afe906144aa565b600054610100900460ff16612d525760405162461bcd60e51b8152600401610afe906144aa565b61123861334a565b600090815261019360205260409020546001600160a01b0316151590565b60606000612d8583613371565b60010190506000816001600160401b03811115612da457612da46138d9565b6040519080825280601f01601f191660200182016040528015612dce576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a8504945084612dd857509392505050565b60006001600160e01b0319821663152a902d60e11b14806109c957506301ffc9a760e01b6001600160e01b03198316146109c9565b611335828260405180602001604052806000815250613449565b6001600160a01b03831660009081526101d4602052604090205460ff1615612e935760405162461bcd60e51b8152600401610afe906144f5565b6001600160a01b03841660009081526101d4602052604090205460ff1615611af85760405162461bcd60e51b8152600401610afe906144f5565b6001600160a01b0381163b612f3a5760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b6064820152608401610afe565b60008051602061462183398151915280546001600160a01b0319166001600160a01b0392909216919091179055565b612f728361347c565b600082511180612f7f5750805b15610b9f57611af883836134bc565b60335460ff166112385760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610afe565b60335460ff16156112385760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610afe565b60008082516041036130535760208301516040840151606085015160001a613047878285856134e8565b94509450505050611095565b50600090506002611095565b60008160048111156130735761307361452a565b0361307b5750565b600181600481111561308f5761308f61452a565b036130d75760405162461bcd60e51b815260206004820152601860248201527745434453413a20696e76616c6964207369676e617475726560401b6044820152606401610afe565b60028160048111156130eb576130eb61452a565b036131385760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610afe565b600381600481111561314c5761314c61452a565b03610fb85760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610afe565b60006001600160a01b0384163b1561329a57604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906131e8903390899088908890600401614540565b6020604051808303816000875af1925050508015613223575060408051601f3d908101601f1916820190925261322091810190614573565b60015b613280573d808015613251576040519150601f19603f3d011682016040523d82523d6000602084013e613256565b606091505b5080516000036132785760405162461bcd60e51b8152600401610afe90614458565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061161c565b506001949350505050565b600054610100900460ff166132cc5760405162461bcd60e51b8152600401610afe906144aa565b6101916132d9838261405e565b50610192610b9f828261405e565b600054610100900460ff1661330e5760405162461bcd60e51b8152600401610afe906144aa565b6033805460ff19169055565b600054610100900460ff166133415760405162461bcd60e51b8152600401610afe906144aa565b611238336129ca565b600054610100900460ff166125905760405162461bcd60e51b8152600401610afe906144aa565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106133b05772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef810000000083106133dc576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc1000083106133fa57662386f26fc10000830492506010015b6305f5e1008310613412576305f5e100830492506008015b612710831061342657612710830492506004015b60648310613438576064830492506002015b600a83106109c95760010192915050565b61345383836135a2565b61346060008484846131a4565b610b9f5760405162461bcd60e51b8152600401610afe90614458565b61348581612ecd565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b60606134e18383604051806060016040528060278152602001614641602791396136bf565b9392505050565b6000806fa2a8918ca85bafe22016d0b997e4df60600160ff1b038311156135155750600090506003613599565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015613569573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b03811661359257600060019250925050613599565b9150600090505b94509492505050565b6001600160a01b0382166135f85760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610afe565b61360181612d5a565b1561361e5760405162461bcd60e51b8152600401610afe90614590565b61362c600083836001612e59565b61363581612d5a565b156136525760405162461bcd60e51b8152600401610afe90614590565b6001600160a01b0382166000818152610194602090815260408083208054600101905584835261019390915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6060600080856001600160a01b0316856040516136dc91906141c5565b600060405180830381855af49150503d8060008114613717576040519150601f19603f3d011682016040523d82523d6000602084013e61371c565b606091505b509150915061372d86838387613737565b9695505050505050565b606083156137a657825160000361379f576001600160a01b0385163b61379f5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610afe565b508161161c565b61161c83838151156137bb5781518083602001fd5b8060405162461bcd60e51b8152600401610afe919061386c565b6001600160e01b031981168114610fb857600080fd5b6000602082840312156137fd57600080fd5b81356134e1816137d5565b6001600160a01b0391909116815260200190565b60005b8381101561383757818101518382015260200161381f565b50506000910152565b6000815180845261385881602086016020860161381c565b601f01601f19169290920160200192915050565b6020815260006134e16020830184613840565b60006020828403121561389157600080fd5b5035919050565b6001600160a01b0381168114610fb857600080fd5b600080604083850312156138c057600080fd5b82356138cb81613898565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715613917576139176138d9565b604052919050565b6000602080838503121561393257600080fd5b82356001600160401b038082111561394957600080fd5b818501915085601f83011261395d57600080fd5b81358181111561396f5761396f6138d9565b8060051b91506139808483016138ef565b818152918301840191848101908884111561399a57600080fd5b938501935b838510156139b85784358252938501939085019061399f565b98975050505050505050565b6000806000606084860312156139d957600080fd5b83356139e481613898565b925060208401356139f481613898565b929592945050506040919091013590565b60008060408385031215613a1857600080fd5b50508035926020909101359150565b600060208284031215613a3957600080fd5b81356134e181613898565b600082601f830112613a5557600080fd5b81356001600160401b03811115613a6e57613a6e6138d9565b613a81601f8201601f19166020016138ef565b818152846020838601011115613a9657600080fd5b816020850160208301376000918101602001919091529392505050565b60008060408385031215613ac657600080fd5b8235613ad181613898565b915060208301356001600160401b03811115613aec57600080fd5b613af885828601613a44565b9150509250929050565b600060208284031215613b1457600080fd5b81356001600160401b03811115613b2a57600080fd5b61161c84828501613a44565b8015158114610fb857600080fd5b60008060408385031215613b5757600080fd5b8235613b6281613898565b91506020830135613b7281613b36565b809150509250929050565b60008060408385031215613b9057600080fd5b8235613b9b81613898565b915060208301356001600160601b0381168114613b7257600080fd5b60008060408385031215613bca57600080fd5b8235915060208301356001600160401b03811115613aec57600080fd5b600080600080600060a08688031215613bff57600080fd5b8535945060208601356001600160401b0380821115613c1d57600080fd5b613c2989838a01613a44565b955060408801359450606088013593506080880135915080821115613c4d57600080fd5b50613c5a88828901613a44565b9150509295509295909350565b60008060008060808587031215613c7d57600080fd5b8435613c8881613898565b93506020850135613c9881613898565b92506040850135915060608501356001600160401b03811115613cba57600080fd5b613cc687828801613a44565b91505092959194509250565b600080600060608486031215613ce757600080fd5b8335613cf281613898565b92506020840135613d0281613898565b91506040840135613d1281613898565b809150509250925092565b600080600080600060a08688031215613d3557600080fd5b853594506020860135935060408601356001600160401b0380821115613d5a57600080fd5b613d6689838a01613a44565b9450606088013593506080880135915080821115613c4d57600080fd5b60008060408385031215613d9657600080fd5b8235613da181613898565b91506020830135613b7281613898565b600181811c90821680613dc557607f821691505b602082108103613de557634e487b7160e01b600052602260045260246000fd5b50919050565b6001600160a01b0392831681529116602082015260400190565b600060208284031215613e1757600080fd5b81516134e181613b36565b6020808252601590820152742cb7ba9030b932903737ba1030b8383937bb32b21760591b604082015260600190565b634e487b7160e01b600052603260045260246000fd5b600060208284031215613e7957600080fd5b5051919050565b634e487b7160e01b600052601160045260246000fd5b600060018201613ea857613ea8613e80565b5060010190565b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b80820281158282048414176109c9576109c9613e80565b600082613f3057634e487b7160e01b600052601260045260246000fd5b500490565b6020808252602c908201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060408201526b19195b1959d85d1958d85b1b60a21b606082015260800190565b6020808252602c908201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060408201526b6163746976652070726f787960a01b606082015260800190565b60208082526023908201527f4f6e6c79205061757365722043616e20506572666f726d20746869732061637460408201526234b7b760e91b606082015260800190565b601f821115610b9f57600081815260208120601f850160051c810160208610156140375750805b601f850160051c820191505b8181101561405657828155600101614043565b505050505050565b81516001600160401b03811115614077576140776138d9565b61408b816140858454613db1565b84614010565b602080601f8311600181146140c057600084156140a85750858301515b600019600386901b1c1916600185901b178555614056565b600085815260208120601f198616915b828110156140ef578886015182559484019460019091019084016140d0565b508582101561410d5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b602080825260189082015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b604082015260600190565b60208082526025908201527f4f6e6c792055706772616465722043616e20506572666f726d2074686973206160408201526431ba34b7b760d91b606082015260800190565b60208082526017908201527643616e6e6f7420766572696679207369676e617475726560481b604082015260600190565b600082516141d781846020870161381c565b9190910192915050565b6020808252818101527f5369676e61747572652068617320616c7265616479206265656e20757365642e604082015260600190565b60006020828403121561422857600080fd5b815160ff811681146134e157600080fd5b600181815b8085111561427457816000190482111561425a5761425a613e80565b8085161561426757918102915b93841c939080029061423e565b509250929050565b60008261428b575060016109c9565b81614298575060006109c9565b81600181146142ae57600281146142b8576142d4565b60019150506109c9565b60ff8411156142c9576142c9613e80565b50506001821b6109c9565b5060208310610133831016604e8410600b84101617156142f7575081810a6109c9565b6143018383614239565b806000190482111561431557614315613e80565b029392505050565b60006134e160ff84168361427c565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6000815461435d81613db1565b60018281168015614375576001811461438a576143b9565b60ff19841687528215158302870194506143b9565b8560005260208060002060005b858110156143b05781548a820152908401908201614397565b50505082870194505b5050505092915050565b60006143cf8286614350565b84516143df81836020890161381c565b6143eb81830186614350565b979650505050505050565b60006020828403121561440857600080fd5b81516134e181613898565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b6020808252818101527f496e76616c6964206d61726b6574706c6163652c206e6f7420616c6c6f776564604082015260600190565b634e487b7160e01b600052602160045260246000fd5b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061372d90830184613840565b60006020828403121561458557600080fd5b81516134e1816137d5565b6020808252601c908201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060408201526060019056fe68747470733a2f2f6e667473746f726167652e6c696e6b2f697066732f626166796265696835326d78347276636f6662736268676d73756a617663796271687067626b3774377a73787678357163326d697a62677a706a792f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a26469706673582212203e4267542c7096adcfe9b50cdb6df258fbd0f6418ca311ed8f6f0792b8df98d064736f6c63430008120033
Deployed Bytecode
0x6080604052600436106102e05760003560e01c80638456cb5911610186578063bad383a6116100d7578063da3ef23f11610085578063da3ef23f146108f2578063db4c5f8114610912578063dd060a5a14610927578063df9094b21461093e578063e6e284631461095e578063e985e9c51461097e578063f2fde38b1461099e57600080fd5b8063bad383a6146107f3578063bb10c82914610813578063c0c53b8b1461084f578063c823b3b81461086f578063c87b56dd14610890578063ca7a7e15146108b0578063ce3708a5146108d157600080fd5b806397aba7f91161013457806397aba7f91461070357806398b4e8d314610723578063a22cb46514610744578063a7f0b3de14610764578063a8e1481b14610785578063b630664f146107b3578063b88d4fde146107d357600080fd5b80638456cb591461064d5780638d11098d146106625780638da5cb5b146106825780638f2fc60b146106a05780639157913d146106c057806395d89b41146106d7578063965bc597146106ec57600080fd5b806342842e0e116102405780636352211e116101ee5780636352211e146105715780636ac77d42146105915780636c0360eb146105b257806370a08231146105c7578063715018a6146105e757806379b41784146105fc57806380880d5d1461062d57600080fd5b806342842e0e146104ba578063458adda3146104da5780634f1ef286146104fa57806352d1902d1461050d57806355f804b31461052257806358206b3f146105425780635c975abb1461055957600080fd5b80630cac36b21161029d5780630cac36b2146103d15780632269ddea146103e657806323b872dd146104065780632a55205a146104265780633659cfe61461046557806338e6fe3d146104855780633f4ba83a146104a557600080fd5b806301ffc9a7146102e557806302a553031461031a5780630420c6111461033f57806306fdde031461036d578063081812fc1461038f578063095ea7b3146103af575b600080fd5b3480156102f157600080fd5b506103056103003660046137eb565b6109be565b60405190151581526020015b60405180910390f35b34801561032657600080fd5b506103316101ca5481565b604051908152602001610311565b34801561034b57600080fd5b506101c354610360906001600160a01b031681565b6040516103119190613808565b34801561037957600080fd5b506103826109cf565b604051610311919061386c565b34801561039b57600080fd5b506103606103aa36600461387f565b610a62565b3480156103bb57600080fd5b506103cf6103ca3660046138ad565b610a8a565b005b3480156103dd57600080fd5b50610382610ba4565b3480156103f257600080fd5b506103cf61040136600461391f565b610bb4565b34801561041257600080fd5b506103cf6104213660046139c4565b610fbb565b34801561043257600080fd5b50610446610441366004613a05565b610fec565b604080516001600160a01b039093168352602083019190915201610311565b34801561047157600080fd5b506103cf610480366004613a27565b61109c565b34801561049157600080fd5b506103826104a036600461387f565b611161565b3480156104b157600080fd5b506103cf6111fc565b3480156104c657600080fd5b506103cf6104d53660046139c4565b61123a565b3480156104e657600080fd5b506103cf6104f5366004613a27565b611255565b6103cf610508366004613ab3565b611280565b34801561051957600080fd5b50610331611339565b34801561052e57600080fd5b506103cf61053d366004613b02565b6113e7565b34801561054e57600080fd5b506103316101c95481565b34801561056557600080fd5b5060335460ff16610305565b34801561057d57600080fd5b5061036061058c36600461387f565b6113fc565b34801561059d57600080fd5b506101d054610360906001600160a01b031681565b3480156105be57600080fd5b50610382611432565b3480156105d357600080fd5b506103316105e2366004613a27565b611440565b3480156105f357600080fd5b506103cf6114c7565b34801561060857600080fd5b50610305610617366004613a27565b6101d46020526000908152604090205460ff1681565b34801561063957600080fd5b506103cf610648366004613b44565b6114d9565b34801561065957600080fd5b506103cf61150d565b34801561066e57600080fd5b506103cf61067d366004613a27565b611549565b34801561068e57600080fd5b506065546001600160a01b0316610360565b3480156106ac57600080fd5b506103cf6106bb366004613b7d565b6115a0565b3480156106cc57600080fd5b506103316101c75481565b3480156106e357600080fd5b506103826115b2565b3480156106f857600080fd5b506103316101c65481565b34801561070f57600080fd5b5061036061071e366004613bb7565b6115c2565b34801561072f57600080fd5b506101c454610360906001600160a01b031681565b34801561075057600080fd5b506103cf61075f366004613b44565b611624565b34801561077057600080fd5b506101c554610360906001600160a01b031681565b34801561079157600080fd5b506103316107a036600461387f565b6101d16020526000908152604090205481565b3480156107bf57600080fd5b506103826107ce366004613be7565b61162f565b3480156107df57600080fd5b506103cf6107ee366004613c67565b611ac6565b3480156107ff57600080fd5b506103cf61080e366004613a27565b611afe565b34801561081f57600080fd5b5061030561082e366004613b02565b80516020818301810180516101d38252928201919093012091525460ff1681565b34801561085b57600080fd5b506103cf61086a366004613cd2565b611b55565b34801561087b57600080fd5b506101ce54610360906001600160a01b031681565b34801561089c57600080fd5b506103826108ab36600461387f565b611dbf565b3480156108bc57600080fd5b506101cd54610360906001600160a01b031681565b3480156108dd57600080fd5b506101cf54610360906001600160a01b031681565b3480156108fe57600080fd5b506103cf61090d366004613b02565b611f32565b34801561091e57600080fd5b50610382611f47565b34801561093357600080fd5b506103316101c85481565b34801561094a57600080fd5b50610382610959366004613d1d565b611f57565b34801561096a57600080fd5b506103cf610979366004613a27565b612389565b34801561098a57600080fd5b50610305610999366004613d83565b6123b4565b3480156109aa57600080fd5b506103cf6109b9366004613a27565b6123e3565b60006109c982612459565b92915050565b606061019180546109df90613db1565b80601f0160208091040260200160405190810160405280929190818152602001828054610a0b90613db1565b8015610a585780601f10610a2d57610100808354040283529160200191610a58565b820191906000526020600020905b815481529060010190602001808311610a3b57829003601f168201915b5050505050905090565b6000610a6d82612499565b50600090815261019560205260409020546001600160a01b031690565b6000610a95826113fc565b9050806001600160a01b0316836001600160a01b031603610b075760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b0382161480610b235750610b2381336123b4565b610b955760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c0000006064820152608401610afe565b610b9f83836124be565b505050565b60606101cb80546109df90613db1565b610bbc61252d565b6101c4546001600160a01b031663e985e9c533306040518363ffffffff1660e01b8152600401610bed929190613deb565b602060405180830381865afa158015610c0a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c2e9190613e05565b610c4a5760405162461bcd60e51b8152600401610afe90613e22565b60005b8151811015610fad576101c45482516000916001600160a01b03169062fdd58e903390869086908110610c8257610c82613e51565b60200260200101516040518363ffffffff1660e01b8152600401610cbb9291906001600160a01b03929092168252602082015260400190565b602060405180830381865afa158015610cd8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cfc9190613e67565b11610d455760405162461bcd60e51b81526020600482015260196024820152782cb7ba903237903737ba103430bb32903a3432903337b7b21760391b6044820152606401610afe565b6000828281518110610d5957610d59613e51565b6020026020010151600003610d8657506101c680549081906000610d7c83613e96565b9190505550610e60565b828281518110610d9857610d98613e51565b6020026020010151600103610dbb57506101c780549081906000610d7c83613e96565b828281518110610dcd57610dcd613e51565b6020026020010151600203610df057506101c880549081906000610d7c83613e96565b828281518110610e0257610e02613e51565b6020026020010151600303610e2557506101c980549081906000610d7c83613e96565b828281518110610e3757610e37613e51565b6020026020010151600403610e6057506101ca80549081906000610e5a83613e96565b91905055505b828281518110610e7257610e72613e51565b60209081029190910181015160008381526101d19092526040909120556101c45483516001600160a01b039091169063f5298aca903390869086908110610ebb57610ebb613e51565b60209081029190910101516040516001600160e01b031960e085901b1681526001600160a01b039092166004830152602482015260016044820152606401600060405180830381600087803b158015610f1357600080fd5b505af1158015610f27573d6000803e3d6000fd5b50505050610f353382612586565b336001600160a01b03167f5429d9751cf3854666ac84d0ce1055e7cd16e7a4394d1f0f0a8b01582e4ff63482858581518110610f7357610f73613e51565b6020026020010151604051610f92929190918252602082015260400190565b60405180910390a25080610fa581613e96565b915050610c4d565b50610fb8600160fb55565b50565b610fc53382612597565b610fe15760405162461bcd60e51b8152600401610afe90613eaf565b610b9f8383836125f5565b6000828152610160602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b031692820192909252829161106357506040805180820190915261015f546001600160a01b0381168252600160a01b90046001600160601b031660208201525b602081015160009061271090611082906001600160601b031687613efc565b61108c9190613f13565b91519350909150505b9250929050565b6001600160a01b037f0000000000000000000000006017d8b4b8914e379e5b265c6b3f2ee290d0a08a1630036110e45760405162461bcd60e51b8152600401610afe90613f35565b7f0000000000000000000000006017d8b4b8914e379e5b265c6b3f2ee290d0a08a6001600160a01b0316611116612769565b6001600160a01b03161461113c5760405162461bcd60e51b8152600401610afe90613f81565b61114581612785565b60408051600080825260208201909252610fb8918391906127b9565b6101d2602052600090815260409020805461117b90613db1565b80601f01602080910402602001604051908101604052809291908181526020018280546111a790613db1565b80156111f45780601f106111c9576101008083540402835291602001916111f4565b820191906000526020600020905b8154815290600101906020018083116111d757829003601f168201915b505050505081565b6101cd546001600160a01b0316336001600160a01b0316146112305760405162461bcd60e51b8152600401610afe90613fcd565b611238612924565b565b610b9f83838360405180602001604052806000815250611ac6565b61125d612970565b6101d080546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b037f0000000000000000000000006017d8b4b8914e379e5b265c6b3f2ee290d0a08a1630036112c85760405162461bcd60e51b8152600401610afe90613f35565b7f0000000000000000000000006017d8b4b8914e379e5b265c6b3f2ee290d0a08a6001600160a01b03166112fa612769565b6001600160a01b0316146113205760405162461bcd60e51b8152600401610afe90613f81565b61132982612785565b611335828260016127b9565b5050565b6000306001600160a01b037f0000000000000000000000006017d8b4b8914e379e5b265c6b3f2ee290d0a08a16146113d45760405162461bcd60e51b815260206004820152603860248201527f555550535570677261646561626c653a206d757374206e6f742062652063616c6044820152771b1959081d1a1c9bdd59da0819195b1959d85d1958d85b1b60421b6064820152608401610afe565b5060008051602061462183398151915290565b6113ef612970565b6101cb611335828261405e565b600081815261019360205260408120546001600160a01b0316806109c95760405162461bcd60e51b8152600401610afe9061411d565b6101cb805461117b90613db1565b60006001600160a01b0382166114aa5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b6064820152608401610afe565b506001600160a01b03166000908152610194602052604090205490565b6114cf612970565b61123860006129ca565b6114e1612970565b6001600160a01b039190911660009081526101d460205260409020805460ff1916911515919091179055565b6101cd546001600160a01b0316336001600160a01b0316146115415760405162461bcd60e51b8152600401610afe90613fcd565b611238612a1c565b6101ce546001600160a01b0316336001600160a01b03161461157d5760405162461bcd60e51b8152600401610afe9061414f565b6101ce80546001600160a01b0319166001600160a01b0392909216919091179055565b6115a8612970565b6113358282612a59565b606061019280546109df90613db1565b6040517f19457468657265756d205369676e6564204d6573736167653a0a3332000000006020820152603c81018390526000908190605c0160405160208183030381529060405280519060200120905061161c8184612b53565b949350505050565b611335338383612b77565b606061163961252d565b6101cf546001600160a01b031661165084846115c2565b6001600160a01b0316146116765760405162461bcd60e51b8152600401610afe90614194565b6101d38260405161168791906141c5565b9081526040519081900360200190205460ff16156116b75760405162461bcd60e51b8152600401610afe906141e1565b60016101d3836040516116ca91906141c5565b908152604051908190036020019020805491151560ff19909216919091179055336116f4876113fc565b6001600160a01b03161461174a5760405162461bcd60e51b815260206004820152601c60248201527f596f7520646f206e6f74206f776e2074686973204163656e64616e74000000006044820152606401610afe565b6101c3546040805163313ce56760e01b815290516000926001600160a01b03169163313ce5679160048083019260209291908290030181865afa158015611795573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117b99190614216565b6117c490600a61431d565b6117cf906064613efc565b905060006117dd8287613efc565b6101c3546040516370a0823160e01b815291925082916001600160a01b03909116906370a0823190611813903390600401613808565b602060405180830381865afa158015611830573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118549190613e67565b10156118a25760405162461bcd60e51b815260206004820152601c60248201527f596f7520646f206e6f74206861766520656e6f756768204f72627a2e000000006044820152606401610afe565b6101c354604051636eb1769f60e11b815282916001600160a01b03169063dd62ed3e906118d59033903090600401613deb565b602060405180830381865afa1580156118f2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119169190613e67565b101561197e5760405162461bcd60e51b815260206004820152603160248201527f596f7520646f206e6f74206861766520656e6f75676820616c6c6f77616e6365604482015270103a37903a3930b739b332b91027b9313d60791b6064820152608401610afe565b6101c3546101d0546040516323b872dd60e01b81526001600160a01b03928316926323b872dd926119b992339290911690869060040161432c565b6020604051808303816000875af11580156119d8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119fc9190613e05565b5060008881526101d260205260409020611a16888261405e565b5060008881526101d2602052604090208054611a3190613db1565b80601f0160208091040260200160405190810160405280929190818152602001828054611a5d90613db1565b8015611aaa5780601f10611a7f57610100808354040283529160200191611aaa565b820191906000526020600020905b815481529060010190602001808311611a8d57829003601f168201915b505050505092505050611abd600160fb55565b95945050505050565b611ad03383612597565b611aec5760405162461bcd60e51b8152600401610afe90613eaf565b611af884848484612c42565b50505050565b6101cd546001600160a01b0316336001600160a01b031614611b325760405162461bcd60e51b8152600401610afe90613fcd565b6101cd80546001600160a01b0319166001600160a01b0392909216919091179055565b600054610100900460ff1615808015611b755750600054600160ff909116105b80611b8f5750303b158015611b8f575060005460ff166001145b611bf25760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b6064820152608401610afe565b6000805460ff191660011790558015611c15576000805461ff0019166101001790555b611c696040518060400160405280600d81526020016c20b9b1b2b73232b229b7bab62d60991b8152506040518060400160405280600d81526020016c20b9b1b2b73232b229b7bab62d60991b815250612c75565b611c71612ca6565b611c79612cd5565b611c81612d04565b611c89612d2b565b611c91612d04565b6065546101cd80546001600160a01b039092166001600160a01b031992831681179091556101ce8054909216179055604080516080810190915260598082526145c860208301396101cb90611ce6908261405e565b50604080518082019091526005815264173539b7b760d91b60208201526101cc90611d11908261405e565b5060006101c6556106136101c755610c266101c8556112396101c95561184c6101ca556101c380546001600160a01b038087166001600160a01b0319928316179092556101c480548684169083161790556101c58054928516929091169190911790558015611af8576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a150505050565b6060611dca82612d5a565b611e0f5760405162461bcd60e51b8152602060048201526016602482015275151bdad95b925908111bd95cc81b9bdd08115e1a5cdd60521b6044820152606401610afe565b60008281526101d2602052604081208054611e2990613db1565b90501115611ed05760008281526101d2602052604090208054611e4b90613db1565b80601f0160208091040260200160405190810160405280929190818152602001828054611e7790613db1565b8015611ec45780601f10611e9957610100808354040283529160200191611ec4565b820191906000526020600020905b815481529060010190602001808311611ea757829003601f168201915b50505050509050919050565b60006101cb8054611ee090613db1565b905011611efc57604051806020016040528060008152506109c9565b6101cb611f0883612d78565b6101cc604051602001611f1d939291906143c3565b60405160208183030381529060405292915050565b611f3a612970565b6101cc611335828261405e565b60606101cc80546109df90613db1565b6060611f6161252d565b6101cf546001600160a01b0316611f7884846115c2565b6001600160a01b031614611f9e5760405162461bcd60e51b8152600401610afe90614194565b6101d382604051611faf91906141c5565b9081526040519081900360200190205460ff1615611fdf5760405162461bcd60e51b8152600401610afe906141e1565b60016101d383604051611ff291906141c5565b908152604051908190036020018120805492151560ff19909316929092179091556101c5546370a0823160e01b82526000916001600160a01b03909116906370a0823190612044903390600401613808565b602060405180830381865afa158015612061573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120859190613e67565b116120d25760405162461bcd60e51b815260206004820152601b60248201527f596f7520646f206e6f74206f776e206120536f756c5a204e46542e00000000006044820152606401610afe565b6101c5546040516331a9108f60e11b81526004810188905233916001600160a01b031690636352211e90602401602060405180830381865afa15801561211c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061214091906143f6565b6001600160a01b0316146121965760405162461bcd60e51b815260206004820152601b60248201527f596f7520646f206e6f74206f776e20746869732047656e6573697300000000006044820152606401610afe565b6101c55460405163e985e9c560e01b81526001600160a01b039091169063e985e9c5906121c99033903090600401613deb565b602060405180830381865afa1580156121e6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061220a9190613e05565b6122265760405162461bcd60e51b8152600401610afe90613e22565b6101c5546040516323b872dd60e01b81526001600160a01b03909116906323b872dd9061225d90339061dead908b9060040161432c565b600060405180830381600087803b15801561227757600080fd5b505af115801561228b573d6000803e3d6000fd5b50505060008681526101d26020526040902090506122a9858261405e565b50604080518781526020810187905233917f7886bb2cfd9351e2fa93f43c89437a92c73391a440e99468de23cd5f6c3fde51910160405180910390a260008581526101d26020526040902080546122ff90613db1565b80601f016020809104026020016040519081016040528092919081815260200182805461232b90613db1565b80156123785780601f1061234d57610100808354040283529160200191612378565b820191906000526020600020905b81548152906001019060200180831161235b57829003601f168201915b50505050509050611abd600160fb55565b612391612970565b6101cf80546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b0391821660009081526101966020908152604080832093909416825291909152205460ff1690565b6123eb612970565b6001600160a01b0381166124505760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610afe565b610fb8816129ca565b60006001600160e01b031982166380ac58cd60e01b148061248a57506001600160e01b03198216635b5e139f60e01b145b806109c957506109c982612e0a565b6124a281612d5a565b610fb85760405162461bcd60e51b8152600401610afe9061411d565b60008181526101956020526040902080546001600160a01b0319166001600160a01b03841690811790915581906124f4826113fc565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600260fb540361257f5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610afe565b600260fb55565b6113358282612e3f565b600160fb55565b6000806125a3836113fc565b9050806001600160a01b0316846001600160a01b031614806125ca57506125ca81856123b4565b8061161c5750836001600160a01b03166125e384610a62565b6001600160a01b031614949350505050565b826001600160a01b0316612608826113fc565b6001600160a01b03161461262e5760405162461bcd60e51b8152600401610afe90614413565b6001600160a01b0382166126905760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610afe565b61269d8383836001612e59565b826001600160a01b03166126b0826113fc565b6001600160a01b0316146126d65760405162461bcd60e51b8152600401610afe90614413565b60008181526101956020908152604080832080546001600160a01b03199081169091556001600160a01b03878116808652610194855283862080546000190190559087168086528386208054600101905586865261019390945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600080516020614621833981519152546001600160a01b031690565b6101ce546001600160a01b0316336001600160a01b031614610fb85760405162461bcd60e51b8152600401610afe9061414f565b7f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd91435460ff16156127ec57610b9f83612ecd565b826001600160a01b03166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015612846575060408051601f3d908101601f1916820190925261284391810190613e67565b60015b6128a95760405162461bcd60e51b815260206004820152602e60248201527f45524331393637557067726164653a206e657720696d706c656d656e7461746960448201526d6f6e206973206e6f74205555505360901b6064820152608401610afe565b60008051602061462183398151915281146129185760405162461bcd60e51b815260206004820152602960248201527f45524331393637557067726164653a20756e737570706f727465642070726f786044820152681a58589b195555525160ba1b6064820152608401610afe565b50610b9f838383612f69565b61292c612f8e565b6033805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516129669190613808565b60405180910390a1565b6065546001600160a01b031633146112385760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610afe565b606580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b612a24612fd7565b6033805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586129593390565b6127106001600160601b0382161115612ac75760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b6064820152608401610afe565b6001600160a01b038216612b195760405162461bcd60e51b815260206004820152601960248201527822a921991c9c189d1034b73b30b634b2103932b1b2b4bb32b960391b6044820152606401610afe565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b9091021761015f55565b6000806000612b62858561301d565b91509150612b6f8161305f565b509392505050565b816001600160a01b0316836001600160a01b031603612bd45760405162461bcd60e51b815260206004820152601960248201527822a9219b99189d1030b8383937bb32903a379031b0b63632b960391b6044820152606401610afe565b6001600160a01b0383811660008181526101966020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b612c4d8484846125f5565b612c59848484846131a4565b611af85760405162461bcd60e51b8152600401610afe90614458565b600054610100900460ff16612c9c5760405162461bcd60e51b8152600401610afe906144aa565b61133582826132a5565b600054610100900460ff16612ccd5760405162461bcd60e51b8152600401610afe906144aa565b6112386132e7565b600054610100900460ff16612cfc5760405162461bcd60e51b8152600401610afe906144aa565b61123861331a565b600054610100900460ff166112385760405162461bcd60e51b8152600401610afe906144aa565b600054610100900460ff16612d525760405162461bcd60e51b8152600401610afe906144aa565b61123861334a565b600090815261019360205260409020546001600160a01b0316151590565b60606000612d8583613371565b60010190506000816001600160401b03811115612da457612da46138d9565b6040519080825280601f01601f191660200182016040528015612dce576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a8504945084612dd857509392505050565b60006001600160e01b0319821663152a902d60e11b14806109c957506301ffc9a760e01b6001600160e01b03198316146109c9565b611335828260405180602001604052806000815250613449565b6001600160a01b03831660009081526101d4602052604090205460ff1615612e935760405162461bcd60e51b8152600401610afe906144f5565b6001600160a01b03841660009081526101d4602052604090205460ff1615611af85760405162461bcd60e51b8152600401610afe906144f5565b6001600160a01b0381163b612f3a5760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b6064820152608401610afe565b60008051602061462183398151915280546001600160a01b0319166001600160a01b0392909216919091179055565b612f728361347c565b600082511180612f7f5750805b15610b9f57611af883836134bc565b60335460ff166112385760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610afe565b60335460ff16156112385760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610afe565b60008082516041036130535760208301516040840151606085015160001a613047878285856134e8565b94509450505050611095565b50600090506002611095565b60008160048111156130735761307361452a565b0361307b5750565b600181600481111561308f5761308f61452a565b036130d75760405162461bcd60e51b815260206004820152601860248201527745434453413a20696e76616c6964207369676e617475726560401b6044820152606401610afe565b60028160048111156130eb576130eb61452a565b036131385760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610afe565b600381600481111561314c5761314c61452a565b03610fb85760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610afe565b60006001600160a01b0384163b1561329a57604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906131e8903390899088908890600401614540565b6020604051808303816000875af1925050508015613223575060408051601f3d908101601f1916820190925261322091810190614573565b60015b613280573d808015613251576040519150601f19603f3d011682016040523d82523d6000602084013e613256565b606091505b5080516000036132785760405162461bcd60e51b8152600401610afe90614458565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061161c565b506001949350505050565b600054610100900460ff166132cc5760405162461bcd60e51b8152600401610afe906144aa565b6101916132d9838261405e565b50610192610b9f828261405e565b600054610100900460ff1661330e5760405162461bcd60e51b8152600401610afe906144aa565b6033805460ff19169055565b600054610100900460ff166133415760405162461bcd60e51b8152600401610afe906144aa565b611238336129ca565b600054610100900460ff166125905760405162461bcd60e51b8152600401610afe906144aa565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106133b05772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef810000000083106133dc576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc1000083106133fa57662386f26fc10000830492506010015b6305f5e1008310613412576305f5e100830492506008015b612710831061342657612710830492506004015b60648310613438576064830492506002015b600a83106109c95760010192915050565b61345383836135a2565b61346060008484846131a4565b610b9f5760405162461bcd60e51b8152600401610afe90614458565b61348581612ecd565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b60606134e18383604051806060016040528060278152602001614641602791396136bf565b9392505050565b6000806fa2a8918ca85bafe22016d0b997e4df60600160ff1b038311156135155750600090506003613599565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015613569573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b03811661359257600060019250925050613599565b9150600090505b94509492505050565b6001600160a01b0382166135f85760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610afe565b61360181612d5a565b1561361e5760405162461bcd60e51b8152600401610afe90614590565b61362c600083836001612e59565b61363581612d5a565b156136525760405162461bcd60e51b8152600401610afe90614590565b6001600160a01b0382166000818152610194602090815260408083208054600101905584835261019390915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6060600080856001600160a01b0316856040516136dc91906141c5565b600060405180830381855af49150503d8060008114613717576040519150601f19603f3d011682016040523d82523d6000602084013e61371c565b606091505b509150915061372d86838387613737565b9695505050505050565b606083156137a657825160000361379f576001600160a01b0385163b61379f5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610afe565b508161161c565b61161c83838151156137bb5781518083602001fd5b8060405162461bcd60e51b8152600401610afe919061386c565b6001600160e01b031981168114610fb857600080fd5b6000602082840312156137fd57600080fd5b81356134e1816137d5565b6001600160a01b0391909116815260200190565b60005b8381101561383757818101518382015260200161381f565b50506000910152565b6000815180845261385881602086016020860161381c565b601f01601f19169290920160200192915050565b6020815260006134e16020830184613840565b60006020828403121561389157600080fd5b5035919050565b6001600160a01b0381168114610fb857600080fd5b600080604083850312156138c057600080fd5b82356138cb81613898565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715613917576139176138d9565b604052919050565b6000602080838503121561393257600080fd5b82356001600160401b038082111561394957600080fd5b818501915085601f83011261395d57600080fd5b81358181111561396f5761396f6138d9565b8060051b91506139808483016138ef565b818152918301840191848101908884111561399a57600080fd5b938501935b838510156139b85784358252938501939085019061399f565b98975050505050505050565b6000806000606084860312156139d957600080fd5b83356139e481613898565b925060208401356139f481613898565b929592945050506040919091013590565b60008060408385031215613a1857600080fd5b50508035926020909101359150565b600060208284031215613a3957600080fd5b81356134e181613898565b600082601f830112613a5557600080fd5b81356001600160401b03811115613a6e57613a6e6138d9565b613a81601f8201601f19166020016138ef565b818152846020838601011115613a9657600080fd5b816020850160208301376000918101602001919091529392505050565b60008060408385031215613ac657600080fd5b8235613ad181613898565b915060208301356001600160401b03811115613aec57600080fd5b613af885828601613a44565b9150509250929050565b600060208284031215613b1457600080fd5b81356001600160401b03811115613b2a57600080fd5b61161c84828501613a44565b8015158114610fb857600080fd5b60008060408385031215613b5757600080fd5b8235613b6281613898565b91506020830135613b7281613b36565b809150509250929050565b60008060408385031215613b9057600080fd5b8235613b9b81613898565b915060208301356001600160601b0381168114613b7257600080fd5b60008060408385031215613bca57600080fd5b8235915060208301356001600160401b03811115613aec57600080fd5b600080600080600060a08688031215613bff57600080fd5b8535945060208601356001600160401b0380821115613c1d57600080fd5b613c2989838a01613a44565b955060408801359450606088013593506080880135915080821115613c4d57600080fd5b50613c5a88828901613a44565b9150509295509295909350565b60008060008060808587031215613c7d57600080fd5b8435613c8881613898565b93506020850135613c9881613898565b92506040850135915060608501356001600160401b03811115613cba57600080fd5b613cc687828801613a44565b91505092959194509250565b600080600060608486031215613ce757600080fd5b8335613cf281613898565b92506020840135613d0281613898565b91506040840135613d1281613898565b809150509250925092565b600080600080600060a08688031215613d3557600080fd5b853594506020860135935060408601356001600160401b0380821115613d5a57600080fd5b613d6689838a01613a44565b9450606088013593506080880135915080821115613c4d57600080fd5b60008060408385031215613d9657600080fd5b8235613da181613898565b91506020830135613b7281613898565b600181811c90821680613dc557607f821691505b602082108103613de557634e487b7160e01b600052602260045260246000fd5b50919050565b6001600160a01b0392831681529116602082015260400190565b600060208284031215613e1757600080fd5b81516134e181613b36565b6020808252601590820152742cb7ba9030b932903737ba1030b8383937bb32b21760591b604082015260600190565b634e487b7160e01b600052603260045260246000fd5b600060208284031215613e7957600080fd5b5051919050565b634e487b7160e01b600052601160045260246000fd5b600060018201613ea857613ea8613e80565b5060010190565b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b80820281158282048414176109c9576109c9613e80565b600082613f3057634e487b7160e01b600052601260045260246000fd5b500490565b6020808252602c908201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060408201526b19195b1959d85d1958d85b1b60a21b606082015260800190565b6020808252602c908201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060408201526b6163746976652070726f787960a01b606082015260800190565b60208082526023908201527f4f6e6c79205061757365722043616e20506572666f726d20746869732061637460408201526234b7b760e91b606082015260800190565b601f821115610b9f57600081815260208120601f850160051c810160208610156140375750805b601f850160051c820191505b8181101561405657828155600101614043565b505050505050565b81516001600160401b03811115614077576140776138d9565b61408b816140858454613db1565b84614010565b602080601f8311600181146140c057600084156140a85750858301515b600019600386901b1c1916600185901b178555614056565b600085815260208120601f198616915b828110156140ef578886015182559484019460019091019084016140d0565b508582101561410d5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b602080825260189082015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b604082015260600190565b60208082526025908201527f4f6e6c792055706772616465722043616e20506572666f726d2074686973206160408201526431ba34b7b760d91b606082015260800190565b60208082526017908201527643616e6e6f7420766572696679207369676e617475726560481b604082015260600190565b600082516141d781846020870161381c565b9190910192915050565b6020808252818101527f5369676e61747572652068617320616c7265616479206265656e20757365642e604082015260600190565b60006020828403121561422857600080fd5b815160ff811681146134e157600080fd5b600181815b8085111561427457816000190482111561425a5761425a613e80565b8085161561426757918102915b93841c939080029061423e565b509250929050565b60008261428b575060016109c9565b81614298575060006109c9565b81600181146142ae57600281146142b8576142d4565b60019150506109c9565b60ff8411156142c9576142c9613e80565b50506001821b6109c9565b5060208310610133831016604e8410600b84101617156142f7575081810a6109c9565b6143018383614239565b806000190482111561431557614315613e80565b029392505050565b60006134e160ff84168361427c565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6000815461435d81613db1565b60018281168015614375576001811461438a576143b9565b60ff19841687528215158302870194506143b9565b8560005260208060002060005b858110156143b05781548a820152908401908201614397565b50505082870194505b5050505092915050565b60006143cf8286614350565b84516143df81836020890161381c565b6143eb81830186614350565b979650505050505050565b60006020828403121561440857600080fd5b81516134e181613898565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b6020808252818101527f496e76616c6964206d61726b6574706c6163652c206e6f7420616c6c6f776564604082015260600190565b634e487b7160e01b600052602160045260246000fd5b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061372d90830184613840565b60006020828403121561458557600080fd5b81516134e1816137d5565b6020808252601c908201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060408201526060019056fe68747470733a2f2f6e667473746f726167652e6c696e6b2f697066732f626166796265696835326d78347276636f6662736268676d73756a617663796271687067626b3774377a73787678357163326d697a62677a706a792f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a26469706673582212203e4267542c7096adcfe9b50cdb6df258fbd0f6418ca311ed8f6f0792b8df98d064736f6c63430008120033
Deployed Bytecode Sourcemap
122256:9724:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;131500:188;;;;;;;;;;-1:-1:-1;131500:188:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;131500:188:0;;;;;;;;122844:28;;;;;;;;;;;;;;;;;;;738:25:1;;;726:2;711:18;122844:28:0;592:177:1;122623:22:0;;;;;;;;;;-1:-1:-1;122623:22:0;;;;-1:-1:-1;;;;;122623:22:0;;;;;;;;;;:::i;106446:100::-;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;107969:171::-;;;;;;;;;;-1:-1:-1;107969:171:0;;;;;:::i;:::-;;:::i;107476:427::-;;;;;;;;;;-1:-1:-1;107476:427:0;;;;;:::i;:::-;;:::i;:::-;;126156:85;;;;;;;;;;;;;:::i;128925:1054::-;;;;;;;;;;-1:-1:-1;128925:1054:0;;;;;:::i;:::-;;:::i;108669:301::-;;;;;;;;;;-1:-1:-1;108669:301:0;;;;;:::i;:::-;;:::i;95092:438::-;;;;;;;;;;-1:-1:-1;95092:438:0;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;4875:32:1;;;4857:51;;4939:2;4924:18;;4917:34;;;;4830:18;95092:438:0;4683:274:1;75165:198:0;;;;;;;;;;-1:-1:-1;75165:198:0;;;;;:::i;:::-;;:::i;124000:44::-;;;;;;;;;;-1:-1:-1;124000:44:0;;;;;:::i;:::-;;:::i;131331:60::-;;;;;;;;;;;;;:::i;109041:151::-;;;;;;;;;;-1:-1:-1;109041:151:0;;;;;:::i;:::-;;:::i;131885:92::-;;;;;;;;;;-1:-1:-1;131885:92:0;;;;;:::i;:::-;;:::i;75694:223::-;;;;;;:::i;:::-;;:::i;74771:133::-;;;;;;;;;;;;;:::i;126058:92::-;;;;;;;;;;-1:-1:-1;126058:92:0;;;;;:::i;:::-;;:::i;122811:28::-;;;;;;;;;;;;;;;;83198:86;;;;;;;;;;-1:-1:-1;83269:7:0;;;;83198:86;;106156:223;;;;;;;;;;-1:-1:-1;106156:223:0;;;;;:::i;:::-;;:::i;123036:26::-;;;;;;;;;;-1:-1:-1;123036:26:0;;;;-1:-1:-1;;;;;123036:26:0;;;122879:21;;;;;;;;;;;;;:::i;105887:207::-;;;;;;;;;;-1:-1:-1;105887:207:0;;;;;:::i;:::-;;:::i;80192:103::-;;;;;;;;;;;;;:::i;124190:51::-;;;;;;;;;;-1:-1:-1;124190:51:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;125393:157;;;;;;;;;;-1:-1:-1;125393:157:0;;;;;:::i;:::-;;:::i;131269:56::-;;;;;;;;;;;;;:::i;128598:135::-;;;;;;;;;;-1:-1:-1;128598:135:0;;;;;:::i;:::-;;:::i;79551:87::-;;;;;;;;;;-1:-1:-1;79624:6:0;;-1:-1:-1;;;;;79624:6:0;79551:87;;124664:154;;;;;;;;;;-1:-1:-1;124664:154:0;;;;;:::i;:::-;;:::i;122745:28::-;;;;;;;;;;;;;;;;106615:104;;;;;;;;;;;;;:::i;122712:28::-;;;;;;;;;;;;;;;;126569:290;;;;;;;;;;-1:-1:-1;126569:290:0;;;;;:::i;:::-;;:::i;122650:22::-;;;;;;;;;;-1:-1:-1;122650:22:0;;;;-1:-1:-1;;;;;122650:22:0;;;108212:155;;;;;;;;;;-1:-1:-1;108212:155:0;;;;;:::i;:::-;;:::i;122677:28::-;;;;;;;;;;-1:-1:-1;122677:28:0;;;;-1:-1:-1;;;;;122677:28:0;;;123913:39;;;;;;;;;;-1:-1:-1;123913:39:0;;;;;:::i;:::-;;;;;;;;;;;;;;127025:1001;;;;;;;;;;-1:-1:-1;127025:1001:0;;;;;:::i;:::-;;:::i;109263:279::-;;;;;;;;;;-1:-1:-1;109263:279:0;;;;;:::i;:::-;;:::i;128477:115::-;;;;;;;;;;-1:-1:-1;128477:115:0;;;;;:::i;:::-;;:::i;124094:43::-;;;;;;;;;;-1:-1:-1;124094:43:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;123069:753;;;;;;;;;;-1:-1:-1;123069:753:0;;;;;:::i;:::-;;:::i;122971:28::-;;;;;;;;;;-1:-1:-1;122971:28:0;;;;-1:-1:-1;;;;;122971:28:0;;;125636:416;;;;;;;;;;-1:-1:-1;125636:416:0;;;;;:::i;:::-;;:::i;122940:26::-;;;;;;;;;;-1:-1:-1;122940:26:0;;;;-1:-1:-1;;;;;122940:26:0;;;123004:27;;;;;;;;;;-1:-1:-1;123004:27:0;;;;-1:-1:-1;;;;;123004:27:0;;;126247:120;;;;;;;;;;-1:-1:-1;126247:120:0;;;;;:::i;:::-;;:::i;126373:97::-;;;;;;;;;;;;;:::i;122778:28::-;;;;;;;;;;;;;;;;130135:1046;;;;;;;;;;-1:-1:-1;130135:1046:0;;;;;:::i;:::-;;:::i;131785:94::-;;;;;;;;;;-1:-1:-1;131785:94:0;;;;;:::i;:::-;;:::i;108438:164::-;;;;;;;;;;-1:-1:-1;108438:164:0;;;;;:::i;:::-;;:::i;80450:201::-;;;;;;;;;;-1:-1:-1;80450:201:0;;;;;:::i;:::-;;:::i;131500:188::-;131626:4;131646:36;131670:11;131646:23;:36::i;:::-;131639:43;131500:188;-1:-1:-1;;131500:188:0:o;106446:100::-;106500:13;106533:5;106526:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;106446:100;:::o;107969:171::-;108045:7;108065:23;108080:7;108065:14;:23::i;:::-;-1:-1:-1;108108:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;108108:24:0;;107969:171::o;107476:427::-;107557:13;107573:34;107599:7;107573:25;:34::i;:::-;107557:50;;107632:5;-1:-1:-1;;;;;107626:11:0;:2;-1:-1:-1;;;;;107626:11:0;;107618:57;;;;-1:-1:-1;;;107618:57:0;;12528:2:1;107618:57:0;;;12510:21:1;12567:2;12547:18;;;12540:30;12606:34;12586:18;;;12579:62;-1:-1:-1;;;12657:18:1;;;12650:31;12698:19;;107618:57:0;;;;;;;;;77669:10;-1:-1:-1;;;;;107710:21:0;;;;:62;;-1:-1:-1;107735:37:0;107752:5;77669:10;108438:164;:::i;107735:37::-;107688:173;;;;-1:-1:-1;;;107688:173:0;;12930:2:1;107688:173:0;;;12912:21:1;12969:2;12949:18;;;12942:30;13008:34;12988:18;;;12981:62;13079:31;13059:18;;;13052:59;13128:19;;107688:173:0;12728:425:1;107688:173:0;107874:21;107883:2;107887:7;107874:8;:21::i;:::-;107546:357;107476:427;;:::o;126156:85::-;126199:13;126228:7;126221:14;;;;;:::i;128925:1054::-;63863:21;:19;:21::i;:::-;129016:4:::1;::::0;-1:-1:-1;;;;;129016:4:0::1;:21;77669:10:::0;129060:4:::1;129016:50;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;129000:105;;;;-1:-1:-1::0;;;129000:105:0::1;;;;;;;:::i;:::-;129117:9;129112:862;129136:6;:13;129132:1;:17;129112:862;;;129183:4;::::0;129210:9;;129223:1:::1;::::0;-1:-1:-1;;;;;129183:4:0::1;::::0;:14:::1;::::0;129198:10:::1;::::0;129210:6;;129217:1;;129210:9;::::1;;;;;:::i;:::-;;;;;;;129183:37;;;;;;;;;;;;;;;-1:-1:-1::0;;;;;4875:32:1;;;;4857:51;;4939:2;4924:18;;4917:34;4845:2;4830:18;;4683:274;129183:37:0::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:41;129165:106;;;::::0;-1:-1:-1;;;129165:106:0;;14590:2:1;129165:106:0::1;::::0;::::1;14572:21:1::0;14629:2;14609:18;;;14602:30;-1:-1:-1;;;14648:18:1;;;14641:55;14713:18;;129165:106:0::1;14388:349:1::0;129165:106:0::1;129282:15;129312:6;129319:1;129312:9;;;;;;;;:::i;:::-;;;;;;;129325:1;129312:14:::0;129308:474:::1;;-1:-1:-1::0;129349:13:0::1;::::0;;;;;129373::::1;:15;129349:13:::0;129373:15:::1;:::i;:::-;;;;;;129308:474;;;129408:6;129415:1;129408:9;;;;;;;;:::i;:::-;;;;;;;129421:1;129408:14:::0;129404:378:::1;;-1:-1:-1::0;129445:13:0::1;::::0;;;;;129469::::1;:15;129445:13:::0;129469:15:::1;:::i;129404:378::-;129504:6;129511:1;129504:9;;;;;;;;:::i;:::-;;;;;;;129517:1;129504:14:::0;129500:282:::1;;-1:-1:-1::0;129541:13:0::1;::::0;;;;;129565::::1;:15;129541:13:::0;129565:15:::1;:::i;129500:282::-;129600:6;129607:1;129600:9;;;;;;;;:::i;:::-;;;;;;;129613:1;129600:14:::0;129596:186:::1;;-1:-1:-1::0;129637:13:0::1;::::0;;;;;129661::::1;:15;129637:13:::0;129661:15:::1;:::i;129596:186::-;129696:6;129703:1;129696:9;;;;;;;;:::i;:::-;;;;;;;129709:1;129696:14:::0;129692:90:::1;;-1:-1:-1::0;129733:13:0::1;::::0;;;;;129757::::1;:15;129733:13:::0;129757:15:::1;:::i;:::-;;;;;;129692:90;129808:6;129815:1;129808:9;;;;;;;;:::i;:::-;;::::0;;::::1;::::0;;;;;;;129792:13:::1;::::0;;;:4:::1;:13:::0;;;;;;;:25;129828:4:::1;::::0;129850:9;;-1:-1:-1;;;;;129828:4:0;;::::1;::::0;:9:::1;::::0;129838:10:::1;::::0;129850:6;;129857:1;;129850:9;::::1;;;;;:::i;:::-;;::::0;;::::1;::::0;;;;;;129828:35:::1;::::0;-1:-1:-1;;;;;;129828:35:0::1;::::0;;;;;;-1:-1:-1;;;;;15242:32:1;;;129828:35:0::1;::::0;::::1;15224:51:1::0;15291:18;;;15284:34;129861:1:0::1;15334:18:1::0;;;15327:34;15197:18;;129828:35:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;129874:29;129883:10;129895:7;129874:8;:29::i;:::-;129935:10;-1:-1:-1::0;;;;;129919:47:0::1;;129947:7;129956:6;129963:1;129956:9;;;;;;;;:::i;:::-;;;;;;;129919:47;;;;;;15546:25:1::0;;;15602:2;15587:18;;15580:34;15534:2;15519:18;;15372:248;129919:47:0::1;;;;;;;;-1:-1:-1::0;129151:3:0;::::1;::::0;::::1;:::i;:::-;;;;129112:862;;;;63907:20:::0;63124:1;64427:7;:22;64244:213;63907:20;128925:1054;:::o;108669:301::-;108830:41;77669:10;108863:7;108830:18;:41::i;:::-;108822:99;;;;-1:-1:-1;;;108822:99:0;;;;;;;:::i;:::-;108934:28;108944:4;108950:2;108954:7;108934:9;:28::i;95092:438::-;95187:7;95245:26;;;:17;:26;;;;;;;;95216:55;;;;;;;;;-1:-1:-1;;;;;95216:55:0;;;;;-1:-1:-1;;;95216:55:0;;;-1:-1:-1;;;;;95216:55:0;;;;;;;;95187:7;;95284:92;;-1:-1:-1;95335:29:0;;;;;;;;;95345:19;95335:29;-1:-1:-1;;;;;95335:29:0;;;;-1:-1:-1;;;95335:29:0;;-1:-1:-1;;;;;95335:29:0;;;;;95284:92;95425:23;;;;95388:21;;95896:5;;95413:35;;-1:-1:-1;;;;;95413:35:0;:9;:35;:::i;:::-;95412:57;;;;:::i;:::-;95490:16;;;-1:-1:-1;95388:81:0;;-1:-1:-1;;95092:438:0;;;;;;:::o;75165:198::-;-1:-1:-1;;;;;73641:6:0;73624:23;73632:4;73624:23;73616:80;;;;-1:-1:-1;;;73616:80:0;;;;;;;:::i;:::-;73739:6;-1:-1:-1;;;;;73715:30:0;:20;:18;:20::i;:::-;-1:-1:-1;;;;;73715:30:0;;73707:87;;;;-1:-1:-1;;;73707:87:0;;;;;;;:::i;:::-;75247:36:::1;75265:17;75247;:36::i;:::-;75335:12;::::0;;75345:1:::1;75335:12:::0;;;::::1;::::0;::::1;::::0;;;75294:61:::1;::::0;75316:17;;75335:12;75294:21:::1;:61::i;124000:44::-:0;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;131331:60::-;128171:11;;-1:-1:-1;;;;;128171:11:0;77669:10;-1:-1:-1;;;;;128155:27:0;;128147:75;;;;-1:-1:-1;;;128147:75:0;;;;;;;:::i;:::-;131375:10:::1;:8;:10::i;:::-;131331:60::o:0;109041:151::-;109145:39;109162:4;109168:2;109172:7;109145:39;;;;;;;;;;;;:16;:39::i;131885:92::-;79437:13;:11;:13::i;:::-;131951:11:::1;:20:::0;;-1:-1:-1;;;;;;131951:20:0::1;-1:-1:-1::0;;;;;131951:20:0;;;::::1;::::0;;;::::1;::::0;;131885:92::o;75694:223::-;-1:-1:-1;;;;;73641:6:0;73624:23;73632:4;73624:23;73616:80;;;;-1:-1:-1;;;73616:80:0;;;;;;;:::i;:::-;73739:6;-1:-1:-1;;;;;73715:30:0;:20;:18;:20::i;:::-;-1:-1:-1;;;;;73715:30:0;;73707:87;;;;-1:-1:-1;;;73707:87:0;;;;;;;:::i;:::-;75810:36:::1;75828:17;75810;:36::i;:::-;75857:52;75879:17;75898:4;75904;75857:21;:52::i;:::-;75694:223:::0;;:::o;74771:133::-;74849:7;74077:4;-1:-1:-1;;;;;74086:6:0;74069:23;;74061:92;;;;-1:-1:-1;;;74061:92:0;;17998:2:1;74061:92:0;;;17980:21:1;18037:2;18017:18;;;18010:30;18076:34;18056:18;;;18049:62;-1:-1:-1;;;18127:18:1;;;18120:54;18191:19;;74061:92:0;17796:420:1;74061:92:0;-1:-1:-1;;;;;;;;;;;;74771:133:0;:::o;126058:92::-;79437:13;:11;:13::i;:::-;126126:7:::1;:18;126136:8:::0;126126:7;:18:::1;:::i;106156:223::-:0;106228:7;110900:16;;;:7;:16;;;;;;-1:-1:-1;;;;;110900:16:0;;106292:56;;;;-1:-1:-1;;;106292:56:0;;;;;;;:::i;122879:21::-;;;;;;;:::i;105887:207::-;105959:7;-1:-1:-1;;;;;105987:19:0;;105979:73;;;;-1:-1:-1;;;105979:73:0;;20980:2:1;105979:73:0;;;20962:21:1;21019:2;20999:18;;;20992:30;21058:34;21038:18;;;21031:62;-1:-1:-1;;;21109:18:1;;;21102:39;21158:19;;105979:73:0;20778:405:1;105979:73:0;-1:-1:-1;;;;;;106070:16:0;;;;;:9;:16;;;;;;;105887:207::o;80192:103::-;79437:13;:11;:13::i;:::-;80257:30:::1;80284:1;80257:18;:30::i;125393:157::-:0;79437:13;:11;:13::i;:::-;-1:-1:-1;;;;;125500:33:0;;;::::1;;::::0;;;:19:::1;:33;::::0;;;;:44;;-1:-1:-1;;125500:44:0::1;::::0;::::1;;::::0;;;::::1;::::0;;125393:157::o;131269:56::-;128171:11;;-1:-1:-1;;;;;128171:11:0;77669:10;-1:-1:-1;;;;;128155:27:0;;128147:75;;;;-1:-1:-1;;;128147:75:0;;;;;;;:::i;:::-;131311:8:::1;:6;:8::i;128598:135::-:0;128303:13;;-1:-1:-1;;;;;128303:13:0;77669:10;-1:-1:-1;;;;;128287:29:0;;128271:100;;;;-1:-1:-1;;;128271:100:0;;;;;;;:::i;:::-;128693:13:::1;:34:::0;;-1:-1:-1;;;;;;128693:34:0::1;-1:-1:-1::0;;;;;128693:34:0;;;::::1;::::0;;;::::1;::::0;;128598:135::o;124664:154::-;79437:13;:11;:13::i;:::-;124770:42:::1;124789:8;124799:12;124770:18;:42::i;106615:104::-:0;106671:13;106704:7;106697:14;;;;;:::i;126569:290::-;126724:58;;21836:66:1;126724:58:0;;;21824:79:1;21919:12;;;21912:28;;;126666:7:0;;;;21956:12:1;;126724:58:0;;;;;;;;;;;;126706:83;;;;;;126682:107;;126803:50;126828:13;126843:9;126803:24;:50::i;:::-;126796:57;126569:290;-1:-1:-1;;;;126569:290:0:o;108212:155::-;108307:52;77669:10;108340:8;108350;108307:18;:52::i;127025:1001::-;127212:13;63863:21;:19;:21::i;:::-;127286:12:::1;::::0;-1:-1:-1;;;;;127286:12:0::1;127250:32;127264:5:::0;127271:10;127250:13:::1;:32::i;:::-;-1:-1:-1::0;;;;;127250:48:0::1;;127234:105;;;;-1:-1:-1::0;;;127234:105:0::1;;;;;;;:::i;:::-;127355:13;127369:10;127355:25;;;;;;:::i;:::-;::::0;;;::::1;::::0;;;;;::::1;::::0;;;;::::1;;127354:26;127346:71;;;;-1:-1:-1::0;;;127346:71:0::1;;;;;;;:::i;:::-;127452:4;127424:13;127438:10;127424:25;;;;;;:::i;:::-;::::0;;;::::1;::::0;;;;;::::1;::::0;;;:32;;;::::1;;-1:-1:-1::0;;127424:32:0;;::::1;::::0;;;::::1;::::0;;127494:10:::1;127473:17;127481:8:::0;127473:7:::1;:17::i;:::-;-1:-1:-1::0;;;;;127473:31:0::1;;127465:72;;;::::0;-1:-1:-1;;;127465:72:0;;23186:2:1;127465:72:0::1;::::0;::::1;23168:21:1::0;23225:2;23205:18;;;23198:30;23264;23244:18;;;23237:58;23312:18;;127465:72:0::1;22984:352:1::0;127465:72:0::1;127577:4;::::0;:15:::1;::::0;;-1:-1:-1;;;127577:15:0;;;;127546:14:::1;::::0;-1:-1:-1;;;;;127577:4:0::1;::::0;:13:::1;::::0;:15:::1;::::0;;::::1;::::0;::::1;::::0;;;;;;;;:4;:15:::1;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;127570:23;::::0;:2:::1;:23;:::i;:::-;127563:31;::::0;:3:::1;:31;:::i;:::-;127546:48:::0;-1:-1:-1;127601:13:0::1;127617:18;127546:48:::0;127617:9;:18:::1;:::i;:::-;127660:4;::::0;:26:::1;::::0;-1:-1:-1;;;127660:26:0;;127601:34;;-1:-1:-1;127601:34:0;;-1:-1:-1;;;;;127660:4:0;;::::1;::::0;:14:::1;::::0;:26:::1;::::0;127675:10:::1;::::0;127660:26:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:35;;127644:97;;;::::0;-1:-1:-1;;;127644:97:0;;25204:2:1;127644:97:0::1;::::0;::::1;25186:21:1::0;25243:2;25223:18;;;25216:30;25282;25262:18;;;25255:58;25330:18;;127644:97:0::1;25002:352:1::0;127644:97:0::1;127766:4;::::0;:41:::1;::::0;-1:-1:-1;;;127766:41:0;;127811:5;;-1:-1:-1;;;;;127766:4:0::1;::::0;:14:::1;::::0;:41:::1;::::0;127781:10:::1;::::0;127801:4:::1;::::0;127766:41:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:50;;127750:133;;;::::0;-1:-1:-1;;;127750:133:0;;25561:2:1;127750:133:0::1;::::0;::::1;25543:21:1::0;25600:2;25580:18;;;25573:30;25639:34;25619:18;;;25612:62;-1:-1:-1;;;25690:18:1;;;25683:47;25747:19;;127750:133:0::1;25359:413:1::0;127750:133:0::1;127892:4;::::0;127930:11:::1;::::0;127892:58:::1;::::0;-1:-1:-1;;;127892:58:0;;-1:-1:-1;;;;;127892:4:0;;::::1;::::0;:17:::1;::::0;:58:::1;::::0;127910:10:::1;::::0;127930:11;;::::1;::::0;127944:5;;127892:58:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;127959:20:0::1;::::0;;;:10:::1;:20;::::0;;;;:27:::1;127982:4:::0;127959:20;:27:::1;:::i;:::-;-1:-1:-1::0;128000:20:0::1;::::0;;;:10:::1;:20;::::0;;;;127993:27;;::::1;::::0;::::1;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;63907:20:::0;63124:1;64427:7;:22;64244:213;63907:20;127025:1001;;;;;;;:::o;109263:279::-;109394:41;77669:10;109427:7;109394:18;:41::i;:::-;109386:99;;;;-1:-1:-1;;;109386:99:0;;;;;;;:::i;:::-;109496:38;109510:4;109516:2;109520:7;109529:4;109496:13;:38::i;:::-;109263:279;;;;:::o;128477:115::-;128171:11;;-1:-1:-1;;;;;128171:11:0;77669:10;-1:-1:-1;;;;;128155:27:0;;128147:75;;;;-1:-1:-1;;;128147:75:0;;;;;;;:::i;:::-;128556:11:::1;:30:::0;;-1:-1:-1;;;;;;128556:30:0::1;-1:-1:-1::0;;;;;128556:30:0;;;::::1;::::0;;;::::1;::::0;;128477:115::o;123069:753::-;57842:19;57865:13;;;;;;57864:14;;57912:34;;;;-1:-1:-1;57930:12:0;;57945:1;57930:12;;;;:16;57912:34;57911:108;;;-1:-1:-1;57991:4:0;46614:19;:23;;;57952:66;;-1:-1:-1;58001:12:0;;;;;:17;57952:66;57889:204;;;;-1:-1:-1;;;57889:204:0;;26359:2:1;57889:204:0;;;26341:21:1;26398:2;26378:18;;;26371:30;26437:34;26417:18;;;26410:62;-1:-1:-1;;;26488:18:1;;;26481:44;26542:19;;57889:204:0;26157:410:1;57889:204:0;58104:12;:16;;-1:-1:-1;;58104:16:0;58119:1;58104:16;;;58131:67;;;;58166:13;:20;;-1:-1:-1;;58166:20:0;;;;;58131:67;123195:47:::1;;;;;;;;;;;;;;-1:-1:-1::0;;;123195:47:0::1;;::::0;::::1;;;;;;;;;;;;;-1:-1:-1::0;;;123195:47:0::1;;::::0;:13:::1;:47::i;:::-;123249:17;:15;:17::i;:::-;123273:16;:14;:16::i;:::-;123296:24;:22;:24::i;:::-;123327;:22;:24::i;:::-;123358:16;:14;:16::i;:::-;79624:6:::0;;123381:11:::1;:21:::0;;-1:-1:-1;;;;;79624:6:0;;;-1:-1:-1;;;;;;123381:21:0;;::::1;::::0;::::1;::::0;;;123409:13:::1;:23:::0;;;;::::1;;::::0;;123439:101:::1;::::0;;::::1;::::0;::::1;::::0;;;::::1;::::0;;;::::1;;::::0;::::1;;:7;::::0;:101:::1;::::0;:7;:101:::1;:::i;:::-;-1:-1:-1::0;123547:23:0::1;::::0;;;;::::1;::::0;;;::::1;::::0;;-1:-1:-1;;;123547:23:0::1;::::0;::::1;::::0;:13:::1;::::0;:23:::1;::::0;:13;:23:::1;:::i;:::-;-1:-1:-1::0;123593:1:0::1;123577:13;:17:::0;123617:4:::1;123601:13;:20:::0;123644:4:::1;123628:13;:20:::0;123671:4:::1;123655:13;:20:::0;123698:4:::1;123682:13;:20:::0;123709:4:::1;:28:::0;;-1:-1:-1;;;;;123709:28:0;;::::1;-1:-1:-1::0;;;;;;123709:28:0;;::::1;;::::0;;;123744:4:::1;:28:::0;;;;::::1;::::0;;::::1;;::::0;;123779:7:::1;:37:::0;;;;::::1;::::0;;;::::1;::::0;;;::::1;::::0;;58220:102;;;;58271:5;58255:21;;-1:-1:-1;;58255:21:0;;;58296:14;;-1:-1:-1;26724:36:1;;58296:14:0;;26712:2:1;26697:18;58296:14:0;;;;;;;57831:498;123069:753;;;:::o;125636:416::-;125719:13;125749:16;125757:7;125749;:16::i;:::-;125741:51;;;;-1:-1:-1;;;125741:51:0;;26973:2:1;125741:51:0;;;26955:21:1;27012:2;26992:18;;;26985:30;-1:-1:-1;;;27031:18:1;;;27024:52;27093:18;;125741:51:0;26771:346:1;125741:51:0;125839:1;125809:19;;;:10;:19;;;;;125803:33;;;;;:::i;:::-;;;:37;125799:248;;;125858:19;;;;:10;:19;;;;;125851:26;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;125636:416;;;:::o;125799:248::-;125940:1;125922:7;125916:21;;;;;:::i;:::-;;;:25;:123;;;;;;;;;;;;;;;;;125979:7;125988:18;:7;:16;:18::i;:::-;126008:13;125962:60;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;125900:139;125636:416;-1:-1:-1;;125636:416:0:o;126247:120::-;79437:13;:11;:13::i;:::-;126329::::1;:32;126345:16:::0;126329:13;:32:::1;:::i;126373:97::-:0;126422:13;126451;126444:20;;;;;:::i;130135:1046::-;130328:13;63863:21;:19;:21::i;:::-;130402:12:::1;::::0;-1:-1:-1;;;;;130402:12:0::1;130366:32;130380:5:::0;130387:10;130366:13:::1;:32::i;:::-;-1:-1:-1::0;;;;;130366:48:0::1;;130350:105;;;;-1:-1:-1::0;;;130350:105:0::1;;;;;;;:::i;:::-;130471:13;130485:10;130471:25;;;;;;:::i;:::-;::::0;;;::::1;::::0;;;;;::::1;::::0;;;;::::1;;130470:26;130462:71;;;;-1:-1:-1::0;;;130462:71:0::1;;;;;;;:::i;:::-;130568:4;130540:13;130554:10;130540:25;;;;;;:::i;:::-;::::0;;;::::1;::::0;;;;;::::1;::::0;;;:32;;;::::1;;-1:-1:-1::0;;130540:32:0;;::::1;::::0;;;::::1;::::0;;;130589:7:::1;::::0;-1:-1:-1;;;130589:29:0;;130540:25:::1;::::0;-1:-1:-1;;;;;130589:7:0;;::::1;::::0;:17:::1;::::0;:29:::1;::::0;130607:10:::1;::::0;130589:29:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:33;130581:73;;;::::0;-1:-1:-1;;;130581:73:0;;28525:2:1;130581:73:0::1;::::0;::::1;28507:21:1::0;28564:2;28544:18;;;28537:30;28603:29;28583:18;;;28576:57;28650:18;;130581:73:0::1;28323:351:1::0;130581:73:0::1;130677:7;::::0;:31:::1;::::0;-1:-1:-1;;;130677:31:0;;::::1;::::0;::::1;738:25:1::0;;;130712:10:0::1;::::0;-1:-1:-1;;;;;130677:7:0::1;::::0;:15:::1;::::0;711:18:1;;130677:31:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;130677:45:0::1;;130661:106;;;::::0;-1:-1:-1;;;130661:106:0;;29137:2:1;130661:106:0::1;::::0;::::1;29119:21:1::0;29176:2;29156:18;;;29149:30;29215:29;29195:18;;;29188:57;29262:18;;130661:106:0::1;28935:351:1::0;130661:106:0::1;130790:7;::::0;:51:::1;::::0;-1:-1:-1;;;130790:51:0;;-1:-1:-1;;;;;130790:7:0;;::::1;::::0;:24:::1;::::0;:51:::1;::::0;130815:10:::1;::::0;130835:4:::1;::::0;130790:51:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;130774:106;;;;-1:-1:-1::0;;;130774:106:0::1;;;;;;;:::i;:::-;130889:7;::::0;:129:::1;::::0;-1:-1:-1;;;130889:129:0;;-1:-1:-1;;;;;130889:7:0;;::::1;::::0;:20:::1;::::0;:129:::1;::::0;130918:10:::1;::::0;130945:42:::1;::::0;130997:14;;130889:129:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;;131027:28:0::1;::::0;;;:10:::1;:28;::::0;;;;;-1:-1:-1;131027:35:0::1;131058:4:::0;131027:28;:35:::1;:::i;:::-;-1:-1:-1::0;131074:57:0::1;::::0;;15546:25:1;;;15602:2;15587:18;;15580:34;;;131086:10:0::1;::::0;131074:57:::1;::::0;15519:18:1;131074:57:0::1;;;;;;;131147:28;::::0;;;:10:::1;:28;::::0;;;;131140:35;;::::1;::::0;::::1;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;63907:20:::0;63124:1;64427:7;:22;64244:213;131785:94;79437:13;:11;:13::i;:::-;131852:12:::1;:21:::0;;-1:-1:-1;;;;;;131852:21:0::1;-1:-1:-1::0;;;;;131852:21:0;;;::::1;::::0;;;::::1;::::0;;131785:94::o;108438:164::-;-1:-1:-1;;;;;108559:25:0;;;108535:4;108559:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;108438:164::o;80450:201::-;79437:13;:11;:13::i;:::-;-1:-1:-1;;;;;80539:22:0;::::1;80531:73;;;::::0;-1:-1:-1;;;80531:73:0;;29493:2:1;80531:73:0::1;::::0;::::1;29475:21:1::0;29532:2;29512:18;;;29505:30;29571:34;29551:18;;;29544:62;-1:-1:-1;;;29622:18:1;;;29615:36;29668:19;;80531:73:0::1;29291:402:1::0;80531:73:0::1;80615:28;80634:8;80615:18;:28::i;105474:349::-:0;105598:4;-1:-1:-1;;;;;;105635:51:0;;-1:-1:-1;;;105635:51:0;;:127;;-1:-1:-1;;;;;;;105703:59:0;;-1:-1:-1;;;105703:59:0;105635:127;:180;;;;105779:36;105803:11;105779:23;:36::i;117598:135::-;117680:16;117688:7;117680;:16::i;:::-;117672:53;;;;-1:-1:-1;;;117672:53:0;;;;;;;:::i;116900:185::-;116975:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;116975:29:0;-1:-1:-1;;;;;116975:29:0;;;;;;;;:24;;117029:34;116975:24;117029:25;:34::i;:::-;-1:-1:-1;;;;;117020:57:0;;;;;;;;;;;116900:185;;:::o;63943:293::-;63168:1;64077:7;;:19;64069:63;;;;-1:-1:-1;;;64069:63:0;;29900:2:1;64069:63:0;;;29882:21:1;29939:2;29919:18;;;29912:30;29978:33;29958:18;;;29951:61;30029:18;;64069:63:0;29698:355:1;64069:63:0;63168:1;64210:7;:18;63943:293::o;128820:99::-;128891:22;128901:2;128905:7;128891:9;:22::i;64244:213::-;63124:1;64427:7;:22;64244:213::o;111532:275::-;111625:4;111642:13;111658:34;111684:7;111658:25;:34::i;:::-;111642:50;;111722:5;-1:-1:-1;;;;;111711:16:0;:7;-1:-1:-1;;;;;111711:16:0;;:52;;;;111731:32;111748:5;111755:7;111731:16;:32::i;:::-;111711:87;;;;111791:7;-1:-1:-1;;;;;111767:31:0;:20;111779:7;111767:11;:20::i;:::-;-1:-1:-1;;;;;111767:31:0;;;111532:275;-1:-1:-1;;;;111532:275:0:o;115530:1251::-;115666:4;-1:-1:-1;;;;;115628:42:0;:34;115654:7;115628:25;:34::i;:::-;-1:-1:-1;;;;;115628:42:0;;115620:92;;;;-1:-1:-1;;;115620:92:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;115731:16:0;;115723:65;;;;-1:-1:-1;;;115723:65:0;;30666:2:1;115723:65:0;;;30648:21:1;30705:2;30685:18;;;30678:30;30744:34;30724:18;;;30717:62;-1:-1:-1;;;30795:18:1;;;30788:34;30839:19;;115723:65:0;30464:400:1;115723:65:0;115801:42;115822:4;115828:2;115832:7;115841:1;115801:20;:42::i;:::-;115984:4;-1:-1:-1;;;;;115946:42:0;:34;115972:7;115946:25;:34::i;:::-;-1:-1:-1;;;;;115946:42:0;;115938:92;;;;-1:-1:-1;;;115938:92:0;;;;;;;:::i;:::-;116102:24;;;;:15;:24;;;;;;;;116095:31;;-1:-1:-1;;;;;;116095:31:0;;;;;;-1:-1:-1;;;;;116578:15:0;;;;;;:9;:15;;;;;:20;;-1:-1:-1;;116578:20:0;;;116613:13;;;;;;;;;:18;;116095:31;116613:18;;;116653:16;;;:7;:16;;;;;;:21;;;;;;;;;;116692:27;;116118:7;;116692:27;;;107546:357;107476:427;;:::o;66333:153::-;-1:-1:-1;;;;;;;;;;;66413:65:0;-1:-1:-1;;;;;66413:65:0;;66333:153::o;131397:97::-;128303:13;;-1:-1:-1;;;;;128303:13:0;77669:10;-1:-1:-1;;;;;128287:29:0;;128271:100;;;;-1:-1:-1;;;128271:100:0;;;;;;;:::i;67735:958::-;65835:66;68155:59;;;68151:535;;;68231:37;68250:17;68231:18;:37::i;68151:535::-;68334:17;-1:-1:-1;;;;;68305:61:0;;:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;68305:63:0;;;;;;;;-1:-1:-1;;68305:63:0;;;;;;;;;;;;:::i;:::-;;;68301:306;;68535:56;;-1:-1:-1;;;68535:56:0;;31260:2:1;68535:56:0;;;31242:21:1;31299:2;31279:18;;;31272:30;31338:34;31318:18;;;31311:62;-1:-1:-1;;;31389:18:1;;;31382:44;31443:19;;68535:56:0;31058:410:1;68301:306:0;-1:-1:-1;;;;;;;;;;;68419:28:0;;68411:82;;;;-1:-1:-1;;;68411:82:0;;31675:2:1;68411:82:0;;;31657:21:1;31714:2;31694:18;;;31687:30;31753:34;31733:18;;;31726:62;-1:-1:-1;;;31804:18:1;;;31797:39;31853:19;;68411:82:0;31473:405:1;68411:82:0;68369:140;68621:53;68639:17;68658:4;68664:9;68621:17;:53::i;84053:120::-;83062:16;:14;:16::i;:::-;84112:7:::1;:15:::0;;-1:-1:-1;;84112:15:0::1;::::0;;84143:22:::1;77669:10:::0;84152:12:::1;84143:22;;;;;;:::i;:::-;;;;;;;;84053:120::o:0;79716:132::-;79624:6;;-1:-1:-1;;;;;79624:6:0;77669:10;79780:23;79772:68;;;;-1:-1:-1;;;79772:68:0;;32085:2:1;79772:68:0;;;32067:21:1;;;32104:18;;;32097:30;32163:34;32143:18;;;32136:62;32215:18;;79772:68:0;31883:356:1;80811:191:0;80904:6;;;-1:-1:-1;;;;;80921:17:0;;;-1:-1:-1;;;;;;80921:17:0;;;;;;;80954:40;;80904:6;;;80921:17;80904:6;;80954:40;;80885:16;;80954:40;80874:128;80811:191;:::o;83794:118::-;82803:19;:17;:19::i;:::-;83854:7:::1;:14:::0;;-1:-1:-1;;83854:14:0::1;83864:4;83854:14;::::0;;83884:20:::1;83891:12;77669:10:::0;;77589:98;96180:332;95896:5;-1:-1:-1;;;;;96283:33:0;;;;96275:88;;;;-1:-1:-1;;;96275:88:0;;32446:2:1;96275:88:0;;;32428:21:1;32485:2;32465:18;;;32458:30;32524:34;32504:18;;;32497:62;-1:-1:-1;;;32575:18:1;;;32568:40;32625:19;;96275:88:0;32244:406:1;96275:88:0;-1:-1:-1;;;;;96382:22:0;;96374:60;;;;-1:-1:-1;;;96374:60:0;;32857:2:1;96374:60:0;;;32839:21:1;32896:2;32876:18;;;32869:30;-1:-1:-1;;;32915:18:1;;;32908:55;32980:18;;96374:60:0;32655:349:1;96374:60:0;96469:35;;;;;;;;;-1:-1:-1;;;;;96469:35:0;;;;;;-1:-1:-1;;;;;96469:35:0;;;;;;;;;;-1:-1:-1;;;96447:57:0;;;;:19;:57;96180:332::o;39198:231::-;39276:7;39297:17;39316:18;39338:27;39349:4;39355:9;39338:10;:27::i;:::-;39296:69;;;;39376:18;39388:5;39376:11;:18::i;:::-;-1:-1:-1;39412:9:0;39198:231;-1:-1:-1;;;39198:231:0:o;117228:281::-;117349:8;-1:-1:-1;;;;;117340:17:0;:5;-1:-1:-1;;;;;117340:17:0;;117332:55;;;;-1:-1:-1;;;117332:55:0;;33211:2:1;117332:55:0;;;33193:21:1;33250:2;33230:18;;;33223:30;-1:-1:-1;;;33269:18:1;;;33262:55;33334:18;;117332:55:0;33009:349:1;117332:55:0;-1:-1:-1;;;;;117398:25:0;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;117398:46:0;;;;;;;;;;117460:41;;540::1;;;117460::0;;513:18:1;117460:41:0;;;;;;;117228:281;;;:::o;110423:270::-;110536:28;110546:4;110552:2;110556:7;110536:9;:28::i;:::-;110583:47;110606:4;110612:2;110616:7;110625:4;110583:22;:47::i;:::-;110575:110;;;;-1:-1:-1;;;110575:110:0;;;;;;;:::i;105080:151::-;59985:13;;;;;;;59977:69;;;;-1:-1:-1;;;59977:69:0;;;;;;;:::i;:::-;105184:39:::1;105208:5;105215:7;105184:23;:39::i;82368:99::-:0;59985:13;;;;;;;59977:69;;;;-1:-1:-1;;;59977:69:0;;;;;;;:::i;:::-;82432:27:::1;:25;:27::i;79094:97::-:0;59985:13;;;;;;;59977:69;;;;-1:-1:-1;;;59977:69:0;;;;;;;:::i;:::-;79157:26:::1;:24;:26::i;72769:68::-:0;59985:13;;;;;;;59977:69;;;;-1:-1:-1;;;59977:69:0;;;;;;;:::i;63210:113::-;59985:13;;;;;;;59977:69;;;;-1:-1:-1;;;59977:69:0;;;;;;;:::i;:::-;63281:34:::1;:32;:34::i;111237:128::-:0;111302:4;110900:16;;;:7;:16;;;;;;-1:-1:-1;;;;;110900:16:0;111326:31;;;111237:128::o;32973:727::-;33029:13;33080:14;33097:28;33119:5;33097:21;:28::i;:::-;33128:1;33097:32;33080:49;;33144:20;33178:6;-1:-1:-1;;;;;33167:18:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;33167:18:0;-1:-1:-1;33144:41:0;-1:-1:-1;33309:28:0;;;33325:2;33309:28;33366:288;-1:-1:-1;;33398:5:0;-1:-1:-1;;;33535:2:0;33524:14;;33519:30;33398:5;33506:44;33596:2;33587:11;;;-1:-1:-1;33617:21:0;33366:288;33617:21;-1:-1:-1;33675:6:0;32973:727;-1:-1:-1;;;32973:727:0:o;94778:248::-;94902:4;-1:-1:-1;;;;;;94926:52:0;;-1:-1:-1;;;94926:52:0;;:92;;-1:-1:-1;;;;;;;;;;92811:51:0;;;94982:36;92702:168;112149:110;112225:26;112235:2;112239:7;112225:26;;;;;;;;;;;;:9;:26::i;125019:368::-;-1:-1:-1;;;;;125190:23:0;;;;;;:19;:23;;;;;;;;:32;125174:98;;;;-1:-1:-1;;;125174:98:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;125297:25:0;;;;;;:19;:25;;;;;;;;:34;125281:100;;;;-1:-1:-1;;;125281:100:0;;;;;;;:::i;66582:284::-;-1:-1:-1;;;;;46614:19:0;;;66656:106;;;;-1:-1:-1;;;66656:106:0;;34757:2:1;66656:106:0;;;34739:21:1;34796:2;34776:18;;;34769:30;34835:34;34815:18;;;34808:62;-1:-1:-1;;;34886:18:1;;;34879:43;34939:19;;66656:106:0;34555:409:1;66656:106:0;-1:-1:-1;;;;;;;;;;;66773:85:0;;-1:-1:-1;;;;;;66773:85:0;-1:-1:-1;;;;;66773:85:0;;;;;;;;;;66582:284::o;67275:281::-;67384:29;67395:17;67384:10;:29::i;:::-;67442:1;67428:4;:11;:15;:28;;;;67447:9;67428:28;67424:125;;;67473:64;67513:17;67532:4;67473:39;:64::i;83542:108::-;83269:7;;;;83601:41;;;;-1:-1:-1;;;83601:41:0;;35171:2:1;83601:41:0;;;35153:21:1;35210:2;35190:18;;;35183:30;-1:-1:-1;;;35229:18:1;;;35222:50;35289:18;;83601:41:0;34969:344:1;83357:108:0;83269:7;;;;83427:9;83419:38;;;;-1:-1:-1;;;83419:38:0;;35520:2:1;83419:38:0;;;35502:21:1;35559:2;35539:18;;;35532:30;-1:-1:-1;;;35578:18:1;;;35571:46;35634:18;;83419:38:0;35318:340:1;37649:747:0;37730:7;37739:12;37768:9;:16;37788:2;37768:22;37764:625;;38112:4;38097:20;;38091:27;38162:4;38147:20;;38141:27;38220:4;38205:20;;38199:27;37807:9;38191:36;38263:25;38274:4;38191:36;38091:27;38141;38263:10;:25::i;:::-;38256:32;;;;;;;;;37764:625;-1:-1:-1;38337:1:0;;-1:-1:-1;38341:35:0;38321:56;;36042:521;36120:20;36111:5;:29;;;;;;;;:::i;:::-;;36107:449;;36042:521;:::o;36107:449::-;36218:29;36209:5;:38;;;;;;;;:::i;:::-;;36205:351;;36264:34;;-1:-1:-1;;;36264:34:0;;35997:2:1;36264:34:0;;;35979:21:1;36036:2;36016:18;;;36009:30;-1:-1:-1;;;36055:18:1;;;36048:54;36119:18;;36264:34:0;35795:348:1;36205:351:0;36329:35;36320:5;:44;;;;;;;;:::i;:::-;;36316:240;;36381:41;;-1:-1:-1;;;36381:41:0;;36350:2:1;36381:41:0;;;36332:21:1;36389:2;36369:18;;;36362:30;36428:33;36408:18;;;36401:61;36479:18;;36381:41:0;36148:355:1;36316:240:0;36453:30;36444:5;:39;;;;;;;;:::i;:::-;;36440:116;;36500:44;;-1:-1:-1;;;36500:44:0;;36710:2:1;36500:44:0;;;36692:21:1;36749:2;36729:18;;;36722:30;36788:34;36768:18;;;36761:62;-1:-1:-1;;;36839:18:1;;;36832:32;36881:19;;36500:44:0;36508:398:1;118297:875:0;118451:4;-1:-1:-1;;;;;118472:13:0;;46614:19;:23;118468:697;;118508:82;;-1:-1:-1;;;118508:82:0;;-1:-1:-1;;;;;118508:47:0;;;;;:82;;77669:10;;118570:4;;118576:7;;118585:4;;118508:82;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;118508:82:0;;;;;;;;-1:-1:-1;;118508:82:0;;;;;;;;;;;;:::i;:::-;;;118504:606;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;118771:6;:13;118788:1;118771:18;118767:328;;118814:60;;-1:-1:-1;;;118814:60:0;;;;;;;:::i;118767:328::-;119045:6;119039:13;119030:6;119026:2;119022:15;119015:38;118504:606;-1:-1:-1;;;;;;118641:62:0;-1:-1:-1;;;118641:62:0;;-1:-1:-1;118634:69:0;;118468:697;-1:-1:-1;119149:4:0;118297:875;;;;;;:::o;105239:163::-;59985:13;;;;;;;59977:69;;;;-1:-1:-1;;;59977:69:0;;;;;;;:::i;:::-;105353:5:::1;:13;105361:5:::0;105353;:13:::1;:::i;:::-;-1:-1:-1::0;105377:7:0::1;:17;105387:7:::0;105377;:17:::1;:::i;82475:97::-:0;59985:13;;;;;;;59977:69;;;;-1:-1:-1;;;59977:69:0;;;;;;;:::i;:::-;82549:7:::1;:15:::0;;-1:-1:-1;;82549:15:0::1;::::0;;82475:97::o;79199:113::-;59985:13;;;;;;;59977:69;;;;-1:-1:-1;;;59977:69:0;;;;;;;:::i;:::-;79272:32:::1;77669:10:::0;79272:18:::1;:32::i;63331:111::-:0;59985:13;;;;;;;59977:69;;;;-1:-1:-1;;;59977:69:0;;;;;;;:::i;29773:948::-;29826:7;;-1:-1:-1;;;29904:17:0;;29900:106;;-1:-1:-1;;;29942:17:0;;;-1:-1:-1;29988:2:0;29978:12;29900:106;30033:8;30024:5;:17;30020:106;;30071:8;30062:17;;;-1:-1:-1;30108:2:0;30098:12;30020:106;30153:8;30144:5;:17;30140:106;;30191:8;30182:17;;;-1:-1:-1;30228:2:0;30218:12;30140:106;30273:7;30264:5;:16;30260:103;;30310:7;30301:16;;;-1:-1:-1;30346:1:0;30336:11;30260:103;30390:7;30381:5;:16;30377:103;;30427:7;30418:16;;;-1:-1:-1;30463:1:0;30453:11;30377:103;30507:7;30498:5;:16;30494:103;;30544:7;30535:16;;;-1:-1:-1;30580:1:0;30570:11;30494:103;30624:7;30615:5;:16;30611:68;;30662:1;30652:11;30707:6;29773:948;-1:-1:-1;;29773:948:0:o;112486:285::-;112581:18;112587:2;112591:7;112581:5;:18::i;:::-;112632:53;112663:1;112667:2;112671:7;112680:4;112632:22;:53::i;:::-;112610:153;;;;-1:-1:-1;;;112610:153:0;;;;;;;:::i;66979:155::-;67046:37;67065:17;67046:18;:37::i;:::-;67099:27;;-1:-1:-1;;;;;67099:27:0;;;;;;;;66979:155;:::o;51711:200::-;51794:12;51826:77;51847:6;51855:4;51826:77;;;;;;;;;;;;;;;;;:20;:77::i;:::-;51819:84;51711:200;-1:-1:-1;;;51711:200:0:o;40582:1477::-;40670:7;;-1:-1:-1;;;;;41591:79:0;;41587:163;;;-1:-1:-1;41703:1:0;;-1:-1:-1;41707:30:0;41687:51;;41587:163;41864:24;;;41847:14;41864:24;;;;;;;;;37886:25:1;;;37959:4;37947:17;;37927:18;;;37920:45;;;;37981:18;;;37974:34;;;38024:18;;;38017:34;;;41864:24:0;;37858:19:1;;41864:24:0;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;41864:24:0;;-1:-1:-1;;41864:24:0;;;-1:-1:-1;;;;;;;41903:20:0;;41899:103;;41956:1;41960:29;41940:50;;;;;;;41899:103;42022:6;-1:-1:-1;42030:20:0;;-1:-1:-1;40582:1477:0;;;;;;;;:::o;113107:942::-;-1:-1:-1;;;;;113187:16:0;;113179:61;;;;-1:-1:-1;;;113179:61:0;;38264:2:1;113179:61:0;;;38246:21:1;;;38283:18;;;38276:30;38342:34;38322:18;;;38315:62;38394:18;;113179:61:0;38062:356:1;113179:61:0;113260:16;113268:7;113260;:16::i;:::-;113259:17;113251:58;;;;-1:-1:-1;;;113251:58:0;;;;;;;:::i;:::-;113322:48;113351:1;113355:2;113359:7;113368:1;113322:20;:48::i;:::-;113469:16;113477:7;113469;:16::i;:::-;113468:17;113460:58;;;;-1:-1:-1;;;113460:58:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;113867:13:0;;;;;;:9;:13;;;;;;;;:18;;113884:1;113867:18;;;113909:16;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;113909:21:0;;;;;113948:33;113917:7;;113867:13;;113948:33;;113867:13;;113948:33;75694:223;;:::o;52105:332::-;52250:12;52276;52290:23;52317:6;-1:-1:-1;;;;;52317:19:0;52337:4;52317:25;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52275:67;;;;52360:69;52387:6;52395:7;52404:10;52416:12;52360:26;:69::i;:::-;52353:76;52105:332;-1:-1:-1;;;;;;52105:332:0:o;52733:644::-;52918:12;52947:7;52943:427;;;52975:10;:17;52996:1;52975:22;52971:290;;-1:-1:-1;;;;;46614:19:0;;;53185:60;;;;-1:-1:-1;;;53185:60:0;;38982:2:1;53185:60:0;;;38964:21:1;39021:2;39001:18;;;38994:30;39060:31;39040:18;;;39033:59;39109:18;;53185:60:0;38780:353:1;53185:60:0;-1:-1:-1;53282:10:0;53275:17;;52943:427;53325:33;53333:10;53345:12;54080:17;;:21;54076:388;;54312:10;54306:17;54369:15;54356:10;54352:2;54348:19;54341:44;54076:388;54439:12;54432:20;;-1:-1:-1;;;54432: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;774:222::-;-1:-1:-1;;;;;957:32:1;;;;939:51;;927:2;912:18;;774:222::o;1001:250::-;1086:1;1096:113;1110:6;1107:1;1104:13;1096:113;;;1186:11;;;1180:18;1167:11;;;1160:39;1132:2;1125:10;1096:113;;;-1:-1:-1;;1243:1:1;1225:16;;1218:27;1001:250::o;1256:271::-;1298:3;1336:5;1330:12;1363:6;1358:3;1351:19;1379:76;1448:6;1441:4;1436:3;1432:14;1425:4;1418:5;1414:16;1379:76;:::i;:::-;1509:2;1488:15;-1:-1:-1;;1484:29:1;1475:39;;;;1516:4;1471:50;;1256:271;-1:-1:-1;;1256:271:1:o;1532:220::-;1681:2;1670:9;1663:21;1644:4;1701:45;1742:2;1731:9;1727:18;1719:6;1701:45;:::i;1757:180::-;1816:6;1869:2;1857:9;1848:7;1844:23;1840:32;1837:52;;;1885:1;1882;1875:12;1837:52;-1:-1:-1;1908:23:1;;1757:180;-1:-1:-1;1757:180:1:o;2150:131::-;-1:-1:-1;;;;;2225:31:1;;2215:42;;2205:70;;2271:1;2268;2261:12;2286:315;2354:6;2362;2415:2;2403:9;2394:7;2390:23;2386:32;2383:52;;;2431:1;2428;2421:12;2383:52;2470:9;2457:23;2489:31;2514:5;2489:31;:::i;:::-;2539:5;2591:2;2576:18;;;;2563:32;;-1:-1:-1;;;2286:315:1:o;2606:127::-;2667:10;2662:3;2658:20;2655:1;2648:31;2698:4;2695:1;2688:15;2722:4;2719:1;2712:15;2738:275;2809:2;2803:9;2874:2;2855:13;;-1:-1:-1;;2851:27:1;2839:40;;-1:-1:-1;;;;;2894:34:1;;2930:22;;;2891:62;2888:88;;;2956:18;;:::i;:::-;2992:2;2985:22;2738:275;;-1:-1:-1;2738:275:1:o;3018:946::-;3102:6;3133:2;3176;3164:9;3155:7;3151:23;3147:32;3144:52;;;3192:1;3189;3182:12;3144:52;3232:9;3219:23;-1:-1:-1;;;;;3302:2:1;3294:6;3291:14;3288:34;;;3318:1;3315;3308:12;3288:34;3356:6;3345:9;3341:22;3331:32;;3401:7;3394:4;3390:2;3386:13;3382:27;3372:55;;3423:1;3420;3413:12;3372:55;3459:2;3446:16;3481:2;3477;3474:10;3471:36;;;3487:18;;:::i;:::-;3533:2;3530:1;3526:10;3516:20;;3556:28;3580:2;3576;3572:11;3556:28;:::i;:::-;3618:15;;;3688:11;;;3684:20;;;3649:12;;;;3716:19;;;3713:39;;;3748:1;3745;3738:12;3713:39;3772:11;;;;3792:142;3808:6;3803:3;3800:15;3792:142;;;3874:17;;3862:30;;3825:12;;;;3912;;;;3792:142;;;3953:5;3018:946;-1:-1:-1;;;;;;;;3018:946:1:o;3969:456::-;4046:6;4054;4062;4115:2;4103:9;4094:7;4090:23;4086:32;4083:52;;;4131:1;4128;4121:12;4083:52;4170:9;4157:23;4189:31;4214:5;4189:31;:::i;:::-;4239:5;-1:-1:-1;4296:2:1;4281:18;;4268:32;4309:33;4268:32;4309:33;:::i;:::-;3969:456;;4361:7;;-1:-1:-1;;;4415:2:1;4400:18;;;;4387:32;;3969:456::o;4430:248::-;4498:6;4506;4559:2;4547:9;4538:7;4534:23;4530:32;4527:52;;;4575:1;4572;4565:12;4527:52;-1:-1:-1;;4598:23:1;;;4668:2;4653:18;;;4640:32;;-1:-1:-1;4430:248:1:o;4962:247::-;5021:6;5074:2;5062:9;5053:7;5049:23;5045:32;5042:52;;;5090:1;5087;5080:12;5042:52;5129:9;5116:23;5148:31;5173:5;5148:31;:::i;5214:530::-;5256:5;5309:3;5302:4;5294:6;5290:17;5286:27;5276:55;;5327:1;5324;5317:12;5276:55;5363:6;5350:20;-1:-1:-1;;;;;5385:2:1;5382:26;5379:52;;;5411:18;;:::i;:::-;5455:55;5498:2;5479:13;;-1:-1:-1;;5475:27:1;5504:4;5471:38;5455:55;:::i;:::-;5535:2;5526:7;5519:19;5581:3;5574:4;5569:2;5561:6;5557:15;5553:26;5550:35;5547:55;;;5598:1;5595;5588:12;5547:55;5663:2;5656:4;5648:6;5644:17;5637:4;5628:7;5624:18;5611:55;5711:1;5686:16;;;5704:4;5682:27;5675:38;;;;5690:7;5214:530;-1:-1:-1;;;5214:530:1:o;5749:455::-;5826:6;5834;5887:2;5875:9;5866:7;5862:23;5858:32;5855:52;;;5903:1;5900;5893:12;5855:52;5942:9;5929:23;5961:31;5986:5;5961:31;:::i;:::-;6011:5;-1:-1:-1;6067:2:1;6052:18;;6039:32;-1:-1:-1;;;;;6083:30:1;;6080:50;;;6126:1;6123;6116:12;6080:50;6149:49;6190:7;6181:6;6170:9;6166:22;6149:49;:::i;:::-;6139:59;;;5749:455;;;;;:::o;6391:321::-;6460:6;6513:2;6501:9;6492:7;6488:23;6484:32;6481:52;;;6529:1;6526;6519:12;6481:52;6569:9;6556:23;-1:-1:-1;;;;;6594:6:1;6591:30;6588:50;;;6634:1;6631;6624:12;6588:50;6657:49;6698:7;6689:6;6678:9;6674:22;6657:49;:::i;6717:118::-;6803:5;6796:13;6789:21;6782:5;6779:32;6769:60;;6825:1;6822;6815:12;6840:382;6905:6;6913;6966:2;6954:9;6945:7;6941:23;6937:32;6934:52;;;6982:1;6979;6972:12;6934:52;7021:9;7008:23;7040:31;7065:5;7040:31;:::i;:::-;7090:5;-1:-1:-1;7147:2:1;7132:18;;7119:32;7160:30;7119:32;7160:30;:::i;:::-;7209:7;7199:17;;;6840:382;;;;;:::o;7227:435::-;7294:6;7302;7355:2;7343:9;7334:7;7330:23;7326:32;7323:52;;;7371:1;7368;7361:12;7323:52;7410:9;7397:23;7429:31;7454:5;7429:31;:::i;:::-;7479:5;-1:-1:-1;7536:2:1;7521:18;;7508:32;-1:-1:-1;;;;;7571:40:1;;7559:53;;7549:81;;7626:1;7623;7616:12;7667:388;7744:6;7752;7805:2;7793:9;7784:7;7780:23;7776:32;7773:52;;;7821:1;7818;7811:12;7773:52;7857:9;7844:23;7834:33;;7918:2;7907:9;7903:18;7890:32;-1:-1:-1;;;;;7937:6:1;7934:30;7931:50;;;7977:1;7974;7967:12;8517:746;8631:6;8639;8647;8655;8663;8716:3;8704:9;8695:7;8691:23;8687:33;8684:53;;;8733:1;8730;8723:12;8684:53;8769:9;8756:23;8746:33;;8830:2;8819:9;8815:18;8802:32;-1:-1:-1;;;;;8894:2:1;8886:6;8883:14;8880:34;;;8910:1;8907;8900:12;8880:34;8933:49;8974:7;8965:6;8954:9;8950:22;8933:49;:::i;:::-;8923:59;;9029:2;9018:9;9014:18;9001:32;8991:42;;9080:2;9069:9;9065:18;9052:32;9042:42;;9137:3;9126:9;9122:19;9109:33;9093:49;;9167:2;9157:8;9154:16;9151:36;;;9183:1;9180;9173:12;9151:36;;9206:51;9249:7;9238:8;9227:9;9223:24;9206:51;:::i;:::-;9196:61;;;8517:746;;;;;;;;:::o;9268:665::-;9363:6;9371;9379;9387;9440:3;9428:9;9419:7;9415:23;9411:33;9408:53;;;9457:1;9454;9447:12;9408:53;9496:9;9483:23;9515:31;9540:5;9515:31;:::i;:::-;9565:5;-1:-1:-1;9622:2:1;9607:18;;9594:32;9635:33;9594:32;9635:33;:::i;:::-;9687:7;-1:-1:-1;9741:2:1;9726:18;;9713:32;;-1:-1:-1;9796:2:1;9781:18;;9768:32;-1:-1:-1;;;;;9812:30:1;;9809:50;;;9855:1;9852;9845:12;9809:50;9878:49;9919:7;9910:6;9899:9;9895:22;9878:49;:::i;:::-;9868:59;;;9268:665;;;;;;;:::o;10263:529::-;10340:6;10348;10356;10409:2;10397:9;10388:7;10384:23;10380:32;10377:52;;;10425:1;10422;10415:12;10377:52;10464:9;10451:23;10483:31;10508:5;10483:31;:::i;:::-;10533:5;-1:-1:-1;10590:2:1;10575:18;;10562:32;10603:33;10562:32;10603:33;:::i;:::-;10655:7;-1:-1:-1;10714:2:1;10699:18;;10686:32;10727:33;10686:32;10727:33;:::i;:::-;10779:7;10769:17;;;10263:529;;;;;:::o;10797:746::-;10911:6;10919;10927;10935;10943;10996:3;10984:9;10975:7;10971:23;10967:33;10964:53;;;11013:1;11010;11003:12;10964:53;11049:9;11036:23;11026:33;;11106:2;11095:9;11091:18;11078:32;11068:42;;11161:2;11150:9;11146:18;11133:32;-1:-1:-1;;;;;11225:2:1;11217:6;11214:14;11211:34;;;11241:1;11238;11231:12;11211:34;11264:49;11305:7;11296:6;11285:9;11281:22;11264:49;:::i;:::-;11254:59;;11360:2;11349:9;11345:18;11332:32;11322:42;;11417:3;11406:9;11402:19;11389:33;11373:49;;11447:2;11437:8;11434:16;11431:36;;;11463:1;11460;11453:12;11548:388;11616:6;11624;11677:2;11665:9;11656:7;11652:23;11648:32;11645:52;;;11693:1;11690;11683:12;11645:52;11732:9;11719:23;11751:31;11776:5;11751:31;:::i;:::-;11801:5;-1:-1:-1;11858:2:1;11843:18;;11830:32;11871:33;11830:32;11871:33;:::i;11941:380::-;12020:1;12016:12;;;;12063;;;12084:61;;12138:4;12130:6;12126:17;12116:27;;12084:61;12191:2;12183:6;12180:14;12160:18;12157:38;12154:161;;12237:10;12232:3;12228:20;12225:1;12218:31;12272:4;12269:1;12262:15;12300:4;12297:1;12290:15;12154:161;;11941:380;;;:::o;13158:304::-;-1:-1:-1;;;;;13388:15:1;;;13370:34;;13440:15;;13435:2;13420:18;;13413:43;13320:2;13305:18;;13158:304::o;13467:245::-;13534:6;13587:2;13575:9;13566:7;13562:23;13558:32;13555:52;;;13603:1;13600;13593:12;13555:52;13635:9;13629:16;13654:28;13676:5;13654:28;:::i;13717:345::-;13919:2;13901:21;;;13958:2;13938:18;;;13931:30;-1:-1:-1;;;13992:2:1;13977:18;;13970:51;14053:2;14038:18;;13717:345::o;14067:127::-;14128:10;14123:3;14119:20;14116:1;14109:31;14159:4;14156:1;14149:15;14183:4;14180:1;14173:15;14199:184;14269:6;14322:2;14310:9;14301:7;14297:23;14293:32;14290:52;;;14338:1;14335;14328:12;14290:52;-1:-1:-1;14361:16:1;;14199:184;-1:-1:-1;14199:184:1:o;14742:127::-;14803:10;14798:3;14794:20;14791:1;14784:31;14834:4;14831:1;14824:15;14858:4;14855:1;14848:15;14874:135;14913:3;14934:17;;;14931:43;;14954:18;;:::i;:::-;-1:-1:-1;15001:1:1;14990:13;;14874:135::o;15625:409::-;15827:2;15809:21;;;15866:2;15846:18;;;15839:30;15905:34;15900:2;15885:18;;15878:62;-1:-1:-1;;;15971:2:1;15956:18;;15949:43;16024:3;16009:19;;15625:409::o;16039:168::-;16112:9;;;16143;;16160:15;;;16154:22;;16140:37;16130:71;;16181:18;;:::i;16344:217::-;16384:1;16410;16400:132;;16454:10;16449:3;16445:20;16442:1;16435:31;16489:4;16486:1;16479:15;16517:4;16514:1;16507:15;16400:132;-1:-1:-1;16546:9:1;;16344:217::o;16566:408::-;16768:2;16750:21;;;16807:2;16787:18;;;16780:30;16846:34;16841:2;16826:18;;16819:62;-1:-1:-1;;;16912:2:1;16897:18;;16890:42;16964:3;16949:19;;16566:408::o;16979:::-;17181:2;17163:21;;;17220:2;17200:18;;;17193:30;17259:34;17254:2;17239:18;;17232:62;-1:-1:-1;;;17325:2:1;17310:18;;17303:42;17377:3;17362:19;;16979:408::o;17392:399::-;17594:2;17576:21;;;17633:2;17613:18;;;17606:30;17672:34;17667:2;17652:18;;17645:62;-1:-1:-1;;;17738:2:1;17723:18;;17716:33;17781:3;17766:19;;17392:399::o;18347:545::-;18449:2;18444:3;18441:11;18438:448;;;18485:1;18510:5;18506:2;18499:17;18555:4;18551:2;18541:19;18625:2;18613:10;18609:19;18606:1;18602:27;18596:4;18592:38;18661:4;18649:10;18646:20;18643:47;;;-1:-1:-1;18684:4:1;18643:47;18739:2;18734:3;18730:12;18727:1;18723:20;18717:4;18713:31;18703:41;;18794:82;18812:2;18805:5;18802:13;18794:82;;;18857:17;;;18838:1;18827:13;18794:82;;;18798:3;;;18347:545;;;:::o;19068:1352::-;19194:3;19188:10;-1:-1:-1;;;;;19213:6:1;19210:30;19207:56;;;19243:18;;:::i;:::-;19272:97;19362:6;19322:38;19354:4;19348:11;19322:38;:::i;:::-;19316:4;19272:97;:::i;:::-;19424:4;;19488:2;19477:14;;19505:1;19500:663;;;;20207:1;20224:6;20221:89;;;-1:-1:-1;20276:19:1;;;20270:26;20221:89;-1:-1:-1;;19025:1:1;19021:11;;;19017:24;19013:29;19003:40;19049:1;19045:11;;;19000:57;20323:81;;19470:944;;19500:663;18294:1;18287:14;;;18331:4;18318:18;;-1:-1:-1;;19536:20:1;;;19654:236;19668:7;19665:1;19662:14;19654:236;;;19757:19;;;19751:26;19736:42;;19849:27;;;;19817:1;19805:14;;;;19684:19;;19654:236;;;19658:3;19918:6;19909:7;19906:19;19903:201;;;19979:19;;;19973:26;-1:-1:-1;;20062:1:1;20058:14;;;20074:3;20054:24;20050:37;20046:42;20031:58;20016:74;;19903:201;-1:-1:-1;;;;;20150:1:1;20134:14;;;20130:22;20117:36;;-1:-1:-1;19068:1352:1:o;20425:348::-;20627:2;20609:21;;;20666:2;20646:18;;;20639:30;-1:-1:-1;;;20700:2:1;20685:18;;20678:54;20764:2;20749:18;;20425:348::o;21188:401::-;21390:2;21372:21;;;21429:2;21409:18;;;21402:30;21468:34;21463:2;21448:18;;21441:62;-1:-1:-1;;;21534:2:1;21519:18;;21512:35;21579:3;21564:19;;21188:401::o;21979:347::-;22181:2;22163:21;;;22220:2;22200:18;;;22193:30;-1:-1:-1;;;22254:2:1;22239:18;;22232:53;22317:2;22302:18;;21979:347::o;22331:287::-;22460:3;22498:6;22492:13;22514:66;22573:6;22568:3;22561:4;22553:6;22549:17;22514:66;:::i;:::-;22596:16;;;;;22331:287;-1:-1:-1;;22331:287:1:o;22623:356::-;22825:2;22807:21;;;22844:18;;;22837:30;22903:34;22898:2;22883:18;;22876:62;22970:2;22955:18;;22623:356::o;23341:273::-;23409:6;23462:2;23450:9;23441:7;23437:23;23433:32;23430:52;;;23478:1;23475;23468:12;23430:52;23510:9;23504:16;23560:4;23553:5;23549:16;23542:5;23539:27;23529:55;;23580:1;23577;23570:12;23619:422;23708:1;23751:5;23708:1;23765:270;23786:7;23776:8;23773:21;23765:270;;;23845:4;23841:1;23837:6;23833:17;23827:4;23824:27;23821:53;;;23854:18;;:::i;:::-;23904:7;23894:8;23890:22;23887:55;;;23924:16;;;;23887:55;24003:22;;;;23963:15;;;;23765:270;;;23769:3;23619:422;;;;;:::o;24046:806::-;24095:5;24125:8;24115:80;;-1:-1:-1;24166:1:1;24180:5;;24115:80;24214:4;24204:76;;-1:-1:-1;24251:1:1;24265:5;;24204:76;24296:4;24314:1;24309:59;;;;24382:1;24377:130;;;;24289:218;;24309:59;24339:1;24330:10;;24353:5;;;24377:130;24414:3;24404:8;24401:17;24398:43;;;24421:18;;:::i;:::-;-1:-1:-1;;24477:1:1;24463:16;;24492:5;;24289:218;;24591:2;24581:8;24578:16;24572:3;24566:4;24563:13;24559:36;24553:2;24543:8;24540:16;24535:2;24529:4;24526:12;24522:35;24519:77;24516:159;;;-1:-1:-1;24628:19:1;;;24660:5;;24516:159;24707:34;24732:8;24726:4;24707:34;:::i;:::-;24777:6;24773:1;24769:6;24765:19;24756:7;24753:32;24750:58;;;24788:18;;:::i;:::-;24826:20;;24046:806;-1:-1:-1;;;24046:806:1:o;24857:140::-;24915:5;24944:47;24985:4;24975:8;24971:19;24965:4;24944:47;:::i;25777:375::-;-1:-1:-1;;;;;26035:15:1;;;26017:34;;26087:15;;;;26082:2;26067:18;;26060:43;26134:2;26119:18;;26112:34;;;;25967:2;25952:18;;25777:375::o;27122:722::-;27172:3;27213:5;27207:12;27242:36;27268:9;27242:36;:::i;:::-;27297:1;27314:18;;;27341:133;;;;27488:1;27483:355;;;;27307:531;;27341:133;-1:-1:-1;;27374:24:1;;27362:37;;27447:14;;27440:22;27428:35;;27419:45;;;-1:-1:-1;27341:133:1;;27483:355;27514:5;27511:1;27504:16;27543:4;27588:2;27585:1;27575:16;27613:1;27627:165;27641:6;27638:1;27635:13;27627:165;;;27719:14;;27706:11;;;27699:35;27762:16;;;;27656:10;;27627:165;;;27631:3;;;27821:6;27816:3;27812:16;27805:23;;27307:531;;;;;27122:722;;;;:::o;27849:469::-;28070:3;28098:38;28132:3;28124:6;28098:38;:::i;:::-;28165:6;28159:13;28181:65;28239:6;28235:2;28228:4;28220:6;28216:17;28181:65;:::i;:::-;28262:50;28304:6;28300:2;28296:15;28288:6;28262:50;:::i;:::-;28255:57;27849:469;-1:-1:-1;;;;;;;27849:469:1:o;28679:251::-;28749:6;28802:2;28790:9;28781:7;28777:23;28773:32;28770:52;;;28818:1;28815;28808:12;28770:52;28850:9;28844:16;28869:31;28894:5;28869:31;:::i;30058:401::-;30260:2;30242:21;;;30299:2;30279:18;;;30272:30;30338:34;30333:2;30318:18;;30311:62;-1:-1:-1;;;30404:2:1;30389:18;;30382:35;30449:3;30434:19;;30058:401::o;33363:414::-;33565:2;33547:21;;;33604:2;33584:18;;;33577:30;33643:34;33638:2;33623:18;;33616:62;-1:-1:-1;;;33709:2:1;33694:18;;33687:48;33767:3;33752:19;;33363:414::o;33782:407::-;33984:2;33966:21;;;34023:2;34003:18;;;33996:30;34062:34;34057:2;34042:18;;34035:62;-1:-1:-1;;;34128:2:1;34113:18;;34106:41;34179:3;34164:19;;33782:407::o;34194:356::-;34396:2;34378:21;;;34415:18;;;34408:30;34474:34;34469:2;34454:18;;34447:62;34541:2;34526:18;;34194:356::o;35663:127::-;35724:10;35719:3;35715:20;35712:1;35705:31;35755:4;35752:1;35745:15;35779:4;35776:1;35769:15;36911:489;-1:-1:-1;;;;;37180:15:1;;;37162:34;;37232:15;;37227:2;37212:18;;37205:43;37279:2;37264:18;;37257:34;;;37327:3;37322:2;37307:18;;37300:31;;;37105:4;;37348:46;;37374:19;;37366:6;37348:46;:::i;37405:249::-;37474:6;37527:2;37515:9;37506:7;37502:23;37498:32;37495:52;;;37543:1;37540;37533:12;37495:52;37575:9;37569:16;37594:30;37618:5;37594:30;:::i;38423:352::-;38625:2;38607:21;;;38664:2;38644:18;;;38637:30;38703;38698:2;38683:18;;38676:58;38766:2;38751:18;;38423:352::o
Swarm Source
ipfs://3e4267542c7096adcfe9b50cdb6df258fbd0f6418ca311ed8f6f0792b8df98d0
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.