Closed aalavandhan closed 3 years ago
exchangeRate needs to account for {msg.sender} bit balance to not over-calculate the conversion.
exchangeRate
When going from {cAmount} to {amount} and {amount} to {cAmount'}; we want {cAmount'} <= {cAmount}
exchangeRate
needs to account for {msg.sender} bit balance to not over-calculate the conversion.When going from {cAmount} to {amount} and {amount} to {cAmount'}; we want {cAmount'} <= {cAmount}