-
Notifications
You must be signed in to change notification settings - Fork 43
fix: update approvals in routerplus [SUP-8878] #643
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
0xTimepunk
merged 46 commits into
v1.5
from
tamara-sup-8878-fix-approvals-in-routerplus
Oct 30, 2024
Merged
Changes from all commits
Commits
Show all changes
46 commits
Select commit
Hold shift + click to select a range
ad7a5f5
feat: add setGlobalSlippage()
TamaraRingas b78b78e
feat: add _hasRole()
TamaraRingas 8ebe706
feat: add setGlobalSlippage()
TamaraRingas f2c4ceb
refactor: decode amountIn in rebalanceSinglePosition()
TamaraRingas 8a23ca2
fix: add slippage check in rebalanceSinglePosition()
TamaraRingas ea9d03e
fix: update approval amount in _transferSuperPositions()
TamaraRingas 369bf3e
fix: move global slippage check to _rebalancePositionsSync()
TamaraRingas 9ead37a
feat: test setGlobalSlippage()
TamaraRingas af6b2f5
refactor: add additional slippage checks to _rebalancePositionsSync()
TamaraRingas b912b3c
test: fix amount in calculation
0xTimepunk c8af790
Merge pull request #644 from superform-xyz/tamara-sup-8878-joao-fix
TamaraRingas b8036d3
refactor: rm global slippage setter in constructor
TamaraRingas 25193dc
refactor: set global slippage in setUp()
TamaraRingas c398275
reorder test_revert_dispatchPayload_invalidCaller() to revert correctly
TamaraRingas 9a4c463
chore: update test_rebalanceSinglePosition_multiDstMultiVaultDepositS…
TamaraRingas 9f02765
chore: update test_rebalanceSinglePosition_multiDstMultiVaultDepositS…
TamaraRingas 9817472
fix: simplify test structure
0xTimepunk bb0867a
fix: rm tests relating to disputeRefund()
TamaraRingas 260f2a1
fix: rm overrides
TamaraRingas e246f49
fix: update liqReqs for multidstmultivault rebalance
TamaraRingas c9f1be4
chore: add test_rebalanceSinglePosition_singleXChainMultiVaultDeposit()
TamaraRingas 7885dfc
chore: add test_rebalanceSinglePosition_singleXChainSingleVaultDeposi…
TamaraRingas 55422db
chore: add _buildRebalanceMultiMultiDstSingleVaultArgs()
TamaraRingas 71b836a
fix: update superformIds in test_rebalanceSinglePosition_multiDstSing…
TamaraRingas 751d71c
fix: update return storage location _buildRebalanceMultiMultiDstSingl…
TamaraRingas 7be0cc8
fix: update _buildRebalanceMultiMultiDstSingleVaultArgs()
TamaraRingas e1f91fc
fix: update _buildRebalanceMultiMultiDstSingleVaultArgs()
TamaraRingas 79fe34d
refactor: split _buildRebalanceMultiMultiDstSingleVaultArgs() into he…
TamaraRingas 4c79081
add _buildRebalanceMultiMultiDstSingleVaultArgs()
TamaraRingas c8a3e8a
fix: update _buildRebalanceMultiMultiDstSingleVaultArgs()
TamaraRingas fa32bf5
fix: update _xChainDeposit() calls in test_rebalanceSinglePosition_mu…
TamaraRingas a775456
fix: update params in _buildSingleVaultSFData()
TamaraRingas ca0e563
update REBALANCE_TO chainId in test_rebalanceSinglePosition_multiDstS…
TamaraRingas 8e2c0b7
fix: update REBALANCE_TO chainId in test_rebalanceSinglePosition_mult…
TamaraRingas 2d7208a
fix: update fork in test_rebalanceSinglePosition_multiDstSingleVaultD…
TamaraRingas 9e60021
fix: rm unused helper functions
TamaraRingas 53d46c0
fux: rm _buildRebalanceMultiMultiDstSingleVaultArgs()
TamaraRingas b613612
fix: update test_rebalanceMultiPositions_multiDstSingleVaultDepositSe…
TamaraRingas 61a12ab
import MultiDstSingleVaultStateReq
TamaraRingas 4fcfde5
test: fix rebalanceMultiPositions_multiDstSingleVaultDepositSelector
0xTimepunk bdb146f
test: fix test_rebalanceMultiPositions_multiDstMultiVaultDepositSelector
0xTimepunk 572bc8b
fix: remaining issues
0xTimepunk 1f74c88
Merge remote-tracking branch 'origin/v1.5' into tamara-sup-8878-fix-a…
0xTimepunk 0d7ea69
fix: internalize approvals fix and add to deposit4626
0xTimepunk 86e76c5
fix: slippage check in wrong order
0xTimepunk ccc551a
fix: balanceDiff
0xTimepunk 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
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
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.