restore trustedForwarders as an OZ override

This commit is contained in:
hueso
2025-10-24 21:50:21 -03:00
parent 5737ab1623
commit 7a2aec7e71
5 changed files with 58 additions and 7 deletions

View File

@@ -9,7 +9,6 @@ pragma solidity ^0.8.19;
///
import { OwnerSettings, ERC20, SafeTransferLib } from "contracts/core/OwnerSettings.sol";
import { ERC2771Context as ERC2771 } from "@openzeppelin/contracts/metatx/ERC2771Context.sol";
import { BaseUtils } from "contracts/core/BaseUtils.sol";
import { DataTypes as DT } from "contracts/core/DataTypes.sol";
@@ -34,10 +33,8 @@ contract P2PIX is BaseUtils {
address[] memory validSigners,
address _reputation,
ERC20[] memory tokens,
bool[] memory tokenStates,
address trustedForwarder
bool[] memory tokenStates
)
ERC2771(trustedForwarder)
OwnerSettings(
defaultBlocks,
validSigners,