9ce6b67831
* 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 |
||
---|---|---|
.. | ||
8k7F9Xb36oFJsjpCKpsXvg4cgBRoZtwNTc3EzG5Ttd2o.bin | ||
83v8iPyZihDEjDdY8RdZddyZNyUtXngz69Lgo9Kt5d6d.bin | ||
Gnt27xtC473ZT2Mw5u8wZ68Z3gULkSTb5DuxJy7eJotD.bin | ||
GvDMxPzN1sCj7L26YDK2HnMRXEQmQ2aemov8YBtPS7vR.bin | ||
J83w4HKfqxwcq3BEMMkPFSppX3gqekLyLJBexebFVkix.bin |