From b31cd9c56efc302c673594bdc42e9388e46972c3 Mon Sep 17 00:00:00 2001 From: microwavedcola1 Date: Thu, 10 Feb 2022 09:11:39 +0100 Subject: [PATCH] add comments from notion Signed-off-by: microwavedcola1 --- notes/daffy_notes_13_01_22.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/notes/daffy_notes_13_01_22.md b/notes/daffy_notes_13_01_22.md index dfd8c467c..d8256e5bb 100644 --- a/notes/daffy_notes_13_01_22.md +++ b/notes/daffy_notes_13_01_22.md @@ -11,19 +11,19 @@ Last Edited Time: February 7, 2022 5:27 PM # Features -1. mark price that takes into account order book and basis +1. mark price that takes into account order book and basis (This is important for term futures. The mark price for a term future should be the current oracle price + moving average of basis (where basis is oracle price - orderbook mid)) 2. no more PriceCache, no more nodebanks 3. arbitrary number of tokens and markets, so more MAX_PAIRS 1. find a way to limit risk → then we can add any token and not worry about contamination. perhaps limit deposits and borrows. perhaps attach 2. limiting deposits might also require separating collateral and lend deposits 4. Mango Slice - 1. needs a manipulation resistant mark price + 1. needs a manipulation resistant mark price (?) 5. margin trading across all dexes 6. Raydium style perp liquidity provision (?) 7. Liquidations are auctions (?) 8. More efficient logging 9. ids.json lives on chain -10. mobile app +10. mobile app, apple might not be very friendly with defi apps, react-native might be the choice of framework to go with, microwavedcola might have some contacts who could do some contracting work 11. support multiple quote currencies 12. daffy: interest rate pegged to an interest rate oracle provided by switchboard, the optimal rate would be pegged to oracle. We can still override it but it makes the lending markets more efficient. For example, the optimal rate of USDC is like 10% or something which causes massive spread in borrow and lend tates right now when market is not really willing to pay 10% 13. multi legged interest rate \ No newline at end of file