Make IERC7579Execution payable (#5410)

pull/5417/head
Ernesto García 4 weeks ago committed by GitHub
parent 4c3ef87cf5
commit bf69b60146
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 4
      contracts/interfaces/draft-IERC7579.sol

@ -120,7 +120,7 @@ interface IERC7579Execution {
* MUST ensure adequate authorization control: e.g. onlyEntryPointOrSelf if used with ERC-4337 * 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 * 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. * @dev Executes a transaction on behalf of the account.
@ -135,7 +135,7 @@ interface IERC7579Execution {
function executeFromExecutor( function executeFromExecutor(
bytes32 mode, bytes32 mode,
bytes calldata executionCalldata bytes calldata executionCalldata
) external returns (bytes[] memory returnData); ) external payable returns (bytes[] memory returnData);
} }
/** /**

Loading…
Cancel
Save