mirror of
https://github.com/getwax/zk-account-abstraction.git
synced 2026-01-08 20:18:05 -05:00
fix typo in eip: remove aggregator from validateUserOp (#227)
This commit is contained in:
@@ -116,7 +116,7 @@ The core interface required for an account to have is:
|
||||
```solidity
|
||||
interface IAccount {
|
||||
function validateUserOp
|
||||
(UserOperation calldata userOp, bytes32 userOpHash, address aggregator, uint256 missingAccountFunds)
|
||||
(UserOperation calldata userOp, bytes32 userOpHash, uint256 missingAccountFunds)
|
||||
external returns (uint256 validationData);
|
||||
}
|
||||
```
|
||||
@@ -128,10 +128,8 @@ The `userOpHash` is a hash over the userOp (except signature), entryPoint and ch
|
||||
SHOULD return SIG_VALIDATION_FAILED (and not revert) on signature mismatch. Any other error should revert.
|
||||
* MUST pay the entryPoint (caller) at least the "missingAccountFunds" (which might be zero, in case current account's deposit is high enough)
|
||||
* The account MAY pay more than this minimum, to cover future transactions (it can always issue `withdrawTo` to retrieve it)
|
||||
* The `aggregator` SHOULD be ignored for accounts that don't use an aggregator
|
||||
* The return value MUST be packed of `authorizer`, `validUntil` and `validAfter` timestamps.
|
||||
* authorizer - 0 for valid signature, 1 to mark signature failure,
|
||||
* otherwise, an address of an authorizer contract. This ERC defines "signature aggregator" as authorizer.
|
||||
* authorizer - 0 for valid signature, 1 to mark signature failure. Otherwise, an address of an authorizer contract. This ERC defines "signature aggregator" as authorizer.
|
||||
* `validUntil` is 6-byte timestamp value, or zero for "infinite". The UserOp is valid only up to this time.
|
||||
* `validAfter` is 6-byte timestamp. The UserOp is valid only after this time.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user