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

Implementation of Calculator.get_dx for Curve V2 #43

Open
amountin opened this issue Jun 20, 2023 · 0 comments
Open

Implementation of Calculator.get_dx for Curve V2 #43

amountin opened this issue Jun 20, 2023 · 0 comments

Comments

@amountin
Copy link

The calculator address for the 3pool seems to be the ZERO_ADDRESS both on Arbitrum and Mainnet.

return Calculator(calculator).get_dx(n_coins, balances, amp, fee, rates, decimals, i, j, _amount)

Where can I find the implementation of get_dx for the 3pool https://arbiscan.io/address/0x960ea3e3c7fb317332d990873d354e18d7645590 to compute the amount_in needed for a given amount_out?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant