Reserve Factor

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

OErc20 / OEther

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

Solidity

OErc20 oToken = OToken(0x3FDA...);
uint reserveFactorMantissa = oToken.reserveFactorMantissa();

Web3 1.0

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

Last updated