forked from poolpitako/joint-strategy
-
Notifications
You must be signed in to change notification settings - Fork 7
16slim/implement fixes #34
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
23 commits
Select commit
Hold shift + click to select a range
a7362d7
fix: refactor swapRewardTokens as per @jmonteer comment
16slim 6c7ff3e
fix: removed else case in findSwapTo as it wasn´t adding any value
16slim c85bdd8
fix: gas savings as per @jmonteer comments
16slim e7ae27f
fix: change modifier of setCRVPool to onlyGovernance
16slim 3a40e2a
fix: minor gas savings
16slim 66492ce
fix: convert pool to address
16slim 799f98c
chore: change getReward for collectOwedTokens and burn 0 LP before ha…
16slim 310c7f7
fix: minor gas saving
16slim 7fdfe5c
feat: add revert if CRV index is not found
16slim e410586
fix: comment typo
16slim 4007572
fix: comment typo
16slim 384526e
chore: removed unused line
16slim 4ce2a15
fix: turn harvest and harvestTrigger virtual so any inheriting Joint …
16slim be431e8
fix: change findSwapTo argument to from_token
16slim c2e4356
fix: re-organized the burn + collect functions
16slim 35bbdf2
fix: remove setCRVPool function to avoid address injection
16slim 5291fc6
fix: added force parameter to setTicksManually
16slim 6bb769d
fix: edited the if condition and natspec on setTicksManually
16slim 2ed73bc
fix: re-factor findSwapTo
16slim 34a7e4e
feat: implemented swapTokenForTokenManually
16slim ab78825
chore: minor changes to tests to make them more robust
16slim da7d6d9
feat: new test for the manual operation of the strategy
16slim 4091070
fix: remove modifier and empty implementation from swap manually
16slim 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
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
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.