-
Notifications
You must be signed in to change notification settings - Fork 100
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
program: spread use liquidity ratio instead of base amount (#374)
* bigz/amm-spread-inventory-pct * wip2 * working rust * amm.ts: add sdk for new inventory spread scale * fix test * fix test 2 * update CHANGELOG.md * incorp feedback add tests * add mirror rust test for ts test * make ts more consistent w/ rust impl --------- Co-authored-by: lil perp <[email protected]>
- Loading branch information
1 parent
86cf411
commit d67c73f
Showing
8 changed files
with
449 additions
and
106 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
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.