We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Both v2 and v3 have different calculateProportionalAmounts for amounts in or out.
calculateProportionalAmounts
in
out
Should we consider adapting b-sdk to follow that based on how/where calculateProportionalAmounts is used?
e.g. following that logic, RemoveLiquidityRecovery should round down results
The text was updated successfully, but these errors were encountered:
@brunoguerios - you've handled this now right?
Sorry, something went wrong.
No. I handled cow-amm proportional math. This issue is meant to replicate the approach for v2 and v3 proportional math (i.e. the other helper method)
brunoguerios
No branches or pull requests
Both v2 and v3 have different
calculateProportionalAmounts
for amountsin
orout
.Should we consider adapting b-sdk to follow that based on how/where
calculateProportionalAmounts
is used?e.g. following that logic, RemoveLiquidityRecovery should round down results
The text was updated successfully, but these errors were encountered: