Skip to content

Conversation

0xbigz
Copy link
Member

@0xbigz 0xbigz commented Jul 30, 2025

No description provided.

0xbigz and others added 30 commits July 25, 2025 16:08
* program: add-high-leverage-maintenance-mode

* hlm disable bool

* rm update last active slot in settle pnl

* improve booting logic

* add type

* cargo fmt --

---------

Co-authored-by: Chris Heaney <[email protected]>
Co-authored-by: Nick Caradonna <[email protected]>
* 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

* mm oracle improvements (#1771)

* v1 safety improvements

* isolate funding from MM oracle

* add cargo tests for amm availability

* change oracle validity log bool to enum

* address comment

---------

Co-authored-by: moosecat <[email protected]>
Co-authored-by: jordy25519 <[email protected]>
* vamm l2 oracle changes

* add drift client types to barrel file
* program: stop counting reduce only orders to open bids/asks

* account for old vs new reduce only orders

* add sdk

* ignore max lev flag for reduce only orders

* tweak filter logic

* test

* moar tests

* simplify

* only exclude tpsl

* cargo fmt --

* tweak

* more tweaks
* 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]>
* Revert "Remove Circular Dependencies 3 (#1779)"

This reverts commit 697ce50.

* Revert "Improve Circular Dependencies 2 (#1778)"

This reverts commit f09b59d.

* Revert "Improve circular dependencies 1 (#1776)"

This reverts commit f4e3333.

* prettify:fix
github-actions bot and others added 30 commits September 22, 2025 17:06
* feat: pin deps away from mal packages

* fix: chalk deps break lint

* fix: linter unix format

* try fix broken anchor tests

---------

Co-authored-by: Nick Caradonna <[email protected]>
* Revert "program: revert swift max margin ratio (#1874)"

This reverts commit 87bfe72.

* add SignedMsgExtensions enum struct variant

* Revert "add SignedMsgExtensions enum struct variant"

This reverts commit 9dbe65c.

* add extended SignedMsgOrderParamsMessage variant

* zero pad short swift messages when decoding

* revert to single sdk decode function

* cargo fmt

* comments

* use fixed padding for sdk swift decode fn

* fix comments
* add lp events for evnet subscriber

* idl build
* init

* program: scaled ui working

* cargo fmt --

* ts lint
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants