From bf69b601468a6a4f78b8c85f9a31c3690d613a71 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ernesto=20Garc=C3=ADa?= <ernestognw@gmail.com>
Date: Mon, 6 Jan 2025 04:20:11 -0600
Subject: [PATCH] Make IERC7579Execution payable (#5410)

---
 contracts/interfaces/draft-IERC7579.sol | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/contracts/interfaces/draft-IERC7579.sol b/contracts/interfaces/draft-IERC7579.sol
index f97e33dc0..94088cf18 100644
--- a/contracts/interfaces/draft-IERC7579.sol
+++ b/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);
 }
 
 /**