-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* change discount values * more changes * get discount in amm: * ifx tests * fix tests * fix * tradeshield fix * use tier structure * update tests * fixing tier keeper pointers (#958) * fixing tier keeper pointers * fixing tier keeper pointers * fixing tier keeper pointers * fix * fix * add discoumt to perpetual * fix tests * review changes * use silver * adding validation for messages and params * merging discount branch * fixing test cases * fixing test cases * reverting back vesting tx cmd * fixing test case * increasing test coverage * adding test cases * Enforce stricter validation on TakeProfitPriceRatios Added checks to ensure MaximumLongTakeProfitPriceRatio is greater than 1 and greater than MinimumLongTakeProfitPriceRatio, while MinimumLongTakeProfitPriceRatio must also be greater than 1. Additionally, imposed that MaximumShortTakeProfitPriceRatio must be less than 1 to maintain consistency. * Add validation checks for parameter Ensure that higher-bound parameters are greater than lower-bound counterparts in stablestake and perpetual modules. Also, add a combined reward portion check in the masterchef module and improve clarity in error messages for the oracle module. --------- Co-authored-by: Amit <amy29981@gmail.com> Co-authored-by: Cosmic Vagabond <121588426+cosmic-vagabond@users.noreply.github.com>
- Loading branch information
1 parent
07bdc9d
commit a31a894
Showing
270 changed files
with
2,451 additions
and
6,062 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
This file was deleted.
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
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.