-
Notifications
You must be signed in to change notification settings - Fork 206
;51R;51R #1973
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
;51R;51R #1973
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Collaborator
LukasDeco
commented
Oct 21, 2025
- program: make lp shares reduce only
- init
- rm more fields
- make tests build
- start sdk changes
- init new margin calc
- deposit and transfer into
- add settle pnl
- program: add withdraw
- add more ix
- add new meets withdraw req fn
- enter/exit liquidation logic
- moar
- start liquidation logic
- other liquidation fns
- make build work
- more updates
- always calc isolated pos
- rm isolated position market index logic
- moar
- program: rm the isolated position market index
- some tweaks
- rm some old margin code
- tweak meets withdraw requirements
- rm liquidation mode changing context
- handle liquidation id and bit flags
- more liquidation changes
- clean
- fix force cancel orders
- update validate liquidation
- moar
- rename is_being_liquidated
- start adding test
- program: add validate for liq borrow for perp pnl
- program: add test for isolated margin calc
- is bankrupt test
- fix cancel orders
- fix set liquidation status
- more tweaks
- clean up naming
- update last active slot for isolated position liq
- another liquidation review
- add test
- cargo fmt --
- tweak naming
- add test to make sure false liquidaiton wont be triggered
- test meets withdraw
- change is bankrupt
- more
- update uses of exit isolated liquidaiton
- moar
- moar
- reduce diff
- moar
- modularize some for tests
- add tests for the pnl for deposit liquidation
- tests for isolated position transfer
- test for update spot balance
- test for settle pnl
- add perp position max margin
- program: test for custom perp position margin ratio
- add test for margin calc for disable hlm
- update test name
- make max margin ratio persist
- add liquidation mode test
- more tests to make sure liqudiations dont bleed over
- change test name
- fix broken cargo tests
- cargo fmt --
- first ts test
- isolatedPositionLiquidatePerp test
- isolatedPositionLiquidatePerpwithFill test
- fix expired position
- cargo fmt --
- feat: initial SDK Changes for iso pos
- feat: margin calc unit tests
- temp
- feat: finally - parity with on-chain cargo test
- fix: PR feedback and cleanup + decoding position flag wrong
- feat: deposit into iso position ixs
- temp: pr feedback nother round
- feat: per perp pos max margin ratio
- feat: additional ixs for transfer into iso + update perp margin ratio
- feat: revamp liquidation checker functions for cross vs iso margin
- fix: adjust health getter for user
- fix: liq statuses add to return signature
- chore: post rebase cleaner upper
- fix: missing params from per market lev
- feat: zero out account withdraw from perp position
- fix: available positions logic update for iso
- feat: iso position txs cleanup + ix ordering
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.