Skip to content

Commit

Permalink
program: liquidate spot with swap (#1402)
Browse files Browse the repository at this point in the history
* start

* small change

* add validation logic for being swap

* program: add liquidate end

* unfix not bug

* finish rename in/out to asset/liability

* added end logic

* add initial test

* cargo test

* add ts code

* ts test

* cargo fmt --

* prettify/lint

* tweaks reviewing changes

* look at nitpicks

* CHANGELOG
  • Loading branch information
crispheaney authored Jan 8, 2025
1 parent c73ca92 commit 5ca90e7
Show file tree
Hide file tree
Showing 12 changed files with 2,223 additions and 12 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Features

- program: liquidate spot with swap ([#1402](https://github.com/drift-labs/protocol-v2/pull/1402))

### Fixes

- program: account for fuel in swaps ([#1411](https://github.com/drift-labs/protocol-v2/pull/1411))
Expand Down
Loading

0 comments on commit 5ca90e7

Please sign in to comment.