Make IERC7579Execution payable (#5410)

This commit is contained in:
Ernesto García
2025-01-06 04:20:11 -06:00
committed by GitHub
parent 4c3ef87cf5
commit bf69b60146

View File

@ -120,7 +120,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.
@ -135,7 +135,7 @@ interface IERC7579Execution {
function executeFromExecutor(
bytes32 mode,
bytes calldata executionCalldata
) external returns (bytes[] memory returnData);
) external payable returns (bytes[] memory returnData);
}
/**