ERC-20
Overview
Max Total Supply
3,177,067.266570649282184871 EGGS
Holders
14
Market
Price
$0.00 @ 0.000000 S
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
122.29191752357240832 EGGSValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
EGGS
Compiler Version
v0.8.28+commit.7893614a
Contract Source Code (Solidity)
/** *Submitted for verification at SonicScan.org on 2025-02-13 */ // SPDX-License-Identifier: MIT pragma solidity =0.8.28 ^0.8.20; // lib/openzeppelin-contracts/contracts/utils/Context.sol // OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol) /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } function _contextSuffixLength() internal view virtual returns (uint256) { return 0; } } // lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol // OpenZeppelin Contracts (last updated v5.1.0) (token/ERC20/IERC20.sol) /** * @dev Interface of the ERC-20 standard as defined in the ERC. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the value of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the value of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves a `value` amount of 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 value) 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 a `value` amount of tokens 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 value) external returns (bool); /** * @dev Moves a `value` amount of tokens from `from` to `to` using the * allowance mechanism. `value` 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 value) external returns (bool); } // lib/openzeppelin-contracts/contracts/utils/Panic.sol // OpenZeppelin Contracts (last updated v5.1.0) (utils/Panic.sol) /** * @dev Helper library for emitting standardized panic codes. * * ```solidity * contract Example { * using Panic for uint256; * * // Use any of the declared internal constants * function foo() { Panic.GENERIC.panic(); } * * // Alternatively * function foo() { Panic.panic(Panic.GENERIC); } * } * ``` * * Follows the list from https://github.com/ethereum/solidity/blob/v0.8.24/libsolutil/ErrorCodes.h[libsolutil]. * * _Available since v5.1._ */ // slither-disable-next-line unused-state library Panic { /// @dev generic / unspecified error uint256 internal constant GENERIC = 0x00; /// @dev used by the assert() builtin uint256 internal constant ASSERT = 0x01; /// @dev arithmetic underflow or overflow uint256 internal constant UNDER_OVERFLOW = 0x11; /// @dev division or modulo by zero uint256 internal constant DIVISION_BY_ZERO = 0x12; /// @dev enum conversion error uint256 internal constant ENUM_CONVERSION_ERROR = 0x21; /// @dev invalid encoding in storage uint256 internal constant STORAGE_ENCODING_ERROR = 0x22; /// @dev empty array pop uint256 internal constant EMPTY_ARRAY_POP = 0x31; /// @dev array out of bounds access uint256 internal constant ARRAY_OUT_OF_BOUNDS = 0x32; /// @dev resource error (too large allocation or too large array) uint256 internal constant RESOURCE_ERROR = 0x41; /// @dev calling invalid internal function uint256 internal constant INVALID_INTERNAL_FUNCTION = 0x51; /// @dev Reverts with a panic code. Recommended to use with /// the internal constants with predefined codes. function panic(uint256 code) internal pure { assembly ("memory-safe") { mstore(0x00, 0x4e487b71) mstore(0x20, code) revert(0x1c, 0x24) } } } // lib/openzeppelin-contracts/contracts/utils/ReentrancyGuard.sol // OpenZeppelin Contracts (last updated v5.1.0) (utils/ReentrancyGuard.sol) /** * @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 EIP-1153 (transient storage) is available on the chain you're deploying at, * consider using {ReentrancyGuardTransient} instead. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant NOT_ENTERED = 1; uint256 private constant ENTERED = 2; uint256 private _status; /** * @dev Unauthorized reentrant call. */ error ReentrancyGuardReentrantCall(); constructor() { _status = NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { _nonReentrantBefore(); _; _nonReentrantAfter(); } function _nonReentrantBefore() private { // On the first call to nonReentrant, _status will be NOT_ENTERED if (_status == ENTERED) { revert ReentrancyGuardReentrantCall(); } // 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; } } // lib/openzeppelin-contracts/contracts/utils/math/SafeCast.sol // OpenZeppelin Contracts (last updated v5.1.0) (utils/math/SafeCast.sol) // This file was procedurally generated from scripts/generate/templates/SafeCast.js. /** * @dev Wrappers over Solidity's uintXX/intXX/bool casting operators with added overflow * checks. * * Downcasting from uint256/int256 in Solidity does not revert on overflow. This can * easily result in undesired exploitation or bugs, since developers usually * assume that overflows raise errors. `SafeCast` restores this intuition by * reverting the transaction when such an operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. */ library SafeCast { /** * @dev Value doesn't fit in an uint of `bits` size. */ error SafeCastOverflowedUintDowncast(uint8 bits, uint256 value); /** * @dev An int value doesn't fit in an uint of `bits` size. */ error SafeCastOverflowedIntToUint(int256 value); /** * @dev Value doesn't fit in an int of `bits` size. */ error SafeCastOverflowedIntDowncast(uint8 bits, int256 value); /** * @dev An uint value doesn't fit in an int of `bits` size. */ error SafeCastOverflowedUintToInt(uint256 value); /** * @dev Returns the downcasted uint248 from uint256, reverting on * overflow (when the input is greater than largest uint248). * * Counterpart to Solidity's `uint248` operator. * * Requirements: * * - input must fit into 248 bits */ function toUint248(uint256 value) internal pure returns (uint248) { if (value > type(uint248).max) { revert SafeCastOverflowedUintDowncast(248, value); } return uint248(value); } /** * @dev Returns the downcasted uint240 from uint256, reverting on * overflow (when the input is greater than largest uint240). * * Counterpart to Solidity's `uint240` operator. * * Requirements: * * - input must fit into 240 bits */ function toUint240(uint256 value) internal pure returns (uint240) { if (value > type(uint240).max) { revert SafeCastOverflowedUintDowncast(240, value); } return uint240(value); } /** * @dev Returns the downcasted uint232 from uint256, reverting on * overflow (when the input is greater than largest uint232). * * Counterpart to Solidity's `uint232` operator. * * Requirements: * * - input must fit into 232 bits */ function toUint232(uint256 value) internal pure returns (uint232) { if (value > type(uint232).max) { revert SafeCastOverflowedUintDowncast(232, value); } return uint232(value); } /** * @dev Returns the downcasted uint224 from uint256, reverting on * overflow (when the input is greater than largest uint224). * * Counterpart to Solidity's `uint224` operator. * * Requirements: * * - input must fit into 224 bits */ function toUint224(uint256 value) internal pure returns (uint224) { if (value > type(uint224).max) { revert SafeCastOverflowedUintDowncast(224, value); } return uint224(value); } /** * @dev Returns the downcasted uint216 from uint256, reverting on * overflow (when the input is greater than largest uint216). * * Counterpart to Solidity's `uint216` operator. * * Requirements: * * - input must fit into 216 bits */ function toUint216(uint256 value) internal pure returns (uint216) { if (value > type(uint216).max) { revert SafeCastOverflowedUintDowncast(216, value); } return uint216(value); } /** * @dev Returns the downcasted uint208 from uint256, reverting on * overflow (when the input is greater than largest uint208). * * Counterpart to Solidity's `uint208` operator. * * Requirements: * * - input must fit into 208 bits */ function toUint208(uint256 value) internal pure returns (uint208) { if (value > type(uint208).max) { revert SafeCastOverflowedUintDowncast(208, value); } return uint208(value); } /** * @dev Returns the downcasted uint200 from uint256, reverting on * overflow (when the input is greater than largest uint200). * * Counterpart to Solidity's `uint200` operator. * * Requirements: * * - input must fit into 200 bits */ function toUint200(uint256 value) internal pure returns (uint200) { if (value > type(uint200).max) { revert SafeCastOverflowedUintDowncast(200, value); } return uint200(value); } /** * @dev Returns the downcasted uint192 from uint256, reverting on * overflow (when the input is greater than largest uint192). * * Counterpart to Solidity's `uint192` operator. * * Requirements: * * - input must fit into 192 bits */ function toUint192(uint256 value) internal pure returns (uint192) { if (value > type(uint192).max) { revert SafeCastOverflowedUintDowncast(192, value); } return uint192(value); } /** * @dev Returns the downcasted uint184 from uint256, reverting on * overflow (when the input is greater than largest uint184). * * Counterpart to Solidity's `uint184` operator. * * Requirements: * * - input must fit into 184 bits */ function toUint184(uint256 value) internal pure returns (uint184) { if (value > type(uint184).max) { revert SafeCastOverflowedUintDowncast(184, value); } return uint184(value); } /** * @dev Returns the downcasted uint176 from uint256, reverting on * overflow (when the input is greater than largest uint176). * * Counterpart to Solidity's `uint176` operator. * * Requirements: * * - input must fit into 176 bits */ function toUint176(uint256 value) internal pure returns (uint176) { if (value > type(uint176).max) { revert SafeCastOverflowedUintDowncast(176, value); } return uint176(value); } /** * @dev Returns the downcasted uint168 from uint256, reverting on * overflow (when the input is greater than largest uint168). * * Counterpart to Solidity's `uint168` operator. * * Requirements: * * - input must fit into 168 bits */ function toUint168(uint256 value) internal pure returns (uint168) { if (value > type(uint168).max) { revert SafeCastOverflowedUintDowncast(168, value); } return uint168(value); } /** * @dev Returns the downcasted uint160 from uint256, reverting on * overflow (when the input is greater than largest uint160). * * Counterpart to Solidity's `uint160` operator. * * Requirements: * * - input must fit into 160 bits */ function toUint160(uint256 value) internal pure returns (uint160) { if (value > type(uint160).max) { revert SafeCastOverflowedUintDowncast(160, value); } return uint160(value); } /** * @dev Returns the downcasted uint152 from uint256, reverting on * overflow (when the input is greater than largest uint152). * * Counterpart to Solidity's `uint152` operator. * * Requirements: * * - input must fit into 152 bits */ function toUint152(uint256 value) internal pure returns (uint152) { if (value > type(uint152).max) { revert SafeCastOverflowedUintDowncast(152, value); } return uint152(value); } /** * @dev Returns the downcasted uint144 from uint256, reverting on * overflow (when the input is greater than largest uint144). * * Counterpart to Solidity's `uint144` operator. * * Requirements: * * - input must fit into 144 bits */ function toUint144(uint256 value) internal pure returns (uint144) { if (value > type(uint144).max) { revert SafeCastOverflowedUintDowncast(144, value); } return uint144(value); } /** * @dev Returns the downcasted uint136 from uint256, reverting on * overflow (when the input is greater than largest uint136). * * Counterpart to Solidity's `uint136` operator. * * Requirements: * * - input must fit into 136 bits */ function toUint136(uint256 value) internal pure returns (uint136) { if (value > type(uint136).max) { revert SafeCastOverflowedUintDowncast(136, value); } return uint136(value); } /** * @dev Returns the downcasted uint128 from uint256, reverting on * overflow (when the input is greater than largest uint128). * * Counterpart to Solidity's `uint128` operator. * * Requirements: * * - input must fit into 128 bits */ function toUint128(uint256 value) internal pure returns (uint128) { if (value > type(uint128).max) { revert SafeCastOverflowedUintDowncast(128, value); } return uint128(value); } /** * @dev Returns the downcasted uint120 from uint256, reverting on * overflow (when the input is greater than largest uint120). * * Counterpart to Solidity's `uint120` operator. * * Requirements: * * - input must fit into 120 bits */ function toUint120(uint256 value) internal pure returns (uint120) { if (value > type(uint120).max) { revert SafeCastOverflowedUintDowncast(120, value); } return uint120(value); } /** * @dev Returns the downcasted uint112 from uint256, reverting on * overflow (when the input is greater than largest uint112). * * Counterpart to Solidity's `uint112` operator. * * Requirements: * * - input must fit into 112 bits */ function toUint112(uint256 value) internal pure returns (uint112) { if (value > type(uint112).max) { revert SafeCastOverflowedUintDowncast(112, value); } return uint112(value); } /** * @dev Returns the downcasted uint104 from uint256, reverting on * overflow (when the input is greater than largest uint104). * * Counterpart to Solidity's `uint104` operator. * * Requirements: * * - input must fit into 104 bits */ function toUint104(uint256 value) internal pure returns (uint104) { if (value > type(uint104).max) { revert SafeCastOverflowedUintDowncast(104, value); } return uint104(value); } /** * @dev Returns the downcasted uint96 from uint256, reverting on * overflow (when the input is greater than largest uint96). * * Counterpart to Solidity's `uint96` operator. * * Requirements: * * - input must fit into 96 bits */ function toUint96(uint256 value) internal pure returns (uint96) { if (value > type(uint96).max) { revert SafeCastOverflowedUintDowncast(96, value); } return uint96(value); } /** * @dev Returns the downcasted uint88 from uint256, reverting on * overflow (when the input is greater than largest uint88). * * Counterpart to Solidity's `uint88` operator. * * Requirements: * * - input must fit into 88 bits */ function toUint88(uint256 value) internal pure returns (uint88) { if (value > type(uint88).max) { revert SafeCastOverflowedUintDowncast(88, value); } return uint88(value); } /** * @dev Returns the downcasted uint80 from uint256, reverting on * overflow (when the input is greater than largest uint80). * * Counterpart to Solidity's `uint80` operator. * * Requirements: * * - input must fit into 80 bits */ function toUint80(uint256 value) internal pure returns (uint80) { if (value > type(uint80).max) { revert SafeCastOverflowedUintDowncast(80, value); } return uint80(value); } /** * @dev Returns the downcasted uint72 from uint256, reverting on * overflow (when the input is greater than largest uint72). * * Counterpart to Solidity's `uint72` operator. * * Requirements: * * - input must fit into 72 bits */ function toUint72(uint256 value) internal pure returns (uint72) { if (value > type(uint72).max) { revert SafeCastOverflowedUintDowncast(72, value); } return uint72(value); } /** * @dev Returns the downcasted uint64 from uint256, reverting on * overflow (when the input is greater than largest uint64). * * Counterpart to Solidity's `uint64` operator. * * Requirements: * * - input must fit into 64 bits */ function toUint64(uint256 value) internal pure returns (uint64) { if (value > type(uint64).max) { revert SafeCastOverflowedUintDowncast(64, value); } return uint64(value); } /** * @dev Returns the downcasted uint56 from uint256, reverting on * overflow (when the input is greater than largest uint56). * * Counterpart to Solidity's `uint56` operator. * * Requirements: * * - input must fit into 56 bits */ function toUint56(uint256 value) internal pure returns (uint56) { if (value > type(uint56).max) { revert SafeCastOverflowedUintDowncast(56, value); } return uint56(value); } /** * @dev Returns the downcasted uint48 from uint256, reverting on * overflow (when the input is greater than largest uint48). * * Counterpart to Solidity's `uint48` operator. * * Requirements: * * - input must fit into 48 bits */ function toUint48(uint256 value) internal pure returns (uint48) { if (value > type(uint48).max) { revert SafeCastOverflowedUintDowncast(48, value); } return uint48(value); } /** * @dev Returns the downcasted uint40 from uint256, reverting on * overflow (when the input is greater than largest uint40). * * Counterpart to Solidity's `uint40` operator. * * Requirements: * * - input must fit into 40 bits */ function toUint40(uint256 value) internal pure returns (uint40) { if (value > type(uint40).max) { revert SafeCastOverflowedUintDowncast(40, value); } return uint40(value); } /** * @dev Returns the downcasted uint32 from uint256, reverting on * overflow (when the input is greater than largest uint32). * * Counterpart to Solidity's `uint32` operator. * * Requirements: * * - input must fit into 32 bits */ function toUint32(uint256 value) internal pure returns (uint32) { if (value > type(uint32).max) { revert SafeCastOverflowedUintDowncast(32, value); } return uint32(value); } /** * @dev Returns the downcasted uint24 from uint256, reverting on * overflow (when the input is greater than largest uint24). * * Counterpart to Solidity's `uint24` operator. * * Requirements: * * - input must fit into 24 bits */ function toUint24(uint256 value) internal pure returns (uint24) { if (value > type(uint24).max) { revert SafeCastOverflowedUintDowncast(24, value); } return uint24(value); } /** * @dev Returns the downcasted uint16 from uint256, reverting on * overflow (when the input is greater than largest uint16). * * Counterpart to Solidity's `uint16` operator. * * Requirements: * * - input must fit into 16 bits */ function toUint16(uint256 value) internal pure returns (uint16) { if (value > type(uint16).max) { revert SafeCastOverflowedUintDowncast(16, value); } return uint16(value); } /** * @dev Returns the downcasted uint8 from uint256, reverting on * overflow (when the input is greater than largest uint8). * * Counterpart to Solidity's `uint8` operator. * * Requirements: * * - input must fit into 8 bits */ function toUint8(uint256 value) internal pure returns (uint8) { if (value > type(uint8).max) { revert SafeCastOverflowedUintDowncast(8, value); } return uint8(value); } /** * @dev Converts a signed int256 into an unsigned uint256. * * Requirements: * * - input must be greater than or equal to 0. */ function toUint256(int256 value) internal pure returns (uint256) { if (value < 0) { revert SafeCastOverflowedIntToUint(value); } return uint256(value); } /** * @dev Returns the downcasted int248 from int256, reverting on * overflow (when the input is less than smallest int248 or * greater than largest int248). * * Counterpart to Solidity's `int248` operator. * * Requirements: * * - input must fit into 248 bits */ function toInt248(int256 value) internal pure returns (int248 downcasted) { downcasted = int248(value); if (downcasted != value) { revert SafeCastOverflowedIntDowncast(248, value); } } /** * @dev Returns the downcasted int240 from int256, reverting on * overflow (when the input is less than smallest int240 or * greater than largest int240). * * Counterpart to Solidity's `int240` operator. * * Requirements: * * - input must fit into 240 bits */ function toInt240(int256 value) internal pure returns (int240 downcasted) { downcasted = int240(value); if (downcasted != value) { revert SafeCastOverflowedIntDowncast(240, value); } } /** * @dev Returns the downcasted int232 from int256, reverting on * overflow (when the input is less than smallest int232 or * greater than largest int232). * * Counterpart to Solidity's `int232` operator. * * Requirements: * * - input must fit into 232 bits */ function toInt232(int256 value) internal pure returns (int232 downcasted) { downcasted = int232(value); if (downcasted != value) { revert SafeCastOverflowedIntDowncast(232, value); } } /** * @dev Returns the downcasted int224 from int256, reverting on * overflow (when the input is less than smallest int224 or * greater than largest int224). * * Counterpart to Solidity's `int224` operator. * * Requirements: * * - input must fit into 224 bits */ function toInt224(int256 value) internal pure returns (int224 downcasted) { downcasted = int224(value); if (downcasted != value) { revert SafeCastOverflowedIntDowncast(224, value); } } /** * @dev Returns the downcasted int216 from int256, reverting on * overflow (when the input is less than smallest int216 or * greater than largest int216). * * Counterpart to Solidity's `int216` operator. * * Requirements: * * - input must fit into 216 bits */ function toInt216(int256 value) internal pure returns (int216 downcasted) { downcasted = int216(value); if (downcasted != value) { revert SafeCastOverflowedIntDowncast(216, value); } } /** * @dev Returns the downcasted int208 from int256, reverting on * overflow (when the input is less than smallest int208 or * greater than largest int208). * * Counterpart to Solidity's `int208` operator. * * Requirements: * * - input must fit into 208 bits */ function toInt208(int256 value) internal pure returns (int208 downcasted) { downcasted = int208(value); if (downcasted != value) { revert SafeCastOverflowedIntDowncast(208, value); } } /** * @dev Returns the downcasted int200 from int256, reverting on * overflow (when the input is less than smallest int200 or * greater than largest int200). * * Counterpart to Solidity's `int200` operator. * * Requirements: * * - input must fit into 200 bits */ function toInt200(int256 value) internal pure returns (int200 downcasted) { downcasted = int200(value); if (downcasted != value) { revert SafeCastOverflowedIntDowncast(200, value); } } /** * @dev Returns the downcasted int192 from int256, reverting on * overflow (when the input is less than smallest int192 or * greater than largest int192). * * Counterpart to Solidity's `int192` operator. * * Requirements: * * - input must fit into 192 bits */ function toInt192(int256 value) internal pure returns (int192 downcasted) { downcasted = int192(value); if (downcasted != value) { revert SafeCastOverflowedIntDowncast(192, value); } } /** * @dev Returns the downcasted int184 from int256, reverting on * overflow (when the input is less than smallest int184 or * greater than largest int184). * * Counterpart to Solidity's `int184` operator. * * Requirements: * * - input must fit into 184 bits */ function toInt184(int256 value) internal pure returns (int184 downcasted) { downcasted = int184(value); if (downcasted != value) { revert SafeCastOverflowedIntDowncast(184, value); } } /** * @dev Returns the downcasted int176 from int256, reverting on * overflow (when the input is less than smallest int176 or * greater than largest int176). * * Counterpart to Solidity's `int176` operator. * * Requirements: * * - input must fit into 176 bits */ function toInt176(int256 value) internal pure returns (int176 downcasted) { downcasted = int176(value); if (downcasted != value) { revert SafeCastOverflowedIntDowncast(176, value); } } /** * @dev Returns the downcasted int168 from int256, reverting on * overflow (when the input is less than smallest int168 or * greater than largest int168). * * Counterpart to Solidity's `int168` operator. * * Requirements: * * - input must fit into 168 bits */ function toInt168(int256 value) internal pure returns (int168 downcasted) { downcasted = int168(value); if (downcasted != value) { revert SafeCastOverflowedIntDowncast(168, value); } } /** * @dev Returns the downcasted int160 from int256, reverting on * overflow (when the input is less than smallest int160 or * greater than largest int160). * * Counterpart to Solidity's `int160` operator. * * Requirements: * * - input must fit into 160 bits */ function toInt160(int256 value) internal pure returns (int160 downcasted) { downcasted = int160(value); if (downcasted != value) { revert SafeCastOverflowedIntDowncast(160, value); } } /** * @dev Returns the downcasted int152 from int256, reverting on * overflow (when the input is less than smallest int152 or * greater than largest int152). * * Counterpart to Solidity's `int152` operator. * * Requirements: * * - input must fit into 152 bits */ function toInt152(int256 value) internal pure returns (int152 downcasted) { downcasted = int152(value); if (downcasted != value) { revert SafeCastOverflowedIntDowncast(152, value); } } /** * @dev Returns the downcasted int144 from int256, reverting on * overflow (when the input is less than smallest int144 or * greater than largest int144). * * Counterpart to Solidity's `int144` operator. * * Requirements: * * - input must fit into 144 bits */ function toInt144(int256 value) internal pure returns (int144 downcasted) { downcasted = int144(value); if (downcasted != value) { revert SafeCastOverflowedIntDowncast(144, value); } } /** * @dev Returns the downcasted int136 from int256, reverting on * overflow (when the input is less than smallest int136 or * greater than largest int136). * * Counterpart to Solidity's `int136` operator. * * Requirements: * * - input must fit into 136 bits */ function toInt136(int256 value) internal pure returns (int136 downcasted) { downcasted = int136(value); if (downcasted != value) { revert SafeCastOverflowedIntDowncast(136, value); } } /** * @dev Returns the downcasted int128 from int256, reverting on * overflow (when the input is less than smallest int128 or * greater than largest int128). * * Counterpart to Solidity's `int128` operator. * * Requirements: * * - input must fit into 128 bits */ function toInt128(int256 value) internal pure returns (int128 downcasted) { downcasted = int128(value); if (downcasted != value) { revert SafeCastOverflowedIntDowncast(128, value); } } /** * @dev Returns the downcasted int120 from int256, reverting on * overflow (when the input is less than smallest int120 or * greater than largest int120). * * Counterpart to Solidity's `int120` operator. * * Requirements: * * - input must fit into 120 bits */ function toInt120(int256 value) internal pure returns (int120 downcasted) { downcasted = int120(value); if (downcasted != value) { revert SafeCastOverflowedIntDowncast(120, value); } } /** * @dev Returns the downcasted int112 from int256, reverting on * overflow (when the input is less than smallest int112 or * greater than largest int112). * * Counterpart to Solidity's `int112` operator. * * Requirements: * * - input must fit into 112 bits */ function toInt112(int256 value) internal pure returns (int112 downcasted) { downcasted = int112(value); if (downcasted != value) { revert SafeCastOverflowedIntDowncast(112, value); } } /** * @dev Returns the downcasted int104 from int256, reverting on * overflow (when the input is less than smallest int104 or * greater than largest int104). * * Counterpart to Solidity's `int104` operator. * * Requirements: * * - input must fit into 104 bits */ function toInt104(int256 value) internal pure returns (int104 downcasted) { downcasted = int104(value); if (downcasted != value) { revert SafeCastOverflowedIntDowncast(104, value); } } /** * @dev Returns the downcasted int96 from int256, reverting on * overflow (when the input is less than smallest int96 or * greater than largest int96). * * Counterpart to Solidity's `int96` operator. * * Requirements: * * - input must fit into 96 bits */ function toInt96(int256 value) internal pure returns (int96 downcasted) { downcasted = int96(value); if (downcasted != value) { revert SafeCastOverflowedIntDowncast(96, value); } } /** * @dev Returns the downcasted int88 from int256, reverting on * overflow (when the input is less than smallest int88 or * greater than largest int88). * * Counterpart to Solidity's `int88` operator. * * Requirements: * * - input must fit into 88 bits */ function toInt88(int256 value) internal pure returns (int88 downcasted) { downcasted = int88(value); if (downcasted != value) { revert SafeCastOverflowedIntDowncast(88, value); } } /** * @dev Returns the downcasted int80 from int256, reverting on * overflow (when the input is less than smallest int80 or * greater than largest int80). * * Counterpart to Solidity's `int80` operator. * * Requirements: * * - input must fit into 80 bits */ function toInt80(int256 value) internal pure returns (int80 downcasted) { downcasted = int80(value); if (downcasted != value) { revert SafeCastOverflowedIntDowncast(80, value); } } /** * @dev Returns the downcasted int72 from int256, reverting on * overflow (when the input is less than smallest int72 or * greater than largest int72). * * Counterpart to Solidity's `int72` operator. * * Requirements: * * - input must fit into 72 bits */ function toInt72(int256 value) internal pure returns (int72 downcasted) { downcasted = int72(value); if (downcasted != value) { revert SafeCastOverflowedIntDowncast(72, value); } } /** * @dev Returns the downcasted int64 from int256, reverting on * overflow (when the input is less than smallest int64 or * greater than largest int64). * * Counterpart to Solidity's `int64` operator. * * Requirements: * * - input must fit into 64 bits */ function toInt64(int256 value) internal pure returns (int64 downcasted) { downcasted = int64(value); if (downcasted != value) { revert SafeCastOverflowedIntDowncast(64, value); } } /** * @dev Returns the downcasted int56 from int256, reverting on * overflow (when the input is less than smallest int56 or * greater than largest int56). * * Counterpart to Solidity's `int56` operator. * * Requirements: * * - input must fit into 56 bits */ function toInt56(int256 value) internal pure returns (int56 downcasted) { downcasted = int56(value); if (downcasted != value) { revert SafeCastOverflowedIntDowncast(56, value); } } /** * @dev Returns the downcasted int48 from int256, reverting on * overflow (when the input is less than smallest int48 or * greater than largest int48). * * Counterpart to Solidity's `int48` operator. * * Requirements: * * - input must fit into 48 bits */ function toInt48(int256 value) internal pure returns (int48 downcasted) { downcasted = int48(value); if (downcasted != value) { revert SafeCastOverflowedIntDowncast(48, value); } } /** * @dev Returns the downcasted int40 from int256, reverting on * overflow (when the input is less than smallest int40 or * greater than largest int40). * * Counterpart to Solidity's `int40` operator. * * Requirements: * * - input must fit into 40 bits */ function toInt40(int256 value) internal pure returns (int40 downcasted) { downcasted = int40(value); if (downcasted != value) { revert SafeCastOverflowedIntDowncast(40, value); } } /** * @dev Returns the downcasted int32 from int256, reverting on * overflow (when the input is less than smallest int32 or * greater than largest int32). * * Counterpart to Solidity's `int32` operator. * * Requirements: * * - input must fit into 32 bits */ function toInt32(int256 value) internal pure returns (int32 downcasted) { downcasted = int32(value); if (downcasted != value) { revert SafeCastOverflowedIntDowncast(32, value); } } /** * @dev Returns the downcasted int24 from int256, reverting on * overflow (when the input is less than smallest int24 or * greater than largest int24). * * Counterpart to Solidity's `int24` operator. * * Requirements: * * - input must fit into 24 bits */ function toInt24(int256 value) internal pure returns (int24 downcasted) { downcasted = int24(value); if (downcasted != value) { revert SafeCastOverflowedIntDowncast(24, value); } } /** * @dev Returns the downcasted int16 from int256, reverting on * overflow (when the input is less than smallest int16 or * greater than largest int16). * * Counterpart to Solidity's `int16` operator. * * Requirements: * * - input must fit into 16 bits */ function toInt16(int256 value) internal pure returns (int16 downcasted) { downcasted = int16(value); if (downcasted != value) { revert SafeCastOverflowedIntDowncast(16, value); } } /** * @dev Returns the downcasted int8 from int256, reverting on * overflow (when the input is less than smallest int8 or * greater than largest int8). * * Counterpart to Solidity's `int8` operator. * * Requirements: * * - input must fit into 8 bits */ function toInt8(int256 value) internal pure returns (int8 downcasted) { downcasted = int8(value); if (downcasted != value) { revert SafeCastOverflowedIntDowncast(8, value); } } /** * @dev Converts an unsigned uint256 into a signed int256. * * Requirements: * * - input must be less than or equal to maxInt256. */ function toInt256(uint256 value) internal pure returns (int256) { // Note: Unsafe cast below is okay because `type(int256).max` is guaranteed to be positive if (value > uint256(type(int256).max)) { revert SafeCastOverflowedUintToInt(value); } return int256(value); } /** * @dev Cast a boolean (false or true) to a uint256 (0 or 1) with no jump. */ function toUint(bool b) internal pure returns (uint256 u) { assembly ("memory-safe") { u := iszero(iszero(b)) } } } // lib/openzeppelin-contracts/contracts/interfaces/draft-IERC6093.sol // OpenZeppelin Contracts (last updated v5.1.0) (interfaces/draft-IERC6093.sol) /** * @dev Standard ERC-20 Errors * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-20 tokens. */ interface IERC20Errors { /** * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. * @param balance Current balance for the interacting account. * @param needed Minimum amount required to perform a transfer. */ error ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed); /** * @dev Indicates a failure with the token `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. */ error ERC20InvalidSender(address sender); /** * @dev Indicates a failure with the token `receiver`. Used in transfers. * @param receiver Address to which tokens are being transferred. */ error ERC20InvalidReceiver(address receiver); /** * @dev Indicates a failure with the `spender`’s `allowance`. Used in transfers. * @param spender Address that may be allowed to operate on tokens without being their owner. * @param allowance Amount of tokens a `spender` is allowed to operate with. * @param needed Minimum amount required to perform a transfer. */ error ERC20InsufficientAllowance(address spender, uint256 allowance, uint256 needed); /** * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals. * @param approver Address initiating an approval operation. */ error ERC20InvalidApprover(address approver); /** * @dev Indicates a failure with the `spender` to be approved. Used in approvals. * @param spender Address that may be allowed to operate on tokens without being their owner. */ error ERC20InvalidSpender(address spender); } /** * @dev Standard ERC-721 Errors * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-721 tokens. */ interface IERC721Errors { /** * @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in ERC-20. * Used in balance queries. * @param owner Address of the current owner of a token. */ error ERC721InvalidOwner(address owner); /** * @dev Indicates a `tokenId` whose `owner` is the zero address. * @param tokenId Identifier number of a token. */ error ERC721NonexistentToken(uint256 tokenId); /** * @dev Indicates an error related to the ownership over a particular token. Used in transfers. * @param sender Address whose tokens are being transferred. * @param tokenId Identifier number of a token. * @param owner Address of the current owner of a token. */ error ERC721IncorrectOwner(address sender, uint256 tokenId, address owner); /** * @dev Indicates a failure with the token `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. */ error ERC721InvalidSender(address sender); /** * @dev Indicates a failure with the token `receiver`. Used in transfers. * @param receiver Address to which tokens are being transferred. */ error ERC721InvalidReceiver(address receiver); /** * @dev Indicates a failure with the `operator`’s approval. Used in transfers. * @param operator Address that may be allowed to operate on tokens without being their owner. * @param tokenId Identifier number of a token. */ error ERC721InsufficientApproval(address operator, uint256 tokenId); /** * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals. * @param approver Address initiating an approval operation. */ error ERC721InvalidApprover(address approver); /** * @dev Indicates a failure with the `operator` to be approved. Used in approvals. * @param operator Address that may be allowed to operate on tokens without being their owner. */ error ERC721InvalidOperator(address operator); } /** * @dev Standard ERC-1155 Errors * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-1155 tokens. */ interface IERC1155Errors { /** * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. * @param balance Current balance for the interacting account. * @param needed Minimum amount required to perform a transfer. * @param tokenId Identifier number of a token. */ error ERC1155InsufficientBalance(address sender, uint256 balance, uint256 needed, uint256 tokenId); /** * @dev Indicates a failure with the token `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. */ error ERC1155InvalidSender(address sender); /** * @dev Indicates a failure with the token `receiver`. Used in transfers. * @param receiver Address to which tokens are being transferred. */ error ERC1155InvalidReceiver(address receiver); /** * @dev Indicates a failure with the `operator`’s approval. Used in transfers. * @param operator Address that may be allowed to operate on tokens without being their owner. * @param owner Address of the current owner of a token. */ error ERC1155MissingApprovalForAll(address operator, address owner); /** * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals. * @param approver Address initiating an approval operation. */ error ERC1155InvalidApprover(address approver); /** * @dev Indicates a failure with the `operator` to be approved. Used in approvals. * @param operator Address that may be allowed to operate on tokens without being their owner. */ error ERC1155InvalidOperator(address operator); /** * @dev Indicates an array length mismatch between ids and values in a safeBatchTransferFrom operation. * Used in batch transfers. * @param idsLength Length of the array of token identifiers * @param valuesLength Length of the array of token amounts */ error ERC1155InvalidArrayLength(uint256 idsLength, uint256 valuesLength); } // lib/openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Metadata.sol // OpenZeppelin Contracts (last updated v5.1.0) (token/ERC20/extensions/IERC20Metadata.sol) /** * @dev Interface for the optional metadata functions from the ERC-20 standard. */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); } // lib/openzeppelin-contracts/contracts/access/Ownable.sol // OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol) /** * @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. * * The initial owner is set to the address provided by the deployer. This can * later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; /** * @dev The caller account is not authorized to perform an operation. */ error OwnableUnauthorizedAccount(address account); /** * @dev The owner is not a valid owner account. (eg. `address(0)`) */ error OwnableInvalidOwner(address owner); event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the address provided by the deployer as the initial owner. */ constructor(address initialOwner) { if (initialOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _transferOwnership(initialOwner); } /** * @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 { if (owner() != _msgSender()) { revert OwnableUnauthorizedAccount(_msgSender()); } } /** * @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 { if (newOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _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); } } // lib/openzeppelin-contracts/contracts/utils/math/Math.sol // OpenZeppelin Contracts (last updated v5.1.0) (utils/math/Math.sol) /** * @dev Standard math utilities missing in the Solidity language. */ library Math { enum Rounding { Floor, // Toward negative infinity Ceil, // Toward positive infinity Trunc, // Toward zero Expand // Away from zero } /** * @dev Returns the addition of two unsigned integers, with an success flag (no overflow). */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool success, uint256 result) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the subtraction of two unsigned integers, with an success flag (no overflow). */ function trySub(uint256 a, uint256 b) internal pure returns (bool success, uint256 result) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an success flag (no overflow). */ function tryMul(uint256 a, uint256 b) internal pure returns (bool success, uint256 result) { 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 success flag (no division by zero). */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool success, uint256 result) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a success flag (no division by zero). */ function tryMod(uint256 a, uint256 b) internal pure returns (bool success, uint256 result) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Branchless ternary evaluation for `a ? b : c`. Gas costs are constant. * * IMPORTANT: This function may reduce bytecode size and consume less gas when used standalone. * However, the compiler may optimize Solidity ternary operations (i.e. `a ? b : c`) to only compute * one branch when needed, making this function more expensive. */ function ternary(bool condition, uint256 a, uint256 b) internal pure returns (uint256) { unchecked { // branchless ternary works because: // b ^ (a ^ b) == a // b ^ 0 == b return b ^ ((a ^ b) * SafeCast.toUint(condition)); } } /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return ternary(a > b, a, b); } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return ternary(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 towards infinity instead * of rounding towards zero. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { if (b == 0) { // Guarantee the same behavior as in a regular Solidity division. Panic.panic(Panic.DIVISION_BY_ZERO); } // The following calculation ensures accurate ceiling division without overflow. // Since a is non-zero, (a - 1) / b will not overflow. // The largest possible result occurs when (a - 1) / b is type(uint256).max, // but the largest value we can obtain is type(uint256).max - 1, which happens // when a = type(uint256).max and b = 1. unchecked { return SafeCast.toUint(a > 0) * ((a - 1) / b + 1); } } /** * @dev Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or * denominator == 0. * * 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²⁵⁶ and mod 2²⁵⁶ - 1, then use // the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256 // variables such that product = prod1 * 2²⁵⁶ + prod0. uint256 prod0 = x * y; // Least significant 256 bits of the product uint256 prod1; // Most significant 256 bits of the product assembly { let mm := mulmod(x, y, not(0)) 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²⁵⁶. Also prevents denominator == 0. if (denominator <= prod1) { Panic.panic(ternary(denominator == 0, Panic.DIVISION_BY_ZERO, Panic.UNDER_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. uint256 twos = denominator & (0 - denominator); 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²⁵⁶ / 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²⁵⁶. Now that denominator is an odd number, it has an inverse modulo 2²⁵⁶ such // that denominator * inv ≡ 1 mod 2²⁵⁶. Compute the inverse by starting with a seed that is correct for // four bits. That is, denominator * inv ≡ 1 mod 2⁴. 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⁸ inverse *= 2 - denominator * inverse; // inverse mod 2¹⁶ inverse *= 2 - denominator * inverse; // inverse mod 2³² inverse *= 2 - denominator * inverse; // inverse mod 2⁶⁴ inverse *= 2 - denominator * inverse; // inverse mod 2¹²⁸ inverse *= 2 - denominator * inverse; // inverse mod 2²⁵⁶ // 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²⁵⁶. Since the preconditions guarantee that the outcome is // less than 2²⁵⁶, 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; } } /** * @dev 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) { return mulDiv(x, y, denominator) + SafeCast.toUint(unsignedRoundsUp(rounding) && mulmod(x, y, denominator) > 0); } /** * @dev Calculate the modular multiplicative inverse of a number in Z/nZ. * * If n is a prime, then Z/nZ is a field. In that case all elements are inversible, except 0. * If n is not a prime, then Z/nZ is not a field, and some elements might not be inversible. * * If the input value is not inversible, 0 is returned. * * NOTE: If you know for sure that n is (big) a prime, it may be cheaper to use Fermat's little theorem and get the * inverse using `Math.modExp(a, n - 2, n)`. See {invModPrime}. */ function invMod(uint256 a, uint256 n) internal pure returns (uint256) { unchecked { if (n == 0) return 0; // The inverse modulo is calculated using the Extended Euclidean Algorithm (iterative version) // Used to compute integers x and y such that: ax + ny = gcd(a, n). // When the gcd is 1, then the inverse of a modulo n exists and it's x. // ax + ny = 1 // ax = 1 + (-y)n // ax ≡ 1 (mod n) # x is the inverse of a modulo n // If the remainder is 0 the gcd is n right away. uint256 remainder = a % n; uint256 gcd = n; // Therefore the initial coefficients are: // ax + ny = gcd(a, n) = n // 0a + 1n = n int256 x = 0; int256 y = 1; while (remainder != 0) { uint256 quotient = gcd / remainder; (gcd, remainder) = ( // The old remainder is the next gcd to try. remainder, // Compute the next remainder. // Can't overflow given that (a % gcd) * (gcd // (a % gcd)) <= gcd // where gcd is at most n (capped to type(uint256).max) gcd - remainder * quotient ); (x, y) = ( // Increment the coefficient of a. y, // Decrement the coefficient of n. // Can overflow, but the result is casted to uint256 so that the // next value of y is "wrapped around" to a value between 0 and n - 1. x - y * int256(quotient) ); } if (gcd != 1) return 0; // No inverse exists. return ternary(x < 0, n - uint256(-x), uint256(x)); // Wrap the result if it's negative. } } /** * @dev Variant of {invMod}. More efficient, but only works if `p` is known to be a prime greater than `2`. * * From https://en.wikipedia.org/wiki/Fermat%27s_little_theorem[Fermat's little theorem], we know that if p is * prime, then `a**(p-1) ≡ 1 mod p`. As a consequence, we have `a * a**(p-2) ≡ 1 mod p`, which means that * `a**(p-2)` is the modular multiplicative inverse of a in Fp. * * NOTE: this function does NOT check that `p` is a prime greater than `2`. */ function invModPrime(uint256 a, uint256 p) internal view returns (uint256) { unchecked { return Math.modExp(a, p - 2, p); } } /** * @dev Returns the modular exponentiation of the specified base, exponent and modulus (b ** e % m) * * Requirements: * - modulus can't be zero * - underlying staticcall to precompile must succeed * * IMPORTANT: The result is only valid if the underlying call succeeds. When using this function, make * sure the chain you're using it on supports the precompiled contract for modular exponentiation * at address 0x05 as specified in https://eips.ethereum.org/EIPS/eip-198[EIP-198]. Otherwise, * the underlying function will succeed given the lack of a revert, but the result may be incorrectly * interpreted as 0. */ function modExp(uint256 b, uint256 e, uint256 m) internal view returns (uint256) { (bool success, uint256 result) = tryModExp(b, e, m); if (!success) { Panic.panic(Panic.DIVISION_BY_ZERO); } return result; } /** * @dev Returns the modular exponentiation of the specified base, exponent and modulus (b ** e % m). * It includes a success flag indicating if the operation succeeded. Operation will be marked as failed if trying * to operate modulo 0 or if the underlying precompile reverted. * * IMPORTANT: The result is only valid if the success flag is true. When using this function, make sure the chain * you're using it on supports the precompiled contract for modular exponentiation at address 0x05 as specified in * https://eips.ethereum.org/EIPS/eip-198[EIP-198]. Otherwise, the underlying function will succeed given the lack * of a revert, but the result may be incorrectly interpreted as 0. */ function tryModExp(uint256 b, uint256 e, uint256 m) internal view returns (bool success, uint256 result) { if (m == 0) return (false, 0); assembly ("memory-safe") { let ptr := mload(0x40) // | Offset | Content | Content (Hex) | // |-----------|------------|--------------------------------------------------------------------| // | 0x00:0x1f | size of b | 0x0000000000000000000000000000000000000000000000000000000000000020 | // | 0x20:0x3f | size of e | 0x0000000000000000000000000000000000000000000000000000000000000020 | // | 0x40:0x5f | size of m | 0x0000000000000000000000000000000000000000000000000000000000000020 | // | 0x60:0x7f | value of b | 0x<.............................................................b> | // | 0x80:0x9f | value of e | 0x<.............................................................e> | // | 0xa0:0xbf | value of m | 0x<.............................................................m> | mstore(ptr, 0x20) mstore(add(ptr, 0x20), 0x20) mstore(add(ptr, 0x40), 0x20) mstore(add(ptr, 0x60), b) mstore(add(ptr, 0x80), e) mstore(add(ptr, 0xa0), m) // Given the result < m, it's guaranteed to fit in 32 bytes, // so we can use the memory scratch space located at offset 0. success := staticcall(gas(), 0x05, ptr, 0xc0, 0x00, 0x20) result := mload(0x00) } } /** * @dev Variant of {modExp} that supports inputs of arbitrary length. */ function modExp(bytes memory b, bytes memory e, bytes memory m) internal view returns (bytes memory) { (bool success, bytes memory result) = tryModExp(b, e, m); if (!success) { Panic.panic(Panic.DIVISION_BY_ZERO); } return result; } /** * @dev Variant of {tryModExp} that supports inputs of arbitrary length. */ function tryModExp( bytes memory b, bytes memory e, bytes memory m ) internal view returns (bool success, bytes memory result) { if (_zeroBytes(m)) return (false, new bytes(0)); uint256 mLen = m.length; // Encode call args in result and move the free memory pointer result = abi.encodePacked(b.length, e.length, mLen, b, e, m); assembly ("memory-safe") { let dataPtr := add(result, 0x20) // Write result on top of args to avoid allocating extra memory. success := staticcall(gas(), 0x05, dataPtr, mload(result), dataPtr, mLen) // Overwrite the length. // result.length > returndatasize() is guaranteed because returndatasize() == m.length mstore(result, mLen) // Set the memory pointer after the returned data. mstore(0x40, add(dataPtr, mLen)) } } /** * @dev Returns whether the provided byte array is zero. */ function _zeroBytes(bytes memory byteArray) private pure returns (bool) { for (uint256 i = 0; i < byteArray.length; ++i) { if (byteArray[i] != 0) { return false; } } return true; } /** * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded * towards zero. * * This method is based on Newton's method for computing square roots; the algorithm is restricted to only * using integer operations. */ function sqrt(uint256 a) internal pure returns (uint256) { unchecked { // Take care of easy edge cases when a == 0 or a == 1 if (a <= 1) { return a; } // In this function, we use Newton's method to get a root of `f(x) := x² - a`. It involves building a // sequence x_n that converges toward sqrt(a). For each iteration x_n, we also define the error between // the current value as `ε_n = | x_n - sqrt(a) |`. // // For our first estimation, we consider `e` the smallest power of 2 which is bigger than the square root // of the target. (i.e. `2**(e-1) ≤ sqrt(a) < 2**e`). We know that `e ≤ 128` because `(2¹²⁸)² = 2²⁵⁶` is // bigger than any uint256. // // By noticing that // `2**(e-1) ≤ sqrt(a) < 2**e → (2**(e-1))² ≤ a < (2**e)² → 2**(2*e-2) ≤ a < 2**(2*e)` // we can deduce that `e - 1` is `log2(a) / 2`. We can thus compute `x_n = 2**(e-1)` using a method similar // to the msb function. uint256 aa = a; uint256 xn = 1; if (aa >= (1 << 128)) { aa >>= 128; xn <<= 64; } if (aa >= (1 << 64)) { aa >>= 64; xn <<= 32; } if (aa >= (1 << 32)) { aa >>= 32; xn <<= 16; } if (aa >= (1 << 16)) { aa >>= 16; xn <<= 8; } if (aa >= (1 << 8)) { aa >>= 8; xn <<= 4; } if (aa >= (1 << 4)) { aa >>= 4; xn <<= 2; } if (aa >= (1 << 2)) { xn <<= 1; } // We now have x_n such that `x_n = 2**(e-1) ≤ sqrt(a) < 2**e = 2 * x_n`. This implies ε_n ≤ 2**(e-1). // // We can refine our estimation by noticing that the middle of that interval minimizes the error. // If we move x_n to equal 2**(e-1) + 2**(e-2), then we reduce the error to ε_n ≤ 2**(e-2). // This is going to be our x_0 (and ε_0) xn = (3 * xn) >> 1; // ε_0 := | x_0 - sqrt(a) | ≤ 2**(e-2) // From here, Newton's method give us: // x_{n+1} = (x_n + a / x_n) / 2 // // One should note that: // x_{n+1}² - a = ((x_n + a / x_n) / 2)² - a // = ((x_n² + a) / (2 * x_n))² - a // = (x_n⁴ + 2 * a * x_n² + a²) / (4 * x_n²) - a // = (x_n⁴ + 2 * a * x_n² + a² - 4 * a * x_n²) / (4 * x_n²) // = (x_n⁴ - 2 * a * x_n² + a²) / (4 * x_n²) // = (x_n² - a)² / (2 * x_n)² // = ((x_n² - a) / (2 * x_n))² // ≥ 0 // Which proves that for all n ≥ 1, sqrt(a) ≤ x_n // // This gives us the proof of quadratic convergence of the sequence: // ε_{n+1} = | x_{n+1} - sqrt(a) | // = | (x_n + a / x_n) / 2 - sqrt(a) | // = | (x_n² + a - 2*x_n*sqrt(a)) / (2 * x_n) | // = | (x_n - sqrt(a))² / (2 * x_n) | // = | ε_n² / (2 * x_n) | // = ε_n² / | (2 * x_n) | // // For the first iteration, we have a special case where x_0 is known: // ε_1 = ε_0² / | (2 * x_0) | // ≤ (2**(e-2))² / (2 * (2**(e-1) + 2**(e-2))) // ≤ 2**(2*e-4) / (3 * 2**(e-1)) // ≤ 2**(e-3) / 3 // ≤ 2**(e-3-log2(3)) // ≤ 2**(e-4.5) // // For the following iterations, we use the fact that, 2**(e-1) ≤ sqrt(a) ≤ x_n: // ε_{n+1} = ε_n² / | (2 * x_n) | // ≤ (2**(e-k))² / (2 * 2**(e-1)) // ≤ 2**(2*e-2*k) / 2**e // ≤ 2**(e-2*k) xn = (xn + a / xn) >> 1; // ε_1 := | x_1 - sqrt(a) | ≤ 2**(e-4.5) -- special case, see above xn = (xn + a / xn) >> 1; // ε_2 := | x_2 - sqrt(a) | ≤ 2**(e-9) -- general case with k = 4.5 xn = (xn + a / xn) >> 1; // ε_3 := | x_3 - sqrt(a) | ≤ 2**(e-18) -- general case with k = 9 xn = (xn + a / xn) >> 1; // ε_4 := | x_4 - sqrt(a) | ≤ 2**(e-36) -- general case with k = 18 xn = (xn + a / xn) >> 1; // ε_5 := | x_5 - sqrt(a) | ≤ 2**(e-72) -- general case with k = 36 xn = (xn + a / xn) >> 1; // ε_6 := | x_6 - sqrt(a) | ≤ 2**(e-144) -- general case with k = 72 // Because e ≤ 128 (as discussed during the first estimation phase), we know have reached a precision // ε_6 ≤ 2**(e-144) < 1. Given we're operating on integers, then we can ensure that xn is now either // sqrt(a) or sqrt(a) + 1. return xn - SafeCast.toUint(xn > a / xn); } } /** * @dev 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 + SafeCast.toUint(unsignedRoundsUp(rounding) && result * result < a); } } /** * @dev Return the log in base 2 of a positive value rounded towards zero. * Returns 0 if given 0. */ function log2(uint256 x) internal pure returns (uint256 r) { // If value has upper 128 bits set, log2 result is at least 128 r = SafeCast.toUint(x > 0xffffffffffffffffffffffffffffffff) << 7; // If upper 64 bits of 128-bit half set, add 64 to result r |= SafeCast.toUint((x >> r) > 0xffffffffffffffff) << 6; // If upper 32 bits of 64-bit half set, add 32 to result r |= SafeCast.toUint((x >> r) > 0xffffffff) << 5; // If upper 16 bits of 32-bit half set, add 16 to result r |= SafeCast.toUint((x >> r) > 0xffff) << 4; // If upper 8 bits of 16-bit half set, add 8 to result r |= SafeCast.toUint((x >> r) > 0xff) << 3; // If upper 4 bits of 8-bit half set, add 4 to result r |= SafeCast.toUint((x >> r) > 0xf) << 2; // Shifts value right by the current result and use it as an index into this lookup table: // // | x (4 bits) | index | table[index] = MSB position | // |------------|---------|-----------------------------| // | 0000 | 0 | table[0] = 0 | // | 0001 | 1 | table[1] = 0 | // | 0010 | 2 | table[2] = 1 | // | 0011 | 3 | table[3] = 1 | // | 0100 | 4 | table[4] = 2 | // | 0101 | 5 | table[5] = 2 | // | 0110 | 6 | table[6] = 2 | // | 0111 | 7 | table[7] = 2 | // | 1000 | 8 | table[8] = 3 | // | 1001 | 9 | table[9] = 3 | // | 1010 | 10 | table[10] = 3 | // | 1011 | 11 | table[11] = 3 | // | 1100 | 12 | table[12] = 3 | // | 1101 | 13 | table[13] = 3 | // | 1110 | 14 | table[14] = 3 | // | 1111 | 15 | table[15] = 3 | // // The lookup table is represented as a 32-byte value with the MSB positions for 0-15 in the last 16 bytes. assembly ("memory-safe") { r := or(r, byte(shr(r, x), 0x0000010102020202030303030303030300000000000000000000000000000000)) } } /** * @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 + SafeCast.toUint(unsignedRoundsUp(rounding) && 1 << result < value); } } /** * @dev Return the log in base 10 of a positive value rounded towards zero. * 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 + SafeCast.toUint(unsignedRoundsUp(rounding) && 10 ** result < value); } } /** * @dev Return the log in base 256 of a positive value rounded towards zero. * 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 x) internal pure returns (uint256 r) { // If value has upper 128 bits set, log2 result is at least 128 r = SafeCast.toUint(x > 0xffffffffffffffffffffffffffffffff) << 7; // If upper 64 bits of 128-bit half set, add 64 to result r |= SafeCast.toUint((x >> r) > 0xffffffffffffffff) << 6; // If upper 32 bits of 64-bit half set, add 32 to result r |= SafeCast.toUint((x >> r) > 0xffffffff) << 5; // If upper 16 bits of 32-bit half set, add 16 to result r |= SafeCast.toUint((x >> r) > 0xffff) << 4; // Add 1 if upper 8 bits of 16-bit half set, and divide accumulated result by 8 return (r >> 3) | SafeCast.toUint((x >> r) > 0xff); } /** * @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 + SafeCast.toUint(unsignedRoundsUp(rounding) && 1 << (result << 3) < value); } } /** * @dev Returns whether a provided rounding mode is considered rounding up for unsigned integers. */ function unsignedRoundsUp(Rounding rounding) internal pure returns (bool) { return uint8(rounding) % 2 == 1; } } // lib/openzeppelin-contracts/contracts/access/Ownable2Step.sol // OpenZeppelin Contracts (last updated v5.1.0) (access/Ownable2Step.sol) /** * @dev Contract module which provides access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * This extension of the {Ownable} contract includes a two-step mechanism to transfer * ownership, where the new owner must call {acceptOwnership} in order to replace the * old one. This can help prevent common mistakes, such as transfers of ownership to * incorrect accounts, or to contracts that are unable to interact with the * permission system. * * The initial owner is specified at deployment time in the constructor for `Ownable`. This * can later be changed with {transferOwnership} and {acceptOwnership}. * * This module is used through inheritance. It will make available all functions * from parent (Ownable). */ abstract contract Ownable2Step is Ownable { address private _pendingOwner; event OwnershipTransferStarted(address indexed previousOwner, address indexed newOwner); /** * @dev Returns the address of the pending owner. */ function pendingOwner() public view virtual returns (address) { return _pendingOwner; } /** * @dev Starts the ownership transfer of the contract to a new account. Replaces the pending transfer if there is one. * Can only be called by the current owner. * * Setting `newOwner` to the zero address is allowed; this can be used to cancel an initiated ownership transfer. */ function transferOwnership(address newOwner) public virtual override onlyOwner { _pendingOwner = newOwner; emit OwnershipTransferStarted(owner(), newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`) and deletes any pending owner. * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual override { delete _pendingOwner; super._transferOwnership(newOwner); } /** * @dev The new owner accepts the ownership transfer. */ function acceptOwnership() public virtual { address sender = _msgSender(); if (pendingOwner() != sender) { revert OwnableUnauthorizedAccount(sender); } _transferOwnership(sender); } } // lib/openzeppelin-contracts/contracts/token/ERC20/ERC20.sol // OpenZeppelin Contracts (last updated v5.2.0) (token/ERC20/ERC20.sol) /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * * TIP: For a detailed writeup see our guide * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * The default value of {decimals} is 18. To change this, you should override * this function so it returns a different value. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC-20 * applications. */ abstract contract ERC20 is Context, IERC20, IERC20Metadata, IERC20Errors { mapping(address account => uint256) private _balances; mapping(address account => mapping(address spender => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the default value returned by this function, unless * it's overridden. * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `to` cannot be the zero address. * - the caller must have a balance of at least `value`. */ function transfer(address to, uint256 value) public virtual returns (bool) { address owner = _msgSender(); _transfer(owner, to, value); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * NOTE: If `value` is the maximum `uint256`, the allowance is not updated on * `transferFrom`. This is semantically equivalent to an infinite approval. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 value) public virtual returns (bool) { address owner = _msgSender(); _approve(owner, spender, value); return true; } /** * @dev See {IERC20-transferFrom}. * * Skips emitting an {Approval} event indicating an allowance update. This is not * required by the ERC. See {xref-ERC20-_approve-address-address-uint256-bool-}[_approve]. * * NOTE: Does not update the allowance if the current allowance * is the maximum `uint256`. * * Requirements: * * - `from` and `to` cannot be the zero address. * - `from` must have a balance of at least `value`. * - the caller must have allowance for ``from``'s tokens of at least * `value`. */ function transferFrom(address from, address to, uint256 value) public virtual returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, value); _transfer(from, to, value); return true; } /** * @dev Moves a `value` amount of tokens from `from` to `to`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * NOTE: This function is not virtual, {_update} should be overridden instead. */ function _transfer(address from, address to, uint256 value) internal { if (from == address(0)) { revert ERC20InvalidSender(address(0)); } if (to == address(0)) { revert ERC20InvalidReceiver(address(0)); } _update(from, to, value); } /** * @dev Transfers a `value` amount of tokens from `from` to `to`, or alternatively mints (or burns) if `from` * (or `to`) is the zero address. All customizations to transfers, mints, and burns should be done by overriding * this function. * * Emits a {Transfer} event. */ function _update(address from, address to, uint256 value) internal virtual { if (from == address(0)) { // Overflow check required: The rest of the code assumes that totalSupply never overflows _totalSupply += value; } else { uint256 fromBalance = _balances[from]; if (fromBalance < value) { revert ERC20InsufficientBalance(from, fromBalance, value); } unchecked { // Overflow not possible: value <= fromBalance <= totalSupply. _balances[from] = fromBalance - value; } } if (to == address(0)) { unchecked { // Overflow not possible: value <= totalSupply or value <= fromBalance <= totalSupply. _totalSupply -= value; } } else { unchecked { // Overflow not possible: balance + value is at most totalSupply, which we know fits into a uint256. _balances[to] += value; } } emit Transfer(from, to, value); } /** * @dev Creates a `value` amount of tokens and assigns them to `account`, by transferring it from address(0). * Relies on the `_update` mechanism * * Emits a {Transfer} event with `from` set to the zero address. * * NOTE: This function is not virtual, {_update} should be overridden instead. */ function _mint(address account, uint256 value) internal { if (account == address(0)) { revert ERC20InvalidReceiver(address(0)); } _update(address(0), account, value); } /** * @dev Destroys a `value` amount of tokens from `account`, lowering the total supply. * Relies on the `_update` mechanism. * * Emits a {Transfer} event with `to` set to the zero address. * * NOTE: This function is not virtual, {_update} should be overridden instead */ function _burn(address account, uint256 value) internal { if (account == address(0)) { revert ERC20InvalidSender(address(0)); } _update(account, address(0), value); } /** * @dev Sets `value` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. * * Overrides to this logic should be done to the variant with an additional `bool emitEvent` argument. */ function _approve(address owner, address spender, uint256 value) internal { _approve(owner, spender, value, true); } /** * @dev Variant of {_approve} with an optional flag to enable or disable the {Approval} event. * * By default (when calling {_approve}) the flag is set to true. On the other hand, approval changes made by * `_spendAllowance` during the `transferFrom` operation set the flag to false. This saves gas by not emitting any * `Approval` event during `transferFrom` operations. * * Anyone who wishes to continue emitting `Approval` events on the`transferFrom` operation can force the flag to * true using the following override: * * ```solidity * function _approve(address owner, address spender, uint256 value, bool) internal virtual override { * super._approve(owner, spender, value, true); * } * ``` * * Requirements are the same as {_approve}. */ function _approve(address owner, address spender, uint256 value, bool emitEvent) internal virtual { if (owner == address(0)) { revert ERC20InvalidApprover(address(0)); } if (spender == address(0)) { revert ERC20InvalidSpender(address(0)); } _allowances[owner][spender] = value; if (emitEvent) { emit Approval(owner, spender, value); } } /** * @dev Updates `owner` s allowance for `spender` based on spent `value`. * * Does not update the allowance value in case of infinite allowance. * Revert if not enough allowance is available. * * Does not emit an {Approval} event. */ function _spendAllowance(address owner, address spender, uint256 value) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance < type(uint256).max) { if (currentAllowance < value) { revert ERC20InsufficientAllowance(spender, currentAllowance, value); } unchecked { _approve(owner, spender, currentAllowance - value, false); } } } } // lib/openzeppelin-contracts/contracts/token/ERC20/extensions/ERC20Burnable.sol // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/ERC20Burnable.sol) /** * @dev Extension of {ERC20} that allows token holders to destroy both their own * tokens and those that they have an allowance for, in a way that can be * recognized off-chain (via event analysis). */ abstract contract ERC20Burnable is Context, ERC20 { /** * @dev Destroys a `value` amount of tokens from the caller. * * See {ERC20-_burn}. */ function burn(uint256 value) public virtual { _burn(_msgSender(), value); } /** * @dev Destroys a `value` amount of tokens from `account`, deducting from * the caller's allowance. * * See {ERC20-_burn} and {ERC20-allowance}. * * Requirements: * * - the caller must have allowance for ``accounts``'s tokens of at least * `value`. */ function burnFrom(address account, uint256 value) public virtual { _spendAllowance(account, _msgSender(), value); _burn(account, value); } } // src/Eggs.sol contract EGGS is ERC20Burnable, Ownable2Step, ReentrancyGuard { address payable private FEE_ADDRESS; uint256 private constant MIN = 1000; uint16 public sell_fee = 975; uint16 public buy_fee = 975; uint16 public buy_fee_leverage = 10; uint16 private constant FEE_BASE_1000 = 1000; uint16 private constant FEES_BUY = 125; uint16 private constant FEES_SELL = 125; bool public start = false; uint128 private constant SONICinWEI = 1 * 10 ** 18; uint256 private totalBorrowed = 0; uint256 private totalCollateral = 0; uint128 public constant maxSupply = 10 ** 11 * SONICinWEI; uint256 public totalMinted; uint256 public lastPrice = 0; struct Loan { uint256 collateral; // shares of token staked uint256 borrowed; // user reward per token paid uint256 endDate; uint256 numberOfDays; } mapping(address => Loan) public Loans; mapping(uint256 => uint256) public BorrowedByDate; mapping(uint256 => uint256) public CollateralByDate; uint256 public lastLiquidationDate; event Price(uint256 time, uint256 price, uint256 volumeInSonic); event MaxUpdated(uint256 max); event SellFeeUpdated(uint256 sellFee); event FeeAddressUpdated(address _address); event buyFeeUpdated(uint256 buyFee); event Started(bool started); event Liquidate(uint256 time, uint256 amount); event LoanDataUpdate( uint256 collateralByDate, uint256 borrowedByDate, uint256 totalBorrowed, uint256 totalCollateral ); event SendSonic(address to, uint256 amount); constructor() payable ERC20("Eggs", "EGGS") Ownable(msg.sender) { lastLiquidationDate = getMidnightTimestamp(block.timestamp); FEE_ADDRESS = payable(msg.sender); uint256 teamMint = msg.value * MIN; require(teamMint >= 1 ether); mint(msg.sender, teamMint); } function setStart() public onlyOwner { require(FEE_ADDRESS != address(0x0), "Must set fee address"); start = true; emit Started(true); } function mint(address to, uint256 value) private { require(to != address(0x0), "Can't mint to to 0x0 address"); totalMinted = totalMinted + value; require(totalMinted <= maxSupply, "NO MORE EGGS"); _mint(to, value); } function setBuyFee(uint16 amount) external onlyOwner { require( amount <= 992 - FEES_BUY, "buy fee must be greater than FEES_BUY" ); require(amount >= 975, "buy fee must be less than 2.5%"); buy_fee = amount; emit buyFeeUpdated(amount); } function setBuyFeeLeverage(uint16 amount) external onlyOwner { require(amount <= 25, "leverage buy fee must be less 2.5%"); require(amount >= 0, "leverage buy fee must be greater than 0%"); buy_fee_leverage = amount; emit buyFeeUpdated(amount); } function setSellFee(uint16 amount) external onlyOwner { require(amount <= 992, "sell fee must be greater than FEES_SELL"); require(amount >= 975, "sell fee must be less than 2.5%"); sell_fee = amount; emit buyFeeUpdated(amount); } function buy(address receiver) external payable nonReentrant { liquidate(); require(start, "Trading must be initialized"); require(receiver != address(0x0), "Reciever cannot be 0x0 address"); // Mint Eggs to sender // AUDIT: to user round down uint256 eggs = SONICtoEGGS(msg.value); mint(receiver, (eggs * getBuyFee()) / FEE_BASE_1000); // Team fee uint256 feeAddressAmount = msg.value / FEES_BUY; require(feeAddressAmount > MIN, "must trade over min"); sendSonic(FEE_ADDRESS, feeAddressAmount); safetyCheck(msg.value); } function sell(uint256 eggs) external nonReentrant { liquidate(); // Total Eth to be sent // AUDIT: to user round down uint256 sonic = EGGStoSONIC(eggs); // Burn of JAY uint256 feeAddressAmount = sonic / FEES_SELL; _burn(msg.sender, eggs); // Payment to sender sendSonic(msg.sender, (sonic * sell_fee) / FEE_BASE_1000); // Team fee require(feeAddressAmount > MIN, "must trade over min"); sendSonic(FEE_ADDRESS, feeAddressAmount); safetyCheck(sonic); } function getBuyAmount(uint256 amount) public view returns (uint256) { uint256 eggs = SONICtoEGGSNoTrade(amount); return ((eggs * getBuyFee()) / FEE_BASE_1000); } function leverageFee( uint256 sonic, uint256 numberOfDays ) public view returns (uint256) { uint256 mintFee = (sonic * buy_fee_leverage) / FEE_BASE_1000; uint256 interest = getInterestFee(sonic, numberOfDays); return (mintFee + interest); } function leverage( uint256 sonic, uint256 numberOfDays ) public payable nonReentrant { require(start, "Trading must be initialized"); require( numberOfDays < 366, "Max borrow/extension must be 365 days or less" ); Loan memory userLoan = Loans[msg.sender]; if (userLoan.borrowed != 0) { if (isLoanExpired(msg.sender)) { delete Loans[msg.sender]; } require( Loans[msg.sender].borrowed == 0, "Use account with no loans" ); } liquidate(); uint256 endDate = getMidnightTimestamp( (numberOfDays * 1 days) + block.timestamp ); uint256 sonicFee = leverageFee(sonic, numberOfDays); uint256 userSonic = sonic - sonicFee; uint256 feeAddressAmount = (sonicFee * 3) / 10; uint256 userBorrow = (userSonic * 99) / 100; uint256 overCollateralizationAmount = userSonic - userBorrow; uint256 subValue = feeAddressAmount + overCollateralizationAmount; uint256 totalFee = (sonicFee + overCollateralizationAmount); uint256 feeOverage; if (msg.value > totalFee) { feeOverage = msg.value - totalFee; sendSonic(msg.sender, feeOverage); } require( msg.value - feeOverage == totalFee, "Insufficient sonic fee sent" ); // AUDIT: to user round down uint256 userEggs = SONICtoEGGSLev(userSonic, subValue); mint(address(this), userEggs); require(feeAddressAmount > MIN, "Fees must be higher than min."); sendSonic(FEE_ADDRESS, feeAddressAmount); addLoansByDate(userBorrow, userEggs, endDate); Loans[msg.sender] = Loan({ collateral: userEggs, borrowed: userBorrow, endDate: endDate, numberOfDays: numberOfDays }); safetyCheck(sonic); } function getInterestFee( uint256 amount, uint256 numberOfDays ) public pure returns (uint256) { uint256 interest = Math.mulDiv(0.039e18, numberOfDays, 365) + 0.001e18; return Math.mulDiv(amount, interest, 1e18); } function borrow(uint256 sonic, uint256 numberOfDays) public nonReentrant { require( numberOfDays < 366, "Max borrow/extension must be 365 days or less" ); require(sonic != 0, "Must borrow more than 0"); if (isLoanExpired(msg.sender)) { delete Loans[msg.sender]; } require( Loans[msg.sender].borrowed == 0, "Use borrowMore to borrow more" ); liquidate(); uint256 endDate = getMidnightTimestamp( (numberOfDays * 1 days) + block.timestamp ); uint256 sonicFee = getInterestFee(sonic, numberOfDays); uint256 feeAddressFee = (sonicFee * 3) / 10; //AUDIT: eggs required from user round up? uint256 userEggs = SONICtoEGGSNoTrade(sonic); uint256 newUserBorrow = (sonic * 99) / 100; Loans[msg.sender] = Loan({ collateral: userEggs, borrowed: newUserBorrow, endDate: endDate, numberOfDays: numberOfDays }); _transfer(msg.sender, address(this), userEggs); require(feeAddressFee > MIN, "Fees must be higher than min."); sendSonic(msg.sender, newUserBorrow - sonicFee); sendSonic(FEE_ADDRESS, feeAddressFee); addLoansByDate(newUserBorrow, userEggs, endDate); safetyCheck(sonicFee); } function borrowMore(uint256 sonic) public nonReentrant { require(!isLoanExpired(msg.sender), "Loan expired use borrow"); require(sonic != 0, "Must borrow more than 0"); liquidate(); uint256 userBorrowed = Loans[msg.sender].borrowed; uint256 userCollateral = Loans[msg.sender].collateral; uint256 userEndDate = Loans[msg.sender].endDate; uint256 todayMidnight = getMidnightTimestamp(block.timestamp); uint256 newBorrowLength = (userEndDate - todayMidnight) / 1 days; uint256 sonicFee = getInterestFee(sonic, newBorrowLength); //AUDIT: eggs required from user round up? uint256 userEggs = SONICtoEGGSNoTrade(sonic); uint256 userBorrowedInEggs = SONICtoEGGSNoTrade(userBorrowed); uint256 userExcessInEggs = ((userCollateral) * 99) / 100 - userBorrowedInEggs; uint256 requireCollateralFromUser = userEggs; if (userExcessInEggs >= userEggs) { requireCollateralFromUser = 0; } else { requireCollateralFromUser = requireCollateralFromUser - userExcessInEggs; } uint256 feeAddressFee = (sonicFee * 3) / 10; uint256 newUserBorrow = (sonic * 99) / 100; uint256 newUserBorrowTotal = userBorrowed + newUserBorrow; uint256 newUserCollateralTotal = userCollateral + requireCollateralFromUser; Loans[msg.sender] = Loan({ collateral: newUserCollateralTotal, borrowed: newUserBorrowTotal, endDate: userEndDate, numberOfDays: newBorrowLength }); if (requireCollateralFromUser != 0) { _transfer(msg.sender, address(this), requireCollateralFromUser); } require(feeAddressFee > MIN, "Fees must be higher than min."); sendSonic(FEE_ADDRESS, feeAddressFee); sendSonic(msg.sender, newUserBorrow - sonicFee); addLoansByDate(newUserBorrow, requireCollateralFromUser, userEndDate); safetyCheck(sonicFee); } function removeCollateral(uint256 amount) public nonReentrant { require( !isLoanExpired(msg.sender), "Your loan has been liquidated, no collateral to remove" ); liquidate(); uint256 collateral = Loans[msg.sender].collateral; // AUDIT: to user round down require( Loans[msg.sender].borrowed <= (EGGStoSONIC(collateral - amount) * 99) / 100, "Require 99% collateralization rate" ); Loans[msg.sender].collateral = Loans[msg.sender].collateral - amount; _transfer(address(this), msg.sender, amount); subLoansByDate(0, amount, Loans[msg.sender].endDate); safetyCheck(0); } function repay() public payable nonReentrant { uint256 borrowed = Loans[msg.sender].borrowed; require(borrowed > msg.value, "Must repay less than borrowed amount"); require(msg.value != 0, "Must repay something"); require( !isLoanExpired(msg.sender), "Your loan has been liquidated, cannot repay" ); uint256 newBorrow = borrowed - msg.value; Loans[msg.sender].borrowed = newBorrow; subLoansByDate(msg.value, 0, Loans[msg.sender].endDate); safetyCheck(0); } function closePosition() public payable nonReentrant { uint256 borrowed = Loans[msg.sender].borrowed; uint256 collateral = Loans[msg.sender].collateral; require( !isLoanExpired(msg.sender), "Your loan has been liquidated, no collateral to remove" ); require(borrowed == msg.value, "Must return entire borrowed amount"); _transfer(address(this), msg.sender, collateral); subLoansByDate(borrowed, collateral, Loans[msg.sender].endDate); delete Loans[msg.sender]; safetyCheck(0); } function flashClosePosition() public nonReentrant { require( !isLoanExpired(msg.sender), "Your loan has been liquidated, no collateral to remove" ); liquidate(); uint256 borrowed = Loans[msg.sender].borrowed; uint256 collateral = Loans[msg.sender].collateral; // AUDIT: from user round up uint256 collateralInSonic = EGGStoSONICceil(collateral); _burn(address(this), collateral); uint256 collateralInSonicAfterFee = (collateralInSonic * 99) / 100; uint256 fee = collateralInSonic / 100; require( collateralInSonicAfterFee >= borrowed, "You do not have enough collateral to close position" ); uint256 toUser = collateralInSonicAfterFee - borrowed; uint256 feeAddressFee = (fee * 3) / 10; sendSonic(msg.sender, toUser); require(feeAddressFee > MIN, "Fees must be higher than min."); sendSonic(FEE_ADDRESS, feeAddressFee); subLoansByDate(borrowed, collateral, Loans[msg.sender].endDate); delete Loans[msg.sender]; safetyCheck(borrowed); } function extendLoan( uint256 numberOfDays ) public payable nonReentrant returns (uint256) { uint256 oldEndDate = Loans[msg.sender].endDate; uint256 borrowed = Loans[msg.sender].borrowed; uint256 collateral = Loans[msg.sender].collateral; uint256 _numberOfDays = Loans[msg.sender].numberOfDays; uint256 newEndDate = oldEndDate + (numberOfDays * 1 days); uint256 loanFee = getInterestFee(borrowed, numberOfDays); require( !isLoanExpired(msg.sender), "Your loan has been liquidated, no collateral to remove" ); require(loanFee == msg.value, "Loan extension fee incorrect"); uint256 feeAddressFee = (loanFee * 3) / 10; require(feeAddressFee > MIN, "Fees must be higher than min."); sendSonic(FEE_ADDRESS, feeAddressFee); subLoansByDate(borrowed, collateral, oldEndDate); addLoansByDate(borrowed, collateral, newEndDate); Loans[msg.sender].endDate = newEndDate; Loans[msg.sender].numberOfDays = numberOfDays + _numberOfDays; require( (newEndDate - block.timestamp) / 1 days < 366, "Loan must be under 365 days" ); safetyCheck(msg.value); return loanFee; } function liquidate() public { uint256 borrowed; uint256 collateral; while (lastLiquidationDate < block.timestamp) { collateral = collateral + CollateralByDate[lastLiquidationDate]; borrowed = borrowed + BorrowedByDate[lastLiquidationDate]; lastLiquidationDate = lastLiquidationDate + 1 days; } if (collateral != 0) { totalCollateral = totalCollateral - collateral; _burn(address(this), collateral); } if (borrowed != 0) { totalBorrowed = totalBorrowed - borrowed; emit Liquidate(lastLiquidationDate - 1 days, borrowed); } } function addLoansByDate( uint256 borrowed, uint256 collateral, uint256 date ) private { CollateralByDate[date] = CollateralByDate[date] + collateral; BorrowedByDate[date] = BorrowedByDate[date] + borrowed; totalBorrowed = totalBorrowed + borrowed; totalCollateral = totalCollateral + collateral; emit LoanDataUpdate( CollateralByDate[date], BorrowedByDate[date], totalBorrowed, totalCollateral ); } function subLoansByDate( uint256 borrowed, uint256 collateral, uint256 date ) private { CollateralByDate[date] = CollateralByDate[date] - collateral; BorrowedByDate[date] = BorrowedByDate[date] - borrowed; totalBorrowed = totalBorrowed - borrowed; totalCollateral = totalCollateral - collateral; emit LoanDataUpdate( CollateralByDate[date], BorrowedByDate[date], totalBorrowed, totalCollateral ); } // utility fxns function getMidnightTimestamp(uint256 date) public pure returns (uint256) { uint256 midnightTimestamp = date - (date % 86400); // Subtracting the remainder when divided by the number of seconds in a day (86400) return midnightTimestamp + 1 days; } function getLoansExpiringByDate( uint256 date ) public view returns (uint256, uint256) { return ( BorrowedByDate[getMidnightTimestamp(date)], CollateralByDate[getMidnightTimestamp(date)] ); } function getLoanByAddress( address _address ) public view returns (uint256, uint256, uint256) { if (Loans[_address].endDate >= block.timestamp) { return ( Loans[_address].collateral, Loans[_address].borrowed, Loans[_address].endDate ); } else { return (0, 0, 0); } } function isLoanExpired(address _address) public view returns (bool) { return Loans[_address].endDate < block.timestamp; } function getBuyFee() public view returns (uint256) { return buy_fee; } // Buy Eggs function getTotalBorrowed() public view returns (uint256) { return totalBorrowed; } function getTotalCollateral() public view returns (uint256) { return totalCollateral; } function getBacking() public view returns (uint256) { return address(this).balance + getTotalBorrowed(); } function safetyCheck(uint256 sonic) private { uint256 newPrice = (getBacking() * 1 ether) / totalSupply(); uint256 _totalColateral = balanceOf(address(this)); require( _totalColateral >= totalCollateral, "The eggs balance of the contract must be greater than or equal to the collateral" ); require(lastPrice <= newPrice, "The price of eggs cannot decrease"); lastPrice = newPrice; emit Price(block.timestamp, newPrice, sonic); } function EGGStoSONICLev( uint256 value, uint256 msg_value ) public view returns (uint256) { return Math.mulDiv(value, getBacking() - msg_value, totalSupply()); } function EGGStoSONIC(uint256 value) public view returns (uint256) { return Math.mulDiv(value, getBacking(), totalSupply()); } function EGGStoSONICceil(uint256 value) public view returns (uint256) { return (value * getBacking() + (totalSupply() - 1)) / totalSupply(); } function SONICtoEGGS(uint256 value) public view returns (uint256) { return Math.mulDiv(value, totalSupply(), getBacking() - value); } function SONICtoEGGSLev( uint256 value, uint256 fee ) public view returns (uint256) { return Math.mulDiv(value, totalSupply(), getBacking() - fee); } function SONICtoEGGSBorrow( uint256 value, uint256 fee ) public view returns (uint256) { return Math.mulDiv(value, totalSupply(), getBacking() + fee); } function SONICtoEGGSNoTrade(uint256 value) public view returns (uint256) { uint256 backing = getBacking(); return (value * totalSupply() + (backing - 1)) / backing; } function sendSonic(address _address, uint256 _value) public { (bool success, ) = FEE_ADDRESS.call{value: _value}(""); require(success, "SONIC Transfer failed."); emit SendSonic(_address, _value); } //utils function getBuyEggs(uint256 amount) external view returns (uint256) { return (amount * (totalSupply()) * (buy_fee)) / (getBacking()) / (FEE_BASE_1000); } receive() external payable {} fallback() external payable {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"payable","type":"constructor"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"allowance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientAllowance","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientBalance","type":"error"},{"inputs":[{"internalType":"address","name":"approver","type":"address"}],"name":"ERC20InvalidApprover","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC20InvalidReceiver","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"ERC20InvalidSender","type":"error"},{"inputs":[{"internalType":"address","name":"spender","type":"address"}],"name":"ERC20InvalidSpender","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"inputs":[],"name":"ReentrancyGuardReentrantCall","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_address","type":"address"}],"name":"FeeAddressUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"time","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Liquidate","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"collateralByDate","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"borrowedByDate","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"totalBorrowed","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"totalCollateral","type":"uint256"}],"name":"LoanDataUpdate","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"max","type":"uint256"}],"name":"MaxUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferStarted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"time","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"price","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"volumeInSonic","type":"uint256"}],"name":"Price","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"sellFee","type":"uint256"}],"name":"SellFeeUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"SendSonic","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"started","type":"bool"}],"name":"Started","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"buyFee","type":"uint256"}],"name":"buyFeeUpdated","type":"event"},{"stateMutability":"payable","type":"fallback"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"BorrowedByDate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"CollateralByDate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"value","type":"uint256"}],"name":"EGGStoSONIC","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"msg_value","type":"uint256"}],"name":"EGGStoSONICLev","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"value","type":"uint256"}],"name":"EGGStoSONICceil","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"Loans","outputs":[{"internalType":"uint256","name":"collateral","type":"uint256"},{"internalType":"uint256","name":"borrowed","type":"uint256"},{"internalType":"uint256","name":"endDate","type":"uint256"},{"internalType":"uint256","name":"numberOfDays","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"value","type":"uint256"}],"name":"SONICtoEGGS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"fee","type":"uint256"}],"name":"SONICtoEGGSBorrow","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"fee","type":"uint256"}],"name":"SONICtoEGGSLev","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"value","type":"uint256"}],"name":"SONICtoEGGSNoTrade","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"acceptOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"sonic","type":"uint256"},{"internalType":"uint256","name":"numberOfDays","type":"uint256"}],"name":"borrow","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"sonic","type":"uint256"}],"name":"borrowMore","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"value","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"buy","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"buy_fee","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buy_fee_leverage","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"closePosition","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfDays","type":"uint256"}],"name":"extendLoan","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"flashClosePosition","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getBacking","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"getBuyAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"getBuyEggs","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getBuyFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"numberOfDays","type":"uint256"}],"name":"getInterestFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"getLoanByAddress","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"date","type":"uint256"}],"name":"getLoansExpiringByDate","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"date","type":"uint256"}],"name":"getMidnightTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"getTotalBorrowed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTotalCollateral","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"isLoanExpired","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastLiquidationDate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"sonic","type":"uint256"},{"internalType":"uint256","name":"numberOfDays","type":"uint256"}],"name":"leverage","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"sonic","type":"uint256"},{"internalType":"uint256","name":"numberOfDays","type":"uint256"}],"name":"leverageFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"liquidate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint128","name":"","type":"uint128"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pendingOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"removeCollateral","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"repay","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"eggs","type":"uint256"}],"name":"sell","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sell_fee","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"uint256","name":"_value","type":"uint256"}],"name":"sendSonic","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"amount","type":"uint16"}],"name":"setBuyFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"amount","type":"uint16"}],"name":"setBuyFeeLeverage","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"amount","type":"uint16"}],"name":"setSellFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setStart","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"start","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
6008805466ffffffffffffff60a01b1916640a03cf03cf60a01b1790555f6009819055600a819055600c5560046080818152634567677360e01b60a05261010060405260c0918252634547475360e01b60e0523391600361006083826103de565b50600461006d82826103de565b5050506001600160a01b03811661009e57604051631e4fbdf760e01b81525f60048201526024015b60405180910390fd5b6100a7816100fe565b5060016007556100b64261011a565b601055600880546001600160a01b031916331790555f6100d86103e8346104ac565b9050670de0b6b3a76400008110156100ee575f5ffd5b6100f83382610149565b50610537565b600680546001600160a01b03191690556101178161021e565b50565b5f8061012962015180846104c9565b61013390846104e8565b905061014281620151806104fb565b9392505050565b6001600160a01b03821661019f5760405162461bcd60e51b815260206004820152601c60248201527f43616e2774206d696e7420746f20746f203078302061646472657373000000006044820152606401610095565b80600b546101ad91906104fb565b600b556101c7670de0b6b3a764000064174876e80061050e565b6001600160801b0316600b5411156102105760405162461bcd60e51b815260206004820152600c60248201526b4e4f204d4f5245204547475360a01b6044820152606401610095565b61021a828261026f565b5050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b0382166102985760405163ec442f0560e01b81525f6004820152602401610095565b61021a5f83838060025f8282546102af91906104fb565b909155506102ba9050565b6001600160a01b0382166102d6576002805482900390556102f4565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161033991815260200190565b60405180910390a3505050565b634e487b7160e01b5f52604160045260245ffd5b600181811c9082168061036e57607f821691505b60208210810361038c57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156103d957805f5260205f20601f840160051c810160208510156103b75750805b601f840160051c820191505b818110156103d6575f81556001016103c3565b50505b505050565b81516001600160401b038111156103f7576103f7610346565b61040b81610405845461035a565b84610392565b6020601f82116001811461043d575f83156104265750848201515b5f19600385901b1c1916600184901b1784556103d6565b5f84815260208120601f198516915b8281101561046c578785015182556020948501946001909201910161044c565b508482101561048957868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b634e487b7160e01b5f52601160045260245ffd5b80820281158282048414176104c3576104c3610498565b92915050565b5f826104e357634e487b7160e01b5f52601260045260245ffd5b500690565b818103818111156104c3576104c3610498565b808201808211156104c3576104c3610498565b6001600160801b03818116838216029081169081811461053057610530610498565b5092915050565b6132dd806105445f395ff3fe60806040526004361061037f575f3560e01c806379cc6790116101ce578063bd0fe67911610100578063dd62ed3e11610099578063e4849b321161006b578063e4849b3214610acc578063e70a4f8714610aeb578063f088d54714610b0a578063f2fde38b14610b1d57005b8063dd62ed3e14610a2d578063e064648a14610a71578063e30c397814610a90578063e3eb5ed314610aad57005b8063c94220ab116100d2578063c94220ab146109ae578063c962a4b5146109c2578063d5abeb01146109ed578063d6eb591014610a1957005b8063bd0fe67914610948578063be9a655514610967578063c393d0e314610987578063c4f64c4f1461098f57005b806395d89b4111610172578063a9059cbb11610144578063a9059cbb14610889578063a925e4a4146108a8578063abd545bf14610908578063b6013e9a1461092957005b806395d89b411461082d5780639d0bf2e9146108415780639d41ac3a14610860578063a2309ff81461087457005b80638da5cb5b116101ab5780638da5cb5b146107845780638e16497b146107b55780638f818b90146107d457806395ced06f146107f357005b806379cc6790146107335780637ace2ac914610752578063886433ac1461076557005b8063313ce567116102b257806342966c681161024b57806370c476711161021d57806370c47671146106cd57806370f84ba9146106ec578063715018a61461070b57806379ba50971461071f57005b806342966c681461063c5780634fbf3ab01461065b5780635e96263c1461068657806370a082311461069957005b806335975a371161028457806335975a37146105e057806336189d43146105f45780633be4e59814610615578063402d88831461063457005b8063313ce567146105725780633237c1581461058d57806333e516d5146105ac5780633421f750146105cb57005b80630ecbcdab116103245780631fb87f39116102f65780631fb87f391461050157806323b872dd1461052057806328a070251461053f5780632ac9adec1461055357005b80630ecbcdab1461047b578063162b51fc1461049a57806317a5a97e146104ce57806318160ddd146104ed57005b8063053f14da1161035d578063053f14da146103f757806306fdde031461040c578063095ea7b31461042d5780630df1ff241461045c57005b8063024cad3b146103815780630307c4a1146103ba578063035b7c4b146103d8575b005b34801561038c575f5ffd5b506103a061039b366004612f78565b610b3c565b604080519283526020830191909152015b60405180910390f35b3480156103c5575f5ffd5b506009545b6040519081526020016103b1565b3480156103e3575f5ffd5b506103ca6103f2366004612f8f565b610b7b565b348015610402575f5ffd5b506103ca600c5481565b348015610417575f5ffd5b50610420610bc1565b6040516103b19190612faf565b348015610438575f5ffd5b5061044c610447366004612ffa565b610c51565b60405190151581526020016103b1565b348015610467575f5ffd5b506103ca610476366004612f78565b610c68565b348015610486575f5ffd5b5061037f610495366004612f8f565b610c82565b3480156104a5575f5ffd5b506008546104bb90600160b01b900461ffff1681565b60405161ffff90911681526020016103b1565b3480156104d9575f5ffd5b5061037f6104e8366004613022565b610ec1565b3480156104f8575f5ffd5b506002546103ca565b34801561050c575f5ffd5b506103ca61051b366004612f78565b610f80565b34801561052b575f5ffd5b5061044c61053a366004613043565b610fc0565b34801561054a575f5ffd5b5061037f610fe3565b34801561055e575f5ffd5b5061037f61056d366004612ffa565b6110ca565b34801561057d575f5ffd5b50604051601281526020016103b1565b348015610598575f5ffd5b5061037f6105a7366004612f78565b6111ab565b3480156105b7575f5ffd5b506103ca6105c6366004612f78565b6112ec565b3480156105d6575f5ffd5b506103ca60105481565b3480156105eb575f5ffd5b5061037f61130d565b3480156105ff575f5ffd5b506008546104bb90600160c01b900461ffff1681565b348015610620575f5ffd5b506103ca61062f366004612f8f565b6113ad565b61037f6113f9565b348015610647575f5ffd5b5061037f610656366004612f78565b611568565b348015610666575f5ffd5b506103ca610675366004612f78565b600e6020525f908152604090205481565b61037f610694366004612f8f565b611572565b3480156106a4575f5ffd5b506103ca6106b336600461307d565b6001600160a01b03165f9081526020819052604090205490565b3480156106d8575f5ffd5b5061037f6106e7366004613022565b6118b4565b3480156106f7575f5ffd5b5061044c61070636600461307d565b6119d4565b348015610716575f5ffd5b5061037f6119f3565b34801561072a575f5ffd5b5061037f611a04565b34801561073e575f5ffd5b5061037f61074d366004612ffa565b611a45565b6103ca610760366004612f78565b611a5a565b348015610770575f5ffd5b506103ca61077f366004612f78565b611c43565b34801561078f575f5ffd5b506005546001600160a01b03165b6040516001600160a01b0390911681526020016103b1565b3480156107c0575f5ffd5b506103ca6107cf366004612f8f565b611c8f565b3480156107df575f5ffd5b50600854600160b01b900461ffff166103ca565b3480156107fe575f5ffd5b5061081261080d36600461307d565b611cb0565b604080519384526020840192909252908201526060016103b1565b348015610838575f5ffd5b50610420611d14565b34801561084c575f5ffd5b5061037f61085b366004612f78565b611d23565b34801561086b575f5ffd5b5061037f611fb9565b34801561087f575f5ffd5b506103ca600b5481565b348015610894575f5ffd5b5061044c6108a3366004612ffa565b612173565b3480156108b3575f5ffd5b506108e86108c236600461307d565b600d6020525f908152604090208054600182015460028301546003909301549192909184565b6040805194855260208501939093529183015260608201526080016103b1565b348015610913575f5ffd5b506008546104bb90600160a01b900461ffff1681565b348015610934575f5ffd5b506103ca610943366004612f78565b612180565b348015610953575f5ffd5b506103ca610962366004612f8f565b6121af565b348015610972575f5ffd5b5060085461044c90600160d01b900460ff1681565b61037f6121bd565b34801561099a575f5ffd5b506103ca6109a9366004612f78565b6122b4565b3480156109b9575f5ffd5b506103ca6122ef565b3480156109cd575f5ffd5b506103ca6109dc366004612f78565b600f6020525f908152604090205481565b3480156109f8575f5ffd5b50610a01612308565b6040516001600160801b0390911681526020016103b1565b348015610a24575f5ffd5b50600a546103ca565b348015610a38575f5ffd5b506103ca610a47366004613096565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b348015610a7c575f5ffd5b5061037f610a8b366004613022565b612322565b348015610a9b575f5ffd5b506006546001600160a01b031661079d565b348015610ab8575f5ffd5b506103ca610ac7366004612f78565b612436565b348015610ad7575f5ffd5b5061037f610ae6366004612f78565b61245e565b348015610af6575f5ffd5b506103ca610b05366004612f8f565b612530565b61037f610b1836600461307d565b612548565b348015610b28575f5ffd5b5061037f610b3736600461307d565b6126bc565b5f5f600e5f610b4a85612436565b81526020019081526020015f2054600f5f610b6486612436565b81526020019081526020015f205491509150915091565b5f5f610b91668a8e4b1a3d80008461016d61272d565b610ba29066038d7ea4c680006130db565b9050610bb78482670de0b6b3a764000061272d565b9150505b92915050565b606060038054610bd0906130ee565b80601f0160208091040260200160405190810160405280929190818152602001828054610bfc906130ee565b8015610c475780601f10610c1e57610100808354040283529160200191610c47565b820191905f5260205f20905b815481529060010190602001808311610c2a57829003601f168201915b5050505050905090565b5f33610c5e8185856127e3565b5060019392505050565b5f610bbb82610c756122ef565b60025461272d565b61272d565b610c8a6127f5565b61016e8110610cb45760405162461bcd60e51b8152600401610cab90613126565b60405180910390fd5b815f03610cfd5760405162461bcd60e51b815260206004820152601760248201527604d75737420626f72726f77206d6f7265207468616e203604c1b6044820152606401610cab565b610d06336119d4565b15610d2f57335f908152600d602052604081208181556001810182905560028101829055600301555b335f908152600d602052604090206001015415610d8e5760405162461bcd60e51b815260206004820152601d60248201527f55736520626f72726f774d6f726520746f20626f72726f77206d6f72650000006044820152606401610cab565b610d96610fe3565b5f610db242610da88462015180613173565b610ac791906130db565b90505f610dbf8484610b7b565b90505f600a610dcf836003613173565b610dd9919061319e565b90505f610de586612180565b90505f6064610df5886063613173565b610dff919061319e565b6040805160808101825284815260208082018481528284018a8152606084018c8152335f818152600d90955295909320935184559051600184015551600283015551600390910155909150610e5590308461281f565b6103e88311610e765760405162461bcd60e51b8152600401610cab906131b1565b610e843361056d86846131e8565b600854610e9a906001600160a01b0316846110ca565b610ea581838761287c565b610eae84612947565b5050505050610ebd6001600755565b5050565b610ec9612ab8565b60198161ffff161115610f295760405162461bcd60e51b815260206004820152602260248201527f6c657665726167652062757920666565206d757374206265206c65737320322e604482015261352560f01b6064820152608401610cab565b6008805461ffff60c01b1916600160c01b61ffff8416908102919091179091556040519081527f11953a0453d6e2e337ab856b9de1f4818ffa2a51f3a9c12f924e2a043ae37f6d906020015b60405180910390a150565b5f5f610f8b83612180565b90506103e8610fa560085461ffff600160b01b9091041690565b610faf9083613173565b610fb9919061319e565b9392505050565b5f33610fcd858285612ae5565b610fd885858561281f565b506001949350505050565b5f5f5b426010541015611044576010545f908152600f602052604090205461100b90826130db565b6010545f908152600e602052604090205490915061102990836130db565b91506010546201518061103c91906130db565b601055610fe6565b80156110655780600a5461105891906131e8565b600a556110653082612b61565b8115610ebd578160095461107991906131e8565b6009556010547f253e5385159062a101837d58c10ad4694c58979ebc3ba6b5cb2cbba2fe461692906110af9062015180906131e8565b60408051918252602082018590520160405180910390a15050565b6008546040515f916001600160a01b03169083908381818185875af1925050503d805f8114611114576040519150601f19603f3d011682016040523d82523d5f602084013e611119565b606091505b50509050806111635760405162461bcd60e51b815260206004820152601660248201527529a7a724a1902a3930b739b332b9103330b4b632b21760511b6044820152606401610cab565b604080516001600160a01b0385168152602081018490527f03bbe564cb1b78e43195eeadbde99e5b89b19345862807fcfb59f884e4165e2591015b60405180910390a1505050565b6111b36127f5565b6111bc336119d4565b156111d95760405162461bcd60e51b8152600401610cab906131fb565b6111e1610fe3565b335f908152600d602052604090205460646111ff61047684846131e8565b61120a906063613173565b611214919061319e565b335f908152600d6020526040902060010154111561127f5760405162461bcd60e51b815260206004820152602260248201527f526571756972652039392520636f6c6c61746572616c697a6174696f6e207261604482015261746560f01b6064820152608401610cab565b335f908152600d60205260409020546112999083906131e8565b335f818152600d60205260409020919091556112b79030908461281f565b335f908152600d60205260408120600201546112d591908490612b95565b6112de5f612947565b506112e96001600755565b50565b5f610bbb826112fa60025490565b846113036122ef565b610c7d91906131e8565b611315612ab8565b6008546001600160a01b03166113645760405162461bcd60e51b81526020600482015260146024820152734d7573742073657420666565206164647265737360601b6044820152606401610cab565b6008805460ff60d01b1916600160d01b179055604051600181527f4f366f0dc5cd876e456f089309e0c62fc2bc0e116c6f6ae308c392b4ad45b5b99060200160405180910390a1565b6008545f9081906103e8906113cd90600160c01b900461ffff1686613173565b6113d7919061319e565b90505f6113e48585610b7b565b90506113f081836130db565b95945050505050565b6114016127f5565b335f908152600d602052604090206001015434811161146e5760405162461bcd60e51b8152602060048201526024808201527f4d757374207265706179206c657373207468616e20626f72726f77656420616d6044820152631bdd5b9d60e21b6064820152608401610cab565b345f036114b45760405162461bcd60e51b81526020600482015260146024820152734d75737420726570617920736f6d657468696e6760601b6044820152606401610cab565b6114bd336119d4565b1561151e5760405162461bcd60e51b815260206004820152602b60248201527f596f7572206c6f616e20686173206265656e206c6971756964617465642c206360448201526a616e6e6f7420726570617960a81b6064820152608401610cab565b5f61152934836131e8565b335f908152600d60205260408120600181018390556002015491925061155191349190612b95565b61155a5f612947565b50506115666001600755565b565b6112e93382612b61565b61157a6127f5565b600854600160d01b900460ff166115d35760405162461bcd60e51b815260206004820152601b60248201527f54726164696e67206d75737420626520696e697469616c697a656400000000006044820152606401610cab565b61016e81106115f45760405162461bcd60e51b8152600401610cab90613126565b335f908152600d60209081526040918290208251608081018452815481526001820154928101839052600282015493810193909352600301546060830152156116c857611640336119d4565b1561166957335f908152600d602052604081208181556001810182905560028101829055600301555b335f908152600d6020526040902060010154156116c85760405162461bcd60e51b815260206004820152601960248201527f557365206163636f756e742077697468206e6f206c6f616e73000000000000006044820152606401610cab565b6116d0610fe3565b5f6116e242610da88562015180613173565b90505f6116ef85856113ad565b90505f6116fc82876131e8565b90505f600a61170c846003613173565b611716919061319e565b90505f6064611726846063613173565b611730919061319e565b90505f61173d82856131e8565b90505f61174a82856130db565b90505f61175783886130db565b90505f813411156117785761176c82346131e8565b905061177833826110ca565b8161178382346131e8565b146117d05760405162461bcd60e51b815260206004820152601b60248201527f496e73756666696369656e7420736f6e6963206665652073656e7400000000006044820152606401610cab565b5f6117db88856121af565b90506117e73082612c00565b6103e887116118085760405162461bcd60e51b8152600401610cab906131b1565b60085461181e906001600160a01b0316886110ca565b61182986828c61287c565b60405180608001604052808281526020018781526020018b81526020018d815250600d5f336001600160a01b03166001600160a01b031681526020019081526020015f205f820151815f015560208201518160010155604082015181600201556060820151816003015590505061189f8d612947565b5050505050505050505050610ebd6001600755565b6118bc612ab8565b6118c9607d6103e0613251565b61ffff168161ffff16111561192e5760405162461bcd60e51b815260206004820152602560248201527f62757920666565206d7573742062652067726561746572207468616e20464545604482015264535f42555960d81b6064820152608401610cab565b6103cf8161ffff1610156119845760405162461bcd60e51b815260206004820152601e60248201527f62757920666565206d757374206265206c657373207468616e20322e352500006044820152606401610cab565b6008805461ffff60b01b1916600160b01b61ffff8416908102919091179091556040519081527f11953a0453d6e2e337ab856b9de1f4818ffa2a51f3a9c12f924e2a043ae37f6d90602001610f75565b6001600160a01b03165f908152600d6020526040902060020154421190565b6119fb612ab8565b6115665f612cd1565b60065433906001600160a01b03168114611a3c5760405163118cdaa760e01b81526001600160a01b0382166004820152602401610cab565b6112e981612cd1565b611a50823383612ae5565b610ebd8282612b61565b5f611a636127f5565b335f908152600d60205260408120600281015460018201548254600390930154919390929190611a968762015180613173565b611aa090866130db565b90505f611aad8589610b7b565b9050611ab8336119d4565b15611ad55760405162461bcd60e51b8152600401610cab906131fb565b348114611b245760405162461bcd60e51b815260206004820152601c60248201527f4c6f616e20657874656e73696f6e2066656520696e636f7272656374000000006044820152606401610cab565b5f600a611b32836003613173565b611b3c919061319e565b90506103e88111611b5f5760405162461bcd60e51b8152600401610cab906131b1565b600854611b75906001600160a01b0316826110ca565b611b80868689612b95565b611b8b86868561287c565b335f908152600d60205260409020600201839055611ba9848a6130db565b335f908152600d602052604090206003015561016e62015180611bcc42866131e8565b611bd6919061319e565b10611c235760405162461bcd60e51b815260206004820152601b60248201527f4c6f616e206d75737420626520756e64657220333635206461797300000000006044820152606401610cab565b611c2c34612947565b5095505050505050611c3e6001600755565b919050565b5f6103e8611c4f6122ef565b60085461ffff600160b01b90910416611c6760025490565b611c719086613173565b611c7b9190613173565b611c85919061319e565b610bbb919061319e565b5f610fb983611c9d60025490565b84611ca66122ef565b610c7d91906130db565b6001600160a01b0381165f908152600d6020526040812060020154819081904211611d04575050506001600160a01b0381165f908152600d6020526040902080546001820154600290920154909190611d0d565b505f9150819050805b9193909250565b606060048054610bd0906130ee565b611d2b6127f5565b611d34336119d4565b15611d815760405162461bcd60e51b815260206004820152601760248201527f4c6f616e20657870697265642075736520626f72726f770000000000000000006044820152606401610cab565b805f03611dca5760405162461bcd60e51b815260206004820152601760248201527604d75737420626f72726f77206d6f7265207468616e203604c1b6044820152606401610cab565b611dd2610fe3565b335f908152600d60205260408120600181015481546002909201549092611df842612436565b90505f62015180611e0983856131e8565b611e13919061319e565b90505f611e208783610b7b565b90505f611e2c88612180565b90505f611e3888612180565b90505f816064611e498a6063613173565b611e53919061319e565b611e5d91906131e8565b905082808210611e6e57505f611e7b565b611e7882826131e8565b90505b5f600a611e89876003613173565b611e93919061319e565b90505f6064611ea38e6063613173565b611ead919061319e565b90505f611eba828e6130db565b90505f611ec7858e6130db565b905060405180608001604052808281526020018381526020018d81526020018b815250600d5f336001600160a01b03166001600160a01b031681526020019081526020015f205f820151815f0155602082015181600101556040820151816002015560608201518160030155905050845f14611f4857611f4833308761281f565b6103e88411611f695760405162461bcd60e51b8152600401610cab906131b1565b600854611f7f906001600160a01b0316856110ca565b611f8d3361056d8b866131e8565b611f9883868e61287c565b611fa189612947565b50505050505050505050505050506112e96001600755565b611fc16127f5565b611fca336119d4565b15611fe75760405162461bcd60e51b8152600401610cab906131fb565b611fef610fe3565b335f908152600d6020526040812060018101549054909161200f826122b4565b905061201b3083612b61565b5f6064612029836063613173565b612033919061319e565b90505f61204160648461319e565b9050848210156120af5760405162461bcd60e51b815260206004820152603360248201527f596f7520646f206e6f74206861766520656e6f75676820636f6c6c617465726160448201527236103a379031b637b9b2903837b9b4ba34b7b760691b6064820152608401610cab565b5f6120ba86846131e8565b90505f600a6120ca846003613173565b6120d4919061319e565b90506120e033836110ca565b6103e881116121015760405162461bcd60e51b8152600401610cab906131b1565b600854612117906001600160a01b0316826110ca565b335f908152600d60205260409020600201546121369088908890612b95565b335f908152600d6020526040812081815560018101829055600281018290556003015561216287612947565b505050505050506115666001600755565b5f33610c5e81858561281f565b5f5f61218a6122ef565b9050806121986001826131e8565b6002546121a59086613173565b610faf91906130db565b5f610fb9836112fa60025490565b6121c56127f5565b335f818152600d602052604090206001810154905490916121e5906119d4565b156122025760405162461bcd60e51b8152600401610cab906131fb565b34821461225c5760405162461bcd60e51b815260206004820152602260248201527f4d7573742072657475726e20656e7469726520626f72726f77656420616d6f756044820152611b9d60f21b6064820152608401610cab565b61226730338361281f565b335f908152600d60205260409020600201546122869083908390612b95565b335f908152600d60205260408120818155600181018290556002810182905560030181905561155a90612947565b5f6122be60025490565b60016122c960025490565b6122d391906131e8565b6122db6122ef565b6122e59085613173565b611c8591906130db565b5f6122f960095490565b61230390476130db565b905090565b61231f670de0b6b3a764000064174876e80061326b565b81565b61232a612ab8565b6103e08161ffff1611156123905760405162461bcd60e51b815260206004820152602760248201527f73656c6c20666565206d7573742062652067726561746572207468616e2046456044820152661154d7d4d1531360ca1b6064820152608401610cab565b6103cf8161ffff1610156123e65760405162461bcd60e51b815260206004820152601f60248201527f73656c6c20666565206d757374206265206c657373207468616e20322e3525006044820152606401610cab565b6008805461ffff60a01b1916600160a01b61ffff8416908102919091179091556040519081527f11953a0453d6e2e337ab856b9de1f4818ffa2a51f3a9c12f924e2a043ae37f6d90602001610f75565b5f806124456201518084613294565b61244f90846131e8565b9050610fb981620151806130db565b6124666127f5565b61246e610fe3565b5f61247882610c68565b90505f612486607d8361319e565b90506124923384612b61565b6008546124be9033906103e8906124b490600160a01b900461ffff1686613173565b61056d919061319e565b6103e881116125055760405162461bcd60e51b815260206004820152601360248201527236bab9ba103a3930b2329037bb32b91036b4b760691b6044820152606401610cab565b60085461251b906001600160a01b0316826110ca565b61252482612947565b50506112e96001600755565b5f610fb9838361253e6122ef565b610c7591906131e8565b6125506127f5565b612558610fe3565b600854600160d01b900460ff166125b15760405162461bcd60e51b815260206004820152601b60248201527f54726164696e67206d75737420626520696e697469616c697a656400000000006044820152606401610cab565b6001600160a01b0381166126075760405162461bcd60e51b815260206004820152601e60248201527f52656369657665722063616e6e6f7420626520307830206164647265737300006044820152606401610cab565b5f612611346112ec565b9050612648826103e861262f60085461ffff600160b01b9091041690565b6126399085613173565b612643919061319e565b612c00565b5f612654607d3461319e565b90506103e8811161269d5760405162461bcd60e51b815260206004820152601360248201527236bab9ba103a3930b2329037bb32b91036b4b760691b6044820152606401610cab565b6008546126b3906001600160a01b0316826110ca565b61252434612947565b6126c4612ab8565b600680546001600160a01b0383166001600160a01b031990911681179091556126f56005546001600160a01b031690565b6001600160a01b03167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e2270060405160405180910390a350565b5f838302815f1985870982811083820303915050805f03612761578382816127575761275761318a565b0492505050610fb9565b808411612778576127786003851502601118612cea565b5f848688095f868103871696879004966002600389028118808a02820302808a02820302808a02820302808a02820302808a02820302808a02909103029181900381900460010186841190950394909402919094039290920491909117919091029150509392505050565b6127f08383836001612cfb565b505050565b60026007540361281857604051633ee5aeb560e01b815260040160405180910390fd5b6002600755565b6001600160a01b03831661284857604051634b637e8f60e11b81525f6004820152602401610cab565b6001600160a01b0382166128715760405163ec442f0560e01b81525f6004820152602401610cab565b6127f0838383612dcd565b5f818152600f60205260409020546128959083906130db565b5f828152600f6020908152604080832093909355600e905220546128ba9084906130db565b5f828152600e60205260409020556009546128d69084906130db565b600955600a546128e79083906130db565b600a8190555f828152600f6020908152604080832054600e8352928190205460095482519485529284015282015260608101919091527faec00f5213a37254bc68a26b0685d1a5b2bf513e1e587c94c7df7f4a62b56c9c9060800161119e565b5f61295160025490565b6129596122ef565b61296b90670de0b6b3a7640000613173565b612975919061319e565b305f9081526020819052604081205491925050600a54811015612a195760405162461bcd60e51b815260206004820152605060248201527f54686520656767732062616c616e6365206f662074686520636f6e747261637460448201527f206d7573742062652067726561746572207468616e206f7220657175616c207460648201526f1bc81d1a194818dbdb1b185d195c985b60821b608482015260a401610cab565b81600c541115612a755760405162461bcd60e51b815260206004820152602160248201527f546865207072696365206f6620656767732063616e6e6f7420646563726561736044820152606560f81b6064820152608401610cab565b600c82905560408051428152602081018490529081018490527f4afcb4a87cdbd9974efdb92ee48bc8d7cd0ae4bf217004db3d080cbaee652ca79060600161119e565b6005546001600160a01b031633146115665760405163118cdaa760e01b8152336004820152602401610cab565b6001600160a01b038381165f908152600160209081526040808320938616835292905220545f19811015612b5b5781811015612b4d57604051637dc7a0d960e11b81526001600160a01b03841660048201526024810182905260448101839052606401610cab565b612b5b84848484035f612cfb565b50505050565b6001600160a01b038216612b8a57604051634b637e8f60e11b81525f6004820152602401610cab565b610ebd825f83612dcd565b5f818152600f6020526040902054612bae9083906131e8565b5f828152600f6020908152604080832093909355600e90522054612bd39084906131e8565b5f828152600e6020526040902055600954612bef9084906131e8565b600955600a546128e79083906131e8565b6001600160a01b038216612c565760405162461bcd60e51b815260206004820152601c60248201527f43616e2774206d696e7420746f20746f203078302061646472657373000000006044820152606401610cab565b80600b54612c6491906130db565b600b55612c7e670de0b6b3a764000064174876e80061326b565b6001600160801b0316600b541115612cc75760405162461bcd60e51b815260206004820152600c60248201526b4e4f204d4f5245204547475360a01b6044820152606401610cab565b610ebd8282612ef3565b600680546001600160a01b03191690556112e981612f27565b634e487b715f52806020526024601cfd5b6001600160a01b038416612d245760405163e602df0560e01b81525f6004820152602401610cab565b6001600160a01b038316612d4d57604051634a1406b160e11b81525f6004820152602401610cab565b6001600160a01b038085165f9081526001602090815260408083209387168352929052208290558015612b5b57826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92584604051612dbf91815260200190565b60405180910390a350505050565b6001600160a01b038316612df7578060025f828254612dec91906130db565b90915550612e679050565b6001600160a01b0383165f9081526020819052604090205481811015612e495760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401610cab565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b038216612e8357600280548290039055612ea1565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051612ee691815260200190565b60405180910390a3505050565b6001600160a01b038216612f1c5760405163ec442f0560e01b81525f6004820152602401610cab565b610ebd5f8383612dcd565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b5f60208284031215612f88575f5ffd5b5035919050565b5f5f60408385031215612fa0575f5ffd5b50508035926020909101359150565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b80356001600160a01b0381168114611c3e575f5ffd5b5f5f6040838503121561300b575f5ffd5b61301483612fe4565b946020939093013593505050565b5f60208284031215613032575f5ffd5b813561ffff81168114610fb9575f5ffd5b5f5f5f60608486031215613055575f5ffd5b61305e84612fe4565b925061306c60208501612fe4565b929592945050506040919091013590565b5f6020828403121561308d575f5ffd5b610fb982612fe4565b5f5f604083850312156130a7575f5ffd5b6130b083612fe4565b91506130be60208401612fe4565b90509250929050565b634e487b7160e01b5f52601160045260245ffd5b80820180821115610bbb57610bbb6130c7565b600181811c9082168061310257607f821691505b60208210810361312057634e487b7160e01b5f52602260045260245ffd5b50919050565b6020808252602d908201527f4d617820626f72726f772f657874656e73696f6e206d7573742062652033363560408201526c2064617973206f72206c65737360981b606082015260800190565b8082028115828204841417610bbb57610bbb6130c7565b634e487b7160e01b5f52601260045260245ffd5b5f826131ac576131ac61318a565b500490565b6020808252601d908201527f46656573206d75737420626520686967686572207468616e206d696e2e000000604082015260600190565b81810381811115610bbb57610bbb6130c7565b60208082526036908201527f596f7572206c6f616e20686173206265656e206c6971756964617465642c206e6040820152756f20636f6c6c61746572616c20746f2072656d6f766560501b606082015260800190565b61ffff8281168282160390811115610bbb57610bbb6130c7565b6001600160801b03818116838216029081169081811461328d5761328d6130c7565b5092915050565b5f826132a2576132a261318a565b50069056fea26469706673582212202a93f96a2d4f5d29e158dd3326589e1d70cd9cc85c98bcba4332f8360ed04e5e64736f6c634300081c0033
Deployed Bytecode
0x60806040526004361061037f575f3560e01c806379cc6790116101ce578063bd0fe67911610100578063dd62ed3e11610099578063e4849b321161006b578063e4849b3214610acc578063e70a4f8714610aeb578063f088d54714610b0a578063f2fde38b14610b1d57005b8063dd62ed3e14610a2d578063e064648a14610a71578063e30c397814610a90578063e3eb5ed314610aad57005b8063c94220ab116100d2578063c94220ab146109ae578063c962a4b5146109c2578063d5abeb01146109ed578063d6eb591014610a1957005b8063bd0fe67914610948578063be9a655514610967578063c393d0e314610987578063c4f64c4f1461098f57005b806395d89b4111610172578063a9059cbb11610144578063a9059cbb14610889578063a925e4a4146108a8578063abd545bf14610908578063b6013e9a1461092957005b806395d89b411461082d5780639d0bf2e9146108415780639d41ac3a14610860578063a2309ff81461087457005b80638da5cb5b116101ab5780638da5cb5b146107845780638e16497b146107b55780638f818b90146107d457806395ced06f146107f357005b806379cc6790146107335780637ace2ac914610752578063886433ac1461076557005b8063313ce567116102b257806342966c681161024b57806370c476711161021d57806370c47671146106cd57806370f84ba9146106ec578063715018a61461070b57806379ba50971461071f57005b806342966c681461063c5780634fbf3ab01461065b5780635e96263c1461068657806370a082311461069957005b806335975a371161028457806335975a37146105e057806336189d43146105f45780633be4e59814610615578063402d88831461063457005b8063313ce567146105725780633237c1581461058d57806333e516d5146105ac5780633421f750146105cb57005b80630ecbcdab116103245780631fb87f39116102f65780631fb87f391461050157806323b872dd1461052057806328a070251461053f5780632ac9adec1461055357005b80630ecbcdab1461047b578063162b51fc1461049a57806317a5a97e146104ce57806318160ddd146104ed57005b8063053f14da1161035d578063053f14da146103f757806306fdde031461040c578063095ea7b31461042d5780630df1ff241461045c57005b8063024cad3b146103815780630307c4a1146103ba578063035b7c4b146103d8575b005b34801561038c575f5ffd5b506103a061039b366004612f78565b610b3c565b604080519283526020830191909152015b60405180910390f35b3480156103c5575f5ffd5b506009545b6040519081526020016103b1565b3480156103e3575f5ffd5b506103ca6103f2366004612f8f565b610b7b565b348015610402575f5ffd5b506103ca600c5481565b348015610417575f5ffd5b50610420610bc1565b6040516103b19190612faf565b348015610438575f5ffd5b5061044c610447366004612ffa565b610c51565b60405190151581526020016103b1565b348015610467575f5ffd5b506103ca610476366004612f78565b610c68565b348015610486575f5ffd5b5061037f610495366004612f8f565b610c82565b3480156104a5575f5ffd5b506008546104bb90600160b01b900461ffff1681565b60405161ffff90911681526020016103b1565b3480156104d9575f5ffd5b5061037f6104e8366004613022565b610ec1565b3480156104f8575f5ffd5b506002546103ca565b34801561050c575f5ffd5b506103ca61051b366004612f78565b610f80565b34801561052b575f5ffd5b5061044c61053a366004613043565b610fc0565b34801561054a575f5ffd5b5061037f610fe3565b34801561055e575f5ffd5b5061037f61056d366004612ffa565b6110ca565b34801561057d575f5ffd5b50604051601281526020016103b1565b348015610598575f5ffd5b5061037f6105a7366004612f78565b6111ab565b3480156105b7575f5ffd5b506103ca6105c6366004612f78565b6112ec565b3480156105d6575f5ffd5b506103ca60105481565b3480156105eb575f5ffd5b5061037f61130d565b3480156105ff575f5ffd5b506008546104bb90600160c01b900461ffff1681565b348015610620575f5ffd5b506103ca61062f366004612f8f565b6113ad565b61037f6113f9565b348015610647575f5ffd5b5061037f610656366004612f78565b611568565b348015610666575f5ffd5b506103ca610675366004612f78565b600e6020525f908152604090205481565b61037f610694366004612f8f565b611572565b3480156106a4575f5ffd5b506103ca6106b336600461307d565b6001600160a01b03165f9081526020819052604090205490565b3480156106d8575f5ffd5b5061037f6106e7366004613022565b6118b4565b3480156106f7575f5ffd5b5061044c61070636600461307d565b6119d4565b348015610716575f5ffd5b5061037f6119f3565b34801561072a575f5ffd5b5061037f611a04565b34801561073e575f5ffd5b5061037f61074d366004612ffa565b611a45565b6103ca610760366004612f78565b611a5a565b348015610770575f5ffd5b506103ca61077f366004612f78565b611c43565b34801561078f575f5ffd5b506005546001600160a01b03165b6040516001600160a01b0390911681526020016103b1565b3480156107c0575f5ffd5b506103ca6107cf366004612f8f565b611c8f565b3480156107df575f5ffd5b50600854600160b01b900461ffff166103ca565b3480156107fe575f5ffd5b5061081261080d36600461307d565b611cb0565b604080519384526020840192909252908201526060016103b1565b348015610838575f5ffd5b50610420611d14565b34801561084c575f5ffd5b5061037f61085b366004612f78565b611d23565b34801561086b575f5ffd5b5061037f611fb9565b34801561087f575f5ffd5b506103ca600b5481565b348015610894575f5ffd5b5061044c6108a3366004612ffa565b612173565b3480156108b3575f5ffd5b506108e86108c236600461307d565b600d6020525f908152604090208054600182015460028301546003909301549192909184565b6040805194855260208501939093529183015260608201526080016103b1565b348015610913575f5ffd5b506008546104bb90600160a01b900461ffff1681565b348015610934575f5ffd5b506103ca610943366004612f78565b612180565b348015610953575f5ffd5b506103ca610962366004612f8f565b6121af565b348015610972575f5ffd5b5060085461044c90600160d01b900460ff1681565b61037f6121bd565b34801561099a575f5ffd5b506103ca6109a9366004612f78565b6122b4565b3480156109b9575f5ffd5b506103ca6122ef565b3480156109cd575f5ffd5b506103ca6109dc366004612f78565b600f6020525f908152604090205481565b3480156109f8575f5ffd5b50610a01612308565b6040516001600160801b0390911681526020016103b1565b348015610a24575f5ffd5b50600a546103ca565b348015610a38575f5ffd5b506103ca610a47366004613096565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b348015610a7c575f5ffd5b5061037f610a8b366004613022565b612322565b348015610a9b575f5ffd5b506006546001600160a01b031661079d565b348015610ab8575f5ffd5b506103ca610ac7366004612f78565b612436565b348015610ad7575f5ffd5b5061037f610ae6366004612f78565b61245e565b348015610af6575f5ffd5b506103ca610b05366004612f8f565b612530565b61037f610b1836600461307d565b612548565b348015610b28575f5ffd5b5061037f610b3736600461307d565b6126bc565b5f5f600e5f610b4a85612436565b81526020019081526020015f2054600f5f610b6486612436565b81526020019081526020015f205491509150915091565b5f5f610b91668a8e4b1a3d80008461016d61272d565b610ba29066038d7ea4c680006130db565b9050610bb78482670de0b6b3a764000061272d565b9150505b92915050565b606060038054610bd0906130ee565b80601f0160208091040260200160405190810160405280929190818152602001828054610bfc906130ee565b8015610c475780601f10610c1e57610100808354040283529160200191610c47565b820191905f5260205f20905b815481529060010190602001808311610c2a57829003601f168201915b5050505050905090565b5f33610c5e8185856127e3565b5060019392505050565b5f610bbb82610c756122ef565b60025461272d565b61272d565b610c8a6127f5565b61016e8110610cb45760405162461bcd60e51b8152600401610cab90613126565b60405180910390fd5b815f03610cfd5760405162461bcd60e51b815260206004820152601760248201527604d75737420626f72726f77206d6f7265207468616e203604c1b6044820152606401610cab565b610d06336119d4565b15610d2f57335f908152600d602052604081208181556001810182905560028101829055600301555b335f908152600d602052604090206001015415610d8e5760405162461bcd60e51b815260206004820152601d60248201527f55736520626f72726f774d6f726520746f20626f72726f77206d6f72650000006044820152606401610cab565b610d96610fe3565b5f610db242610da88462015180613173565b610ac791906130db565b90505f610dbf8484610b7b565b90505f600a610dcf836003613173565b610dd9919061319e565b90505f610de586612180565b90505f6064610df5886063613173565b610dff919061319e565b6040805160808101825284815260208082018481528284018a8152606084018c8152335f818152600d90955295909320935184559051600184015551600283015551600390910155909150610e5590308461281f565b6103e88311610e765760405162461bcd60e51b8152600401610cab906131b1565b610e843361056d86846131e8565b600854610e9a906001600160a01b0316846110ca565b610ea581838761287c565b610eae84612947565b5050505050610ebd6001600755565b5050565b610ec9612ab8565b60198161ffff161115610f295760405162461bcd60e51b815260206004820152602260248201527f6c657665726167652062757920666565206d757374206265206c65737320322e604482015261352560f01b6064820152608401610cab565b6008805461ffff60c01b1916600160c01b61ffff8416908102919091179091556040519081527f11953a0453d6e2e337ab856b9de1f4818ffa2a51f3a9c12f924e2a043ae37f6d906020015b60405180910390a150565b5f5f610f8b83612180565b90506103e8610fa560085461ffff600160b01b9091041690565b610faf9083613173565b610fb9919061319e565b9392505050565b5f33610fcd858285612ae5565b610fd885858561281f565b506001949350505050565b5f5f5b426010541015611044576010545f908152600f602052604090205461100b90826130db565b6010545f908152600e602052604090205490915061102990836130db565b91506010546201518061103c91906130db565b601055610fe6565b80156110655780600a5461105891906131e8565b600a556110653082612b61565b8115610ebd578160095461107991906131e8565b6009556010547f253e5385159062a101837d58c10ad4694c58979ebc3ba6b5cb2cbba2fe461692906110af9062015180906131e8565b60408051918252602082018590520160405180910390a15050565b6008546040515f916001600160a01b03169083908381818185875af1925050503d805f8114611114576040519150601f19603f3d011682016040523d82523d5f602084013e611119565b606091505b50509050806111635760405162461bcd60e51b815260206004820152601660248201527529a7a724a1902a3930b739b332b9103330b4b632b21760511b6044820152606401610cab565b604080516001600160a01b0385168152602081018490527f03bbe564cb1b78e43195eeadbde99e5b89b19345862807fcfb59f884e4165e2591015b60405180910390a1505050565b6111b36127f5565b6111bc336119d4565b156111d95760405162461bcd60e51b8152600401610cab906131fb565b6111e1610fe3565b335f908152600d602052604090205460646111ff61047684846131e8565b61120a906063613173565b611214919061319e565b335f908152600d6020526040902060010154111561127f5760405162461bcd60e51b815260206004820152602260248201527f526571756972652039392520636f6c6c61746572616c697a6174696f6e207261604482015261746560f01b6064820152608401610cab565b335f908152600d60205260409020546112999083906131e8565b335f818152600d60205260409020919091556112b79030908461281f565b335f908152600d60205260408120600201546112d591908490612b95565b6112de5f612947565b506112e96001600755565b50565b5f610bbb826112fa60025490565b846113036122ef565b610c7d91906131e8565b611315612ab8565b6008546001600160a01b03166113645760405162461bcd60e51b81526020600482015260146024820152734d7573742073657420666565206164647265737360601b6044820152606401610cab565b6008805460ff60d01b1916600160d01b179055604051600181527f4f366f0dc5cd876e456f089309e0c62fc2bc0e116c6f6ae308c392b4ad45b5b99060200160405180910390a1565b6008545f9081906103e8906113cd90600160c01b900461ffff1686613173565b6113d7919061319e565b90505f6113e48585610b7b565b90506113f081836130db565b95945050505050565b6114016127f5565b335f908152600d602052604090206001015434811161146e5760405162461bcd60e51b8152602060048201526024808201527f4d757374207265706179206c657373207468616e20626f72726f77656420616d6044820152631bdd5b9d60e21b6064820152608401610cab565b345f036114b45760405162461bcd60e51b81526020600482015260146024820152734d75737420726570617920736f6d657468696e6760601b6044820152606401610cab565b6114bd336119d4565b1561151e5760405162461bcd60e51b815260206004820152602b60248201527f596f7572206c6f616e20686173206265656e206c6971756964617465642c206360448201526a616e6e6f7420726570617960a81b6064820152608401610cab565b5f61152934836131e8565b335f908152600d60205260408120600181018390556002015491925061155191349190612b95565b61155a5f612947565b50506115666001600755565b565b6112e93382612b61565b61157a6127f5565b600854600160d01b900460ff166115d35760405162461bcd60e51b815260206004820152601b60248201527f54726164696e67206d75737420626520696e697469616c697a656400000000006044820152606401610cab565b61016e81106115f45760405162461bcd60e51b8152600401610cab90613126565b335f908152600d60209081526040918290208251608081018452815481526001820154928101839052600282015493810193909352600301546060830152156116c857611640336119d4565b1561166957335f908152600d602052604081208181556001810182905560028101829055600301555b335f908152600d6020526040902060010154156116c85760405162461bcd60e51b815260206004820152601960248201527f557365206163636f756e742077697468206e6f206c6f616e73000000000000006044820152606401610cab565b6116d0610fe3565b5f6116e242610da88562015180613173565b90505f6116ef85856113ad565b90505f6116fc82876131e8565b90505f600a61170c846003613173565b611716919061319e565b90505f6064611726846063613173565b611730919061319e565b90505f61173d82856131e8565b90505f61174a82856130db565b90505f61175783886130db565b90505f813411156117785761176c82346131e8565b905061177833826110ca565b8161178382346131e8565b146117d05760405162461bcd60e51b815260206004820152601b60248201527f496e73756666696369656e7420736f6e6963206665652073656e7400000000006044820152606401610cab565b5f6117db88856121af565b90506117e73082612c00565b6103e887116118085760405162461bcd60e51b8152600401610cab906131b1565b60085461181e906001600160a01b0316886110ca565b61182986828c61287c565b60405180608001604052808281526020018781526020018b81526020018d815250600d5f336001600160a01b03166001600160a01b031681526020019081526020015f205f820151815f015560208201518160010155604082015181600201556060820151816003015590505061189f8d612947565b5050505050505050505050610ebd6001600755565b6118bc612ab8565b6118c9607d6103e0613251565b61ffff168161ffff16111561192e5760405162461bcd60e51b815260206004820152602560248201527f62757920666565206d7573742062652067726561746572207468616e20464545604482015264535f42555960d81b6064820152608401610cab565b6103cf8161ffff1610156119845760405162461bcd60e51b815260206004820152601e60248201527f62757920666565206d757374206265206c657373207468616e20322e352500006044820152606401610cab565b6008805461ffff60b01b1916600160b01b61ffff8416908102919091179091556040519081527f11953a0453d6e2e337ab856b9de1f4818ffa2a51f3a9c12f924e2a043ae37f6d90602001610f75565b6001600160a01b03165f908152600d6020526040902060020154421190565b6119fb612ab8565b6115665f612cd1565b60065433906001600160a01b03168114611a3c5760405163118cdaa760e01b81526001600160a01b0382166004820152602401610cab565b6112e981612cd1565b611a50823383612ae5565b610ebd8282612b61565b5f611a636127f5565b335f908152600d60205260408120600281015460018201548254600390930154919390929190611a968762015180613173565b611aa090866130db565b90505f611aad8589610b7b565b9050611ab8336119d4565b15611ad55760405162461bcd60e51b8152600401610cab906131fb565b348114611b245760405162461bcd60e51b815260206004820152601c60248201527f4c6f616e20657874656e73696f6e2066656520696e636f7272656374000000006044820152606401610cab565b5f600a611b32836003613173565b611b3c919061319e565b90506103e88111611b5f5760405162461bcd60e51b8152600401610cab906131b1565b600854611b75906001600160a01b0316826110ca565b611b80868689612b95565b611b8b86868561287c565b335f908152600d60205260409020600201839055611ba9848a6130db565b335f908152600d602052604090206003015561016e62015180611bcc42866131e8565b611bd6919061319e565b10611c235760405162461bcd60e51b815260206004820152601b60248201527f4c6f616e206d75737420626520756e64657220333635206461797300000000006044820152606401610cab565b611c2c34612947565b5095505050505050611c3e6001600755565b919050565b5f6103e8611c4f6122ef565b60085461ffff600160b01b90910416611c6760025490565b611c719086613173565b611c7b9190613173565b611c85919061319e565b610bbb919061319e565b5f610fb983611c9d60025490565b84611ca66122ef565b610c7d91906130db565b6001600160a01b0381165f908152600d6020526040812060020154819081904211611d04575050506001600160a01b0381165f908152600d6020526040902080546001820154600290920154909190611d0d565b505f9150819050805b9193909250565b606060048054610bd0906130ee565b611d2b6127f5565b611d34336119d4565b15611d815760405162461bcd60e51b815260206004820152601760248201527f4c6f616e20657870697265642075736520626f72726f770000000000000000006044820152606401610cab565b805f03611dca5760405162461bcd60e51b815260206004820152601760248201527604d75737420626f72726f77206d6f7265207468616e203604c1b6044820152606401610cab565b611dd2610fe3565b335f908152600d60205260408120600181015481546002909201549092611df842612436565b90505f62015180611e0983856131e8565b611e13919061319e565b90505f611e208783610b7b565b90505f611e2c88612180565b90505f611e3888612180565b90505f816064611e498a6063613173565b611e53919061319e565b611e5d91906131e8565b905082808210611e6e57505f611e7b565b611e7882826131e8565b90505b5f600a611e89876003613173565b611e93919061319e565b90505f6064611ea38e6063613173565b611ead919061319e565b90505f611eba828e6130db565b90505f611ec7858e6130db565b905060405180608001604052808281526020018381526020018d81526020018b815250600d5f336001600160a01b03166001600160a01b031681526020019081526020015f205f820151815f0155602082015181600101556040820151816002015560608201518160030155905050845f14611f4857611f4833308761281f565b6103e88411611f695760405162461bcd60e51b8152600401610cab906131b1565b600854611f7f906001600160a01b0316856110ca565b611f8d3361056d8b866131e8565b611f9883868e61287c565b611fa189612947565b50505050505050505050505050506112e96001600755565b611fc16127f5565b611fca336119d4565b15611fe75760405162461bcd60e51b8152600401610cab906131fb565b611fef610fe3565b335f908152600d6020526040812060018101549054909161200f826122b4565b905061201b3083612b61565b5f6064612029836063613173565b612033919061319e565b90505f61204160648461319e565b9050848210156120af5760405162461bcd60e51b815260206004820152603360248201527f596f7520646f206e6f74206861766520656e6f75676820636f6c6c617465726160448201527236103a379031b637b9b2903837b9b4ba34b7b760691b6064820152608401610cab565b5f6120ba86846131e8565b90505f600a6120ca846003613173565b6120d4919061319e565b90506120e033836110ca565b6103e881116121015760405162461bcd60e51b8152600401610cab906131b1565b600854612117906001600160a01b0316826110ca565b335f908152600d60205260409020600201546121369088908890612b95565b335f908152600d6020526040812081815560018101829055600281018290556003015561216287612947565b505050505050506115666001600755565b5f33610c5e81858561281f565b5f5f61218a6122ef565b9050806121986001826131e8565b6002546121a59086613173565b610faf91906130db565b5f610fb9836112fa60025490565b6121c56127f5565b335f818152600d602052604090206001810154905490916121e5906119d4565b156122025760405162461bcd60e51b8152600401610cab906131fb565b34821461225c5760405162461bcd60e51b815260206004820152602260248201527f4d7573742072657475726e20656e7469726520626f72726f77656420616d6f756044820152611b9d60f21b6064820152608401610cab565b61226730338361281f565b335f908152600d60205260409020600201546122869083908390612b95565b335f908152600d60205260408120818155600181018290556002810182905560030181905561155a90612947565b5f6122be60025490565b60016122c960025490565b6122d391906131e8565b6122db6122ef565b6122e59085613173565b611c8591906130db565b5f6122f960095490565b61230390476130db565b905090565b61231f670de0b6b3a764000064174876e80061326b565b81565b61232a612ab8565b6103e08161ffff1611156123905760405162461bcd60e51b815260206004820152602760248201527f73656c6c20666565206d7573742062652067726561746572207468616e2046456044820152661154d7d4d1531360ca1b6064820152608401610cab565b6103cf8161ffff1610156123e65760405162461bcd60e51b815260206004820152601f60248201527f73656c6c20666565206d757374206265206c657373207468616e20322e3525006044820152606401610cab565b6008805461ffff60a01b1916600160a01b61ffff8416908102919091179091556040519081527f11953a0453d6e2e337ab856b9de1f4818ffa2a51f3a9c12f924e2a043ae37f6d90602001610f75565b5f806124456201518084613294565b61244f90846131e8565b9050610fb981620151806130db565b6124666127f5565b61246e610fe3565b5f61247882610c68565b90505f612486607d8361319e565b90506124923384612b61565b6008546124be9033906103e8906124b490600160a01b900461ffff1686613173565b61056d919061319e565b6103e881116125055760405162461bcd60e51b815260206004820152601360248201527236bab9ba103a3930b2329037bb32b91036b4b760691b6044820152606401610cab565b60085461251b906001600160a01b0316826110ca565b61252482612947565b50506112e96001600755565b5f610fb9838361253e6122ef565b610c7591906131e8565b6125506127f5565b612558610fe3565b600854600160d01b900460ff166125b15760405162461bcd60e51b815260206004820152601b60248201527f54726164696e67206d75737420626520696e697469616c697a656400000000006044820152606401610cab565b6001600160a01b0381166126075760405162461bcd60e51b815260206004820152601e60248201527f52656369657665722063616e6e6f7420626520307830206164647265737300006044820152606401610cab565b5f612611346112ec565b9050612648826103e861262f60085461ffff600160b01b9091041690565b6126399085613173565b612643919061319e565b612c00565b5f612654607d3461319e565b90506103e8811161269d5760405162461bcd60e51b815260206004820152601360248201527236bab9ba103a3930b2329037bb32b91036b4b760691b6044820152606401610cab565b6008546126b3906001600160a01b0316826110ca565b61252434612947565b6126c4612ab8565b600680546001600160a01b0383166001600160a01b031990911681179091556126f56005546001600160a01b031690565b6001600160a01b03167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e2270060405160405180910390a350565b5f838302815f1985870982811083820303915050805f03612761578382816127575761275761318a565b0492505050610fb9565b808411612778576127786003851502601118612cea565b5f848688095f868103871696879004966002600389028118808a02820302808a02820302808a02820302808a02820302808a02820302808a02909103029181900381900460010186841190950394909402919094039290920491909117919091029150509392505050565b6127f08383836001612cfb565b505050565b60026007540361281857604051633ee5aeb560e01b815260040160405180910390fd5b6002600755565b6001600160a01b03831661284857604051634b637e8f60e11b81525f6004820152602401610cab565b6001600160a01b0382166128715760405163ec442f0560e01b81525f6004820152602401610cab565b6127f0838383612dcd565b5f818152600f60205260409020546128959083906130db565b5f828152600f6020908152604080832093909355600e905220546128ba9084906130db565b5f828152600e60205260409020556009546128d69084906130db565b600955600a546128e79083906130db565b600a8190555f828152600f6020908152604080832054600e8352928190205460095482519485529284015282015260608101919091527faec00f5213a37254bc68a26b0685d1a5b2bf513e1e587c94c7df7f4a62b56c9c9060800161119e565b5f61295160025490565b6129596122ef565b61296b90670de0b6b3a7640000613173565b612975919061319e565b305f9081526020819052604081205491925050600a54811015612a195760405162461bcd60e51b815260206004820152605060248201527f54686520656767732062616c616e6365206f662074686520636f6e747261637460448201527f206d7573742062652067726561746572207468616e206f7220657175616c207460648201526f1bc81d1a194818dbdb1b185d195c985b60821b608482015260a401610cab565b81600c541115612a755760405162461bcd60e51b815260206004820152602160248201527f546865207072696365206f6620656767732063616e6e6f7420646563726561736044820152606560f81b6064820152608401610cab565b600c82905560408051428152602081018490529081018490527f4afcb4a87cdbd9974efdb92ee48bc8d7cd0ae4bf217004db3d080cbaee652ca79060600161119e565b6005546001600160a01b031633146115665760405163118cdaa760e01b8152336004820152602401610cab565b6001600160a01b038381165f908152600160209081526040808320938616835292905220545f19811015612b5b5781811015612b4d57604051637dc7a0d960e11b81526001600160a01b03841660048201526024810182905260448101839052606401610cab565b612b5b84848484035f612cfb565b50505050565b6001600160a01b038216612b8a57604051634b637e8f60e11b81525f6004820152602401610cab565b610ebd825f83612dcd565b5f818152600f6020526040902054612bae9083906131e8565b5f828152600f6020908152604080832093909355600e90522054612bd39084906131e8565b5f828152600e6020526040902055600954612bef9084906131e8565b600955600a546128e79083906131e8565b6001600160a01b038216612c565760405162461bcd60e51b815260206004820152601c60248201527f43616e2774206d696e7420746f20746f203078302061646472657373000000006044820152606401610cab565b80600b54612c6491906130db565b600b55612c7e670de0b6b3a764000064174876e80061326b565b6001600160801b0316600b541115612cc75760405162461bcd60e51b815260206004820152600c60248201526b4e4f204d4f5245204547475360a01b6044820152606401610cab565b610ebd8282612ef3565b600680546001600160a01b03191690556112e981612f27565b634e487b715f52806020526024601cfd5b6001600160a01b038416612d245760405163e602df0560e01b81525f6004820152602401610cab565b6001600160a01b038316612d4d57604051634a1406b160e11b81525f6004820152602401610cab565b6001600160a01b038085165f9081526001602090815260408083209387168352929052208290558015612b5b57826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92584604051612dbf91815260200190565b60405180910390a350505050565b6001600160a01b038316612df7578060025f828254612dec91906130db565b90915550612e679050565b6001600160a01b0383165f9081526020819052604090205481811015612e495760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401610cab565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b038216612e8357600280548290039055612ea1565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051612ee691815260200190565b60405180910390a3505050565b6001600160a01b038216612f1c5760405163ec442f0560e01b81525f6004820152602401610cab565b610ebd5f8383612dcd565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b5f60208284031215612f88575f5ffd5b5035919050565b5f5f60408385031215612fa0575f5ffd5b50508035926020909101359150565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b80356001600160a01b0381168114611c3e575f5ffd5b5f5f6040838503121561300b575f5ffd5b61301483612fe4565b946020939093013593505050565b5f60208284031215613032575f5ffd5b813561ffff81168114610fb9575f5ffd5b5f5f5f60608486031215613055575f5ffd5b61305e84612fe4565b925061306c60208501612fe4565b929592945050506040919091013590565b5f6020828403121561308d575f5ffd5b610fb982612fe4565b5f5f604083850312156130a7575f5ffd5b6130b083612fe4565b91506130be60208401612fe4565b90509250929050565b634e487b7160e01b5f52601160045260245ffd5b80820180821115610bbb57610bbb6130c7565b600181811c9082168061310257607f821691505b60208210810361312057634e487b7160e01b5f52602260045260245ffd5b50919050565b6020808252602d908201527f4d617820626f72726f772f657874656e73696f6e206d7573742062652033363560408201526c2064617973206f72206c65737360981b606082015260800190565b8082028115828204841417610bbb57610bbb6130c7565b634e487b7160e01b5f52601260045260245ffd5b5f826131ac576131ac61318a565b500490565b6020808252601d908201527f46656573206d75737420626520686967686572207468616e206d696e2e000000604082015260600190565b81810381811115610bbb57610bbb6130c7565b60208082526036908201527f596f7572206c6f616e20686173206265656e206c6971756964617465642c206e6040820152756f20636f6c6c61746572616c20746f2072656d6f766560501b606082015260800190565b61ffff8281168282160390811115610bbb57610bbb6130c7565b6001600160801b03818116838216029081169081811461328d5761328d6130c7565b5092915050565b5f826132a2576132a261318a565b50069056fea26469706673582212202a93f96a2d4f5d29e158dd3326589e1d70cd9cc85c98bcba4332f8360ed04e5e64736f6c634300081c0033
Deployed Bytecode Sourcemap
101048:21094:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;118558:254;;;;;;;;;;-1:-1:-1;118558:254:0;;;;;:::i;:::-;;:::i;:::-;;;;419:25:1;;;475:2;460:18;;453:34;;;;392:18;118558:254:0;;;;;;;;119484:97;;;;;;;;;;-1:-1:-1;119560:13:0;;119484:97;;;644:25:1;;;632:2;617:18;119484:97:0;498:177:1;108175:259:0;;;;;;;;;;-1:-1:-1;108175:259:0;;;;;:::i;:::-;;:::i;101736:28::-;;;;;;;;;;;;;;;;90498:91;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;92791:190::-;;;;;;;;;;-1:-1:-1;92791:190:0;;;;;:::i;:::-;;:::i;:::-;;;2102:14:1;;2095:22;2077:41;;2065:2;2050:18;92791:190:0;1937:187:1;120558:139:0;;;;;;;;;;-1:-1:-1;120558:139:0;;;;;:::i;:::-;;:::i;108442:1429::-;;;;;;;;;;-1:-1:-1;108442:1429:0;;;;;:::i;:::-;;:::i;101240:27::-;;;;;;;;;;-1:-1:-1;101240:27:0;;;;-1:-1:-1;;;101240:27:0;;;;;;;;;2303:6:1;2291:19;;;2273:38;;2261:2;2246:18;101240:27:0;2129:188:1;103796:287:0;;;;;;;;;;-1:-1:-1;103796:287:0;;;;;:::i;:::-;;:::i;91600:99::-;;;;;;;;;;-1:-1:-1;91679:12:0;;91600:99;;105606:184;;;;;;;;;;-1:-1:-1;105606:184:0;;;;;:::i;:::-;;:::i;93591:249::-;;;;;;;;;;-1:-1:-1;93591:249:0;;;;;:::i;:::-;;:::i;116462:693::-;;;;;;;;;;;;;:::i;121608:229::-;;;;;;;;;;-1:-1:-1;121608:229:0;;;;;:::i;:::-;;:::i;91451:84::-;;;;;;;;;;-1:-1:-1;91451:84:0;;91525:2;3120:36:1;;3108:2;3093:18;91451:84:0;2978:184:1;112027:742:0;;;;;;;;;;-1:-1:-1;112027:742:0;;;;;:::i;:::-;;:::i;120867:147::-;;;;;;;;;;-1:-1:-1;120867:147:0;;;;;:::i;:::-;;:::i;102130:34::-;;;;;;;;;;;;;;;;103032:168;;;;;;;;;;;;;:::i;101274:35::-;;;;;;;;;;-1:-1:-1;101274:35:0;;;;-1:-1:-1;;;101274:35:0;;;;;;105796:299;;;;;;;;;;-1:-1:-1;105796:299:0;;;;;:::i;:::-;;:::i;112775:572::-;;;:::i;100443:89::-;;;;;;;;;;-1:-1:-1;100443:89:0;;;;;:::i;:::-;;:::i;102016:49::-;;;;;;;;;;-1:-1:-1;102016:49:0;;;;;:::i;:::-;;;;;;;;;;;;;;106103:2064;;;;;;:::i;:::-;;:::i;91762:118::-;;;;;;;;;;-1:-1:-1;91762:118:0;;;;;:::i;:::-;-1:-1:-1;;;;;91854:18:0;91827:7;91854:18;;;;;;;;;;;;91762:118;103476:314;;;;;;;;;;-1:-1:-1;103476:314:0;;;;;:::i;:::-;;:::i;119230:135::-;;;;;;;;;;-1:-1:-1;119230:135:0;;;;;:::i;:::-;;:::i;55282:103::-;;;;;;;;;;;;;:::i;88643:235::-;;;;;;;;;;;;;:::i;100861:161::-;;;;;;;;;;-1:-1:-1;100861:161:0;;;;;:::i;:::-;;:::i;115147:1307::-;;;;;;:::i;:::-;;:::i;121858:206::-;;;;;;;;;;-1:-1:-1;121858:206:0;;;;;:::i;:::-;;:::i;54607:87::-;;;;;;;;;;-1:-1:-1;54680:6:0;;-1:-1:-1;;;;;54680:6:0;54607:87;;;-1:-1:-1;;;;;3522:32:1;;;3504:51;;3492:2;3477:18;54607:87:0;3358:203:1;121214:189:0;;;;;;;;;;-1:-1:-1;121214:189:0;;;;;:::i;:::-;;:::i;119373:84::-;;;;;;;;;;-1:-1:-1;119442:7:0;;-1:-1:-1;;;119442:7:0;;;;119373:84;;118820:402;;;;;;;;;;-1:-1:-1;118820:402:0;;;;;:::i;:::-;;:::i;:::-;;;;3768:25:1;;;3824:2;3809:18;;3802:34;;;;3852:18;;;3845:34;3756:2;3741:18;118820:402:0;3566:319:1;90708:95:0;;;;;;;;;;;;;:::i;109877:2142::-;;;;;;;;;;-1:-1:-1;109877:2142:0;;;;;:::i;:::-;;:::i;113951:1188::-;;;;;;;;;;;;;:::i;101703:26::-;;;;;;;;;;;;;;;;92085:182;;;;;;;;;;-1:-1:-1;92085:182:0;;;;;:::i;:::-;;:::i;101970:37::-;;;;;;;;;;-1:-1:-1;101970:37:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4121:25:1;;;4177:2;4162:18;;4155:34;;;;4205:18;;;4198:34;4263:2;4248:18;;4241:34;4108:3;4093:19;101970:37:0;3890:391:1;101205:28:0;;;;;;;;;;-1:-1:-1;101205:28:0;;;;-1:-1:-1;;;101205:28:0;;;;;;121411:189;;;;;;;;;;-1:-1:-1;121411:189:0;;;;;:::i;:::-;;:::i;121022:186::-;;;;;;;;;;-1:-1:-1;121022:186:0;;;;;:::i;:::-;;:::i;101462:25::-;;;;;;;;;;-1:-1:-1;101462:25:0;;;;-1:-1:-1;;;101462:25:0;;;;;;113353:592;;;:::i;120703:156::-;;;;;;;;;;-1:-1:-1;120703:156:0;;;;;:::i;:::-;;:::i;119698:120::-;;;;;;;;;;;;;:::i;102072:51::-;;;;;;;;;;-1:-1:-1;102072:51:0;;;;;:::i;:::-;;;;;;;;;;;;;;101639:57;;;;;;;;;;;;;:::i;:::-;;;-1:-1:-1;;;;;4450:47:1;;;4432:66;;4420:2;4405:18;101639:57:0;4286:218:1;119589:101:0;;;;;;;;;;-1:-1:-1;119667:15:0;;119589:101;;92330:142;;;;;;;;;;-1:-1:-1;92330:142:0;;;;;:::i;:::-;-1:-1:-1;;;;;92437:18:0;;;92410:7;92437:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;92330:142;104089:271;;;;;;;;;;-1:-1:-1;104089:271:0;;;;;:::i;:::-;;:::i;87604:101::-;;;;;;;;;;-1:-1:-1;87684:13:0;;-1:-1:-1;;;;;87684:13:0;87604:101;;118280:270;;;;;;;;;;-1:-1:-1;118280:270:0;;;;;:::i;:::-;;:::i;105016:584::-;;;;;;;;;;-1:-1:-1;105016:584:0;;;;;:::i;:::-;;:::i;120354:198::-;;;;;;;;;;-1:-1:-1;120354:198:0;;;;;:::i;:::-;;:::i;104366:644::-;;;;;;:::i;:::-;;:::i;88031:181::-;;;;;;;;;;-1:-1:-1;88031:181:0;;;;;:::i;:::-;;:::i;118558:254::-;118641:7;118650;118692:14;:42;118707:26;118728:4;118707:20;:26::i;:::-;118692:42;;;;;;;;;;;;118749:16;:44;118766:26;118787:4;118766:20;:26::i;:::-;118749:44;;;;;;;;;;;;118670:134;;;;118558:254;;;:::o;108175:259::-;108283:7;108303:16;108322:40;108334:8;108344:12;108358:3;108322:11;:40::i;:::-;:51;;108365:8;108322:51;:::i;:::-;108303:70;;108391:35;108403:6;108411:8;108421:4;108391:11;:35::i;:::-;108384:42;;;108175:259;;;;;:::o;90498:91::-;90543:13;90576:5;90569:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;90498:91;:::o;92791:190::-;92864:4;821:10;92920:31;821:10;92936:7;92945:5;92920:8;:31::i;:::-;-1:-1:-1;92969:4:0;;92791:190;-1:-1:-1;;;92791:190:0:o;120558:139::-;120615:7;120642:47;120654:5;120661:12;:10;:12::i;:::-;91679;;120642:11;:47::i;120675:13::-;120642:11;:47::i;108442:1429::-;8524:21;:19;:21::i;:::-;108563:3:::1;108548:12;:18;108526:113;;;;-1:-1:-1::0;;;108526:113:0::1;;;;;;;:::i;:::-;;;;;;;;;108658:5;108667:1;108658:10:::0;108650:46:::1;;;::::0;-1:-1:-1;;;108650:46:0;;6037:2:1;108650:46:0::1;::::0;::::1;6019:21:1::0;6076:2;6056:18;;;6049:30;-1:-1:-1;;;6095:18:1;;;6088:53;6158:18;;108650:46:0::1;5835:347:1::0;108650:46:0::1;108711:25;108725:10;108711:13;:25::i;:::-;108707:82;;;108766:10;108760:17;::::0;;;:5:::1;:17;::::0;;;;108753:24;;;::::1;::::0;::::1;::::0;;;::::1;::::0;::::1;::::0;;;::::1;;::::0;108707:82:::1;108827:10;108821:17;::::0;;;:5:::1;:17;::::0;;;;:26:::1;;::::0;:31;108799:110:::1;;;::::0;-1:-1:-1;;;108799:110:0;;6389:2:1;108799:110:0::1;::::0;::::1;6371:21:1::0;6428:2;6408:18;;;6401:30;6467:31;6447:18;;;6440:59;6516:18;;108799:110:0::1;6187:353:1::0;108799:110:0::1;108920:11;:9;:11::i;:::-;108942:15;108960:87;109021:15;108996:21;:12:::0;109011:6:::1;108996:21;:::i;:::-;108995:41;;;;:::i;108960:87::-;108942:105;;109060:16;109079:35;109094:5;109101:12;109079:14;:35::i;:::-;109060:54:::0;-1:-1:-1;109127:21:0::1;109168:2;109152:12;109060:54:::0;109163:1:::1;109152:12;:::i;:::-;109151:19;;;;:::i;:::-;109127:43;;109235:16;109254:25;109273:5;109254:18;:25::i;:::-;109235:44:::0;-1:-1:-1;109292:21:0::1;109331:3;109317:10;:5:::0;109325:2:::1;109317:10;:::i;:::-;109316:18;;;;:::i;:::-;109367:162;::::0;;::::1;::::0;::::1;::::0;;;;;::::1;::::0;;::::1;::::0;;;;;;;;;;;;;;;109353:10:::1;-1:-1:-1::0;109347:17:0;;;:5:::1;:17:::0;;;;;;;:182;;;;;;::::1;::::0;::::1;::::0;;::::1;::::0;::::1;::::0;;::::1;::::0;;::::1;::::0;109292:42;;-1:-1:-1;109542:46:0::1;::::0;109572:4:::1;109399:8:::0;109542:9:::1;:46::i;:::-;101192:4;109607:13;:19;109599:61;;;;-1:-1:-1::0;;;109599:61:0::1;;;;;;;:::i;:::-;109673:47;109683:10;109695:24;109711:8:::0;109695:13;:24:::1;:::i;109673:47::-;109741:11;::::0;109731:37:::1;::::0;-1:-1:-1;;;;;109741:11:0::1;109754:13:::0;109731:9:::1;:37::i;:::-;109781:48;109796:13;109811:8;109821:7;109781:14;:48::i;:::-;109842:21;109854:8;109842:11;:21::i;:::-;108515:1356;;;;;8568:20:::0;7859:1;9110:7;:21;8927:212;8568:20;108442:1429;;:::o;103796:287::-;54493:13;:11;:13::i;:::-;103886:2:::1;103876:6;:12;;;;103868:59;;;::::0;-1:-1:-1;;;103868:59:0;;7668:2:1;103868:59:0::1;::::0;::::1;7650:21:1::0;7707:2;7687:18;;;7680:30;7746:34;7726:18;;;7719:62;-1:-1:-1;;;7797:18:1;;;7790:32;7839:19;;103868:59:0::1;7466:398:1::0;103868:59:0::1;104013:16;:25:::0;;-1:-1:-1;;;;104013:25:0::1;-1:-1:-1::0;;;104013:25:0::1;::::0;::::1;::::0;;::::1;::::0;;;::::1;::::0;;;104054:21:::1;::::0;2273:38:1;;;104054:21:0::1;::::0;2261:2:1;2246:18;104054:21:0::1;;;;;;;;103796:287:::0;:::o;105606:184::-;105665:7;105685:12;105700:26;105719:6;105700:18;:26::i;:::-;105685:41;-1:-1:-1;101356:4:0;105753:11;119442:7;;;-1:-1:-1;;;119442:7:0;;;;;119373:84;105753:11;105746:18;;:4;:18;:::i;:::-;105745:36;;;;:::i;:::-;105737:45;105606:184;-1:-1:-1;;;105606:184:0:o;93591:249::-;93678:4;821:10;93736:37;93752:4;821:10;93767:5;93736:15;:37::i;:::-;93784:26;93794:4;93800:2;93804:5;93784:9;:26::i;:::-;-1:-1:-1;93828:4:0;;93591:249;-1:-1:-1;;;;93591:249:0:o;116462:693::-;116501:16;116528:18;116559:273;116588:15;116566:19;;:37;116559:273;;;116663:19;;116646:37;;;;:16;:37;;;;;;116633:50;;:10;:50;:::i;:::-;116735:19;;116720:35;;;;:14;:35;;;;;;116620:63;;-1:-1:-1;116709:46:0;;:8;:46;:::i;:::-;116698:57;;116792:19;;116814:6;116792:28;;;;:::i;:::-;116770:19;:50;116559:273;;;116846:15;;116842:141;;116914:10;116896:15;;:28;;;;:::i;:::-;116878:15;:46;116939:32;116953:4;116960:10;116939:5;:32::i;:::-;116997:13;;116993:155;;117059:8;117043:13;;:24;;;;:::i;:::-;117027:13;:40;117097:19;;117087:49;;117097:28;;117119:6;;117097:28;:::i;:::-;117087:49;;;419:25:1;;;475:2;460:18;;453:34;;;392:18;117087:49:0;;;;;;;116490:665;;116462:693::o;121608:229::-;121698:11;;:35;;121680:12;;-1:-1:-1;;;;;121698:11:0;;121722:6;;121680:12;121698:35;121680:12;121698:35;121722:6;121698:11;:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;121679:54;;;121752:7;121744:42;;;;-1:-1:-1;;;121744:42:0;;8884:2:1;121744:42:0;;;8866:21:1;8923:2;8903:18;;;8896:30;-1:-1:-1;;;8942:18:1;;;8935:52;9004:18;;121744:42:0;8682:346:1;121744:42:0;121802:27;;;-1:-1:-1;;;;;9225:32:1;;9207:51;;9289:2;9274:18;;9267:34;;;121802:27:0;;9180:18:1;121802:27:0;;;;;;;;121668:169;121608:229;;:::o;112027:742::-;8524:21;:19;:21::i;:::-;112123:25:::1;112137:10;112123:13;:25::i;:::-;112122:26;112100:130;;;;-1:-1:-1::0;;;112100:130:0::1;;;;;;;:::i;:::-;112241:11;:9;:11::i;:::-;112290:10;112263:18;112284:17:::0;;;:5:::1;:17;::::0;;;;:28;112472:3:::1;112431:32;112443:19;112456:6:::0;112284:28;112443:19:::1;:::i;112431:32::-;:37;::::0;112466:2:::1;112431:37;:::i;:::-;112430:45;;;;:::i;:::-;112389:10;112383:17;::::0;;;:5:::1;:17;::::0;;;;:26:::1;;::::0;:92:::1;;112361:176;;;::::0;-1:-1:-1;;;112361:176:0;;9937:2:1;112361:176:0::1;::::0;::::1;9919:21:1::0;9976:2;9956:18;;;9949:30;10015:34;9995:18;;;9988:62;-1:-1:-1;;;10066:18:1;;;10059:32;10108:19;;112361:176:0::1;9735:398:1::0;112361:176:0::1;112585:10;112579:17;::::0;;;:5:::1;:17;::::0;;;;:28;:37:::1;::::0;112610:6;;112579:37:::1;:::i;:::-;112554:10;112548:17;::::0;;;:5:::1;:17;::::0;;;;:68;;;;112627:44:::1;::::0;112645:4:::1;::::0;112664:6;112627:9:::1;:44::i;:::-;112714:10;112697:1;112708:17:::0;;;:5:::1;:17;::::0;;;;:25:::1;;::::0;112682:52:::1;::::0;112697:1;112700:6;;112682:14:::1;:52::i;:::-;112747:14;112759:1;112747:11;:14::i;:::-;112089:680;8568:20:::0;7859:1;9110:7;:21;8927:212;8568:20;112027:742;:::o;120867:147::-;120924:7;120951:55;120963:5;120970:13;91679:12;;;91600:99;120970:13;121000:5;120985:12;:10;:12::i;:::-;:20;;;;:::i;103032:168::-;54493:13;:11;:13::i;:::-;103088:11:::1;::::0;-1:-1:-1;;;;;103088:11:0::1;103080:60;;;::::0;-1:-1:-1;;;103080:60:0;;10340:2:1;103080:60:0::1;::::0;::::1;10322:21:1::0;10379:2;10359:18;;;10352:30;-1:-1:-1;;;10398:18:1;;;10391:50;10458:18;;103080:60:0::1;10138:344:1::0;103080:60:0::1;103151:5;:12:::0;;-1:-1:-1;;;;103151:12:0::1;-1:-1:-1::0;;;103151:12:0::1;::::0;;103179:13:::1;::::0;-1:-1:-1;2077:41:1;;103179:13:0::1;::::0;2065:2:1;2050:18;103179:13:0::1;;;;;;;103032:168::o:0;105796:299::-;105947:16;;105900:7;;;;101356:4;;105939:24;;-1:-1:-1;;;105947:16:0;;105938:42;105947:16;105939:5;:24;:::i;:::-;105938:42;;;;:::i;:::-;105920:60;;105993:16;106012:35;106027:5;106034:12;106012:14;:35::i;:::-;105993:54;-1:-1:-1;106068:18:0;105993:54;106068:7;:18;:::i;:::-;106060:27;105796:299;-1:-1:-1;;;;;105796:299:0:o;112775:572::-;8524:21;:19;:21::i;:::-;112856:10:::1;112831:16;112850:17:::0;;;:5:::1;:17;::::0;;;;:26:::1;;::::0;112906:9:::1;112895:20:::0;::::1;112887:69;;;::::0;-1:-1:-1;;;112887:69:0;;10689:2:1;112887:69:0::1;::::0;::::1;10671:21:1::0;10728:2;10708:18;;;10701:30;10767:34;10747:18;;;10740:62;-1:-1:-1;;;10818:18:1;;;10811:34;10862:19;;112887:69:0::1;10487:400:1::0;112887:69:0::1;112975:9;112988:1;112975:14:::0;112967:47:::1;;;::::0;-1:-1:-1;;;112967:47:0;;11094:2:1;112967:47:0::1;::::0;::::1;11076:21:1::0;11133:2;11113:18;;;11106:30;-1:-1:-1;;;11152:18:1;;;11145:50;11212:18;;112967:47:0::1;10892:344:1::0;112967:47:0::1;113050:25;113064:10;113050:13;:25::i;:::-;113049:26;113027:119;;;::::0;-1:-1:-1;;;113027:119:0;;11443:2:1;113027:119:0::1;::::0;::::1;11425:21:1::0;11482:2;11462:18;;;11455:30;11521:34;11501:18;;;11494:62;-1:-1:-1;;;11572:18:1;;;11565:41;11623:19;;113027:119:0::1;11241:407:1::0;113027:119:0::1;113157:17;113177:20;113188:9;113177:8:::0;:20:::1;:::i;:::-;113214:10;113208:17;::::0;;;:5:::1;:17;::::0;;;;:26:::1;::::0;::::1;:38:::0;;;113286:25:::1;;::::0;113157:40;;-1:-1:-1;113257:55:0::1;::::0;113272:9:::1;::::0;113208:17;113257:14:::1;:55::i;:::-;113325:14;113337:1;113325:11;:14::i;:::-;112820:527;;8568:20:::0;7859:1;9110:7;:21;8927:212;8568:20;112775:572::o;100443:89::-;100498:26;821:10;100518:5;100498;:26::i;106103:2064::-;8524:21;:19;:21::i;:::-;106230:5:::1;::::0;-1:-1:-1;;;106230:5:0;::::1;;;106222:45;;;::::0;-1:-1:-1;;;106222:45:0;;11855:2:1;106222:45:0::1;::::0;::::1;11837:21:1::0;11894:2;11874:18;;;11867:30;11933:29;11913:18;;;11906:57;11980:18;;106222:45:0::1;11653:351:1::0;106222:45:0::1;106315:3;106300:12;:18;106278:113;;;;-1:-1:-1::0;;;106278:113:0::1;;;;;;;:::i;:::-;106433:10;106404:20;106427:17:::0;;;:5:::1;:17;::::0;;;;;;;;106404:40;;::::1;::::0;::::1;::::0;;;;;;::::1;::::0;::::1;::::0;;;::::1;::::0;;;::::1;::::0;::::1;::::0;;;;;;;;::::1;;::::0;;;;;106459:22;106455:277:::1;;106502:25;106516:10;106502:13;:25::i;:::-;106498:90;;;106561:10;106555:17;::::0;;;:5:::1;:17;::::0;;;;106548:24;;;::::1;::::0;::::1;::::0;;;::::1;::::0;::::1;::::0;;;::::1;;::::0;106498:90:::1;106634:10;106628:17;::::0;;;:5:::1;:17;::::0;;;;:26:::1;;::::0;:31;106602:118:::1;;;::::0;-1:-1:-1;;;106602:118:0;;12211:2:1;106602:118:0::1;::::0;::::1;12193:21:1::0;12250:2;12230:18;;;12223:30;12289:27;12269:18;;;12262:55;12334:18;;106602:118:0::1;12009:349:1::0;106602:118:0::1;106742:11;:9;:11::i;:::-;106764:15;106782:87;106843:15;106818:21;:12:::0;106833:6:::1;106818:21;:::i;106782:87::-;106764:105;;106882:16;106901:32;106913:5;106920:12;106901:11;:32::i;:::-;106882:51:::0;-1:-1:-1;106946:17:0::1;106966:16;106882:51:::0;106966:5;:16:::1;:::i;:::-;106946:36:::0;-1:-1:-1;106995:24:0::1;107039:2;107023:12;:8:::0;107034:1:::1;107023:12;:::i;:::-;107022:19;;;;:::i;:::-;106995:46:::0;-1:-1:-1;107052:18:0::1;107092:3;107074:14;:9:::0;107086:2:::1;107074:14;:::i;:::-;107073:22;;;;:::i;:::-;107052:43:::0;-1:-1:-1;107106:35:0::1;107144:22;107052:43:::0;107144:9;:22:::1;:::i;:::-;107106:60:::0;-1:-1:-1;107177:16:0::1;107196:46;107106:60:::0;107196:16;:46:::1;:::i;:::-;107177:65:::0;-1:-1:-1;107253:16:0::1;107273:38;107284:27:::0;107273:8;:38:::1;:::i;:::-;107253:59;;107323:18;107368:8;107356:9;:20;107352:134;;;107406:20;107418:8:::0;107406:9:::1;:20;:::i;:::-;107393:33;;107441;107451:10;107463;107441:9;:33::i;:::-;107544:8:::0;107518:22:::1;107530:10:::0;107518:9:::1;:22;:::i;:::-;:34;107496:111;;;::::0;-1:-1:-1;;;107496:111:0;;12565:2:1;107496:111:0::1;::::0;::::1;12547:21:1::0;12604:2;12584:18;;;12577:30;12643:29;12623:18;;;12616:57;12690:18;;107496:111:0::1;12363:351:1::0;107496:111:0::1;107658:16;107677:35;107692:9;107703:8;107677:14;:35::i;:::-;107658:54;;107723:29;107736:4;107743:8;107723:4;:29::i;:::-;101192:4;107773:16;:22;107765:64;;;;-1:-1:-1::0;;;107765:64:0::1;;;;;;;:::i;:::-;107850:11;::::0;107840:40:::1;::::0;-1:-1:-1;;;;;107850:11:0::1;107863:16:::0;107840:9:::1;:40::i;:::-;107893:45;107908:10;107920:8;107930:7;107893:14;:45::i;:::-;107969:159;;;;;;;;108001:8;107969:159;;;;108034:10;107969:159;;;;108068:7;107969:159;;;;108104:12;107969:159;;::::0;107949:5:::1;:17;107955:10;-1:-1:-1::0;;;;;107949:17:0::1;-1:-1:-1::0;;;;;107949:17:0::1;;;;;;;;;;;;:179;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;108141:18;108153:5;108141:11;:18::i;:::-;106211:1956;;;;;;;;;;;8568:20:::0;7859:1;9110:7;:21;8927:212;103476:314;54493:13;:11;:13::i;:::-;103572:14:::1;101404:3;103572;:14;:::i;:::-;103562:24;;:6;:24;;;;103540:111;;;::::0;-1:-1:-1;;;103540:111:0;;13084:2:1;103540:111:0::1;::::0;::::1;13066:21:1::0;13123:2;13103:18;;;13096:30;13162:34;13142:18;;;13135:62;-1:-1:-1;;;13213:18:1;;;13206:35;13258:19;;103540:111:0::1;12882:401:1::0;103540:111:0::1;103680:3;103670:6;:13;;;;103662:56;;;::::0;-1:-1:-1;;;103662:56:0;;13490:2:1;103662:56:0::1;::::0;::::1;13472:21:1::0;13529:2;13509:18;;;13502:30;13568:32;13548:18;;;13541:60;13618:18;;103662:56:0::1;13288:354:1::0;103662:56:0::1;103729:7;:16:::0;;-1:-1:-1;;;;103729:16:0::1;-1:-1:-1::0;;;103729:16:0::1;::::0;::::1;::::0;;::::1;::::0;;;::::1;::::0;;;103761:21:::1;::::0;2273:38:1;;;103761:21:0::1;::::0;2261:2:1;2246:18;103761:21:0::1;2129:188:1::0;119230:135:0;-1:-1:-1;;;;;119316:15:0;119292:4;119316:15;;;:5;:15;;;;;:23;;;119342:15;-1:-1:-1;119316:41:0;119230:135::o;55282:103::-;54493:13;:11;:13::i;:::-;55347:30:::1;55374:1;55347:18;:30::i;88643:235::-:0;87684:13;;821:10;;-1:-1:-1;;;;;87684:13:0;88740:24;;88736:98;;88788:34;;-1:-1:-1;;;88788:34:0;;-1:-1:-1;;;;;3522:32:1;;88788:34:0;;;3504:51:1;3477:18;;88788:34:0;3358:203:1;88736:98:0;88844:26;88863:6;88844:18;:26::i;100861:161::-;100937:45;100953:7;821:10;100976:5;100937:15;:45::i;:::-;100993:21;100999:7;101008:5;100993;:21::i;115147:1307::-;115242:7;8524:21;:19;:21::i;:::-;115289:10:::1;115262:18;115283:17:::0;;;:5:::1;:17;::::0;;;;:25:::1;::::0;::::1;::::0;115338:26:::1;::::0;::::1;::::0;115396:28;;115459:30:::1;::::0;;::::1;::::0;115283:25;;115338:26;;115396:28;115459:30;115537:21:::1;:12:::0;115552:6:::1;115537:21;:::i;:::-;115523:36;::::0;:10;:36:::1;:::i;:::-;115502:57;;115572:15;115590:38;115605:8;115615:12;115590:14;:38::i;:::-;115572:56;;115662:25;115676:10;115662:13;:25::i;:::-;115661:26;115639:130;;;;-1:-1:-1::0;;;115639:130:0::1;;;;;;;:::i;:::-;115799:9;115788:7;:20;115780:61;;;::::0;-1:-1:-1;;;115780:61:0;;13849:2:1;115780:61:0::1;::::0;::::1;13831:21:1::0;13888:2;13868:18;;;13861:30;13927;13907:18;;;13900:58;13975:18;;115780:61:0::1;13647:352:1::0;115780:61:0::1;115852:21;115892:2;115877:11;:7:::0;115887:1:::1;115877:11;:::i;:::-;115876:18;;;;:::i;:::-;115852:42;;101192:4;115913:13;:19;115905:61;;;;-1:-1:-1::0;;;115905:61:0::1;;;;;;;:::i;:::-;115987:11;::::0;115977:37:::1;::::0;-1:-1:-1;;;;;115987:11:0::1;116000:13:::0;115977:9:::1;:37::i;:::-;116025:48;116040:8;116050:10;116062;116025:14;:48::i;:::-;116084;116099:8;116109:10;116121;116084:14;:48::i;:::-;116149:10;116143:17;::::0;;;:5:::1;:17;::::0;;;;:25:::1;;:38:::0;;;116225:28:::1;116240:13:::0;116225:12;:28:::1;:::i;:::-;116198:10;116192:17;::::0;;;:5:::1;:17;::::0;;;;:30:::1;;:61:::0;116328:3:::1;116319:6;116287:28;116300:15;116287:10:::0;:28:::1;:::i;:::-;116286:39;;;;:::i;:::-;:45;116264:122;;;::::0;-1:-1:-1;;;116264:122:0;;14206:2:1;116264:122:0::1;::::0;::::1;14188:21:1::0;14245:2;14225:18;;;14218:30;14284:29;14264:18;;;14257:57;14331:18;;116264:122:0::1;14004:351:1::0;116264:122:0::1;116399:22;116411:9;116399:11;:22::i;:::-;-1:-1:-1::0;116439:7:0;-1:-1:-1;;;;;;8568:20:0;7859:1;9110:7;:21;8927:212;8568:20;115147:1307;;;:::o;121858:206::-;121917:7;101356:4;122012:12;:10;:12::i;:::-;121986:7;;;-1:-1:-1;;;121986:7:0;;;;121968:13;91679:12;;;91600:99;121968:13;121958:24;;:6;:24;:::i;:::-;:36;;;;:::i;:::-;121957:68;;;;:::i;:::-;:99;;;;:::i;121214:189::-;121315:7;121342:53;121354:5;121361:13;91679:12;;;91600:99;121361:13;121391:3;121376:12;:10;:12::i;:::-;:18;;;;:::i;118820:402::-;-1:-1:-1;;;;;118943:15:0;;118901:7;118943:15;;;:5;:15;;;;;:23;;;118901:7;;;;118970:15;-1:-1:-1;118939:276:0;;-1:-1:-1;;;;;;;;119028:15:0;;;;;;:5;:15;;;;;:26;;119073:24;;;;119116:23;;;;;119028:26;;119073:24;119002:152;;118939:276;-1:-1:-1;119195:1:0;;-1:-1:-1;119195:1:0;;-1:-1:-1;119195:1:0;118939:276;118820:402;;;;;:::o;90708:95::-;90755:13;90788:7;90781:14;;;;;:::i;109877:2142::-;8524:21;:19;:21::i;:::-;109952:25:::1;109966:10;109952:13;:25::i;:::-;109951:26;109943:62;;;::::0;-1:-1:-1;;;109943:62:0;;14562:2:1;109943:62:0::1;::::0;::::1;14544:21:1::0;14601:2;14581:18;;;14574:30;14640:25;14620:18;;;14613:53;14683:18;;109943:62:0::1;14360:347:1::0;109943:62:0::1;110024:5;110033:1;110024:10:::0;110016:46:::1;;;::::0;-1:-1:-1;;;110016:46:0;;6037:2:1;110016:46:0::1;::::0;::::1;6019:21:1::0;6076:2;6056:18;;;6049:30;-1:-1:-1;;;6095:18:1;;;6088:53;6158:18;;110016:46:0::1;5835:347:1::0;110016:46:0::1;110073:11;:9;:11::i;:::-;110124:10;110095:20;110118:17:::0;;;:5:::1;:17;::::0;;;;:26:::1;::::0;::::1;::::0;110180:28;;110241:25:::1;::::0;;::::1;::::0;110118:26;;110303:37:::1;110324:15;110303:20;:37::i;:::-;110279:61:::0;-1:-1:-1;110351:23:0::1;110409:6;110378:27;110279:61:::0;110378:11;:27:::1;:::i;:::-;110377:38;;;;:::i;:::-;110351:64;;110428:16;110447:38;110462:5;110469:15;110447:14;:38::i;:::-;110428:57;;110550:16;110569:25;110588:5;110569:18;:25::i;:::-;110550:44;;110605:26;110634:32;110653:12;110634:18;:32::i;:::-;110605:61:::0;-1:-1:-1;110677:24:0::1;110605:61:::0;110743:3:::1;110705:21;110706:14:::0;110724:2:::1;110705:21;:::i;:::-;110704:42;;;;:::i;:::-;:76;;;;:::i;:::-;110677:103:::0;-1:-1:-1;110829:8:0;110852:28;;::::1;110848:229;;-1:-1:-1::0;110925:1:0::1;110848:229;;;111004:61;111049:16:::0;111004:25;:61:::1;:::i;:::-;110959:106;;110848:229;111089:21;111130:2;111114:12;:8:::0;111125:1:::1;111114:12;:::i;:::-;111113:19;;;;:::i;:::-;111089:43:::0;-1:-1:-1;111145:21:0::1;111184:3;111170:10;:5:::0;111178:2:::1;111170:10;:::i;:::-;111169:18;;;;:::i;:::-;111145:42:::0;-1:-1:-1;111200:26:0::1;111229:28;111145:42:::0;111229:12;:28:::1;:::i;:::-;111200:57:::0;-1:-1:-1;111268:30:0::1;111301:55;111331:25:::0;111301:14;:55:::1;:::i;:::-;111268:88;;111389:188;;;;;;;;111421:22;111389:188;;;;111468:18;111389:188;;;;111510:11;111389:188;;;;111550:15;111389:188;;::::0;111369:5:::1;:17;111375:10;-1:-1:-1::0;;;;;111369:17:0::1;-1:-1:-1::0;;;;;111369:17:0::1;;;;;;;;;;;;:208;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;111594:25;111623:1;111594:30;111590:126;;111641:63;111651:10;111671:4;111678:25;111641:9;:63::i;:::-;101192:4;111736:13;:19;111728:61;;;;-1:-1:-1::0;;;111728:61:0::1;;;;;;;:::i;:::-;111810:11;::::0;111800:37:::1;::::0;-1:-1:-1;;;;;111810:11:0::1;111823:13:::0;111800:9:::1;:37::i;:::-;111848:47;111858:10;111870:24;111886:8:::0;111870:13;:24:::1;:::i;111848:47::-;111908:69;111923:13;111938:25;111965:11;111908:14;:69::i;:::-;111990:21;112002:8;111990:11;:21::i;:::-;109932:2087;;;;;;;;;;;;;;8568:20:::0;7859:1;9110:7;:21;8927:212;113951:1188;8524:21;:19;:21::i;:::-;114035:25:::1;114049:10;114035:13;:25::i;:::-;114034:26;114012:130;;;;-1:-1:-1::0;;;114012:130:0::1;;;;;;;:::i;:::-;114153:11;:9;:11::i;:::-;114200:10;114175:16;114194:17:::0;;;:5:::1;:17;::::0;;;;:26:::1;::::0;::::1;::::0;114254:28;;114194:26;;114361:27:::1;114254:28:::0;114361:15:::1;:27::i;:::-;114333:55;;114399:32;114413:4;114420:10;114399:5;:32::i;:::-;114444:33;114507:3;114481:22;:17:::0;114501:2:::1;114481:22;:::i;:::-;114480:30;;;;:::i;:::-;114444:66:::0;-1:-1:-1;114523:11:0::1;114537:23;114557:3;114537:17:::0;:23:::1;:::i;:::-;114523:37;;114622:8;114593:25;:37;;114571:138;;;::::0;-1:-1:-1;;;114571:138:0;;14914:2:1;114571:138:0::1;::::0;::::1;14896:21:1::0;14953:2;14933:18;;;14926:30;14992:34;14972:18;;;14965:62;-1:-1:-1;;;15043:18:1;;;15036:49;15102:19;;114571:138:0::1;14712:415:1::0;114571:138:0::1;114722:14;114739:36;114767:8:::0;114739:25;:36:::1;:::i;:::-;114722:53:::0;-1:-1:-1;114786:21:0::1;114822:2;114811:7;:3:::0;114817:1:::1;114811:7;:::i;:::-;114810:14;;;;:::i;:::-;114786:38;;114837:29;114847:10;114859:6;114837:9;:29::i;:::-;101192:4;114887:13;:19;114879:61;;;;-1:-1:-1::0;;;114879:61:0::1;;;;;;;:::i;:::-;114961:11;::::0;114951:37:::1;::::0;-1:-1:-1;;;;;114961:11:0::1;114974:13:::0;114951:9:::1;:37::i;:::-;115042:10;115036:17;::::0;;;:5:::1;:17;::::0;;;;:25:::1;;::::0;114999:63:::1;::::0;115014:8;;115024:10;;114999:14:::1;:63::i;:::-;115088:10;115082:17;::::0;;;:5:::1;:17;::::0;;;;115075:24;;;::::1;::::0;::::1;::::0;;;::::1;::::0;::::1;::::0;;;::::1;;::::0;115110:21:::1;115122:8:::0;115110:11:::1;:21::i;:::-;114001:1138;;;;;;;8568:20:::0;7859:1;9110:7;:21;8927:212;92085:182;92154:4;821:10;92210:27;821:10;92227:2;92231:5;92210:9;:27::i;121411:189::-;121475:7;121495:15;121513:12;:10;:12::i;:::-;121495:30;-1:-1:-1;121495:30:0;121569:11;121579:1;121495:30;121569:11;:::i;:::-;91679:12;;121544:21;;:5;:21;:::i;:::-;:37;;;;:::i;121022:186::-;121120:7;121147:53;121159:5;121166:13;91679:12;;;91600:99;113353:592;8524:21;:19;:21::i;:::-;113442:10:::1;113417:16;113436:17:::0;;;:5:::1;:17;::::0;;;;:26:::1;::::0;::::1;::::0;113494:28;;113436:26;;113556:25:::1;::::0;:13:::1;:25::i;:::-;113555:26;113533:130;;;;-1:-1:-1::0;;;113533:130:0::1;;;;;;;:::i;:::-;113694:9;113682:8;:21;113674:68;;;::::0;-1:-1:-1;;;113674:68:0;;15334:2:1;113674:68:0::1;::::0;::::1;15316:21:1::0;15373:2;15353:18;;;15346:30;15412:34;15392:18;;;15385:62;-1:-1:-1;;;15463:18:1;;;15456:32;15505:19;;113674:68:0::1;15132:398:1::0;113674:68:0::1;113753:48;113771:4;113778:10;113790;113753:9;:48::i;:::-;113855:10;113849:17;::::0;;;:5:::1;:17;::::0;;;;:25:::1;;::::0;113812:63:::1;::::0;113827:8;;113837:10;;113812:14:::1;:63::i;:::-;113901:10;113895:17;::::0;;;:5:::1;:17;::::0;;;;113888:24;;;::::1;::::0;::::1;::::0;;;::::1;::::0;::::1;::::0;;;::::1;;::::0;;;113923:14:::1;::::0;:11:::1;:14::i;120703:156::-:0;120764:7;120838:13;91679:12;;;91600:99;120838:13;120832:1;120816:13;91679:12;;;91600:99;120816:13;:17;;;;:::i;:::-;120800:12;:10;:12::i;:::-;120792:20;;:5;:20;:::i;:::-;:42;;;;:::i;119698:120::-;119741:7;119792:18;119560:13;;;119484:97;119792:18;119768:42;;:21;:42;:::i;:::-;119761:49;;119698:120;:::o;101639:57::-;101675:21;101534:12;101675:8;:21;:::i;:::-;101639:57;:::o;104089:271::-;54493:13;:11;:13::i;:::-;104172:3:::1;104162:6;:13;;;;104154:65;;;::::0;-1:-1:-1;;;104154:65:0;;16059:2:1;104154:65:0::1;::::0;::::1;16041:21:1::0;16098:2;16078:18;;;16071:30;16137:34;16117:18;;;16110:62;-1:-1:-1;;;16188:18:1;;;16181:37;16235:19;;104154:65:0::1;15857:403:1::0;104154:65:0::1;104248:3;104238:6;:13;;;;104230:57;;;::::0;-1:-1:-1;;;104230:57:0;;16467:2:1;104230:57:0::1;::::0;::::1;16449:21:1::0;16506:2;16486:18;;;16479:30;16545:33;16525:18;;;16518:61;16596:18;;104230:57:0::1;16265:355:1::0;104230:57:0::1;104298:8;:17:::0;;-1:-1:-1;;;;104298:17:0::1;-1:-1:-1::0;;;104298:17:0::1;::::0;::::1;::::0;;::::1;::::0;;;::::1;::::0;;;104331:21:::1;::::0;2273:38:1;;;104331:21:0::1;::::0;2261:2:1;2246:18;104331:21:0::1;2129:188:1::0;118280:270:0;118345:7;;118401:12;118408:5;118401:4;:12;:::i;:::-;118393:21;;:4;:21;:::i;:::-;118365:49;-1:-1:-1;118516:26:0;118365:49;118536:6;118516:26;:::i;105016:584::-;8524:21;:19;:21::i;:::-;105077:11:::1;:9;:11::i;:::-;105172:13;105188:17;105200:4;105188:11;:17::i;:::-;105172:33:::0;-1:-1:-1;105242:24:0::1;105269:17;101450:3;105172:33:::0;105269:17:::1;:::i;:::-;105242:44;;105297:23;105303:10;105315:4;105297:5;:23::i;:::-;105394:8;::::0;105363:57:::1;::::0;105373:10:::1;::::0;101356:4:::1;::::0;105386:16:::1;::::0;-1:-1:-1;;;105394:8:0;::::1;105385:34;105394:8;105386:5:::0;:16:::1;:::i;:::-;105385:34;;;;:::i;105363:57::-;101192:4;105464:16;:22;105456:54;;;::::0;-1:-1:-1;;;105456:54:0;;16944:2:1;105456:54:0::1;::::0;::::1;16926:21:1::0;16983:2;16963:18;;;16956:30;-1:-1:-1;;;17002:18:1;;;16995:49;17061:18;;105456:54:0::1;16742:343:1::0;105456:54:0::1;105531:11;::::0;105521:40:::1;::::0;-1:-1:-1;;;;;105531:11:0::1;105544:16:::0;105521:9:::1;:40::i;:::-;105574:18;105586:5;105574:11;:18::i;:::-;105066:534;;8568:20:::0;7859:1;9110:7;:21;8927:212;120354:198;120458:7;120485:59;120497:5;120519:9;120504:12;:10;:12::i;:::-;:24;;;;:::i;104366:644::-;8524:21;:19;:21::i;:::-;104438:11:::1;:9;:11::i;:::-;104468:5;::::0;-1:-1:-1;;;104468:5:0;::::1;;;104460:45;;;::::0;-1:-1:-1;;;104460:45:0;;11855:2:1;104460:45:0::1;::::0;::::1;11837:21:1::0;11894:2;11874:18;;;11867:30;11933:29;11913:18;;;11906:57;11980:18;;104460:45:0::1;11653:351:1::0;104460:45:0::1;-1:-1:-1::0;;;;;104526:24:0;::::1;104518:67;;;::::0;-1:-1:-1;;;104518:67:0;;17292:2:1;104518:67:0::1;::::0;::::1;17274:21:1::0;17331:2;17311:18;;;17304:30;17370:32;17350:18;;;17343:60;17420:18;;104518:67:0::1;17090:354:1::0;104518:67:0::1;104668:12;104683:22;104695:9;104683:11;:22::i;:::-;104668:37:::0;-1:-1:-1;104718:52:0::1;104723:8:::0;101356:4:::1;104741:11;119442:7:::0;;;-1:-1:-1;;;119442:7:0;;;;;119373:84;104741:11:::1;104734:18;::::0;:4;:18:::1;:::i;:::-;104733:36;;;;:::i;:::-;104718:4;:52::i;:::-;104804:24;104831:20;101404:3;104831:9;:20;:::i;:::-;104804:47;;101192:4;104870:16;:22;104862:54;;;::::0;-1:-1:-1;;;104862:54:0;;16944:2:1;104862:54:0::1;::::0;::::1;16926:21:1::0;16983:2;16963:18;;;16956:30;-1:-1:-1;;;17002:18:1;;;16995:49;17061:18;;104862:54:0::1;16742:343:1::0;104862:54:0::1;104937:11;::::0;104927:40:::1;::::0;-1:-1:-1;;;;;104937:11:0::1;104950:16:::0;104927:9:::1;:40::i;:::-;104980:22;104992:9;104980:11;:22::i;88031:181::-:0;54493:13;:11;:13::i;:::-;88121::::1;:24:::0;;-1:-1:-1;;;;;88121:24:0;::::1;-1:-1:-1::0;;;;;;88121:24:0;;::::1;::::0;::::1;::::0;;;88186:7:::1;54680:6:::0;;-1:-1:-1;;;;;54680:6:0;;54607:87;88186:7:::1;-1:-1:-1::0;;;;;88161:43:0::1;;;;;;;;;;;88031:181:::0;:::o;61178:4305::-;61260:14;61636:5;;;61260:14;-1:-1:-1;;61640:1:0;61636;61811:20;61885:5;61881:2;61878:13;61870:5;61866:2;61862:14;61858:34;61849:43;;;61991:5;62000:1;61991:10;61987:373;;62333:11;62325:5;:19;;;;;:::i;:::-;;62318:26;;;;;;61987:373;62488:5;62473:11;:20;62469:145;;62514:84;59192:5;62534:16;;59191:36;4897:4;59186:42;62514:11;:84::i;:::-;62876:17;63014:11;63011:1;63008;63001:25;63424:12;63454:15;;;63439:31;;63576:22;;;;;64337:1;64318;:15;;64317:21;;64574;;;64570:25;;64559:36;64645:21;;;64641:25;;64630:36;64718:21;;;64714:25;;64703:36;64790:21;;;64786:25;;64775:36;64864:21;;;64860:25;;64849:36;64939:21;;;64935:25;;;64924:36;63831:12;;;;63827:23;;;63852:1;63823:31;63131:20;;;63120:32;;;63947:12;;;;63179:21;;;;63677:16;;;;63938:21;;;;65421:15;;;;;-1:-1:-1;;61178:4305:0;;;;;:::o;97650:130::-;97735:37;97744:5;97751:7;97760:5;97767:4;97735:8;:37::i;:::-;97650:130;;;:::o;8604:315::-;7902:1;8733:7;;:18;8729:88;;8775:30;;-1:-1:-1;;;8775:30:0;;;;;;;;;;;8729:88;7902:1;8894:7;:17;8604:315::o;94225:308::-;-1:-1:-1;;;;;94309:18:0;;94305:88;;94351:30;;-1:-1:-1;;;94351:30:0;;94378:1;94351:30;;;3504:51:1;3477:18;;94351:30:0;3358:203:1;94305:88:0;-1:-1:-1;;;;;94407:16:0;;94403:88;;94447:32;;-1:-1:-1;;;94447:32:0;;94476:1;94447:32;;;3504:51:1;3477:18;;94447:32:0;3358:203:1;94403:88:0;94501:24;94509:4;94515:2;94519:5;94501:7;:24::i;117163:541::-;117317:22;;;;:16;:22;;;;;;:35;;117342:10;;117317:35;:::i;:::-;117292:22;;;;:16;:22;;;;;;;;:60;;;;117386:14;:20;;;;:31;;117409:8;;117386:31;:::i;:::-;117363:20;;;;:14;:20;;;;;:54;117444:13;;:24;;117460:8;;117444:24;:::i;:::-;117428:13;:40;117497:15;;:28;;117515:10;;117497:28;:::i;:::-;117479:15;:46;;;117570:22;;;;:16;:22;;;;;;;;;117607:14;:20;;;;;;;117642:13;;117541:155;;4121:25:1;;;4162:18;;;4155:34;4205:18;;4198:34;4263:2;4248:18;;4241:34;;;;117541:155:0;;4108:3:1;4093:19;117541:155:0;3890:391:1;119826:522:0;119881:16;119927:13;91679:12;;;91600:99;119927:13;119901:12;:10;:12::i;:::-;:22;;119916:7;119901:22;:::i;:::-;119900:40;;;;:::i;:::-;119995:4;119951:23;91854:18;;;;;;;;;;;119881:59;;-1:-1:-1;119951:50:0;120053:15;;120034;:34;;120012:164;;;;-1:-1:-1;;;120012:164:0;;17651:2:1;120012:164:0;;;17633:21:1;17690:2;17670:18;;;17663:30;17729:34;17709:18;;;17702:62;17800:34;17780:18;;;17773:62;-1:-1:-1;;;17851:19:1;;;17844:47;17908:19;;120012:164:0;17449:484:1;120012:164:0;120208:8;120195:9;;:21;;120187:67;;;;-1:-1:-1;;;120187:67:0;;18140:2:1;120187:67:0;;;18122:21:1;18179:2;18159:18;;;18152:30;18218:34;18198:18;;;18191:62;-1:-1:-1;;;18269:18:1;;;18262:31;18310:19;;120187:67:0;17938:397:1;120187:67:0;120265:9;:20;;;120301:39;;;120307:15;3768:25:1;;3824:2;3809:18;;3802:34;;;3852:18;;;3845:34;;;120301:39:0;;3756:2:1;3741:18;120301:39:0;3566:319:1;54772:166:0;54680:6;;-1:-1:-1;;;;;54680:6:0;821:10;54832:23;54828:103;;54879:40;;-1:-1:-1;;;54879:40:0;;821:10;54879:40;;;3504:51:1;3477:18;;54879:40:0;3358:203:1;99382:486:0;-1:-1:-1;;;;;92437:18:0;;;99482:24;92437:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;-1:-1:-1;;99549:36:0;;99545:316;;;99625:5;99606:16;:24;99602:132;;;99658:60;;-1:-1:-1;;;99658:60:0;;-1:-1:-1;;;;;18560:32:1;;99658:60:0;;;18542:51:1;18609:18;;;18602:34;;;18652:18;;;18645:34;;;18515:18;;99658:60:0;18340:345:1;99602:132:0;99777:57;99786:5;99793:7;99821:5;99802:16;:24;99828:5;99777:8;:57::i;:::-;99471:397;99382:486;;;:::o;96886:211::-;-1:-1:-1;;;;;96957:21:0;;96953:91;;97002:30;;-1:-1:-1;;;97002:30:0;;97029:1;97002:30;;;3504:51:1;3477:18;;97002:30:0;3358:203:1;96953:91:0;97054:35;97062:7;97079:1;97083:5;97054:7;:35::i;117710:541::-;117864:22;;;;:16;:22;;;;;;:35;;117889:10;;117864:35;:::i;:::-;117839:22;;;;:16;:22;;;;;;;;:60;;;;117933:14;:20;;;;:31;;117956:8;;117933:31;:::i;:::-;117910:20;;;;:14;:20;;;;;:54;117991:13;;:24;;118007:8;;117991:24;:::i;:::-;117975:13;:40;118044:15;;:28;;118062:10;;118044:28;:::i;103208:260::-;-1:-1:-1;;;;;103276:18:0;;103268:59;;;;-1:-1:-1;;;103268:59:0;;18892:2:1;103268:59:0;;;18874:21:1;18931:2;18911:18;;;18904:30;18970;18950:18;;;18943:58;19018:18;;103268:59:0;18690:352:1;103268:59:0;103366:5;103352:11;;:19;;;;:::i;:::-;103338:11;:33;101675:21;101534:12;101675:8;:21;:::i;:::-;-1:-1:-1;;;;;103390:24:0;:11;;:24;;103382:49;;;;-1:-1:-1;;;103382:49:0;;19249:2:1;103382:49:0;;;19231:21:1;19288:2;19268:18;;;19261:30;-1:-1:-1;;;19307:18:1;;;19300:42;19359:18;;103382:49:0;19047:336:1;103382:49:0;103444:16;103450:2;103454:5;103444;:16::i;88402:156::-;88492:13;88485:20;;-1:-1:-1;;;;;;88485:20:0;;;88516:34;88541:8;88516:24;:34::i;5751:200::-;5858:10;5852:4;5845:24;5896:4;5890;5883:18;5928:4;5922;5915:18;98647:443;-1:-1:-1;;;;;98760:19:0;;98756:91;;98803:32;;-1:-1:-1;;;98803:32:0;;98832:1;98803:32;;;3504:51:1;3477:18;;98803:32:0;3358:203:1;98756:91:0;-1:-1:-1;;;;;98861:21:0;;98857:92;;98906:31;;-1:-1:-1;;;98906:31:0;;98934:1;98906:31;;;3504:51:1;3477:18;;98906:31:0;3358:203:1;98857:92:0;-1:-1:-1;;;;;98959:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;:35;;;99005:78;;;;99056:7;-1:-1:-1;;;;;99040:31:0;99049:5;-1:-1:-1;;;;;99040:31:0;;99065:5;99040:31;;;;644:25:1;;632:2;617:18;;498:177;99040:31:0;;;;;;;;98647:443;;;;:::o;94857:1135::-;-1:-1:-1;;;;;94947:18:0;;94943:552;;95101:5;95085:12;;:21;;;;;;;:::i;:::-;;;;-1:-1:-1;94943:552:0;;-1:-1:-1;94943:552:0;;-1:-1:-1;;;;;95161:15:0;;95139:19;95161:15;;;;;;;;;;;95195:19;;;95191:117;;;95242:50;;-1:-1:-1;;;95242:50:0;;-1:-1:-1;;;;;18560:32:1;;95242:50:0;;;18542:51:1;18609:18;;;18602:34;;;18652:18;;;18645:34;;;18515:18;;95242:50:0;18340:345:1;95191:117:0;-1:-1:-1;;;;;95431:15:0;;:9;:15;;;;;;;;;;95449:19;;;;95431:37;;94943:552;-1:-1:-1;;;;;95511:16:0;;95507:435;;95677:12;:21;;;;;;;95507:435;;;-1:-1:-1;;;;;95893:13:0;;:9;:13;;;;;;;;;;:22;;;;;;95507:435;95974:2;-1:-1:-1;;;;;95959:25:0;95968:4;-1:-1:-1;;;;;95959:25:0;;95978:5;95959:25;;;;644::1;;632:2;617:18;;498:177;95959:25:0;;;;;;;;94857:1135;;;:::o;96345:213::-;-1:-1:-1;;;;;96416:21:0;;96412:93;;96461:32;;-1:-1:-1;;;96461:32:0;;96490:1;96461:32;;;3504:51:1;3477:18;;96461:32:0;3358:203:1;96412:93:0;96515:35;96531:1;96535:7;96544:5;96515:7;:35::i;55920:191::-;56013:6;;;-1:-1:-1;;;;;56030:17:0;;;-1:-1:-1;;;;;;56030:17:0;;;;;;;56063:40;;56013:6;;;56030:17;56013:6;;56063:40;;55994:16;;56063:40;55983:128;55920:191;:::o;14:226:1:-;73:6;126:2;114:9;105:7;101:23;97:32;94:52;;;142:1;139;132:12;94:52;-1:-1:-1;187:23:1;;14:226;-1:-1:-1;14:226:1:o;680:346::-;748:6;756;809:2;797:9;788:7;784:23;780:32;777:52;;;825:1;822;815:12;777:52;-1:-1:-1;;870:23:1;;;990:2;975:18;;;962:32;;-1:-1:-1;680:346:1:o;1031:418::-;1180:2;1169:9;1162:21;1143:4;1212:6;1206:13;1255:6;1250:2;1239:9;1235:18;1228:34;1314:6;1309:2;1301:6;1297:15;1292:2;1281:9;1277:18;1271:50;1370:1;1365:2;1356:6;1345:9;1341:22;1337:31;1330:42;1440:2;1433;1429:7;1424:2;1416:6;1412:15;1408:29;1397:9;1393:45;1389:54;1381:62;;;1031:418;;;;:::o;1454:173::-;1522:20;;-1:-1:-1;;;;;1571:31:1;;1561:42;;1551:70;;1617:1;1614;1607:12;1632:300;1700:6;1708;1761:2;1749:9;1740:7;1736:23;1732:32;1729:52;;;1777:1;1774;1767:12;1729:52;1800:29;1819:9;1800:29;:::i;:::-;1790:39;1898:2;1883:18;;;;1870:32;;-1:-1:-1;;;1632:300:1:o;2322:272::-;2380:6;2433:2;2421:9;2412:7;2408:23;2404:32;2401:52;;;2449:1;2446;2439:12;2401:52;2488:9;2475:23;2538:6;2531:5;2527:18;2520:5;2517:29;2507:57;;2560:1;2557;2550:12;2599:374;2676:6;2684;2692;2745:2;2733:9;2724:7;2720:23;2716:32;2713:52;;;2761:1;2758;2751:12;2713:52;2784:29;2803:9;2784:29;:::i;:::-;2774:39;;2832:38;2866:2;2855:9;2851:18;2832:38;:::i;:::-;2599:374;;2822:48;;-1:-1:-1;;;2939:2:1;2924:18;;;;2911:32;;2599:374::o;3167:186::-;3226:6;3279:2;3267:9;3258:7;3254:23;3250:32;3247:52;;;3295:1;3292;3285:12;3247:52;3318:29;3337:9;3318:29;:::i;4509:260::-;4577:6;4585;4638:2;4626:9;4617:7;4613:23;4609:32;4606:52;;;4654:1;4651;4644:12;4606:52;4677:29;4696:9;4677:29;:::i;:::-;4667:39;;4725:38;4759:2;4748:9;4744:18;4725:38;:::i;:::-;4715:48;;4509:260;;;;;:::o;4774:127::-;4835:10;4830:3;4826:20;4823:1;4816:31;4866:4;4863:1;4856:15;4890:4;4887:1;4880:15;4906:125;4971:9;;;4992:10;;;4989:36;;;5005:18;;:::i;5036:380::-;5115:1;5111:12;;;;5158;;;5179:61;;5233:4;5225:6;5221:17;5211:27;;5179:61;5286:2;5278:6;5275:14;5255:18;5252:38;5249:161;;5332:10;5327:3;5323:20;5320:1;5313:31;5367:4;5364:1;5357:15;5395:4;5392:1;5385:15;5249:161;;5036:380;;;:::o;5421:409::-;5623:2;5605:21;;;5662:2;5642:18;;;5635:30;5701:34;5696:2;5681:18;;5674:62;-1:-1:-1;;;5767:2:1;5752:18;;5745:43;5820:3;5805:19;;5421:409::o;6545:168::-;6618:9;;;6649;;6666:15;;;6660:22;;6646:37;6636:71;;6687:18;;:::i;6718:127::-;6779:10;6774:3;6770:20;6767:1;6760:31;6810:4;6807:1;6800:15;6834:4;6831:1;6824:15;6850:120;6890:1;6916;6906:35;;6921:18;;:::i;:::-;-1:-1:-1;6955:9:1;;6850:120::o;6975:353::-;7177:2;7159:21;;;7216:2;7196:18;;;7189:30;7255:31;7250:2;7235:18;;7228:59;7319:2;7304:18;;6975:353::o;7333:128::-;7400:9;;;7421:11;;;7418:37;;;7435:18;;:::i;9312:418::-;9514:2;9496:21;;;9553:2;9533:18;;;9526:30;9592:34;9587:2;9572:18;;9565:62;-1:-1:-1;;;9658:2:1;9643:18;;9636:52;9720:3;9705:19;;9312:418::o;12719:158::-;12812:6;12805:14;;;12789;;;12785:35;;12832:16;;12829:42;;;12851:18;;:::i;15535:317::-;-1:-1:-1;;;;;15620:42:1;;;15664;;;15616:91;15727:52;;;;15798:24;;;15788:58;;15826:18;;:::i;:::-;15788:58;15535:317;;;;:::o;16625:112::-;16657:1;16683;16673:35;;16688:18;;:::i;:::-;-1:-1:-1;16722:9:1;;16625:112::o
Swarm Source
ipfs://2a93f96a2d4f5d29e158dd3326589e1d70cd9cc85c98bcba4332f8360ed04e5e
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.