add daffys notes from notion

Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
This commit is contained in:
microwavedcola1 2022-02-10 09:09:42 +01:00
parent 5ab8f6e09e
commit 5edbd70dd0
1 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1,29 @@
# Mango V4
Created: January 13, 2022 10:15 PM
Last Edited Time: February 7, 2022 5:27 PM
# New Solana Features
1. address maps
2. expandable accounts
3. lower tx fees (? confirm with Solana devs)
# Features
1. mark price that takes into account order book and basis
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
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
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