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

Serge/liquidator all changes from 0.25.0 #991

Merged
merged 7 commits into from
Aug 10, 2024

Conversation

farnyser
Copy link
Contributor

@farnyser farnyser commented Aug 9, 2024

No description provided.

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)
liquidator: add a sequence check in rebalancing
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
@github-actions github-actions bot added the program On-chain program changes label Aug 9, 2024
@farnyser farnyser merged commit 2aeaeb6 into dev Aug 10, 2024
11 of 13 checks passed
@farnyser farnyser deleted the serge/liquidator-all-changes-from-0.25.0 branch August 10, 2024 12:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
program On-chain program changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants