Last updated 1 year ago
The reserve factor defines the portion of borrower interest that is converted into .
AErc20 / CEther
function reserveFactorMantissa() returns (uint)
RETURN: The current reserve factor as an unsigned integer, scaled by 1e18.
RETURN
Solidity
AErc20 aToken = AToken(0x3FDA...); uint reserveFactorMantissa = aToken.reserveFactorMantissa();
Web3 1.0
const aToken = CEther.at(0x3FDB...); const reserveFactor = (await aToken.methods.reserveFactorMantissa().call()) / 1e18;