Skip to content

Commit

Permalink
more pretty
Browse files Browse the repository at this point in the history
  • Loading branch information
snreynolds committed Aug 7, 2024
1 parent cf2b4a3 commit 23bd7ba
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion src/base/Permit2Forwarder.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion src/base/PositionActionsRouter.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down
1 change: 0 additions & 1 deletion test/mocks/MockPermit2Forwarder.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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) {}
Expand Down

0 comments on commit 23bd7ba

Please sign in to comment.