Complete docstrings L-10 (#5315)
This commit is contained in:
@ -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.
|
||||
|
||||
@ -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,
|
||||
|
||||
@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user