Skip to content

Commit

Permalink
Make IERC7579Execution payable (OpenZeppelin#5410)
Browse files Browse the repository at this point in the history
Signed-off-by: Hadrien Croubois <[email protected]>
  • Loading branch information
ernestognw authored and Amxx committed Jan 8, 2025
1 parent 193e707 commit fd981f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contracts/interfaces/draft-IERC7579.sol
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ interface IERC7579Execution {
* MUST ensure adequate authorization control: e.g. onlyEntryPointOrSelf if used with ERC-4337
* If a mode is requested that is not supported by the Account, it MUST revert
*/
function execute(bytes32 mode, bytes calldata executionCalldata) external;
function execute(bytes32 mode, bytes calldata executionCalldata) external payable;

/**
* @dev Executes a transaction on behalf of the account.
Expand All @@ -136,7 +136,7 @@ interface IERC7579Execution {
function executeFromExecutor(
bytes32 mode,
bytes calldata executionCalldata
) external returns (bytes[] memory returnData);
) external payable returns (bytes[] memory returnData);
}

/**
Expand Down

0 comments on commit fd981f6

Please sign in to comment.