BlockPo / BlockPo-to-Tradelayer

Incubation Repo for the TradeLayer protocol, 0.2.0
http://www.tradelayer.org
Other
8 stars 8 forks source link

dMoney: Rebase function #472

Closed patrickdugan closed 2 years ago

patrickdugan commented 2 years ago

The addInterest function must accept positive or negative interest rates and *= all balances in a rebase, so e.g. 1 sLTC becomes 0.9999 sLTC for a -1 bps negative funding event. There are simply less assets in all the reserve vaults.

patrickdugan commented 2 years ago

Pending testing I'm going to call this closed based on April's PR