mango-v4/programs/mango-v4
Christian Kamm a77515acbf
Improve listing with invalid oracles (#620)
* Stable Price: Reset on first price != 0

This helps when listing tokens or perp markets with an upcoming
oracle. Currently the stable price would be 0 and would need to be
manually reset by DAO proposal.

With this change, the first non-zero value will be used as the starting
point for the stable price instead.

* Listing instructions: Succeed even if oracle is invalid

But require the stable price to reset once it becomes valid.
2023-06-21 15:25:24 +02:00
..
resources/test switchboard support (#67) 2022-06-18 16:38:46 +02:00
src Improve listing with invalid oracles (#620) 2023-06-21 15:25:24 +02:00
tests Update test_serum_loan_origination_fees test 2023-06-19 14:48:08 +02:00
Cargo.toml Bump version to 0.17.0, changelog updates, idl update 2023-05-31 09:11:56 +02:00
Xargo.toml First commit 2022-01-21 19:21:46 +01:00