ERC-20
Overview
Max Total Supply
3,887.756817771644689003 SPOINT-9
Holders
8
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Filtered by Token Holder
Pendle: YT-sfPEPE-26SEP2024 TokenBalance
2,526.423489586890097445 SPOINT-9Value
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Similar Match Source Code This contract matches the deployed Bytecode of the Source Code for Contract 0xD21335C3...ADF990Ed4 The constructor portion of the code might be different and could alter the actual behaviour of the contract
Contract Name:
PendleSophonPointManager
Compiler Version
v0.8.24+commit.e11b9ed9
Optimization Enabled:
Yes with 1000000 runs
Other Settings:
paris EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: GPL-3.0-or-later pragma solidity ^0.8.0; import "../../../erc20/PendleERC20.sol"; import "../../../libraries/BoringOwnableUpgradeable.sol"; import "../../../../interfaces/Sophon/ISophonFarming.sol"; import "../../../../interfaces/Sophon/IPSophonPointManager.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; contract PendleSophonPointManager is PendleERC20, BoringOwnableUpgradeable, IPSophonPointManager { // solhint-disable immutable-vars-naming address public immutable sophonFarming; uint256 public immutable pid; address public immutable sy; mapping(address => bool) public isAddressWhitelisted; constructor( address _sophonFarming, uint256 _pid, address _sy ) PendleERC20("Pendle Sophon Point Receipt Token", __getSpointSymbol(_pid), 18) initializer { sophonFarming = _sophonFarming; pid = _pid; sy = _sy; __BoringOwnable_init(); } function __getSpointSymbol(uint256 _pid) internal pure returns (string memory) { string memory id = Strings.toString(_pid); return string(abi.encodePacked("SPOINT-", id)); } function claimPointReceiptToken() external { uint256 floatingPoints = _getOwningPoints() - totalSupply(); _mint(sy, floatingPoints); } function addWhitelistedAddress(address addr) external onlyOwner { isAddressWhitelisted[addr] = true; } function _getOwningPoints() internal view returns (uint256) { return ISophonFarming(sophonFarming).pendingPoints(pid, address(this)); } function _afterTokenTransfer(address, address to, uint256 amount) internal virtual override { if (amount != 0 && to != address(0) && _shouldBurnReceiptToken(to)) { _burn(to, amount); ISophonFarming(sophonFarming).transferPoints(pid, address(this), to, amount); } } function _shouldBurnReceiptToken(address addr) internal view returns (bool) { return addr != sy && !isAddressWhitelisted[addr]; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (proxy/utils/Initializable.sol) pragma solidity ^0.8.2; import "../../utils/AddressUpgradeable.sol"; /** * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed * behind a proxy. Since proxied contracts do not make use of a constructor, it's common to move constructor logic to an * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect. * * The initialization functions use a version number. Once a version number is used, it is consumed and cannot be * reused. This mechanism prevents re-execution of each "step" but allows the creation of new initialization steps in * case an upgrade adds a module that needs to be initialized. * * For example: * * [.hljs-theme-light.nopadding] * ```solidity * contract MyToken is ERC20Upgradeable { * function initialize() initializer public { * __ERC20_init("MyToken", "MTK"); * } * } * * contract MyTokenV2 is MyToken, ERC20PermitUpgradeable { * function initializeV2() reinitializer(2) public { * __ERC20Permit_init("MyToken"); * } * } * ``` * * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as * possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}. * * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity. * * [CAUTION] * ==== * Avoid leaving a contract uninitialized. * * An uninitialized contract can be taken over by an attacker. This applies to both a proxy and its implementation * contract, which may impact the proxy. To prevent the implementation contract from being used, you should invoke * the {_disableInitializers} function in the constructor to automatically lock it when it is deployed: * * [.hljs-theme-light.nopadding] * ``` * /// @custom:oz-upgrades-unsafe-allow constructor * constructor() { * _disableInitializers(); * } * ``` * ==== */ abstract contract Initializable { /** * @dev Indicates that the contract has been initialized. * @custom:oz-retyped-from bool */ uint8 private _initialized; /** * @dev Indicates that the contract is in the process of being initialized. */ bool private _initializing; /** * @dev Triggered when the contract has been initialized or reinitialized. */ event Initialized(uint8 version); /** * @dev A modifier that defines a protected initializer function that can be invoked at most once. In its scope, * `onlyInitializing` functions can be used to initialize parent contracts. * * Similar to `reinitializer(1)`, except that functions marked with `initializer` can be nested in the context of a * constructor. * * Emits an {Initialized} event. */ modifier initializer() { bool isTopLevelCall = !_initializing; require( (isTopLevelCall && _initialized < 1) || (!AddressUpgradeable.isContract(address(this)) && _initialized == 1), "Initializable: contract is already initialized" ); _initialized = 1; if (isTopLevelCall) { _initializing = true; } _; if (isTopLevelCall) { _initializing = false; emit Initialized(1); } } /** * @dev A modifier that defines a protected reinitializer function that can be invoked at most once, and only if the * contract hasn't been initialized to a greater version before. In its scope, `onlyInitializing` functions can be * used to initialize parent contracts. * * A reinitializer may be used after the original initialization step. This is essential to configure modules that * are added through upgrades and that require initialization. * * When `version` is 1, this modifier is similar to `initializer`, except that functions marked with `reinitializer` * cannot be nested. If one is invoked in the context of another, execution will revert. * * Note that versions can jump in increments greater than 1; this implies that if multiple reinitializers coexist in * a contract, executing them in the right order is up to the developer or operator. * * WARNING: setting the version to 255 will prevent any future reinitialization. * * Emits an {Initialized} event. */ modifier reinitializer(uint8 version) { require(!_initializing && _initialized < version, "Initializable: contract is already initialized"); _initialized = version; _initializing = true; _; _initializing = false; emit Initialized(version); } /** * @dev Modifier to protect an initialization function so that it can only be invoked by functions with the * {initializer} and {reinitializer} modifiers, directly or indirectly. */ modifier onlyInitializing() { require(_initializing, "Initializable: contract is not initializing"); _; } /** * @dev Locks the contract, preventing any future reinitialization. This cannot be part of an initializer call. * Calling this in the constructor of a contract will prevent that contract from being initialized or reinitialized * to any version. It is recommended to use this to lock implementation contracts that are designed to be called * through proxies. * * Emits an {Initialized} event the first time it is successfully executed. */ function _disableInitializers() internal virtual { require(!_initializing, "Initializable: contract is initializing"); if (_initialized != type(uint8).max) { _initialized = type(uint8).max; emit Initialized(type(uint8).max); } } /** * @dev Returns the highest version that has been initialized. See {reinitializer}. */ function _getInitializedVersion() internal view returns (uint8) { return _initialized; } /** * @dev Returns `true` if the contract is currently initializing. See {onlyInitializing}. */ function _isInitializing() internal view returns (bool) { return _initializing; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library AddressUpgradeable { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * * Furthermore, `isContract` will also return true if the target contract within * the same transaction is already scheduled for destruction by `SELFDESTRUCT`, * which only has an effect at the end of a transaction. * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://consensys.net/diligence/blog/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.8.0/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract. * * _Available since v4.8._ */ function verifyCallResultFromTarget( address target, bool success, bytes memory returndata, string memory errorMessage ) internal view returns (bytes memory) { if (success) { if (returndata.length == 0) { // only check isContract if the call was successful and the return data is empty // otherwise we already know that it was a contract require(isContract(target), "Address: call to non-contract"); } return returndata; } else { _revert(returndata, errorMessage); } } /** * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason or using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { _revert(returndata, errorMessage); } } function _revert(bytes memory returndata, string memory errorMessage) private pure { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ 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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address from, address to, uint256 amount) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (utils/math/Math.sol) pragma solidity ^0.8.0; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { enum Rounding { Down, // Toward negative infinity Up, // Toward infinity Zero // Toward zero } /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a > b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow. return (a & b) + (a ^ b) / 2; } /** * @dev Returns the ceiling of the division of two numbers. * * This differs from standard division with `/` in that it rounds up instead * of rounding down. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b - 1) / b can overflow on addition, so we distribute. return a == 0 ? 0 : (a - 1) / b + 1; } /** * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0 * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) * with further edits by Uniswap Labs also under MIT license. */ function mulDiv(uint256 x, uint256 y, uint256 denominator) internal pure returns (uint256 result) { unchecked { // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256 // variables such that product = prod1 * 2^256 + prod0. uint256 prod0; // Least significant 256 bits of the product uint256 prod1; // Most significant 256 bits of the product assembly { let mm := mulmod(x, y, not(0)) prod0 := mul(x, y) prod1 := sub(sub(mm, prod0), lt(mm, prod0)) } // Handle non-overflow cases, 256 by 256 division. if (prod1 == 0) { // Solidity will revert if denominator == 0, unlike the div opcode on its own. // The surrounding unchecked block does not change this fact. // See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic. return prod0 / denominator; } // Make sure the result is less than 2^256. Also prevents denominator == 0. require(denominator > prod1, "Math: mulDiv overflow"); /////////////////////////////////////////////// // 512 by 256 division. /////////////////////////////////////////////// // Make division exact by subtracting the remainder from [prod1 prod0]. uint256 remainder; assembly { // Compute remainder using mulmod. remainder := mulmod(x, y, denominator) // Subtract 256 bit number from 512 bit number. prod1 := sub(prod1, gt(remainder, prod0)) prod0 := sub(prod0, remainder) } // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1. // See https://cs.stackexchange.com/q/138556/92363. // Does not overflow because the denominator cannot be zero at this stage in the function. uint256 twos = denominator & (~denominator + 1); assembly { // Divide denominator by twos. denominator := div(denominator, twos) // Divide [prod1 prod0] by twos. prod0 := div(prod0, twos) // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one. twos := add(div(sub(0, twos), twos), 1) } // Shift in bits from prod1 into prod0. prod0 |= prod1 * twos; // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for // four bits. That is, denominator * inv = 1 mod 2^4. uint256 inverse = (3 * denominator) ^ 2; // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works // in modular arithmetic, doubling the correct bits in each step. inverse *= 2 - denominator * inverse; // inverse mod 2^8 inverse *= 2 - denominator * inverse; // inverse mod 2^16 inverse *= 2 - denominator * inverse; // inverse mod 2^32 inverse *= 2 - denominator * inverse; // inverse mod 2^64 inverse *= 2 - denominator * inverse; // inverse mod 2^128 inverse *= 2 - denominator * inverse; // inverse mod 2^256 // Because the division is now exact we can divide by multiplying with the modular inverse of denominator. // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1 // is no longer required. result = prod0 * inverse; return result; } } /** * @notice Calculates x * y / denominator with full precision, following the selected rounding direction. */ function mulDiv(uint256 x, uint256 y, uint256 denominator, Rounding rounding) internal pure returns (uint256) { uint256 result = mulDiv(x, y, denominator); if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) { result += 1; } return result; } /** * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down. * * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11). */ function sqrt(uint256 a) internal pure returns (uint256) { if (a == 0) { return 0; } // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target. // // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`. // // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)` // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))` // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)` // // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit. uint256 result = 1 << (log2(a) >> 1); // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128, // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision // into the expected uint128 result. unchecked { result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; return min(result, a / result); } } /** * @notice Calculates sqrt(a), following the selected rounding direction. */ function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = sqrt(a); return result + (rounding == Rounding.Up && result * result < a ? 1 : 0); } } /** * @dev Return the log in base 2, rounded down, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 128; } if (value >> 64 > 0) { value >>= 64; result += 64; } if (value >> 32 > 0) { value >>= 32; result += 32; } if (value >> 16 > 0) { value >>= 16; result += 16; } if (value >> 8 > 0) { value >>= 8; result += 8; } if (value >> 4 > 0) { value >>= 4; result += 4; } if (value >> 2 > 0) { value >>= 2; result += 2; } if (value >> 1 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 2, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log2(value); return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0); } } /** * @dev Return the log in base 10, rounded down, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >= 10 ** 64) { value /= 10 ** 64; result += 64; } if (value >= 10 ** 32) { value /= 10 ** 32; result += 32; } if (value >= 10 ** 16) { value /= 10 ** 16; result += 16; } if (value >= 10 ** 8) { value /= 10 ** 8; result += 8; } if (value >= 10 ** 4) { value /= 10 ** 4; result += 4; } if (value >= 10 ** 2) { value /= 10 ** 2; result += 2; } if (value >= 10 ** 1) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log10(value); return result + (rounding == Rounding.Up && 10 ** result < value ? 1 : 0); } } /** * @dev Return the log in base 256, rounded down, of a positive value. * Returns 0 if given 0. * * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string. */ function log256(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 16; } if (value >> 64 > 0) { value >>= 64; result += 8; } if (value >> 32 > 0) { value >>= 32; result += 4; } if (value >> 16 > 0) { value >>= 16; result += 2; } if (value >> 8 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 256, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log256(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log256(value); return result + (rounding == Rounding.Up && 1 << (result << 3) < value ? 1 : 0); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/math/SignedMath.sol) pragma solidity ^0.8.0; /** * @dev Standard signed math utilities missing in the Solidity language. */ library SignedMath { /** * @dev Returns the largest of two signed numbers. */ function max(int256 a, int256 b) internal pure returns (int256) { return a > b ? a : b; } /** * @dev Returns the smallest of two signed numbers. */ function min(int256 a, int256 b) internal pure returns (int256) { return a < b ? a : b; } /** * @dev Returns the average of two signed numbers without overflow. * The result is rounded towards zero. */ function average(int256 a, int256 b) internal pure returns (int256) { // Formula from the book "Hacker's Delight" int256 x = (a & b) + ((a ^ b) >> 1); return x + (int256(uint256(x) >> 255) & (a ^ b)); } /** * @dev Returns the absolute unsigned value of a signed value. */ function abs(int256 n) internal pure returns (uint256) { unchecked { // must be unchecked in order to support `n = type(int256).min` return uint256(n >= 0 ? n : -n); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (utils/Strings.sol) pragma solidity ^0.8.0; import "./math/Math.sol"; import "./math/SignedMath.sol"; /** * @dev String operations. */ library Strings { bytes16 private constant _SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { unchecked { uint256 length = Math.log10(value) + 1; string memory buffer = new string(length); uint256 ptr; /// @solidity memory-safe-assembly assembly { ptr := add(buffer, add(32, length)) } while (true) { ptr--; /// @solidity memory-safe-assembly assembly { mstore8(ptr, byte(mod(value, 10), _SYMBOLS)) } value /= 10; if (value == 0) break; } return buffer; } } /** * @dev Converts a `int256` to its ASCII `string` decimal representation. */ function toString(int256 value) internal pure returns (string memory) { return string(abi.encodePacked(value < 0 ? "-" : "", toString(SignedMath.abs(value)))); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { unchecked { return toHexString(value, Math.log256(value) + 1); } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } /** * @dev Returns true if the two strings are equal. */ function equal(string memory a, string memory b) internal pure returns (bool) { return keccak256(bytes(a)) == keccak256(bytes(b)); } }
// SPDX-License-Identifier: GPL-3.0-or-later // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol"; import "@openzeppelin/contracts/utils/Context.sol"; /** * @dev Pendle's ERC20 implementation, modified from @openzeppelin implementation * Changes are: * - comes with built-in reentrancy protection, storage-packed with totalSupply variable * - delete increaseAllowance / decreaseAllowance * - add nonReentrancy protection to transfer / transferFrom functions * - allow decimals to be passed in * - block self-transfer by default */ // solhint-disable contract PendleERC20 is Context, IERC20, IERC20Metadata { uint8 private constant _NOT_ENTERED = 1; uint8 private constant _ENTERED = 2; mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint248 private _totalSupply; uint8 private _status; string private _name; string private _symbol; uint8 public immutable decimals; /** * @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() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } /** * @dev Sets the values for {name}, {symbol} and {decimals}. * * All three of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_, uint8 decimals_) { _name = name_; _symbol = symbol_; decimals = decimals_; _status = _NOT_ENTERED; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override 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 `amount`. */ function transfer(address to, uint256 amount) external virtual override nonReentrant returns (bool) { address owner = _msgSender(); _transfer(owner, to, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * NOTE: If `amount` 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 amount) external virtual override returns (bool) { address owner = _msgSender(); _approve(owner, spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * 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 `amount`. * - the caller must have allowance for ``from``'s tokens of at least * `amount`. */ function transferFrom( address from, address to, uint256 amount ) external virtual override nonReentrant returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, amount); _transfer(from, to, amount); return true; } /** * @dev Moves `amount` of tokens from `sender` to `recipient`. * * 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. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. */ function _transfer(address from, address to, uint256 amount) internal virtual { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); require(from != to, "ERC20: transfer to self"); _beforeTokenTransfer(from, to, amount); uint256 fromBalance = _balances[from]; require(fromBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[from] = fromBalance - amount; } _balances[to] += amount; emit Transfer(from, to, amount); _afterTokenTransfer(from, to, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += toUint248(amount); _balances[account] += amount; emit Transfer(address(0), account, amount); _afterTokenTransfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; } _totalSupply -= toUint248(amount); emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } /** * @dev Sets `amount` 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. */ function _approve(address owner, address spender, uint256 amount) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Updates `owner` s allowance for `spender` based on spent `amount`. * * Does not update the allowance amount in case of infinite allowance. * Revert if not enough allowance is available. * * Might emit an {Approval} event. */ function _spendAllowance(address owner, address spender, uint256 amount) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { require(currentAllowance >= amount, "ERC20: insufficient allowance"); unchecked { _approve(owner, spender, currentAllowance - amount); } } } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer(address from, address to, uint256 amount) internal virtual {} function toUint248(uint256 x) internal virtual returns (uint248) { require(x <= type(uint248).max); // signed, lim = bit-1 return uint248(x); } }
// SPDX-License-Identifier: GPL-3.0-or-later pragma solidity ^0.8.0; import "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol"; contract BoringOwnableUpgradeableData { address public owner; address public pendingOwner; } abstract contract BoringOwnableUpgradeable is BoringOwnableUpgradeableData, Initializable { event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); function __BoringOwnable_init() internal onlyInitializing { owner = msg.sender; } /// @notice Transfers ownership to `newOwner`. Either directly or claimable by the new pending owner. /// Can only be invoked by the current `owner`. /// @param newOwner Address of the new owner. /// @param direct True if `newOwner` should be set immediately. False if `newOwner` needs to use `claimOwnership`. /// @param renounce Allows the `newOwner` to be `address(0)` if `direct` and `renounce` is True. Has no effect otherwise. function transferOwnership(address newOwner, bool direct, bool renounce) public onlyOwner { if (direct) { // Checks require(newOwner != address(0) || renounce, "Ownable: zero address"); // Effects emit OwnershipTransferred(owner, newOwner); owner = newOwner; pendingOwner = address(0); } else { // Effects pendingOwner = newOwner; } } /// @notice Needs to be called by `pendingOwner` to claim ownership. function claimOwnership() public { address _pendingOwner = pendingOwner; // Checks require(msg.sender == _pendingOwner, "Ownable: caller != pending owner"); // Effects emit OwnershipTransferred(owner, _pendingOwner); owner = _pendingOwner; pendingOwner = address(0); } /// @notice Only allows the `owner` to execute the function. modifier onlyOwner() { require(msg.sender == owner, "Ownable: caller is not the owner"); _; } uint256[48] private __gap; }
// SPDX-License-Identifier: GPL-3.0-or-later pragma solidity ^0.8.0; interface IPSophonPointManager { function claimPointReceiptToken() external; }
// SPDX-License-Identifier: GPL-3.0-or-later pragma solidity ^0.8.0; interface ISophonFarming { function pendingPoints(uint256 _pid, address _user) external view returns (uint256); function transferPoints(uint256 _pid, address _sender, address _receiver, uint256 _transferAmount) external; function poolInfo( uint256 _pid ) external view returns (address, address, uint256, uint256, uint256, uint256, uint256, uint256, uint256, string memory); function deposit(uint256 _pid, uint256 _amount, uint256 _boostAmount) external; function withdraw(uint256 _pid, uint256 _withdrawAmount) external; }
{ "optimizer": { "enabled": true, "runs": 1000000 }, "viaIR": true, "evmVersion": "paris", "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_sophonFarming","type":"address"},{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"address","name":"_sy","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"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":"uint8","name":"version","type":"uint8"}],"name":"Initialized","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":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"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"addWhitelistedAddress","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":"amount","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":[],"name":"claimOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimPointReceiptToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isAddressWhitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":[],"name":"pid","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sophonFarming","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sy","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","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":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"},{"internalType":"bool","name":"direct","type":"bool"},{"internalType":"bool","name":"renounce","type":"bool"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
610100604090808252346200074a576060816200248a80380380916200002682856200074f565b8339810103126200074a576200003c8162000773565b60206200004f8482850151940162000773565b84516001600160401b03949093919060608501868111868210176200059c578752602185527f50656e646c6520536f70686f6e20506f696e74205265636569707420546f6b6584860152603760f91b8786015280958782966000977a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000808610156200073a575b50876d04ee2d6d415b85acef8100000000808310156200072d575b5050662386f26fc10000808210156200071f575b506305f5e1008082101562000711575b506127108082101562000703575b506064811015620006f4575b600a80911015620006e7575b8899620001689899602160019a8b8093016200015f620001558262000788565b985198896200074f565b80885262000788565b601f199d908e0136888f0137860101905b620006b6575b5050508951916653504f494e542d60c81b89840152828151918a60005b8481106200069d5750505080620001c692602792016000838201520360078101855201836200074f565b8051918383116200059c576003928354928984811c9416801562000692575b8b8510146200067c5781908b601f9586811162000623575b50508b90858311600114620005be57600092620005b2575b505060001982861b1c191690891b1783555b80519384116200059c576004998a548981811c9116801562000591575b8b8210146200057c5790818487969594931162000520575b508a928511600114620004b85750600093620004ac575b505082871b92600019911b1c19161786555b6012608052600280546001600160f81b0316600160f81b17905560065460a881901c60ff1615939084806200049c575b801562000481575b15620004275760ff60a01b198116600160a01b17600655846200040e575b5060a05260c05260e0526006549360ff8560a81c1615620003b75750600580546001600160a01b031916331790556200037a575b8351611ce59081620007a5823960805181610a3b015260a05181818161013b015281816108710152818161158c01526118a5015260c05181818161015d015281816104b6015281816115db01526118f5015260e0518181816101fd01528181610d0e01526119ea0152f35b60ff60a81b1990921660065582519182527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb384740249891a13880806200030f565b855162461bcd60e51b8152908101849052602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b6064820152608490fd5b61ffff60a01b191661010160a01b1760065538620002db565b885162461bcd60e51b8152808901889052602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b6064820152608490fd5b50303b158015620002bd57508560ff8260a01c1614620002bd565b508560ff8260a01c1610620002b5565b01519150388062000273565b89959392919316928b6000528a6000209360005b8c828210620005095750508511620004ee575b50505050811b01865562000285565b01519060f884600019921b161c1916905538808080620004df565b8385015187558c98909601959384019301620004cc565b9091929394508b6000528a6000208480880160051c8201928d891062000572575b918c91899897969594930160051c01915b828110620005625750506200025c565b600081558897508c910162000552565b9250819262000541565b60228c634e487b7160e01b6000525260246000fd5b90607f169062000244565b634e487b7160e01b600052604160045260246000fd5b01519050388062000215565b908c918e8d95168860005283600020936000905b8282106200060b5750508411620005f2575b505050811b01835562000227565b015160001983881b60f8161c19169055388080620005e4565b8385015186558f979095019493840193018f620005d2565b909192508660005285826000209181860160051c830193861062000672575b918d91869594930160051c01915b8281106200066257508d9150620001fd565b600081558594508d910162000650565b9250819262000642565b634e487b7160e01b600052602260045260246000fd5b93607f1693620001e5565b828101820151878201602701528693508c91016200019c565b600019019082906f181899199a1a9b1b9c1cb0b131b232b360811b8282061a8353049089826200017957506200017f565b6001989098019762000135565b60646002910498019762000129565b60049104980197386200011d565b60089104980197386200010f565b6010910498019738620000ff565b99019890048738620000eb565b91985050830496819738620000d0565b600080fd5b601f909101601f19168101906001600160401b038211908210176200059c57604052565b51906001600160a01b03821682036200074a57565b6001600160401b0381116200059c57601f01601f19166020019056fe608060408181526004908136101561001657600080fd5b600092833560e01c90816306fdde0314610fd257508063078dfbe714610e46578063095ea7b314610df757806313f44d1014610d9057806318160ddd14610d32578063181cc05b14610cc357806323b872dd14610af357806329975b4314610a5f578063313ce56714610a035780634e71e0c8146108f657806370a082311461089557806380e90af7146108265780638da5cb5b146107d357806395d89b4114610678578063a9059cbb146105a4578063dd62ed3e14610530578063e30c3978146104dd578063f1068454146104805763f9f2e885146100f557600080fd5b3461047c57827ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261047c5773ffffffffffffffffffffffffffffffffffffffff807f0000000000000000000000000000000000000000000000000000000000000000167f0000000000000000000000000000000000000000000000000000000000000000938351947fa8a77a1900000000000000000000000000000000000000000000000000000000865280828701523060248701526020958681604481875afa908115610472578891610441575b506002547effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff918282169182820399828b11610415577f000000000000000000000000000000000000000000000000000000000000000098891691821595866103b957808d116103b557808d16860181811161038957928d8f9c9b9a9998979695948e8e957fff000000000000000000000000000000000000000000000000000000000000007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef966102a894169116176002558686528584528520918254611490565b90558c518e8152a314159081610380575b5080610371575b6102c8578480f35b6102d28785611aea565b823b1561036d5785517f26076f9700000000000000000000000000000000000000000000000000000000815291820190815230602082015273ffffffffffffffffffffffffffffffffffffffff90931660408401526060830195909552849182908490829060800103925af19081156103645750610355575b8082818080808480f35b61035e906111cd565b3861034b565b513d84823e3d90fd5b8480fd5b5061037b846119cf565b6102c0565b905015386102b9565b60248f60118c7f4e487b7100000000000000000000000000000000000000000000000000000000835252fd5b8d80fd5b606489848e51917f08c379a0000000000000000000000000000000000000000000000000000000008352820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152fd5b60248c6011897f4e487b7100000000000000000000000000000000000000000000000000000000835252fd5b90508681813d831161046b575b6104588183611210565b810103126104675751386101c7565b8780fd5b503d61044e565b86513d8a823e3d90fd5b8280fd5b8382346104d957817ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126104d957602090517f00000000000000000000000000000000000000000000000000000000000000008152f35b5080fd5b8382346104d957817ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126104d95760209073ffffffffffffffffffffffffffffffffffffffff600654169051908152f35b8382346104d957807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126104d9578060209261056c611182565b6105746111aa565b73ffffffffffffffffffffffffffffffffffffffff91821683526001865283832091168252845220549051908152f35b8382346104d957807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126104d9576020907f0100000000000000000000000000000000000000000000000000000000000000610600611182565b6106696002549161061760028460f81c14156112b6565b7f02000000000000000000000000000000000000000000000000000000000000007effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8094161760025560243590336114cc565b60025416176002555160018152f35b508290346104d957817ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126104d95780519180938054916001908360011c92600185169485156107c9575b602095868610811461079d5785895290811561075b5750600114610703575b6106ff87876106f5828c0383611210565b519182918261111c565b0390f35b81529295507f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b5b82841061074857505050826106ff946106f5928201019486806106e4565b805486850188015292860192810161072a565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00168887015250505050151560051b83010192506106f5826106ff86806106e4565b6024846022857f4e487b7100000000000000000000000000000000000000000000000000000000835252fd5b93607f16936106c5565b8382346104d957817ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126104d95760209073ffffffffffffffffffffffffffffffffffffffff600554169051908152f35b8382346104d957817ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126104d9576020905173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000168152f35b8382346104d95760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126104d9578060209273ffffffffffffffffffffffffffffffffffffffff6108e7611182565b16815280845220549051908152f35b503461047c57827ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261047c576006549073ffffffffffffffffffffffffffffffffffffffff92838316918233036109a6575050806005549384167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08680a37fffffffffffffffffffffffff0000000000000000000000000000000000000000809316176005551660065580f35b90602060649251917f08c379a0000000000000000000000000000000000000000000000000000000008352820152602060248201527f4f776e61626c653a2063616c6c657220213d2070656e64696e67206f776e65726044820152fd5b8382346104d957817ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126104d9576020905160ff7f0000000000000000000000000000000000000000000000000000000000000000168152f35b8382346104d95760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126104d957610a98611182565b73ffffffffffffffffffffffffffffffffffffffff90610abd82600554163314611251565b1682526037602052812060017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0082541617905580f35b509190346104d95760607ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126104d957610b2d611182565b610b356111aa565b90604435928560025495610b4f60028860f81c14156112b6565b7f02000000000000000000000000000000000000000000000000000000000000007effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8098161760025573ffffffffffffffffffffffffffffffffffffffff8416815260016020528181203382526020522054907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203610c19575b6020877f0100000000000000000000000000000000000000000000000000000000000000886106698989896114cc565b848210610c66575092602095949261066992610c59837f01000000000000000000000000000000000000000000000000000000000000009703338361131b565b9250929495819450610be9565b60649060208851917f08c379a0000000000000000000000000000000000000000000000000000000008352820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152fd5b8382346104d957817ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126104d9576020905173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000168152f35b8382346104d957817ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126104d9576020907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600254169051908152f35b8382346104d95760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126104d95760ff8160209373ffffffffffffffffffffffffffffffffffffffff610de4611182565b1681526037855220541690519015158152f35b8382346104d957807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126104d957602090610e3f610e35611182565b602435903361131b565b5160018152f35b503461047c5760607ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261047c57610e7e611182565b9160243591821515830361036d57604435928315158403610fce5773ffffffffffffffffffffffffffffffffffffffff948591610ec083600554163314611251565b15610f9c571692831590811591610f94575b5015610f37575050806005549283167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08580a37fffffffffffffffffffffffff0000000000000000000000000000000000000000809216176005556006541660065580f35b90602060649251917f08c379a0000000000000000000000000000000000000000000000000000000008352820152601560248201527f4f776e61626c653a207a65726f206164647265737300000000000000000000006044820152fd5b905038610ed2565b9350505050167fffffffffffffffffffffffff0000000000000000000000000000000000000000600654161760065580f35b8580fd5b9290503461111857837ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261111857600354600181811c918690828116801561110e575b60209586861082146110e257508488529081156110a25750600114611049575b6106ff86866106f5828b0383611210565b929550600383527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b5b82841061108f57505050826106ff946106f5928201019438611038565b8054868501880152928601928101611072565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001687860152505050151560051b83010192506106f5826106ff38611038565b8360226024927f4e487b7100000000000000000000000000000000000000000000000000000000835252fd5b93607f1693611018565b8380fd5b60208082528251818301819052939260005b85811061116e575050507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8460006040809697860101520116010190565b81810183015184820160400152820161112e565b6004359073ffffffffffffffffffffffffffffffffffffffff821682036111a557565b600080fd5b6024359073ffffffffffffffffffffffffffffffffffffffff821682036111a557565b67ffffffffffffffff81116111e157604052565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b90601f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0910116810190811067ffffffffffffffff8211176111e157604052565b1561125857565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602060248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152fd5b156112bd57565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152fd5b73ffffffffffffffffffffffffffffffffffffffff80911691821561140d57169182156113895760207f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925918360005260018252604060002085600052825280604060002055604051908152a3565b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f73730000000000000000000000000000000000000000000000000000000000006064820152fd5b60846040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152fd5b9190820180921161149d57565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b92919273ffffffffffffffffffffffffffffffffffffffff8091169182156117e95781811691821580611765578385146117075760009385855284602052604095868620548981106116845789908288528760205203878720558186528686206115378a8254611490565b90557fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef602088518b8152a3861515908161167b575b508061166c575b611580575b505050509050565b61158a8683611aea565b7f00000000000000000000000000000000000000000000000000000000000000001690813b1561047c5783517f26076f970000000000000000000000000000000000000000000000000000000081527f0000000000000000000000000000000000000000000000000000000000000000600482015230602482015273ffffffffffffffffffffffffffffffffffffffff919091166044820152606481019590955292939281908490608490829084905af1918215611662575050611653575b8080808493611578565b61165c906111cd565b38611649565b51903d90823e3d90fd5b50611676826119cf565b611573565b9050153861156c565b608488517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e636500000000000000000000000000000000000000000000000000006064820152fd5b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f45524332303a207472616e7366657220746f2073656c660000000000000000006044820152fd5b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152fd5b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152fd5b81151580611984575b80611975575b611884575050565b61188e8282611aea565b73ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001691823b156111a5576040517f26076f970000000000000000000000000000000000000000000000000000000081527f0000000000000000000000000000000000000000000000000000000000000000600482015230602482015273ffffffffffffffffffffffffffffffffffffffff9290921660448301526064820152906000908290608490829084905af180156119695761195e5750565b611967906111cd565b565b6040513d6000823e3d90fd5b5061197f816119cf565b61187c565b5073ffffffffffffffffffffffffffffffffffffffff81161515611876565b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff908181116111a5571690565b73ffffffffffffffffffffffffffffffffffffffff809116907f0000000000000000000000000000000000000000000000000000000000000000168114159081611a17575090565b9050600052603760205260ff604060002054161590565b15611a3557565b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f63650000000000000000000000000000000000000000000000000000000000006064820152fd5b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff918216908216039190821161149d57565b9073ffffffffffffffffffffffffffffffffffffffff8216918215611c2b576119679281611b7384611b3e60009573ffffffffffffffffffffffffffffffffffffffff166000526000602052604060002090565b54611b4b82821015611a2e565b039173ffffffffffffffffffffffffffffffffffffffff166000526000602052604060002090565b55611bf8611bac611b83856119a3565b6002547effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff16611ab9565b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fff000000000000000000000000000000000000000000000000000000000000006002541617600255565b6040518381527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602090a3600061186d565b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f73000000000000000000000000000000000000000000000000000000000000006064820152fdfea26469706673582212201d99912017b6a557791e59aba53e57335fa1c04e034d641c4a8331602516f09564736f6c63430008180033000000000000000000000000eff8e65ac06d7fe70842a4d54959e8692d6ae06400000000000000000000000000000000000000000000000000000000000000090000000000000000000000000683ffaf91a32fe7f235632d1f9fdfd2f564c41d
Deployed Bytecode
0x608060408181526004908136101561001657600080fd5b600092833560e01c90816306fdde0314610fd257508063078dfbe714610e46578063095ea7b314610df757806313f44d1014610d9057806318160ddd14610d32578063181cc05b14610cc357806323b872dd14610af357806329975b4314610a5f578063313ce56714610a035780634e71e0c8146108f657806370a082311461089557806380e90af7146108265780638da5cb5b146107d357806395d89b4114610678578063a9059cbb146105a4578063dd62ed3e14610530578063e30c3978146104dd578063f1068454146104805763f9f2e885146100f557600080fd5b3461047c57827ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261047c5773ffffffffffffffffffffffffffffffffffffffff807f000000000000000000000000eff8e65ac06d7fe70842a4d54959e8692d6ae064167f0000000000000000000000000000000000000000000000000000000000000009938351947fa8a77a1900000000000000000000000000000000000000000000000000000000865280828701523060248701526020958681604481875afa908115610472578891610441575b506002547effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff918282169182820399828b11610415577f0000000000000000000000000683ffaf91a32fe7f235632d1f9fdfd2f564c41d98891691821595866103b957808d116103b557808d16860181811161038957928d8f9c9b9a9998979695948e8e957fff000000000000000000000000000000000000000000000000000000000000007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef966102a894169116176002558686528584528520918254611490565b90558c518e8152a314159081610380575b5080610371575b6102c8578480f35b6102d28785611aea565b823b1561036d5785517f26076f9700000000000000000000000000000000000000000000000000000000815291820190815230602082015273ffffffffffffffffffffffffffffffffffffffff90931660408401526060830195909552849182908490829060800103925af19081156103645750610355575b8082818080808480f35b61035e906111cd565b3861034b565b513d84823e3d90fd5b8480fd5b5061037b846119cf565b6102c0565b905015386102b9565b60248f60118c7f4e487b7100000000000000000000000000000000000000000000000000000000835252fd5b8d80fd5b606489848e51917f08c379a0000000000000000000000000000000000000000000000000000000008352820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152fd5b60248c6011897f4e487b7100000000000000000000000000000000000000000000000000000000835252fd5b90508681813d831161046b575b6104588183611210565b810103126104675751386101c7565b8780fd5b503d61044e565b86513d8a823e3d90fd5b8280fd5b8382346104d957817ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126104d957602090517f00000000000000000000000000000000000000000000000000000000000000098152f35b5080fd5b8382346104d957817ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126104d95760209073ffffffffffffffffffffffffffffffffffffffff600654169051908152f35b8382346104d957807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126104d9578060209261056c611182565b6105746111aa565b73ffffffffffffffffffffffffffffffffffffffff91821683526001865283832091168252845220549051908152f35b8382346104d957807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126104d9576020907f0100000000000000000000000000000000000000000000000000000000000000610600611182565b6106696002549161061760028460f81c14156112b6565b7f02000000000000000000000000000000000000000000000000000000000000007effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8094161760025560243590336114cc565b60025416176002555160018152f35b508290346104d957817ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126104d95780519180938054916001908360011c92600185169485156107c9575b602095868610811461079d5785895290811561075b5750600114610703575b6106ff87876106f5828c0383611210565b519182918261111c565b0390f35b81529295507f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b5b82841061074857505050826106ff946106f5928201019486806106e4565b805486850188015292860192810161072a565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00168887015250505050151560051b83010192506106f5826106ff86806106e4565b6024846022857f4e487b7100000000000000000000000000000000000000000000000000000000835252fd5b93607f16936106c5565b8382346104d957817ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126104d95760209073ffffffffffffffffffffffffffffffffffffffff600554169051908152f35b8382346104d957817ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126104d9576020905173ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000eff8e65ac06d7fe70842a4d54959e8692d6ae064168152f35b8382346104d95760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126104d9578060209273ffffffffffffffffffffffffffffffffffffffff6108e7611182565b16815280845220549051908152f35b503461047c57827ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261047c576006549073ffffffffffffffffffffffffffffffffffffffff92838316918233036109a6575050806005549384167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08680a37fffffffffffffffffffffffff0000000000000000000000000000000000000000809316176005551660065580f35b90602060649251917f08c379a0000000000000000000000000000000000000000000000000000000008352820152602060248201527f4f776e61626c653a2063616c6c657220213d2070656e64696e67206f776e65726044820152fd5b8382346104d957817ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126104d9576020905160ff7f0000000000000000000000000000000000000000000000000000000000000012168152f35b8382346104d95760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126104d957610a98611182565b73ffffffffffffffffffffffffffffffffffffffff90610abd82600554163314611251565b1682526037602052812060017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0082541617905580f35b509190346104d95760607ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126104d957610b2d611182565b610b356111aa565b90604435928560025495610b4f60028860f81c14156112b6565b7f02000000000000000000000000000000000000000000000000000000000000007effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8098161760025573ffffffffffffffffffffffffffffffffffffffff8416815260016020528181203382526020522054907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203610c19575b6020877f0100000000000000000000000000000000000000000000000000000000000000886106698989896114cc565b848210610c66575092602095949261066992610c59837f01000000000000000000000000000000000000000000000000000000000000009703338361131b565b9250929495819450610be9565b60649060208851917f08c379a0000000000000000000000000000000000000000000000000000000008352820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152fd5b8382346104d957817ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126104d9576020905173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000683ffaf91a32fe7f235632d1f9fdfd2f564c41d168152f35b8382346104d957817ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126104d9576020907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600254169051908152f35b8382346104d95760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126104d95760ff8160209373ffffffffffffffffffffffffffffffffffffffff610de4611182565b1681526037855220541690519015158152f35b8382346104d957807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126104d957602090610e3f610e35611182565b602435903361131b565b5160018152f35b503461047c5760607ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261047c57610e7e611182565b9160243591821515830361036d57604435928315158403610fce5773ffffffffffffffffffffffffffffffffffffffff948591610ec083600554163314611251565b15610f9c571692831590811591610f94575b5015610f37575050806005549283167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08580a37fffffffffffffffffffffffff0000000000000000000000000000000000000000809216176005556006541660065580f35b90602060649251917f08c379a0000000000000000000000000000000000000000000000000000000008352820152601560248201527f4f776e61626c653a207a65726f206164647265737300000000000000000000006044820152fd5b905038610ed2565b9350505050167fffffffffffffffffffffffff0000000000000000000000000000000000000000600654161760065580f35b8580fd5b9290503461111857837ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261111857600354600181811c918690828116801561110e575b60209586861082146110e257508488529081156110a25750600114611049575b6106ff86866106f5828b0383611210565b929550600383527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b5b82841061108f57505050826106ff946106f5928201019438611038565b8054868501880152928601928101611072565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001687860152505050151560051b83010192506106f5826106ff38611038565b8360226024927f4e487b7100000000000000000000000000000000000000000000000000000000835252fd5b93607f1693611018565b8380fd5b60208082528251818301819052939260005b85811061116e575050507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8460006040809697860101520116010190565b81810183015184820160400152820161112e565b6004359073ffffffffffffffffffffffffffffffffffffffff821682036111a557565b600080fd5b6024359073ffffffffffffffffffffffffffffffffffffffff821682036111a557565b67ffffffffffffffff81116111e157604052565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b90601f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0910116810190811067ffffffffffffffff8211176111e157604052565b1561125857565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602060248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152fd5b156112bd57565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152fd5b73ffffffffffffffffffffffffffffffffffffffff80911691821561140d57169182156113895760207f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925918360005260018252604060002085600052825280604060002055604051908152a3565b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f73730000000000000000000000000000000000000000000000000000000000006064820152fd5b60846040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152fd5b9190820180921161149d57565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b92919273ffffffffffffffffffffffffffffffffffffffff8091169182156117e95781811691821580611765578385146117075760009385855284602052604095868620548981106116845789908288528760205203878720558186528686206115378a8254611490565b90557fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef602088518b8152a3861515908161167b575b508061166c575b611580575b505050509050565b61158a8683611aea565b7f000000000000000000000000eff8e65ac06d7fe70842a4d54959e8692d6ae0641690813b1561047c5783517f26076f970000000000000000000000000000000000000000000000000000000081527f0000000000000000000000000000000000000000000000000000000000000009600482015230602482015273ffffffffffffffffffffffffffffffffffffffff919091166044820152606481019590955292939281908490608490829084905af1918215611662575050611653575b8080808493611578565b61165c906111cd565b38611649565b51903d90823e3d90fd5b50611676826119cf565b611573565b9050153861156c565b608488517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e636500000000000000000000000000000000000000000000000000006064820152fd5b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f45524332303a207472616e7366657220746f2073656c660000000000000000006044820152fd5b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152fd5b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152fd5b81151580611984575b80611975575b611884575050565b61188e8282611aea565b73ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000eff8e65ac06d7fe70842a4d54959e8692d6ae0641691823b156111a5576040517f26076f970000000000000000000000000000000000000000000000000000000081527f0000000000000000000000000000000000000000000000000000000000000009600482015230602482015273ffffffffffffffffffffffffffffffffffffffff9290921660448301526064820152906000908290608490829084905af180156119695761195e5750565b611967906111cd565b565b6040513d6000823e3d90fd5b5061197f816119cf565b61187c565b5073ffffffffffffffffffffffffffffffffffffffff81161515611876565b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff908181116111a5571690565b73ffffffffffffffffffffffffffffffffffffffff809116907f0000000000000000000000000683ffaf91a32fe7f235632d1f9fdfd2f564c41d168114159081611a17575090565b9050600052603760205260ff604060002054161590565b15611a3557565b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f63650000000000000000000000000000000000000000000000000000000000006064820152fd5b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff918216908216039190821161149d57565b9073ffffffffffffffffffffffffffffffffffffffff8216918215611c2b576119679281611b7384611b3e60009573ffffffffffffffffffffffffffffffffffffffff166000526000602052604060002090565b54611b4b82821015611a2e565b039173ffffffffffffffffffffffffffffffffffffffff166000526000602052604060002090565b55611bf8611bac611b83856119a3565b6002547effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff16611ab9565b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fff000000000000000000000000000000000000000000000000000000000000006002541617600255565b6040518381527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602090a3600061186d565b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f73000000000000000000000000000000000000000000000000000000000000006064820152fdfea26469706673582212201d99912017b6a557791e59aba53e57335fa1c04e034d641c4a8331602516f09564736f6c63430008180033
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.