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