-
Couldn't load subscription status.
- Fork 22
test: ensure swap fees are accounted #55
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
Conversation
| // the debt will be paid by the swapper via the swap router | ||
| // TODO: can we optimize the transfer by pulling from PoolManager directly to Euler? | ||
| poolManager.take(inputCurrency, address(this), amountIn); | ||
| amountInWithoutFee = depositAssets(zeroForOne ? vault0 : vault1, amountIn) * feeMultiplier / 1e18; |
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.
new logic that wasnt part of the initial impl
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.
just a forge fmt, so you can ignore the diff
diff is really bad because i had to restructure the hook to avoid IR