-
Notifications
You must be signed in to change notification settings - Fork 9
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
feat: v3 boosted adds/removes #146
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
...token.underlyingToken, | ||
address: token.underlyingToken?.address as Address, | ||
decimals: token.underlyingToken?.decimals as number, | ||
index, //TODO: review that this index is always the expected one |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@gareth This works with the reference boosted pool works but I have to double check this with the SDK team.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unbalanced adds for v3 boosted pools and proportional removes.
Note that
proportional inputs
are disabled until the SDK implements calculateProportionalAmounts for boosted pools.Note that single boosted removes will not be supported by the SDK in this first iteration.
Also includes some preparation code for
nested boosted pools
.Boosted pool to test with:
https://mono-test-v3-git-feat-v3boostedadds-balancer.vercel.app/pools/sepolia/v3/0x6dbdd7a36d900083a5b86a55583d90021e9f33e8
adds-removesBoostedV3.mp4