Skip to content

Commit fd981f6

Browse files
ernestognwAmxx
authored andcommitted
Make IERC7579Execution payable (OpenZeppelin#5410)
Signed-off-by: Hadrien Croubois <hadrien.croubois@gmail.com>
1 parent 193e707 commit fd981f6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

contracts/interfaces/draft-IERC7579.sol

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

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

142142
/**

0 commit comments

Comments
 (0)