-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* docs: update test instruction * feat: add hooks to sor (tests only) * feat: sor to consider pools with hooks * refactor: updates to classes & data * feat: disallow pools with hooks for rout consideration * chore: add lock file * test: updates to deploy-8 * chore: enable sor to consider pools with hooks again * test: update tests * chore: update sdk version * test: only hook test * fix: capitalize to align with Vault requirement * fix: typo * chore: bump version * feat: support for hooks in pools * feat: consider liquidityManagement in route building * chore: remove hook from type * feat: add liquidity management * test: 11th testnet & hook tests * chore: update lockfile * refactor: remove getHookState & typeguard * refactor: update factories * chore: cleanup * test: cleanup * fix: build issues * refactor: undo changes * chore: typing changes * test: update liquidity management * docs: remove comments * chore: typing * refactor: include null hook * test: update tests to reflect api/onchain state at given block * test: undo changes * Update balancer-sor hardcoded numbers to match updated blockNumber * refactor: rename fn * style: remove redundancy * fix: do math with ethers library * fix: process api results based on factory & api * test: update to deploy 12 * test: update tests * test: update tests * add lockfile * chore: add changeset * chore: remove yarn lockfile * docs: update test docs * refactor: renaming hook to hookState * fix: build * fix: add hookState * test: add givenOut test * lockfile * test: test all * fix: access surge threshold from hook dynamic data * test: check difference given hookState is passed * bun install * fix: Stable surge data fix * fix: add hookName to poolState * test: add stable surge test * test: add poolState tests for routing inside vault * fix: build ignore name property access * test: change poolType * fix: add percentage scaling * test: liquidity management handling * fix: 18 decimal scaling * chore: version bump * refactor: better hookType handling * refactor: add hookType to return * test: update due to maths version bump * chore: lockfile * style: format * refactor: rename vars --------- Co-authored-by: Bruno Eidam Guerios <[email protected]> Co-authored-by: franz <[email protected]>
- Loading branch information
1 parent
7126cf3
commit 331cf71
Showing
16 changed files
with
930 additions
and
106 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
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 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.