Skip to content
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

BACK-1833: Support for Balancer V3 hooks with stableSurge hook #884

Merged
merged 24 commits into from
Feb 14, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
f932a8a
feat(WIP): Support for Balancer V3 hooks. Using directionalFeeHook ex…
johngrantuk Jan 17, 2025
db8e5a8
feat: WIP Add support for stableSurge hook.
johngrantuk Jan 30, 2025
657e5f5
feat: Add update hooks timer.
johngrantuk Jan 30, 2025
44b0b19
feat: Use hookType to connect pool/hooks.
johngrantuk Jan 30, 2025
42d9315
chore: Bump Balancer maths package (has support for StableSurge hook …
johngrantuk Feb 6, 2025
b20413e
chore: Move test functions to helper so they can be reused.
johngrantuk Feb 6, 2025
f9ad7b4
fix: getTopPoolsApi query should fetch pools with hooks.
johngrantuk Feb 6, 2025
b4c497d
test: Add stableSurge tests.
johngrantuk Feb 6, 2025
b2a32c7
chore: Merge master fix package conflict.
johngrantuk Feb 12, 2025
64ed926
feat: Update to full stableSurge deployment configs.
johngrantuk Feb 13, 2025
70ed24e
Merge branch 'master' into HEAD
aburkut Feb 13, 2025
cfe7aed
add e2e test and fix eslint issues
aburkut Feb 13, 2025
35134b2
4.1.4-bal-v3-hooks.0
aburkut Feb 13, 2025
8d50fc7
add fixes to surge hook and added event tests
aburkut Feb 14, 2025
c38776a
fix requested change
aburkut Feb 14, 2025
81d3361
fix requested change
aburkut Feb 14, 2025
4929ba0
4.1.4-bal-v3-hooks.1
aburkut Feb 14, 2025
6053fb4
solve merge conflicts
aburkut Feb 14, 2025
fa2e740
fix: Return 0 result early if pool with hook and no hook state.
johngrantuk Feb 14, 2025
f9d030e
fix requested change
aburkut Feb 14, 2025
e5a4c6f
4.1.5-bal-v3-hooks.0
aburkut Feb 14, 2025
700e12a
fix: Return 0 result early for stableSurge when hook state is missing.
johngrantuk Feb 14, 2025
4faa5f4
4.1.5-bal-v3-hooks.1
aburkut Feb 14, 2025
e6a058a
4.1.5
aburkut Feb 14, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@paraswap/dex-lib",
"version": "4.1.4",
"version": "4.1.5",
"main": "build/index.js",
"types": "build/index.d.ts",
"repository": "https://github.com/paraswap/paraswap-dex-lib",
Expand Down
8 changes: 4 additions & 4 deletions scripts/run-dex-integration-v3.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@ async function main() {

await balancerV3.initializePricing(blocknumber);

const from = stataUSDC;
const to = stataUSDT;
// const from = daiAave;
// const to = usdcAave;
// const from = stataUSDC;
// const to = stataUSDT;
const from = usdcAave;
const to = daiAave;

const pools = await balancerV3.getPoolIdentifiers(
from,
Expand Down
Loading