IRateModel
Functions
getYieldPerSecond
Specifies the percentage yield per second for a lender. Need not be a pure function
of utilization. To convert to APY: (1 + returnValue / 1e12) ** secondsPerYear - 1
function getYieldPerSecond(uint256 utilization, address lender) external view returns (uint256);
Parameters
| Name | Type | Description |
|---|---|---|
utilization | uint256 | The lender's total borrows divided by total assets, scaled up by 1e18 |
lender | address | The Lender to examine |
Returns
| Name | Type | Description |
|---|---|---|
<none> | uint256 | The percentage yield per second, scaled up by 1e12 |