You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add MaxCollateralShare parmeter to the token registry. It should be a value in basis point describing the maximum use of a given token as a collateral. In any given moment, for every token t
Summary
Limit exposure to a single token collateral.
Problem Definition
Today, we only limit which tokens can be used as a collateral, but we don't protect the system to be exposed too much to any of the allowed tokens. This can lead to a recent Solend problem: https://decrypt.co/103489/solend-whale-108m-loan-nearly-crashed-solana
Proposal
Add
MaxCollateralShare
parmeter to the token registry. It should be a value in basis point describing the maximum use of a given token as a collateral. In any given moment, for every tokent
Where
total_collateral()
is a sum of USD value of all tokens collaterized in the system.NOTE:
This is a good and valid point. The restriction will only hold when adding a collateral.
For Admin Use
The text was updated successfully, but these errors were encountered: