Skip to content

Commit 0df841d

Browse files
authored
Complete docstrings L-10 (#5315)
1 parent c3cb7a0 commit 0df841d

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

contracts/account/utils/draft-ERC7579Utils.sol

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,10 @@ library ERC7579Utils {
3636
/// @dev Execution type that does not revert on failure.
3737
ExecType internal constant EXECTYPE_TRY = ExecType.wrap(0x01);
3838

39-
/// @dev Emits when an {EXECTYPE_TRY} execution fails.
39+
/**
40+
* @dev Emits when an {EXECTYPE_TRY} execution fails.
41+
* @param batchExecutionIndex The index of the failed transaction in the execution batch.
42+
*/
4043
event ERC7579TryExecuteFail(uint256 batchExecutionIndex, bytes result);
4144

4245
/// @dev The provided {CallType} is not supported.

contracts/interfaces/draft-IERC4337.sol

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,11 +143,13 @@ interface IEntryPoint is IEntryPointNonces, IEntryPointStake {
143143

144144
/**
145145
* @dev Executes a batch of user operations.
146+
* @param beneficiary Address to which gas is refunded up completing the execution.
146147
*/
147148
function handleOps(PackedUserOperation[] calldata ops, address payable beneficiary) external;
148149

149150
/**
150151
* @dev Executes a batch of aggregated user operations per aggregator.
152+
* @param beneficiary Address to which gas is refunded up completing the execution.
151153
*/
152154
function handleAggregatedOps(
153155
UserOpsPerAggregator[] calldata opsPerAggregator,

contracts/interfaces/draft-IERC7579.sol

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ interface IERC7579Validator is IERC7579Module {
5050
*
5151
* MUST validate that the signature is a valid signature of the userOpHash
5252
* SHOULD return ERC-4337's SIG_VALIDATION_FAILED (and not revert) on signature mismatch
53+
* See ERC-4337 for additional information on the return value
5354
*/
5455
function validateUserOp(PackedUserOperation calldata userOp, bytes32 userOpHash) external returns (uint256);
5556

0 commit comments

Comments
 (0)