More Info
Private Name Tags
ContractCreator
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Loading...
Loading
This contract may be a proxy contract. Click on More Options and select Is this a proxy? to confirm and enable the "Read as Proxy" & "Write as Proxy" tabs.
Contract Source Code Verified (Exact Match)
Contract Name:
FearRewardPool
Compiler Version
v0.8.28+commit.7893614a
Contract Source Code (Solidity)
/** *Submitted for verification at SonicScan.org on 2025-03-01 */ // 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); } // OpenZeppelin Contracts (last updated v4.9.4) (token/ERC20/extensions/IERC20Permit.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612]. * * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't * need to send a transaction, and thus is not required to hold Ether at all. * * ==== Security Considerations * * There are two important considerations concerning the use of `permit`. The first is that a valid permit signature * expresses an allowance, and it should not be assumed to convey additional meaning. In particular, it should not be * considered as an intention to spend the allowance in any specific way. The second is that because permits have * built-in replay protection and can be submitted by anyone, they can be frontrun. A protocol that uses permits should * take this into consideration and allow a `permit` call to fail. Combining these two aspects, a pattern that may be * generally recommended is: * * ```solidity * function doThingWithPermit(..., uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) public { * try token.permit(msg.sender, address(this), value, deadline, v, r, s) {} catch {} * doThing(..., value); * } * * function doThing(..., uint256 value) public { * token.safeTransferFrom(msg.sender, address(this), value); * ... * } * ``` * * Observe that: 1) `msg.sender` is used as the owner, leaving no ambiguity as to the signer intent, and 2) the use of * `try/catch` allows the permit to fail and makes the code tolerant to frontrunning. (See also * {SafeERC20-safeTransferFrom}). * * Additionally, note that smart contract wallets (such as Argent or Safe) are not able to produce permit signatures, so * contracts should have entry points that don't rely on permit. */ interface IERC20Permit { /** * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens, * given ``owner``'s signed approval. * * IMPORTANT: The same issues {IERC20-approve} has related to transaction * ordering also apply here. * * Emits an {Approval} event. * * Requirements: * * - `spender` cannot be the zero address. * - `deadline` must be a timestamp in the future. * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner` * over the EIP712-formatted function arguments. * - the signature must use ``owner``'s current nonce (see {nonces}). * * For more information on the signature format, see the * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP * section]. * * CAUTION: See Security Considerations above. */ function permit( address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) external; /** * @dev Returns the current nonce for `owner`. This value must be * included whenever a signature is generated for {permit}. * * Every successful call to {permit} increases ``owner``'s nonce by one. This * prevents a signature from being used multiple times. */ function nonces(address owner) external view returns (uint256); /** * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}. */ // solhint-disable-next-line func-name-mixedcase function DOMAIN_SEPARATOR() external view returns (bytes32); } // 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 Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * * 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); } } } // OpenZeppelin Contracts (last updated v4.9.3) (token/ERC20/utils/SafeERC20.sol) pragma solidity ^0.8.0; /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20 { using Address for address; /** * @dev Transfer `value` amount of `token` from the calling contract to `to`. If `token` returns no value, * non-reverting calls are assumed to be successful. */ function safeTransfer(IERC20 token, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } /** * @dev Transfer `value` amount of `token` from `from` to `to`, spending the approval given by `from` to the * calling contract. If `token` returns no value, non-reverting calls are assumed to be successful. */ function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } /** * @dev Deprecated. This function has issues similar to the ones found in * {IERC20-approve}, and its usage is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ function safeApprove(IERC20 token, address spender, uint256 value) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' require( (value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } /** * @dev Increase the calling contract's allowance toward `spender` by `value`. If `token` returns no value, * non-reverting calls are assumed to be successful. */ function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal { uint256 oldAllowance = token.allowance(address(this), spender); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, oldAllowance + value)); } /** * @dev Decrease the calling contract's allowance toward `spender` by `value`. If `token` returns no value, * non-reverting calls are assumed to be successful. */ function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal { unchecked { uint256 oldAllowance = token.allowance(address(this), spender); require(oldAllowance >= value, "SafeERC20: decreased allowance below zero"); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, oldAllowance - value)); } } /** * @dev Set the calling contract's allowance toward `spender` to `value`. If `token` returns no value, * non-reverting calls are assumed to be successful. Meant to be used with tokens that require the approval * to be set to zero before setting it to a non-zero value, such as USDT. */ function forceApprove(IERC20 token, address spender, uint256 value) internal { bytes memory approvalCall = abi.encodeWithSelector(token.approve.selector, spender, value); if (!_callOptionalReturnBool(token, approvalCall)) { _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, 0)); _callOptionalReturn(token, approvalCall); } } /** * @dev Use a ERC-2612 signature to set the `owner` approval toward `spender` on `token`. * Revert on invalid signature. */ function safePermit( IERC20Permit token, address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) internal { uint256 nonceBefore = token.nonces(owner); token.permit(owner, spender, value, deadline, v, r, s); uint256 nonceAfter = token.nonces(owner); require(nonceAfter == nonceBefore + 1, "SafeERC20: permit did not succeed"); } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function _callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We use {Address-functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed"); require(returndata.length == 0 || abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). * * This is a variant of {_callOptionalReturn} that silents catches all reverts and returns a bool instead. */ function _callOptionalReturnBool(IERC20 token, bytes memory data) private returns (bool) { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We cannot use {Address-functionCall} here since this should return false // and not revert is the subcall reverts. (bool success, bytes memory returndata) = address(token).call(data); return success && (returndata.length == 0 || abi.decode(returndata, (bool))) && Address.isContract(address(token)); } } // OpenZeppelin Contracts (last updated v4.9.0) (utils/math/SafeMath.sol) pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the subtraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } } // OpenZeppelin Contracts (last updated v4.9.0) (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { _nonReentrantBefore(); _; _nonReentrantAfter(); } function _nonReentrantBefore() private { // On the first call to nonReentrant, _status will be _NOT_ENTERED require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; } function _nonReentrantAfter() private { // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } /** * @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; } } pragma solidity ^0.8.0; interface IOracle { function update() external; function consult(address _token, uint256 _amountIn) external view returns (uint256 amountOut); function twap(address _token, uint256 _amountIn) external view returns (uint256 _amountOut); } // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.0; /** * @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); } // OpenZeppelin Contracts (last updated v5.1.0) (interfaces/IERC4626.sol) pragma solidity ^0.8.20; /** * @dev Interface of the ERC-4626 "Tokenized Vault Standard", as defined in * https://eips.ethereum.org/EIPS/eip-4626[ERC-4626]. */ interface IERC4626 is IERC20, IERC20Metadata { event Deposit(address indexed sender, address indexed owner, uint256 assets, uint256 shares); event Withdraw( address indexed sender, address indexed receiver, address indexed owner, uint256 assets, uint256 shares ); /** * @dev Returns the address of the underlying token used for the Vault for accounting, depositing, and withdrawing. * * - MUST be an ERC-20 token contract. * - MUST NOT revert. */ function asset() external view returns (address assetTokenAddress); /** * @dev Returns the total amount of the underlying asset that is “managed” by Vault. * * - SHOULD include any compounding that occurs from yield. * - MUST be inclusive of any fees that are charged against assets in the Vault. * - MUST NOT revert. */ function totalAssets() external view returns (uint256 totalManagedAssets); /** * @dev Returns the amount of shares that the Vault would exchange for the amount of assets provided, in an ideal * scenario where all the conditions are met. * * - MUST NOT be inclusive of any fees that are charged against assets in the Vault. * - MUST NOT show any variations depending on the caller. * - MUST NOT reflect slippage or other on-chain conditions, when performing the actual exchange. * - MUST NOT revert. * * NOTE: This calculation MAY NOT reflect the “per-user” price-per-share, and instead should reflect the * “average-user’s” price-per-share, meaning what the average user should expect to see when exchanging to and * from. */ function convertToShares(uint256 assets) external view returns (uint256 shares); /** * @dev Returns the amount of assets that the Vault would exchange for the amount of shares provided, in an ideal * scenario where all the conditions are met. * * - MUST NOT be inclusive of any fees that are charged against assets in the Vault. * - MUST NOT show any variations depending on the caller. * - MUST NOT reflect slippage or other on-chain conditions, when performing the actual exchange. * - MUST NOT revert. * * NOTE: This calculation MAY NOT reflect the “per-user” price-per-share, and instead should reflect the * “average-user’s” price-per-share, meaning what the average user should expect to see when exchanging to and * from. */ function convertToAssets(uint256 shares) external view returns (uint256 assets); /** * @dev Returns the maximum amount of the underlying asset that can be deposited into the Vault for the receiver, * through a deposit call. * * - MUST return a limited value if receiver is subject to some deposit limit. * - MUST return 2 ** 256 - 1 if there is no limit on the maximum amount of assets that may be deposited. * - MUST NOT revert. */ function maxDeposit(address receiver) external view returns (uint256 maxAssets); /** * @dev Allows an on-chain or off-chain user to simulate the effects of their deposit at the current block, given * current on-chain conditions. * * - MUST return as close to and no more than the exact amount of Vault shares that would be minted in a deposit * call in the same transaction. I.e. deposit should return the same or more shares as previewDeposit if called * in the same transaction. * - MUST NOT account for deposit limits like those returned from maxDeposit and should always act as though the * deposit would be accepted, regardless if the user has enough tokens approved, etc. * - MUST be inclusive of deposit fees. Integrators should be aware of the existence of deposit fees. * - MUST NOT revert. * * NOTE: any unfavorable discrepancy between convertToShares and previewDeposit SHOULD be considered slippage in * share price or some other type of condition, meaning the depositor will lose assets by depositing. */ function previewDeposit(uint256 assets) external view returns (uint256 shares); /** * @dev Mints shares Vault shares to receiver by depositing exactly amount of underlying tokens. * * - MUST emit the Deposit event. * - MAY support an additional flow in which the underlying tokens are owned by the Vault contract before the * deposit execution, and are accounted for during deposit. * - MUST revert if all of assets cannot be deposited (due to deposit limit being reached, slippage, the user not * approving enough underlying tokens to the Vault contract, etc). * * NOTE: most implementations will require pre-approval of the Vault with the Vault’s underlying asset token. */ function deposit(uint256 assets, address receiver) external returns (uint256 shares); /** * @dev Returns the maximum amount of the Vault shares that can be minted for the receiver, through a mint call. * - MUST return a limited value if receiver is subject to some mint limit. * - MUST return 2 ** 256 - 1 if there is no limit on the maximum amount of shares that may be minted. * - MUST NOT revert. */ function maxMint(address receiver) external view returns (uint256 maxShares); /** * @dev Allows an on-chain or off-chain user to simulate the effects of their mint at the current block, given * current on-chain conditions. * * - MUST return as close to and no fewer than the exact amount of assets that would be deposited in a mint call * in the same transaction. I.e. mint should return the same or fewer assets as previewMint if called in the * same transaction. * - MUST NOT account for mint limits like those returned from maxMint and should always act as though the mint * would be accepted, regardless if the user has enough tokens approved, etc. * - MUST be inclusive of deposit fees. Integrators should be aware of the existence of deposit fees. * - MUST NOT revert. * * NOTE: any unfavorable discrepancy between convertToAssets and previewMint SHOULD be considered slippage in * share price or some other type of condition, meaning the depositor will lose assets by minting. */ function previewMint(uint256 shares) external view returns (uint256 assets); /** * @dev Mints exactly shares Vault shares to receiver by depositing amount of underlying tokens. * * - MUST emit the Deposit event. * - MAY support an additional flow in which the underlying tokens are owned by the Vault contract before the mint * execution, and are accounted for during mint. * - MUST revert if all of shares cannot be minted (due to deposit limit being reached, slippage, the user not * approving enough underlying tokens to the Vault contract, etc). * * NOTE: most implementations will require pre-approval of the Vault with the Vault’s underlying asset token. */ function mint(uint256 shares, address receiver) external returns (uint256 assets); /** * @dev Returns the maximum amount of the underlying asset that can be withdrawn from the owner balance in the * Vault, through a withdraw call. * * - MUST return a limited value if owner is subject to some withdrawal limit or timelock. * - MUST NOT revert. */ function maxWithdraw(address owner) external view returns (uint256 maxAssets); /** * @dev Allows an on-chain or off-chain user to simulate the effects of their withdrawal at the current block, * given current on-chain conditions. * * - MUST return as close to and no fewer than the exact amount of Vault shares that would be burned in a withdraw * call in the same transaction. I.e. withdraw should return the same or fewer shares as previewWithdraw if * called * in the same transaction. * - MUST NOT account for withdrawal limits like those returned from maxWithdraw and should always act as though * the withdrawal would be accepted, regardless if the user has enough shares, etc. * - MUST be inclusive of withdrawal fees. Integrators should be aware of the existence of withdrawal fees. * - MUST NOT revert. * * NOTE: any unfavorable discrepancy between convertToShares and previewWithdraw SHOULD be considered slippage in * share price or some other type of condition, meaning the depositor will lose assets by depositing. */ function previewWithdraw(uint256 assets) external view returns (uint256 shares); /** * @dev Burns shares from owner and sends exactly assets of underlying tokens to receiver. * * - MUST emit the Withdraw event. * - MAY support an additional flow in which the underlying tokens are owned by the Vault contract before the * withdraw execution, and are accounted for during withdraw. * - MUST revert if all of assets cannot be withdrawn (due to withdrawal limit being reached, slippage, the owner * not having enough shares, etc). * * Note that some implementations will require pre-requesting to the Vault before a withdrawal may be performed. * Those methods should be performed separately. */ function withdraw(uint256 assets, address receiver, address owner) external returns (uint256 shares); /** * @dev Returns the maximum amount of Vault shares that can be redeemed from the owner balance in the Vault, * through a redeem call. * * - MUST return a limited value if owner is subject to some withdrawal limit or timelock. * - MUST return balanceOf(owner) if owner is not subject to any withdrawal limit or timelock. * - MUST NOT revert. */ function maxRedeem(address owner) external view returns (uint256 maxShares); /** * @dev Allows an on-chain or off-chain user to simulate the effects of their redeemption at the current block, * given current on-chain conditions. * * - MUST return as close to and no more than the exact amount of assets that would be withdrawn in a redeem call * in the same transaction. I.e. redeem should return the same or more assets as previewRedeem if called in the * same transaction. * - MUST NOT account for redemption limits like those returned from maxRedeem and should always act as though the * redemption would be accepted, regardless if the user has enough shares, etc. * - MUST be inclusive of withdrawal fees. Integrators should be aware of the existence of withdrawal fees. * - MUST NOT revert. * * NOTE: any unfavorable discrepancy between convertToAssets and previewRedeem SHOULD be considered slippage in * share price or some other type of condition, meaning the depositor will lose assets by redeeming. */ function previewRedeem(uint256 shares) external view returns (uint256 assets); /** * @dev Burns exactly shares from owner and sends assets of underlying tokens to receiver. * * - MUST emit the Withdraw event. * - MAY support an additional flow in which the underlying tokens are owned by the Vault contract before the * redeem execution, and are accounted for during redeem. * - MUST revert if all of shares cannot be redeemed (due to withdrawal limit being reached, slippage, the owner * not having enough shares, etc). * * NOTE: some implementations will require pre-requesting to the Vault before a withdrawal may be performed. * Those methods should be performed separately. */ function redeem(uint256 shares, address receiver, address owner) external returns (uint256 assets); } pragma solidity ^0.8.0; contract FearRewardPool is ReentrancyGuard { using SafeMath for uint256; using SafeERC20 for IERC20; // Governance address public operator; // Info of each user. struct UserInfo { uint256 amount; // How many LP tokens the user has provided. uint256 rewardDebt; // Reward debt. See explanation below. } // Info of each pool. struct PoolInfo { IERC20 token; // Address of LP token contract. uint256 allocPoint; // How many allocation points assigned to this pool. Fear to distribute per block. uint256 lastRewardTime; // Last time that fear distribution occurs. uint256 accFearPerShare; // Accumulated fear per share, times 1e18. See below. bool isStarted; // if lastRewardTime has passed uint256 withdrawFee; // Withdraw fee in basis points (e.g., 100 = 1%) address gauge; } IERC20 public fear; IOracle public fearOracle; uint256 public minClaimThreshold = 1e12; // 0.000001 FEAR address public devFund; address burnFund; // Info of each pool. PoolInfo[] public poolInfo; // Info of each user that stakes LP tokens. mapping(uint256 => mapping(address => UserInfo)) public userInfo; // Total allocation points. Must be the sum of all allocation points in all pools. uint256 public totalAllocPoint = 0; // The time when fear mining starts. uint256 public poolStartTime; // The time when fear mining ends. uint256 public poolEndTime; uint256 public fearPerSecond = 0.0009384384 ether; // 30000 fear / (370 days * 24h * 60min * 60s) uint256 public runningTime = 370 days; // 370 days uint256 public constant TOTAL_REWARDS = 30000 ether; event Deposit(address indexed user, uint256 indexed pid, uint256 amount); event Withdraw(address indexed user, uint256 indexed pid, uint256 amount); event EmergencyWithdraw(address indexed user, uint256 indexed pid, uint256 amount); event RewardPaid(address indexed user, uint256 amount); event DevFundUpdated(address devFund); event BurnFundUpdated(address burnFund); constructor( address _fear, address _devFund, address _burnFund, uint256 _poolStartTime ) { require(block.timestamp < _poolStartTime, "late"); if (_fear != address(0)) fear = IERC20(_fear); if (_devFund != address(0)) devFund = _devFund; if (_burnFund != address(0)) burnFund = _burnFund; poolStartTime = _poolStartTime; poolEndTime = poolStartTime + runningTime; operator = msg.sender; } modifier onlyOperator() { require(operator == msg.sender, "FearRewardPool: caller is not the operator"); _; } function poolLength() external view returns (uint256) { return poolInfo.length; } function checkPoolDuplicate(IERC20 _token) internal view { uint256 length = poolInfo.length; for (uint256 pid = 0; pid < length; ++pid) { require(poolInfo[pid].token != _token, "FearRewardPool: existing pool?"); } } // Add a new lp to the pool. Can only be called by the operator. function add( uint256 _allocPoint, IERC20 _token, bool _withUpdate, uint256 _lastRewardTime, address _gauge, uint256 _withdrawFee ) public onlyOperator { checkPoolDuplicate(_token); if (_withUpdate) { massUpdatePools(); } if (block.timestamp < poolStartTime) { // chef is sleeping if (_lastRewardTime == 0) { _lastRewardTime = poolStartTime; } else { if (_lastRewardTime < poolStartTime) { _lastRewardTime = poolStartTime; } } } else { // chef is cooking if (_lastRewardTime == 0 || _lastRewardTime < block.timestamp) { _lastRewardTime = block.timestamp; } } bool _isStarted = (_lastRewardTime <= poolStartTime) || (_lastRewardTime <= block.timestamp); poolInfo.push(PoolInfo({ token: _token, allocPoint: _allocPoint, lastRewardTime: _lastRewardTime, accFearPerShare: 0, isStarted: _isStarted, gauge: _gauge, withdrawFee: _withdrawFee })); if (_isStarted) { totalAllocPoint = totalAllocPoint.add(_allocPoint); } } // Update the given pool's fear allocation point. Can only be called by the operator. function set( uint256 _pid, uint256 _allocPoint, uint256 _withdrawFee, address _gauge ) public onlyOperator { massUpdatePools(); PoolInfo storage pool = poolInfo[_pid]; require(_withdrawFee < 200, "Withdraw fee cannot be more than 2%"); pool.withdrawFee = _withdrawFee; if (pool.isStarted) { totalAllocPoint = totalAllocPoint.sub(pool.allocPoint).add(_allocPoint); } pool.allocPoint = _allocPoint; pool.gauge = _gauge; updatePool(_pid); } // Return accumulate rewards over the given _from to _to block. function getGeneratedReward(uint256 _fromTime, uint256 _toTime) public view returns (uint256) { if (_fromTime >= _toTime) return 0; if (_toTime >= poolEndTime) { if (_fromTime >= poolEndTime) return 0; if (_fromTime <= poolStartTime) return poolEndTime.sub(poolStartTime).mul(fearPerSecond); return poolEndTime.sub(_fromTime).mul(fearPerSecond); } else { if (_toTime <= poolStartTime) return 0; if (_fromTime <= poolStartTime) return _toTime.sub(poolStartTime).mul(fearPerSecond); return _toTime.sub(_fromTime).mul(fearPerSecond); } } // View function to see pending Fear on frontend. function pendingShare(uint256 _pid, address _user) external view returns (uint256) { PoolInfo storage pool = poolInfo[_pid]; UserInfo storage user = userInfo[_pid][_user]; uint256 accFearPerShare = pool.accFearPerShare; uint256 tokenSupply = pool.token.balanceOf(address(this)); if (block.timestamp > pool.lastRewardTime && tokenSupply != 0) { uint256 _generatedReward = getGeneratedReward(pool.lastRewardTime, block.timestamp); uint256 _fearReward = _generatedReward.mul(pool.allocPoint).div(totalAllocPoint); accFearPerShare = accFearPerShare.add(_fearReward.mul(1e18).div(tokenSupply)); } return user.amount.mul(accFearPerShare).div(1e18).sub(user.rewardDebt); } // Update reward variables for all pools. Be careful of gas spending! function massUpdatePools() public { uint256 length = poolInfo.length; for (uint256 pid = 0; pid < length; ++pid) { updatePool(pid); } } // Update reward variables of the given pool to be up-to-date. function updatePool(uint256 _pid) public { PoolInfo storage pool = poolInfo[_pid]; if (block.timestamp <= pool.lastRewardTime) { return; } uint256 tokenSupply = pool.token.balanceOf(address(this)); if (tokenSupply == 0) { pool.lastRewardTime = block.timestamp; return; } if (!pool.isStarted) { pool.isStarted = true; totalAllocPoint = totalAllocPoint.add(pool.allocPoint); } if (totalAllocPoint > 0) { uint256 _generatedReward = getGeneratedReward(pool.lastRewardTime, block.timestamp); uint256 _fearReward = _generatedReward.mul(pool.allocPoint).div(totalAllocPoint); pool.accFearPerShare = pool.accFearPerShare.add(_fearReward.mul(1e18).div(tokenSupply)); } pool.lastRewardTime = block.timestamp; } // Deposit LP tokens. function deposit(uint256 _pid, uint256 _amount) public nonReentrant { address _sender = msg.sender; PoolInfo storage pool = poolInfo[_pid]; UserInfo storage user = userInfo[_pid][_sender]; updatePool(_pid); if (user.amount > 0) { uint256 _pending = user.amount.mul(pool.accFearPerShare).div(1e18).sub(user.rewardDebt); if (_pending > 0) { safeFearTransfer(_sender, _pending); emit RewardPaid(_sender, _pending); } } if (_amount > 0) { pool.token.safeTransferFrom(_sender, address(this), _amount); user.amount = user.amount.add(_amount); } user.rewardDebt = user.amount.mul(pool.accFearPerShare).div(1e18); emit Deposit(_sender, _pid, _amount); } // Withdraw LP tokens with a fee. function withdraw(uint256 _pid, uint256 _amount) public nonReentrant { address _sender = msg.sender; PoolInfo storage pool = poolInfo[_pid]; UserInfo storage user = userInfo[_pid][_sender]; require(user.amount >= _amount, "withdraw: not good"); updatePool(_pid); uint256 _pending = user.amount.mul(pool.accFearPerShare).div(1e18).sub(user.rewardDebt); if (_pending > 0) { safeFearTransfer(_sender, _pending); emit RewardPaid(_sender, _pending); } if (_amount > 0) { user.amount = user.amount.sub(_amount); uint256 fee = _amount.mul(pool.withdrawFee).div(10000); // Calculate the fee uint256 amountAfterFee = _amount.sub(fee); pool.token.safeTransfer(_sender, amountAfterFee); if (fee > 0) { pool.token.safeTransfer(burnFund, fee); } } user.rewardDebt = user.amount.mul(pool.accFearPerShare).div(1e18); emit Withdraw(_sender, _pid, _amount); } // Withdraw without caring about rewards. EMERGENCY ONLY. function emergencyWithdraw(uint256 _pid) public nonReentrant { PoolInfo storage pool = poolInfo[_pid]; UserInfo storage user = userInfo[_pid][msg.sender]; uint256 _amount = user.amount; user.amount = 0; user.rewardDebt = 0; uint256 fee = _amount.mul(pool.withdrawFee).div(10000); // Calculate the fee uint256 amountAfterFee = _amount.sub(fee); pool.token.safeTransfer(msg.sender, amountAfterFee); if (fee > 0) { pool.token.safeTransfer(burnFund, fee); } emit EmergencyWithdraw(msg.sender, _pid, _amount); } // Safe fear transfer function, just in case if rounding error causes pool to not have enough fear. function safeFearTransfer(address _to, uint256 _amount) internal { uint256 _fearBal = fear.balanceOf(address(this)); if (_fearBal > 0) { if (_amount > _fearBal) { fear.safeTransfer(_to, _fearBal); } else { fear.safeTransfer(_to, _amount); } } } // Set the operator address. function setOperator(address _operator) external onlyOperator { operator = _operator; } // Set the dev fund address. function setDevFund(address _devFund) external onlyOperator { require(_devFund != address(0), "Cannot set devFund to zero address"); devFund = _devFund; emit DevFundUpdated(_devFund); } // Governance recover unsupported tokens. function governanceRecoverUnsupported(IERC20 _token, uint256 amount, address to) external onlyOperator { if (block.timestamp < poolEndTime + 90 days) { // do not allow to drain core token (fear or lps) if less than 90 days after pool ends require(_token != fear, "fear"); uint256 length = poolInfo.length; for (uint256 pid = 0; pid < length; ++pid) { PoolInfo storage pool = poolInfo[pid]; require(_token != pool.token, "pool.token"); } } _token.safeTransfer(to, amount); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"address","name":"_fear","type":"address"},{"internalType":"address","name":"_devFund","type":"address"},{"internalType":"address","name":"_burnFund","type":"address"},{"internalType":"uint256","name":"_poolStartTime","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"burnFund","type":"address"}],"name":"BurnFundUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"devFund","type":"address"}],"name":"DevFundUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"EmergencyWithdraw","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"RewardPaid","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[],"name":"TOTAL_REWARDS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_allocPoint","type":"uint256"},{"internalType":"contract IERC20","name":"_token","type":"address"},{"internalType":"bool","name":"_withUpdate","type":"bool"},{"internalType":"uint256","name":"_lastRewardTime","type":"uint256"},{"internalType":"address","name":"_gauge","type":"address"},{"internalType":"uint256","name":"_withdrawFee","type":"uint256"}],"name":"add","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"devFund","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"emergencyWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"fear","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"fearOracle","outputs":[{"internalType":"contract IOracle","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"fearPerSecond","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_fromTime","type":"uint256"},{"internalType":"uint256","name":"_toTime","type":"uint256"}],"name":"getGeneratedReward","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"_token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address","name":"to","type":"address"}],"name":"governanceRecoverUnsupported","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"massUpdatePools","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"minClaimThreshold","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"operator","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"address","name":"_user","type":"address"}],"name":"pendingShare","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"poolEndTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"poolInfo","outputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"uint256","name":"allocPoint","type":"uint256"},{"internalType":"uint256","name":"lastRewardTime","type":"uint256"},{"internalType":"uint256","name":"accFearPerShare","type":"uint256"},{"internalType":"bool","name":"isStarted","type":"bool"},{"internalType":"uint256","name":"withdrawFee","type":"uint256"},{"internalType":"address","name":"gauge","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"poolLength","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"poolStartTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"runningTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_allocPoint","type":"uint256"},{"internalType":"uint256","name":"_withdrawFee","type":"uint256"},{"internalType":"address","name":"_gauge","type":"address"}],"name":"set","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_devFund","type":"address"}],"name":"setDevFund","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_operator","type":"address"}],"name":"setOperator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"totalAllocPoint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"updatePool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"","type":"address"}],"name":"userInfo","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"rewardDebt","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405264e8d4a510006004555f600955660355813779c000600c556301e7cb00600d5534801561002f575f5ffd5b50604051611b9e380380611b9e83398101604081905261004e91610160565b60015f554281116100935760405162461bcd60e51b815260040161008a906020808252600490820152636c61746560e01b604082015260600190565b60405180910390fd5b6001600160a01b038416156100be57600280546001600160a01b0319166001600160a01b0386161790555b6001600160a01b038316156100e957600580546001600160a01b0319166001600160a01b0385161790555b6001600160a01b0382161561011457600680546001600160a01b0319166001600160a01b0384161790555b600a819055600d5461012690826101a8565b600b555050600180546001600160a01b03191633179055506101cd9050565b80516001600160a01b038116811461015b575f5ffd5b919050565b5f5f5f5f60808587031215610173575f5ffd5b61017c85610145565b935061018a60208601610145565b925061019860408601610145565b6060959095015193969295505050565b808201808211156101c757634e487b7160e01b5f52601160045260245ffd5b92915050565b6119c4806101da5f395ff3fe608060405234801561000f575f5ffd5b5060043610610187575f3560e01c806354575af4116100d957806393f1a40b11610093578063ae4db9191161006e578063ae4db91914610378578063b3ab15fb1461038b578063cf4b55cb1461039e578063e2bbb158146103b1575f5ffd5b806393f1a40b14610320578063943f013d14610366578063a8c5e0761461036f575f5ffd5b806354575af4146102cd578063570ca735146102e05780635f96dc11146102f3578063630b5ba1146102fc5780636e271dd5146103045780638d476c941461030d575f5ffd5b8063277a2f5b116101445780634390d2a81161011f5780634390d2a814610281578063441a3e701461029457806351eb05a6146102a75780635312ea8e146102ba575f5ffd5b8063277a2f5b1461023a5780633695dad1146102655780633ed306c21461026e575f5ffd5b8063051ba3511461018b578063081e3eda146101a057806309cf6091146101b75780631526fe27146101c857806317caf6f11461021e578063231f0c6a14610227575b5f5ffd5b61019e6101993660046116d6565b6103c4565b005b6007545b6040519081526020015b60405180910390f35b6101a469065a4da25d3016c0000081565b6101db6101d6366004611714565b6104ec565b604080516001600160a01b039889168152602081019790975286019490945260608501929092521515608084015260a083015290911660c082015260e0016101ae565b6101a460095481565b6101a461023536600461172b565b610549565b60035461024d906001600160a01b031681565b6040516001600160a01b0390911681526020016101ae565b6101a460045481565b61019e61027c366004611758565b61060a565b60055461024d906001600160a01b031681565b61019e6102a236600461172b565b61085b565b61019e6102b5366004611714565b610a78565b61019e6102c8366004611714565b610bc7565b61019e6102db3660046117bb565b610cc4565b60015461024d906001600160a01b031681565b6101a4600a5481565b61019e610dee565b6101a4600b5481565b60025461024d906001600160a01b031681565b61035161032e3660046117fa565b600860209081525f92835260408084209091529082529020805460019091015482565b604080519283526020830191909152016101ae565b6101a4600d5481565b6101a4600c5481565b61019e610386366004611828565b610e0c565b61019e610399366004611828565b610eeb565b6101a46103ac3660046117fa565b610f37565b61019e6103bf36600461172b565b61108c565b6001546001600160a01b031633146103f75760405162461bcd60e51b81526004016103ee90611843565b60405180910390fd5b6103ff610dee565b5f600785815481106104135761041361188d565b905f5260205f209060070201905060c8831061047d5760405162461bcd60e51b815260206004820152602360248201527f5769746864726177206665652063616e6e6f74206265206d6f7265207468616e60448201526220322560e81b60648201526084016103ee565b60058101839055600481015460ff16156104b8576104b4846104ae836001015460095461120e90919063ffffffff16565b90611220565b6009555b600181018490556006810180546001600160a01b0319166001600160a01b0384161790556104e585610a78565b5050505050565b600781815481106104fb575f80fd5b5f91825260209091206007909102018054600182015460028301546003840154600485015460058601546006909601546001600160a01b03958616975093959294919360ff90911692911687565b5f81831061055857505f610604565b600b5482106105bf57600b54831061057157505f610604565b600a5483116105a45761059d600c54610597600a54600b5461120e90919063ffffffff16565b9061122b565b9050610604565b61059d600c5461059785600b5461120e90919063ffffffff16565b600a5482116105cf57505f610604565b600a5483116105f35761059d600c54610597600a548561120e90919063ffffffff16565b600c5461059d90610597848661120e565b92915050565b6001546001600160a01b031633146106345760405162461bcd60e51b81526004016103ee90611843565b61063d85611236565b831561064b5761064b610dee565b600a5442101561067b57825f0361066657600a549250610690565b600a5483101561067657600a5492505b610690565b82158061068757504283105b15610690574292505b5f600a54841115806106a25750428411155b6040805160e0810182526001600160a01b03808a168252602082018b81529282018881525f60608401818152861580156080870190815260a087018b81528c871660c0890190815260078054600181018255968190529851959098027fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c688810180549689166001600160a01b031997881617905598517fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c6898a015594517fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c68a89015591517fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c68b88015590517fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c68c8701805491151560ff1990921691909117905591517fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c68d86015592517fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c68e90940180549490921693909216929092179091559091506108525760095461084e9088611220565b6009555b50505050505050565b6108636112ce565b5f3390505f6007848154811061087b5761087b61188d565b5f91825260208083208784526008825260408085206001600160a01b038816865290925292208054600790920290920192508411156108f15760405162461bcd60e51b81526020600482015260126024820152711dda5d1a191c985dce881b9bdd0819dbdbd960721b60448201526064016103ee565b6108fa85610a78565b5f610935826001015461092f670de0b6b3a76400006109298760030154875f015461122b90919063ffffffff16565b90611325565b9061120e565b9050801561098b576109478482611330565b836001600160a01b03167fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e04868260405161098291815260200190565b60405180910390a25b8415610a0457815461099d908661120e565b825560058301545f906109b9906127109061092990899061122b565b90505f6109c6878361120e565b85549091506109df906001600160a01b031687836113d4565b8115610a01576006548554610a01916001600160a01b039182169116846113d4565b50505b60038301548254610a2291670de0b6b3a7640000916109299161122b565b600183015560405185815286906001600160a01b038616907ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b5689060200160405180910390a350505050610a7460015f55565b5050565b5f60078281548110610a8c57610a8c61188d565b905f5260205f209060070201905080600201544211610aa9575050565b80546040516370a0823160e01b81523060048201525f916001600160a01b0316906370a0823190602401602060405180830381865afa158015610aee573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b1291906118a1565b9050805f03610b2657504260029091015550565b600482015460ff16610b575760048201805460ff19166001908117909155820154600954610b5391611220565b6009555b60095415610bbc575f610b6e836002015442610549565b90505f610b8e60095461092986600101548561122b90919063ffffffff16565b9050610bb4610ba98461092984670de0b6b3a764000061122b565b600386015490611220565b600385015550505b504260029091015550565b610bcf6112ce565b5f60078281548110610be357610be361188d565b5f91825260208083208584526008825260408085203386529092529083208054848255600182018590556005600790940290920192830154929450929091610c34906127109061092990859061122b565b90505f610c41838361120e565b8554909150610c5a906001600160a01b031633836113d4565b8115610c7c576006548554610c7c916001600160a01b039182169116846113d4565b604051838152869033907fbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae05959060200160405180910390a35050505050610cc160015f55565b50565b6001546001600160a01b03163314610cee5760405162461bcd60e51b81526004016103ee90611843565b600b54610cfe906276a7006118cc565b421015610dd5576002546001600160a01b0390811690841603610d4c5760405162461bcd60e51b81526004016103ee906020808252600490820152633332b0b960e11b604082015260600190565b6007545f5b81811015610dd2575f60078281548110610d6d57610d6d61188d565b5f918252602090912060079091020180549091506001600160a01b0390811690871603610dc95760405162461bcd60e51b815260206004820152600a6024820152693837b7b6173a37b5b2b760b11b60448201526064016103ee565b50600101610d51565b50505b610de96001600160a01b03841682846113d4565b505050565b6007545f5b81811015610a7457610e0481610a78565b600101610df3565b6001546001600160a01b03163314610e365760405162461bcd60e51b81526004016103ee90611843565b6001600160a01b038116610e975760405162461bcd60e51b815260206004820152602260248201527f43616e6e6f74207365742064657646756e6420746f207a65726f206164647265604482015261737360f01b60648201526084016103ee565b600580546001600160a01b0319166001600160a01b0383169081179091556040519081527f76238c711356e13e6b0a381b5c1103783d65515e5fc402cbd2266925fdddb3ef9060200160405180910390a150565b6001546001600160a01b03163314610f155760405162461bcd60e51b81526004016103ee90611843565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b5f5f60078481548110610f4c57610f4c61188d565b5f91825260208083208784526008825260408085206001600160a01b03898116875293528085206007949094029091016003810154815492516370a0823160e01b815230600482015291965093949291909116906370a0823190602401602060405180830381865afa158015610fc4573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fe891906118a1565b9050836002015442118015610ffc57508015155b15611057575f611010856002015442610549565b90505f61103060095461092988600101548561122b90919063ffffffff16565b905061105261104b8461092984670de0b6b3a764000061122b565b8590611220565b935050505b611081836001015461092f670de0b6b3a764000061092986885f015461122b90919063ffffffff16565b979650505050505050565b6110946112ce565b5f3390505f600784815481106110ac576110ac61188d565b5f91825260208083208784526008825260408085206001600160a01b03881686529092529220600790910290910191506110e585610a78565b805415611173575f61111b826001015461092f670de0b6b3a76400006109298760030154875f015461122b90919063ffffffff16565b905080156111715761112d8482611330565b836001600160a01b03167fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e04868260405161116891815260200190565b60405180910390a25b505b831561119f578154611190906001600160a01b0316843087611437565b805461119c9085611220565b81555b600382015481546111bd91670de0b6b3a7640000916109299161122b565b600182015560405184815285906001600160a01b038516907f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a159060200160405180910390a3505050610a7460015f55565b5f61121982846118df565b9392505050565b5f61121982846118cc565b5f61121982846118f2565b6007545f5b81811015610de957826001600160a01b0316600782815481106112605761126061188d565b5f9182526020909120600790910201546001600160a01b0316036112c65760405162461bcd60e51b815260206004820152601e60248201527f46656172526577617264506f6f6c3a206578697374696e6720706f6f6c3f000060448201526064016103ee565b60010161123b565b60025f540361131f5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016103ee565b60025f55565b5f6112198284611909565b6002546040516370a0823160e01b81523060048201525f916001600160a01b0316906370a0823190602401602060405180830381865afa158015611376573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061139a91906118a1565b90508015610de957808211156113c157600254610de9906001600160a01b031684836113d4565b600254610de9906001600160a01b031684845b6040516001600160a01b038316602482015260448101829052610de990849063a9059cbb60e01b906064015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152611475565b6040516001600160a01b038085166024830152831660448201526064810182905261146f9085906323b872dd60e01b90608401611400565b50505050565b5f6114c9826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166115489092919063ffffffff16565b905080515f14806114e95750808060200190518101906114e99190611928565b610de95760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016103ee565b606061155684845f8561155e565b949350505050565b6060824710156115bf5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b60648201526084016103ee565b5f5f866001600160a01b031685876040516115da9190611943565b5f6040518083038185875af1925050503d805f8114611614576040519150601f19603f3d011682016040523d82523d5f602084013e611619565b606091505b509150915061108187838387606083156116935782515f0361168c576001600160a01b0385163b61168c5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016103ee565b5081611556565b61155683838151156116a85781518083602001fd5b8060405162461bcd60e51b81526004016103ee9190611959565b6001600160a01b0381168114610cc1575f5ffd5b5f5f5f5f608085870312156116e9575f5ffd5b8435935060208501359250604085013591506060850135611709816116c2565b939692955090935050565b5f60208284031215611724575f5ffd5b5035919050565b5f5f6040838503121561173c575f5ffd5b50508035926020909101359150565b8015158114610cc1575f5ffd5b5f5f5f5f5f5f60c0878903121561176d575f5ffd5b86359550602087013561177f816116c2565b9450604087013561178f8161174b565b93506060870135925060808701356117a6816116c2565b9598949750929591949360a090920135925050565b5f5f5f606084860312156117cd575f5ffd5b83356117d8816116c2565b92506020840135915060408401356117ef816116c2565b809150509250925092565b5f5f6040838503121561180b575f5ffd5b82359150602083013561181d816116c2565b809150509250929050565b5f60208284031215611838575f5ffd5b8135611219816116c2565b6020808252602a908201527f46656172526577617264506f6f6c3a2063616c6c6572206973206e6f74207468604082015269329037b832b930ba37b960b11b606082015260800190565b634e487b7160e01b5f52603260045260245ffd5b5f602082840312156118b1575f5ffd5b5051919050565b634e487b7160e01b5f52601160045260245ffd5b80820180821115610604576106046118b8565b81810381811115610604576106046118b8565b8082028115828204841417610604576106046118b8565b5f8261192357634e487b7160e01b5f52601260045260245ffd5b500490565b5f60208284031215611938575f5ffd5b81516112198161174b565b5f82518060208501845e5f920191825250919050565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f8301168401019150509291505056fea2646970667358221220bfc969e135e5217db0934f9a153f4691abf2637c3d9ef4b3e3fb1b9c61bb4f4264736f6c634300081c00330000000000000000000000003b196427969452e3a4de6d612b320343a5e91166000000000000000000000000a99fa2707ec6fe5ab4b14c88431c40f1ff3b9a98000000000000000000000000e846702c98f41c3e48cd8c9fa779a0300cf438410000000000000000000000000000000000000000000000000000000067c447a9
Deployed Bytecode
0x608060405234801561000f575f5ffd5b5060043610610187575f3560e01c806354575af4116100d957806393f1a40b11610093578063ae4db9191161006e578063ae4db91914610378578063b3ab15fb1461038b578063cf4b55cb1461039e578063e2bbb158146103b1575f5ffd5b806393f1a40b14610320578063943f013d14610366578063a8c5e0761461036f575f5ffd5b806354575af4146102cd578063570ca735146102e05780635f96dc11146102f3578063630b5ba1146102fc5780636e271dd5146103045780638d476c941461030d575f5ffd5b8063277a2f5b116101445780634390d2a81161011f5780634390d2a814610281578063441a3e701461029457806351eb05a6146102a75780635312ea8e146102ba575f5ffd5b8063277a2f5b1461023a5780633695dad1146102655780633ed306c21461026e575f5ffd5b8063051ba3511461018b578063081e3eda146101a057806309cf6091146101b75780631526fe27146101c857806317caf6f11461021e578063231f0c6a14610227575b5f5ffd5b61019e6101993660046116d6565b6103c4565b005b6007545b6040519081526020015b60405180910390f35b6101a469065a4da25d3016c0000081565b6101db6101d6366004611714565b6104ec565b604080516001600160a01b039889168152602081019790975286019490945260608501929092521515608084015260a083015290911660c082015260e0016101ae565b6101a460095481565b6101a461023536600461172b565b610549565b60035461024d906001600160a01b031681565b6040516001600160a01b0390911681526020016101ae565b6101a460045481565b61019e61027c366004611758565b61060a565b60055461024d906001600160a01b031681565b61019e6102a236600461172b565b61085b565b61019e6102b5366004611714565b610a78565b61019e6102c8366004611714565b610bc7565b61019e6102db3660046117bb565b610cc4565b60015461024d906001600160a01b031681565b6101a4600a5481565b61019e610dee565b6101a4600b5481565b60025461024d906001600160a01b031681565b61035161032e3660046117fa565b600860209081525f92835260408084209091529082529020805460019091015482565b604080519283526020830191909152016101ae565b6101a4600d5481565b6101a4600c5481565b61019e610386366004611828565b610e0c565b61019e610399366004611828565b610eeb565b6101a46103ac3660046117fa565b610f37565b61019e6103bf36600461172b565b61108c565b6001546001600160a01b031633146103f75760405162461bcd60e51b81526004016103ee90611843565b60405180910390fd5b6103ff610dee565b5f600785815481106104135761041361188d565b905f5260205f209060070201905060c8831061047d5760405162461bcd60e51b815260206004820152602360248201527f5769746864726177206665652063616e6e6f74206265206d6f7265207468616e60448201526220322560e81b60648201526084016103ee565b60058101839055600481015460ff16156104b8576104b4846104ae836001015460095461120e90919063ffffffff16565b90611220565b6009555b600181018490556006810180546001600160a01b0319166001600160a01b0384161790556104e585610a78565b5050505050565b600781815481106104fb575f80fd5b5f91825260209091206007909102018054600182015460028301546003840154600485015460058601546006909601546001600160a01b03958616975093959294919360ff90911692911687565b5f81831061055857505f610604565b600b5482106105bf57600b54831061057157505f610604565b600a5483116105a45761059d600c54610597600a54600b5461120e90919063ffffffff16565b9061122b565b9050610604565b61059d600c5461059785600b5461120e90919063ffffffff16565b600a5482116105cf57505f610604565b600a5483116105f35761059d600c54610597600a548561120e90919063ffffffff16565b600c5461059d90610597848661120e565b92915050565b6001546001600160a01b031633146106345760405162461bcd60e51b81526004016103ee90611843565b61063d85611236565b831561064b5761064b610dee565b600a5442101561067b57825f0361066657600a549250610690565b600a5483101561067657600a5492505b610690565b82158061068757504283105b15610690574292505b5f600a54841115806106a25750428411155b6040805160e0810182526001600160a01b03808a168252602082018b81529282018881525f60608401818152861580156080870190815260a087018b81528c871660c0890190815260078054600181018255968190529851959098027fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c688810180549689166001600160a01b031997881617905598517fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c6898a015594517fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c68a89015591517fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c68b88015590517fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c68c8701805491151560ff1990921691909117905591517fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c68d86015592517fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c68e90940180549490921693909216929092179091559091506108525760095461084e9088611220565b6009555b50505050505050565b6108636112ce565b5f3390505f6007848154811061087b5761087b61188d565b5f91825260208083208784526008825260408085206001600160a01b038816865290925292208054600790920290920192508411156108f15760405162461bcd60e51b81526020600482015260126024820152711dda5d1a191c985dce881b9bdd0819dbdbd960721b60448201526064016103ee565b6108fa85610a78565b5f610935826001015461092f670de0b6b3a76400006109298760030154875f015461122b90919063ffffffff16565b90611325565b9061120e565b9050801561098b576109478482611330565b836001600160a01b03167fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e04868260405161098291815260200190565b60405180910390a25b8415610a0457815461099d908661120e565b825560058301545f906109b9906127109061092990899061122b565b90505f6109c6878361120e565b85549091506109df906001600160a01b031687836113d4565b8115610a01576006548554610a01916001600160a01b039182169116846113d4565b50505b60038301548254610a2291670de0b6b3a7640000916109299161122b565b600183015560405185815286906001600160a01b038616907ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b5689060200160405180910390a350505050610a7460015f55565b5050565b5f60078281548110610a8c57610a8c61188d565b905f5260205f209060070201905080600201544211610aa9575050565b80546040516370a0823160e01b81523060048201525f916001600160a01b0316906370a0823190602401602060405180830381865afa158015610aee573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b1291906118a1565b9050805f03610b2657504260029091015550565b600482015460ff16610b575760048201805460ff19166001908117909155820154600954610b5391611220565b6009555b60095415610bbc575f610b6e836002015442610549565b90505f610b8e60095461092986600101548561122b90919063ffffffff16565b9050610bb4610ba98461092984670de0b6b3a764000061122b565b600386015490611220565b600385015550505b504260029091015550565b610bcf6112ce565b5f60078281548110610be357610be361188d565b5f91825260208083208584526008825260408085203386529092529083208054848255600182018590556005600790940290920192830154929450929091610c34906127109061092990859061122b565b90505f610c41838361120e565b8554909150610c5a906001600160a01b031633836113d4565b8115610c7c576006548554610c7c916001600160a01b039182169116846113d4565b604051838152869033907fbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae05959060200160405180910390a35050505050610cc160015f55565b50565b6001546001600160a01b03163314610cee5760405162461bcd60e51b81526004016103ee90611843565b600b54610cfe906276a7006118cc565b421015610dd5576002546001600160a01b0390811690841603610d4c5760405162461bcd60e51b81526004016103ee906020808252600490820152633332b0b960e11b604082015260600190565b6007545f5b81811015610dd2575f60078281548110610d6d57610d6d61188d565b5f918252602090912060079091020180549091506001600160a01b0390811690871603610dc95760405162461bcd60e51b815260206004820152600a6024820152693837b7b6173a37b5b2b760b11b60448201526064016103ee565b50600101610d51565b50505b610de96001600160a01b03841682846113d4565b505050565b6007545f5b81811015610a7457610e0481610a78565b600101610df3565b6001546001600160a01b03163314610e365760405162461bcd60e51b81526004016103ee90611843565b6001600160a01b038116610e975760405162461bcd60e51b815260206004820152602260248201527f43616e6e6f74207365742064657646756e6420746f207a65726f206164647265604482015261737360f01b60648201526084016103ee565b600580546001600160a01b0319166001600160a01b0383169081179091556040519081527f76238c711356e13e6b0a381b5c1103783d65515e5fc402cbd2266925fdddb3ef9060200160405180910390a150565b6001546001600160a01b03163314610f155760405162461bcd60e51b81526004016103ee90611843565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b5f5f60078481548110610f4c57610f4c61188d565b5f91825260208083208784526008825260408085206001600160a01b03898116875293528085206007949094029091016003810154815492516370a0823160e01b815230600482015291965093949291909116906370a0823190602401602060405180830381865afa158015610fc4573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fe891906118a1565b9050836002015442118015610ffc57508015155b15611057575f611010856002015442610549565b90505f61103060095461092988600101548561122b90919063ffffffff16565b905061105261104b8461092984670de0b6b3a764000061122b565b8590611220565b935050505b611081836001015461092f670de0b6b3a764000061092986885f015461122b90919063ffffffff16565b979650505050505050565b6110946112ce565b5f3390505f600784815481106110ac576110ac61188d565b5f91825260208083208784526008825260408085206001600160a01b03881686529092529220600790910290910191506110e585610a78565b805415611173575f61111b826001015461092f670de0b6b3a76400006109298760030154875f015461122b90919063ffffffff16565b905080156111715761112d8482611330565b836001600160a01b03167fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e04868260405161116891815260200190565b60405180910390a25b505b831561119f578154611190906001600160a01b0316843087611437565b805461119c9085611220565b81555b600382015481546111bd91670de0b6b3a7640000916109299161122b565b600182015560405184815285906001600160a01b038516907f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a159060200160405180910390a3505050610a7460015f55565b5f61121982846118df565b9392505050565b5f61121982846118cc565b5f61121982846118f2565b6007545f5b81811015610de957826001600160a01b0316600782815481106112605761126061188d565b5f9182526020909120600790910201546001600160a01b0316036112c65760405162461bcd60e51b815260206004820152601e60248201527f46656172526577617264506f6f6c3a206578697374696e6720706f6f6c3f000060448201526064016103ee565b60010161123b565b60025f540361131f5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016103ee565b60025f55565b5f6112198284611909565b6002546040516370a0823160e01b81523060048201525f916001600160a01b0316906370a0823190602401602060405180830381865afa158015611376573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061139a91906118a1565b90508015610de957808211156113c157600254610de9906001600160a01b031684836113d4565b600254610de9906001600160a01b031684845b6040516001600160a01b038316602482015260448101829052610de990849063a9059cbb60e01b906064015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152611475565b6040516001600160a01b038085166024830152831660448201526064810182905261146f9085906323b872dd60e01b90608401611400565b50505050565b5f6114c9826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166115489092919063ffffffff16565b905080515f14806114e95750808060200190518101906114e99190611928565b610de95760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016103ee565b606061155684845f8561155e565b949350505050565b6060824710156115bf5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b60648201526084016103ee565b5f5f866001600160a01b031685876040516115da9190611943565b5f6040518083038185875af1925050503d805f8114611614576040519150601f19603f3d011682016040523d82523d5f602084013e611619565b606091505b509150915061108187838387606083156116935782515f0361168c576001600160a01b0385163b61168c5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016103ee565b5081611556565b61155683838151156116a85781518083602001fd5b8060405162461bcd60e51b81526004016103ee9190611959565b6001600160a01b0381168114610cc1575f5ffd5b5f5f5f5f608085870312156116e9575f5ffd5b8435935060208501359250604085013591506060850135611709816116c2565b939692955090935050565b5f60208284031215611724575f5ffd5b5035919050565b5f5f6040838503121561173c575f5ffd5b50508035926020909101359150565b8015158114610cc1575f5ffd5b5f5f5f5f5f5f60c0878903121561176d575f5ffd5b86359550602087013561177f816116c2565b9450604087013561178f8161174b565b93506060870135925060808701356117a6816116c2565b9598949750929591949360a090920135925050565b5f5f5f606084860312156117cd575f5ffd5b83356117d8816116c2565b92506020840135915060408401356117ef816116c2565b809150509250925092565b5f5f6040838503121561180b575f5ffd5b82359150602083013561181d816116c2565b809150509250929050565b5f60208284031215611838575f5ffd5b8135611219816116c2565b6020808252602a908201527f46656172526577617264506f6f6c3a2063616c6c6572206973206e6f74207468604082015269329037b832b930ba37b960b11b606082015260800190565b634e487b7160e01b5f52603260045260245ffd5b5f602082840312156118b1575f5ffd5b5051919050565b634e487b7160e01b5f52601160045260245ffd5b80820180821115610604576106046118b8565b81810381811115610604576106046118b8565b8082028115828204841417610604576106046118b8565b5f8261192357634e487b7160e01b5f52601260045260245ffd5b500490565b5f60208284031215611938575f5ffd5b81516112198161174b565b5f82518060208501845e5f920191825250919050565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f8301168401019150509291505056fea2646970667358221220bfc969e135e5217db0934f9a153f4691abf2637c3d9ef4b3e3fb1b9c61bb4f4264736f6c634300081c0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000003b196427969452e3a4de6d612b320343a5e91166000000000000000000000000a99fa2707ec6fe5ab4b14c88431c40f1ff3b9a98000000000000000000000000e846702c98f41c3e48cd8c9fa779a0300cf438410000000000000000000000000000000000000000000000000000000067c447a9
-----Decoded View---------------
Arg [0] : _fear (address): 0x3B196427969452e3a4DE6D612B320343A5e91166
Arg [1] : _devFund (address): 0xa99fa2707Ec6FE5Ab4b14C88431c40F1FF3B9A98
Arg [2] : _burnFund (address): 0xe846702c98F41C3E48cd8c9fa779a0300CF43841
Arg [3] : _poolStartTime (uint256): 1740916649
-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000003b196427969452e3a4de6d612b320343a5e91166
Arg [1] : 000000000000000000000000a99fa2707ec6fe5ab4b14c88431c40f1ff3b9a98
Arg [2] : 000000000000000000000000e846702c98f41c3e48cd8c9fa779a0300cf43841
Arg [3] : 0000000000000000000000000000000000000000000000000000000067c447a9
Deployed Bytecode Sourcemap
46478:12367:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51226:582;;;;;;:::i;:::-;;:::i;:::-;;49313:95;49385:8;:15;49313:95;;;909:25:1;;;897:2;882:18;49313:95:0;;;;;;;;48203:51;;48243:11;48203:51;;47604:26;;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;1516:32:1;;;1498:51;;1580:2;1565:18;;1558:34;;;;1608:18;;1601:34;;;;1666:2;1651:18;;1644:34;;;;1722:14;1715:22;1709:3;1694:19;;1687:51;1536:3;1754:19;;1747:35;1819:32;;;1813:3;1798:19;;1791:61;1485:3;1470:19;47604:26:0;1176:682:1;47849:34:0;;;;;;51885:653;;;;;;:::i;:::-;;:::i;47421:25::-;;;;;-1:-1:-1;;;;;47421:25:0;;;;;;-1:-1:-1;;;;;2394:32:1;;;2376:51;;2364:2;2349:18;47421:25:0;2214:219:1;47455:39:0;;;;;;49754:1373;;;;;;:::i;:::-;;:::i;47523:22::-;;;;;-1:-1:-1;;;;;47523:22:0;;;55541:1076;;;;;;:::i;:::-;;:::i;53712:908::-;;;;;;:::i;:::-;;:::i;56688:623::-;;;;;;:::i;:::-;;:::i;58238:604::-;;;;;;:::i;:::-;;:::i;46615:23::-;;;;;-1:-1:-1;;;;;46615:23:0;;;47934:28;;;;;;53456:180;;;:::i;48011:26::-;;;;;;47396:18;;;;;-1:-1:-1;;;;;47396:18:0;;;47688:64;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4966:25:1;;;5022:2;5007:18;;5000:34;;;;4939:18;47688:64:0;4792:248:1;48147:37:0;;;;;;48044:49;;;;;;57958:217;;;;;;:::i;:::-;;:::i;57815:101::-;;;;;;:::i;:::-;;:::i;52601:772::-;;;;;;:::i;:::-;;:::i;54655:839::-;;;;;;:::i;:::-;;:::i;51226:582::-;49216:8;;-1:-1:-1;;;;;49216:8:0;49228:10;49216:22;49208:77;;;;-1:-1:-1;;;49208:77:0;;;;;;;:::i;:::-;;;;;;;;;51386:17:::1;:15;:17::i;:::-;51414:21;51438:8;51447:4;51438:14;;;;;;;;:::i;:::-;;;;;;;;;;;51414:38;;51486:3;51471:12;:18;51463:66;;;::::0;-1:-1:-1;;;51463:66:0;;6042:2:1;51463:66:0::1;::::0;::::1;6024:21:1::0;6081:2;6061:18;;;6054:30;6120:34;6100:18;;;6093:62;-1:-1:-1;;;6171:18:1;;;6164:33;6214:19;;51463:66:0::1;5840:399:1::0;51463:66:0::1;51540:16;::::0;::::1;:31:::0;;;51588:14:::1;::::0;::::1;::::0;::::1;;51584:118;;;51637:53;51678:11;51637:36;51657:4;:15;;;51637;;:19;;:36;;;;:::i;:::-;:40:::0;::::1;:53::i;:::-;51619:15;:71:::0;51584:118:::1;51712:15;::::0;::::1;:29:::0;;;51752:10:::1;::::0;::::1;:19:::0;;-1:-1:-1;;;;;;51752:19:0::1;-1:-1:-1::0;;;;;51752:19:0;::::1;;::::0;;51784:16:::1;51795:4:::0;51784:10:::1;:16::i;:::-;51375:433;51226:582:::0;;;;:::o;47604:26::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;47604:26:0;;;;-1:-1:-1;47604:26:0;;;;;;;;;;;;;;:::o;51885:653::-;51970:7;52007;51994:9;:20;51990:34;;-1:-1:-1;52023:1:0;52016:8;;51990:34;52050:11;;52039:7;:22;52035:496;;52095:11;;52082:9;:24;52078:38;;-1:-1:-1;52115:1:0;52108:8;;52078:38;52148:13;;52135:9;:26;52131:88;;52170:49;52205:13;;52170:30;52186:13;;52170:11;;:15;;:30;;;;:::i;:::-;:34;;:49::i;:::-;52163:56;;;;52131:88;52241:45;52272:13;;52241:26;52257:9;52241:11;;:15;;:26;;;;:::i;52035:496::-;52334:13;;52323:7;:24;52319:38;;-1:-1:-1;52356:1:0;52349:8;;52319:38;52389:13;;52376:9;:26;52372:84;;52411:45;52442:13;;52411:26;52423:13;;52411:7;:11;;:26;;;;:::i;52372:84::-;52505:13;;52478:41;;:22;:7;52490:9;52478:11;:22::i;52035:496::-;51885:653;;;;:::o;49754:1373::-;49216:8;;-1:-1:-1;;;;;49216:8:0;49228:10;49216:22;49208:77;;;;-1:-1:-1;;;49208:77:0;;;;;;;:::i;:::-;49976:26:::1;49995:6;49976:18;:26::i;:::-;50017:11;50013:61;;;50045:17;:15;:17::i;:::-;50106:13;;50088:15;:31;50084:534;;;50173:15;50192:1;50173:20:::0;50169:243:::1;;50232:13;;50214:31;;50084:534;;50169:243;50308:13;;50290:15;:31;50286:111;;;50364:13;;50346:31;;50286:111;50084:534;;;50480:20:::0;;;:57:::1;;;50522:15;50504;:33;50480:57;50476:131;;;50576:15;50558:33;;50476:131;50628:15;50666:13;;50647:15;:32;;50646:74;;;;50704:15;50685;:34;;50646:74;50745:270;::::0;;::::1;::::0;::::1;::::0;;-1:-1:-1;;;;;50745:270:0;;::::1;::::0;;::::1;::::0;::::1;::::0;;;;;;;;;-1:-1:-1;50745:270:0;;;;;;;::::1;::::0;::::1;::::0;;;;;;;;;;;;;;::::1;::::0;;;;;;50731:8:::1;:285:::0;;::::1;::::0;::::1;::::0;;;;;;;;;;;::::1;::::0;;::::1;::::0;;;;::::1;-1:-1:-1::0;;;;;;50731:285:0;;::::1;;::::0;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::1;;-1:-1:-1::0;;50731:285:0;;::::1;::::0;;;::::1;::::0;;;;;;;;;;;;;;;;;;;::::1;::::0;;;::::1;::::0;;;::::1;::::0;;;50628:92;;-1:-1:-1;51027:93:0::1;;51076:15;::::0;:32:::1;::::0;51096:11;51076:19:::1;:32::i;:::-;51058:15;:50:::0;51027:93:::1;49965:1162;49754:1373:::0;;;;;;:::o;55541:1076::-;32353:21;:19;:21::i;:::-;55621:15:::1;55639:10;55621:28;;55660:21;55684:8;55693:4;55684:14;;;;;;;;:::i;:::-;;::::0;;;::::1;::::0;;;55733;;;:8:::1;:14:::0;;;;;;-1:-1:-1;;;;;55733:23:0;::::1;::::0;;;;;;;55775:11;;55684:14:::1;::::0;;::::1;::::0;;::::1;::::0;-1:-1:-1;55775:22:0;-1:-1:-1;55775:22:0::1;55767:53;;;::::0;-1:-1:-1;;;55767:53:0;;6446:2:1;55767:53:0::1;::::0;::::1;6428:21:1::0;6485:2;6465:18;;;6458:30;-1:-1:-1;;;6504:18:1;;;6497:48;6562:18;;55767:53:0::1;6244:342:1::0;55767:53:0::1;55831:16;55842:4;55831:10;:16::i;:::-;55858;55877:68;55929:4;:15;;;55877:47;55919:4;55877:37;55893:4;:20;;;55877:4;:11;;;:15;;:37;;;;:::i;:::-;:41:::0;::::1;:47::i;:::-;:51:::0;::::1;:68::i;:::-;55858:87:::0;-1:-1:-1;55960:12:0;;55956:129:::1;;55989:35;56006:7;56015:8;55989:16;:35::i;:::-;56055:7;-1:-1:-1::0;;;;;56044:29:0::1;;56064:8;56044:29;;;;909:25:1::0;;897:2;882:18;;763:177;56044:29:0::1;;;;;;;;55956:129;56099:11:::0;;56095:391:::1;;56141:11:::0;;:24:::1;::::0;56157:7;56141:15:::1;:24::i;:::-;56127:38:::0;;56206:16:::1;::::0;::::1;::::0;56127:11:::1;::::0;56194:40:::1;::::0;56228:5:::1;::::0;56194:29:::1;::::0;:7;;:11:::1;:29::i;:40::-;56180:54:::0;-1:-1:-1;56270:22:0::1;56295:16;:7:::0;56180:54;56295:11:::1;:16::i;:::-;56326:10:::0;;56270:41;;-1:-1:-1;56326:48:0::1;::::0;-1:-1:-1;;;;;56326:10:0::1;56350:7:::0;56270:41;56326:23:::1;:48::i;:::-;56393:7:::0;;56389:86:::1;;56445:8;::::0;56421:10;;:38:::1;::::0;-1:-1:-1;;;;;56421:10:0;;::::1;::::0;56445:8:::1;56455:3:::0;56421:23:::1;:38::i;:::-;56112:374;;56095:391;56530:20;::::0;::::1;::::0;56514:11;;:47:::1;::::0;56556:4:::1;::::0;56514:37:::1;::::0;:15:::1;:37::i;:47::-;56496:15;::::0;::::1;:65:::0;56577:32:::1;::::0;909:25:1;;;56595:4:0;;-1:-1:-1;;;;;56577:32:0;::::1;::::0;::::1;::::0;897:2:1;882:18;56577:32:0::1;;;;;;;55610:1007;;;;32397:20:::0;31791:1;32917:7;:22;32734:213;32397:20;55541:1076;;:::o;53712:908::-;53764:21;53788:8;53797:4;53788:14;;;;;;;;:::i;:::-;;;;;;;;;;;53764:38;;53836:4;:19;;;53817:15;:38;53813:77;;53872:7;53712:908;:::o;53813:77::-;53922:10;;:35;;-1:-1:-1;;;53922:35:0;;53951:4;53922:35;;;2376:51:1;53900:19:0;;-1:-1:-1;;;;;53922:10:0;;:20;;2349:18:1;;53922:35:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;53900:57;;53972:11;53987:1;53972:16;53968:107;;-1:-1:-1;54027:15:0;54005:19;;;;:37;-1:-1:-1;53712:908:0:o;53968:107::-;54090:14;;;;;;54085:138;;54121:14;;;:21;;-1:-1:-1;;54121:21:0;54138:4;54121:21;;;;;;54195:15;;;54175;;:36;;:19;:36::i;:::-;54157:15;:54;54085:138;54237:15;;:19;54233:332;;54273:24;54300:56;54319:4;:19;;;54340:15;54300:18;:56::i;:::-;54273:83;;54371:19;54393:58;54435:15;;54393:37;54414:4;:15;;;54393:16;:20;;:37;;;;:::i;:58::-;54371:80;-1:-1:-1;54489:64:0;54514:38;54540:11;54514:21;54371:80;54530:4;54514:15;:21::i;:38::-;54489:20;;;;;:24;:64::i;:::-;54466:20;;;:87;-1:-1:-1;;54233:332:0;-1:-1:-1;54597:15:0;54575:19;;;;:37;-1:-1:-1;53712:908:0:o;56688:623::-;32353:21;:19;:21::i;:::-;56760::::1;56784:8;56793:4;56784:14;;;;;;;;:::i;:::-;;::::0;;;::::1;::::0;;;56833;;;:8:::1;:14:::0;;;;;;56848:10:::1;56833:26:::0;;;;;;;;56888:11;;56910:15;;;-1:-1:-1;56936:15:0;::::1;:19:::0;;;56992:16:::1;56784:14;::::0;;::::1;::::0;;::::1;56992:16:::0;;::::1;::::0;56784:14;;-1:-1:-1;56833:26:0;56888:11;;56980:40:::1;::::0;57014:5:::1;::::0;56980:29:::1;::::0;56888:11;;56980::::1;:29::i;:40::-;56966:54:::0;-1:-1:-1;57052:22:0::1;57077:16;:7:::0;56966:54;57077:11:::1;:16::i;:::-;57104:10:::0;;57052:41;;-1:-1:-1;57104:51:0::1;::::0;-1:-1:-1;;;;;57104:10:0::1;57128;57052:41:::0;57104:23:::1;:51::i;:::-;57170:7:::0;;57166:78:::1;;57218:8;::::0;57194:10;;:38:::1;::::0;-1:-1:-1;;;;;57194:10:0;;::::1;::::0;57218:8:::1;57228:3:::0;57194:23:::1;:38::i;:::-;57259:44;::::0;909:25:1;;;57289:4:0;;57277:10:::1;::::0;57259:44:::1;::::0;897:2:1;882:18;57259:44:0::1;;;;;;;56749:562;;;;;32397:20:::0;31791:1;32917:7;:22;32734:213;32397:20;56688:623;:::o;58238:604::-;49216:8;;-1:-1:-1;;;;;49216:8:0;49228:10;49216:22;49208:77;;;;-1:-1:-1;;;49208:77:0;;;;;;;:::i;:::-;58374:11:::1;::::0;:21:::1;::::0;58388:7:::1;58374:21;:::i;:::-;58356:15;:39;58352:441;;;58530:4;::::0;-1:-1:-1;;;;;58530:4:0;;::::1;58520:14:::0;;::::1;::::0;58512:31:::1;;;;-1:-1:-1::0;;;58512:31:0::1;;;;;;7244:2:1::0;7226:21;;;7283:1;7263:18;;;7256:29;-1:-1:-1;;;7316:2:1;7301:18;;7294:34;7360:2;7345:18;;7042:327;58512:31:0::1;58575:8;:15:::0;58558:14:::1;58605:177;58633:6;58627:3;:12;58605:177;;;58667:21;58691:8;58700:3;58691:13;;;;;;;;:::i;:::-;;::::0;;;::::1;::::0;;;::::1;::::0;;::::1;;58741:10:::0;;58691:13;;-1:-1:-1;;;;;;58741:10:0;;::::1;58731:20:::0;;::::1;::::0;58723:43:::1;;;::::0;-1:-1:-1;;;58723:43:0;;7576:2:1;58723:43:0::1;::::0;::::1;7558:21:1::0;7615:2;7595:18;;;7588:30;-1:-1:-1;;;7634:18:1;;;7627:40;7684:18;;58723:43:0::1;7374:334:1::0;58723:43:0::1;-1:-1:-1::0;58641:5:0::1;;58605:177;;;;58397:396;58352:441;58803:31;-1:-1:-1::0;;;;;58803:19:0;::::1;58823:2:::0;58827:6;58803:19:::1;:31::i;:::-;58238:604:::0;;;:::o;53456:180::-;53518:8;:15;53501:14;53544:85;53572:6;53566:3;:12;53544:85;;;53602:15;53613:3;53602:10;:15::i;:::-;53580:5;;53544:85;;57958:217;49216:8;;-1:-1:-1;;;;;49216:8:0;49228:10;49216:22;49208:77;;;;-1:-1:-1;;;49208:77:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;58037:22:0;::::1;58029:69;;;::::0;-1:-1:-1;;;58029:69:0;;7915:2:1;58029:69:0::1;::::0;::::1;7897:21:1::0;7954:2;7934:18;;;7927:30;7993:34;7973:18;;;7966:62;-1:-1:-1;;;8044:18:1;;;8037:32;8086:19;;58029:69:0::1;7713:398:1::0;58029:69:0::1;58109:7;:18:::0;;-1:-1:-1;;;;;;58109:18:0::1;-1:-1:-1::0;;;;;58109:18:0;::::1;::::0;;::::1;::::0;;;58143:24:::1;::::0;2376:51:1;;;58143:24:0::1;::::0;2364:2:1;2349:18;58143:24:0::1;;;;;;;57958:217:::0;:::o;57815:101::-;49216:8;;-1:-1:-1;;;;;49216:8:0;49228:10;49216:22;49208:77;;;;-1:-1:-1;;;49208:77:0;;;;;;;:::i;:::-;57888:8:::1;:20:::0;;-1:-1:-1;;;;;;57888:20:0::1;-1:-1:-1::0;;;;;57888:20:0;;;::::1;::::0;;;::::1;::::0;;57815:101::o;52601:772::-;52675:7;52695:21;52719:8;52728:4;52719:14;;;;;;;;:::i;:::-;;;;;;;;;52768;;;:8;:14;;;;;;-1:-1:-1;;;;;52768:21:0;;;;;;;;;;52719:14;;;;;;;;52826:20;;;;52879:10;;:35;;-1:-1:-1;;;52879:35:0;;52908:4;52879:35;;;2376:51:1;52719:14:0;;-1:-1:-1;52768:21:0;;52719:14;52879:10;;;;;:20;;2349:18:1;;52879:35:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;52857:57;;52947:4;:19;;;52929:15;:37;:57;;;;-1:-1:-1;52970:16:0;;;52929:57;52925:360;;;53003:24;53030:56;53049:4;:19;;;53070:15;53030:18;:56::i;:::-;53003:83;;53101:19;53123:58;53165:15;;53123:37;53144:4;:15;;;53123:16;:20;;:37;;;;:::i;:58::-;53101:80;-1:-1:-1;53214:59:0;53234:38;53260:11;53234:21;53101:80;53250:4;53234:15;:21::i;:38::-;53214:15;;:19;:59::i;:::-;53196:77;;52988:297;;52925:360;53302:63;53349:4;:15;;;53302:42;53339:4;53302:32;53318:15;53302:4;:11;;;:15;;:32;;;;:::i;:63::-;53295:70;52601:772;-1:-1:-1;;;;;;;52601:772:0:o;54655:839::-;32353:21;:19;:21::i;:::-;54734:15:::1;54752:10;54734:28;;54773:21;54797:8;54806:4;54797:14;;;;;;;;:::i;:::-;;::::0;;;::::1;::::0;;;54846;;;:8:::1;:14:::0;;;;;;-1:-1:-1;;;;;54846:23:0;::::1;::::0;;;;;;;54797:14:::1;::::0;;::::1;::::0;;::::1;::::0;-1:-1:-1;54880:16:0::1;54855:4:::0;54880:10:::1;:16::i;:::-;54911:11:::0;;:15;54907:290:::1;;54943:16;54962:68;55014:4;:15;;;54962:47;55004:4;54962:37;54978:4;:20;;;54962:4;:11;;;:15;;:37;;;;:::i;:68::-;54943:87:::0;-1:-1:-1;55049:12:0;;55045:141:::1;;55082:35;55099:7;55108:8;55082:16;:35::i;:::-;55152:7;-1:-1:-1::0;;;;;55141:29:0::1;;55161:8;55141:29;;;;909:25:1::0;;897:2;882:18;;763:177;55141:29:0::1;;;;;;;;55045:141;54928:269;54907:290;55211:11:::0;;55207:157:::1;;55239:10:::0;;:60:::1;::::0;-1:-1:-1;;;;;55239:10:0::1;55267:7:::0;55284:4:::1;55291:7:::0;55239:27:::1;:60::i;:::-;55328:11:::0;;:24:::1;::::0;55344:7;55328:15:::1;:24::i;:::-;55314:38:::0;;55207:157:::1;55408:20;::::0;::::1;::::0;55392:11;;:47:::1;::::0;55434:4:::1;::::0;55392:37:::1;::::0;:15:::1;:37::i;:47::-;55374:15;::::0;::::1;:65:::0;55455:31:::1;::::0;909:25:1;;;55472:4:0;;-1:-1:-1;;;;;55455:31:0;::::1;::::0;::::1;::::0;897:2:1;882:18;55455:31:0::1;;;;;;;54723:771;;;32397:20:::0;31791:1;32917:7;:22;32734:213;26393:98;26451:7;26478:5;26482:1;26478;:5;:::i;:::-;26471:12;26393:98;-1:-1:-1;;;26393:98:0:o;26012:::-;26070:7;26097:5;26101:1;26097;:5;:::i;26750:98::-;26808:7;26835:5;26839:1;26835;:5;:::i;49416:260::-;49501:8;:15;49484:14;49527:142;49555:6;49549:3;:12;49527:142;;;49616:6;-1:-1:-1;;;;;49593:29:0;:8;49602:3;49593:13;;;;;;;;:::i;:::-;;;;;;;;;;;;;;:19;-1:-1:-1;;;;;49593:19:0;:29;49585:72;;;;-1:-1:-1;;;49585:72:0;;8624:2:1;49585:72:0;;;8606:21:1;8663:2;8643:18;;;8636:30;8702:32;8682:18;;;8675:60;8752:18;;49585:72:0;8422:354:1;49585:72:0;49563:5;;49527:142;;32433:293;31835:1;32567:7;;:19;32559:63;;;;-1:-1:-1;;;32559:63:0;;8983:2:1;32559:63:0;;;8965:21:1;9022:2;9002:18;;;8995:30;9061:33;9041:18;;;9034:61;9112:18;;32559:63:0;8781:355:1;32559:63:0;31835:1;32700:7;:18;32433:293::o;27149:98::-;27207:7;27234:5;27238:1;27234;:5;:::i;57424:349::-;57519:4;;:29;;-1:-1:-1;;;57519:29:0;;57542:4;57519:29;;;2376:51:1;57500:16:0;;-1:-1:-1;;;;;57519:4:0;;:14;;2349:18:1;;57519:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;57500:48;-1:-1:-1;57563:12:0;;57559:207;;57606:8;57596:7;:18;57592:163;;;57635:4;;:32;;-1:-1:-1;;;;;57635:4:0;57653:3;57658:8;57635:17;:32::i;57592:163::-;57708:4;;:31;;-1:-1:-1;;;;;57708:4:0;57726:3;57731:7;17083:177;17193:58;;-1:-1:-1;;;;;9555:32:1;;17193:58:0;;;9537:51:1;9604:18;;;9597:34;;;17166:86:0;;17186:5;;-1:-1:-1;;;17216:23:0;9510:18:1;;17193:58:0;;;;-1:-1:-1;;17193:58:0;;;;;;;;;;;;;;-1:-1:-1;;;;;17193:58:0;-1:-1:-1;;;;;;17193:58:0;;;;;;;;;;17166:19;:86::i;17505:205::-;17633:68;;-1:-1:-1;;;;;9862:32:1;;;17633:68:0;;;9844:51:1;9931:32;;9911:18;;;9904:60;9980:18;;;9973:34;;;17606:96:0;;17626:5;;-1:-1:-1;;;17656:27:0;9817:18:1;;17633:68:0;9642:371:1;17606:96:0;17505:205;;;;:::o;21429:649::-;21853:23;21879:69;21907:4;21879:69;;;;;;;;;;;;;;;;;21887:5;-1:-1:-1;;;;;21879:27:0;;;:69;;;;;:::i;:::-;21853:95;;21967:10;:17;21988:1;21967:22;:56;;;;22004:10;21993:30;;;;;;;;;;;;:::i;:::-;21959:111;;;;-1:-1:-1;;;21959:111:0;;10470:2:1;21959:111:0;;;10452:21:1;10509:2;10489:18;;;10482:30;10548:34;10528:18;;;10521:62;-1:-1:-1;;;10599:18:1;;;10592:40;10649:19;;21959:111:0;10268:406:1;10851:229:0;10988:12;11020:52;11042:6;11050:4;11056:1;11059:12;11020:21;:52::i;:::-;11013:59;10851:229;-1:-1:-1;;;;10851:229:0:o;11937:455::-;12107:12;12165:5;12140:21;:30;;12132:81;;;;-1:-1:-1;;;12132:81:0;;10881:2:1;12132:81:0;;;10863:21:1;10920:2;10900:18;;;10893:30;10959:34;10939:18;;;10932:62;-1:-1:-1;;;11010:18:1;;;11003:36;11056:19;;12132:81:0;10679:402:1;12132:81:0;12225:12;12239:23;12266:6;-1:-1:-1;;;;;12266:11:0;12285:5;12292:4;12266:31;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12224:73;;;;12315:69;12342:6;12350:7;12359:10;12371:12;14695;14724:7;14720:427;;;14752:10;:17;14773:1;14752:22;14748:290;;-1:-1:-1;;;;;8391:19:0;;;14962:60;;;;-1:-1:-1;;;14962:60:0;;11594:2:1;14962:60:0;;;11576:21:1;11633:2;11613:18;;;11606:30;11672:31;11652:18;;;11645:59;11721:18;;14962:60:0;11392:353:1;14962:60:0;-1:-1:-1;15059:10:0;15052:17;;14720:427;15102:33;15110:10;15122:12;15857:17;;:21;15853:388;;16089:10;16083:17;16146:15;16133:10;16129:2;16125:19;16118:44;15853:388;16216:12;16209:20;;-1:-1:-1;;;16209:20:0;;;;;;;;:::i;14:131:1:-;-1:-1:-1;;;;;89:31:1;;79:42;;69:70;;135:1;132;125:12;150:608;236:6;244;252;260;313:3;301:9;292:7;288:23;284:33;281:53;;;330:1;327;320:12;281:53;375:23;;;-1:-1:-1;495:2:1;480:18;;467:32;;-1:-1:-1;598:2:1;583:18;;570:32;;-1:-1:-1;680:2:1;665:18;;652:32;693:33;652:32;693:33;:::i;:::-;150:608;;;;-1:-1:-1;150:608:1;;-1:-1:-1;;150:608:1:o;945:226::-;1004:6;1057:2;1045:9;1036:7;1032:23;1028:32;1025:52;;;1073:1;1070;1063:12;1025:52;-1:-1:-1;1118:23:1;;945:226;-1:-1:-1;945:226:1:o;1863:346::-;1931:6;1939;1992:2;1980:9;1971:7;1967:23;1963:32;1960:52;;;2008:1;2005;1998:12;1960:52;-1:-1:-1;;2053:23:1;;;2173:2;2158:18;;;2145:32;;-1:-1:-1;1863:346:1:o;2438:118::-;2524:5;2517:13;2510:21;2503:5;2500:32;2490:60;;2546:1;2543;2536:12;2561:899;2675:6;2683;2691;2699;2707;2715;2768:3;2756:9;2747:7;2743:23;2739:33;2736:53;;;2785:1;2782;2775:12;2736:53;2830:23;;;-1:-1:-1;2929:2:1;2914:18;;2901:32;2942:33;2901:32;2942:33;:::i;:::-;2994:7;-1:-1:-1;3053:2:1;3038:18;;3025:32;3066:30;3025:32;3066:30;:::i;:::-;3115:7;-1:-1:-1;3195:2:1;3180:18;;3167:32;;-1:-1:-1;3277:3:1;3262:19;;3249:33;3291;3249;3291;:::i;:::-;2561:899;;;;-1:-1:-1;2561:899:1;;;;;3423:3;3408:19;;;3395:33;;-1:-1:-1;;2561:899:1:o;3673:521::-;3763:6;3771;3779;3832:2;3820:9;3811:7;3807:23;3803:32;3800:52;;;3848:1;3845;3838:12;3800:52;3887:9;3874:23;3906:31;3931:5;3906:31;:::i;:::-;3956:5;-1:-1:-1;4034:2:1;4019:18;;4006:32;;-1:-1:-1;4116:2:1;4101:18;;4088:32;4129:33;4088:32;4129:33;:::i;:::-;4181:7;4171:17;;;3673:521;;;;;:::o;4420:367::-;4488:6;4496;4549:2;4537:9;4528:7;4524:23;4520:32;4517:52;;;4565:1;4562;4555:12;4517:52;4610:23;;;-1:-1:-1;4709:2:1;4694:18;;4681:32;4722:33;4681:32;4722:33;:::i;:::-;4774:7;4764:17;;;4420:367;;;;;:::o;5045:247::-;5104:6;5157:2;5145:9;5136:7;5132:23;5128:32;5125:52;;;5173:1;5170;5163:12;5125:52;5212:9;5199:23;5231:31;5256:5;5231:31;:::i;5297:406::-;5499:2;5481:21;;;5538:2;5518:18;;;5511:30;5577:34;5572:2;5557:18;;5550:62;-1:-1:-1;;;5643:2:1;5628:18;;5621:40;5693:3;5678:19;;5297:406::o;5708:127::-;5769:10;5764:3;5760:20;5757:1;5750:31;5800:4;5797:1;5790:15;5824:4;5821:1;5814:15;6591:184;6661:6;6714:2;6702:9;6693:7;6689:23;6685:32;6682:52;;;6730:1;6727;6720:12;6682:52;-1:-1:-1;6753:16:1;;6591:184;-1:-1:-1;6591:184:1:o;6780:127::-;6841:10;6836:3;6832:20;6829:1;6822:31;6872:4;6869:1;6862:15;6896:4;6893:1;6886:15;6912:125;6977:9;;;6998:10;;;6995:36;;;7011:18;;:::i;8116:128::-;8183:9;;;8204:11;;;8201:37;;;8218:18;;:::i;8249:168::-;8322:9;;;8353;;8370:15;;;8364:22;;8350:37;8340:71;;8391:18;;:::i;9141:217::-;9181:1;9207;9197:132;;9251:10;9246:3;9242:20;9239:1;9232:31;9286:4;9283:1;9276:15;9314:4;9311:1;9304:15;9197:132;-1:-1:-1;9343:9:1;;9141:217::o;10018:245::-;10085:6;10138:2;10126:9;10117:7;10113:23;10109:32;10106:52;;;10154:1;10151;10144:12;10106:52;10186:9;10180:16;10205:28;10227:5;10205:28;:::i;11086:301::-;11215:3;11253:6;11247:13;11299:6;11292:4;11284:6;11280:17;11275:3;11269:37;11361:1;11325:16;;11350:13;;;-1:-1:-1;11325:16:1;11086:301;-1:-1:-1;11086:301:1:o;11750:418::-;11899:2;11888:9;11881:21;11862:4;11931:6;11925:13;11974:6;11969:2;11958:9;11954:18;11947:34;12033:6;12028:2;12020:6;12016:15;12011:2;12000:9;11996:18;11990:50;12089:1;12084:2;12075:6;12064:9;12060:22;12056:31;12049:42;12159:2;12152;12148:7;12143:2;12135:6;12131:15;12127:29;12116:9;12112:45;12108:54;12100:62;;;11750:418;;;;:::o
Swarm Source
ipfs://bfc969e135e5217db0934f9a153f4691abf2637c3d9ef4b3e3fb1b9c61bb4f42
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 31 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|---|---|---|---|---|
POL | 100.00% | $0.999159 | 0.5 | $0.4995 |
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.