-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Added function to set liquidity pool fees. Changing the pool fees will collect all fees and bought amount for LPer and credit them to Lpers' account. * Slight improvement * cargo fmt * Fixed some typo Added benchmarking for setting pool fees * Corrected a bug where the funds are accredited to the wrong asset Pool's limit orders are updated with the pool's limit order Updated unit to test this logic * Added a new unit test for Range order Fixed some minor typo * Fixed build * naming and extra comments * updating limit order cache also emit events. * Refactored some code out to reduce duplication * Address some PR comments * Fixed benchmarking * fmt --------- Co-authored-by: Alastair Holmes <holmes.alastair@outlook.com>
- Loading branch information
1 parent
6320a79
commit 390e3d1
Showing
13 changed files
with
749 additions
and
220 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
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.