You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* program: new amm oracle (#1738)
* zero unused amm fields
* cargo fmt
* bare bones ix
* minimal anchor mm oracle impl
* update test file
* only do admin validate when not anchor test
* updates
* generalize native entry
* fix weird function name chop off
* make it compile for --feature cpi (#1748)
Co-authored-by: jordy25519 <[email protected]>
* more efficeint clock and state bit flags check
* vamm uses mm oracle (#1747)
* add offset
* working tests
* refactor to use MM oracle as its own type
* remove weird preface
* sdk updates
* bankrun tests all pass
* fix test
* changes and fixes
* widen confidence if mm oracle too diff
* sdk side for confidence adjust
* changelog
* fix lint
* fix cargo tests
* address comments
* add conf check
* remove anchor ix and cache oracle confidence
* only state admin can reenable mm oracle kill switch
* cargo fmt
---------
Co-authored-by: jordy25519 <[email protected]>
* fix tests (#1764)
* Nour/move ixs around (#1766)
* move around ixs
* remove message
* add devnet oracle crank wallet
* refactored mm oracle
* sdk changes + cargo fmt
* fix tests
* validate price bands with fill fix
* normalize fill within price bands
* add sdk warning
* updated type
* undefined guard so anchor tests pass
* accept vec for update amm and view amm
* adjust test to work with new price bands
* Revert "adjust test to work with new price bands"
This reverts commit ee40ac8.
* remove price bands logic
* add zero ix for mm oracle for reset
* v1 safety improvements
* isolate funding from MM oracle
* add cargo tests for amm availability
* change oracle validity log bool to enum
* address comment
* make validate fill direction agnostic
* fix liquidate borrow for perp pnl test
* fix tests and address comments
---------
Co-authored-by: jordy25519 <[email protected]>
0 commit comments