morpho-org / morpho-blue-irm

Morpho Blue Interest Rate Models
https://morpho.org
MIT License
26 stars 17 forks source link

Remove the exponential aspect of the curve #55

Closed MathisGD closed 11 months ago

MathisGD commented 12 months ago

(consideration assuming #54)

image

even if there are some logical arguments in favor of keeping it, it is likely that it will make no change in practice so I'm in favor of removing it

discussion: https://morpholabs.slack.com/archives/C02N7CZ088N/p1698624167103969

MathisGD commented 11 months ago

we decided to remove it because it almost changes nothing to the rate, but simplifies the contract's logic and reduces gas cost

MathisGD commented 11 months ago

here are the new formulas https://www.geogebra.org/calculator/gqakjmur