Skip to content
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

WIP: Pan/openbook v2 fixes #962

Open
wants to merge 55 commits into
base: dev
Choose a base branch
from
Open

Conversation

microwavedcola1
Copy link
Collaborator

No description provided.

farnyser and others added 28 commits March 20, 2024 15:25
liquidator: split TCS triggering and liquidation job

Concurrent execution of candidate lookup and tx building/sending
- Also added an health assertion IX to protect liqor in multi liquidation scenario
- And a timeout for jupiter v6 queries (avoid blocking liquidation because of slow TCS)
…ing at every try if one token is having an issue (#921)
* liquidator: forcefully exit process if snapshot job die

* client: return snapshot_job join handle so it can be watched for early unexpected exit
liquidator: add a sequence check in rebalancing
liquidator: add sanctum swap
This is necessary for new liquidator feature of rebalancing using limit orders:
We need to close the token and market slot so that it's available for new liquidation, but at the same time, it's possible that the min order quantity for a given market is still bigger than allowed max withdrawal.
liquidator: rebalance with limit order
Co-authored-by: Tyler <[email protected]>
Co-authored-by: Christian Kamm <[email protected]>
Co-authored-by: Serge Farny <[email protected]>
Co-authored-by: microwavedcola1 <[email protected]>
This ensures casts of local variables don't run into alignment
differences.
@github-actions github-actions bot added client TS client changes program On-chain program changes labels May 16, 2024
@github-actions github-actions bot added the dependency Dependency updates label May 17, 2024
riordanp and others added 25 commits May 17, 2024 13:00
* move BookSide into its own file
* optimize bookside decoding
* format
* update workflows to use node 20
Signed-off-by: microwavedcola1 <[email protected]>
Signed-off-by: microwavedcola1 <[email protected]>
Signed-off-by: microwavedcola1 <[email protected]>
Signed-off-by: microwavedcola1 <[email protected]>
Signed-off-by: microwavedcola1 <[email protected]>
Signed-off-by: microwavedcola1 <[email protected]>
Signed-off-by: microwavedcola1 <[email protected]>
Signed-off-by: microwavedcola1 <[email protected]>
Signed-off-by: microwavedcola1 <[email protected]>
Signed-off-by: microwavedcola1 <[email protected]>
Signed-off-by: microwavedcola1 <[email protected]>
@microwavedcola1 microwavedcola1 changed the title wip: Pan/openbook v2 fixes WIP: Pan/openbook v2 fixes Aug 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
client TS client changes dependency Dependency updates program On-chain program changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants