-
Notifications
You must be signed in to change notification settings - Fork 6
[VEN-2386]: Remove round-up in the conversion rates of Token Converters #71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
d5fb612
refactor: remove round-up in the conversion rates of token converters
Debugger022 21b8473
test: fork tests for single token converter
Debugger022 b3f420d
test: add amount validation test
Debugger022 5486b99
fix: round-up condition suggested by certik
Debugger022 09885c0
fix: lint
Debugger022 b457102
tests: add getAmountIn test
Debugger022 684155a
refactor: add round-up comment in netspec
Debugger022 9590f0a
feat: update converter implementation deployment files
Debugger022 987a287
feat: updating deployment files
Debugger022 a3bd0b8
fix: spelling
Debugger022 ba39ce0
docs: add extra audit reports for private conversions
chechu 20d9df9
fix: _getAmountOut normalisation
Debugger022 1642ed2
test: release funds for all assets
Debugger022 c34f78f
refactor: fork tests
Debugger022 1819985
refactor: tokenInToOutConversion calculation in getAmountIn and getAm…
Debugger022 498441f
fix: round up for _getAmountIn
Debugger022 8c73c48
tests: add fork tests for getUpdatedAmountIn and getUpdatedAmountOut
Debugger022 6c74d7b
fix: amountOutMantissa in _getAmountOut()
Debugger022 8599fb1
test: use some utility functions and the expected env variables
chechu d2a99ef
refactor: remove redundant export statements
Debugger022 a556032
refactor: implement and utilize _divRoundingUp for safer rounding in …
Debugger022 65da556
feat: update converters deployment files for bsctestnet
Debugger022 dced648
feat: updating deployment files
Debugger022 8dc80e9
feat: update converters deployment files for bscmainnet
Debugger022 eed49a2
feat: updating deployment files
Debugger022 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
This file contains hidden or 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 hidden or 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 hidden or 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
72 changes: 36 additions & 36 deletions
72
deployments/bscmainnet/RiskFundConverter_Implementation.json
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
123 changes: 123 additions & 0 deletions
123
deployments/bscmainnet/solcInputs/91b55240df7761b1edcdbbc6fc102117.json
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or 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 hidden or 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
68 changes: 34 additions & 34 deletions
68
deployments/bsctestnet/RiskFundConverter_Implementation.json
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.