Rewards
It is possible to claim rewards for specific pools or all of them at once.
Last updated
It is possible to claim rewards for specific pools or all of them at once.
This function claims the rewards for a specific pool token.
function claimReward(address _poolToken, address _user) external nonpayableArguments
_poolToken
address
the address of the pool token
_user
address
the address of user to claim reward from. Only the wrapper contract may pass a non-zero value. For all other cases the msg.sender will be used.
This function claims the rewards for all pool tokens that the user has deposited.
function claimRewardFromAllPools(address _user) external nonpayableArguments
_user
address
the address of user to claim reward from. Only the wrapper contract may pass a non-zero value. For all other cases the msg.sender will be used.
Last updated