@polyester/sdk 0.25.1 → 0.26.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +34 -0
- package/dist/index.d.ts +3 -2
- package/dist/index.js +2 -2
- package/dist/server-client.d.ts +12 -1
- package/dist/server-client.d.ts.map +1 -1
- package/dist/server-client.js +8 -3
- package/dist/server-client.js.map +1 -1
- package/dist/server-session.d.ts +3 -2
- package/dist/server-session.js +2 -1
- package/dist/services/auth/account-signer-auth.d.ts.map +1 -1
- package/dist/services/auth/account-signer-auth.js +78 -44
- package/dist/services/auth/account-signer-auth.js.map +1 -1
- package/dist/services/auth/cookie-constants.d.ts +14 -1
- package/dist/services/auth/cookie-constants.d.ts.map +1 -1
- package/dist/services/auth/cookie-constants.js +13 -1
- package/dist/services/auth/cookie-constants.js.map +1 -1
- package/dist/services/auth/session.d.ts +10 -2
- package/dist/services/auth/session.d.ts.map +1 -1
- package/dist/services/auth/session.js +9 -11
- package/dist/services/auth/session.js.map +1 -1
- package/dist/services/auth/token-storage.js +5 -5
- package/dist/services/auth/token-storage.js.map +1 -1
- package/dist/services/candles/candles.schemas.d.ts +10 -10
- package/dist/services/heatmap/heatmap.schemas.d.ts +13 -13
- package/dist/services/market-overview/market-overview.schemas.d.ts +3 -3
- package/dist/services/orderbook/orderbook.schemas.d.ts +1 -1
- package/dist/services/orders/orders-output.schemas.d.ts +6 -6
- package/dist/services/subaccounts/subaccounts.schemas.d.ts +5 -5
- package/dist/services/trades/trades.schemas.d.ts +1 -1
- package/dist/services/triggers/trigger-input.schemas.d.ts +2 -2
- package/dist/services/triggers/triggers-output.schemas.d.ts +18 -18
- package/dist/smart-account/index.d.ts +2 -2
- package/dist/smart-account/index.js +2 -2
- package/dist/smart-account/smart-account.d.ts +3095 -7
- package/dist/smart-account/smart-account.d.ts.map +1 -1
- package/dist/smart-account/smart-account.js +169 -45
- package/dist/smart-account/smart-account.js.map +1 -1
- package/package.json +1 -1
|
@@ -3,7 +3,7 @@ import { Address, LocalAccount, PublicClient } from "viem";
|
|
|
3
3
|
import { toSafeSmartAccount } from "permissionless/accounts";
|
|
4
4
|
//#region src/smart-account/smart-account.d.ts
|
|
5
5
|
type SafeSmartAccountInstance = Awaited<ReturnType<typeof toSafeSmartAccount>>;
|
|
6
|
-
type PolyesterSmartAccountClient = ReturnType<typeof
|
|
6
|
+
type PolyesterSmartAccountClient = ReturnType<typeof buildPolyesterSmartAccountClient>;
|
|
7
7
|
interface CreateSmartAccountParams {
|
|
8
8
|
environment: PolyesterEnvironment;
|
|
9
9
|
owner: LocalAccount;
|
|
@@ -21,13 +21,15 @@ declare function predictPolyesterSmartAccountAddress({ environment, ownerAddress
|
|
|
21
21
|
*/
|
|
22
22
|
declare function createPolyesterSmartAccount({ environment, owner, saltNonce, publicClient }: CreateSmartAccountParams): Promise<SafeSmartAccountInstance>;
|
|
23
23
|
interface PolyesterSmartAccountClientOptions {
|
|
24
|
-
/** How long a fetched gas price is reused, in milliseconds. Defaults to
|
|
24
|
+
/** How long a fetched gas price is reused, in milliseconds. Defaults to 60s. */
|
|
25
25
|
gasPriceCacheTtlMs?: number;
|
|
26
|
-
/** How often to poll for UserOperation
|
|
26
|
+
/** How often to poll for UserOperation inclusion, in milliseconds. Defaults to 250ms. */
|
|
27
27
|
pollingIntervalMs?: number;
|
|
28
28
|
}
|
|
29
29
|
/**
|
|
30
|
-
* Creates a viem client bound to a Polyester smart account.
|
|
30
|
+
* Creates a viem client bound to a Polyester smart account. Memoized per
|
|
31
|
+
* (account, environment, options): repeat calls return the same client, so
|
|
32
|
+
* the gas price cache and warmed connections survive across submissions.
|
|
31
33
|
*/
|
|
32
34
|
declare function createPolyesterSmartAccountClient(account: SafeSmartAccountInstance, params: {
|
|
33
35
|
environment: PolyesterEnvironment;
|
|
@@ -3094,20 +3096,3106 @@ declare function createPolyesterSmartAccountClient(account: SafeSmartAccountInst
|
|
|
3094
3096
|
isDeployed: () => Promise<boolean>;
|
|
3095
3097
|
type: "smart";
|
|
3096
3098
|
}), undefined, undefined>;
|
|
3099
|
+
declare function buildPolyesterSmartAccountClient(account: SafeSmartAccountInstance, environment: PolyesterEnvironment, options: PolyesterSmartAccountClientOptions | undefined): import("permissionless").SmartAccountClient<import("viem").HttpTransport<undefined, false>, import("viem").Chain, (object & {
|
|
3100
|
+
client: import("viem").Client<import("viem").Transport, import("viem").Chain | undefined, {
|
|
3101
|
+
address: Address;
|
|
3102
|
+
nonceManager?: import("viem").NonceManager | undefined;
|
|
3103
|
+
sign?: ((parameters: {
|
|
3104
|
+
hash: import("viem").Hash;
|
|
3105
|
+
}) => Promise<import("viem").Hex>) | undefined | undefined;
|
|
3106
|
+
signAuthorization?: ((parameters: import("viem").AuthorizationRequest) => Promise<import("viem/accounts").SignAuthorizationReturnType>) | undefined | undefined;
|
|
3107
|
+
signMessage: ({ message }: {
|
|
3108
|
+
message: import("viem").SignableMessage;
|
|
3109
|
+
}) => Promise<import("viem").Hex>;
|
|
3110
|
+
signTransaction: <serializer extends import("viem").SerializeTransactionFn<import("viem").TransactionSerializable> = import("viem").SerializeTransactionFn<import("viem").TransactionSerializable>, transaction extends Parameters<serializer>[0] = Parameters<serializer>[0]>(transaction: transaction, options?: {
|
|
3111
|
+
serializer?: serializer | undefined;
|
|
3112
|
+
} | undefined) => Promise<import("viem").Hex>;
|
|
3113
|
+
signTypedData: <const typedData extends import("viem").TypedData | Record<string, unknown>, primaryType extends keyof typedData | "EIP712Domain" = keyof typedData>(parameters: import("viem").TypedDataDefinition<typedData, primaryType>) => Promise<import("viem").Hex>;
|
|
3114
|
+
publicKey: import("viem").Hex;
|
|
3115
|
+
source: string;
|
|
3116
|
+
type: "local";
|
|
3117
|
+
} | import("viem").JsonRpcAccount | undefined>;
|
|
3118
|
+
entryPoint: {
|
|
3119
|
+
abi: readonly [{
|
|
3120
|
+
readonly inputs: readonly [{
|
|
3121
|
+
readonly name: "preOpGas";
|
|
3122
|
+
readonly type: "uint256";
|
|
3123
|
+
}, {
|
|
3124
|
+
readonly name: "paid";
|
|
3125
|
+
readonly type: "uint256";
|
|
3126
|
+
}, {
|
|
3127
|
+
readonly name: "validAfter";
|
|
3128
|
+
readonly type: "uint48";
|
|
3129
|
+
}, {
|
|
3130
|
+
readonly name: "validUntil";
|
|
3131
|
+
readonly type: "uint48";
|
|
3132
|
+
}, {
|
|
3133
|
+
readonly name: "targetSuccess";
|
|
3134
|
+
readonly type: "bool";
|
|
3135
|
+
}, {
|
|
3136
|
+
readonly name: "targetResult";
|
|
3137
|
+
readonly type: "bytes";
|
|
3138
|
+
}];
|
|
3139
|
+
readonly name: "ExecutionResult";
|
|
3140
|
+
readonly type: "error";
|
|
3141
|
+
}, {
|
|
3142
|
+
readonly inputs: readonly [{
|
|
3143
|
+
readonly name: "opIndex";
|
|
3144
|
+
readonly type: "uint256";
|
|
3145
|
+
}, {
|
|
3146
|
+
readonly name: "reason";
|
|
3147
|
+
readonly type: "string";
|
|
3148
|
+
}];
|
|
3149
|
+
readonly name: "FailedOp";
|
|
3150
|
+
readonly type: "error";
|
|
3151
|
+
}, {
|
|
3152
|
+
readonly inputs: readonly [{
|
|
3153
|
+
readonly name: "sender";
|
|
3154
|
+
readonly type: "address";
|
|
3155
|
+
}];
|
|
3156
|
+
readonly name: "SenderAddressResult";
|
|
3157
|
+
readonly type: "error";
|
|
3158
|
+
}, {
|
|
3159
|
+
readonly inputs: readonly [{
|
|
3160
|
+
readonly name: "aggregator";
|
|
3161
|
+
readonly type: "address";
|
|
3162
|
+
}];
|
|
3163
|
+
readonly name: "SignatureValidationFailed";
|
|
3164
|
+
readonly type: "error";
|
|
3165
|
+
}, {
|
|
3166
|
+
readonly inputs: readonly [{
|
|
3167
|
+
readonly components: readonly [{
|
|
3168
|
+
readonly name: "preOpGas";
|
|
3169
|
+
readonly type: "uint256";
|
|
3170
|
+
}, {
|
|
3171
|
+
readonly name: "prefund";
|
|
3172
|
+
readonly type: "uint256";
|
|
3173
|
+
}, {
|
|
3174
|
+
readonly name: "sigFailed";
|
|
3175
|
+
readonly type: "bool";
|
|
3176
|
+
}, {
|
|
3177
|
+
readonly name: "validAfter";
|
|
3178
|
+
readonly type: "uint48";
|
|
3179
|
+
}, {
|
|
3180
|
+
readonly name: "validUntil";
|
|
3181
|
+
readonly type: "uint48";
|
|
3182
|
+
}, {
|
|
3183
|
+
readonly name: "paymasterContext";
|
|
3184
|
+
readonly type: "bytes";
|
|
3185
|
+
}];
|
|
3186
|
+
readonly name: "returnInfo";
|
|
3187
|
+
readonly type: "tuple";
|
|
3188
|
+
}, {
|
|
3189
|
+
readonly components: readonly [{
|
|
3190
|
+
readonly name: "stake";
|
|
3191
|
+
readonly type: "uint256";
|
|
3192
|
+
}, {
|
|
3193
|
+
readonly name: "unstakeDelaySec";
|
|
3194
|
+
readonly type: "uint256";
|
|
3195
|
+
}];
|
|
3196
|
+
readonly name: "senderInfo";
|
|
3197
|
+
readonly type: "tuple";
|
|
3198
|
+
}, {
|
|
3199
|
+
readonly components: readonly [{
|
|
3200
|
+
readonly name: "stake";
|
|
3201
|
+
readonly type: "uint256";
|
|
3202
|
+
}, {
|
|
3203
|
+
readonly name: "unstakeDelaySec";
|
|
3204
|
+
readonly type: "uint256";
|
|
3205
|
+
}];
|
|
3206
|
+
readonly name: "factoryInfo";
|
|
3207
|
+
readonly type: "tuple";
|
|
3208
|
+
}, {
|
|
3209
|
+
readonly components: readonly [{
|
|
3210
|
+
readonly name: "stake";
|
|
3211
|
+
readonly type: "uint256";
|
|
3212
|
+
}, {
|
|
3213
|
+
readonly name: "unstakeDelaySec";
|
|
3214
|
+
readonly type: "uint256";
|
|
3215
|
+
}];
|
|
3216
|
+
readonly name: "paymasterInfo";
|
|
3217
|
+
readonly type: "tuple";
|
|
3218
|
+
}];
|
|
3219
|
+
readonly name: "ValidationResult";
|
|
3220
|
+
readonly type: "error";
|
|
3221
|
+
}, {
|
|
3222
|
+
readonly inputs: readonly [{
|
|
3223
|
+
readonly components: readonly [{
|
|
3224
|
+
readonly name: "preOpGas";
|
|
3225
|
+
readonly type: "uint256";
|
|
3226
|
+
}, {
|
|
3227
|
+
readonly name: "prefund";
|
|
3228
|
+
readonly type: "uint256";
|
|
3229
|
+
}, {
|
|
3230
|
+
readonly name: "sigFailed";
|
|
3231
|
+
readonly type: "bool";
|
|
3232
|
+
}, {
|
|
3233
|
+
readonly name: "validAfter";
|
|
3234
|
+
readonly type: "uint48";
|
|
3235
|
+
}, {
|
|
3236
|
+
readonly name: "validUntil";
|
|
3237
|
+
readonly type: "uint48";
|
|
3238
|
+
}, {
|
|
3239
|
+
readonly name: "paymasterContext";
|
|
3240
|
+
readonly type: "bytes";
|
|
3241
|
+
}];
|
|
3242
|
+
readonly name: "returnInfo";
|
|
3243
|
+
readonly type: "tuple";
|
|
3244
|
+
}, {
|
|
3245
|
+
readonly components: readonly [{
|
|
3246
|
+
readonly name: "stake";
|
|
3247
|
+
readonly type: "uint256";
|
|
3248
|
+
}, {
|
|
3249
|
+
readonly name: "unstakeDelaySec";
|
|
3250
|
+
readonly type: "uint256";
|
|
3251
|
+
}];
|
|
3252
|
+
readonly name: "senderInfo";
|
|
3253
|
+
readonly type: "tuple";
|
|
3254
|
+
}, {
|
|
3255
|
+
readonly components: readonly [{
|
|
3256
|
+
readonly name: "stake";
|
|
3257
|
+
readonly type: "uint256";
|
|
3258
|
+
}, {
|
|
3259
|
+
readonly name: "unstakeDelaySec";
|
|
3260
|
+
readonly type: "uint256";
|
|
3261
|
+
}];
|
|
3262
|
+
readonly name: "factoryInfo";
|
|
3263
|
+
readonly type: "tuple";
|
|
3264
|
+
}, {
|
|
3265
|
+
readonly components: readonly [{
|
|
3266
|
+
readonly name: "stake";
|
|
3267
|
+
readonly type: "uint256";
|
|
3268
|
+
}, {
|
|
3269
|
+
readonly name: "unstakeDelaySec";
|
|
3270
|
+
readonly type: "uint256";
|
|
3271
|
+
}];
|
|
3272
|
+
readonly name: "paymasterInfo";
|
|
3273
|
+
readonly type: "tuple";
|
|
3274
|
+
}, {
|
|
3275
|
+
readonly components: readonly [{
|
|
3276
|
+
readonly name: "aggregator";
|
|
3277
|
+
readonly type: "address";
|
|
3278
|
+
}, {
|
|
3279
|
+
readonly components: readonly [{
|
|
3280
|
+
readonly name: "stake";
|
|
3281
|
+
readonly type: "uint256";
|
|
3282
|
+
}, {
|
|
3283
|
+
readonly name: "unstakeDelaySec";
|
|
3284
|
+
readonly type: "uint256";
|
|
3285
|
+
}];
|
|
3286
|
+
readonly name: "stakeInfo";
|
|
3287
|
+
readonly type: "tuple";
|
|
3288
|
+
}];
|
|
3289
|
+
readonly name: "aggregatorInfo";
|
|
3290
|
+
readonly type: "tuple";
|
|
3291
|
+
}];
|
|
3292
|
+
readonly name: "ValidationResultWithAggregation";
|
|
3293
|
+
readonly type: "error";
|
|
3294
|
+
}, {
|
|
3295
|
+
readonly anonymous: false;
|
|
3296
|
+
readonly inputs: readonly [{
|
|
3297
|
+
readonly indexed: true;
|
|
3298
|
+
readonly name: "userOpHash";
|
|
3299
|
+
readonly type: "bytes32";
|
|
3300
|
+
}, {
|
|
3301
|
+
readonly indexed: true;
|
|
3302
|
+
readonly name: "sender";
|
|
3303
|
+
readonly type: "address";
|
|
3304
|
+
}, {
|
|
3305
|
+
readonly indexed: false;
|
|
3306
|
+
readonly name: "factory";
|
|
3307
|
+
readonly type: "address";
|
|
3308
|
+
}, {
|
|
3309
|
+
readonly indexed: false;
|
|
3310
|
+
readonly name: "paymaster";
|
|
3311
|
+
readonly type: "address";
|
|
3312
|
+
}];
|
|
3313
|
+
readonly name: "AccountDeployed";
|
|
3314
|
+
readonly type: "event";
|
|
3315
|
+
}, {
|
|
3316
|
+
readonly anonymous: false;
|
|
3317
|
+
readonly inputs: readonly [];
|
|
3318
|
+
readonly name: "BeforeExecution";
|
|
3319
|
+
readonly type: "event";
|
|
3320
|
+
}, {
|
|
3321
|
+
readonly anonymous: false;
|
|
3322
|
+
readonly inputs: readonly [{
|
|
3323
|
+
readonly indexed: true;
|
|
3324
|
+
readonly name: "account";
|
|
3325
|
+
readonly type: "address";
|
|
3326
|
+
}, {
|
|
3327
|
+
readonly indexed: false;
|
|
3328
|
+
readonly name: "totalDeposit";
|
|
3329
|
+
readonly type: "uint256";
|
|
3330
|
+
}];
|
|
3331
|
+
readonly name: "Deposited";
|
|
3332
|
+
readonly type: "event";
|
|
3333
|
+
}, {
|
|
3334
|
+
readonly anonymous: false;
|
|
3335
|
+
readonly inputs: readonly [{
|
|
3336
|
+
readonly indexed: true;
|
|
3337
|
+
readonly name: "aggregator";
|
|
3338
|
+
readonly type: "address";
|
|
3339
|
+
}];
|
|
3340
|
+
readonly name: "SignatureAggregatorChanged";
|
|
3341
|
+
readonly type: "event";
|
|
3342
|
+
}, {
|
|
3343
|
+
readonly anonymous: false;
|
|
3344
|
+
readonly inputs: readonly [{
|
|
3345
|
+
readonly indexed: true;
|
|
3346
|
+
readonly name: "account";
|
|
3347
|
+
readonly type: "address";
|
|
3348
|
+
}, {
|
|
3349
|
+
readonly indexed: false;
|
|
3350
|
+
readonly name: "totalStaked";
|
|
3351
|
+
readonly type: "uint256";
|
|
3352
|
+
}, {
|
|
3353
|
+
readonly indexed: false;
|
|
3354
|
+
readonly name: "unstakeDelaySec";
|
|
3355
|
+
readonly type: "uint256";
|
|
3356
|
+
}];
|
|
3357
|
+
readonly name: "StakeLocked";
|
|
3358
|
+
readonly type: "event";
|
|
3359
|
+
}, {
|
|
3360
|
+
readonly anonymous: false;
|
|
3361
|
+
readonly inputs: readonly [{
|
|
3362
|
+
readonly indexed: true;
|
|
3363
|
+
readonly name: "account";
|
|
3364
|
+
readonly type: "address";
|
|
3365
|
+
}, {
|
|
3366
|
+
readonly indexed: false;
|
|
3367
|
+
readonly name: "withdrawTime";
|
|
3368
|
+
readonly type: "uint256";
|
|
3369
|
+
}];
|
|
3370
|
+
readonly name: "StakeUnlocked";
|
|
3371
|
+
readonly type: "event";
|
|
3372
|
+
}, {
|
|
3373
|
+
readonly anonymous: false;
|
|
3374
|
+
readonly inputs: readonly [{
|
|
3375
|
+
readonly indexed: true;
|
|
3376
|
+
readonly name: "account";
|
|
3377
|
+
readonly type: "address";
|
|
3378
|
+
}, {
|
|
3379
|
+
readonly indexed: false;
|
|
3380
|
+
readonly name: "withdrawAddress";
|
|
3381
|
+
readonly type: "address";
|
|
3382
|
+
}, {
|
|
3383
|
+
readonly indexed: false;
|
|
3384
|
+
readonly name: "amount";
|
|
3385
|
+
readonly type: "uint256";
|
|
3386
|
+
}];
|
|
3387
|
+
readonly name: "StakeWithdrawn";
|
|
3388
|
+
readonly type: "event";
|
|
3389
|
+
}, {
|
|
3390
|
+
readonly anonymous: false;
|
|
3391
|
+
readonly inputs: readonly [{
|
|
3392
|
+
readonly indexed: true;
|
|
3393
|
+
readonly name: "userOpHash";
|
|
3394
|
+
readonly type: "bytes32";
|
|
3395
|
+
}, {
|
|
3396
|
+
readonly indexed: true;
|
|
3397
|
+
readonly name: "sender";
|
|
3398
|
+
readonly type: "address";
|
|
3399
|
+
}, {
|
|
3400
|
+
readonly indexed: true;
|
|
3401
|
+
readonly name: "paymaster";
|
|
3402
|
+
readonly type: "address";
|
|
3403
|
+
}, {
|
|
3404
|
+
readonly indexed: false;
|
|
3405
|
+
readonly name: "nonce";
|
|
3406
|
+
readonly type: "uint256";
|
|
3407
|
+
}, {
|
|
3408
|
+
readonly indexed: false;
|
|
3409
|
+
readonly name: "success";
|
|
3410
|
+
readonly type: "bool";
|
|
3411
|
+
}, {
|
|
3412
|
+
readonly indexed: false;
|
|
3413
|
+
readonly name: "actualGasCost";
|
|
3414
|
+
readonly type: "uint256";
|
|
3415
|
+
}, {
|
|
3416
|
+
readonly indexed: false;
|
|
3417
|
+
readonly name: "actualGasUsed";
|
|
3418
|
+
readonly type: "uint256";
|
|
3419
|
+
}];
|
|
3420
|
+
readonly name: "UserOperationEvent";
|
|
3421
|
+
readonly type: "event";
|
|
3422
|
+
}, {
|
|
3423
|
+
readonly anonymous: false;
|
|
3424
|
+
readonly inputs: readonly [{
|
|
3425
|
+
readonly indexed: true;
|
|
3426
|
+
readonly name: "userOpHash";
|
|
3427
|
+
readonly type: "bytes32";
|
|
3428
|
+
}, {
|
|
3429
|
+
readonly indexed: true;
|
|
3430
|
+
readonly name: "sender";
|
|
3431
|
+
readonly type: "address";
|
|
3432
|
+
}, {
|
|
3433
|
+
readonly indexed: false;
|
|
3434
|
+
readonly name: "nonce";
|
|
3435
|
+
readonly type: "uint256";
|
|
3436
|
+
}, {
|
|
3437
|
+
readonly indexed: false;
|
|
3438
|
+
readonly name: "revertReason";
|
|
3439
|
+
readonly type: "bytes";
|
|
3440
|
+
}];
|
|
3441
|
+
readonly name: "UserOperationRevertReason";
|
|
3442
|
+
readonly type: "event";
|
|
3443
|
+
}, {
|
|
3444
|
+
readonly anonymous: false;
|
|
3445
|
+
readonly inputs: readonly [{
|
|
3446
|
+
readonly indexed: true;
|
|
3447
|
+
readonly name: "account";
|
|
3448
|
+
readonly type: "address";
|
|
3449
|
+
}, {
|
|
3450
|
+
readonly indexed: false;
|
|
3451
|
+
readonly name: "withdrawAddress";
|
|
3452
|
+
readonly type: "address";
|
|
3453
|
+
}, {
|
|
3454
|
+
readonly indexed: false;
|
|
3455
|
+
readonly name: "amount";
|
|
3456
|
+
readonly type: "uint256";
|
|
3457
|
+
}];
|
|
3458
|
+
readonly name: "Withdrawn";
|
|
3459
|
+
readonly type: "event";
|
|
3460
|
+
}, {
|
|
3461
|
+
readonly inputs: readonly [];
|
|
3462
|
+
readonly name: "SIG_VALIDATION_FAILED";
|
|
3463
|
+
readonly outputs: readonly [{
|
|
3464
|
+
readonly name: "";
|
|
3465
|
+
readonly type: "uint256";
|
|
3466
|
+
}];
|
|
3467
|
+
readonly stateMutability: "view";
|
|
3468
|
+
readonly type: "function";
|
|
3469
|
+
}, {
|
|
3470
|
+
readonly inputs: readonly [{
|
|
3471
|
+
readonly name: "initCode";
|
|
3472
|
+
readonly type: "bytes";
|
|
3473
|
+
}, {
|
|
3474
|
+
readonly name: "sender";
|
|
3475
|
+
readonly type: "address";
|
|
3476
|
+
}, {
|
|
3477
|
+
readonly name: "paymasterAndData";
|
|
3478
|
+
readonly type: "bytes";
|
|
3479
|
+
}];
|
|
3480
|
+
readonly name: "_validateSenderAndPaymaster";
|
|
3481
|
+
readonly outputs: readonly [];
|
|
3482
|
+
readonly stateMutability: "view";
|
|
3483
|
+
readonly type: "function";
|
|
3484
|
+
}, {
|
|
3485
|
+
readonly inputs: readonly [{
|
|
3486
|
+
readonly name: "unstakeDelaySec";
|
|
3487
|
+
readonly type: "uint32";
|
|
3488
|
+
}];
|
|
3489
|
+
readonly name: "addStake";
|
|
3490
|
+
readonly outputs: readonly [];
|
|
3491
|
+
readonly stateMutability: "payable";
|
|
3492
|
+
readonly type: "function";
|
|
3493
|
+
}, {
|
|
3494
|
+
readonly inputs: readonly [{
|
|
3495
|
+
readonly name: "account";
|
|
3496
|
+
readonly type: "address";
|
|
3497
|
+
}];
|
|
3498
|
+
readonly name: "balanceOf";
|
|
3499
|
+
readonly outputs: readonly [{
|
|
3500
|
+
readonly name: "";
|
|
3501
|
+
readonly type: "uint256";
|
|
3502
|
+
}];
|
|
3503
|
+
readonly stateMutability: "view";
|
|
3504
|
+
readonly type: "function";
|
|
3505
|
+
}, {
|
|
3506
|
+
readonly inputs: readonly [{
|
|
3507
|
+
readonly name: "account";
|
|
3508
|
+
readonly type: "address";
|
|
3509
|
+
}];
|
|
3510
|
+
readonly name: "depositTo";
|
|
3511
|
+
readonly outputs: readonly [];
|
|
3512
|
+
readonly stateMutability: "payable";
|
|
3513
|
+
readonly type: "function";
|
|
3514
|
+
}, {
|
|
3515
|
+
readonly inputs: readonly [{
|
|
3516
|
+
readonly name: "";
|
|
3517
|
+
readonly type: "address";
|
|
3518
|
+
}];
|
|
3519
|
+
readonly name: "deposits";
|
|
3520
|
+
readonly outputs: readonly [{
|
|
3521
|
+
readonly name: "deposit";
|
|
3522
|
+
readonly type: "uint112";
|
|
3523
|
+
}, {
|
|
3524
|
+
readonly name: "staked";
|
|
3525
|
+
readonly type: "bool";
|
|
3526
|
+
}, {
|
|
3527
|
+
readonly name: "stake";
|
|
3528
|
+
readonly type: "uint112";
|
|
3529
|
+
}, {
|
|
3530
|
+
readonly name: "unstakeDelaySec";
|
|
3531
|
+
readonly type: "uint32";
|
|
3532
|
+
}, {
|
|
3533
|
+
readonly name: "withdrawTime";
|
|
3534
|
+
readonly type: "uint48";
|
|
3535
|
+
}];
|
|
3536
|
+
readonly stateMutability: "view";
|
|
3537
|
+
readonly type: "function";
|
|
3538
|
+
}, {
|
|
3539
|
+
readonly inputs: readonly [{
|
|
3540
|
+
readonly name: "account";
|
|
3541
|
+
readonly type: "address";
|
|
3542
|
+
}];
|
|
3543
|
+
readonly name: "getDepositInfo";
|
|
3544
|
+
readonly outputs: readonly [{
|
|
3545
|
+
readonly components: readonly [{
|
|
3546
|
+
readonly name: "deposit";
|
|
3547
|
+
readonly type: "uint112";
|
|
3548
|
+
}, {
|
|
3549
|
+
readonly name: "staked";
|
|
3550
|
+
readonly type: "bool";
|
|
3551
|
+
}, {
|
|
3552
|
+
readonly name: "stake";
|
|
3553
|
+
readonly type: "uint112";
|
|
3554
|
+
}, {
|
|
3555
|
+
readonly name: "unstakeDelaySec";
|
|
3556
|
+
readonly type: "uint32";
|
|
3557
|
+
}, {
|
|
3558
|
+
readonly name: "withdrawTime";
|
|
3559
|
+
readonly type: "uint48";
|
|
3560
|
+
}];
|
|
3561
|
+
readonly name: "info";
|
|
3562
|
+
readonly type: "tuple";
|
|
3563
|
+
}];
|
|
3564
|
+
readonly stateMutability: "view";
|
|
3565
|
+
readonly type: "function";
|
|
3566
|
+
}, {
|
|
3567
|
+
readonly inputs: readonly [{
|
|
3568
|
+
readonly name: "sender";
|
|
3569
|
+
readonly type: "address";
|
|
3570
|
+
}, {
|
|
3571
|
+
readonly name: "key";
|
|
3572
|
+
readonly type: "uint192";
|
|
3573
|
+
}];
|
|
3574
|
+
readonly name: "getNonce";
|
|
3575
|
+
readonly outputs: readonly [{
|
|
3576
|
+
readonly name: "nonce";
|
|
3577
|
+
readonly type: "uint256";
|
|
3578
|
+
}];
|
|
3579
|
+
readonly stateMutability: "view";
|
|
3580
|
+
readonly type: "function";
|
|
3581
|
+
}, {
|
|
3582
|
+
readonly inputs: readonly [{
|
|
3583
|
+
readonly name: "initCode";
|
|
3584
|
+
readonly type: "bytes";
|
|
3585
|
+
}];
|
|
3586
|
+
readonly name: "getSenderAddress";
|
|
3587
|
+
readonly outputs: readonly [];
|
|
3588
|
+
readonly stateMutability: "nonpayable";
|
|
3589
|
+
readonly type: "function";
|
|
3590
|
+
}, {
|
|
3591
|
+
readonly inputs: readonly [{
|
|
3592
|
+
readonly components: readonly [{
|
|
3593
|
+
readonly name: "sender";
|
|
3594
|
+
readonly type: "address";
|
|
3595
|
+
}, {
|
|
3596
|
+
readonly name: "nonce";
|
|
3597
|
+
readonly type: "uint256";
|
|
3598
|
+
}, {
|
|
3599
|
+
readonly name: "initCode";
|
|
3600
|
+
readonly type: "bytes";
|
|
3601
|
+
}, {
|
|
3602
|
+
readonly name: "callData";
|
|
3603
|
+
readonly type: "bytes";
|
|
3604
|
+
}, {
|
|
3605
|
+
readonly name: "callGasLimit";
|
|
3606
|
+
readonly type: "uint256";
|
|
3607
|
+
}, {
|
|
3608
|
+
readonly name: "verificationGasLimit";
|
|
3609
|
+
readonly type: "uint256";
|
|
3610
|
+
}, {
|
|
3611
|
+
readonly name: "preVerificationGas";
|
|
3612
|
+
readonly type: "uint256";
|
|
3613
|
+
}, {
|
|
3614
|
+
readonly name: "maxFeePerGas";
|
|
3615
|
+
readonly type: "uint256";
|
|
3616
|
+
}, {
|
|
3617
|
+
readonly name: "maxPriorityFeePerGas";
|
|
3618
|
+
readonly type: "uint256";
|
|
3619
|
+
}, {
|
|
3620
|
+
readonly name: "paymasterAndData";
|
|
3621
|
+
readonly type: "bytes";
|
|
3622
|
+
}, {
|
|
3623
|
+
readonly name: "signature";
|
|
3624
|
+
readonly type: "bytes";
|
|
3625
|
+
}];
|
|
3626
|
+
readonly name: "userOp";
|
|
3627
|
+
readonly type: "tuple";
|
|
3628
|
+
}];
|
|
3629
|
+
readonly name: "getUserOpHash";
|
|
3630
|
+
readonly outputs: readonly [{
|
|
3631
|
+
readonly name: "";
|
|
3632
|
+
readonly type: "bytes32";
|
|
3633
|
+
}];
|
|
3634
|
+
readonly stateMutability: "view";
|
|
3635
|
+
readonly type: "function";
|
|
3636
|
+
}, {
|
|
3637
|
+
readonly inputs: readonly [{
|
|
3638
|
+
readonly components: readonly [{
|
|
3639
|
+
readonly components: readonly [{
|
|
3640
|
+
readonly name: "sender";
|
|
3641
|
+
readonly type: "address";
|
|
3642
|
+
}, {
|
|
3643
|
+
readonly name: "nonce";
|
|
3644
|
+
readonly type: "uint256";
|
|
3645
|
+
}, {
|
|
3646
|
+
readonly name: "initCode";
|
|
3647
|
+
readonly type: "bytes";
|
|
3648
|
+
}, {
|
|
3649
|
+
readonly name: "callData";
|
|
3650
|
+
readonly type: "bytes";
|
|
3651
|
+
}, {
|
|
3652
|
+
readonly name: "callGasLimit";
|
|
3653
|
+
readonly type: "uint256";
|
|
3654
|
+
}, {
|
|
3655
|
+
readonly name: "verificationGasLimit";
|
|
3656
|
+
readonly type: "uint256";
|
|
3657
|
+
}, {
|
|
3658
|
+
readonly name: "preVerificationGas";
|
|
3659
|
+
readonly type: "uint256";
|
|
3660
|
+
}, {
|
|
3661
|
+
readonly name: "maxFeePerGas";
|
|
3662
|
+
readonly type: "uint256";
|
|
3663
|
+
}, {
|
|
3664
|
+
readonly name: "maxPriorityFeePerGas";
|
|
3665
|
+
readonly type: "uint256";
|
|
3666
|
+
}, {
|
|
3667
|
+
readonly name: "paymasterAndData";
|
|
3668
|
+
readonly type: "bytes";
|
|
3669
|
+
}, {
|
|
3670
|
+
readonly name: "signature";
|
|
3671
|
+
readonly type: "bytes";
|
|
3672
|
+
}];
|
|
3673
|
+
readonly name: "userOps";
|
|
3674
|
+
readonly type: "tuple[]";
|
|
3675
|
+
}, {
|
|
3676
|
+
readonly name: "aggregator";
|
|
3677
|
+
readonly type: "address";
|
|
3678
|
+
}, {
|
|
3679
|
+
readonly name: "signature";
|
|
3680
|
+
readonly type: "bytes";
|
|
3681
|
+
}];
|
|
3682
|
+
readonly name: "opsPerAggregator";
|
|
3683
|
+
readonly type: "tuple[]";
|
|
3684
|
+
}, {
|
|
3685
|
+
readonly name: "beneficiary";
|
|
3686
|
+
readonly type: "address";
|
|
3687
|
+
}];
|
|
3688
|
+
readonly name: "handleAggregatedOps";
|
|
3689
|
+
readonly outputs: readonly [];
|
|
3690
|
+
readonly stateMutability: "nonpayable";
|
|
3691
|
+
readonly type: "function";
|
|
3692
|
+
}, {
|
|
3693
|
+
readonly inputs: readonly [{
|
|
3694
|
+
readonly components: readonly [{
|
|
3695
|
+
readonly name: "sender";
|
|
3696
|
+
readonly type: "address";
|
|
3697
|
+
}, {
|
|
3698
|
+
readonly name: "nonce";
|
|
3699
|
+
readonly type: "uint256";
|
|
3700
|
+
}, {
|
|
3701
|
+
readonly name: "initCode";
|
|
3702
|
+
readonly type: "bytes";
|
|
3703
|
+
}, {
|
|
3704
|
+
readonly name: "callData";
|
|
3705
|
+
readonly type: "bytes";
|
|
3706
|
+
}, {
|
|
3707
|
+
readonly name: "callGasLimit";
|
|
3708
|
+
readonly type: "uint256";
|
|
3709
|
+
}, {
|
|
3710
|
+
readonly name: "verificationGasLimit";
|
|
3711
|
+
readonly type: "uint256";
|
|
3712
|
+
}, {
|
|
3713
|
+
readonly name: "preVerificationGas";
|
|
3714
|
+
readonly type: "uint256";
|
|
3715
|
+
}, {
|
|
3716
|
+
readonly name: "maxFeePerGas";
|
|
3717
|
+
readonly type: "uint256";
|
|
3718
|
+
}, {
|
|
3719
|
+
readonly name: "maxPriorityFeePerGas";
|
|
3720
|
+
readonly type: "uint256";
|
|
3721
|
+
}, {
|
|
3722
|
+
readonly name: "paymasterAndData";
|
|
3723
|
+
readonly type: "bytes";
|
|
3724
|
+
}, {
|
|
3725
|
+
readonly name: "signature";
|
|
3726
|
+
readonly type: "bytes";
|
|
3727
|
+
}];
|
|
3728
|
+
readonly name: "ops";
|
|
3729
|
+
readonly type: "tuple[]";
|
|
3730
|
+
}, {
|
|
3731
|
+
readonly name: "beneficiary";
|
|
3732
|
+
readonly type: "address";
|
|
3733
|
+
}];
|
|
3734
|
+
readonly name: "handleOps";
|
|
3735
|
+
readonly outputs: readonly [];
|
|
3736
|
+
readonly stateMutability: "nonpayable";
|
|
3737
|
+
readonly type: "function";
|
|
3738
|
+
}, {
|
|
3739
|
+
readonly inputs: readonly [{
|
|
3740
|
+
readonly name: "key";
|
|
3741
|
+
readonly type: "uint192";
|
|
3742
|
+
}];
|
|
3743
|
+
readonly name: "incrementNonce";
|
|
3744
|
+
readonly outputs: readonly [];
|
|
3745
|
+
readonly stateMutability: "nonpayable";
|
|
3746
|
+
readonly type: "function";
|
|
3747
|
+
}, {
|
|
3748
|
+
readonly inputs: readonly [{
|
|
3749
|
+
readonly name: "callData";
|
|
3750
|
+
readonly type: "bytes";
|
|
3751
|
+
}, {
|
|
3752
|
+
readonly components: readonly [{
|
|
3753
|
+
readonly components: readonly [{
|
|
3754
|
+
readonly name: "sender";
|
|
3755
|
+
readonly type: "address";
|
|
3756
|
+
}, {
|
|
3757
|
+
readonly name: "nonce";
|
|
3758
|
+
readonly type: "uint256";
|
|
3759
|
+
}, {
|
|
3760
|
+
readonly name: "callGasLimit";
|
|
3761
|
+
readonly type: "uint256";
|
|
3762
|
+
}, {
|
|
3763
|
+
readonly name: "verificationGasLimit";
|
|
3764
|
+
readonly type: "uint256";
|
|
3765
|
+
}, {
|
|
3766
|
+
readonly name: "preVerificationGas";
|
|
3767
|
+
readonly type: "uint256";
|
|
3768
|
+
}, {
|
|
3769
|
+
readonly name: "paymaster";
|
|
3770
|
+
readonly type: "address";
|
|
3771
|
+
}, {
|
|
3772
|
+
readonly name: "maxFeePerGas";
|
|
3773
|
+
readonly type: "uint256";
|
|
3774
|
+
}, {
|
|
3775
|
+
readonly name: "maxPriorityFeePerGas";
|
|
3776
|
+
readonly type: "uint256";
|
|
3777
|
+
}];
|
|
3778
|
+
readonly name: "mUserOp";
|
|
3779
|
+
readonly type: "tuple";
|
|
3780
|
+
}, {
|
|
3781
|
+
readonly name: "userOpHash";
|
|
3782
|
+
readonly type: "bytes32";
|
|
3783
|
+
}, {
|
|
3784
|
+
readonly name: "prefund";
|
|
3785
|
+
readonly type: "uint256";
|
|
3786
|
+
}, {
|
|
3787
|
+
readonly name: "contextOffset";
|
|
3788
|
+
readonly type: "uint256";
|
|
3789
|
+
}, {
|
|
3790
|
+
readonly name: "preOpGas";
|
|
3791
|
+
readonly type: "uint256";
|
|
3792
|
+
}];
|
|
3793
|
+
readonly name: "opInfo";
|
|
3794
|
+
readonly type: "tuple";
|
|
3795
|
+
}, {
|
|
3796
|
+
readonly name: "context";
|
|
3797
|
+
readonly type: "bytes";
|
|
3798
|
+
}];
|
|
3799
|
+
readonly name: "innerHandleOp";
|
|
3800
|
+
readonly outputs: readonly [{
|
|
3801
|
+
readonly name: "actualGasCost";
|
|
3802
|
+
readonly type: "uint256";
|
|
3803
|
+
}];
|
|
3804
|
+
readonly stateMutability: "nonpayable";
|
|
3805
|
+
readonly type: "function";
|
|
3806
|
+
}, {
|
|
3807
|
+
readonly inputs: readonly [{
|
|
3808
|
+
readonly name: "";
|
|
3809
|
+
readonly type: "address";
|
|
3810
|
+
}, {
|
|
3811
|
+
readonly name: "";
|
|
3812
|
+
readonly type: "uint192";
|
|
3813
|
+
}];
|
|
3814
|
+
readonly name: "nonceSequenceNumber";
|
|
3815
|
+
readonly outputs: readonly [{
|
|
3816
|
+
readonly name: "";
|
|
3817
|
+
readonly type: "uint256";
|
|
3818
|
+
}];
|
|
3819
|
+
readonly stateMutability: "view";
|
|
3820
|
+
readonly type: "function";
|
|
3821
|
+
}, {
|
|
3822
|
+
readonly inputs: readonly [{
|
|
3823
|
+
readonly components: readonly [{
|
|
3824
|
+
readonly name: "sender";
|
|
3825
|
+
readonly type: "address";
|
|
3826
|
+
}, {
|
|
3827
|
+
readonly name: "nonce";
|
|
3828
|
+
readonly type: "uint256";
|
|
3829
|
+
}, {
|
|
3830
|
+
readonly name: "initCode";
|
|
3831
|
+
readonly type: "bytes";
|
|
3832
|
+
}, {
|
|
3833
|
+
readonly name: "callData";
|
|
3834
|
+
readonly type: "bytes";
|
|
3835
|
+
}, {
|
|
3836
|
+
readonly name: "callGasLimit";
|
|
3837
|
+
readonly type: "uint256";
|
|
3838
|
+
}, {
|
|
3839
|
+
readonly name: "verificationGasLimit";
|
|
3840
|
+
readonly type: "uint256";
|
|
3841
|
+
}, {
|
|
3842
|
+
readonly name: "preVerificationGas";
|
|
3843
|
+
readonly type: "uint256";
|
|
3844
|
+
}, {
|
|
3845
|
+
readonly name: "maxFeePerGas";
|
|
3846
|
+
readonly type: "uint256";
|
|
3847
|
+
}, {
|
|
3848
|
+
readonly name: "maxPriorityFeePerGas";
|
|
3849
|
+
readonly type: "uint256";
|
|
3850
|
+
}, {
|
|
3851
|
+
readonly name: "paymasterAndData";
|
|
3852
|
+
readonly type: "bytes";
|
|
3853
|
+
}, {
|
|
3854
|
+
readonly name: "signature";
|
|
3855
|
+
readonly type: "bytes";
|
|
3856
|
+
}];
|
|
3857
|
+
readonly name: "op";
|
|
3858
|
+
readonly type: "tuple";
|
|
3859
|
+
}, {
|
|
3860
|
+
readonly name: "target";
|
|
3861
|
+
readonly type: "address";
|
|
3862
|
+
}, {
|
|
3863
|
+
readonly name: "targetCallData";
|
|
3864
|
+
readonly type: "bytes";
|
|
3865
|
+
}];
|
|
3866
|
+
readonly name: "simulateHandleOp";
|
|
3867
|
+
readonly outputs: readonly [];
|
|
3868
|
+
readonly stateMutability: "nonpayable";
|
|
3869
|
+
readonly type: "function";
|
|
3870
|
+
}, {
|
|
3871
|
+
readonly inputs: readonly [{
|
|
3872
|
+
readonly components: readonly [{
|
|
3873
|
+
readonly name: "sender";
|
|
3874
|
+
readonly type: "address";
|
|
3875
|
+
}, {
|
|
3876
|
+
readonly name: "nonce";
|
|
3877
|
+
readonly type: "uint256";
|
|
3878
|
+
}, {
|
|
3879
|
+
readonly name: "initCode";
|
|
3880
|
+
readonly type: "bytes";
|
|
3881
|
+
}, {
|
|
3882
|
+
readonly name: "callData";
|
|
3883
|
+
readonly type: "bytes";
|
|
3884
|
+
}, {
|
|
3885
|
+
readonly name: "callGasLimit";
|
|
3886
|
+
readonly type: "uint256";
|
|
3887
|
+
}, {
|
|
3888
|
+
readonly name: "verificationGasLimit";
|
|
3889
|
+
readonly type: "uint256";
|
|
3890
|
+
}, {
|
|
3891
|
+
readonly name: "preVerificationGas";
|
|
3892
|
+
readonly type: "uint256";
|
|
3893
|
+
}, {
|
|
3894
|
+
readonly name: "maxFeePerGas";
|
|
3895
|
+
readonly type: "uint256";
|
|
3896
|
+
}, {
|
|
3897
|
+
readonly name: "maxPriorityFeePerGas";
|
|
3898
|
+
readonly type: "uint256";
|
|
3899
|
+
}, {
|
|
3900
|
+
readonly name: "paymasterAndData";
|
|
3901
|
+
readonly type: "bytes";
|
|
3902
|
+
}, {
|
|
3903
|
+
readonly name: "signature";
|
|
3904
|
+
readonly type: "bytes";
|
|
3905
|
+
}];
|
|
3906
|
+
readonly name: "userOp";
|
|
3907
|
+
readonly type: "tuple";
|
|
3908
|
+
}];
|
|
3909
|
+
readonly name: "simulateValidation";
|
|
3910
|
+
readonly outputs: readonly [];
|
|
3911
|
+
readonly stateMutability: "nonpayable";
|
|
3912
|
+
readonly type: "function";
|
|
3913
|
+
}, {
|
|
3914
|
+
readonly inputs: readonly [];
|
|
3915
|
+
readonly name: "unlockStake";
|
|
3916
|
+
readonly outputs: readonly [];
|
|
3917
|
+
readonly stateMutability: "nonpayable";
|
|
3918
|
+
readonly type: "function";
|
|
3919
|
+
}, {
|
|
3920
|
+
readonly inputs: readonly [{
|
|
3921
|
+
readonly name: "withdrawAddress";
|
|
3922
|
+
readonly type: "address";
|
|
3923
|
+
}];
|
|
3924
|
+
readonly name: "withdrawStake";
|
|
3925
|
+
readonly outputs: readonly [];
|
|
3926
|
+
readonly stateMutability: "nonpayable";
|
|
3927
|
+
readonly type: "function";
|
|
3928
|
+
}, {
|
|
3929
|
+
readonly inputs: readonly [{
|
|
3930
|
+
readonly name: "withdrawAddress";
|
|
3931
|
+
readonly type: "address";
|
|
3932
|
+
}, {
|
|
3933
|
+
readonly name: "withdrawAmount";
|
|
3934
|
+
readonly type: "uint256";
|
|
3935
|
+
}];
|
|
3936
|
+
readonly name: "withdrawTo";
|
|
3937
|
+
readonly outputs: readonly [];
|
|
3938
|
+
readonly stateMutability: "nonpayable";
|
|
3939
|
+
readonly type: "function";
|
|
3940
|
+
}, {
|
|
3941
|
+
readonly stateMutability: "payable";
|
|
3942
|
+
readonly type: "receive";
|
|
3943
|
+
}] | readonly [{
|
|
3944
|
+
readonly inputs: readonly [{
|
|
3945
|
+
readonly name: "success";
|
|
3946
|
+
readonly type: "bool";
|
|
3947
|
+
}, {
|
|
3948
|
+
readonly name: "ret";
|
|
3949
|
+
readonly type: "bytes";
|
|
3950
|
+
}];
|
|
3951
|
+
readonly name: "DelegateAndRevert";
|
|
3952
|
+
readonly type: "error";
|
|
3953
|
+
}, {
|
|
3954
|
+
readonly inputs: readonly [{
|
|
3955
|
+
readonly name: "opIndex";
|
|
3956
|
+
readonly type: "uint256";
|
|
3957
|
+
}, {
|
|
3958
|
+
readonly name: "reason";
|
|
3959
|
+
readonly type: "string";
|
|
3960
|
+
}];
|
|
3961
|
+
readonly name: "FailedOp";
|
|
3962
|
+
readonly type: "error";
|
|
3963
|
+
}, {
|
|
3964
|
+
readonly inputs: readonly [{
|
|
3965
|
+
readonly name: "opIndex";
|
|
3966
|
+
readonly type: "uint256";
|
|
3967
|
+
}, {
|
|
3968
|
+
readonly name: "reason";
|
|
3969
|
+
readonly type: "string";
|
|
3970
|
+
}, {
|
|
3971
|
+
readonly name: "inner";
|
|
3972
|
+
readonly type: "bytes";
|
|
3973
|
+
}];
|
|
3974
|
+
readonly name: "FailedOpWithRevert";
|
|
3975
|
+
readonly type: "error";
|
|
3976
|
+
}, {
|
|
3977
|
+
readonly inputs: readonly [{
|
|
3978
|
+
readonly name: "returnData";
|
|
3979
|
+
readonly type: "bytes";
|
|
3980
|
+
}];
|
|
3981
|
+
readonly name: "PostOpReverted";
|
|
3982
|
+
readonly type: "error";
|
|
3983
|
+
}, {
|
|
3984
|
+
readonly inputs: readonly [];
|
|
3985
|
+
readonly name: "ReentrancyGuardReentrantCall";
|
|
3986
|
+
readonly type: "error";
|
|
3987
|
+
}, {
|
|
3988
|
+
readonly inputs: readonly [{
|
|
3989
|
+
readonly name: "sender";
|
|
3990
|
+
readonly type: "address";
|
|
3991
|
+
}];
|
|
3992
|
+
readonly name: "SenderAddressResult";
|
|
3993
|
+
readonly type: "error";
|
|
3994
|
+
}, {
|
|
3995
|
+
readonly inputs: readonly [{
|
|
3996
|
+
readonly name: "aggregator";
|
|
3997
|
+
readonly type: "address";
|
|
3998
|
+
}];
|
|
3999
|
+
readonly name: "SignatureValidationFailed";
|
|
4000
|
+
readonly type: "error";
|
|
4001
|
+
}, {
|
|
4002
|
+
readonly anonymous: false;
|
|
4003
|
+
readonly inputs: readonly [{
|
|
4004
|
+
readonly indexed: true;
|
|
4005
|
+
readonly name: "userOpHash";
|
|
4006
|
+
readonly type: "bytes32";
|
|
4007
|
+
}, {
|
|
4008
|
+
readonly indexed: true;
|
|
4009
|
+
readonly name: "sender";
|
|
4010
|
+
readonly type: "address";
|
|
4011
|
+
}, {
|
|
4012
|
+
readonly indexed: false;
|
|
4013
|
+
readonly name: "factory";
|
|
4014
|
+
readonly type: "address";
|
|
4015
|
+
}, {
|
|
4016
|
+
readonly indexed: false;
|
|
4017
|
+
readonly name: "paymaster";
|
|
4018
|
+
readonly type: "address";
|
|
4019
|
+
}];
|
|
4020
|
+
readonly name: "AccountDeployed";
|
|
4021
|
+
readonly type: "event";
|
|
4022
|
+
}, {
|
|
4023
|
+
readonly anonymous: false;
|
|
4024
|
+
readonly inputs: readonly [];
|
|
4025
|
+
readonly name: "BeforeExecution";
|
|
4026
|
+
readonly type: "event";
|
|
4027
|
+
}, {
|
|
4028
|
+
readonly anonymous: false;
|
|
4029
|
+
readonly inputs: readonly [{
|
|
4030
|
+
readonly indexed: true;
|
|
4031
|
+
readonly name: "account";
|
|
4032
|
+
readonly type: "address";
|
|
4033
|
+
}, {
|
|
4034
|
+
readonly indexed: false;
|
|
4035
|
+
readonly name: "totalDeposit";
|
|
4036
|
+
readonly type: "uint256";
|
|
4037
|
+
}];
|
|
4038
|
+
readonly name: "Deposited";
|
|
4039
|
+
readonly type: "event";
|
|
4040
|
+
}, {
|
|
4041
|
+
readonly anonymous: false;
|
|
4042
|
+
readonly inputs: readonly [{
|
|
4043
|
+
readonly indexed: true;
|
|
4044
|
+
readonly name: "userOpHash";
|
|
4045
|
+
readonly type: "bytes32";
|
|
4046
|
+
}, {
|
|
4047
|
+
readonly indexed: true;
|
|
4048
|
+
readonly name: "sender";
|
|
4049
|
+
readonly type: "address";
|
|
4050
|
+
}, {
|
|
4051
|
+
readonly indexed: false;
|
|
4052
|
+
readonly name: "nonce";
|
|
4053
|
+
readonly type: "uint256";
|
|
4054
|
+
}, {
|
|
4055
|
+
readonly indexed: false;
|
|
4056
|
+
readonly name: "revertReason";
|
|
4057
|
+
readonly type: "bytes";
|
|
4058
|
+
}];
|
|
4059
|
+
readonly name: "PostOpRevertReason";
|
|
4060
|
+
readonly type: "event";
|
|
4061
|
+
}, {
|
|
4062
|
+
readonly anonymous: false;
|
|
4063
|
+
readonly inputs: readonly [{
|
|
4064
|
+
readonly indexed: true;
|
|
4065
|
+
readonly name: "aggregator";
|
|
4066
|
+
readonly type: "address";
|
|
4067
|
+
}];
|
|
4068
|
+
readonly name: "SignatureAggregatorChanged";
|
|
4069
|
+
readonly type: "event";
|
|
4070
|
+
}, {
|
|
4071
|
+
readonly anonymous: false;
|
|
4072
|
+
readonly inputs: readonly [{
|
|
4073
|
+
readonly indexed: true;
|
|
4074
|
+
readonly name: "account";
|
|
4075
|
+
readonly type: "address";
|
|
4076
|
+
}, {
|
|
4077
|
+
readonly indexed: false;
|
|
4078
|
+
readonly name: "totalStaked";
|
|
4079
|
+
readonly type: "uint256";
|
|
4080
|
+
}, {
|
|
4081
|
+
readonly indexed: false;
|
|
4082
|
+
readonly name: "unstakeDelaySec";
|
|
4083
|
+
readonly type: "uint256";
|
|
4084
|
+
}];
|
|
4085
|
+
readonly name: "StakeLocked";
|
|
4086
|
+
readonly type: "event";
|
|
4087
|
+
}, {
|
|
4088
|
+
readonly anonymous: false;
|
|
4089
|
+
readonly inputs: readonly [{
|
|
4090
|
+
readonly indexed: true;
|
|
4091
|
+
readonly name: "account";
|
|
4092
|
+
readonly type: "address";
|
|
4093
|
+
}, {
|
|
4094
|
+
readonly indexed: false;
|
|
4095
|
+
readonly name: "withdrawTime";
|
|
4096
|
+
readonly type: "uint256";
|
|
4097
|
+
}];
|
|
4098
|
+
readonly name: "StakeUnlocked";
|
|
4099
|
+
readonly type: "event";
|
|
4100
|
+
}, {
|
|
4101
|
+
readonly anonymous: false;
|
|
4102
|
+
readonly inputs: readonly [{
|
|
4103
|
+
readonly indexed: true;
|
|
4104
|
+
readonly name: "account";
|
|
4105
|
+
readonly type: "address";
|
|
4106
|
+
}, {
|
|
4107
|
+
readonly indexed: false;
|
|
4108
|
+
readonly name: "withdrawAddress";
|
|
4109
|
+
readonly type: "address";
|
|
4110
|
+
}, {
|
|
4111
|
+
readonly indexed: false;
|
|
4112
|
+
readonly name: "amount";
|
|
4113
|
+
readonly type: "uint256";
|
|
4114
|
+
}];
|
|
4115
|
+
readonly name: "StakeWithdrawn";
|
|
4116
|
+
readonly type: "event";
|
|
4117
|
+
}, {
|
|
4118
|
+
readonly anonymous: false;
|
|
4119
|
+
readonly inputs: readonly [{
|
|
4120
|
+
readonly indexed: true;
|
|
4121
|
+
readonly name: "userOpHash";
|
|
4122
|
+
readonly type: "bytes32";
|
|
4123
|
+
}, {
|
|
4124
|
+
readonly indexed: true;
|
|
4125
|
+
readonly name: "sender";
|
|
4126
|
+
readonly type: "address";
|
|
4127
|
+
}, {
|
|
4128
|
+
readonly indexed: true;
|
|
4129
|
+
readonly name: "paymaster";
|
|
4130
|
+
readonly type: "address";
|
|
4131
|
+
}, {
|
|
4132
|
+
readonly indexed: false;
|
|
4133
|
+
readonly name: "nonce";
|
|
4134
|
+
readonly type: "uint256";
|
|
4135
|
+
}, {
|
|
4136
|
+
readonly indexed: false;
|
|
4137
|
+
readonly name: "success";
|
|
4138
|
+
readonly type: "bool";
|
|
4139
|
+
}, {
|
|
4140
|
+
readonly indexed: false;
|
|
4141
|
+
readonly name: "actualGasCost";
|
|
4142
|
+
readonly type: "uint256";
|
|
4143
|
+
}, {
|
|
4144
|
+
readonly indexed: false;
|
|
4145
|
+
readonly name: "actualGasUsed";
|
|
4146
|
+
readonly type: "uint256";
|
|
4147
|
+
}];
|
|
4148
|
+
readonly name: "UserOperationEvent";
|
|
4149
|
+
readonly type: "event";
|
|
4150
|
+
}, {
|
|
4151
|
+
readonly anonymous: false;
|
|
4152
|
+
readonly inputs: readonly [{
|
|
4153
|
+
readonly indexed: true;
|
|
4154
|
+
readonly name: "userOpHash";
|
|
4155
|
+
readonly type: "bytes32";
|
|
4156
|
+
}, {
|
|
4157
|
+
readonly indexed: true;
|
|
4158
|
+
readonly name: "sender";
|
|
4159
|
+
readonly type: "address";
|
|
4160
|
+
}, {
|
|
4161
|
+
readonly indexed: false;
|
|
4162
|
+
readonly name: "nonce";
|
|
4163
|
+
readonly type: "uint256";
|
|
4164
|
+
}];
|
|
4165
|
+
readonly name: "UserOperationPrefundTooLow";
|
|
4166
|
+
readonly type: "event";
|
|
4167
|
+
}, {
|
|
4168
|
+
readonly anonymous: false;
|
|
4169
|
+
readonly inputs: readonly [{
|
|
4170
|
+
readonly indexed: true;
|
|
4171
|
+
readonly name: "userOpHash";
|
|
4172
|
+
readonly type: "bytes32";
|
|
4173
|
+
}, {
|
|
4174
|
+
readonly indexed: true;
|
|
4175
|
+
readonly name: "sender";
|
|
4176
|
+
readonly type: "address";
|
|
4177
|
+
}, {
|
|
4178
|
+
readonly indexed: false;
|
|
4179
|
+
readonly name: "nonce";
|
|
4180
|
+
readonly type: "uint256";
|
|
4181
|
+
}, {
|
|
4182
|
+
readonly indexed: false;
|
|
4183
|
+
readonly name: "revertReason";
|
|
4184
|
+
readonly type: "bytes";
|
|
4185
|
+
}];
|
|
4186
|
+
readonly name: "UserOperationRevertReason";
|
|
4187
|
+
readonly type: "event";
|
|
4188
|
+
}, {
|
|
4189
|
+
readonly anonymous: false;
|
|
4190
|
+
readonly inputs: readonly [{
|
|
4191
|
+
readonly indexed: true;
|
|
4192
|
+
readonly name: "account";
|
|
4193
|
+
readonly type: "address";
|
|
4194
|
+
}, {
|
|
4195
|
+
readonly indexed: false;
|
|
4196
|
+
readonly name: "withdrawAddress";
|
|
4197
|
+
readonly type: "address";
|
|
4198
|
+
}, {
|
|
4199
|
+
readonly indexed: false;
|
|
4200
|
+
readonly name: "amount";
|
|
4201
|
+
readonly type: "uint256";
|
|
4202
|
+
}];
|
|
4203
|
+
readonly name: "Withdrawn";
|
|
4204
|
+
readonly type: "event";
|
|
4205
|
+
}, {
|
|
4206
|
+
readonly inputs: readonly [{
|
|
4207
|
+
readonly name: "unstakeDelaySec";
|
|
4208
|
+
readonly type: "uint32";
|
|
4209
|
+
}];
|
|
4210
|
+
readonly name: "addStake";
|
|
4211
|
+
readonly outputs: readonly [];
|
|
4212
|
+
readonly stateMutability: "payable";
|
|
4213
|
+
readonly type: "function";
|
|
4214
|
+
}, {
|
|
4215
|
+
readonly inputs: readonly [{
|
|
4216
|
+
readonly name: "account";
|
|
4217
|
+
readonly type: "address";
|
|
4218
|
+
}];
|
|
4219
|
+
readonly name: "balanceOf";
|
|
4220
|
+
readonly outputs: readonly [{
|
|
4221
|
+
readonly name: "";
|
|
4222
|
+
readonly type: "uint256";
|
|
4223
|
+
}];
|
|
4224
|
+
readonly stateMutability: "view";
|
|
4225
|
+
readonly type: "function";
|
|
4226
|
+
}, {
|
|
4227
|
+
readonly inputs: readonly [{
|
|
4228
|
+
readonly name: "target";
|
|
4229
|
+
readonly type: "address";
|
|
4230
|
+
}, {
|
|
4231
|
+
readonly name: "data";
|
|
4232
|
+
readonly type: "bytes";
|
|
4233
|
+
}];
|
|
4234
|
+
readonly name: "delegateAndRevert";
|
|
4235
|
+
readonly outputs: readonly [];
|
|
4236
|
+
readonly stateMutability: "nonpayable";
|
|
4237
|
+
readonly type: "function";
|
|
4238
|
+
}, {
|
|
4239
|
+
readonly inputs: readonly [{
|
|
4240
|
+
readonly name: "account";
|
|
4241
|
+
readonly type: "address";
|
|
4242
|
+
}];
|
|
4243
|
+
readonly name: "depositTo";
|
|
4244
|
+
readonly outputs: readonly [];
|
|
4245
|
+
readonly stateMutability: "payable";
|
|
4246
|
+
readonly type: "function";
|
|
4247
|
+
}, {
|
|
4248
|
+
readonly inputs: readonly [{
|
|
4249
|
+
readonly name: "";
|
|
4250
|
+
readonly type: "address";
|
|
4251
|
+
}];
|
|
4252
|
+
readonly name: "deposits";
|
|
4253
|
+
readonly outputs: readonly [{
|
|
4254
|
+
readonly name: "deposit";
|
|
4255
|
+
readonly type: "uint256";
|
|
4256
|
+
}, {
|
|
4257
|
+
readonly name: "staked";
|
|
4258
|
+
readonly type: "bool";
|
|
4259
|
+
}, {
|
|
4260
|
+
readonly name: "stake";
|
|
4261
|
+
readonly type: "uint112";
|
|
4262
|
+
}, {
|
|
4263
|
+
readonly name: "unstakeDelaySec";
|
|
4264
|
+
readonly type: "uint32";
|
|
4265
|
+
}, {
|
|
4266
|
+
readonly name: "withdrawTime";
|
|
4267
|
+
readonly type: "uint48";
|
|
4268
|
+
}];
|
|
4269
|
+
readonly stateMutability: "view";
|
|
4270
|
+
readonly type: "function";
|
|
4271
|
+
}, {
|
|
4272
|
+
readonly inputs: readonly [{
|
|
4273
|
+
readonly name: "account";
|
|
4274
|
+
readonly type: "address";
|
|
4275
|
+
}];
|
|
4276
|
+
readonly name: "getDepositInfo";
|
|
4277
|
+
readonly outputs: readonly [{
|
|
4278
|
+
readonly components: readonly [{
|
|
4279
|
+
readonly name: "deposit";
|
|
4280
|
+
readonly type: "uint256";
|
|
4281
|
+
}, {
|
|
4282
|
+
readonly name: "staked";
|
|
4283
|
+
readonly type: "bool";
|
|
4284
|
+
}, {
|
|
4285
|
+
readonly name: "stake";
|
|
4286
|
+
readonly type: "uint112";
|
|
4287
|
+
}, {
|
|
4288
|
+
readonly name: "unstakeDelaySec";
|
|
4289
|
+
readonly type: "uint32";
|
|
4290
|
+
}, {
|
|
4291
|
+
readonly name: "withdrawTime";
|
|
4292
|
+
readonly type: "uint48";
|
|
4293
|
+
}];
|
|
4294
|
+
readonly name: "info";
|
|
4295
|
+
readonly type: "tuple";
|
|
4296
|
+
}];
|
|
4297
|
+
readonly stateMutability: "view";
|
|
4298
|
+
readonly type: "function";
|
|
4299
|
+
}, {
|
|
4300
|
+
readonly inputs: readonly [{
|
|
4301
|
+
readonly name: "sender";
|
|
4302
|
+
readonly type: "address";
|
|
4303
|
+
}, {
|
|
4304
|
+
readonly name: "key";
|
|
4305
|
+
readonly type: "uint192";
|
|
4306
|
+
}];
|
|
4307
|
+
readonly name: "getNonce";
|
|
4308
|
+
readonly outputs: readonly [{
|
|
4309
|
+
readonly name: "nonce";
|
|
4310
|
+
readonly type: "uint256";
|
|
4311
|
+
}];
|
|
4312
|
+
readonly stateMutability: "view";
|
|
4313
|
+
readonly type: "function";
|
|
4314
|
+
}, {
|
|
4315
|
+
readonly inputs: readonly [{
|
|
4316
|
+
readonly name: "initCode";
|
|
4317
|
+
readonly type: "bytes";
|
|
4318
|
+
}];
|
|
4319
|
+
readonly name: "getSenderAddress";
|
|
4320
|
+
readonly outputs: readonly [];
|
|
4321
|
+
readonly stateMutability: "nonpayable";
|
|
4322
|
+
readonly type: "function";
|
|
4323
|
+
}, {
|
|
4324
|
+
readonly inputs: readonly [{
|
|
4325
|
+
readonly components: readonly [{
|
|
4326
|
+
readonly name: "sender";
|
|
4327
|
+
readonly type: "address";
|
|
4328
|
+
}, {
|
|
4329
|
+
readonly name: "nonce";
|
|
4330
|
+
readonly type: "uint256";
|
|
4331
|
+
}, {
|
|
4332
|
+
readonly name: "initCode";
|
|
4333
|
+
readonly type: "bytes";
|
|
4334
|
+
}, {
|
|
4335
|
+
readonly name: "callData";
|
|
4336
|
+
readonly type: "bytes";
|
|
4337
|
+
}, {
|
|
4338
|
+
readonly name: "accountGasLimits";
|
|
4339
|
+
readonly type: "bytes32";
|
|
4340
|
+
}, {
|
|
4341
|
+
readonly name: "preVerificationGas";
|
|
4342
|
+
readonly type: "uint256";
|
|
4343
|
+
}, {
|
|
4344
|
+
readonly name: "gasFees";
|
|
4345
|
+
readonly type: "bytes32";
|
|
4346
|
+
}, {
|
|
4347
|
+
readonly name: "paymasterAndData";
|
|
4348
|
+
readonly type: "bytes";
|
|
4349
|
+
}, {
|
|
4350
|
+
readonly name: "signature";
|
|
4351
|
+
readonly type: "bytes";
|
|
4352
|
+
}];
|
|
4353
|
+
readonly name: "userOp";
|
|
4354
|
+
readonly type: "tuple";
|
|
4355
|
+
}];
|
|
4356
|
+
readonly name: "getUserOpHash";
|
|
4357
|
+
readonly outputs: readonly [{
|
|
4358
|
+
readonly name: "";
|
|
4359
|
+
readonly type: "bytes32";
|
|
4360
|
+
}];
|
|
4361
|
+
readonly stateMutability: "view";
|
|
4362
|
+
readonly type: "function";
|
|
4363
|
+
}, {
|
|
4364
|
+
readonly inputs: readonly [{
|
|
4365
|
+
readonly components: readonly [{
|
|
4366
|
+
readonly components: readonly [{
|
|
4367
|
+
readonly name: "sender";
|
|
4368
|
+
readonly type: "address";
|
|
4369
|
+
}, {
|
|
4370
|
+
readonly name: "nonce";
|
|
4371
|
+
readonly type: "uint256";
|
|
4372
|
+
}, {
|
|
4373
|
+
readonly name: "initCode";
|
|
4374
|
+
readonly type: "bytes";
|
|
4375
|
+
}, {
|
|
4376
|
+
readonly name: "callData";
|
|
4377
|
+
readonly type: "bytes";
|
|
4378
|
+
}, {
|
|
4379
|
+
readonly name: "accountGasLimits";
|
|
4380
|
+
readonly type: "bytes32";
|
|
4381
|
+
}, {
|
|
4382
|
+
readonly name: "preVerificationGas";
|
|
4383
|
+
readonly type: "uint256";
|
|
4384
|
+
}, {
|
|
4385
|
+
readonly name: "gasFees";
|
|
4386
|
+
readonly type: "bytes32";
|
|
4387
|
+
}, {
|
|
4388
|
+
readonly name: "paymasterAndData";
|
|
4389
|
+
readonly type: "bytes";
|
|
4390
|
+
}, {
|
|
4391
|
+
readonly name: "signature";
|
|
4392
|
+
readonly type: "bytes";
|
|
4393
|
+
}];
|
|
4394
|
+
readonly name: "userOps";
|
|
4395
|
+
readonly type: "tuple[]";
|
|
4396
|
+
}, {
|
|
4397
|
+
readonly name: "aggregator";
|
|
4398
|
+
readonly type: "address";
|
|
4399
|
+
}, {
|
|
4400
|
+
readonly name: "signature";
|
|
4401
|
+
readonly type: "bytes";
|
|
4402
|
+
}];
|
|
4403
|
+
readonly name: "opsPerAggregator";
|
|
4404
|
+
readonly type: "tuple[]";
|
|
4405
|
+
}, {
|
|
4406
|
+
readonly name: "beneficiary";
|
|
4407
|
+
readonly type: "address";
|
|
4408
|
+
}];
|
|
4409
|
+
readonly name: "handleAggregatedOps";
|
|
4410
|
+
readonly outputs: readonly [];
|
|
4411
|
+
readonly stateMutability: "nonpayable";
|
|
4412
|
+
readonly type: "function";
|
|
4413
|
+
}, {
|
|
4414
|
+
readonly inputs: readonly [{
|
|
4415
|
+
readonly components: readonly [{
|
|
4416
|
+
readonly name: "sender";
|
|
4417
|
+
readonly type: "address";
|
|
4418
|
+
}, {
|
|
4419
|
+
readonly name: "nonce";
|
|
4420
|
+
readonly type: "uint256";
|
|
4421
|
+
}, {
|
|
4422
|
+
readonly name: "initCode";
|
|
4423
|
+
readonly type: "bytes";
|
|
4424
|
+
}, {
|
|
4425
|
+
readonly name: "callData";
|
|
4426
|
+
readonly type: "bytes";
|
|
4427
|
+
}, {
|
|
4428
|
+
readonly name: "accountGasLimits";
|
|
4429
|
+
readonly type: "bytes32";
|
|
4430
|
+
}, {
|
|
4431
|
+
readonly name: "preVerificationGas";
|
|
4432
|
+
readonly type: "uint256";
|
|
4433
|
+
}, {
|
|
4434
|
+
readonly name: "gasFees";
|
|
4435
|
+
readonly type: "bytes32";
|
|
4436
|
+
}, {
|
|
4437
|
+
readonly name: "paymasterAndData";
|
|
4438
|
+
readonly type: "bytes";
|
|
4439
|
+
}, {
|
|
4440
|
+
readonly name: "signature";
|
|
4441
|
+
readonly type: "bytes";
|
|
4442
|
+
}];
|
|
4443
|
+
readonly name: "ops";
|
|
4444
|
+
readonly type: "tuple[]";
|
|
4445
|
+
}, {
|
|
4446
|
+
readonly name: "beneficiary";
|
|
4447
|
+
readonly type: "address";
|
|
4448
|
+
}];
|
|
4449
|
+
readonly name: "handleOps";
|
|
4450
|
+
readonly outputs: readonly [];
|
|
4451
|
+
readonly stateMutability: "nonpayable";
|
|
4452
|
+
readonly type: "function";
|
|
4453
|
+
}, {
|
|
4454
|
+
readonly inputs: readonly [{
|
|
4455
|
+
readonly name: "key";
|
|
4456
|
+
readonly type: "uint192";
|
|
4457
|
+
}];
|
|
4458
|
+
readonly name: "incrementNonce";
|
|
4459
|
+
readonly outputs: readonly [];
|
|
4460
|
+
readonly stateMutability: "nonpayable";
|
|
4461
|
+
readonly type: "function";
|
|
4462
|
+
}, {
|
|
4463
|
+
readonly inputs: readonly [{
|
|
4464
|
+
readonly name: "callData";
|
|
4465
|
+
readonly type: "bytes";
|
|
4466
|
+
}, {
|
|
4467
|
+
readonly components: readonly [{
|
|
4468
|
+
readonly components: readonly [{
|
|
4469
|
+
readonly name: "sender";
|
|
4470
|
+
readonly type: "address";
|
|
4471
|
+
}, {
|
|
4472
|
+
readonly name: "nonce";
|
|
4473
|
+
readonly type: "uint256";
|
|
4474
|
+
}, {
|
|
4475
|
+
readonly name: "verificationGasLimit";
|
|
4476
|
+
readonly type: "uint256";
|
|
4477
|
+
}, {
|
|
4478
|
+
readonly name: "callGasLimit";
|
|
4479
|
+
readonly type: "uint256";
|
|
4480
|
+
}, {
|
|
4481
|
+
readonly name: "paymasterVerificationGasLimit";
|
|
4482
|
+
readonly type: "uint256";
|
|
4483
|
+
}, {
|
|
4484
|
+
readonly name: "paymasterPostOpGasLimit";
|
|
4485
|
+
readonly type: "uint256";
|
|
4486
|
+
}, {
|
|
4487
|
+
readonly name: "preVerificationGas";
|
|
4488
|
+
readonly type: "uint256";
|
|
4489
|
+
}, {
|
|
4490
|
+
readonly name: "paymaster";
|
|
4491
|
+
readonly type: "address";
|
|
4492
|
+
}, {
|
|
4493
|
+
readonly name: "maxFeePerGas";
|
|
4494
|
+
readonly type: "uint256";
|
|
4495
|
+
}, {
|
|
4496
|
+
readonly name: "maxPriorityFeePerGas";
|
|
4497
|
+
readonly type: "uint256";
|
|
4498
|
+
}];
|
|
4499
|
+
readonly name: "mUserOp";
|
|
4500
|
+
readonly type: "tuple";
|
|
4501
|
+
}, {
|
|
4502
|
+
readonly name: "userOpHash";
|
|
4503
|
+
readonly type: "bytes32";
|
|
4504
|
+
}, {
|
|
4505
|
+
readonly name: "prefund";
|
|
4506
|
+
readonly type: "uint256";
|
|
4507
|
+
}, {
|
|
4508
|
+
readonly name: "contextOffset";
|
|
4509
|
+
readonly type: "uint256";
|
|
4510
|
+
}, {
|
|
4511
|
+
readonly name: "preOpGas";
|
|
4512
|
+
readonly type: "uint256";
|
|
4513
|
+
}];
|
|
4514
|
+
readonly name: "opInfo";
|
|
4515
|
+
readonly type: "tuple";
|
|
4516
|
+
}, {
|
|
4517
|
+
readonly name: "context";
|
|
4518
|
+
readonly type: "bytes";
|
|
4519
|
+
}];
|
|
4520
|
+
readonly name: "innerHandleOp";
|
|
4521
|
+
readonly outputs: readonly [{
|
|
4522
|
+
readonly name: "actualGasCost";
|
|
4523
|
+
readonly type: "uint256";
|
|
4524
|
+
}];
|
|
4525
|
+
readonly stateMutability: "nonpayable";
|
|
4526
|
+
readonly type: "function";
|
|
4527
|
+
}, {
|
|
4528
|
+
readonly inputs: readonly [{
|
|
4529
|
+
readonly name: "";
|
|
4530
|
+
readonly type: "address";
|
|
4531
|
+
}, {
|
|
4532
|
+
readonly name: "";
|
|
4533
|
+
readonly type: "uint192";
|
|
4534
|
+
}];
|
|
4535
|
+
readonly name: "nonceSequenceNumber";
|
|
4536
|
+
readonly outputs: readonly [{
|
|
4537
|
+
readonly name: "";
|
|
4538
|
+
readonly type: "uint256";
|
|
4539
|
+
}];
|
|
4540
|
+
readonly stateMutability: "view";
|
|
4541
|
+
readonly type: "function";
|
|
4542
|
+
}, {
|
|
4543
|
+
readonly inputs: readonly [{
|
|
4544
|
+
readonly name: "interfaceId";
|
|
4545
|
+
readonly type: "bytes4";
|
|
4546
|
+
}];
|
|
4547
|
+
readonly name: "supportsInterface";
|
|
4548
|
+
readonly outputs: readonly [{
|
|
4549
|
+
readonly name: "";
|
|
4550
|
+
readonly type: "bool";
|
|
4551
|
+
}];
|
|
4552
|
+
readonly stateMutability: "view";
|
|
4553
|
+
readonly type: "function";
|
|
4554
|
+
}, {
|
|
4555
|
+
readonly inputs: readonly [];
|
|
4556
|
+
readonly name: "unlockStake";
|
|
4557
|
+
readonly outputs: readonly [];
|
|
4558
|
+
readonly stateMutability: "nonpayable";
|
|
4559
|
+
readonly type: "function";
|
|
4560
|
+
}, {
|
|
4561
|
+
readonly inputs: readonly [{
|
|
4562
|
+
readonly name: "withdrawAddress";
|
|
4563
|
+
readonly type: "address";
|
|
4564
|
+
}];
|
|
4565
|
+
readonly name: "withdrawStake";
|
|
4566
|
+
readonly outputs: readonly [];
|
|
4567
|
+
readonly stateMutability: "nonpayable";
|
|
4568
|
+
readonly type: "function";
|
|
4569
|
+
}, {
|
|
4570
|
+
readonly inputs: readonly [{
|
|
4571
|
+
readonly name: "withdrawAddress";
|
|
4572
|
+
readonly type: "address";
|
|
4573
|
+
}, {
|
|
4574
|
+
readonly name: "withdrawAmount";
|
|
4575
|
+
readonly type: "uint256";
|
|
4576
|
+
}];
|
|
4577
|
+
readonly name: "withdrawTo";
|
|
4578
|
+
readonly outputs: readonly [];
|
|
4579
|
+
readonly stateMutability: "nonpayable";
|
|
4580
|
+
readonly type: "function";
|
|
4581
|
+
}, {
|
|
4582
|
+
readonly stateMutability: "payable";
|
|
4583
|
+
readonly type: "receive";
|
|
4584
|
+
}];
|
|
4585
|
+
address: Address;
|
|
4586
|
+
version: "0.6" | "0.7";
|
|
4587
|
+
};
|
|
4588
|
+
extend?: object | undefined;
|
|
4589
|
+
getAddress: () => Promise<Address>;
|
|
4590
|
+
decodeCalls?: ((data: import("viem").Hex) => Promise<readonly {
|
|
4591
|
+
to: import("viem").Hex;
|
|
4592
|
+
data?: import("viem").Hex | undefined;
|
|
4593
|
+
value?: bigint | undefined;
|
|
4594
|
+
}[]>) | undefined | undefined;
|
|
4595
|
+
encodeCalls: (calls: readonly {
|
|
4596
|
+
to: import("viem").Hex;
|
|
4597
|
+
data?: import("viem").Hex | undefined;
|
|
4598
|
+
value?: bigint | undefined;
|
|
4599
|
+
}[]) => Promise<import("viem").Hex>;
|
|
4600
|
+
getFactoryArgs: () => Promise<{
|
|
4601
|
+
factory?: Address | undefined;
|
|
4602
|
+
factoryData?: import("viem").Hex | undefined;
|
|
4603
|
+
}>;
|
|
4604
|
+
getNonce?: ((parameters?: {
|
|
4605
|
+
key?: bigint | undefined;
|
|
4606
|
+
} | undefined) => Promise<bigint>) | undefined | undefined;
|
|
4607
|
+
getStubSignature: (parameters?: import("viem").UserOperationRequest | undefined) => Promise<import("viem").Hex>;
|
|
4608
|
+
nonceKeyManager?: import("viem").NonceManager | undefined;
|
|
4609
|
+
sign: (parameters: {
|
|
4610
|
+
hash: import("viem").Hash;
|
|
4611
|
+
}) => Promise<import("viem").Hex>;
|
|
4612
|
+
signMessage: (parameters: {
|
|
4613
|
+
message: import("viem").SignableMessage;
|
|
4614
|
+
}) => Promise<import("viem").Hex>;
|
|
4615
|
+
signTypedData: <const typedData extends import("viem").TypedData | Record<string, unknown>, primaryType extends keyof typedData | "EIP712Domain" = keyof typedData>(parameters: import("viem").TypedDataDefinition<typedData, primaryType>) => Promise<import("viem").Hex>;
|
|
4616
|
+
signUserOperation: (parameters: import("viem").UnionPartialBy<import("viem").UserOperation, "sender"> & {
|
|
4617
|
+
chainId?: number | undefined;
|
|
4618
|
+
}) => Promise<import("viem").Hex>;
|
|
4619
|
+
userOperation?: {
|
|
4620
|
+
estimateGas?: ((userOperation: import("viem").UserOperationRequest) => Promise<import("viem").ExactPartial<import("viem").EstimateUserOperationGasReturnType> | undefined>) | undefined;
|
|
4621
|
+
} | undefined | undefined;
|
|
4622
|
+
authorization?: undefined | undefined;
|
|
4623
|
+
} & {
|
|
4624
|
+
address: Address;
|
|
4625
|
+
getNonce: NonNullable<import("viem/account-abstraction").SmartAccountImplementation["getNonce"]>;
|
|
4626
|
+
isDeployed: () => Promise<boolean>;
|
|
4627
|
+
type: "smart";
|
|
4628
|
+
}) | (object & {
|
|
4629
|
+
client: import("viem").Client<import("viem").Transport, import("viem").Chain | undefined, {
|
|
4630
|
+
address: Address;
|
|
4631
|
+
nonceManager?: import("viem").NonceManager | undefined;
|
|
4632
|
+
sign?: ((parameters: {
|
|
4633
|
+
hash: import("viem").Hash;
|
|
4634
|
+
}) => Promise<import("viem").Hex>) | undefined | undefined;
|
|
4635
|
+
signAuthorization?: ((parameters: import("viem").AuthorizationRequest) => Promise<import("viem/accounts").SignAuthorizationReturnType>) | undefined | undefined;
|
|
4636
|
+
signMessage: ({ message }: {
|
|
4637
|
+
message: import("viem").SignableMessage;
|
|
4638
|
+
}) => Promise<import("viem").Hex>;
|
|
4639
|
+
signTransaction: <serializer extends import("viem").SerializeTransactionFn<import("viem").TransactionSerializable> = import("viem").SerializeTransactionFn<import("viem").TransactionSerializable>, transaction extends Parameters<serializer>[0] = Parameters<serializer>[0]>(transaction: transaction, options?: {
|
|
4640
|
+
serializer?: serializer | undefined;
|
|
4641
|
+
} | undefined) => Promise<import("viem").Hex>;
|
|
4642
|
+
signTypedData: <const typedData extends import("viem").TypedData | Record<string, unknown>, primaryType extends keyof typedData | "EIP712Domain" = keyof typedData>(parameters: import("viem").TypedDataDefinition<typedData, primaryType>) => Promise<import("viem").Hex>;
|
|
4643
|
+
publicKey: import("viem").Hex;
|
|
4644
|
+
source: string;
|
|
4645
|
+
type: "local";
|
|
4646
|
+
} | import("viem").JsonRpcAccount | undefined>;
|
|
4647
|
+
entryPoint: {
|
|
4648
|
+
abi: readonly [{
|
|
4649
|
+
readonly inputs: readonly [{
|
|
4650
|
+
readonly name: "preOpGas";
|
|
4651
|
+
readonly type: "uint256";
|
|
4652
|
+
}, {
|
|
4653
|
+
readonly name: "paid";
|
|
4654
|
+
readonly type: "uint256";
|
|
4655
|
+
}, {
|
|
4656
|
+
readonly name: "validAfter";
|
|
4657
|
+
readonly type: "uint48";
|
|
4658
|
+
}, {
|
|
4659
|
+
readonly name: "validUntil";
|
|
4660
|
+
readonly type: "uint48";
|
|
4661
|
+
}, {
|
|
4662
|
+
readonly name: "targetSuccess";
|
|
4663
|
+
readonly type: "bool";
|
|
4664
|
+
}, {
|
|
4665
|
+
readonly name: "targetResult";
|
|
4666
|
+
readonly type: "bytes";
|
|
4667
|
+
}];
|
|
4668
|
+
readonly name: "ExecutionResult";
|
|
4669
|
+
readonly type: "error";
|
|
4670
|
+
}, {
|
|
4671
|
+
readonly inputs: readonly [{
|
|
4672
|
+
readonly name: "opIndex";
|
|
4673
|
+
readonly type: "uint256";
|
|
4674
|
+
}, {
|
|
4675
|
+
readonly name: "reason";
|
|
4676
|
+
readonly type: "string";
|
|
4677
|
+
}];
|
|
4678
|
+
readonly name: "FailedOp";
|
|
4679
|
+
readonly type: "error";
|
|
4680
|
+
}, {
|
|
4681
|
+
readonly inputs: readonly [{
|
|
4682
|
+
readonly name: "sender";
|
|
4683
|
+
readonly type: "address";
|
|
4684
|
+
}];
|
|
4685
|
+
readonly name: "SenderAddressResult";
|
|
4686
|
+
readonly type: "error";
|
|
4687
|
+
}, {
|
|
4688
|
+
readonly inputs: readonly [{
|
|
4689
|
+
readonly name: "aggregator";
|
|
4690
|
+
readonly type: "address";
|
|
4691
|
+
}];
|
|
4692
|
+
readonly name: "SignatureValidationFailed";
|
|
4693
|
+
readonly type: "error";
|
|
4694
|
+
}, {
|
|
4695
|
+
readonly inputs: readonly [{
|
|
4696
|
+
readonly components: readonly [{
|
|
4697
|
+
readonly name: "preOpGas";
|
|
4698
|
+
readonly type: "uint256";
|
|
4699
|
+
}, {
|
|
4700
|
+
readonly name: "prefund";
|
|
4701
|
+
readonly type: "uint256";
|
|
4702
|
+
}, {
|
|
4703
|
+
readonly name: "sigFailed";
|
|
4704
|
+
readonly type: "bool";
|
|
4705
|
+
}, {
|
|
4706
|
+
readonly name: "validAfter";
|
|
4707
|
+
readonly type: "uint48";
|
|
4708
|
+
}, {
|
|
4709
|
+
readonly name: "validUntil";
|
|
4710
|
+
readonly type: "uint48";
|
|
4711
|
+
}, {
|
|
4712
|
+
readonly name: "paymasterContext";
|
|
4713
|
+
readonly type: "bytes";
|
|
4714
|
+
}];
|
|
4715
|
+
readonly name: "returnInfo";
|
|
4716
|
+
readonly type: "tuple";
|
|
4717
|
+
}, {
|
|
4718
|
+
readonly components: readonly [{
|
|
4719
|
+
readonly name: "stake";
|
|
4720
|
+
readonly type: "uint256";
|
|
4721
|
+
}, {
|
|
4722
|
+
readonly name: "unstakeDelaySec";
|
|
4723
|
+
readonly type: "uint256";
|
|
4724
|
+
}];
|
|
4725
|
+
readonly name: "senderInfo";
|
|
4726
|
+
readonly type: "tuple";
|
|
4727
|
+
}, {
|
|
4728
|
+
readonly components: readonly [{
|
|
4729
|
+
readonly name: "stake";
|
|
4730
|
+
readonly type: "uint256";
|
|
4731
|
+
}, {
|
|
4732
|
+
readonly name: "unstakeDelaySec";
|
|
4733
|
+
readonly type: "uint256";
|
|
4734
|
+
}];
|
|
4735
|
+
readonly name: "factoryInfo";
|
|
4736
|
+
readonly type: "tuple";
|
|
4737
|
+
}, {
|
|
4738
|
+
readonly components: readonly [{
|
|
4739
|
+
readonly name: "stake";
|
|
4740
|
+
readonly type: "uint256";
|
|
4741
|
+
}, {
|
|
4742
|
+
readonly name: "unstakeDelaySec";
|
|
4743
|
+
readonly type: "uint256";
|
|
4744
|
+
}];
|
|
4745
|
+
readonly name: "paymasterInfo";
|
|
4746
|
+
readonly type: "tuple";
|
|
4747
|
+
}];
|
|
4748
|
+
readonly name: "ValidationResult";
|
|
4749
|
+
readonly type: "error";
|
|
4750
|
+
}, {
|
|
4751
|
+
readonly inputs: readonly [{
|
|
4752
|
+
readonly components: readonly [{
|
|
4753
|
+
readonly name: "preOpGas";
|
|
4754
|
+
readonly type: "uint256";
|
|
4755
|
+
}, {
|
|
4756
|
+
readonly name: "prefund";
|
|
4757
|
+
readonly type: "uint256";
|
|
4758
|
+
}, {
|
|
4759
|
+
readonly name: "sigFailed";
|
|
4760
|
+
readonly type: "bool";
|
|
4761
|
+
}, {
|
|
4762
|
+
readonly name: "validAfter";
|
|
4763
|
+
readonly type: "uint48";
|
|
4764
|
+
}, {
|
|
4765
|
+
readonly name: "validUntil";
|
|
4766
|
+
readonly type: "uint48";
|
|
4767
|
+
}, {
|
|
4768
|
+
readonly name: "paymasterContext";
|
|
4769
|
+
readonly type: "bytes";
|
|
4770
|
+
}];
|
|
4771
|
+
readonly name: "returnInfo";
|
|
4772
|
+
readonly type: "tuple";
|
|
4773
|
+
}, {
|
|
4774
|
+
readonly components: readonly [{
|
|
4775
|
+
readonly name: "stake";
|
|
4776
|
+
readonly type: "uint256";
|
|
4777
|
+
}, {
|
|
4778
|
+
readonly name: "unstakeDelaySec";
|
|
4779
|
+
readonly type: "uint256";
|
|
4780
|
+
}];
|
|
4781
|
+
readonly name: "senderInfo";
|
|
4782
|
+
readonly type: "tuple";
|
|
4783
|
+
}, {
|
|
4784
|
+
readonly components: readonly [{
|
|
4785
|
+
readonly name: "stake";
|
|
4786
|
+
readonly type: "uint256";
|
|
4787
|
+
}, {
|
|
4788
|
+
readonly name: "unstakeDelaySec";
|
|
4789
|
+
readonly type: "uint256";
|
|
4790
|
+
}];
|
|
4791
|
+
readonly name: "factoryInfo";
|
|
4792
|
+
readonly type: "tuple";
|
|
4793
|
+
}, {
|
|
4794
|
+
readonly components: readonly [{
|
|
4795
|
+
readonly name: "stake";
|
|
4796
|
+
readonly type: "uint256";
|
|
4797
|
+
}, {
|
|
4798
|
+
readonly name: "unstakeDelaySec";
|
|
4799
|
+
readonly type: "uint256";
|
|
4800
|
+
}];
|
|
4801
|
+
readonly name: "paymasterInfo";
|
|
4802
|
+
readonly type: "tuple";
|
|
4803
|
+
}, {
|
|
4804
|
+
readonly components: readonly [{
|
|
4805
|
+
readonly name: "aggregator";
|
|
4806
|
+
readonly type: "address";
|
|
4807
|
+
}, {
|
|
4808
|
+
readonly components: readonly [{
|
|
4809
|
+
readonly name: "stake";
|
|
4810
|
+
readonly type: "uint256";
|
|
4811
|
+
}, {
|
|
4812
|
+
readonly name: "unstakeDelaySec";
|
|
4813
|
+
readonly type: "uint256";
|
|
4814
|
+
}];
|
|
4815
|
+
readonly name: "stakeInfo";
|
|
4816
|
+
readonly type: "tuple";
|
|
4817
|
+
}];
|
|
4818
|
+
readonly name: "aggregatorInfo";
|
|
4819
|
+
readonly type: "tuple";
|
|
4820
|
+
}];
|
|
4821
|
+
readonly name: "ValidationResultWithAggregation";
|
|
4822
|
+
readonly type: "error";
|
|
4823
|
+
}, {
|
|
4824
|
+
readonly anonymous: false;
|
|
4825
|
+
readonly inputs: readonly [{
|
|
4826
|
+
readonly indexed: true;
|
|
4827
|
+
readonly name: "userOpHash";
|
|
4828
|
+
readonly type: "bytes32";
|
|
4829
|
+
}, {
|
|
4830
|
+
readonly indexed: true;
|
|
4831
|
+
readonly name: "sender";
|
|
4832
|
+
readonly type: "address";
|
|
4833
|
+
}, {
|
|
4834
|
+
readonly indexed: false;
|
|
4835
|
+
readonly name: "factory";
|
|
4836
|
+
readonly type: "address";
|
|
4837
|
+
}, {
|
|
4838
|
+
readonly indexed: false;
|
|
4839
|
+
readonly name: "paymaster";
|
|
4840
|
+
readonly type: "address";
|
|
4841
|
+
}];
|
|
4842
|
+
readonly name: "AccountDeployed";
|
|
4843
|
+
readonly type: "event";
|
|
4844
|
+
}, {
|
|
4845
|
+
readonly anonymous: false;
|
|
4846
|
+
readonly inputs: readonly [];
|
|
4847
|
+
readonly name: "BeforeExecution";
|
|
4848
|
+
readonly type: "event";
|
|
4849
|
+
}, {
|
|
4850
|
+
readonly anonymous: false;
|
|
4851
|
+
readonly inputs: readonly [{
|
|
4852
|
+
readonly indexed: true;
|
|
4853
|
+
readonly name: "account";
|
|
4854
|
+
readonly type: "address";
|
|
4855
|
+
}, {
|
|
4856
|
+
readonly indexed: false;
|
|
4857
|
+
readonly name: "totalDeposit";
|
|
4858
|
+
readonly type: "uint256";
|
|
4859
|
+
}];
|
|
4860
|
+
readonly name: "Deposited";
|
|
4861
|
+
readonly type: "event";
|
|
4862
|
+
}, {
|
|
4863
|
+
readonly anonymous: false;
|
|
4864
|
+
readonly inputs: readonly [{
|
|
4865
|
+
readonly indexed: true;
|
|
4866
|
+
readonly name: "aggregator";
|
|
4867
|
+
readonly type: "address";
|
|
4868
|
+
}];
|
|
4869
|
+
readonly name: "SignatureAggregatorChanged";
|
|
4870
|
+
readonly type: "event";
|
|
4871
|
+
}, {
|
|
4872
|
+
readonly anonymous: false;
|
|
4873
|
+
readonly inputs: readonly [{
|
|
4874
|
+
readonly indexed: true;
|
|
4875
|
+
readonly name: "account";
|
|
4876
|
+
readonly type: "address";
|
|
4877
|
+
}, {
|
|
4878
|
+
readonly indexed: false;
|
|
4879
|
+
readonly name: "totalStaked";
|
|
4880
|
+
readonly type: "uint256";
|
|
4881
|
+
}, {
|
|
4882
|
+
readonly indexed: false;
|
|
4883
|
+
readonly name: "unstakeDelaySec";
|
|
4884
|
+
readonly type: "uint256";
|
|
4885
|
+
}];
|
|
4886
|
+
readonly name: "StakeLocked";
|
|
4887
|
+
readonly type: "event";
|
|
4888
|
+
}, {
|
|
4889
|
+
readonly anonymous: false;
|
|
4890
|
+
readonly inputs: readonly [{
|
|
4891
|
+
readonly indexed: true;
|
|
4892
|
+
readonly name: "account";
|
|
4893
|
+
readonly type: "address";
|
|
4894
|
+
}, {
|
|
4895
|
+
readonly indexed: false;
|
|
4896
|
+
readonly name: "withdrawTime";
|
|
4897
|
+
readonly type: "uint256";
|
|
4898
|
+
}];
|
|
4899
|
+
readonly name: "StakeUnlocked";
|
|
4900
|
+
readonly type: "event";
|
|
4901
|
+
}, {
|
|
4902
|
+
readonly anonymous: false;
|
|
4903
|
+
readonly inputs: readonly [{
|
|
4904
|
+
readonly indexed: true;
|
|
4905
|
+
readonly name: "account";
|
|
4906
|
+
readonly type: "address";
|
|
4907
|
+
}, {
|
|
4908
|
+
readonly indexed: false;
|
|
4909
|
+
readonly name: "withdrawAddress";
|
|
4910
|
+
readonly type: "address";
|
|
4911
|
+
}, {
|
|
4912
|
+
readonly indexed: false;
|
|
4913
|
+
readonly name: "amount";
|
|
4914
|
+
readonly type: "uint256";
|
|
4915
|
+
}];
|
|
4916
|
+
readonly name: "StakeWithdrawn";
|
|
4917
|
+
readonly type: "event";
|
|
4918
|
+
}, {
|
|
4919
|
+
readonly anonymous: false;
|
|
4920
|
+
readonly inputs: readonly [{
|
|
4921
|
+
readonly indexed: true;
|
|
4922
|
+
readonly name: "userOpHash";
|
|
4923
|
+
readonly type: "bytes32";
|
|
4924
|
+
}, {
|
|
4925
|
+
readonly indexed: true;
|
|
4926
|
+
readonly name: "sender";
|
|
4927
|
+
readonly type: "address";
|
|
4928
|
+
}, {
|
|
4929
|
+
readonly indexed: true;
|
|
4930
|
+
readonly name: "paymaster";
|
|
4931
|
+
readonly type: "address";
|
|
4932
|
+
}, {
|
|
4933
|
+
readonly indexed: false;
|
|
4934
|
+
readonly name: "nonce";
|
|
4935
|
+
readonly type: "uint256";
|
|
4936
|
+
}, {
|
|
4937
|
+
readonly indexed: false;
|
|
4938
|
+
readonly name: "success";
|
|
4939
|
+
readonly type: "bool";
|
|
4940
|
+
}, {
|
|
4941
|
+
readonly indexed: false;
|
|
4942
|
+
readonly name: "actualGasCost";
|
|
4943
|
+
readonly type: "uint256";
|
|
4944
|
+
}, {
|
|
4945
|
+
readonly indexed: false;
|
|
4946
|
+
readonly name: "actualGasUsed";
|
|
4947
|
+
readonly type: "uint256";
|
|
4948
|
+
}];
|
|
4949
|
+
readonly name: "UserOperationEvent";
|
|
4950
|
+
readonly type: "event";
|
|
4951
|
+
}, {
|
|
4952
|
+
readonly anonymous: false;
|
|
4953
|
+
readonly inputs: readonly [{
|
|
4954
|
+
readonly indexed: true;
|
|
4955
|
+
readonly name: "userOpHash";
|
|
4956
|
+
readonly type: "bytes32";
|
|
4957
|
+
}, {
|
|
4958
|
+
readonly indexed: true;
|
|
4959
|
+
readonly name: "sender";
|
|
4960
|
+
readonly type: "address";
|
|
4961
|
+
}, {
|
|
4962
|
+
readonly indexed: false;
|
|
4963
|
+
readonly name: "nonce";
|
|
4964
|
+
readonly type: "uint256";
|
|
4965
|
+
}, {
|
|
4966
|
+
readonly indexed: false;
|
|
4967
|
+
readonly name: "revertReason";
|
|
4968
|
+
readonly type: "bytes";
|
|
4969
|
+
}];
|
|
4970
|
+
readonly name: "UserOperationRevertReason";
|
|
4971
|
+
readonly type: "event";
|
|
4972
|
+
}, {
|
|
4973
|
+
readonly anonymous: false;
|
|
4974
|
+
readonly inputs: readonly [{
|
|
4975
|
+
readonly indexed: true;
|
|
4976
|
+
readonly name: "account";
|
|
4977
|
+
readonly type: "address";
|
|
4978
|
+
}, {
|
|
4979
|
+
readonly indexed: false;
|
|
4980
|
+
readonly name: "withdrawAddress";
|
|
4981
|
+
readonly type: "address";
|
|
4982
|
+
}, {
|
|
4983
|
+
readonly indexed: false;
|
|
4984
|
+
readonly name: "amount";
|
|
4985
|
+
readonly type: "uint256";
|
|
4986
|
+
}];
|
|
4987
|
+
readonly name: "Withdrawn";
|
|
4988
|
+
readonly type: "event";
|
|
4989
|
+
}, {
|
|
4990
|
+
readonly inputs: readonly [];
|
|
4991
|
+
readonly name: "SIG_VALIDATION_FAILED";
|
|
4992
|
+
readonly outputs: readonly [{
|
|
4993
|
+
readonly name: "";
|
|
4994
|
+
readonly type: "uint256";
|
|
4995
|
+
}];
|
|
4996
|
+
readonly stateMutability: "view";
|
|
4997
|
+
readonly type: "function";
|
|
4998
|
+
}, {
|
|
4999
|
+
readonly inputs: readonly [{
|
|
5000
|
+
readonly name: "initCode";
|
|
5001
|
+
readonly type: "bytes";
|
|
5002
|
+
}, {
|
|
5003
|
+
readonly name: "sender";
|
|
5004
|
+
readonly type: "address";
|
|
5005
|
+
}, {
|
|
5006
|
+
readonly name: "paymasterAndData";
|
|
5007
|
+
readonly type: "bytes";
|
|
5008
|
+
}];
|
|
5009
|
+
readonly name: "_validateSenderAndPaymaster";
|
|
5010
|
+
readonly outputs: readonly [];
|
|
5011
|
+
readonly stateMutability: "view";
|
|
5012
|
+
readonly type: "function";
|
|
5013
|
+
}, {
|
|
5014
|
+
readonly inputs: readonly [{
|
|
5015
|
+
readonly name: "unstakeDelaySec";
|
|
5016
|
+
readonly type: "uint32";
|
|
5017
|
+
}];
|
|
5018
|
+
readonly name: "addStake";
|
|
5019
|
+
readonly outputs: readonly [];
|
|
5020
|
+
readonly stateMutability: "payable";
|
|
5021
|
+
readonly type: "function";
|
|
5022
|
+
}, {
|
|
5023
|
+
readonly inputs: readonly [{
|
|
5024
|
+
readonly name: "account";
|
|
5025
|
+
readonly type: "address";
|
|
5026
|
+
}];
|
|
5027
|
+
readonly name: "balanceOf";
|
|
5028
|
+
readonly outputs: readonly [{
|
|
5029
|
+
readonly name: "";
|
|
5030
|
+
readonly type: "uint256";
|
|
5031
|
+
}];
|
|
5032
|
+
readonly stateMutability: "view";
|
|
5033
|
+
readonly type: "function";
|
|
5034
|
+
}, {
|
|
5035
|
+
readonly inputs: readonly [{
|
|
5036
|
+
readonly name: "account";
|
|
5037
|
+
readonly type: "address";
|
|
5038
|
+
}];
|
|
5039
|
+
readonly name: "depositTo";
|
|
5040
|
+
readonly outputs: readonly [];
|
|
5041
|
+
readonly stateMutability: "payable";
|
|
5042
|
+
readonly type: "function";
|
|
5043
|
+
}, {
|
|
5044
|
+
readonly inputs: readonly [{
|
|
5045
|
+
readonly name: "";
|
|
5046
|
+
readonly type: "address";
|
|
5047
|
+
}];
|
|
5048
|
+
readonly name: "deposits";
|
|
5049
|
+
readonly outputs: readonly [{
|
|
5050
|
+
readonly name: "deposit";
|
|
5051
|
+
readonly type: "uint112";
|
|
5052
|
+
}, {
|
|
5053
|
+
readonly name: "staked";
|
|
5054
|
+
readonly type: "bool";
|
|
5055
|
+
}, {
|
|
5056
|
+
readonly name: "stake";
|
|
5057
|
+
readonly type: "uint112";
|
|
5058
|
+
}, {
|
|
5059
|
+
readonly name: "unstakeDelaySec";
|
|
5060
|
+
readonly type: "uint32";
|
|
5061
|
+
}, {
|
|
5062
|
+
readonly name: "withdrawTime";
|
|
5063
|
+
readonly type: "uint48";
|
|
5064
|
+
}];
|
|
5065
|
+
readonly stateMutability: "view";
|
|
5066
|
+
readonly type: "function";
|
|
5067
|
+
}, {
|
|
5068
|
+
readonly inputs: readonly [{
|
|
5069
|
+
readonly name: "account";
|
|
5070
|
+
readonly type: "address";
|
|
5071
|
+
}];
|
|
5072
|
+
readonly name: "getDepositInfo";
|
|
5073
|
+
readonly outputs: readonly [{
|
|
5074
|
+
readonly components: readonly [{
|
|
5075
|
+
readonly name: "deposit";
|
|
5076
|
+
readonly type: "uint112";
|
|
5077
|
+
}, {
|
|
5078
|
+
readonly name: "staked";
|
|
5079
|
+
readonly type: "bool";
|
|
5080
|
+
}, {
|
|
5081
|
+
readonly name: "stake";
|
|
5082
|
+
readonly type: "uint112";
|
|
5083
|
+
}, {
|
|
5084
|
+
readonly name: "unstakeDelaySec";
|
|
5085
|
+
readonly type: "uint32";
|
|
5086
|
+
}, {
|
|
5087
|
+
readonly name: "withdrawTime";
|
|
5088
|
+
readonly type: "uint48";
|
|
5089
|
+
}];
|
|
5090
|
+
readonly name: "info";
|
|
5091
|
+
readonly type: "tuple";
|
|
5092
|
+
}];
|
|
5093
|
+
readonly stateMutability: "view";
|
|
5094
|
+
readonly type: "function";
|
|
5095
|
+
}, {
|
|
5096
|
+
readonly inputs: readonly [{
|
|
5097
|
+
readonly name: "sender";
|
|
5098
|
+
readonly type: "address";
|
|
5099
|
+
}, {
|
|
5100
|
+
readonly name: "key";
|
|
5101
|
+
readonly type: "uint192";
|
|
5102
|
+
}];
|
|
5103
|
+
readonly name: "getNonce";
|
|
5104
|
+
readonly outputs: readonly [{
|
|
5105
|
+
readonly name: "nonce";
|
|
5106
|
+
readonly type: "uint256";
|
|
5107
|
+
}];
|
|
5108
|
+
readonly stateMutability: "view";
|
|
5109
|
+
readonly type: "function";
|
|
5110
|
+
}, {
|
|
5111
|
+
readonly inputs: readonly [{
|
|
5112
|
+
readonly name: "initCode";
|
|
5113
|
+
readonly type: "bytes";
|
|
5114
|
+
}];
|
|
5115
|
+
readonly name: "getSenderAddress";
|
|
5116
|
+
readonly outputs: readonly [];
|
|
5117
|
+
readonly stateMutability: "nonpayable";
|
|
5118
|
+
readonly type: "function";
|
|
5119
|
+
}, {
|
|
5120
|
+
readonly inputs: readonly [{
|
|
5121
|
+
readonly components: readonly [{
|
|
5122
|
+
readonly name: "sender";
|
|
5123
|
+
readonly type: "address";
|
|
5124
|
+
}, {
|
|
5125
|
+
readonly name: "nonce";
|
|
5126
|
+
readonly type: "uint256";
|
|
5127
|
+
}, {
|
|
5128
|
+
readonly name: "initCode";
|
|
5129
|
+
readonly type: "bytes";
|
|
5130
|
+
}, {
|
|
5131
|
+
readonly name: "callData";
|
|
5132
|
+
readonly type: "bytes";
|
|
5133
|
+
}, {
|
|
5134
|
+
readonly name: "callGasLimit";
|
|
5135
|
+
readonly type: "uint256";
|
|
5136
|
+
}, {
|
|
5137
|
+
readonly name: "verificationGasLimit";
|
|
5138
|
+
readonly type: "uint256";
|
|
5139
|
+
}, {
|
|
5140
|
+
readonly name: "preVerificationGas";
|
|
5141
|
+
readonly type: "uint256";
|
|
5142
|
+
}, {
|
|
5143
|
+
readonly name: "maxFeePerGas";
|
|
5144
|
+
readonly type: "uint256";
|
|
5145
|
+
}, {
|
|
5146
|
+
readonly name: "maxPriorityFeePerGas";
|
|
5147
|
+
readonly type: "uint256";
|
|
5148
|
+
}, {
|
|
5149
|
+
readonly name: "paymasterAndData";
|
|
5150
|
+
readonly type: "bytes";
|
|
5151
|
+
}, {
|
|
5152
|
+
readonly name: "signature";
|
|
5153
|
+
readonly type: "bytes";
|
|
5154
|
+
}];
|
|
5155
|
+
readonly name: "userOp";
|
|
5156
|
+
readonly type: "tuple";
|
|
5157
|
+
}];
|
|
5158
|
+
readonly name: "getUserOpHash";
|
|
5159
|
+
readonly outputs: readonly [{
|
|
5160
|
+
readonly name: "";
|
|
5161
|
+
readonly type: "bytes32";
|
|
5162
|
+
}];
|
|
5163
|
+
readonly stateMutability: "view";
|
|
5164
|
+
readonly type: "function";
|
|
5165
|
+
}, {
|
|
5166
|
+
readonly inputs: readonly [{
|
|
5167
|
+
readonly components: readonly [{
|
|
5168
|
+
readonly components: readonly [{
|
|
5169
|
+
readonly name: "sender";
|
|
5170
|
+
readonly type: "address";
|
|
5171
|
+
}, {
|
|
5172
|
+
readonly name: "nonce";
|
|
5173
|
+
readonly type: "uint256";
|
|
5174
|
+
}, {
|
|
5175
|
+
readonly name: "initCode";
|
|
5176
|
+
readonly type: "bytes";
|
|
5177
|
+
}, {
|
|
5178
|
+
readonly name: "callData";
|
|
5179
|
+
readonly type: "bytes";
|
|
5180
|
+
}, {
|
|
5181
|
+
readonly name: "callGasLimit";
|
|
5182
|
+
readonly type: "uint256";
|
|
5183
|
+
}, {
|
|
5184
|
+
readonly name: "verificationGasLimit";
|
|
5185
|
+
readonly type: "uint256";
|
|
5186
|
+
}, {
|
|
5187
|
+
readonly name: "preVerificationGas";
|
|
5188
|
+
readonly type: "uint256";
|
|
5189
|
+
}, {
|
|
5190
|
+
readonly name: "maxFeePerGas";
|
|
5191
|
+
readonly type: "uint256";
|
|
5192
|
+
}, {
|
|
5193
|
+
readonly name: "maxPriorityFeePerGas";
|
|
5194
|
+
readonly type: "uint256";
|
|
5195
|
+
}, {
|
|
5196
|
+
readonly name: "paymasterAndData";
|
|
5197
|
+
readonly type: "bytes";
|
|
5198
|
+
}, {
|
|
5199
|
+
readonly name: "signature";
|
|
5200
|
+
readonly type: "bytes";
|
|
5201
|
+
}];
|
|
5202
|
+
readonly name: "userOps";
|
|
5203
|
+
readonly type: "tuple[]";
|
|
5204
|
+
}, {
|
|
5205
|
+
readonly name: "aggregator";
|
|
5206
|
+
readonly type: "address";
|
|
5207
|
+
}, {
|
|
5208
|
+
readonly name: "signature";
|
|
5209
|
+
readonly type: "bytes";
|
|
5210
|
+
}];
|
|
5211
|
+
readonly name: "opsPerAggregator";
|
|
5212
|
+
readonly type: "tuple[]";
|
|
5213
|
+
}, {
|
|
5214
|
+
readonly name: "beneficiary";
|
|
5215
|
+
readonly type: "address";
|
|
5216
|
+
}];
|
|
5217
|
+
readonly name: "handleAggregatedOps";
|
|
5218
|
+
readonly outputs: readonly [];
|
|
5219
|
+
readonly stateMutability: "nonpayable";
|
|
5220
|
+
readonly type: "function";
|
|
5221
|
+
}, {
|
|
5222
|
+
readonly inputs: readonly [{
|
|
5223
|
+
readonly components: readonly [{
|
|
5224
|
+
readonly name: "sender";
|
|
5225
|
+
readonly type: "address";
|
|
5226
|
+
}, {
|
|
5227
|
+
readonly name: "nonce";
|
|
5228
|
+
readonly type: "uint256";
|
|
5229
|
+
}, {
|
|
5230
|
+
readonly name: "initCode";
|
|
5231
|
+
readonly type: "bytes";
|
|
5232
|
+
}, {
|
|
5233
|
+
readonly name: "callData";
|
|
5234
|
+
readonly type: "bytes";
|
|
5235
|
+
}, {
|
|
5236
|
+
readonly name: "callGasLimit";
|
|
5237
|
+
readonly type: "uint256";
|
|
5238
|
+
}, {
|
|
5239
|
+
readonly name: "verificationGasLimit";
|
|
5240
|
+
readonly type: "uint256";
|
|
5241
|
+
}, {
|
|
5242
|
+
readonly name: "preVerificationGas";
|
|
5243
|
+
readonly type: "uint256";
|
|
5244
|
+
}, {
|
|
5245
|
+
readonly name: "maxFeePerGas";
|
|
5246
|
+
readonly type: "uint256";
|
|
5247
|
+
}, {
|
|
5248
|
+
readonly name: "maxPriorityFeePerGas";
|
|
5249
|
+
readonly type: "uint256";
|
|
5250
|
+
}, {
|
|
5251
|
+
readonly name: "paymasterAndData";
|
|
5252
|
+
readonly type: "bytes";
|
|
5253
|
+
}, {
|
|
5254
|
+
readonly name: "signature";
|
|
5255
|
+
readonly type: "bytes";
|
|
5256
|
+
}];
|
|
5257
|
+
readonly name: "ops";
|
|
5258
|
+
readonly type: "tuple[]";
|
|
5259
|
+
}, {
|
|
5260
|
+
readonly name: "beneficiary";
|
|
5261
|
+
readonly type: "address";
|
|
5262
|
+
}];
|
|
5263
|
+
readonly name: "handleOps";
|
|
5264
|
+
readonly outputs: readonly [];
|
|
5265
|
+
readonly stateMutability: "nonpayable";
|
|
5266
|
+
readonly type: "function";
|
|
5267
|
+
}, {
|
|
5268
|
+
readonly inputs: readonly [{
|
|
5269
|
+
readonly name: "key";
|
|
5270
|
+
readonly type: "uint192";
|
|
5271
|
+
}];
|
|
5272
|
+
readonly name: "incrementNonce";
|
|
5273
|
+
readonly outputs: readonly [];
|
|
5274
|
+
readonly stateMutability: "nonpayable";
|
|
5275
|
+
readonly type: "function";
|
|
5276
|
+
}, {
|
|
5277
|
+
readonly inputs: readonly [{
|
|
5278
|
+
readonly name: "callData";
|
|
5279
|
+
readonly type: "bytes";
|
|
5280
|
+
}, {
|
|
5281
|
+
readonly components: readonly [{
|
|
5282
|
+
readonly components: readonly [{
|
|
5283
|
+
readonly name: "sender";
|
|
5284
|
+
readonly type: "address";
|
|
5285
|
+
}, {
|
|
5286
|
+
readonly name: "nonce";
|
|
5287
|
+
readonly type: "uint256";
|
|
5288
|
+
}, {
|
|
5289
|
+
readonly name: "callGasLimit";
|
|
5290
|
+
readonly type: "uint256";
|
|
5291
|
+
}, {
|
|
5292
|
+
readonly name: "verificationGasLimit";
|
|
5293
|
+
readonly type: "uint256";
|
|
5294
|
+
}, {
|
|
5295
|
+
readonly name: "preVerificationGas";
|
|
5296
|
+
readonly type: "uint256";
|
|
5297
|
+
}, {
|
|
5298
|
+
readonly name: "paymaster";
|
|
5299
|
+
readonly type: "address";
|
|
5300
|
+
}, {
|
|
5301
|
+
readonly name: "maxFeePerGas";
|
|
5302
|
+
readonly type: "uint256";
|
|
5303
|
+
}, {
|
|
5304
|
+
readonly name: "maxPriorityFeePerGas";
|
|
5305
|
+
readonly type: "uint256";
|
|
5306
|
+
}];
|
|
5307
|
+
readonly name: "mUserOp";
|
|
5308
|
+
readonly type: "tuple";
|
|
5309
|
+
}, {
|
|
5310
|
+
readonly name: "userOpHash";
|
|
5311
|
+
readonly type: "bytes32";
|
|
5312
|
+
}, {
|
|
5313
|
+
readonly name: "prefund";
|
|
5314
|
+
readonly type: "uint256";
|
|
5315
|
+
}, {
|
|
5316
|
+
readonly name: "contextOffset";
|
|
5317
|
+
readonly type: "uint256";
|
|
5318
|
+
}, {
|
|
5319
|
+
readonly name: "preOpGas";
|
|
5320
|
+
readonly type: "uint256";
|
|
5321
|
+
}];
|
|
5322
|
+
readonly name: "opInfo";
|
|
5323
|
+
readonly type: "tuple";
|
|
5324
|
+
}, {
|
|
5325
|
+
readonly name: "context";
|
|
5326
|
+
readonly type: "bytes";
|
|
5327
|
+
}];
|
|
5328
|
+
readonly name: "innerHandleOp";
|
|
5329
|
+
readonly outputs: readonly [{
|
|
5330
|
+
readonly name: "actualGasCost";
|
|
5331
|
+
readonly type: "uint256";
|
|
5332
|
+
}];
|
|
5333
|
+
readonly stateMutability: "nonpayable";
|
|
5334
|
+
readonly type: "function";
|
|
5335
|
+
}, {
|
|
5336
|
+
readonly inputs: readonly [{
|
|
5337
|
+
readonly name: "";
|
|
5338
|
+
readonly type: "address";
|
|
5339
|
+
}, {
|
|
5340
|
+
readonly name: "";
|
|
5341
|
+
readonly type: "uint192";
|
|
5342
|
+
}];
|
|
5343
|
+
readonly name: "nonceSequenceNumber";
|
|
5344
|
+
readonly outputs: readonly [{
|
|
5345
|
+
readonly name: "";
|
|
5346
|
+
readonly type: "uint256";
|
|
5347
|
+
}];
|
|
5348
|
+
readonly stateMutability: "view";
|
|
5349
|
+
readonly type: "function";
|
|
5350
|
+
}, {
|
|
5351
|
+
readonly inputs: readonly [{
|
|
5352
|
+
readonly components: readonly [{
|
|
5353
|
+
readonly name: "sender";
|
|
5354
|
+
readonly type: "address";
|
|
5355
|
+
}, {
|
|
5356
|
+
readonly name: "nonce";
|
|
5357
|
+
readonly type: "uint256";
|
|
5358
|
+
}, {
|
|
5359
|
+
readonly name: "initCode";
|
|
5360
|
+
readonly type: "bytes";
|
|
5361
|
+
}, {
|
|
5362
|
+
readonly name: "callData";
|
|
5363
|
+
readonly type: "bytes";
|
|
5364
|
+
}, {
|
|
5365
|
+
readonly name: "callGasLimit";
|
|
5366
|
+
readonly type: "uint256";
|
|
5367
|
+
}, {
|
|
5368
|
+
readonly name: "verificationGasLimit";
|
|
5369
|
+
readonly type: "uint256";
|
|
5370
|
+
}, {
|
|
5371
|
+
readonly name: "preVerificationGas";
|
|
5372
|
+
readonly type: "uint256";
|
|
5373
|
+
}, {
|
|
5374
|
+
readonly name: "maxFeePerGas";
|
|
5375
|
+
readonly type: "uint256";
|
|
5376
|
+
}, {
|
|
5377
|
+
readonly name: "maxPriorityFeePerGas";
|
|
5378
|
+
readonly type: "uint256";
|
|
5379
|
+
}, {
|
|
5380
|
+
readonly name: "paymasterAndData";
|
|
5381
|
+
readonly type: "bytes";
|
|
5382
|
+
}, {
|
|
5383
|
+
readonly name: "signature";
|
|
5384
|
+
readonly type: "bytes";
|
|
5385
|
+
}];
|
|
5386
|
+
readonly name: "op";
|
|
5387
|
+
readonly type: "tuple";
|
|
5388
|
+
}, {
|
|
5389
|
+
readonly name: "target";
|
|
5390
|
+
readonly type: "address";
|
|
5391
|
+
}, {
|
|
5392
|
+
readonly name: "targetCallData";
|
|
5393
|
+
readonly type: "bytes";
|
|
5394
|
+
}];
|
|
5395
|
+
readonly name: "simulateHandleOp";
|
|
5396
|
+
readonly outputs: readonly [];
|
|
5397
|
+
readonly stateMutability: "nonpayable";
|
|
5398
|
+
readonly type: "function";
|
|
5399
|
+
}, {
|
|
5400
|
+
readonly inputs: readonly [{
|
|
5401
|
+
readonly components: readonly [{
|
|
5402
|
+
readonly name: "sender";
|
|
5403
|
+
readonly type: "address";
|
|
5404
|
+
}, {
|
|
5405
|
+
readonly name: "nonce";
|
|
5406
|
+
readonly type: "uint256";
|
|
5407
|
+
}, {
|
|
5408
|
+
readonly name: "initCode";
|
|
5409
|
+
readonly type: "bytes";
|
|
5410
|
+
}, {
|
|
5411
|
+
readonly name: "callData";
|
|
5412
|
+
readonly type: "bytes";
|
|
5413
|
+
}, {
|
|
5414
|
+
readonly name: "callGasLimit";
|
|
5415
|
+
readonly type: "uint256";
|
|
5416
|
+
}, {
|
|
5417
|
+
readonly name: "verificationGasLimit";
|
|
5418
|
+
readonly type: "uint256";
|
|
5419
|
+
}, {
|
|
5420
|
+
readonly name: "preVerificationGas";
|
|
5421
|
+
readonly type: "uint256";
|
|
5422
|
+
}, {
|
|
5423
|
+
readonly name: "maxFeePerGas";
|
|
5424
|
+
readonly type: "uint256";
|
|
5425
|
+
}, {
|
|
5426
|
+
readonly name: "maxPriorityFeePerGas";
|
|
5427
|
+
readonly type: "uint256";
|
|
5428
|
+
}, {
|
|
5429
|
+
readonly name: "paymasterAndData";
|
|
5430
|
+
readonly type: "bytes";
|
|
5431
|
+
}, {
|
|
5432
|
+
readonly name: "signature";
|
|
5433
|
+
readonly type: "bytes";
|
|
5434
|
+
}];
|
|
5435
|
+
readonly name: "userOp";
|
|
5436
|
+
readonly type: "tuple";
|
|
5437
|
+
}];
|
|
5438
|
+
readonly name: "simulateValidation";
|
|
5439
|
+
readonly outputs: readonly [];
|
|
5440
|
+
readonly stateMutability: "nonpayable";
|
|
5441
|
+
readonly type: "function";
|
|
5442
|
+
}, {
|
|
5443
|
+
readonly inputs: readonly [];
|
|
5444
|
+
readonly name: "unlockStake";
|
|
5445
|
+
readonly outputs: readonly [];
|
|
5446
|
+
readonly stateMutability: "nonpayable";
|
|
5447
|
+
readonly type: "function";
|
|
5448
|
+
}, {
|
|
5449
|
+
readonly inputs: readonly [{
|
|
5450
|
+
readonly name: "withdrawAddress";
|
|
5451
|
+
readonly type: "address";
|
|
5452
|
+
}];
|
|
5453
|
+
readonly name: "withdrawStake";
|
|
5454
|
+
readonly outputs: readonly [];
|
|
5455
|
+
readonly stateMutability: "nonpayable";
|
|
5456
|
+
readonly type: "function";
|
|
5457
|
+
}, {
|
|
5458
|
+
readonly inputs: readonly [{
|
|
5459
|
+
readonly name: "withdrawAddress";
|
|
5460
|
+
readonly type: "address";
|
|
5461
|
+
}, {
|
|
5462
|
+
readonly name: "withdrawAmount";
|
|
5463
|
+
readonly type: "uint256";
|
|
5464
|
+
}];
|
|
5465
|
+
readonly name: "withdrawTo";
|
|
5466
|
+
readonly outputs: readonly [];
|
|
5467
|
+
readonly stateMutability: "nonpayable";
|
|
5468
|
+
readonly type: "function";
|
|
5469
|
+
}, {
|
|
5470
|
+
readonly stateMutability: "payable";
|
|
5471
|
+
readonly type: "receive";
|
|
5472
|
+
}] | readonly [{
|
|
5473
|
+
readonly inputs: readonly [{
|
|
5474
|
+
readonly name: "success";
|
|
5475
|
+
readonly type: "bool";
|
|
5476
|
+
}, {
|
|
5477
|
+
readonly name: "ret";
|
|
5478
|
+
readonly type: "bytes";
|
|
5479
|
+
}];
|
|
5480
|
+
readonly name: "DelegateAndRevert";
|
|
5481
|
+
readonly type: "error";
|
|
5482
|
+
}, {
|
|
5483
|
+
readonly inputs: readonly [{
|
|
5484
|
+
readonly name: "opIndex";
|
|
5485
|
+
readonly type: "uint256";
|
|
5486
|
+
}, {
|
|
5487
|
+
readonly name: "reason";
|
|
5488
|
+
readonly type: "string";
|
|
5489
|
+
}];
|
|
5490
|
+
readonly name: "FailedOp";
|
|
5491
|
+
readonly type: "error";
|
|
5492
|
+
}, {
|
|
5493
|
+
readonly inputs: readonly [{
|
|
5494
|
+
readonly name: "opIndex";
|
|
5495
|
+
readonly type: "uint256";
|
|
5496
|
+
}, {
|
|
5497
|
+
readonly name: "reason";
|
|
5498
|
+
readonly type: "string";
|
|
5499
|
+
}, {
|
|
5500
|
+
readonly name: "inner";
|
|
5501
|
+
readonly type: "bytes";
|
|
5502
|
+
}];
|
|
5503
|
+
readonly name: "FailedOpWithRevert";
|
|
5504
|
+
readonly type: "error";
|
|
5505
|
+
}, {
|
|
5506
|
+
readonly inputs: readonly [{
|
|
5507
|
+
readonly name: "returnData";
|
|
5508
|
+
readonly type: "bytes";
|
|
5509
|
+
}];
|
|
5510
|
+
readonly name: "PostOpReverted";
|
|
5511
|
+
readonly type: "error";
|
|
5512
|
+
}, {
|
|
5513
|
+
readonly inputs: readonly [];
|
|
5514
|
+
readonly name: "ReentrancyGuardReentrantCall";
|
|
5515
|
+
readonly type: "error";
|
|
5516
|
+
}, {
|
|
5517
|
+
readonly inputs: readonly [{
|
|
5518
|
+
readonly name: "sender";
|
|
5519
|
+
readonly type: "address";
|
|
5520
|
+
}];
|
|
5521
|
+
readonly name: "SenderAddressResult";
|
|
5522
|
+
readonly type: "error";
|
|
5523
|
+
}, {
|
|
5524
|
+
readonly inputs: readonly [{
|
|
5525
|
+
readonly name: "aggregator";
|
|
5526
|
+
readonly type: "address";
|
|
5527
|
+
}];
|
|
5528
|
+
readonly name: "SignatureValidationFailed";
|
|
5529
|
+
readonly type: "error";
|
|
5530
|
+
}, {
|
|
5531
|
+
readonly anonymous: false;
|
|
5532
|
+
readonly inputs: readonly [{
|
|
5533
|
+
readonly indexed: true;
|
|
5534
|
+
readonly name: "userOpHash";
|
|
5535
|
+
readonly type: "bytes32";
|
|
5536
|
+
}, {
|
|
5537
|
+
readonly indexed: true;
|
|
5538
|
+
readonly name: "sender";
|
|
5539
|
+
readonly type: "address";
|
|
5540
|
+
}, {
|
|
5541
|
+
readonly indexed: false;
|
|
5542
|
+
readonly name: "factory";
|
|
5543
|
+
readonly type: "address";
|
|
5544
|
+
}, {
|
|
5545
|
+
readonly indexed: false;
|
|
5546
|
+
readonly name: "paymaster";
|
|
5547
|
+
readonly type: "address";
|
|
5548
|
+
}];
|
|
5549
|
+
readonly name: "AccountDeployed";
|
|
5550
|
+
readonly type: "event";
|
|
5551
|
+
}, {
|
|
5552
|
+
readonly anonymous: false;
|
|
5553
|
+
readonly inputs: readonly [];
|
|
5554
|
+
readonly name: "BeforeExecution";
|
|
5555
|
+
readonly type: "event";
|
|
5556
|
+
}, {
|
|
5557
|
+
readonly anonymous: false;
|
|
5558
|
+
readonly inputs: readonly [{
|
|
5559
|
+
readonly indexed: true;
|
|
5560
|
+
readonly name: "account";
|
|
5561
|
+
readonly type: "address";
|
|
5562
|
+
}, {
|
|
5563
|
+
readonly indexed: false;
|
|
5564
|
+
readonly name: "totalDeposit";
|
|
5565
|
+
readonly type: "uint256";
|
|
5566
|
+
}];
|
|
5567
|
+
readonly name: "Deposited";
|
|
5568
|
+
readonly type: "event";
|
|
5569
|
+
}, {
|
|
5570
|
+
readonly anonymous: false;
|
|
5571
|
+
readonly inputs: readonly [{
|
|
5572
|
+
readonly indexed: true;
|
|
5573
|
+
readonly name: "userOpHash";
|
|
5574
|
+
readonly type: "bytes32";
|
|
5575
|
+
}, {
|
|
5576
|
+
readonly indexed: true;
|
|
5577
|
+
readonly name: "sender";
|
|
5578
|
+
readonly type: "address";
|
|
5579
|
+
}, {
|
|
5580
|
+
readonly indexed: false;
|
|
5581
|
+
readonly name: "nonce";
|
|
5582
|
+
readonly type: "uint256";
|
|
5583
|
+
}, {
|
|
5584
|
+
readonly indexed: false;
|
|
5585
|
+
readonly name: "revertReason";
|
|
5586
|
+
readonly type: "bytes";
|
|
5587
|
+
}];
|
|
5588
|
+
readonly name: "PostOpRevertReason";
|
|
5589
|
+
readonly type: "event";
|
|
5590
|
+
}, {
|
|
5591
|
+
readonly anonymous: false;
|
|
5592
|
+
readonly inputs: readonly [{
|
|
5593
|
+
readonly indexed: true;
|
|
5594
|
+
readonly name: "aggregator";
|
|
5595
|
+
readonly type: "address";
|
|
5596
|
+
}];
|
|
5597
|
+
readonly name: "SignatureAggregatorChanged";
|
|
5598
|
+
readonly type: "event";
|
|
5599
|
+
}, {
|
|
5600
|
+
readonly anonymous: false;
|
|
5601
|
+
readonly inputs: readonly [{
|
|
5602
|
+
readonly indexed: true;
|
|
5603
|
+
readonly name: "account";
|
|
5604
|
+
readonly type: "address";
|
|
5605
|
+
}, {
|
|
5606
|
+
readonly indexed: false;
|
|
5607
|
+
readonly name: "totalStaked";
|
|
5608
|
+
readonly type: "uint256";
|
|
5609
|
+
}, {
|
|
5610
|
+
readonly indexed: false;
|
|
5611
|
+
readonly name: "unstakeDelaySec";
|
|
5612
|
+
readonly type: "uint256";
|
|
5613
|
+
}];
|
|
5614
|
+
readonly name: "StakeLocked";
|
|
5615
|
+
readonly type: "event";
|
|
5616
|
+
}, {
|
|
5617
|
+
readonly anonymous: false;
|
|
5618
|
+
readonly inputs: readonly [{
|
|
5619
|
+
readonly indexed: true;
|
|
5620
|
+
readonly name: "account";
|
|
5621
|
+
readonly type: "address";
|
|
5622
|
+
}, {
|
|
5623
|
+
readonly indexed: false;
|
|
5624
|
+
readonly name: "withdrawTime";
|
|
5625
|
+
readonly type: "uint256";
|
|
5626
|
+
}];
|
|
5627
|
+
readonly name: "StakeUnlocked";
|
|
5628
|
+
readonly type: "event";
|
|
5629
|
+
}, {
|
|
5630
|
+
readonly anonymous: false;
|
|
5631
|
+
readonly inputs: readonly [{
|
|
5632
|
+
readonly indexed: true;
|
|
5633
|
+
readonly name: "account";
|
|
5634
|
+
readonly type: "address";
|
|
5635
|
+
}, {
|
|
5636
|
+
readonly indexed: false;
|
|
5637
|
+
readonly name: "withdrawAddress";
|
|
5638
|
+
readonly type: "address";
|
|
5639
|
+
}, {
|
|
5640
|
+
readonly indexed: false;
|
|
5641
|
+
readonly name: "amount";
|
|
5642
|
+
readonly type: "uint256";
|
|
5643
|
+
}];
|
|
5644
|
+
readonly name: "StakeWithdrawn";
|
|
5645
|
+
readonly type: "event";
|
|
5646
|
+
}, {
|
|
5647
|
+
readonly anonymous: false;
|
|
5648
|
+
readonly inputs: readonly [{
|
|
5649
|
+
readonly indexed: true;
|
|
5650
|
+
readonly name: "userOpHash";
|
|
5651
|
+
readonly type: "bytes32";
|
|
5652
|
+
}, {
|
|
5653
|
+
readonly indexed: true;
|
|
5654
|
+
readonly name: "sender";
|
|
5655
|
+
readonly type: "address";
|
|
5656
|
+
}, {
|
|
5657
|
+
readonly indexed: true;
|
|
5658
|
+
readonly name: "paymaster";
|
|
5659
|
+
readonly type: "address";
|
|
5660
|
+
}, {
|
|
5661
|
+
readonly indexed: false;
|
|
5662
|
+
readonly name: "nonce";
|
|
5663
|
+
readonly type: "uint256";
|
|
5664
|
+
}, {
|
|
5665
|
+
readonly indexed: false;
|
|
5666
|
+
readonly name: "success";
|
|
5667
|
+
readonly type: "bool";
|
|
5668
|
+
}, {
|
|
5669
|
+
readonly indexed: false;
|
|
5670
|
+
readonly name: "actualGasCost";
|
|
5671
|
+
readonly type: "uint256";
|
|
5672
|
+
}, {
|
|
5673
|
+
readonly indexed: false;
|
|
5674
|
+
readonly name: "actualGasUsed";
|
|
5675
|
+
readonly type: "uint256";
|
|
5676
|
+
}];
|
|
5677
|
+
readonly name: "UserOperationEvent";
|
|
5678
|
+
readonly type: "event";
|
|
5679
|
+
}, {
|
|
5680
|
+
readonly anonymous: false;
|
|
5681
|
+
readonly inputs: readonly [{
|
|
5682
|
+
readonly indexed: true;
|
|
5683
|
+
readonly name: "userOpHash";
|
|
5684
|
+
readonly type: "bytes32";
|
|
5685
|
+
}, {
|
|
5686
|
+
readonly indexed: true;
|
|
5687
|
+
readonly name: "sender";
|
|
5688
|
+
readonly type: "address";
|
|
5689
|
+
}, {
|
|
5690
|
+
readonly indexed: false;
|
|
5691
|
+
readonly name: "nonce";
|
|
5692
|
+
readonly type: "uint256";
|
|
5693
|
+
}];
|
|
5694
|
+
readonly name: "UserOperationPrefundTooLow";
|
|
5695
|
+
readonly type: "event";
|
|
5696
|
+
}, {
|
|
5697
|
+
readonly anonymous: false;
|
|
5698
|
+
readonly inputs: readonly [{
|
|
5699
|
+
readonly indexed: true;
|
|
5700
|
+
readonly name: "userOpHash";
|
|
5701
|
+
readonly type: "bytes32";
|
|
5702
|
+
}, {
|
|
5703
|
+
readonly indexed: true;
|
|
5704
|
+
readonly name: "sender";
|
|
5705
|
+
readonly type: "address";
|
|
5706
|
+
}, {
|
|
5707
|
+
readonly indexed: false;
|
|
5708
|
+
readonly name: "nonce";
|
|
5709
|
+
readonly type: "uint256";
|
|
5710
|
+
}, {
|
|
5711
|
+
readonly indexed: false;
|
|
5712
|
+
readonly name: "revertReason";
|
|
5713
|
+
readonly type: "bytes";
|
|
5714
|
+
}];
|
|
5715
|
+
readonly name: "UserOperationRevertReason";
|
|
5716
|
+
readonly type: "event";
|
|
5717
|
+
}, {
|
|
5718
|
+
readonly anonymous: false;
|
|
5719
|
+
readonly inputs: readonly [{
|
|
5720
|
+
readonly indexed: true;
|
|
5721
|
+
readonly name: "account";
|
|
5722
|
+
readonly type: "address";
|
|
5723
|
+
}, {
|
|
5724
|
+
readonly indexed: false;
|
|
5725
|
+
readonly name: "withdrawAddress";
|
|
5726
|
+
readonly type: "address";
|
|
5727
|
+
}, {
|
|
5728
|
+
readonly indexed: false;
|
|
5729
|
+
readonly name: "amount";
|
|
5730
|
+
readonly type: "uint256";
|
|
5731
|
+
}];
|
|
5732
|
+
readonly name: "Withdrawn";
|
|
5733
|
+
readonly type: "event";
|
|
5734
|
+
}, {
|
|
5735
|
+
readonly inputs: readonly [{
|
|
5736
|
+
readonly name: "unstakeDelaySec";
|
|
5737
|
+
readonly type: "uint32";
|
|
5738
|
+
}];
|
|
5739
|
+
readonly name: "addStake";
|
|
5740
|
+
readonly outputs: readonly [];
|
|
5741
|
+
readonly stateMutability: "payable";
|
|
5742
|
+
readonly type: "function";
|
|
5743
|
+
}, {
|
|
5744
|
+
readonly inputs: readonly [{
|
|
5745
|
+
readonly name: "account";
|
|
5746
|
+
readonly type: "address";
|
|
5747
|
+
}];
|
|
5748
|
+
readonly name: "balanceOf";
|
|
5749
|
+
readonly outputs: readonly [{
|
|
5750
|
+
readonly name: "";
|
|
5751
|
+
readonly type: "uint256";
|
|
5752
|
+
}];
|
|
5753
|
+
readonly stateMutability: "view";
|
|
5754
|
+
readonly type: "function";
|
|
5755
|
+
}, {
|
|
5756
|
+
readonly inputs: readonly [{
|
|
5757
|
+
readonly name: "target";
|
|
5758
|
+
readonly type: "address";
|
|
5759
|
+
}, {
|
|
5760
|
+
readonly name: "data";
|
|
5761
|
+
readonly type: "bytes";
|
|
5762
|
+
}];
|
|
5763
|
+
readonly name: "delegateAndRevert";
|
|
5764
|
+
readonly outputs: readonly [];
|
|
5765
|
+
readonly stateMutability: "nonpayable";
|
|
5766
|
+
readonly type: "function";
|
|
5767
|
+
}, {
|
|
5768
|
+
readonly inputs: readonly [{
|
|
5769
|
+
readonly name: "account";
|
|
5770
|
+
readonly type: "address";
|
|
5771
|
+
}];
|
|
5772
|
+
readonly name: "depositTo";
|
|
5773
|
+
readonly outputs: readonly [];
|
|
5774
|
+
readonly stateMutability: "payable";
|
|
5775
|
+
readonly type: "function";
|
|
5776
|
+
}, {
|
|
5777
|
+
readonly inputs: readonly [{
|
|
5778
|
+
readonly name: "";
|
|
5779
|
+
readonly type: "address";
|
|
5780
|
+
}];
|
|
5781
|
+
readonly name: "deposits";
|
|
5782
|
+
readonly outputs: readonly [{
|
|
5783
|
+
readonly name: "deposit";
|
|
5784
|
+
readonly type: "uint256";
|
|
5785
|
+
}, {
|
|
5786
|
+
readonly name: "staked";
|
|
5787
|
+
readonly type: "bool";
|
|
5788
|
+
}, {
|
|
5789
|
+
readonly name: "stake";
|
|
5790
|
+
readonly type: "uint112";
|
|
5791
|
+
}, {
|
|
5792
|
+
readonly name: "unstakeDelaySec";
|
|
5793
|
+
readonly type: "uint32";
|
|
5794
|
+
}, {
|
|
5795
|
+
readonly name: "withdrawTime";
|
|
5796
|
+
readonly type: "uint48";
|
|
5797
|
+
}];
|
|
5798
|
+
readonly stateMutability: "view";
|
|
5799
|
+
readonly type: "function";
|
|
5800
|
+
}, {
|
|
5801
|
+
readonly inputs: readonly [{
|
|
5802
|
+
readonly name: "account";
|
|
5803
|
+
readonly type: "address";
|
|
5804
|
+
}];
|
|
5805
|
+
readonly name: "getDepositInfo";
|
|
5806
|
+
readonly outputs: readonly [{
|
|
5807
|
+
readonly components: readonly [{
|
|
5808
|
+
readonly name: "deposit";
|
|
5809
|
+
readonly type: "uint256";
|
|
5810
|
+
}, {
|
|
5811
|
+
readonly name: "staked";
|
|
5812
|
+
readonly type: "bool";
|
|
5813
|
+
}, {
|
|
5814
|
+
readonly name: "stake";
|
|
5815
|
+
readonly type: "uint112";
|
|
5816
|
+
}, {
|
|
5817
|
+
readonly name: "unstakeDelaySec";
|
|
5818
|
+
readonly type: "uint32";
|
|
5819
|
+
}, {
|
|
5820
|
+
readonly name: "withdrawTime";
|
|
5821
|
+
readonly type: "uint48";
|
|
5822
|
+
}];
|
|
5823
|
+
readonly name: "info";
|
|
5824
|
+
readonly type: "tuple";
|
|
5825
|
+
}];
|
|
5826
|
+
readonly stateMutability: "view";
|
|
5827
|
+
readonly type: "function";
|
|
5828
|
+
}, {
|
|
5829
|
+
readonly inputs: readonly [{
|
|
5830
|
+
readonly name: "sender";
|
|
5831
|
+
readonly type: "address";
|
|
5832
|
+
}, {
|
|
5833
|
+
readonly name: "key";
|
|
5834
|
+
readonly type: "uint192";
|
|
5835
|
+
}];
|
|
5836
|
+
readonly name: "getNonce";
|
|
5837
|
+
readonly outputs: readonly [{
|
|
5838
|
+
readonly name: "nonce";
|
|
5839
|
+
readonly type: "uint256";
|
|
5840
|
+
}];
|
|
5841
|
+
readonly stateMutability: "view";
|
|
5842
|
+
readonly type: "function";
|
|
5843
|
+
}, {
|
|
5844
|
+
readonly inputs: readonly [{
|
|
5845
|
+
readonly name: "initCode";
|
|
5846
|
+
readonly type: "bytes";
|
|
5847
|
+
}];
|
|
5848
|
+
readonly name: "getSenderAddress";
|
|
5849
|
+
readonly outputs: readonly [];
|
|
5850
|
+
readonly stateMutability: "nonpayable";
|
|
5851
|
+
readonly type: "function";
|
|
5852
|
+
}, {
|
|
5853
|
+
readonly inputs: readonly [{
|
|
5854
|
+
readonly components: readonly [{
|
|
5855
|
+
readonly name: "sender";
|
|
5856
|
+
readonly type: "address";
|
|
5857
|
+
}, {
|
|
5858
|
+
readonly name: "nonce";
|
|
5859
|
+
readonly type: "uint256";
|
|
5860
|
+
}, {
|
|
5861
|
+
readonly name: "initCode";
|
|
5862
|
+
readonly type: "bytes";
|
|
5863
|
+
}, {
|
|
5864
|
+
readonly name: "callData";
|
|
5865
|
+
readonly type: "bytes";
|
|
5866
|
+
}, {
|
|
5867
|
+
readonly name: "accountGasLimits";
|
|
5868
|
+
readonly type: "bytes32";
|
|
5869
|
+
}, {
|
|
5870
|
+
readonly name: "preVerificationGas";
|
|
5871
|
+
readonly type: "uint256";
|
|
5872
|
+
}, {
|
|
5873
|
+
readonly name: "gasFees";
|
|
5874
|
+
readonly type: "bytes32";
|
|
5875
|
+
}, {
|
|
5876
|
+
readonly name: "paymasterAndData";
|
|
5877
|
+
readonly type: "bytes";
|
|
5878
|
+
}, {
|
|
5879
|
+
readonly name: "signature";
|
|
5880
|
+
readonly type: "bytes";
|
|
5881
|
+
}];
|
|
5882
|
+
readonly name: "userOp";
|
|
5883
|
+
readonly type: "tuple";
|
|
5884
|
+
}];
|
|
5885
|
+
readonly name: "getUserOpHash";
|
|
5886
|
+
readonly outputs: readonly [{
|
|
5887
|
+
readonly name: "";
|
|
5888
|
+
readonly type: "bytes32";
|
|
5889
|
+
}];
|
|
5890
|
+
readonly stateMutability: "view";
|
|
5891
|
+
readonly type: "function";
|
|
5892
|
+
}, {
|
|
5893
|
+
readonly inputs: readonly [{
|
|
5894
|
+
readonly components: readonly [{
|
|
5895
|
+
readonly components: readonly [{
|
|
5896
|
+
readonly name: "sender";
|
|
5897
|
+
readonly type: "address";
|
|
5898
|
+
}, {
|
|
5899
|
+
readonly name: "nonce";
|
|
5900
|
+
readonly type: "uint256";
|
|
5901
|
+
}, {
|
|
5902
|
+
readonly name: "initCode";
|
|
5903
|
+
readonly type: "bytes";
|
|
5904
|
+
}, {
|
|
5905
|
+
readonly name: "callData";
|
|
5906
|
+
readonly type: "bytes";
|
|
5907
|
+
}, {
|
|
5908
|
+
readonly name: "accountGasLimits";
|
|
5909
|
+
readonly type: "bytes32";
|
|
5910
|
+
}, {
|
|
5911
|
+
readonly name: "preVerificationGas";
|
|
5912
|
+
readonly type: "uint256";
|
|
5913
|
+
}, {
|
|
5914
|
+
readonly name: "gasFees";
|
|
5915
|
+
readonly type: "bytes32";
|
|
5916
|
+
}, {
|
|
5917
|
+
readonly name: "paymasterAndData";
|
|
5918
|
+
readonly type: "bytes";
|
|
5919
|
+
}, {
|
|
5920
|
+
readonly name: "signature";
|
|
5921
|
+
readonly type: "bytes";
|
|
5922
|
+
}];
|
|
5923
|
+
readonly name: "userOps";
|
|
5924
|
+
readonly type: "tuple[]";
|
|
5925
|
+
}, {
|
|
5926
|
+
readonly name: "aggregator";
|
|
5927
|
+
readonly type: "address";
|
|
5928
|
+
}, {
|
|
5929
|
+
readonly name: "signature";
|
|
5930
|
+
readonly type: "bytes";
|
|
5931
|
+
}];
|
|
5932
|
+
readonly name: "opsPerAggregator";
|
|
5933
|
+
readonly type: "tuple[]";
|
|
5934
|
+
}, {
|
|
5935
|
+
readonly name: "beneficiary";
|
|
5936
|
+
readonly type: "address";
|
|
5937
|
+
}];
|
|
5938
|
+
readonly name: "handleAggregatedOps";
|
|
5939
|
+
readonly outputs: readonly [];
|
|
5940
|
+
readonly stateMutability: "nonpayable";
|
|
5941
|
+
readonly type: "function";
|
|
5942
|
+
}, {
|
|
5943
|
+
readonly inputs: readonly [{
|
|
5944
|
+
readonly components: readonly [{
|
|
5945
|
+
readonly name: "sender";
|
|
5946
|
+
readonly type: "address";
|
|
5947
|
+
}, {
|
|
5948
|
+
readonly name: "nonce";
|
|
5949
|
+
readonly type: "uint256";
|
|
5950
|
+
}, {
|
|
5951
|
+
readonly name: "initCode";
|
|
5952
|
+
readonly type: "bytes";
|
|
5953
|
+
}, {
|
|
5954
|
+
readonly name: "callData";
|
|
5955
|
+
readonly type: "bytes";
|
|
5956
|
+
}, {
|
|
5957
|
+
readonly name: "accountGasLimits";
|
|
5958
|
+
readonly type: "bytes32";
|
|
5959
|
+
}, {
|
|
5960
|
+
readonly name: "preVerificationGas";
|
|
5961
|
+
readonly type: "uint256";
|
|
5962
|
+
}, {
|
|
5963
|
+
readonly name: "gasFees";
|
|
5964
|
+
readonly type: "bytes32";
|
|
5965
|
+
}, {
|
|
5966
|
+
readonly name: "paymasterAndData";
|
|
5967
|
+
readonly type: "bytes";
|
|
5968
|
+
}, {
|
|
5969
|
+
readonly name: "signature";
|
|
5970
|
+
readonly type: "bytes";
|
|
5971
|
+
}];
|
|
5972
|
+
readonly name: "ops";
|
|
5973
|
+
readonly type: "tuple[]";
|
|
5974
|
+
}, {
|
|
5975
|
+
readonly name: "beneficiary";
|
|
5976
|
+
readonly type: "address";
|
|
5977
|
+
}];
|
|
5978
|
+
readonly name: "handleOps";
|
|
5979
|
+
readonly outputs: readonly [];
|
|
5980
|
+
readonly stateMutability: "nonpayable";
|
|
5981
|
+
readonly type: "function";
|
|
5982
|
+
}, {
|
|
5983
|
+
readonly inputs: readonly [{
|
|
5984
|
+
readonly name: "key";
|
|
5985
|
+
readonly type: "uint192";
|
|
5986
|
+
}];
|
|
5987
|
+
readonly name: "incrementNonce";
|
|
5988
|
+
readonly outputs: readonly [];
|
|
5989
|
+
readonly stateMutability: "nonpayable";
|
|
5990
|
+
readonly type: "function";
|
|
5991
|
+
}, {
|
|
5992
|
+
readonly inputs: readonly [{
|
|
5993
|
+
readonly name: "callData";
|
|
5994
|
+
readonly type: "bytes";
|
|
5995
|
+
}, {
|
|
5996
|
+
readonly components: readonly [{
|
|
5997
|
+
readonly components: readonly [{
|
|
5998
|
+
readonly name: "sender";
|
|
5999
|
+
readonly type: "address";
|
|
6000
|
+
}, {
|
|
6001
|
+
readonly name: "nonce";
|
|
6002
|
+
readonly type: "uint256";
|
|
6003
|
+
}, {
|
|
6004
|
+
readonly name: "verificationGasLimit";
|
|
6005
|
+
readonly type: "uint256";
|
|
6006
|
+
}, {
|
|
6007
|
+
readonly name: "callGasLimit";
|
|
6008
|
+
readonly type: "uint256";
|
|
6009
|
+
}, {
|
|
6010
|
+
readonly name: "paymasterVerificationGasLimit";
|
|
6011
|
+
readonly type: "uint256";
|
|
6012
|
+
}, {
|
|
6013
|
+
readonly name: "paymasterPostOpGasLimit";
|
|
6014
|
+
readonly type: "uint256";
|
|
6015
|
+
}, {
|
|
6016
|
+
readonly name: "preVerificationGas";
|
|
6017
|
+
readonly type: "uint256";
|
|
6018
|
+
}, {
|
|
6019
|
+
readonly name: "paymaster";
|
|
6020
|
+
readonly type: "address";
|
|
6021
|
+
}, {
|
|
6022
|
+
readonly name: "maxFeePerGas";
|
|
6023
|
+
readonly type: "uint256";
|
|
6024
|
+
}, {
|
|
6025
|
+
readonly name: "maxPriorityFeePerGas";
|
|
6026
|
+
readonly type: "uint256";
|
|
6027
|
+
}];
|
|
6028
|
+
readonly name: "mUserOp";
|
|
6029
|
+
readonly type: "tuple";
|
|
6030
|
+
}, {
|
|
6031
|
+
readonly name: "userOpHash";
|
|
6032
|
+
readonly type: "bytes32";
|
|
6033
|
+
}, {
|
|
6034
|
+
readonly name: "prefund";
|
|
6035
|
+
readonly type: "uint256";
|
|
6036
|
+
}, {
|
|
6037
|
+
readonly name: "contextOffset";
|
|
6038
|
+
readonly type: "uint256";
|
|
6039
|
+
}, {
|
|
6040
|
+
readonly name: "preOpGas";
|
|
6041
|
+
readonly type: "uint256";
|
|
6042
|
+
}];
|
|
6043
|
+
readonly name: "opInfo";
|
|
6044
|
+
readonly type: "tuple";
|
|
6045
|
+
}, {
|
|
6046
|
+
readonly name: "context";
|
|
6047
|
+
readonly type: "bytes";
|
|
6048
|
+
}];
|
|
6049
|
+
readonly name: "innerHandleOp";
|
|
6050
|
+
readonly outputs: readonly [{
|
|
6051
|
+
readonly name: "actualGasCost";
|
|
6052
|
+
readonly type: "uint256";
|
|
6053
|
+
}];
|
|
6054
|
+
readonly stateMutability: "nonpayable";
|
|
6055
|
+
readonly type: "function";
|
|
6056
|
+
}, {
|
|
6057
|
+
readonly inputs: readonly [{
|
|
6058
|
+
readonly name: "";
|
|
6059
|
+
readonly type: "address";
|
|
6060
|
+
}, {
|
|
6061
|
+
readonly name: "";
|
|
6062
|
+
readonly type: "uint192";
|
|
6063
|
+
}];
|
|
6064
|
+
readonly name: "nonceSequenceNumber";
|
|
6065
|
+
readonly outputs: readonly [{
|
|
6066
|
+
readonly name: "";
|
|
6067
|
+
readonly type: "uint256";
|
|
6068
|
+
}];
|
|
6069
|
+
readonly stateMutability: "view";
|
|
6070
|
+
readonly type: "function";
|
|
6071
|
+
}, {
|
|
6072
|
+
readonly inputs: readonly [{
|
|
6073
|
+
readonly name: "interfaceId";
|
|
6074
|
+
readonly type: "bytes4";
|
|
6075
|
+
}];
|
|
6076
|
+
readonly name: "supportsInterface";
|
|
6077
|
+
readonly outputs: readonly [{
|
|
6078
|
+
readonly name: "";
|
|
6079
|
+
readonly type: "bool";
|
|
6080
|
+
}];
|
|
6081
|
+
readonly stateMutability: "view";
|
|
6082
|
+
readonly type: "function";
|
|
6083
|
+
}, {
|
|
6084
|
+
readonly inputs: readonly [];
|
|
6085
|
+
readonly name: "unlockStake";
|
|
6086
|
+
readonly outputs: readonly [];
|
|
6087
|
+
readonly stateMutability: "nonpayable";
|
|
6088
|
+
readonly type: "function";
|
|
6089
|
+
}, {
|
|
6090
|
+
readonly inputs: readonly [{
|
|
6091
|
+
readonly name: "withdrawAddress";
|
|
6092
|
+
readonly type: "address";
|
|
6093
|
+
}];
|
|
6094
|
+
readonly name: "withdrawStake";
|
|
6095
|
+
readonly outputs: readonly [];
|
|
6096
|
+
readonly stateMutability: "nonpayable";
|
|
6097
|
+
readonly type: "function";
|
|
6098
|
+
}, {
|
|
6099
|
+
readonly inputs: readonly [{
|
|
6100
|
+
readonly name: "withdrawAddress";
|
|
6101
|
+
readonly type: "address";
|
|
6102
|
+
}, {
|
|
6103
|
+
readonly name: "withdrawAmount";
|
|
6104
|
+
readonly type: "uint256";
|
|
6105
|
+
}];
|
|
6106
|
+
readonly name: "withdrawTo";
|
|
6107
|
+
readonly outputs: readonly [];
|
|
6108
|
+
readonly stateMutability: "nonpayable";
|
|
6109
|
+
readonly type: "function";
|
|
6110
|
+
}, {
|
|
6111
|
+
readonly stateMutability: "payable";
|
|
6112
|
+
readonly type: "receive";
|
|
6113
|
+
}];
|
|
6114
|
+
address: Address;
|
|
6115
|
+
version: "0.6" | "0.7";
|
|
6116
|
+
};
|
|
6117
|
+
extend?: object | undefined;
|
|
6118
|
+
getAddress: () => Promise<Address>;
|
|
6119
|
+
decodeCalls?: ((data: import("viem").Hex) => Promise<readonly {
|
|
6120
|
+
to: import("viem").Hex;
|
|
6121
|
+
data?: import("viem").Hex | undefined;
|
|
6122
|
+
value?: bigint | undefined;
|
|
6123
|
+
}[]>) | undefined | undefined;
|
|
6124
|
+
encodeCalls: (calls: readonly {
|
|
6125
|
+
to: import("viem").Hex;
|
|
6126
|
+
data?: import("viem").Hex | undefined;
|
|
6127
|
+
value?: bigint | undefined;
|
|
6128
|
+
}[]) => Promise<import("viem").Hex>;
|
|
6129
|
+
getFactoryArgs: () => Promise<{
|
|
6130
|
+
factory?: Address | undefined;
|
|
6131
|
+
factoryData?: import("viem").Hex | undefined;
|
|
6132
|
+
}>;
|
|
6133
|
+
getNonce?: ((parameters?: {
|
|
6134
|
+
key?: bigint | undefined;
|
|
6135
|
+
} | undefined) => Promise<bigint>) | undefined | undefined;
|
|
6136
|
+
getStubSignature: (parameters?: import("viem").UserOperationRequest | undefined) => Promise<import("viem").Hex>;
|
|
6137
|
+
nonceKeyManager?: import("viem").NonceManager | undefined;
|
|
6138
|
+
sign: (parameters: {
|
|
6139
|
+
hash: import("viem").Hash;
|
|
6140
|
+
}) => Promise<import("viem").Hex>;
|
|
6141
|
+
signMessage: (parameters: {
|
|
6142
|
+
message: import("viem").SignableMessage;
|
|
6143
|
+
}) => Promise<import("viem").Hex>;
|
|
6144
|
+
signTypedData: <const typedData extends import("viem").TypedData | Record<string, unknown>, primaryType extends keyof typedData | "EIP712Domain" = keyof typedData>(parameters: import("viem").TypedDataDefinition<typedData, primaryType>) => Promise<import("viem").Hex>;
|
|
6145
|
+
signUserOperation: (parameters: import("viem").UnionPartialBy<import("viem").UserOperation, "sender"> & {
|
|
6146
|
+
chainId?: number | undefined;
|
|
6147
|
+
}) => Promise<import("viem").Hex>;
|
|
6148
|
+
userOperation?: {
|
|
6149
|
+
estimateGas?: ((userOperation: import("viem").UserOperationRequest) => Promise<import("viem").ExactPartial<import("viem").EstimateUserOperationGasReturnType> | undefined>) | undefined;
|
|
6150
|
+
} | undefined | undefined;
|
|
6151
|
+
authorization: {
|
|
6152
|
+
account: import("viem").PrivateKeyAccount;
|
|
6153
|
+
address: Address;
|
|
6154
|
+
};
|
|
6155
|
+
} & {
|
|
6156
|
+
address: Address;
|
|
6157
|
+
getNonce: NonNullable<import("viem/account-abstraction").SmartAccountImplementation["getNonce"]>;
|
|
6158
|
+
isDeployed: () => Promise<boolean>;
|
|
6159
|
+
type: "smart";
|
|
6160
|
+
}), undefined, undefined>;
|
|
3097
6161
|
/**
|
|
3098
6162
|
* Warms the network path for an upcoming submission: primes the gas-price
|
|
3099
|
-
* cache and opens connections to the RPC endpoint. Never
|
|
3100
|
-
* intentionally not cached — fetching it here is
|
|
6163
|
+
* cache and opens connections to the RPC endpoint. Never
|
|
6164
|
+
* throws; the nonce is intentionally not cached — fetching it here is
|
|
6165
|
+
* connection warm-up only.
|
|
3101
6166
|
*/
|
|
3102
6167
|
declare function warmPolyesterSmartAccountClient(client: PolyesterSmartAccountClient): Promise<void>;
|
|
6168
|
+
type PolyesterUserOperationPhase = "prepare" | "sign" | "send" | "receipt";
|
|
3103
6169
|
interface SendPolyesterUserOperationOptions {
|
|
3104
6170
|
/**
|
|
3105
6171
|
* Fires once per submission, immediately before the wallet is asked to
|
|
3106
6172
|
* sign the fully prepared operation — the prepare→sign boundary.
|
|
3107
6173
|
*/
|
|
3108
6174
|
onWalletSignatureRequested?: () => void;
|
|
6175
|
+
/**
|
|
6176
|
+
* Reports how long each submission phase took. `prepare` covers nonce,
|
|
6177
|
+
* fees and sponsorship; `sign` the wallet signature; `send`
|
|
6178
|
+
* `eth_sendUserOperation`. Pass the same callback to
|
|
6179
|
+
* {@link waitForPolyesterUserOperationReceipt} to get `receipt`.
|
|
6180
|
+
*/
|
|
6181
|
+
onPhase?: (phase: PolyesterUserOperationPhase, ms: number) => void;
|
|
3109
6182
|
}
|
|
3110
6183
|
declare function sendPolyesterUserOperation(client: PolyesterSmartAccountClient, parameters: Parameters<PolyesterSmartAccountClient["sendUserOperation"]>[0], options?: SendPolyesterUserOperationOptions): Promise<Awaited<ReturnType<PolyesterSmartAccountClient["sendUserOperation"]>>>;
|
|
6184
|
+
interface WaitForPolyesterUserOperationReceiptOptions {
|
|
6185
|
+
/** Overall deadline in milliseconds. Defaults to viem's 120s. */
|
|
6186
|
+
timeoutMs?: number;
|
|
6187
|
+
/** Receives `("receipt", ms)` once the receipt is available. */
|
|
6188
|
+
onPhase?: SendPolyesterUserOperationOptions["onPhase"];
|
|
6189
|
+
}
|
|
6190
|
+
/**
|
|
6191
|
+
* Waits for a UserOperation to land. Polls the bundler's cheap
|
|
6192
|
+
* `pimlico_getUserOperationStatus` at the client's polling interval, checking
|
|
6193
|
+
* immediately, and only fetches the receipt once the bundler reports it has
|
|
6194
|
+
* been mined. Status lives in bundler memory, so `not_found` (e.g. after a
|
|
6195
|
+
* bundler restart) also checks the chain for a receipt until the deadline.
|
|
6196
|
+
* `timeoutMs` bounds every request, not just the gaps between them.
|
|
6197
|
+
*/
|
|
6198
|
+
declare function waitForPolyesterUserOperationReceipt(client: PolyesterSmartAccountClient, hash: `0x${string}`, options?: WaitForPolyesterUserOperationReceiptOptions): Promise<Awaited<ReturnType<PolyesterSmartAccountClient["waitForUserOperationReceipt"]>>>;
|
|
3111
6199
|
//#endregion
|
|
3112
|
-
export { CreateSmartAccountParams, PolyesterSmartAccountClient, PolyesterSmartAccountClientOptions, PredictPolyesterSmartAccountAddressParams, SafeSmartAccountInstance, SendPolyesterUserOperationOptions, createPolyesterSmartAccount, createPolyesterSmartAccountClient, predictPolyesterSmartAccountAddress, sendPolyesterUserOperation, warmPolyesterSmartAccountClient };
|
|
6200
|
+
export { CreateSmartAccountParams, PolyesterSmartAccountClient, PolyesterSmartAccountClientOptions, PolyesterUserOperationPhase, PredictPolyesterSmartAccountAddressParams, SafeSmartAccountInstance, SendPolyesterUserOperationOptions, WaitForPolyesterUserOperationReceiptOptions, createPolyesterSmartAccount, createPolyesterSmartAccountClient, predictPolyesterSmartAccountAddress, sendPolyesterUserOperation, waitForPolyesterUserOperationReceipt, warmPolyesterSmartAccountClient };
|
|
3113
6201
|
//# sourceMappingURL=smart-account.d.ts.map
|