Annex Docs
Search…
Reserve Factor
The reserve factor defines the portion of borrower interest that is converted into reserves.
SErc20 / SEther
1
function reserveFactorMantissa() returns (uint)
Copied!
  • RETURN: The current reserve factor as an unsigned integer, scaled by 1e18.
Solidity
1
SErc20 aToken = SToken(0x3FDA...);
2
uint reserveFactorMantissa = aToken.reserveFactorMantissa();
Copied!
Web3 1.0
1
const aToken = SEther.at(0x3FDB...);
2
const reserveFactor = (await aToken.methods.reserveFactorMantissa().call()) / 1e18;
Copied!
Last modified 4mo ago
Copy link