Skip to content

Commit

Permalink
Make IERC7579Execution payable (#5410)
Browse files Browse the repository at this point in the history
  • Loading branch information
ernestognw authored Jan 6, 2025
1 parent 4c3ef87 commit bf69b60
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contracts/interfaces/draft-IERC7579.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -135,7 +135,7 @@ interface IERC7579Execution {
function executeFromExecutor(
bytes32 mode,
bytes calldata executionCalldata
) external returns (bytes[] memory returnData);
) external payable returns (bytes[] memory returnData);
}

/**
Expand Down

0 comments on commit bf69b60

Please sign in to comment.