InterestRateModelLens
InterestRateModelLens
Lens for querying interest rate model simulations
Solidity API
getSimulationResponse
Simulate interest rate curve fo a specific interest rate model given a reference borrow amount and reserve factor
Parameters
Name | Type | Description |
---|---|---|
referenceAmountInWei | uint256 | Borrow amount to use in simulation |
interestRateModel | address | Address for interest rate model to simulate |
reserveFactorMantissa | uint256 | Reserve Factor to use in simulation |
Return Values
Name | Type | Description |
---|---|---|
[0] | struct InterestRateModelLens.SimulationResponse |
Last updated