Rewards
It is possible to claim rewards for specific pools or all of them at once.
For a specific pool token
This function claims the rewards for a specific pool token.
Arguments
Name
Type
Description
_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.
For all pool tokens
This function claims the rewards for all pool tokens that the user has deposited.
Arguments
Name
Type
Description
_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