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
{{ message }}
This repository has been archived by the owner on Jan 10, 2025. It is now read-only.
Expand Obligation to include a list of borrow / collateral amounts
Would it be easier to have one borrow type and multiple collateral types? Unless this is to be more like Aave, it could be clearer for people to manage. Then you might also be able to just have a RefreshObligation instruction which takes care of all calculations, rather than separating the collateral and borrow side.
Add authority which will be allowed to repay obligations (and remove obligation tokenization)
We could also create a tokenized market for the authority, as you mentioned 😄
Would it be easier to have one borrow type and multiple collateral types? Unless this is to be more like Aave, it could be clearer for people to manage. Then you might also be able to just have a RefreshObligation instruction which takes care of all calculations, rather than separating the collateral and borrow side.
Yeah, not opposed to combine those instructions. I think it's worth the flexibility to allow a many to many relationship for collateral to loans though to support multiple borrow currencies
Problem
Loans can only be collateralized by a single currency and collateral cannot be pooled for multiple loans
Proposed Changes
Expand
Obligation
to include a list of borrow / collateral amountsObligation market value calculation
RefreshCollateralValue
instruction for computing the market value of obligation collateralRefreshBorrowValue
instruction for computing the market value of obligation borrow amountLiquidation
Liquidation
instruction now requires an obligation with recently refreshed market values to determine loan healthThe text was updated successfully, but these errors were encountered: