Feature Tip: Add private address tag to any address under My Name Tag !
More Info
Private Name Tags
ContractCreator
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
SFIRewarder
Compiler Version
v0.8.4+commit.c7e474f2
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity 0.8.4; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "./interface/ISFIRewarder.sol"; /** * @dev Implementation of the ISFIRewarder interface. * * This contract holds SFI tokens minted by governance for liquidity mining rewards. * It distributes rewards to users based on the SaffronStakingV2 contract. This is * an extension of the Sushiswap Masterchef contract. It allows SFI in the rewards * pool to be separate from SFI staked in single-asset staking via SaffronStakingV2. * * NOTE: Before opening staking send enough SFI here otherwise distribution can fail. * * NOTE: Partial rewards are impossible because the contract always tries to pay out * in full. */ contract SFIRewarder is Ownable, ISFIRewarder { using SafeERC20 for IERC20; // SFI governance token IERC20 public sfi; // SaffronStakingV2 contract address address public saffronStaking; constructor(address _sfi) { require(_sfi != address(0), "invalid _sfi address"); sfi = IERC20(_sfi); } /** * @dev Set the address for the live SaffronStakingV2 contract. * @param _saffronStaking The address of the deployed SaffronStakingV2 contract. * * Note that the SFIRewarder must be deployed before SaffronStakingV2 contract * and then this function called with the SaffronStakingV2 address */ function setStakingAddress(address _saffronStaking) external onlyOwner { require(_saffronStaking != address(0), "invalid _staking address"); saffronStaking = _saffronStaking; } /** * @dev Reward the user with SFI. Should be called by the SaffronStakingV2 contract. * @param to The account to reward with SFI. * @param amount The amount of SFI to reward. */ function rewardUser(address to, uint256 amount) external override onlyStaking { sfi.safeTransfer(to, amount); emit UserRewarded(to, amount); } /** * @dev Emergency withdraw all SFI from the contract. * @param token The ERC20 token address to withdraw from the contract. * @param to The account that will receive the withdrawn tokens. * @param amount The amount (wei) of tokens to be transferred. */ function emergencyWithdraw(address token, address to, uint256 amount) external onlyOwner { IERC20(token).safeTransfer(to, amount); } /** * @dev Modifier to make a function callable only by a deployed SaffronStakingV2 contract. * * Requirements: * * - saffronStaking must be set by governance first. */ modifier onlyStaking { require(msg.sender == saffronStaking, "requires staking pool"); _; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @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 `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, 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 `sender` to `recipient` 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 sender, address recipient, uint256 amount ) external returns (bool); /** * @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); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC20.sol"; import "../../../utils/Address.sol"; /** * @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; function safeTransfer( IERC20 token, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } 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)); } function safeIncreaseAllowance( IERC20 token, address spender, uint256 value ) internal { uint256 newAllowance = token.allowance(address(this), spender) + value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } 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"); uint256 newAllowance = oldAllowance - value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } } /** * @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"); if (returndata.length > 0) { // Return data is optional require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _setOwner(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _setOwner(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT pragma solidity 0.8.4; /** * @dev Interface of the SFIRewarder contract for SaffronStakingV2 to implement and call. */ interface ISFIRewarder { /** * @dev Rewards an `amount` of SFI to account `to`. */ function rewardUser(address to, uint256 amount) external; /** * @dev Emitted when `amount` SFI are rewarded to account `to`. * * Note that `amount` may be zero. */ event UserRewarded(address indexed to, uint256 amount); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @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 * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 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://diligence.consensys.net/posts/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.5.11/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 functionCall(target, data, "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"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return _verifyCallResult(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) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return _verifyCallResult(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) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return _verifyCallResult(success, returndata, errorMessage); } function _verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) private pure returns (bytes memory) { if (success) { return returndata; } else { // 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 assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_sfi","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"UserRewarded","type":"event"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"emergencyWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"rewardUser","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saffronStaking","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_saffronStaking","type":"address"}],"name":"setStakingAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sfi","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405234801561001057600080fd5b5060405161096438038061096483398101604081905261002f91610107565b610038336100b7565b6001600160a01b0381166100925760405162461bcd60e51b815260206004820152601460248201527f696e76616c6964205f7366692061646472657373000000000000000000000000604482015260640160405180910390fd5b600180546001600160a01b0319166001600160a01b0392909216919091179055610135565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600060208284031215610118578081fd5b81516001600160a01b038116811461012e578182fd5b9392505050565b610820806101446000396000f3fe608060405234801561001057600080fd5b50600436106100885760003560e01c8063e4e103dc1161005b578063e4e103dc146100ea578063e63ea408146100fd578063f2fde38b14610110578063f4e0d9ac1461012357600080fd5b80630b5939341461008d578063380ef584146100bc578063715018a6146100cf5780638da5cb5b146100d9575b600080fd5b6001546100a0906001600160a01b031681565b6040516001600160a01b03909116815260200160405180910390f35b6002546100a0906001600160a01b031681565b6100d7610136565b005b6000546001600160a01b03166100a0565b6100d76100f83660046106ed565b610175565b6100d761010b3660046106b2565b610225565b6100d761011e366004610698565b610268565b6100d7610131366004610698565b610303565b6000546001600160a01b031633146101695760405162461bcd60e51b815260040161016090610785565b60405180910390fd5b61017360006103a5565b565b6002546001600160a01b031633146101c75760405162461bcd60e51b81526020600482015260156024820152741c995c5d5a5c995cc81cdd185ada5b99c81c1bdbdb605a1b6044820152606401610160565b6001546101de906001600160a01b031683836103f5565b816001600160a01b03167fe366ef68d2c0620e9e4c5074fd7ad0ce6739b65287f9c2d09b7d002da556879b8260405161021991815260200190565b60405180910390a25050565b6000546001600160a01b0316331461024f5760405162461bcd60e51b815260040161016090610785565b6102636001600160a01b03841683836103f5565b505050565b6000546001600160a01b031633146102925760405162461bcd60e51b815260040161016090610785565b6001600160a01b0381166102f75760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610160565b610300816103a5565b50565b6000546001600160a01b0316331461032d5760405162461bcd60e51b815260040161016090610785565b6001600160a01b0381166103835760405162461bcd60e51b815260206004820152601860248201527f696e76616c6964205f7374616b696e67206164647265737300000000000000006044820152606401610160565b600280546001600160a01b0319166001600160a01b0392909216919091179055565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b604080516001600160a01b03848116602483015260448083018590528351808403909101815260649092018352602080830180516001600160e01b031663a9059cbb60e01b17905283518085019094528084527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65649084015261026392869291600091610485918516908490610502565b80519091501561026357808060200190518101906104a39190610716565b6102635760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610160565b6060610511848460008561051b565b90505b9392505050565b60608247101561057c5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610160565b843b6105ca5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610160565b600080866001600160a01b031685876040516105e69190610736565b60006040518083038185875af1925050503d8060008114610623576040519150601f19603f3d011682016040523d82523d6000602084013e610628565b606091505b5091509150610638828286610643565b979650505050505050565b60608315610652575081610514565b8251156106625782518084602001fd5b8160405162461bcd60e51b81526004016101609190610752565b80356001600160a01b038116811461069357600080fd5b919050565b6000602082840312156106a9578081fd5b6105148261067c565b6000806000606084860312156106c6578182fd5b6106cf8461067c565b92506106dd6020850161067c565b9150604084013590509250925092565b600080604083850312156106ff578182fd5b6107088361067c565b946020939093013593505050565b600060208284031215610727578081fd5b81518015158114610514578182fd5b600082516107488184602087016107ba565b9190910192915050565b60208152600082518060208401526107718160408501602087016107ba565b601f01601f19169190910160400192915050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60005b838110156107d55781810151838201526020016107bd565b838111156107e4576000848401525b5050505056fea264697066735822122063c64cdb5441c7b9bf4c851933dfa29ed1f000a8f7a8439c54664795941fdcd664736f6c63430008040033000000000000000000000000b753428af26e81097e7fd17f40c88aaa3e04902c
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100885760003560e01c8063e4e103dc1161005b578063e4e103dc146100ea578063e63ea408146100fd578063f2fde38b14610110578063f4e0d9ac1461012357600080fd5b80630b5939341461008d578063380ef584146100bc578063715018a6146100cf5780638da5cb5b146100d9575b600080fd5b6001546100a0906001600160a01b031681565b6040516001600160a01b03909116815260200160405180910390f35b6002546100a0906001600160a01b031681565b6100d7610136565b005b6000546001600160a01b03166100a0565b6100d76100f83660046106ed565b610175565b6100d761010b3660046106b2565b610225565b6100d761011e366004610698565b610268565b6100d7610131366004610698565b610303565b6000546001600160a01b031633146101695760405162461bcd60e51b815260040161016090610785565b60405180910390fd5b61017360006103a5565b565b6002546001600160a01b031633146101c75760405162461bcd60e51b81526020600482015260156024820152741c995c5d5a5c995cc81cdd185ada5b99c81c1bdbdb605a1b6044820152606401610160565b6001546101de906001600160a01b031683836103f5565b816001600160a01b03167fe366ef68d2c0620e9e4c5074fd7ad0ce6739b65287f9c2d09b7d002da556879b8260405161021991815260200190565b60405180910390a25050565b6000546001600160a01b0316331461024f5760405162461bcd60e51b815260040161016090610785565b6102636001600160a01b03841683836103f5565b505050565b6000546001600160a01b031633146102925760405162461bcd60e51b815260040161016090610785565b6001600160a01b0381166102f75760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610160565b610300816103a5565b50565b6000546001600160a01b0316331461032d5760405162461bcd60e51b815260040161016090610785565b6001600160a01b0381166103835760405162461bcd60e51b815260206004820152601860248201527f696e76616c6964205f7374616b696e67206164647265737300000000000000006044820152606401610160565b600280546001600160a01b0319166001600160a01b0392909216919091179055565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b604080516001600160a01b03848116602483015260448083018590528351808403909101815260649092018352602080830180516001600160e01b031663a9059cbb60e01b17905283518085019094528084527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65649084015261026392869291600091610485918516908490610502565b80519091501561026357808060200190518101906104a39190610716565b6102635760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610160565b6060610511848460008561051b565b90505b9392505050565b60608247101561057c5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610160565b843b6105ca5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610160565b600080866001600160a01b031685876040516105e69190610736565b60006040518083038185875af1925050503d8060008114610623576040519150601f19603f3d011682016040523d82523d6000602084013e610628565b606091505b5091509150610638828286610643565b979650505050505050565b60608315610652575081610514565b8251156106625782518084602001fd5b8160405162461bcd60e51b81526004016101609190610752565b80356001600160a01b038116811461069357600080fd5b919050565b6000602082840312156106a9578081fd5b6105148261067c565b6000806000606084860312156106c6578182fd5b6106cf8461067c565b92506106dd6020850161067c565b9150604084013590509250925092565b600080604083850312156106ff578182fd5b6107088361067c565b946020939093013593505050565b600060208284031215610727578081fd5b81518015158114610514578182fd5b600082516107488184602087016107ba565b9190910192915050565b60208152600082518060208401526107718160408501602087016107ba565b601f01601f19169190910160400192915050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60005b838110156107d55781810151838201526020016107bd565b838111156107e4576000848401525b5050505056fea264697066735822122063c64cdb5441c7b9bf4c851933dfa29ed1f000a8f7a8439c54664795941fdcd664736f6c63430008040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000b753428af26e81097e7fd17f40c88aaa3e04902c
-----Decoded View---------------
Arg [0] : _sfi (address): 0xb753428af26E81097e7fD17f40c88aaA3E04902c
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000b753428af26e81097e7fd17f40c88aaa3e04902c
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|---|---|---|---|---|
ETH | 100.00% | $21.69 | 2.005 | $43.49 |
Loading...
Loading
[ Download: CSV Export ]
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.