Complete docstrings L-10 (#5315)

This commit is contained in:
Arr00
2024-11-25 15:31:30 -05:00
committed by GitHub
parent c3cb7a0295
commit 0df841d2d7
3 changed files with 7 additions and 1 deletions

View File

@ -36,7 +36,10 @@ library ERC7579Utils {
/// @dev Execution type that does not revert on failure.
ExecType internal constant EXECTYPE_TRY = ExecType.wrap(0x01);
/// @dev Emits when an {EXECTYPE_TRY} execution fails.
/**
* @dev Emits when an {EXECTYPE_TRY} execution fails.
* @param batchExecutionIndex The index of the failed transaction in the execution batch.
*/
event ERC7579TryExecuteFail(uint256 batchExecutionIndex, bytes result);
/// @dev The provided {CallType} is not supported.

View File

@ -143,11 +143,13 @@ interface IEntryPoint is IEntryPointNonces, IEntryPointStake {
/**
* @dev Executes a batch of user operations.
* @param beneficiary Address to which gas is refunded up completing the execution.
*/
function handleOps(PackedUserOperation[] calldata ops, address payable beneficiary) external;
/**
* @dev Executes a batch of aggregated user operations per aggregator.
* @param beneficiary Address to which gas is refunded up completing the execution.
*/
function handleAggregatedOps(
UserOpsPerAggregator[] calldata opsPerAggregator,

View File

@ -50,6 +50,7 @@ interface IERC7579Validator is IERC7579Module {
*
* MUST validate that the signature is a valid signature of the userOpHash
* SHOULD return ERC-4337's SIG_VALIDATION_FAILED (and not revert) on signature mismatch
* See ERC-4337 for additional information on the return value
*/
function validateUserOp(PackedUserOperation calldata userOp, bytes32 userOpHash) external returns (uint256);