diff --git a/src/base/Permit2Forwarder.sol b/src/base/Permit2Forwarder.sol index 09b0646c..3ef0735e 100644 --- a/src/base/Permit2Forwarder.sol +++ b/src/base/Permit2Forwarder.sol @@ -10,9 +10,9 @@ import {Permit2ImmutableState} from "./Permit2ImmutableState.sol"; /// @dev This contract does not enforce the spender to be this contract, but that is the intended use case contract Permit2Forwarder is IPermit2Forwarder, Permit2ImmutableState { constructor(IAllowanceTransfer _permit2) Permit2ImmutableState(_permit2) {} + /// @notice allows forwarding a single permit to permit2 /// @dev this function is payable to allow multicall with NATIVE based actions - function permit(address owner, IAllowanceTransfer.PermitSingle calldata permitSingle, bytes calldata signature) external payable diff --git a/src/base/PositionActionsRouter.sol b/src/base/PositionActionsRouter.sol index 0bc32b5c..17159342 100644 --- a/src/base/PositionActionsRouter.sol +++ b/src/base/PositionActionsRouter.sol @@ -10,7 +10,6 @@ import {SafeCast} from "@uniswap/v4-core/src/libraries/SafeCast.sol"; import {Position} from "@uniswap/v4-core/src/libraries/Position.sol"; import {StateLibrary} from "@uniswap/v4-core/src/libraries/StateLibrary.sol"; import {TransientStateLibrary} from "@uniswap/v4-core/src/libraries/TransientStateLibrary.sol"; -import {IAllowanceTransfer} from "permit2/src/interfaces/IAllowanceTransfer.sol"; import {ERC721Permit_v4} from "./ERC721Permit_v4.sol"; import {DeltaResolver} from "./DeltaResolver.sol"; diff --git a/test/mocks/MockPermit2Forwarder.sol b/test/mocks/MockPermit2Forwarder.sol index 720851bd..9c17f8b0 100644 --- a/test/mocks/MockPermit2Forwarder.sol +++ b/test/mocks/MockPermit2Forwarder.sol @@ -4,7 +4,6 @@ pragma solidity ^0.8.20; import {IAllowanceTransfer} from "permit2/src/interfaces/IAllowanceTransfer.sol"; import {Permit2Forwarder} from "../../src/base/Permit2Forwarder.sol"; -import {Permit2ImmutableState} from "../../src/base/Permit2ImmutableState.sol"; contract MockPermit2Forwarder is Permit2Forwarder { constructor(IAllowanceTransfer _permit2) Permit2Forwarder(_permit2) {}