chore: Remove permit2 from executor constructor...

whenever not needed.
This commit is contained in:
TAMARA LIPOWSKI
2025-05-15 08:23:55 -04:00
parent ee687038c5
commit b0b98c5e5d
10 changed files with 62 additions and 96 deletions

View File

@@ -19,12 +19,7 @@ contract UniswapV2Executor is IExecutor {
address private immutable self;
uint256 public immutable feeBps;
constructor(
address _factory,
bytes32 _initCode,
address _permit2,
uint256 _feeBps
) {
constructor(address _factory, bytes32 _initCode, uint256 _feeBps) {
if (_factory == address(0)) {
revert UniswapV2Executor__InvalidFactory();
}