-
Notifications
You must be signed in to change notification settings - Fork 139
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
Kassandra Managed pool #427
Kassandra Managed pool #427
Conversation
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.
Thanks for the PR! It looks pretty good 👍
I did add a few minor comments, but should be quick/straightforward to fix them.
Can you also please update the base branch to managed-kassandra
? It will be easier to run some checks before merging to develop
Thanks!
src/pools/index.ts
Outdated
else if (pool.poolType === 'Managed') | ||
newPool = KassandraManagedPool.fromPool(pool); |
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.
This is the only part that I don't have a clear answer at the moment.
In case anyone else creates a new Managed Pool with different config from yours, the SOR might break.
Are you guys planning on releasing any subsequent Managed Pool?
If yes, is there anything in common with the current one that we can use as a second identifier? Maybe the owner
address?
If not, we could even use the poolId
as an intermediate solution until we need to develop a more generalized approach.
1888e7a
into
balancer:managed-kassandra
This PR add Kassandra Managed Pool for swap token to token.
For math we use WeightedMath.
If you need further testing or any changes, just comment. thanks.