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.26+commit.8a97fa7a
Contract Source Code (Solidity)
/** *Submitted for verification at SonicScan.org on 2025-03-04 */ /** *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
608060405264e8d4a510006004555f600955660355813779c000600c556301e7cb00600d5534801561002f575f80fd5b50604051611b9e380380611b9e83398101604081905261004e91610160565b60015f554281116100935760405162461bcd60e51b815260040161008a906020808252600490820152636c61746560e01b604082015260600190565b60405180910390fd5b6001600160a01b038416156100be57600280546001600160a01b0319166001600160a01b0386161790555b6001600160a01b038316156100e957600580546001600160a01b0319166001600160a01b0385161790555b6001600160a01b0382161561011457600680546001600160a01b0319166001600160a01b0384161790555b600a819055600d5461012690826101a8565b600b555050600180546001600160a01b03191633179055506101cd9050565b80516001600160a01b038116811461015b575f80fd5b919050565b5f805f8060808587031215610173575f80fd5b61017c85610145565b935061018a60208601610145565b925061019860408601610145565b6060959095015193969295505050565b808201808211156101c757634e487b7160e01b5f52601160045260245ffd5b92915050565b6119c4806101da5f395ff3fe608060405234801561000f575f80fd5b5060043610610187575f3560e01c806354575af4116100d957806393f1a40b11610093578063ae4db9191161006e578063ae4db91914610378578063b3ab15fb1461038b578063cf4b55cb1461039e578063e2bbb158146103b1575f80fd5b806393f1a40b14610320578063943f013d14610366578063a8c5e0761461036f575f80fd5b806354575af4146102cd578063570ca735146102e05780635f96dc11146102f3578063630b5ba1146102fc5780636e271dd5146103045780638d476c941461030d575f80fd5b8063277a2f5b116101445780634390d2a81161011f5780634390d2a814610281578063441a3e701461029457806351eb05a6146102a75780635312ea8e146102ba575f80fd5b8063277a2f5b1461023a5780633695dad1146102655780633ed306c21461026e575f80fd5b8063051ba3511461018b578063081e3eda146101a057806309cf6091146101b75780631526fe27146101c857806317caf6f11461021e578063231f0c6a14610227575b5f80fd5b61019e6101993660046116d6565b6103c4565b005b6007545b6040519081526020015b60405180910390f35b6101a469065a4da25d3016c0000081565b6101db6101d6366004611714565b6104ec565b604080516001600160a01b039889168152602081019790975286019490945260608501929092521515608084015260a083015290911660c082015260e0016101ae565b6101a460095481565b6101a461023536600461172b565b610549565b60035461024d906001600160a01b031681565b6040516001600160a01b0390911681526020016101ae565b6101a460045481565b61019e61027c366004611758565b61060a565b60055461024d906001600160a01b031681565b61019e6102a236600461172b565b61085b565b61019e6102b5366004611714565b610a78565b61019e6102c8366004611714565b610bc7565b61019e6102db3660046117bb565b610cc4565b60015461024d906001600160a01b031681565b6101a4600a5481565b61019e610dee565b6101a4600b5481565b60025461024d906001600160a01b031681565b61035161032e3660046117fa565b600860209081525f92835260408084209091529082529020805460019091015482565b604080519283526020830191909152016101ae565b6101a4600d5481565b6101a4600c5481565b61019e610386366004611828565b610e0c565b61019e610399366004611828565b610eeb565b6101a46103ac3660046117fa565b610f37565b61019e6103bf36600461172b565b61108c565b6001546001600160a01b031633146103f75760405162461bcd60e51b81526004016103ee90611843565b60405180910390fd5b6103ff610dee565b5f600785815481106104135761041361188d565b905f5260205f209060070201905060c8831061047d5760405162461bcd60e51b815260206004820152602360248201527f5769746864726177206665652063616e6e6f74206265206d6f7265207468616e60448201526220322560e81b60648201526084016103ee565b60058101839055600481015460ff16156104b8576104b4846104ae836001015460095461120e90919063ffffffff16565b90611220565b6009555b600181018490556006810180546001600160a01b0319166001600160a01b0384161790556104e585610a78565b5050505050565b600781815481106104fb575f80fd5b5f91825260209091206007909102018054600182015460028301546003840154600485015460058601546006909601546001600160a01b03958616975093959294919360ff90911692911687565b5f81831061055857505f610604565b600b5482106105bf57600b54831061057157505f610604565b600a5483116105a45761059d600c54610597600a54600b5461120e90919063ffffffff16565b9061122b565b9050610604565b61059d600c5461059785600b5461120e90919063ffffffff16565b600a5482116105cf57505f610604565b600a5483116105f35761059d600c54610597600a548561120e90919063ffffffff16565b600c5461059d90610597848661120e565b92915050565b6001546001600160a01b031633146106345760405162461bcd60e51b81526004016103ee90611843565b61063d85611236565b831561064b5761064b610dee565b600a5442101561067b57825f0361066657600a549250610690565b600a5483101561067657600a5492505b610690565b82158061068757504283105b15610690574292505b5f600a54841115806106a25750428411155b6040805160e0810182526001600160a01b03808a168252602082018b81529282018881525f60608401818152861580156080870190815260a087018b81528c871660c0890190815260078054600181018255968190529851959098027fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c688810180549689166001600160a01b031997881617905598517fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c6898a015594517fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c68a89015591517fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c68b88015590517fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c68c8701805491151560ff1990921691909117905591517fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c68d86015592517fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c68e90940180549490921693909216929092179091559091506108525760095461084e9088611220565b6009555b50505050505050565b6108636112ce565b5f3390505f6007848154811061087b5761087b61188d565b5f91825260208083208784526008825260408085206001600160a01b038816865290925292208054600790920290920192508411156108f15760405162461bcd60e51b81526020600482015260126024820152711dda5d1a191c985dce881b9bdd0819dbdbd960721b60448201526064016103ee565b6108fa85610a78565b5f610935826001015461092f670de0b6b3a76400006109298760030154875f015461122b90919063ffffffff16565b90611325565b9061120e565b9050801561098b576109478482611330565b836001600160a01b03167fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e04868260405161098291815260200190565b60405180910390a25b8415610a0457815461099d908661120e565b825560058301545f906109b9906127109061092990899061122b565b90505f6109c6878361120e565b85549091506109df906001600160a01b031687836113d4565b8115610a01576006548554610a01916001600160a01b039182169116846113d4565b50505b60038301548254610a2291670de0b6b3a7640000916109299161122b565b600183015560405185815286906001600160a01b038616907ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b5689060200160405180910390a350505050610a7460015f55565b5050565b5f60078281548110610a8c57610a8c61188d565b905f5260205f209060070201905080600201544211610aa9575050565b80546040516370a0823160e01b81523060048201525f916001600160a01b0316906370a0823190602401602060405180830381865afa158015610aee573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b1291906118a1565b9050805f03610b2657504260029091015550565b600482015460ff16610b575760048201805460ff19166001908117909155820154600954610b5391611220565b6009555b60095415610bbc575f610b6e836002015442610549565b90505f610b8e60095461092986600101548561122b90919063ffffffff16565b9050610bb4610ba98461092984670de0b6b3a764000061122b565b600386015490611220565b600385015550505b504260029091015550565b610bcf6112ce565b5f60078281548110610be357610be361188d565b5f91825260208083208584526008825260408085203386529092529083208054848255600182018590556005600790940290920192830154929450929091610c34906127109061092990859061122b565b90505f610c41838361120e565b8554909150610c5a906001600160a01b031633836113d4565b8115610c7c576006548554610c7c916001600160a01b039182169116846113d4565b604051838152869033907fbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae05959060200160405180910390a35050505050610cc160015f55565b50565b6001546001600160a01b03163314610cee5760405162461bcd60e51b81526004016103ee90611843565b600b54610cfe906276a7006118cc565b421015610dd5576002546001600160a01b0390811690841603610d4c5760405162461bcd60e51b81526004016103ee906020808252600490820152633332b0b960e11b604082015260600190565b6007545f5b81811015610dd2575f60078281548110610d6d57610d6d61188d565b5f918252602090912060079091020180549091506001600160a01b0390811690871603610dc95760405162461bcd60e51b815260206004820152600a6024820152693837b7b6173a37b5b2b760b11b60448201526064016103ee565b50600101610d51565b50505b610de96001600160a01b03841682846113d4565b505050565b6007545f5b81811015610a7457610e0481610a78565b600101610df3565b6001546001600160a01b03163314610e365760405162461bcd60e51b81526004016103ee90611843565b6001600160a01b038116610e975760405162461bcd60e51b815260206004820152602260248201527f43616e6e6f74207365742064657646756e6420746f207a65726f206164647265604482015261737360f01b60648201526084016103ee565b600580546001600160a01b0319166001600160a01b0383169081179091556040519081527f76238c711356e13e6b0a381b5c1103783d65515e5fc402cbd2266925fdddb3ef9060200160405180910390a150565b6001546001600160a01b03163314610f155760405162461bcd60e51b81526004016103ee90611843565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b5f8060078481548110610f4c57610f4c61188d565b5f91825260208083208784526008825260408085206001600160a01b03898116875293528085206007949094029091016003810154815492516370a0823160e01b815230600482015291965093949291909116906370a0823190602401602060405180830381865afa158015610fc4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fe891906118a1565b9050836002015442118015610ffc57508015155b15611057575f611010856002015442610549565b90505f61103060095461092988600101548561122b90919063ffffffff16565b905061105261104b8461092984670de0b6b3a764000061122b565b8590611220565b935050505b611081836001015461092f670de0b6b3a764000061092986885f015461122b90919063ffffffff16565b979650505050505050565b6110946112ce565b5f3390505f600784815481106110ac576110ac61188d565b5f91825260208083208784526008825260408085206001600160a01b03881686529092529220600790910290910191506110e585610a78565b805415611173575f61111b826001015461092f670de0b6b3a76400006109298760030154875f015461122b90919063ffffffff16565b905080156111715761112d8482611330565b836001600160a01b03167fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e04868260405161116891815260200190565b60405180910390a25b505b831561119f578154611190906001600160a01b0316843087611437565b805461119c9085611220565b81555b600382015481546111bd91670de0b6b3a7640000916109299161122b565b600182015560405184815285906001600160a01b038516907f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a159060200160405180910390a3505050610a7460015f55565b5f61121982846118df565b9392505050565b5f61121982846118cc565b5f61121982846118f2565b6007545f5b81811015610de957826001600160a01b0316600782815481106112605761126061188d565b5f9182526020909120600790910201546001600160a01b0316036112c65760405162461bcd60e51b815260206004820152601e60248201527f46656172526577617264506f6f6c3a206578697374696e6720706f6f6c3f000060448201526064016103ee565b60010161123b565b60025f540361131f5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016103ee565b60025f55565b5f6112198284611909565b6002546040516370a0823160e01b81523060048201525f916001600160a01b0316906370a0823190602401602060405180830381865afa158015611376573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061139a91906118a1565b90508015610de957808211156113c157600254610de9906001600160a01b031684836113d4565b600254610de9906001600160a01b031684845b6040516001600160a01b038316602482015260448101829052610de990849063a9059cbb60e01b906064015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152611475565b6040516001600160a01b038085166024830152831660448201526064810182905261146f9085906323b872dd60e01b90608401611400565b50505050565b5f6114c9826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166115489092919063ffffffff16565b905080515f14806114e95750808060200190518101906114e99190611928565b610de95760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016103ee565b606061155684845f8561155e565b949350505050565b6060824710156115bf5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b60648201526084016103ee565b5f80866001600160a01b031685876040516115da9190611943565b5f6040518083038185875af1925050503d805f8114611614576040519150601f19603f3d011682016040523d82523d5f602084013e611619565b606091505b509150915061108187838387606083156116935782515f0361168c576001600160a01b0385163b61168c5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016103ee565b5081611556565b61155683838151156116a85781518083602001fd5b8060405162461bcd60e51b81526004016103ee9190611959565b6001600160a01b0381168114610cc1575f80fd5b5f805f80608085870312156116e9575f80fd5b8435935060208501359250604085013591506060850135611709816116c2565b939692955090935050565b5f60208284031215611724575f80fd5b5035919050565b5f806040838503121561173c575f80fd5b50508035926020909101359150565b8015158114610cc1575f80fd5b5f805f805f8060c0878903121561176d575f80fd5b86359550602087013561177f816116c2565b9450604087013561178f8161174b565b93506060870135925060808701356117a6816116c2565b9598949750929591949360a090920135925050565b5f805f606084860312156117cd575f80fd5b83356117d8816116c2565b92506020840135915060408401356117ef816116c2565b809150509250925092565b5f806040838503121561180b575f80fd5b82359150602083013561181d816116c2565b809150509250929050565b5f60208284031215611838575f80fd5b8135611219816116c2565b6020808252602a908201527f46656172526577617264506f6f6c3a2063616c6c6572206973206e6f74207468604082015269329037b832b930ba37b960b11b606082015260800190565b634e487b7160e01b5f52603260045260245ffd5b5f602082840312156118b1575f80fd5b5051919050565b634e487b7160e01b5f52601160045260245ffd5b80820180821115610604576106046118b8565b81810381811115610604576106046118b8565b8082028115828204841417610604576106046118b8565b5f8261192357634e487b7160e01b5f52601260045260245ffd5b500490565b5f60208284031215611938575f80fd5b81516112198161174b565b5f82518060208501845e5f920191825250919050565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f8301168401019150509291505056fea264697066735822122090dbbf8ae8eda9bee0a282af343fbab6f9f040e689ce443f6b3e0c047c7187da64736f6c634300081a003300000000000000000000000076e10ae3d73de6f2997b5be776ab12983bb325f0000000000000000000000000a99fa2707ec6fe5ab4b14c88431c40f1ff3b9a98000000000000000000000000a99fa2707ec6fe5ab4b14c88431c40f1ff3b9a980000000000000000000000000000000000000000000000000000000067c761ef
Deployed Bytecode
0x608060405234801561000f575f80fd5b5060043610610187575f3560e01c806354575af4116100d957806393f1a40b11610093578063ae4db9191161006e578063ae4db91914610378578063b3ab15fb1461038b578063cf4b55cb1461039e578063e2bbb158146103b1575f80fd5b806393f1a40b14610320578063943f013d14610366578063a8c5e0761461036f575f80fd5b806354575af4146102cd578063570ca735146102e05780635f96dc11146102f3578063630b5ba1146102fc5780636e271dd5146103045780638d476c941461030d575f80fd5b8063277a2f5b116101445780634390d2a81161011f5780634390d2a814610281578063441a3e701461029457806351eb05a6146102a75780635312ea8e146102ba575f80fd5b8063277a2f5b1461023a5780633695dad1146102655780633ed306c21461026e575f80fd5b8063051ba3511461018b578063081e3eda146101a057806309cf6091146101b75780631526fe27146101c857806317caf6f11461021e578063231f0c6a14610227575b5f80fd5b61019e6101993660046116d6565b6103c4565b005b6007545b6040519081526020015b60405180910390f35b6101a469065a4da25d3016c0000081565b6101db6101d6366004611714565b6104ec565b604080516001600160a01b039889168152602081019790975286019490945260608501929092521515608084015260a083015290911660c082015260e0016101ae565b6101a460095481565b6101a461023536600461172b565b610549565b60035461024d906001600160a01b031681565b6040516001600160a01b0390911681526020016101ae565b6101a460045481565b61019e61027c366004611758565b61060a565b60055461024d906001600160a01b031681565b61019e6102a236600461172b565b61085b565b61019e6102b5366004611714565b610a78565b61019e6102c8366004611714565b610bc7565b61019e6102db3660046117bb565b610cc4565b60015461024d906001600160a01b031681565b6101a4600a5481565b61019e610dee565b6101a4600b5481565b60025461024d906001600160a01b031681565b61035161032e3660046117fa565b600860209081525f92835260408084209091529082529020805460019091015482565b604080519283526020830191909152016101ae565b6101a4600d5481565b6101a4600c5481565b61019e610386366004611828565b610e0c565b61019e610399366004611828565b610eeb565b6101a46103ac3660046117fa565b610f37565b61019e6103bf36600461172b565b61108c565b6001546001600160a01b031633146103f75760405162461bcd60e51b81526004016103ee90611843565b60405180910390fd5b6103ff610dee565b5f600785815481106104135761041361188d565b905f5260205f209060070201905060c8831061047d5760405162461bcd60e51b815260206004820152602360248201527f5769746864726177206665652063616e6e6f74206265206d6f7265207468616e60448201526220322560e81b60648201526084016103ee565b60058101839055600481015460ff16156104b8576104b4846104ae836001015460095461120e90919063ffffffff16565b90611220565b6009555b600181018490556006810180546001600160a01b0319166001600160a01b0384161790556104e585610a78565b5050505050565b600781815481106104fb575f80fd5b5f91825260209091206007909102018054600182015460028301546003840154600485015460058601546006909601546001600160a01b03958616975093959294919360ff90911692911687565b5f81831061055857505f610604565b600b5482106105bf57600b54831061057157505f610604565b600a5483116105a45761059d600c54610597600a54600b5461120e90919063ffffffff16565b9061122b565b9050610604565b61059d600c5461059785600b5461120e90919063ffffffff16565b600a5482116105cf57505f610604565b600a5483116105f35761059d600c54610597600a548561120e90919063ffffffff16565b600c5461059d90610597848661120e565b92915050565b6001546001600160a01b031633146106345760405162461bcd60e51b81526004016103ee90611843565b61063d85611236565b831561064b5761064b610dee565b600a5442101561067b57825f0361066657600a549250610690565b600a5483101561067657600a5492505b610690565b82158061068757504283105b15610690574292505b5f600a54841115806106a25750428411155b6040805160e0810182526001600160a01b03808a168252602082018b81529282018881525f60608401818152861580156080870190815260a087018b81528c871660c0890190815260078054600181018255968190529851959098027fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c688810180549689166001600160a01b031997881617905598517fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c6898a015594517fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c68a89015591517fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c68b88015590517fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c68c8701805491151560ff1990921691909117905591517fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c68d86015592517fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c68e90940180549490921693909216929092179091559091506108525760095461084e9088611220565b6009555b50505050505050565b6108636112ce565b5f3390505f6007848154811061087b5761087b61188d565b5f91825260208083208784526008825260408085206001600160a01b038816865290925292208054600790920290920192508411156108f15760405162461bcd60e51b81526020600482015260126024820152711dda5d1a191c985dce881b9bdd0819dbdbd960721b60448201526064016103ee565b6108fa85610a78565b5f610935826001015461092f670de0b6b3a76400006109298760030154875f015461122b90919063ffffffff16565b90611325565b9061120e565b9050801561098b576109478482611330565b836001600160a01b03167fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e04868260405161098291815260200190565b60405180910390a25b8415610a0457815461099d908661120e565b825560058301545f906109b9906127109061092990899061122b565b90505f6109c6878361120e565b85549091506109df906001600160a01b031687836113d4565b8115610a01576006548554610a01916001600160a01b039182169116846113d4565b50505b60038301548254610a2291670de0b6b3a7640000916109299161122b565b600183015560405185815286906001600160a01b038616907ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b5689060200160405180910390a350505050610a7460015f55565b5050565b5f60078281548110610a8c57610a8c61188d565b905f5260205f209060070201905080600201544211610aa9575050565b80546040516370a0823160e01b81523060048201525f916001600160a01b0316906370a0823190602401602060405180830381865afa158015610aee573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b1291906118a1565b9050805f03610b2657504260029091015550565b600482015460ff16610b575760048201805460ff19166001908117909155820154600954610b5391611220565b6009555b60095415610bbc575f610b6e836002015442610549565b90505f610b8e60095461092986600101548561122b90919063ffffffff16565b9050610bb4610ba98461092984670de0b6b3a764000061122b565b600386015490611220565b600385015550505b504260029091015550565b610bcf6112ce565b5f60078281548110610be357610be361188d565b5f91825260208083208584526008825260408085203386529092529083208054848255600182018590556005600790940290920192830154929450929091610c34906127109061092990859061122b565b90505f610c41838361120e565b8554909150610c5a906001600160a01b031633836113d4565b8115610c7c576006548554610c7c916001600160a01b039182169116846113d4565b604051838152869033907fbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae05959060200160405180910390a35050505050610cc160015f55565b50565b6001546001600160a01b03163314610cee5760405162461bcd60e51b81526004016103ee90611843565b600b54610cfe906276a7006118cc565b421015610dd5576002546001600160a01b0390811690841603610d4c5760405162461bcd60e51b81526004016103ee906020808252600490820152633332b0b960e11b604082015260600190565b6007545f5b81811015610dd2575f60078281548110610d6d57610d6d61188d565b5f918252602090912060079091020180549091506001600160a01b0390811690871603610dc95760405162461bcd60e51b815260206004820152600a6024820152693837b7b6173a37b5b2b760b11b60448201526064016103ee565b50600101610d51565b50505b610de96001600160a01b03841682846113d4565b505050565b6007545f5b81811015610a7457610e0481610a78565b600101610df3565b6001546001600160a01b03163314610e365760405162461bcd60e51b81526004016103ee90611843565b6001600160a01b038116610e975760405162461bcd60e51b815260206004820152602260248201527f43616e6e6f74207365742064657646756e6420746f207a65726f206164647265604482015261737360f01b60648201526084016103ee565b600580546001600160a01b0319166001600160a01b0383169081179091556040519081527f76238c711356e13e6b0a381b5c1103783d65515e5fc402cbd2266925fdddb3ef9060200160405180910390a150565b6001546001600160a01b03163314610f155760405162461bcd60e51b81526004016103ee90611843565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b5f8060078481548110610f4c57610f4c61188d565b5f91825260208083208784526008825260408085206001600160a01b03898116875293528085206007949094029091016003810154815492516370a0823160e01b815230600482015291965093949291909116906370a0823190602401602060405180830381865afa158015610fc4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fe891906118a1565b9050836002015442118015610ffc57508015155b15611057575f611010856002015442610549565b90505f61103060095461092988600101548561122b90919063ffffffff16565b905061105261104b8461092984670de0b6b3a764000061122b565b8590611220565b935050505b611081836001015461092f670de0b6b3a764000061092986885f015461122b90919063ffffffff16565b979650505050505050565b6110946112ce565b5f3390505f600784815481106110ac576110ac61188d565b5f91825260208083208784526008825260408085206001600160a01b03881686529092529220600790910290910191506110e585610a78565b805415611173575f61111b826001015461092f670de0b6b3a76400006109298760030154875f015461122b90919063ffffffff16565b905080156111715761112d8482611330565b836001600160a01b03167fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e04868260405161116891815260200190565b60405180910390a25b505b831561119f578154611190906001600160a01b0316843087611437565b805461119c9085611220565b81555b600382015481546111bd91670de0b6b3a7640000916109299161122b565b600182015560405184815285906001600160a01b038516907f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a159060200160405180910390a3505050610a7460015f55565b5f61121982846118df565b9392505050565b5f61121982846118cc565b5f61121982846118f2565b6007545f5b81811015610de957826001600160a01b0316600782815481106112605761126061188d565b5f9182526020909120600790910201546001600160a01b0316036112c65760405162461bcd60e51b815260206004820152601e60248201527f46656172526577617264506f6f6c3a206578697374696e6720706f6f6c3f000060448201526064016103ee565b60010161123b565b60025f540361131f5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016103ee565b60025f55565b5f6112198284611909565b6002546040516370a0823160e01b81523060048201525f916001600160a01b0316906370a0823190602401602060405180830381865afa158015611376573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061139a91906118a1565b90508015610de957808211156113c157600254610de9906001600160a01b031684836113d4565b600254610de9906001600160a01b031684845b6040516001600160a01b038316602482015260448101829052610de990849063a9059cbb60e01b906064015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152611475565b6040516001600160a01b038085166024830152831660448201526064810182905261146f9085906323b872dd60e01b90608401611400565b50505050565b5f6114c9826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166115489092919063ffffffff16565b905080515f14806114e95750808060200190518101906114e99190611928565b610de95760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016103ee565b606061155684845f8561155e565b949350505050565b6060824710156115bf5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b60648201526084016103ee565b5f80866001600160a01b031685876040516115da9190611943565b5f6040518083038185875af1925050503d805f8114611614576040519150601f19603f3d011682016040523d82523d5f602084013e611619565b606091505b509150915061108187838387606083156116935782515f0361168c576001600160a01b0385163b61168c5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016103ee565b5081611556565b61155683838151156116a85781518083602001fd5b8060405162461bcd60e51b81526004016103ee9190611959565b6001600160a01b0381168114610cc1575f80fd5b5f805f80608085870312156116e9575f80fd5b8435935060208501359250604085013591506060850135611709816116c2565b939692955090935050565b5f60208284031215611724575f80fd5b5035919050565b5f806040838503121561173c575f80fd5b50508035926020909101359150565b8015158114610cc1575f80fd5b5f805f805f8060c0878903121561176d575f80fd5b86359550602087013561177f816116c2565b9450604087013561178f8161174b565b93506060870135925060808701356117a6816116c2565b9598949750929591949360a090920135925050565b5f805f606084860312156117cd575f80fd5b83356117d8816116c2565b92506020840135915060408401356117ef816116c2565b809150509250925092565b5f806040838503121561180b575f80fd5b82359150602083013561181d816116c2565b809150509250929050565b5f60208284031215611838575f80fd5b8135611219816116c2565b6020808252602a908201527f46656172526577617264506f6f6c3a2063616c6c6572206973206e6f74207468604082015269329037b832b930ba37b960b11b606082015260800190565b634e487b7160e01b5f52603260045260245ffd5b5f602082840312156118b1575f80fd5b5051919050565b634e487b7160e01b5f52601160045260245ffd5b80820180821115610604576106046118b8565b81810381811115610604576106046118b8565b8082028115828204841417610604576106046118b8565b5f8261192357634e487b7160e01b5f52601260045260245ffd5b500490565b5f60208284031215611938575f80fd5b81516112198161174b565b5f82518060208501845e5f920191825250919050565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f8301168401019150509291505056fea264697066735822122090dbbf8ae8eda9bee0a282af343fbab6f9f040e689ce443f6b3e0c047c7187da64736f6c634300081a0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000076e10ae3d73de6f2997b5be776ab12983bb325f0000000000000000000000000a99fa2707ec6fe5ab4b14c88431c40f1ff3b9a98000000000000000000000000a99fa2707ec6fe5ab4b14c88431c40f1ff3b9a980000000000000000000000000000000000000000000000000000000067c761ef
-----Decoded View---------------
Arg [0] : _fear (address): 0x76E10Ae3d73De6F2997B5be776AB12983Bb325F0
Arg [1] : _devFund (address): 0xa99fa2707Ec6FE5Ab4b14C88431c40F1FF3B9A98
Arg [2] : _burnFund (address): 0xa99fa2707Ec6FE5Ab4b14C88431c40F1FF3B9A98
Arg [3] : _poolStartTime (uint256): 1741119983
-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 00000000000000000000000076e10ae3d73de6f2997b5be776ab12983bb325f0
Arg [1] : 000000000000000000000000a99fa2707ec6fe5ab4b14c88431c40f1ff3b9a98
Arg [2] : 000000000000000000000000a99fa2707ec6fe5ab4b14c88431c40f1ff3b9a98
Arg [3] : 0000000000000000000000000000000000000000000000000000000067c761ef
Deployed Bytecode Sourcemap
46550:12367:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51298:582;;;;;;:::i;:::-;;:::i;:::-;;49385:95;49457:8;:15;49385:95;;;909:25:1;;;897:2;882:18;49385:95:0;;;;;;;;48275:51;;48315:11;48275:51;;47676: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;47676:26:0;1176:682:1;47921:34:0;;;;;;51957:653;;;;;;:::i;:::-;;:::i;47493:25::-;;;;;-1:-1:-1;;;;;47493:25:0;;;;;;-1:-1:-1;;;;;2394:32:1;;;2376:51;;2364:2;2349:18;47493:25:0;2214:219:1;47527:39:0;;;;;;49826:1373;;;;;;:::i;:::-;;:::i;47595:22::-;;;;;-1:-1:-1;;;;;47595:22:0;;;55613:1076;;;;;;:::i;:::-;;:::i;53784:908::-;;;;;;:::i;:::-;;:::i;56760:623::-;;;;;;:::i;:::-;;:::i;58310:604::-;;;;;;:::i;:::-;;:::i;46687:23::-;;;;;-1:-1:-1;;;;;46687:23:0;;;48006:28;;;;;;53528:180;;;:::i;48083:26::-;;;;;;47468:18;;;;;-1:-1:-1;;;;;47468:18:0;;;47760:64;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4966:25:1;;;5022:2;5007:18;;5000:34;;;;4939:18;47760:64:0;4792:248:1;48219:37:0;;;;;;48116:49;;;;;;58030:217;;;;;;:::i;:::-;;:::i;57887:101::-;;;;;;:::i;:::-;;:::i;52673:772::-;;;;;;:::i;:::-;;:::i;54727:839::-;;;;;;:::i;:::-;;:::i;51298:582::-;49288:8;;-1:-1:-1;;;;;49288:8:0;49300:10;49288:22;49280:77;;;;-1:-1:-1;;;49280:77:0;;;;;;;:::i;:::-;;;;;;;;;51458:17:::1;:15;:17::i;:::-;51486:21;51510:8;51519:4;51510:14;;;;;;;;:::i;:::-;;;;;;;;;;;51486:38;;51558:3;51543:12;:18;51535:66;;;::::0;-1:-1:-1;;;51535:66:0;;6042:2:1;51535: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;;51535:66:0::1;5840:399:1::0;51535:66:0::1;51612:16;::::0;::::1;:31:::0;;;51660:14:::1;::::0;::::1;::::0;::::1;;51656:118;;;51709:53;51750:11;51709:36;51729:4;:15;;;51709;;:19;;:36;;;;:::i;:::-;:40:::0;::::1;:53::i;:::-;51691:15;:71:::0;51656:118:::1;51784:15;::::0;::::1;:29:::0;;;51824:10:::1;::::0;::::1;:19:::0;;-1:-1:-1;;;;;;51824:19:0::1;-1:-1:-1::0;;;;;51824:19:0;::::1;;::::0;;51856:16:::1;51867:4:::0;51856:10:::1;:16::i;:::-;51447:433;51298:582:::0;;;;:::o;47676:26::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;47676:26:0;;;;-1:-1:-1;47676:26:0;;;;;;;;;;;;;;:::o;51957:653::-;52042:7;52079;52066:9;:20;52062:34;;-1:-1:-1;52095:1:0;52088:8;;52062:34;52122:11;;52111:7;:22;52107:496;;52167:11;;52154:9;:24;52150:38;;-1:-1:-1;52187:1:0;52180:8;;52150:38;52220:13;;52207:9;:26;52203:88;;52242:49;52277:13;;52242:30;52258:13;;52242:11;;:15;;:30;;;;:::i;:::-;:34;;:49::i;:::-;52235:56;;;;52203:88;52313:45;52344:13;;52313:26;52329:9;52313:11;;:15;;:26;;;;:::i;52107:496::-;52406:13;;52395:7;:24;52391:38;;-1:-1:-1;52428:1:0;52421:8;;52391:38;52461:13;;52448:9;:26;52444:84;;52483:45;52514:13;;52483:26;52495:13;;52483:7;:11;;:26;;;;:::i;52444:84::-;52577:13;;52550:41;;:22;:7;52562:9;52550:11;:22::i;52107:496::-;51957:653;;;;:::o;49826:1373::-;49288:8;;-1:-1:-1;;;;;49288:8:0;49300:10;49288:22;49280:77;;;;-1:-1:-1;;;49280:77:0;;;;;;;:::i;:::-;50048:26:::1;50067:6;50048:18;:26::i;:::-;50089:11;50085:61;;;50117:17;:15;:17::i;:::-;50178:13;;50160:15;:31;50156:534;;;50245:15;50264:1;50245:20:::0;50241:243:::1;;50304:13;;50286:31;;50156:534;;50241:243;50380:13;;50362:15;:31;50358:111;;;50436:13;;50418:31;;50358:111;50156:534;;;50552:20:::0;;;:57:::1;;;50594:15;50576;:33;50552:57;50548:131;;;50648:15;50630:33;;50548:131;50700:15;50738:13;;50719:15;:32;;50718:74;;;;50776:15;50757;:34;;50718:74;50817:270;::::0;;::::1;::::0;::::1;::::0;;-1:-1:-1;;;;;50817:270:0;;::::1;::::0;;::::1;::::0;::::1;::::0;;;;;;;;;-1:-1:-1;50817:270:0;;;;;;;::::1;::::0;::::1;::::0;;;;;;;;;;;;;;::::1;::::0;;;;;;50803:8:::1;:285:::0;;::::1;::::0;::::1;::::0;;;;;;;;;;;::::1;::::0;;::::1;::::0;;;;::::1;-1:-1:-1::0;;;;;;50803:285:0;;::::1;;::::0;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::1;;-1:-1:-1::0;;50803:285:0;;::::1;::::0;;;::::1;::::0;;;;;;;;;;;;;;;;;;;::::1;::::0;;;::::1;::::0;;;::::1;::::0;;;50700:92;;-1:-1:-1;51099:93:0::1;;51148:15;::::0;:32:::1;::::0;51168:11;51148:19:::1;:32::i;:::-;51130:15;:50:::0;51099:93:::1;50037:1162;49826:1373:::0;;;;;;:::o;55613:1076::-;32425:21;:19;:21::i;:::-;55693:15:::1;55711:10;55693:28;;55732:21;55756:8;55765:4;55756:14;;;;;;;;:::i;:::-;;::::0;;;::::1;::::0;;;55805;;;:8:::1;:14:::0;;;;;;-1:-1:-1;;;;;55805:23:0;::::1;::::0;;;;;;;55847:11;;55756:14:::1;::::0;;::::1;::::0;;::::1;::::0;-1:-1:-1;55847:22:0;-1:-1:-1;55847:22:0::1;55839:53;;;::::0;-1:-1:-1;;;55839:53:0;;6446:2:1;55839: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;;55839:53:0::1;6244:342:1::0;55839:53:0::1;55903:16;55914:4;55903:10;:16::i;:::-;55930;55949:68;56001:4;:15;;;55949:47;55991:4;55949:37;55965:4;:20;;;55949:4;:11;;;:15;;:37;;;;:::i;:::-;:41:::0;::::1;:47::i;:::-;:51:::0;::::1;:68::i;:::-;55930:87:::0;-1:-1:-1;56032:12:0;;56028:129:::1;;56061:35;56078:7;56087:8;56061:16;:35::i;:::-;56127:7;-1:-1:-1::0;;;;;56116:29:0::1;;56136:8;56116:29;;;;909:25:1::0;;897:2;882:18;;763:177;56116:29:0::1;;;;;;;;56028:129;56171:11:::0;;56167:391:::1;;56213:11:::0;;:24:::1;::::0;56229:7;56213:15:::1;:24::i;:::-;56199:38:::0;;56278:16:::1;::::0;::::1;::::0;56199:11:::1;::::0;56266:40:::1;::::0;56300:5:::1;::::0;56266:29:::1;::::0;:7;;:11:::1;:29::i;:40::-;56252:54:::0;-1:-1:-1;56342:22:0::1;56367:16;:7:::0;56252:54;56367:11:::1;:16::i;:::-;56398:10:::0;;56342:41;;-1:-1:-1;56398:48:0::1;::::0;-1:-1:-1;;;;;56398:10:0::1;56422:7:::0;56342:41;56398:23:::1;:48::i;:::-;56465:7:::0;;56461:86:::1;;56517:8;::::0;56493:10;;:38:::1;::::0;-1:-1:-1;;;;;56493:10:0;;::::1;::::0;56517:8:::1;56527:3:::0;56493:23:::1;:38::i;:::-;56184:374;;56167:391;56602:20;::::0;::::1;::::0;56586:11;;:47:::1;::::0;56628:4:::1;::::0;56586:37:::1;::::0;:15:::1;:37::i;:47::-;56568:15;::::0;::::1;:65:::0;56649:32:::1;::::0;909:25:1;;;56667:4:0;;-1:-1:-1;;;;;56649:32:0;::::1;::::0;::::1;::::0;897:2:1;882:18;56649:32:0::1;;;;;;;55682:1007;;;;32469:20:::0;31863:1;32989:7;:22;32806:213;32469:20;55613:1076;;:::o;53784:908::-;53836:21;53860:8;53869:4;53860:14;;;;;;;;:::i;:::-;;;;;;;;;;;53836:38;;53908:4;:19;;;53889:15;:38;53885:77;;53944:7;53784:908;:::o;53885:77::-;53994:10;;:35;;-1:-1:-1;;;53994:35:0;;54023:4;53994:35;;;2376:51:1;53972:19:0;;-1:-1:-1;;;;;53994:10:0;;:20;;2349:18:1;;53994:35:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;53972:57;;54044:11;54059:1;54044:16;54040:107;;-1:-1:-1;54099:15:0;54077:19;;;;:37;-1:-1:-1;53784:908:0:o;54040:107::-;54162:14;;;;;;54157:138;;54193:14;;;:21;;-1:-1:-1;;54193:21:0;54210:4;54193:21;;;;;;54267:15;;;54247;;:36;;:19;:36::i;:::-;54229:15;:54;54157:138;54309:15;;:19;54305:332;;54345:24;54372:56;54391:4;:19;;;54412:15;54372:18;:56::i;:::-;54345:83;;54443:19;54465:58;54507:15;;54465:37;54486:4;:15;;;54465:16;:20;;:37;;;;:::i;:58::-;54443:80;-1:-1:-1;54561:64:0;54586:38;54612:11;54586:21;54443:80;54602:4;54586:15;:21::i;:38::-;54561:20;;;;;:24;:64::i;:::-;54538:20;;;:87;-1:-1:-1;;54305:332:0;-1:-1:-1;54669:15:0;54647:19;;;;:37;-1:-1:-1;53784:908:0:o;56760:623::-;32425:21;:19;:21::i;:::-;56832::::1;56856:8;56865:4;56856:14;;;;;;;;:::i;:::-;;::::0;;;::::1;::::0;;;56905;;;:8:::1;:14:::0;;;;;;56920:10:::1;56905:26:::0;;;;;;;;56960:11;;56982:15;;;-1:-1:-1;57008:15:0;::::1;:19:::0;;;57064:16:::1;56856:14;::::0;;::::1;::::0;;::::1;57064:16:::0;;::::1;::::0;56856:14;;-1:-1:-1;56905:26:0;56960:11;;57052:40:::1;::::0;57086:5:::1;::::0;57052:29:::1;::::0;56960:11;;57052::::1;:29::i;:40::-;57038:54:::0;-1:-1:-1;57124:22:0::1;57149:16;:7:::0;57038:54;57149:11:::1;:16::i;:::-;57176:10:::0;;57124:41;;-1:-1:-1;57176:51:0::1;::::0;-1:-1:-1;;;;;57176:10:0::1;57200;57124:41:::0;57176:23:::1;:51::i;:::-;57242:7:::0;;57238:78:::1;;57290:8;::::0;57266:10;;:38:::1;::::0;-1:-1:-1;;;;;57266:10:0;;::::1;::::0;57290:8:::1;57300:3:::0;57266:23:::1;:38::i;:::-;57331:44;::::0;909:25:1;;;57361:4:0;;57349:10:::1;::::0;57331:44:::1;::::0;897:2:1;882:18;57331:44:0::1;;;;;;;56821:562;;;;;32469:20:::0;31863:1;32989:7;:22;32806:213;32469:20;56760:623;:::o;58310:604::-;49288:8;;-1:-1:-1;;;;;49288:8:0;49300:10;49288:22;49280:77;;;;-1:-1:-1;;;49280:77:0;;;;;;;:::i;:::-;58446:11:::1;::::0;:21:::1;::::0;58460:7:::1;58446:21;:::i;:::-;58428:15;:39;58424:441;;;58602:4;::::0;-1:-1:-1;;;;;58602:4:0;;::::1;58592:14:::0;;::::1;::::0;58584:31:::1;;;;-1:-1:-1::0;;;58584: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;58584:31:0::1;58647:8;:15:::0;58630:14:::1;58677:177;58705:6;58699:3;:12;58677:177;;;58739:21;58763:8;58772:3;58763:13;;;;;;;;:::i;:::-;;::::0;;;::::1;::::0;;;::::1;::::0;;::::1;;58813:10:::0;;58763:13;;-1:-1:-1;;;;;;58813:10:0;;::::1;58803:20:::0;;::::1;::::0;58795:43:::1;;;::::0;-1:-1:-1;;;58795:43:0;;7576:2:1;58795: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;;58795:43:0::1;7374:334:1::0;58795:43:0::1;-1:-1:-1::0;58713:5:0::1;;58677:177;;;;58469:396;58424:441;58875:31;-1:-1:-1::0;;;;;58875:19:0;::::1;58895:2:::0;58899:6;58875:19:::1;:31::i;:::-;58310:604:::0;;;:::o;53528:180::-;53590:8;:15;53573:14;53616:85;53644:6;53638:3;:12;53616:85;;;53674:15;53685:3;53674:10;:15::i;:::-;53652:5;;53616:85;;58030:217;49288:8;;-1:-1:-1;;;;;49288:8:0;49300:10;49288:22;49280:77;;;;-1:-1:-1;;;49280:77:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;58109:22:0;::::1;58101:69;;;::::0;-1:-1:-1;;;58101:69:0;;7915:2:1;58101: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;;58101:69:0::1;7713:398:1::0;58101:69:0::1;58181:7;:18:::0;;-1:-1:-1;;;;;;58181:18:0::1;-1:-1:-1::0;;;;;58181:18:0;::::1;::::0;;::::1;::::0;;;58215:24:::1;::::0;2376:51:1;;;58215:24:0::1;::::0;2364:2:1;2349:18;58215:24:0::1;;;;;;;58030:217:::0;:::o;57887:101::-;49288:8;;-1:-1:-1;;;;;49288:8:0;49300:10;49288:22;49280:77;;;;-1:-1:-1;;;49280:77:0;;;;;;;:::i;:::-;57960:8:::1;:20:::0;;-1:-1:-1;;;;;;57960:20:0::1;-1:-1:-1::0;;;;;57960:20:0;;;::::1;::::0;;;::::1;::::0;;57887:101::o;52673:772::-;52747:7;52767:21;52791:8;52800:4;52791:14;;;;;;;;:::i;:::-;;;;;;;;;52840;;;:8;:14;;;;;;-1:-1:-1;;;;;52840:21:0;;;;;;;;;;52791:14;;;;;;;;52898:20;;;;52951:10;;:35;;-1:-1:-1;;;52951:35:0;;52980:4;52951:35;;;2376:51:1;52791:14:0;;-1:-1:-1;52840:21:0;;52791:14;52951:10;;;;;:20;;2349:18:1;;52951:35:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;52929:57;;53019:4;:19;;;53001:15;:37;:57;;;;-1:-1:-1;53042:16:0;;;53001:57;52997:360;;;53075:24;53102:56;53121:4;:19;;;53142:15;53102:18;:56::i;:::-;53075:83;;53173:19;53195:58;53237:15;;53195:37;53216:4;:15;;;53195:16;:20;;:37;;;;:::i;:58::-;53173:80;-1:-1:-1;53286:59:0;53306:38;53332:11;53306:21;53173:80;53322:4;53306:15;:21::i;:38::-;53286:15;;:19;:59::i;:::-;53268:77;;53060:297;;52997:360;53374:63;53421:4;:15;;;53374:42;53411:4;53374:32;53390:15;53374:4;:11;;;:15;;:32;;;;:::i;:63::-;53367:70;52673:772;-1:-1:-1;;;;;;;52673:772:0:o;54727:839::-;32425:21;:19;:21::i;:::-;54806:15:::1;54824:10;54806:28;;54845:21;54869:8;54878:4;54869:14;;;;;;;;:::i;:::-;;::::0;;;::::1;::::0;;;54918;;;:8:::1;:14:::0;;;;;;-1:-1:-1;;;;;54918:23:0;::::1;::::0;;;;;;;54869:14:::1;::::0;;::::1;::::0;;::::1;::::0;-1:-1:-1;54952:16:0::1;54927:4:::0;54952:10:::1;:16::i;:::-;54983:11:::0;;:15;54979:290:::1;;55015:16;55034:68;55086:4;:15;;;55034:47;55076:4;55034:37;55050:4;:20;;;55034:4;:11;;;:15;;:37;;;;:::i;:68::-;55015:87:::0;-1:-1:-1;55121:12:0;;55117:141:::1;;55154:35;55171:7;55180:8;55154:16;:35::i;:::-;55224:7;-1:-1:-1::0;;;;;55213:29:0::1;;55233:8;55213:29;;;;909:25:1::0;;897:2;882:18;;763:177;55213:29:0::1;;;;;;;;55117:141;55000:269;54979:290;55283:11:::0;;55279:157:::1;;55311:10:::0;;:60:::1;::::0;-1:-1:-1;;;;;55311:10:0::1;55339:7:::0;55356:4:::1;55363:7:::0;55311:27:::1;:60::i;:::-;55400:11:::0;;:24:::1;::::0;55416:7;55400:15:::1;:24::i;:::-;55386:38:::0;;55279:157:::1;55480:20;::::0;::::1;::::0;55464:11;;:47:::1;::::0;55506:4:::1;::::0;55464:37:::1;::::0;:15:::1;:37::i;:47::-;55446:15;::::0;::::1;:65:::0;55527:31:::1;::::0;909:25:1;;;55544:4:0;;-1:-1:-1;;;;;55527:31:0;::::1;::::0;::::1;::::0;897:2:1;882:18;55527:31:0::1;;;;;;;54795:771;;;32469:20:::0;31863:1;32989:7;:22;32806:213;26465:98;26523:7;26550:5;26554:1;26550;:5;:::i;:::-;26543:12;26465:98;-1:-1:-1;;;26465:98:0:o;26084:::-;26142:7;26169:5;26173:1;26169;:5;:::i;26822:98::-;26880:7;26907:5;26911:1;26907;:5;:::i;49488:260::-;49573:8;:15;49556:14;49599:142;49627:6;49621:3;:12;49599:142;;;49688:6;-1:-1:-1;;;;;49665:29:0;:8;49674:3;49665:13;;;;;;;;:::i;:::-;;;;;;;;;;;;;;:19;-1:-1:-1;;;;;49665:19:0;:29;49657:72;;;;-1:-1:-1;;;49657:72:0;;8624:2:1;49657:72:0;;;8606:21:1;8663:2;8643:18;;;8636:30;8702:32;8682:18;;;8675:60;8752:18;;49657:72:0;8422:354:1;49657:72:0;49635:5;;49599:142;;32505:293;31907:1;32639:7;;:19;32631:63;;;;-1:-1:-1;;;32631:63:0;;8983:2:1;32631:63:0;;;8965:21:1;9022:2;9002:18;;;8995:30;9061:33;9041:18;;;9034:61;9112:18;;32631:63:0;8781:355:1;32631:63:0;31907:1;32772:7;:18;32505:293::o;27221:98::-;27279:7;27306:5;27310:1;27306;:5;:::i;57496:349::-;57591:4;;:29;;-1:-1:-1;;;57591:29:0;;57614:4;57591:29;;;2376:51:1;57572:16:0;;-1:-1:-1;;;;;57591:4:0;;:14;;2349:18:1;;57591:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;57572:48;-1:-1:-1;57635:12:0;;57631:207;;57678:8;57668:7;:18;57664:163;;;57707:4;;:32;;-1:-1:-1;;;;;57707:4:0;57725:3;57730:8;57707:17;:32::i;57664:163::-;57780:4;;:31;;-1:-1:-1;;;;;57780:4:0;57798:3;57803:7;17155:177;17265:58;;-1:-1:-1;;;;;9555:32:1;;17265:58:0;;;9537:51:1;9604:18;;;9597:34;;;17238:86:0;;17258:5;;-1:-1:-1;;;17288:23:0;9510:18:1;;17265:58:0;;;;-1:-1:-1;;17265:58:0;;;;;;;;;;;;;;-1:-1:-1;;;;;17265:58:0;-1:-1:-1;;;;;;17265:58:0;;;;;;;;;;17238:19;:86::i;17577:205::-;17705:68;;-1:-1:-1;;;;;9862:32:1;;;17705:68:0;;;9844:51:1;9931:32;;9911:18;;;9904:60;9980:18;;;9973:34;;;17678:96:0;;17698:5;;-1:-1:-1;;;17728:27:0;9817:18:1;;17705:68:0;9642:371:1;17678:96:0;17577:205;;;;:::o;21501:649::-;21925:23;21951:69;21979:4;21951:69;;;;;;;;;;;;;;;;;21959:5;-1:-1:-1;;;;;21951:27:0;;;:69;;;;;:::i;:::-;21925:95;;22039:10;:17;22060:1;22039:22;:56;;;;22076:10;22065:30;;;;;;;;;;;;:::i;:::-;22031:111;;;;-1:-1:-1;;;22031:111:0;;10470:2:1;22031: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;;22031:111:0;10268:406:1;10923:229:0;11060:12;11092:52;11114:6;11122:4;11128:1;11131:12;11092:21;:52::i;:::-;11085:59;10923:229;-1:-1:-1;;;;10923:229:0:o;12009:455::-;12179:12;12237:5;12212:21;:30;;12204:81;;;;-1:-1:-1;;;12204:81:0;;10881:2:1;12204: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;;12204:81:0;10679:402:1;12204:81:0;12297:12;12311:23;12338:6;-1:-1:-1;;;;;12338:11:0;12357:5;12364:4;12338:31;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12296:73;;;;12387:69;12414:6;12422:7;12431:10;12443:12;14767;14796:7;14792:427;;;14824:10;:17;14845:1;14824:22;14820:290;;-1:-1:-1;;;;;8463:19:0;;;15034:60;;;;-1:-1:-1;;;15034:60:0;;11594:2:1;15034:60:0;;;11576:21:1;11633:2;11613:18;;;11606:30;11672:31;11652:18;;;11645:59;11721:18;;15034:60:0;11392:353:1;15034:60:0;-1:-1:-1;15131:10:0;15124:17;;14792:427;15174:33;15182:10;15194:12;15929:17;;:21;15925:388;;16161:10;16155:17;16218:15;16205:10;16201:2;16197:19;16190:44;15925:388;16288:12;16281:20;;-1:-1:-1;;;16281: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://90dbbf8ae8eda9bee0a282af343fbab6f9f040e689ce443f6b3e0c047c7187da
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 31 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
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.