feat: Smother slither and add a reentrancy guard in swap()

--- don't change below this line ---
ENG-4041 Took 34 minutes
This commit is contained in:
Diana Carvalho
2025-01-28 13:03:04 +00:00
parent c2347ac79e
commit dfa7033d2e
3 changed files with 12 additions and 7 deletions

View File

@@ -10,6 +10,7 @@ error UniswapV2Executor__InvalidDataLength();
contract UniswapV2Executor is IExecutor {
using SafeERC20 for IERC20;
// slither-disable-next-line locked-ether
function swap(uint256 givenAmount, bytes calldata data)
external
payable