瀏覽代碼

Make IERC7579Execution payable (#5410)

Ernesto García 9 月之前
父節點
當前提交
bf69b60146
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      contracts/interfaces/draft-IERC7579.sol

+ 2 - 2
contracts/interfaces/draft-IERC7579.sol

@@ -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);
 }
 
 /**