-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #203 from drift-labs/sina/update-drift-user
Update Drift User and Drift Client A bit of a stuffed PR, summary: - Update Drift User the proper way to calculate `get_leverage` from the typescript SDK - Update `deposit` to use a temporary wSOL APA - Update some constants to add the new listings
- Loading branch information
Showing
8 changed files
with
255 additions
and
133 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,3 @@ | ||
git submodule update --init --recursive | ||
# build v2 | ||
cd protocol-v2 | ||
yarn && anchor build | ||
# build dependencies for v2 | ||
cd deps/serum-dex/dex && anchor build && cd ../../ | ||
# go back to top-level | ||
cd ../ | ||
yarn && anchor build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.