We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 36732d1 commit 650d4aeCopy full SHA for 650d4ae
src/UniswapHook.sol
@@ -90,7 +90,6 @@ contract UniswapHook is BaseHook {
90
91
// take the input token, from the PoolManager to the Euler vault
92
// the debt will be paid by the swapper via the swap router
93
- // TODO: can we optimize the transfer by pulling from PoolManager directly to Euler?
94
poolManager.take(params.zeroForOne ? key.currency0 : key.currency1, address(this), amountIn);
95
amountInWithoutFee = FundsLib.depositAssets(evc, p, params.zeroForOne ? p.vault0 : p.vault1);
96
0 commit comments