For the complete documentation index, see llms.txt. This page is also available as Markdown.

Reserve Factor

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

SErc20 / SEther

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

Solidity

SErc20 aToken = SToken(0x3FDA...);
uint reserveFactorMantissa = aToken.reserveFactorMantissa();

Web3 1.0

const aToken = SEther.at(0x3FDB...);
const reserveFactor = (await aToken.methods.reserveFactorMantissa().call()) / 1e18;

Last updated