Skip to content

Conversation

@saucepoint
Copy link
Collaborator

@saucepoint saucepoint commented Mar 26, 2025

diff is really bad because i had to restructure the hook to avoid IR

// 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;
Copy link
Collaborator Author

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

@saucepoint saucepoint requested a review from hoytech March 28, 2025 19:12
Copy link
Collaborator Author

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

@hoytech hoytech merged commit 76c1a3e into v4-exploration Mar 31, 2025
0 of 2 checks passed
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

Successfully merging this pull request may close these issues.

2 participants