-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fluid Dex: add limits handling (#594)
* feat(fluid-dex): add logic for limits handling * feat(fluid-dex): clean up console logs * refactor(fluid-dex): cleanup * feat(fluid-dex): improve bignumber constants, clone limits * feat(fluid-dex): optimize constants * refactor(fluid-dex): optimize new big ints * feat(fluid-dex): update limits in UpdateBalance --------- Signed-off-by: bergben <[email protected]> Signed-off-by: SunSpirit <[email protected]> Co-authored-by: SunSpirit <[email protected]> Co-authored-by: Phu Ngo <[email protected]>
- Loading branch information
1 parent
1a27253
commit bb663b1
Showing
9 changed files
with
1,378 additions
and
527 deletions.
There are no files selected for viewing
1,149 changes: 746 additions & 403 deletions
1,149
pkg/liquidity-source/fluid/dex-t1/abis/dexReservesResolver.json
Large diffs are not rendered by default.
Oops, something went wrong.
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
Large diffs are not rendered by default.
Oops, something went wrong.
176 changes: 143 additions & 33 deletions
176
pkg/liquidity-source/fluid/dex-t1/pool_simulator_test.go
Large diffs are not rendered by default.
Oops, something went wrong.
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