SFI Rewarder
Last updated
Last updated
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.
address
_sfi
setStakingAddress()
Set the address for the live SaffronStakingV2 contract.
address
_saffronStaking
The address of the deployed SaffronStakingV2 contract.
rewardUser()
Reward the user with SFI. Should be called by the SaffronStakingV2 contract.
address
to
The account to reward with SFI.
uint256
amount
The amount of SFI to reward.
emergencyWithdraw()
Emergency withdraw all SFI from the contract.
address
token
The ERC20 token address to withdraw from the contract.
address
to
The account that will receive the withdrawn tokens.
uint256
amount
The amount (wei) of tokens to be transferred.