docs: Add comment to delegatecall in UniV4 executor

--- don't change below this line ---
ENG-4437 Took 8 minutes
This commit is contained in:
Diana Carvalho
2025-04-21 10:17:17 +01:00
parent 4a61de56b7
commit eb2c17d0ba

View File

@@ -213,6 +213,7 @@ contract UniswapV4Executor is
if (executor == address(0)) {
executor = address(this);
}
// here we expect to call either `swapExactInputSingle` or `swapExactInput`. See `swap` to see how we encode the selector and the calldata
// slither-disable-next-line low-level-calls
(bool success, bytes memory returnData) = executor.delegatecall(data);
if (!success) {