Incentive Controller
Last updated
Last updated
The incentive Controller is for the BEND tokens rewards which can be earned by the lenders and borrowers.
function claimRewards(address[] _assets, uint256 _amount)
Claims reward for a user, on all the assets of the lending pool, accumulating the pending rewards.
Parameter Name | Type | Description |
---|---|---|
function getRewardsBalance(address[] _assets, address _user)
Returns the total of rewards of a user, already accrued + not yet accrued.
Parameter Name | Type | Description |
---|---|---|
Return Values
Parameter Name | Type | Description |
---|---|---|
function getUserUnclaimedRewards(address _user)
Returns the unclaimed rewards of the user
Return Values
Return Values
Parameter Name | Type | Description |
---|---|---|
Parameter Name | Type | Description |
---|---|---|
_assets
address[]
The addresses of the bTokens and debtTokens, etc. bendWETH, bendDebtWETH
_amount
uint256
The rewards amount to be claimed
_assets
address[]
The addresses of the bTokens and debtTokens, etc. bendWETH, bendDebtWETH
_user
address
The address of user
rewards
uint256
the rewards
_user
address
The address of user
rewards
uint256
the rewards