348d8cfcd8
- Abstract away account fetching, so it can be done via RPC or from a websocket stream (or a geyser plugin) that populates a ChainData instance. - Separate out information about tokens, markets into MangoGroupContext. - Separate all gPA calls into functions in a new file - The liquidator re-fetches critical accounts via RPC before liquidation. Unfortunately the websocket stream seems slower :/ - Don't re-implement health account derivation in the liquidator. Instead reuse the existing code from the client. - More smaller stuff. |
||
---|---|---|
.. | ||
mango-v4 | ||
margin-trade |