Exchange Rate
exchangeRate = (getCash() + totalBorrows() - totalReserves()) / totalSupply()function exchangeRateCurrent() returns (uint)SErc20 aToken = SToken(0x3FDA...);
uint exchangeRateMantissa = aToken.exchangeRateCurrent();const aToken = SEther.at(0x3FDB...);
const exchangeRate = (await aToken.methods.exchangeRateCurrent().call()) / 1e18;Last updated