Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
program: add liquidation via fill (#1106)
* add liquidation fill mode logic * programs: init liquidate_perp_with_fill * fix tests * update drift client * update idl * add init cargo tests * fill quote asset amount for if fee * add bankrun test * clean/add test placeOrder fails * liquidator doesnt need position slot * program: is_amm_available_liquidity_source for FillMode::Liquidation * add test * smol tweaks * CHANGELOG --------- Co-authored-by: 0xbigz <[email protected]>
- Loading branch information