-
Notifications
You must be signed in to change notification settings - Fork 2
Insurance fund implementation #84
Copy link
Copy link
Labels
QS FCM Audit First RoundTask to address QuantStamp Audit comments from their first round of review of the FCM contracts.Task to address QuantStamp Audit comments from their first round of review of the FCM contracts.⎈ QuantStampThis issue is related to QuantStamp review commentThis issue is related to QuantStamp review comment
Milestone
Metadata
Metadata
Assignees
Labels
QS FCM Audit First RoundTask to address QuantStamp Audit comments from their first round of review of the FCM contracts.Task to address QuantStamp Audit comments from their first round of review of the FCM contracts.⎈ QuantStampThis issue is related to QuantStamp review commentThis issue is related to QuantStamp review comment
PR : #75
Context
The
insuranceRateis only used as a fixed discount applied to lender returns inupdateInterestRates(by reducingdebitIncome). There is no associated insurance fund, pool, reserve, or accounting logic. This means the parameter only lowers credit yield without funding any actual insurance mechanism.The
insuranceRateshould be discounted from the lenders returns and be swapped from the underlying asset intoMOETand theMOETwill remain inside of the system acting as the actual insurance fund for the protocol that consistently increases overtime. Whenever there is a shortfall in an asset theMOETcan be sold at that moment to cure any bad debt.