Reserve Factor

The reserve factor defines the portion of borrower interest that is converted into reserves.

AErc20 / CEther

function reserveFactorMantissa() returns (uint)
  • RETURN: The current reserve factor as an unsigned integer, scaled by 1e18.

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;

Last updated