| layout | title |
|---|---|
default |
RewardControlInterface |
View Source: contracts/RewardControlInterface.sol
↘ Derived Contracts: RewardControl
{{ContractName}}
- refreshAlkSupplyIndex(address market, address supplier)
- refreshAlkBorrowIndex(address market, address borrower)
- claimAlk(address holder)
- claimAlk(address holder, address market)
⤿ Overridden Implementation(s): RewardControl.refreshAlkSupplyIndex
Refresh ALK supply index for the specified market and supplier
function refreshAlkSupplyIndex(address market, address supplier) external nonpayableArguments
| Name | Type | Description |
|---|---|---|
| market | address | The market whose supply index to update |
| supplier | address | The address of the supplier to distribute ALK to |
⤿ Overridden Implementation(s): RewardControl.refreshAlkBorrowIndex
Refresh ALK borrow index for the specified market and borrower
function refreshAlkBorrowIndex(address market, address borrower) external nonpayableArguments
| Name | Type | Description |
|---|---|---|
| market | address | The market whose borrow index to update |
| borrower | address | The address of the borrower to distribute ALK to |
⤿ Overridden Implementation(s): RewardControl.claimAlk
Claim all the ALK accrued by holder in all markets
function claimAlk(address holder) external nonpayableArguments
| Name | Type | Description |
|---|---|---|
| holder | address | The address to claim ALK for |
⤿ Overridden Implementation(s): RewardControl.claimAlk
Claim all the ALK accrued by holder by refreshing the indexes on the specified market only
function claimAlk(address holder, address market) external nonpayableArguments
| Name | Type | Description |
|---|---|---|
| holder | address | The address to claim ALK for |
| market | address | The address of the market to refresh the indexes for |