-
Notifications
You must be signed in to change notification settings - Fork 3
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
What does the "fromAmountOffset" stand for? #4
Comments
It is the offset of the |
Thanks for replying, |
I'm not sure exactly what you're trying to do, you might find it better to write your own smart contract that fits whatever use case you have in mind (you need to pay back the flashloan somehow). This is specifically for swapping aTokens for other aTokens, and the flashloan lets you swap when you don't have enough collateral, paying off the loan using the old collateral. |
What does the "fromAmountOffset" stand for? When I look at the augustusFromAmountOffsetFromCalldata from ../src/augustus, I saw the values. But what does all that mean? and why there are values just for "swapOnUniswap", "multiSwap" and others. I mean don't "simpleSwap" need that?
Thanks.
The text was updated successfully, but these errors were encountered: