Skip to content

Conversation

farnyser
Copy link
Contributor

No description provided.

farnyser and others added 30 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.
microwavedcola1 and others added 6 commits May 30, 2024 12:56
* program: do not charge collateral fees below a certain amount

Signed-off-by: microwavedcola1 <[email protected]>

* program: fix integration tests

---------

Signed-off-by: microwavedcola1 <[email protected]>
Co-authored-by: Serge Farny <[email protected]>
* Cancel openbook v2 by client order id
* Programs: remove anchor close has it is done manually anyway

* Programs: fix a bug where a pegged order might be skipped even if it was valid
Program: switchboard on-demand oracle

---------

Co-authored-by: Mitch Gildenberg <[email protected]>
Program: skip index and rate update when oracle is invalid
@farnyser farnyser requested a review from microwavedcola1 June 28, 2024 13:06
@github-actions github-actions bot added the program On-chain program changes label Jun 28, 2024
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.

6 participants