Closed sbaichwal closed 3 years ago
This isn't quite right and also we wouldn't change the comments on already deployed contracts. But to explain: the exchange rate is somewhat arbitrary, and although its interpretation will depend on the decimals of the cToken and the decimals of the underlying, once you have a desired initial exchange rate, the mantissa is simply scaled by 1e18.
Changed comment describing exchangeRate scaling factor from 1e18 to 10^(18-8+Underlying Token Decimal).