Skip to main content

IRewarder

Methods

onSushiReward

function onSushiReward(uint256 pid, address user, address recipient, uint256 sushiAmount, uint256 newLpAmount) external nonpayable

Parameters

NameTypeDescription
piduint256undefined
useraddressundefined
recipientaddressundefined
sushiAmountuint256undefined
newLpAmountuint256undefined

pendingTokens

function pendingTokens(uint256 pid, address user, uint256 sushiAmount) external view returns (contract IERC20[], uint256[])

Parameters

NameTypeDescription
piduint256undefined
useraddressundefined
sushiAmountuint256undefined

Returns

NameTypeDescription
_0contract IERC20[]undefined
_1uint256[]undefined