-
Notifications
You must be signed in to change notification settings - Fork 17
Feat/enable hooks sor #896
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
83 commits
Select commit
Hold shift + click to select a range
a5d46aa
docs: update test instruction
mkflow27 3ea3bd0
Merge branch 'v3-canary' into feat/enable-hooks-sor
mkflow27 6955e5e
Merge branch 'v3-canary' into feat/enable-hooks-sor
mkflow27 be1cf51
feat: add hooks to sor (tests only)
mkflow27 9111dfe
Merge branch 'v3-canary' into feat/enable-hooks-sor
mkflow27 3258ae9
Merge branch 'v3-canary' into feat/enable-hooks-sor
mkflow27 9eb1a3a
feat: sor to consider pools with hooks
mkflow27 4b2b30a
refactor: updates to classes & data
mkflow27 1ef97b4
feat: disallow pools with hooks for rout consideration
mkflow27 017a008
chore: add lock file
mkflow27 7cb5ba2
test: updates to deploy-8
mkflow27 36b2d07
Merge branch 'v3-canary' into feat/enable-hooks-sor
mkflow27 169519b
chore: enable sor to consider pools with hooks again
mkflow27 9984542
test: update tests
mkflow27 258fca9
chore: update sdk version
mkflow27 842ad9f
Merge branch 'v3-canary' into feat/enable-hooks-sor
mkflow27 fd86b37
test: only hook test
mkflow27 b533604
Merge branch 'v3-canary' into feat/enable-hooks-sor
mkflow27 393023e
Merge branch 'feat/enable-hooks-sor' of https://github.com/balancer/b…
mkflow27 0e60a9c
fix: capitalize to align with Vault requirement
mkflow27 9de4330
fix: typo
mkflow27 7584fa1
chore: bump version
mkflow27 2481e65
feat: support for hooks in pools
mkflow27 6f6ea7b
feat: consider liquidityManagement in route building
mkflow27 4d7971f
chore: remove hook from type
mkflow27 b18a52e
feat: add liquidity management
mkflow27 890e837
test: 11th testnet & hook tests
mkflow27 d7189b5
chore: update lockfile
mkflow27 b852a07
Merge branch 'v3-canary' into feat/enable-hooks-sor
mkflow27 9655d66
refactor: remove getHookState & typeguard
mkflow27 36027fd
refactor: update factories
mkflow27 3f224d5
chore: cleanup
mkflow27 e29bf4d
test: cleanup
mkflow27 cb53e9c
fix: build issues
mkflow27 da0e9d0
refactor: undo changes
mkflow27 c74f7d4
chore: typing changes
mkflow27 fc32ce1
test: update liquidity management
mkflow27 d6b35f0
docs: remove comments
mkflow27 e92195a
chore: typing
mkflow27 acaf6d3
refactor: include null hook
mkflow27 1c53b58
test: update tests to reflect api/onchain state at given block
mkflow27 bd6e2b2
test: undo changes
mkflow27 524ec30
Update balancer-sor hardcoded numbers to match updated blockNumber
brunoguerios ff90a05
refactor: rename fn
mkflow27 a689a51
style: remove redundancy
mkflow27 f000336
fix: do math with ethers library
mkflow27 563313e
fix: process api results based on factory & api
mkflow27 897ff9e
test: update to deploy 12
mkflow27 8de4a1d
Merge branch 'v3-canary' into feat/enable-hooks-sor
mkflow27 c1645b1
Merge branch 'v3-canary' into feat/enable-hooks-sor
mkflow27 f390d65
test: update tests
mkflow27 fdc9ea0
test: update tests
mkflow27 36262c0
add lockfile
mkflow27 9ba2908
chore: add changeset
mkflow27 bc9b8aa
chore: remove yarn lockfile
mkflow27 935b43e
docs: update test docs
mkflow27 6ff7577
refactor: renaming hook to hookState
mkflow27 e7ed805
fix: build
mkflow27 12d461a
fix: add hookState
mkflow27 23f1834
test: add givenOut test
mkflow27 43dd7dd
Merge branch 'v3-canary' into feat/enable-hooks-sor
mkflow27 3c7d451
lockfile
mkflow27 b298aeb
test: test all
mkflow27 61a15fa
fix: access surge threshold from hook dynamic data
mkflow27 3a2c9e6
test: check difference given hookState is passed
mkflow27 05ce65f
bun install
mkflow27 229f42e
fix: Stable surge data fix
mkflow27 1fd68f3
fix: add hookName to poolState
mkflow27 08ff575
test: add stable surge test
mkflow27 904fe50
test: add poolState tests for routing inside vault
mkflow27 85bf5dd
fix: build ignore name property access
mkflow27 6a1fe48
test: change poolType
mkflow27 1535368
fix: add percentage scaling
mkflow27 3916eb6
test: liquidity management handling
mkflow27 3e01976
fix: 18 decimal scaling
mkflow27 17a507c
chore: version bump
mkflow27 f2eba4c
refactor: better hookType handling
mkflow27 5de8b2d
refactor: add hookType to return
mkflow27 39fbafa
test: update due to maths version bump
mkflow27 cdba3a8
chore: lockfile
mkflow27 d443c40
style: format
mkflow27 f3572b9
refactor: rename vars
mkflow27 f73eaa9
Merge branch 'v3-canary' into feat/enable-hooks-sor
franzns 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'backend': minor | ||
--- | ||
|
||
This pr adds hooks to the SOR (DirectionalFee, StableSurge, ExitFee) |
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
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.