Christian Kamm
|
4f5ec41d7a
|
tests: Check mango account backwards compatibility (#878)
|
2024-02-14 10:00:09 +01:00 |
Lou-Kamades
|
9ce6b67831
|
Add an Orca oracle type (#813)
* deps: add whirlpool crate
* allow oracle to read price from Orca CLMM
* test: add test for raw orca CLMM price
* require the USD/USDC oracle when using a CLMM oracle
* test: add CLMM oracle tests
* use KeyedAccountReader instead of AccountInfoRef for fallback fetching functions
* calculate price for inverted orca pools
* ensure that Orca fallback oracles have USDC side
* remove unused Whirlpool impl
* clmm prices have correct decimals and pyth update slot
* manually deserialize the orca Whirlpool
* refactor: use OracleAccountInfos when checking oracle price
* properly handle inverted clmm prices
* update rs client with OracleAccountInfos struct
* refactor: simplify OracleAccountInfos impl
* add clmm oracle integration test
* use OracleAccountInfos::from_reader in account_retriever
* CLM oracles inherit deviation from supplementary quote oracle
* review fixes
* use f64 division for clmm sqrt price
* standardize fixed to f64 conversion
* review fixes
|
2024-01-04 11:29:54 -06:00 |
microwavedcola1
|
0f34851c64
|
switchboard support (#67)
* switchboard support
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
* Fix from review
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
|
2022-06-18 16:38:46 +02:00 |
microwavedcola1
|
6702cdbba6
|
mc/pyth (#14)
* pyth integration
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
|
2022-03-02 21:11:05 +01:00 |