Skip to content

Commit bf69b60

Browse files
authored
Make IERC7579Execution payable (#5410)
1 parent 4c3ef87 commit bf69b60

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

contracts/interfaces/draft-IERC7579.sol

+2-2
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ interface IERC7579Execution {
120120
* MUST ensure adequate authorization control: e.g. onlyEntryPointOrSelf if used with ERC-4337
121121
* If a mode is requested that is not supported by the Account, it MUST revert
122122
*/
123-
function execute(bytes32 mode, bytes calldata executionCalldata) external;
123+
function execute(bytes32 mode, bytes calldata executionCalldata) external payable;
124124

125125
/**
126126
* @dev Executes a transaction on behalf of the account.
@@ -135,7 +135,7 @@ interface IERC7579Execution {
135135
function executeFromExecutor(
136136
bytes32 mode,
137137
bytes calldata executionCalldata
138-
) external returns (bytes[] memory returnData);
138+
) external payable returns (bytes[] memory returnData);
139139
}
140140

141141
/**

0 commit comments

Comments
 (0)