From a75dfd02abb2fde70805f5bff8388f3f8bd164a6 Mon Sep 17 00:00:00 2001 From: TAMARA LIPOWSKI Date: Sun, 16 Mar 2025 00:18:37 -0400 Subject: [PATCH] docs: Fix swap without permit2 doc - We changed this to use a transferFrom --- foundry/src/TychoRouter.sol | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/foundry/src/TychoRouter.sol b/foundry/src/TychoRouter.sol index 4b01e5b..47d6d14 100644 --- a/foundry/src/TychoRouter.sol +++ b/foundry/src/TychoRouter.sol @@ -111,8 +111,7 @@ contract TychoRouter is AccessControl, Dispatcher, Pausable, ReentrancyGuard { /** * @notice Executes a swap operation based on a predefined swap graph, supporting internal token amount splits. * This function enables multi-step swaps, optional ETH wrapping/unwrapping, and validates the output amount - * against a user-specified minimum. This function expects the input tokens to already be in the router at - * the time of calling. + * against a user-specified minimum. This function performs a transferFrom to retrieve tokens from the caller. * * @dev * - If `wrapEth` is true, the contract wraps the provided native ETH into WETH and uses it as the sell token.