Commit Graph

6 Commits

Author SHA1 Message Date
Serge Farny d0125e9fdf
liquidator: rebalance with openbook (limit order) (#938)
liquidator: rebalance with limit order
2024-04-10 16:47:45 +02:00
Serge Farny 01d5237162
Liquidator: add Sanctum swap (#919)
liquidator: add sanctum swap
2024-04-10 11:35:56 +02:00
Serge Farny f54bb6f0b0
Serge/liquidator split tcs and liquidation (#914)
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)
2024-03-20 15:25:52 +01:00
Christian Kamm 4ea7c531ef
liquidator: make alternate routes configurable (#916) 2024-03-13 09:13:07 +01:00
Serge Farny ab8393b52d
liquidator: avoid logging same oracle error (same token) in loop (#889)
* liquidator: avoid logging same oracle error (same token) in loop
2024-02-21 16:35:28 +01:00
Serge Farny 338a9cb7b8
liquidator: add allow/forbid token list (#883)
liquidator: add a way to restrict token accepted by the liquidator 

- add allow/forbid list of token for liquidation & conditional token swap triggering
- add allow/forbid list for perp market liquidation
- housekeeping: extract cli args to a dedicated file
- move more hardcoded thing to config and stop using token name (replace with token index)
2024-02-19 10:20:12 +01:00