@gitmyabi/kernel 1.0.16 → 1.0.17
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/README.md +3 -3
- package/contracts/Kernel_json.d.ts +348 -768
- package/contracts/Kernel_json.js +363 -902
- package/contracts/Kernel_json.ts +390 -997
- package/package.json +3 -3
|
@@ -1,46 +1,36 @@
|
|
|
1
1
|
import type { Address, PublicClient, WalletClient } from 'viem';
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* Call struct type
|
|
4
4
|
*/
|
|
5
|
-
export type
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
callData: `0x${string}`;
|
|
10
|
-
accountGasLimits: `0x${string}`;
|
|
11
|
-
preVerificationGas: bigint;
|
|
12
|
-
gasFees: `0x${string}`;
|
|
13
|
-
paymasterAndData: `0x${string}`;
|
|
14
|
-
signature: `0x${string}`;
|
|
5
|
+
export type Call = {
|
|
6
|
+
to: `0x${string}`;
|
|
7
|
+
value: bigint;
|
|
8
|
+
data: `0x${string}`;
|
|
15
9
|
};
|
|
16
10
|
/**
|
|
17
|
-
*
|
|
11
|
+
* ExecutionDetail struct type
|
|
18
12
|
*/
|
|
19
|
-
export type
|
|
20
|
-
|
|
13
|
+
export type ExecutionDetail = {
|
|
14
|
+
validAfter: bigint;
|
|
15
|
+
validUntil: bigint;
|
|
16
|
+
executor: `0x${string}`;
|
|
17
|
+
validator: `0x${string}`;
|
|
21
18
|
};
|
|
22
19
|
/**
|
|
23
|
-
*
|
|
20
|
+
* UserOperation struct type
|
|
24
21
|
*/
|
|
25
|
-
export type
|
|
22
|
+
export type UserOperation = {
|
|
23
|
+
sender: `0x${string}`;
|
|
26
24
|
nonce: bigint;
|
|
27
|
-
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
};
|
|
37
|
-
/**
|
|
38
|
-
* SelectorManager.SelectorConfig struct type
|
|
39
|
-
*/
|
|
40
|
-
export type SelectorManager_SelectorConfig = {
|
|
41
|
-
hook: `0x${string}`;
|
|
42
|
-
target: `0x${string}`;
|
|
43
|
-
callType: `0x${string}`;
|
|
25
|
+
initCode: `0x${string}`;
|
|
26
|
+
callData: `0x${string}`;
|
|
27
|
+
callGasLimit: bigint;
|
|
28
|
+
verificationGasLimit: bigint;
|
|
29
|
+
preVerificationGas: bigint;
|
|
30
|
+
maxFeePerGas: bigint;
|
|
31
|
+
maxPriorityFeePerGas: bigint;
|
|
32
|
+
paymasterAndData: `0x${string}`;
|
|
33
|
+
signature: `0x${string}`;
|
|
44
34
|
};
|
|
45
35
|
/**
|
|
46
36
|
* Kernel_json ABI
|
|
@@ -50,190 +40,65 @@ export type SelectorManager_SelectorConfig = {
|
|
|
50
40
|
export declare const Kernel_jsonAbi: readonly [{
|
|
51
41
|
readonly inputs: readonly [{
|
|
52
42
|
readonly internalType: "contract IEntryPoint";
|
|
53
|
-
readonly name: "
|
|
43
|
+
readonly name: "_entryPoint";
|
|
54
44
|
readonly type: "address";
|
|
55
45
|
}];
|
|
56
46
|
readonly stateMutability: "nonpayable";
|
|
57
47
|
readonly type: "constructor";
|
|
58
48
|
}, {
|
|
59
49
|
readonly inputs: readonly [];
|
|
60
|
-
readonly name: "
|
|
61
|
-
readonly type: "error";
|
|
62
|
-
}, {
|
|
63
|
-
readonly inputs: readonly [];
|
|
64
|
-
readonly name: "ExecutionReverted";
|
|
50
|
+
readonly name: "AlreadyInitialized";
|
|
65
51
|
readonly type: "error";
|
|
66
52
|
}, {
|
|
67
53
|
readonly inputs: readonly [];
|
|
68
|
-
readonly name: "
|
|
54
|
+
readonly name: "DeprecatedOperation";
|
|
69
55
|
readonly type: "error";
|
|
70
56
|
}, {
|
|
71
57
|
readonly inputs: readonly [];
|
|
72
|
-
readonly name: "
|
|
58
|
+
readonly name: "DisabledMode";
|
|
73
59
|
readonly type: "error";
|
|
74
60
|
}, {
|
|
75
61
|
readonly inputs: readonly [];
|
|
76
|
-
readonly name: "
|
|
62
|
+
readonly name: "NotAuthorizedCaller";
|
|
77
63
|
readonly type: "error";
|
|
78
64
|
}, {
|
|
79
65
|
readonly inputs: readonly [];
|
|
80
|
-
readonly name: "
|
|
81
|
-
readonly type: "error";
|
|
82
|
-
}, {
|
|
83
|
-
readonly inputs: readonly [];
|
|
84
|
-
readonly name: "InvalidMode";
|
|
85
|
-
readonly type: "error";
|
|
86
|
-
}, {
|
|
87
|
-
readonly inputs: readonly [];
|
|
88
|
-
readonly name: "InvalidModuleType";
|
|
89
|
-
readonly type: "error";
|
|
90
|
-
}, {
|
|
91
|
-
readonly inputs: readonly [];
|
|
92
|
-
readonly name: "InvalidNonce";
|
|
93
|
-
readonly type: "error";
|
|
94
|
-
}, {
|
|
95
|
-
readonly inputs: readonly [];
|
|
96
|
-
readonly name: "InvalidSelector";
|
|
97
|
-
readonly type: "error";
|
|
98
|
-
}, {
|
|
99
|
-
readonly inputs: readonly [];
|
|
100
|
-
readonly name: "InvalidSignature";
|
|
101
|
-
readonly type: "error";
|
|
102
|
-
}, {
|
|
103
|
-
readonly inputs: readonly [];
|
|
104
|
-
readonly name: "InvalidValidationType";
|
|
105
|
-
readonly type: "error";
|
|
106
|
-
}, {
|
|
107
|
-
readonly inputs: readonly [];
|
|
108
|
-
readonly name: "InvalidValidator";
|
|
109
|
-
readonly type: "error";
|
|
110
|
-
}, {
|
|
111
|
-
readonly inputs: readonly [];
|
|
112
|
-
readonly name: "NonceInvalidationError";
|
|
113
|
-
readonly type: "error";
|
|
114
|
-
}, {
|
|
115
|
-
readonly inputs: readonly [];
|
|
116
|
-
readonly name: "NotSupportedCallType";
|
|
117
|
-
readonly type: "error";
|
|
118
|
-
}, {
|
|
119
|
-
readonly inputs: readonly [];
|
|
120
|
-
readonly name: "OnlyExecuteUserOp";
|
|
121
|
-
readonly type: "error";
|
|
122
|
-
}, {
|
|
123
|
-
readonly inputs: readonly [];
|
|
124
|
-
readonly name: "PermissionDataLengthMismatch";
|
|
125
|
-
readonly type: "error";
|
|
126
|
-
}, {
|
|
127
|
-
readonly inputs: readonly [];
|
|
128
|
-
readonly name: "PermissionNotAlllowedForSignature";
|
|
129
|
-
readonly type: "error";
|
|
130
|
-
}, {
|
|
131
|
-
readonly inputs: readonly [];
|
|
132
|
-
readonly name: "PermissionNotAlllowedForUserOp";
|
|
133
|
-
readonly type: "error";
|
|
134
|
-
}, {
|
|
135
|
-
readonly inputs: readonly [];
|
|
136
|
-
readonly name: "PolicyDataTooLarge";
|
|
137
|
-
readonly type: "error";
|
|
138
|
-
}, {
|
|
139
|
-
readonly inputs: readonly [{
|
|
140
|
-
readonly internalType: "uint256";
|
|
141
|
-
readonly name: "i";
|
|
142
|
-
readonly type: "uint256";
|
|
143
|
-
}];
|
|
144
|
-
readonly name: "PolicyFailed";
|
|
145
|
-
readonly type: "error";
|
|
146
|
-
}, {
|
|
147
|
-
readonly inputs: readonly [];
|
|
148
|
-
readonly name: "PolicySignatureOrderError";
|
|
149
|
-
readonly type: "error";
|
|
150
|
-
}, {
|
|
151
|
-
readonly inputs: readonly [];
|
|
152
|
-
readonly name: "RootValidatorCannotBeRemoved";
|
|
153
|
-
readonly type: "error";
|
|
154
|
-
}, {
|
|
155
|
-
readonly inputs: readonly [];
|
|
156
|
-
readonly name: "SignerPrefixNotPresent";
|
|
66
|
+
readonly name: "NotEntryPoint";
|
|
157
67
|
readonly type: "error";
|
|
158
68
|
}, {
|
|
159
69
|
readonly anonymous: false;
|
|
160
70
|
readonly inputs: readonly [{
|
|
161
|
-
readonly indexed:
|
|
162
|
-
readonly internalType: "uint256";
|
|
163
|
-
readonly name: "moduleTypeId";
|
|
164
|
-
readonly type: "uint256";
|
|
165
|
-
}, {
|
|
166
|
-
readonly indexed: false;
|
|
71
|
+
readonly indexed: true;
|
|
167
72
|
readonly internalType: "address";
|
|
168
|
-
readonly name: "
|
|
73
|
+
readonly name: "oldValidator";
|
|
169
74
|
readonly type: "address";
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
readonly type: "event";
|
|
173
|
-
}, {
|
|
174
|
-
readonly anonymous: false;
|
|
175
|
-
readonly inputs: readonly [{
|
|
176
|
-
readonly indexed: false;
|
|
75
|
+
}, {
|
|
76
|
+
readonly indexed: true;
|
|
177
77
|
readonly internalType: "address";
|
|
178
|
-
readonly name: "
|
|
78
|
+
readonly name: "newValidator";
|
|
179
79
|
readonly type: "address";
|
|
180
|
-
}, {
|
|
181
|
-
readonly indexed: false;
|
|
182
|
-
readonly internalType: "bool";
|
|
183
|
-
readonly name: "result";
|
|
184
|
-
readonly type: "bool";
|
|
185
80
|
}];
|
|
186
|
-
readonly name: "
|
|
81
|
+
readonly name: "DefaultValidatorChanged";
|
|
187
82
|
readonly type: "event";
|
|
188
83
|
}, {
|
|
189
84
|
readonly anonymous: false;
|
|
190
85
|
readonly inputs: readonly [{
|
|
191
|
-
readonly indexed:
|
|
192
|
-
readonly internalType: "
|
|
193
|
-
readonly name: "
|
|
194
|
-
readonly type: "
|
|
86
|
+
readonly indexed: true;
|
|
87
|
+
readonly internalType: "bytes4";
|
|
88
|
+
readonly name: "selector";
|
|
89
|
+
readonly type: "bytes4";
|
|
195
90
|
}, {
|
|
196
|
-
readonly indexed:
|
|
91
|
+
readonly indexed: true;
|
|
197
92
|
readonly internalType: "address";
|
|
198
|
-
readonly name: "
|
|
93
|
+
readonly name: "executor";
|
|
199
94
|
readonly type: "address";
|
|
200
|
-
}];
|
|
201
|
-
readonly name: "ModuleUninstalled";
|
|
202
|
-
readonly type: "event";
|
|
203
|
-
}, {
|
|
204
|
-
readonly anonymous: false;
|
|
205
|
-
readonly inputs: readonly [{
|
|
206
|
-
readonly indexed: false;
|
|
207
|
-
readonly internalType: "uint32";
|
|
208
|
-
readonly name: "nonce";
|
|
209
|
-
readonly type: "uint32";
|
|
210
|
-
}];
|
|
211
|
-
readonly name: "NonceInvalidated";
|
|
212
|
-
readonly type: "event";
|
|
213
|
-
}, {
|
|
214
|
-
readonly anonymous: false;
|
|
215
|
-
readonly inputs: readonly [{
|
|
216
|
-
readonly indexed: false;
|
|
217
|
-
readonly internalType: "PermissionId";
|
|
218
|
-
readonly name: "permission";
|
|
219
|
-
readonly type: "bytes4";
|
|
220
95
|
}, {
|
|
221
|
-
readonly indexed:
|
|
222
|
-
readonly internalType: "
|
|
223
|
-
readonly name: "
|
|
224
|
-
readonly type: "
|
|
225
|
-
}];
|
|
226
|
-
readonly name: "PermissionInstalled";
|
|
227
|
-
readonly type: "event";
|
|
228
|
-
}, {
|
|
229
|
-
readonly anonymous: false;
|
|
230
|
-
readonly inputs: readonly [{
|
|
231
|
-
readonly indexed: false;
|
|
232
|
-
readonly internalType: "PermissionId";
|
|
233
|
-
readonly name: "permission";
|
|
234
|
-
readonly type: "bytes4";
|
|
96
|
+
readonly indexed: true;
|
|
97
|
+
readonly internalType: "address";
|
|
98
|
+
readonly name: "validator";
|
|
99
|
+
readonly type: "address";
|
|
235
100
|
}];
|
|
236
|
-
readonly name: "
|
|
101
|
+
readonly name: "ExecutionChanged";
|
|
237
102
|
readonly type: "event";
|
|
238
103
|
}, {
|
|
239
104
|
readonly anonymous: false;
|
|
@@ -250,108 +115,28 @@ export declare const Kernel_jsonAbi: readonly [{
|
|
|
250
115
|
}];
|
|
251
116
|
readonly name: "Received";
|
|
252
117
|
readonly type: "event";
|
|
253
|
-
}, {
|
|
254
|
-
readonly anonymous: false;
|
|
255
|
-
readonly inputs: readonly [{
|
|
256
|
-
readonly indexed: false;
|
|
257
|
-
readonly internalType: "ValidationId";
|
|
258
|
-
readonly name: "rootValidator";
|
|
259
|
-
readonly type: "bytes21";
|
|
260
|
-
}];
|
|
261
|
-
readonly name: "RootValidatorUpdated";
|
|
262
|
-
readonly type: "event";
|
|
263
|
-
}, {
|
|
264
|
-
readonly anonymous: false;
|
|
265
|
-
readonly inputs: readonly [{
|
|
266
|
-
readonly indexed: false;
|
|
267
|
-
readonly internalType: "bytes4";
|
|
268
|
-
readonly name: "selector";
|
|
269
|
-
readonly type: "bytes4";
|
|
270
|
-
}, {
|
|
271
|
-
readonly indexed: false;
|
|
272
|
-
readonly internalType: "ValidationId";
|
|
273
|
-
readonly name: "vId";
|
|
274
|
-
readonly type: "bytes21";
|
|
275
|
-
}, {
|
|
276
|
-
readonly indexed: false;
|
|
277
|
-
readonly internalType: "bool";
|
|
278
|
-
readonly name: "allowed";
|
|
279
|
-
readonly type: "bool";
|
|
280
|
-
}];
|
|
281
|
-
readonly name: "SelectorSet";
|
|
282
|
-
readonly type: "event";
|
|
283
|
-
}, {
|
|
284
|
-
readonly anonymous: false;
|
|
285
|
-
readonly inputs: readonly [{
|
|
286
|
-
readonly indexed: false;
|
|
287
|
-
readonly internalType: "uint256";
|
|
288
|
-
readonly name: "batchExecutionindex";
|
|
289
|
-
readonly type: "uint256";
|
|
290
|
-
}, {
|
|
291
|
-
readonly indexed: false;
|
|
292
|
-
readonly internalType: "bytes";
|
|
293
|
-
readonly name: "result";
|
|
294
|
-
readonly type: "bytes";
|
|
295
|
-
}];
|
|
296
|
-
readonly name: "TryExecuteUnsuccessful";
|
|
297
|
-
readonly type: "event";
|
|
298
118
|
}, {
|
|
299
119
|
readonly anonymous: false;
|
|
300
120
|
readonly inputs: readonly [{
|
|
301
121
|
readonly indexed: true;
|
|
302
122
|
readonly internalType: "address";
|
|
303
|
-
readonly name: "
|
|
123
|
+
readonly name: "newImplementation";
|
|
304
124
|
readonly type: "address";
|
|
305
125
|
}];
|
|
306
126
|
readonly name: "Upgraded";
|
|
307
127
|
readonly type: "event";
|
|
308
|
-
}, {
|
|
309
|
-
readonly anonymous: false;
|
|
310
|
-
readonly inputs: readonly [{
|
|
311
|
-
readonly indexed: false;
|
|
312
|
-
readonly internalType: "contract IValidator";
|
|
313
|
-
readonly name: "validator";
|
|
314
|
-
readonly type: "address";
|
|
315
|
-
}, {
|
|
316
|
-
readonly indexed: false;
|
|
317
|
-
readonly internalType: "uint32";
|
|
318
|
-
readonly name: "nonce";
|
|
319
|
-
readonly type: "uint32";
|
|
320
|
-
}];
|
|
321
|
-
readonly name: "ValidatorInstalled";
|
|
322
|
-
readonly type: "event";
|
|
323
|
-
}, {
|
|
324
|
-
readonly anonymous: false;
|
|
325
|
-
readonly inputs: readonly [{
|
|
326
|
-
readonly indexed: false;
|
|
327
|
-
readonly internalType: "contract IValidator";
|
|
328
|
-
readonly name: "validator";
|
|
329
|
-
readonly type: "address";
|
|
330
|
-
}];
|
|
331
|
-
readonly name: "ValidatorUninstalled";
|
|
332
|
-
readonly type: "event";
|
|
333
128
|
}, {
|
|
334
129
|
readonly stateMutability: "payable";
|
|
335
130
|
readonly type: "fallback";
|
|
336
131
|
}, {
|
|
337
|
-
readonly inputs: readonly [
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
readonly
|
|
341
|
-
readonly name: "accountImplementationId";
|
|
342
|
-
readonly type: "string";
|
|
343
|
-
}];
|
|
344
|
-
readonly stateMutability: "pure";
|
|
345
|
-
readonly type: "function";
|
|
346
|
-
}, {
|
|
347
|
-
readonly inputs: readonly [];
|
|
348
|
-
readonly name: "currentNonce";
|
|
349
|
-
readonly outputs: readonly [{
|
|
350
|
-
readonly internalType: "uint32";
|
|
351
|
-
readonly name: "";
|
|
352
|
-
readonly type: "uint32";
|
|
132
|
+
readonly inputs: readonly [{
|
|
133
|
+
readonly internalType: "bytes4";
|
|
134
|
+
readonly name: "_disableFlag";
|
|
135
|
+
readonly type: "bytes4";
|
|
353
136
|
}];
|
|
354
|
-
readonly
|
|
137
|
+
readonly name: "disableMode";
|
|
138
|
+
readonly outputs: readonly [];
|
|
139
|
+
readonly stateMutability: "payable";
|
|
355
140
|
readonly type: "function";
|
|
356
141
|
}, {
|
|
357
142
|
readonly inputs: readonly [];
|
|
@@ -389,7 +174,7 @@ export declare const Kernel_jsonAbi: readonly [{
|
|
|
389
174
|
readonly type: "function";
|
|
390
175
|
}, {
|
|
391
176
|
readonly inputs: readonly [];
|
|
392
|
-
readonly name: "
|
|
177
|
+
readonly name: "entryPoint";
|
|
393
178
|
readonly outputs: readonly [{
|
|
394
179
|
readonly internalType: "contract IEntryPoint";
|
|
395
180
|
readonly name: "";
|
|
@@ -399,226 +184,161 @@ export declare const Kernel_jsonAbi: readonly [{
|
|
|
399
184
|
readonly type: "function";
|
|
400
185
|
}, {
|
|
401
186
|
readonly inputs: readonly [{
|
|
402
|
-
readonly internalType: "
|
|
403
|
-
readonly name: "
|
|
404
|
-
readonly type: "
|
|
187
|
+
readonly internalType: "address";
|
|
188
|
+
readonly name: "to";
|
|
189
|
+
readonly type: "address";
|
|
190
|
+
}, {
|
|
191
|
+
readonly internalType: "uint256";
|
|
192
|
+
readonly name: "value";
|
|
193
|
+
readonly type: "uint256";
|
|
405
194
|
}, {
|
|
406
195
|
readonly internalType: "bytes";
|
|
407
|
-
readonly name: "
|
|
196
|
+
readonly name: "data";
|
|
408
197
|
readonly type: "bytes";
|
|
198
|
+
}, {
|
|
199
|
+
readonly internalType: "enum Operation";
|
|
200
|
+
readonly name: "_operation";
|
|
201
|
+
readonly type: "uint8";
|
|
409
202
|
}];
|
|
410
203
|
readonly name: "execute";
|
|
411
204
|
readonly outputs: readonly [];
|
|
412
205
|
readonly stateMutability: "payable";
|
|
413
206
|
readonly type: "function";
|
|
414
|
-
}, {
|
|
415
|
-
readonly inputs: readonly [{
|
|
416
|
-
readonly internalType: "ExecMode";
|
|
417
|
-
readonly name: "execMode";
|
|
418
|
-
readonly type: "bytes32";
|
|
419
|
-
}, {
|
|
420
|
-
readonly internalType: "bytes";
|
|
421
|
-
readonly name: "executionCalldata";
|
|
422
|
-
readonly type: "bytes";
|
|
423
|
-
}];
|
|
424
|
-
readonly name: "executeFromExecutor";
|
|
425
|
-
readonly outputs: readonly [{
|
|
426
|
-
readonly internalType: "bytes[]";
|
|
427
|
-
readonly name: "returnData";
|
|
428
|
-
readonly type: "bytes[]";
|
|
429
|
-
}];
|
|
430
|
-
readonly stateMutability: "payable";
|
|
431
|
-
readonly type: "function";
|
|
432
207
|
}, {
|
|
433
208
|
readonly inputs: readonly [{
|
|
434
209
|
readonly components: readonly [{
|
|
435
210
|
readonly internalType: "address";
|
|
436
|
-
readonly name: "
|
|
211
|
+
readonly name: "to";
|
|
437
212
|
readonly type: "address";
|
|
438
213
|
}, {
|
|
439
214
|
readonly internalType: "uint256";
|
|
440
|
-
readonly name: "
|
|
215
|
+
readonly name: "value";
|
|
441
216
|
readonly type: "uint256";
|
|
442
217
|
}, {
|
|
443
218
|
readonly internalType: "bytes";
|
|
444
|
-
readonly name: "
|
|
445
|
-
readonly type: "bytes";
|
|
446
|
-
}, {
|
|
447
|
-
readonly internalType: "bytes";
|
|
448
|
-
readonly name: "callData";
|
|
449
|
-
readonly type: "bytes";
|
|
450
|
-
}, {
|
|
451
|
-
readonly internalType: "bytes32";
|
|
452
|
-
readonly name: "accountGasLimits";
|
|
453
|
-
readonly type: "bytes32";
|
|
454
|
-
}, {
|
|
455
|
-
readonly internalType: "uint256";
|
|
456
|
-
readonly name: "preVerificationGas";
|
|
457
|
-
readonly type: "uint256";
|
|
458
|
-
}, {
|
|
459
|
-
readonly internalType: "bytes32";
|
|
460
|
-
readonly name: "gasFees";
|
|
461
|
-
readonly type: "bytes32";
|
|
462
|
-
}, {
|
|
463
|
-
readonly internalType: "bytes";
|
|
464
|
-
readonly name: "paymasterAndData";
|
|
465
|
-
readonly type: "bytes";
|
|
466
|
-
}, {
|
|
467
|
-
readonly internalType: "bytes";
|
|
468
|
-
readonly name: "signature";
|
|
219
|
+
readonly name: "data";
|
|
469
220
|
readonly type: "bytes";
|
|
470
221
|
}];
|
|
471
|
-
readonly internalType: "struct
|
|
472
|
-
readonly name: "
|
|
473
|
-
readonly type: "tuple";
|
|
474
|
-
}, {
|
|
475
|
-
readonly internalType: "bytes32";
|
|
476
|
-
readonly name: "userOpHash";
|
|
477
|
-
readonly type: "bytes32";
|
|
222
|
+
readonly internalType: "struct Call[]";
|
|
223
|
+
readonly name: "calls";
|
|
224
|
+
readonly type: "tuple[]";
|
|
478
225
|
}];
|
|
479
|
-
readonly name: "
|
|
226
|
+
readonly name: "executeBatch";
|
|
480
227
|
readonly outputs: readonly [];
|
|
481
228
|
readonly stateMutability: "payable";
|
|
482
229
|
readonly type: "function";
|
|
483
230
|
}, {
|
|
484
231
|
readonly inputs: readonly [{
|
|
485
|
-
readonly internalType: "
|
|
486
|
-
readonly name: "
|
|
487
|
-
readonly type: "address";
|
|
488
|
-
}];
|
|
489
|
-
readonly name: "executorConfig";
|
|
490
|
-
readonly outputs: readonly [{
|
|
491
|
-
readonly components: readonly [{
|
|
492
|
-
readonly internalType: "contract IHook";
|
|
493
|
-
readonly name: "hook";
|
|
494
|
-
readonly type: "address";
|
|
495
|
-
}];
|
|
496
|
-
readonly internalType: "struct ExecutorManager.ExecutorConfig";
|
|
497
|
-
readonly name: "";
|
|
498
|
-
readonly type: "tuple";
|
|
499
|
-
}];
|
|
500
|
-
readonly stateMutability: "view";
|
|
501
|
-
readonly type: "function";
|
|
502
|
-
}, {
|
|
503
|
-
readonly inputs: readonly [{
|
|
504
|
-
readonly internalType: "ValidationId";
|
|
505
|
-
readonly name: "_rootValidator";
|
|
506
|
-
readonly type: "bytes21";
|
|
507
|
-
}, {
|
|
508
|
-
readonly internalType: "contract IHook";
|
|
509
|
-
readonly name: "hook";
|
|
232
|
+
readonly internalType: "address";
|
|
233
|
+
readonly name: "to";
|
|
510
234
|
readonly type: "address";
|
|
511
235
|
}, {
|
|
512
236
|
readonly internalType: "bytes";
|
|
513
|
-
readonly name: "
|
|
514
|
-
readonly type: "bytes";
|
|
515
|
-
}, {
|
|
516
|
-
readonly internalType: "bytes";
|
|
517
|
-
readonly name: "hookData";
|
|
237
|
+
readonly name: "data";
|
|
518
238
|
readonly type: "bytes";
|
|
519
239
|
}];
|
|
520
|
-
readonly name: "
|
|
240
|
+
readonly name: "executeDelegateCall";
|
|
521
241
|
readonly outputs: readonly [];
|
|
522
|
-
readonly stateMutability: "
|
|
242
|
+
readonly stateMutability: "payable";
|
|
523
243
|
readonly type: "function";
|
|
524
244
|
}, {
|
|
525
|
-
readonly inputs: readonly [
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
readonly
|
|
529
|
-
|
|
530
|
-
readonly internalType: "address";
|
|
531
|
-
readonly name: "module";
|
|
245
|
+
readonly inputs: readonly [];
|
|
246
|
+
readonly name: "getDefaultValidator";
|
|
247
|
+
readonly outputs: readonly [{
|
|
248
|
+
readonly internalType: "contract IKernelValidator";
|
|
249
|
+
readonly name: "validator";
|
|
532
250
|
readonly type: "address";
|
|
533
|
-
}, {
|
|
534
|
-
readonly internalType: "bytes";
|
|
535
|
-
readonly name: "initData";
|
|
536
|
-
readonly type: "bytes";
|
|
537
251
|
}];
|
|
538
|
-
readonly
|
|
539
|
-
readonly
|
|
540
|
-
|
|
252
|
+
readonly stateMutability: "view";
|
|
253
|
+
readonly type: "function";
|
|
254
|
+
}, {
|
|
255
|
+
readonly inputs: readonly [];
|
|
256
|
+
readonly name: "getDisabledMode";
|
|
257
|
+
readonly outputs: readonly [{
|
|
258
|
+
readonly internalType: "bytes4";
|
|
259
|
+
readonly name: "disabled";
|
|
260
|
+
readonly type: "bytes4";
|
|
261
|
+
}];
|
|
262
|
+
readonly stateMutability: "view";
|
|
541
263
|
readonly type: "function";
|
|
542
264
|
}, {
|
|
543
265
|
readonly inputs: readonly [{
|
|
544
|
-
readonly internalType: "
|
|
545
|
-
readonly name: "
|
|
546
|
-
readonly type: "
|
|
547
|
-
}
|
|
266
|
+
readonly internalType: "bytes4";
|
|
267
|
+
readonly name: "_selector";
|
|
268
|
+
readonly type: "bytes4";
|
|
269
|
+
}];
|
|
270
|
+
readonly name: "getExecution";
|
|
271
|
+
readonly outputs: readonly [{
|
|
548
272
|
readonly components: readonly [{
|
|
549
|
-
readonly internalType: "
|
|
550
|
-
readonly name: "
|
|
551
|
-
readonly type: "
|
|
273
|
+
readonly internalType: "ValidAfter";
|
|
274
|
+
readonly name: "validAfter";
|
|
275
|
+
readonly type: "uint48";
|
|
276
|
+
}, {
|
|
277
|
+
readonly internalType: "ValidUntil";
|
|
278
|
+
readonly name: "validUntil";
|
|
279
|
+
readonly type: "uint48";
|
|
280
|
+
}, {
|
|
281
|
+
readonly internalType: "address";
|
|
282
|
+
readonly name: "executor";
|
|
283
|
+
readonly type: "address";
|
|
552
284
|
}, {
|
|
553
|
-
readonly internalType: "contract
|
|
554
|
-
readonly name: "
|
|
285
|
+
readonly internalType: "contract IKernelValidator";
|
|
286
|
+
readonly name: "validator";
|
|
555
287
|
readonly type: "address";
|
|
556
288
|
}];
|
|
557
|
-
readonly internalType: "struct
|
|
558
|
-
readonly name: "
|
|
559
|
-
readonly type: "tuple
|
|
560
|
-
}, {
|
|
561
|
-
readonly internalType: "bytes[]";
|
|
562
|
-
readonly name: "validationData";
|
|
563
|
-
readonly type: "bytes[]";
|
|
564
|
-
}, {
|
|
565
|
-
readonly internalType: "bytes[]";
|
|
566
|
-
readonly name: "hookData";
|
|
567
|
-
readonly type: "bytes[]";
|
|
289
|
+
readonly internalType: "struct ExecutionDetail";
|
|
290
|
+
readonly name: "";
|
|
291
|
+
readonly type: "tuple";
|
|
568
292
|
}];
|
|
569
|
-
readonly
|
|
570
|
-
readonly outputs: readonly [];
|
|
571
|
-
readonly stateMutability: "payable";
|
|
293
|
+
readonly stateMutability: "view";
|
|
572
294
|
readonly type: "function";
|
|
573
295
|
}, {
|
|
574
|
-
readonly inputs: readonly [
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
readonly
|
|
296
|
+
readonly inputs: readonly [];
|
|
297
|
+
readonly name: "getLastDisabledTime";
|
|
298
|
+
readonly outputs: readonly [{
|
|
299
|
+
readonly internalType: "uint48";
|
|
300
|
+
readonly name: "";
|
|
301
|
+
readonly type: "uint48";
|
|
578
302
|
}];
|
|
579
|
-
readonly
|
|
580
|
-
readonly outputs: readonly [];
|
|
581
|
-
readonly stateMutability: "payable";
|
|
303
|
+
readonly stateMutability: "view";
|
|
582
304
|
readonly type: "function";
|
|
583
305
|
}, {
|
|
584
306
|
readonly inputs: readonly [{
|
|
585
|
-
readonly internalType: "
|
|
586
|
-
readonly name: "
|
|
587
|
-
readonly type: "
|
|
588
|
-
}, {
|
|
589
|
-
readonly internalType: "bytes4";
|
|
590
|
-
readonly name: "selector";
|
|
591
|
-
readonly type: "bytes4";
|
|
307
|
+
readonly internalType: "uint192";
|
|
308
|
+
readonly name: "key";
|
|
309
|
+
readonly type: "uint192";
|
|
592
310
|
}];
|
|
593
|
-
readonly name: "
|
|
311
|
+
readonly name: "getNonce";
|
|
594
312
|
readonly outputs: readonly [{
|
|
595
|
-
readonly internalType: "
|
|
313
|
+
readonly internalType: "uint256";
|
|
596
314
|
readonly name: "";
|
|
597
|
-
readonly type: "
|
|
315
|
+
readonly type: "uint256";
|
|
598
316
|
}];
|
|
599
317
|
readonly stateMutability: "view";
|
|
600
318
|
readonly type: "function";
|
|
601
319
|
}, {
|
|
602
|
-
readonly inputs: readonly [
|
|
320
|
+
readonly inputs: readonly [];
|
|
321
|
+
readonly name: "getNonce";
|
|
322
|
+
readonly outputs: readonly [{
|
|
603
323
|
readonly internalType: "uint256";
|
|
604
|
-
readonly name: "
|
|
324
|
+
readonly name: "";
|
|
605
325
|
readonly type: "uint256";
|
|
606
|
-
}
|
|
607
|
-
|
|
608
|
-
|
|
326
|
+
}];
|
|
327
|
+
readonly stateMutability: "view";
|
|
328
|
+
readonly type: "function";
|
|
329
|
+
}, {
|
|
330
|
+
readonly inputs: readonly [{
|
|
331
|
+
readonly internalType: "contract IKernelValidator";
|
|
332
|
+
readonly name: "_defaultValidator";
|
|
609
333
|
readonly type: "address";
|
|
610
334
|
}, {
|
|
611
335
|
readonly internalType: "bytes";
|
|
612
|
-
readonly name: "
|
|
336
|
+
readonly name: "_data";
|
|
613
337
|
readonly type: "bytes";
|
|
614
338
|
}];
|
|
615
|
-
readonly name: "
|
|
616
|
-
readonly outputs: readonly [
|
|
617
|
-
|
|
618
|
-
readonly name: "";
|
|
619
|
-
readonly type: "bool";
|
|
620
|
-
}];
|
|
621
|
-
readonly stateMutability: "view";
|
|
339
|
+
readonly name: "initialize";
|
|
340
|
+
readonly outputs: readonly [];
|
|
341
|
+
readonly stateMutability: "payable";
|
|
622
342
|
readonly type: "function";
|
|
623
343
|
}, {
|
|
624
344
|
readonly inputs: readonly [{
|
|
@@ -638,131 +358,143 @@ export declare const Kernel_jsonAbi: readonly [{
|
|
|
638
358
|
}];
|
|
639
359
|
readonly stateMutability: "view";
|
|
640
360
|
readonly type: "function";
|
|
641
|
-
}, {
|
|
642
|
-
readonly inputs: readonly [{
|
|
643
|
-
readonly internalType: "PermissionId";
|
|
644
|
-
readonly name: "pId";
|
|
645
|
-
readonly type: "bytes4";
|
|
646
|
-
}];
|
|
647
|
-
readonly name: "permissionConfig";
|
|
648
|
-
readonly outputs: readonly [{
|
|
649
|
-
readonly components: readonly [{
|
|
650
|
-
readonly internalType: "PassFlag";
|
|
651
|
-
readonly name: "permissionFlag";
|
|
652
|
-
readonly type: "bytes2";
|
|
653
|
-
}, {
|
|
654
|
-
readonly internalType: "contract ISigner";
|
|
655
|
-
readonly name: "signer";
|
|
656
|
-
readonly type: "address";
|
|
657
|
-
}, {
|
|
658
|
-
readonly internalType: "PolicyData[]";
|
|
659
|
-
readonly name: "policyData";
|
|
660
|
-
readonly type: "bytes22[]";
|
|
661
|
-
}];
|
|
662
|
-
readonly internalType: "struct ValidationManager.PermissionConfig";
|
|
663
|
-
readonly name: "";
|
|
664
|
-
readonly type: "tuple";
|
|
665
|
-
}];
|
|
666
|
-
readonly stateMutability: "view";
|
|
667
|
-
readonly type: "function";
|
|
668
361
|
}, {
|
|
669
362
|
readonly inputs: readonly [];
|
|
670
|
-
readonly name: "
|
|
671
|
-
readonly outputs: readonly [{
|
|
672
|
-
readonly internalType: "
|
|
673
|
-
readonly name: "";
|
|
674
|
-
readonly type: "bytes21";
|
|
675
|
-
}];
|
|
676
|
-
readonly stateMutability: "view";
|
|
677
|
-
readonly type: "function";
|
|
678
|
-
}, {
|
|
679
|
-
readonly inputs: readonly [{
|
|
680
|
-
readonly internalType: "bytes4";
|
|
681
|
-
readonly name: "selector";
|
|
682
|
-
readonly type: "bytes4";
|
|
683
|
-
}];
|
|
684
|
-
readonly name: "selectorConfig";
|
|
685
|
-
readonly outputs: readonly [{
|
|
686
|
-
readonly components: readonly [{
|
|
687
|
-
readonly internalType: "contract IHook";
|
|
688
|
-
readonly name: "hook";
|
|
689
|
-
readonly type: "address";
|
|
690
|
-
}, {
|
|
691
|
-
readonly internalType: "address";
|
|
692
|
-
readonly name: "target";
|
|
693
|
-
readonly type: "address";
|
|
694
|
-
}, {
|
|
695
|
-
readonly internalType: "CallType";
|
|
696
|
-
readonly name: "callType";
|
|
697
|
-
readonly type: "bytes1";
|
|
698
|
-
}];
|
|
699
|
-
readonly internalType: "struct SelectorManager.SelectorConfig";
|
|
363
|
+
readonly name: "name";
|
|
364
|
+
readonly outputs: readonly [{
|
|
365
|
+
readonly internalType: "string";
|
|
700
366
|
readonly name: "";
|
|
701
|
-
readonly type: "
|
|
367
|
+
readonly type: "string";
|
|
702
368
|
}];
|
|
703
369
|
readonly stateMutability: "view";
|
|
704
370
|
readonly type: "function";
|
|
705
371
|
}, {
|
|
706
372
|
readonly inputs: readonly [{
|
|
707
|
-
readonly internalType: "
|
|
708
|
-
readonly name: "
|
|
709
|
-
readonly type: "
|
|
373
|
+
readonly internalType: "address";
|
|
374
|
+
readonly name: "";
|
|
375
|
+
readonly type: "address";
|
|
376
|
+
}, {
|
|
377
|
+
readonly internalType: "address";
|
|
378
|
+
readonly name: "";
|
|
379
|
+
readonly type: "address";
|
|
380
|
+
}, {
|
|
381
|
+
readonly internalType: "uint256[]";
|
|
382
|
+
readonly name: "";
|
|
383
|
+
readonly type: "uint256[]";
|
|
384
|
+
}, {
|
|
385
|
+
readonly internalType: "uint256[]";
|
|
386
|
+
readonly name: "";
|
|
387
|
+
readonly type: "uint256[]";
|
|
388
|
+
}, {
|
|
389
|
+
readonly internalType: "bytes";
|
|
390
|
+
readonly name: "";
|
|
391
|
+
readonly type: "bytes";
|
|
710
392
|
}];
|
|
711
|
-
readonly name: "
|
|
393
|
+
readonly name: "onERC1155BatchReceived";
|
|
712
394
|
readonly outputs: readonly [{
|
|
713
|
-
readonly internalType: "
|
|
395
|
+
readonly internalType: "bytes4";
|
|
714
396
|
readonly name: "";
|
|
715
|
-
readonly type: "
|
|
397
|
+
readonly type: "bytes4";
|
|
716
398
|
}];
|
|
717
399
|
readonly stateMutability: "pure";
|
|
718
400
|
readonly type: "function";
|
|
719
401
|
}, {
|
|
720
402
|
readonly inputs: readonly [{
|
|
403
|
+
readonly internalType: "address";
|
|
404
|
+
readonly name: "";
|
|
405
|
+
readonly type: "address";
|
|
406
|
+
}, {
|
|
407
|
+
readonly internalType: "address";
|
|
408
|
+
readonly name: "";
|
|
409
|
+
readonly type: "address";
|
|
410
|
+
}, {
|
|
411
|
+
readonly internalType: "uint256";
|
|
412
|
+
readonly name: "";
|
|
413
|
+
readonly type: "uint256";
|
|
414
|
+
}, {
|
|
721
415
|
readonly internalType: "uint256";
|
|
722
|
-
readonly name: "
|
|
416
|
+
readonly name: "";
|
|
723
417
|
readonly type: "uint256";
|
|
418
|
+
}, {
|
|
419
|
+
readonly internalType: "bytes";
|
|
420
|
+
readonly name: "";
|
|
421
|
+
readonly type: "bytes";
|
|
724
422
|
}];
|
|
725
|
-
readonly name: "
|
|
423
|
+
readonly name: "onERC1155Received";
|
|
726
424
|
readonly outputs: readonly [{
|
|
727
|
-
readonly internalType: "
|
|
425
|
+
readonly internalType: "bytes4";
|
|
728
426
|
readonly name: "";
|
|
729
|
-
readonly type: "
|
|
427
|
+
readonly type: "bytes4";
|
|
730
428
|
}];
|
|
731
429
|
readonly stateMutability: "pure";
|
|
732
430
|
readonly type: "function";
|
|
733
431
|
}, {
|
|
734
432
|
readonly inputs: readonly [{
|
|
433
|
+
readonly internalType: "address";
|
|
434
|
+
readonly name: "";
|
|
435
|
+
readonly type: "address";
|
|
436
|
+
}, {
|
|
437
|
+
readonly internalType: "address";
|
|
438
|
+
readonly name: "";
|
|
439
|
+
readonly type: "address";
|
|
440
|
+
}, {
|
|
735
441
|
readonly internalType: "uint256";
|
|
736
|
-
readonly name: "
|
|
442
|
+
readonly name: "";
|
|
737
443
|
readonly type: "uint256";
|
|
738
444
|
}, {
|
|
739
|
-
readonly internalType: "
|
|
740
|
-
readonly name: "
|
|
445
|
+
readonly internalType: "bytes";
|
|
446
|
+
readonly name: "";
|
|
447
|
+
readonly type: "bytes";
|
|
448
|
+
}];
|
|
449
|
+
readonly name: "onERC721Received";
|
|
450
|
+
readonly outputs: readonly [{
|
|
451
|
+
readonly internalType: "bytes4";
|
|
452
|
+
readonly name: "";
|
|
453
|
+
readonly type: "bytes4";
|
|
454
|
+
}];
|
|
455
|
+
readonly stateMutability: "pure";
|
|
456
|
+
readonly type: "function";
|
|
457
|
+
}, {
|
|
458
|
+
readonly inputs: readonly [{
|
|
459
|
+
readonly internalType: "contract IKernelValidator";
|
|
460
|
+
readonly name: "_defaultValidator";
|
|
741
461
|
readonly type: "address";
|
|
742
462
|
}, {
|
|
743
463
|
readonly internalType: "bytes";
|
|
744
|
-
readonly name: "
|
|
464
|
+
readonly name: "_data";
|
|
745
465
|
readonly type: "bytes";
|
|
746
466
|
}];
|
|
747
|
-
readonly name: "
|
|
467
|
+
readonly name: "setDefaultValidator";
|
|
748
468
|
readonly outputs: readonly [];
|
|
749
469
|
readonly stateMutability: "payable";
|
|
750
470
|
readonly type: "function";
|
|
751
471
|
}, {
|
|
752
472
|
readonly inputs: readonly [{
|
|
753
|
-
readonly internalType: "
|
|
754
|
-
readonly name: "
|
|
755
|
-
readonly type: "
|
|
473
|
+
readonly internalType: "bytes4";
|
|
474
|
+
readonly name: "_selector";
|
|
475
|
+
readonly type: "bytes4";
|
|
756
476
|
}, {
|
|
757
|
-
readonly internalType: "
|
|
758
|
-
readonly name: "
|
|
759
|
-
readonly type: "
|
|
477
|
+
readonly internalType: "address";
|
|
478
|
+
readonly name: "_executor";
|
|
479
|
+
readonly type: "address";
|
|
480
|
+
}, {
|
|
481
|
+
readonly internalType: "contract IKernelValidator";
|
|
482
|
+
readonly name: "_validator";
|
|
483
|
+
readonly type: "address";
|
|
484
|
+
}, {
|
|
485
|
+
readonly internalType: "ValidUntil";
|
|
486
|
+
readonly name: "_validUntil";
|
|
487
|
+
readonly type: "uint48";
|
|
488
|
+
}, {
|
|
489
|
+
readonly internalType: "ValidAfter";
|
|
490
|
+
readonly name: "_validAfter";
|
|
491
|
+
readonly type: "uint48";
|
|
760
492
|
}, {
|
|
761
493
|
readonly internalType: "bytes";
|
|
762
|
-
readonly name: "
|
|
494
|
+
readonly name: "_enableData";
|
|
763
495
|
readonly type: "bytes";
|
|
764
496
|
}];
|
|
765
|
-
readonly name: "
|
|
497
|
+
readonly name: "setExecution";
|
|
766
498
|
readonly outputs: readonly [];
|
|
767
499
|
readonly stateMutability: "payable";
|
|
768
500
|
readonly type: "function";
|
|
@@ -777,12 +509,20 @@ export declare const Kernel_jsonAbi: readonly [{
|
|
|
777
509
|
readonly stateMutability: "payable";
|
|
778
510
|
readonly type: "function";
|
|
779
511
|
}, {
|
|
780
|
-
readonly inputs: readonly [
|
|
781
|
-
|
|
512
|
+
readonly inputs: readonly [{
|
|
513
|
+
readonly internalType: "bytes32";
|
|
514
|
+
readonly name: "hash";
|
|
515
|
+
readonly type: "bytes32";
|
|
516
|
+
}, {
|
|
517
|
+
readonly internalType: "bytes";
|
|
518
|
+
readonly name: "signature";
|
|
519
|
+
readonly type: "bytes";
|
|
520
|
+
}];
|
|
521
|
+
readonly name: "validateSignature";
|
|
782
522
|
readonly outputs: readonly [{
|
|
783
|
-
readonly internalType: "
|
|
523
|
+
readonly internalType: "ValidationData";
|
|
784
524
|
readonly name: "";
|
|
785
|
-
readonly type: "
|
|
525
|
+
readonly type: "uint256";
|
|
786
526
|
}];
|
|
787
527
|
readonly stateMutability: "view";
|
|
788
528
|
readonly type: "function";
|
|
@@ -805,17 +545,25 @@ export declare const Kernel_jsonAbi: readonly [{
|
|
|
805
545
|
readonly name: "callData";
|
|
806
546
|
readonly type: "bytes";
|
|
807
547
|
}, {
|
|
808
|
-
readonly internalType: "
|
|
809
|
-
readonly name: "
|
|
810
|
-
readonly type: "
|
|
548
|
+
readonly internalType: "uint256";
|
|
549
|
+
readonly name: "callGasLimit";
|
|
550
|
+
readonly type: "uint256";
|
|
551
|
+
}, {
|
|
552
|
+
readonly internalType: "uint256";
|
|
553
|
+
readonly name: "verificationGasLimit";
|
|
554
|
+
readonly type: "uint256";
|
|
811
555
|
}, {
|
|
812
556
|
readonly internalType: "uint256";
|
|
813
557
|
readonly name: "preVerificationGas";
|
|
814
558
|
readonly type: "uint256";
|
|
815
559
|
}, {
|
|
816
|
-
readonly internalType: "
|
|
817
|
-
readonly name: "
|
|
818
|
-
readonly type: "
|
|
560
|
+
readonly internalType: "uint256";
|
|
561
|
+
readonly name: "maxFeePerGas";
|
|
562
|
+
readonly type: "uint256";
|
|
563
|
+
}, {
|
|
564
|
+
readonly internalType: "uint256";
|
|
565
|
+
readonly name: "maxPriorityFeePerGas";
|
|
566
|
+
readonly type: "uint256";
|
|
819
567
|
}, {
|
|
820
568
|
readonly internalType: "bytes";
|
|
821
569
|
readonly name: "paymasterAndData";
|
|
@@ -825,8 +573,8 @@ export declare const Kernel_jsonAbi: readonly [{
|
|
|
825
573
|
readonly name: "signature";
|
|
826
574
|
readonly type: "bytes";
|
|
827
575
|
}];
|
|
828
|
-
readonly internalType: "struct
|
|
829
|
-
readonly name: "
|
|
576
|
+
readonly internalType: "struct UserOperation";
|
|
577
|
+
readonly name: "_userOp";
|
|
830
578
|
readonly type: "tuple";
|
|
831
579
|
}, {
|
|
832
580
|
readonly internalType: "bytes32";
|
|
@@ -846,25 +594,12 @@ export declare const Kernel_jsonAbi: readonly [{
|
|
|
846
594
|
readonly stateMutability: "payable";
|
|
847
595
|
readonly type: "function";
|
|
848
596
|
}, {
|
|
849
|
-
readonly inputs: readonly [
|
|
850
|
-
|
|
851
|
-
readonly name: "vId";
|
|
852
|
-
readonly type: "bytes21";
|
|
853
|
-
}];
|
|
854
|
-
readonly name: "validationConfig";
|
|
597
|
+
readonly inputs: readonly [];
|
|
598
|
+
readonly name: "version";
|
|
855
599
|
readonly outputs: readonly [{
|
|
856
|
-
readonly
|
|
857
|
-
readonly internalType: "uint32";
|
|
858
|
-
readonly name: "nonce";
|
|
859
|
-
readonly type: "uint32";
|
|
860
|
-
}, {
|
|
861
|
-
readonly internalType: "contract IHook";
|
|
862
|
-
readonly name: "hook";
|
|
863
|
-
readonly type: "address";
|
|
864
|
-
}];
|
|
865
|
-
readonly internalType: "struct ValidationManager.ValidationConfig";
|
|
600
|
+
readonly internalType: "string";
|
|
866
601
|
readonly name: "";
|
|
867
|
-
readonly type: "
|
|
602
|
+
readonly type: "string";
|
|
868
603
|
}];
|
|
869
604
|
readonly stateMutability: "view";
|
|
870
605
|
readonly type: "function";
|
|
@@ -928,104 +663,79 @@ export declare class Kernel_json {
|
|
|
928
663
|
* Get the underlying viem contract instance
|
|
929
664
|
*/
|
|
930
665
|
getContract(): Kernel_jsonContract;
|
|
931
|
-
/**
|
|
932
|
-
* accountId
|
|
933
|
-
* pure
|
|
934
|
-
*/
|
|
935
|
-
accountId(): Promise<string>;
|
|
936
|
-
/**
|
|
937
|
-
* currentNonce
|
|
938
|
-
* view
|
|
939
|
-
*/
|
|
940
|
-
currentNonce(): Promise<bigint>;
|
|
941
666
|
/**
|
|
942
667
|
* eip712Domain
|
|
943
668
|
* view
|
|
944
669
|
*/
|
|
945
670
|
eip712Domain(): Promise<[`0x${string}`, string, string, bigint, `0x${string}`, `0x${string}`, bigint[]]>;
|
|
946
671
|
/**
|
|
947
|
-
*
|
|
672
|
+
* entryPoint
|
|
948
673
|
* view
|
|
949
674
|
*/
|
|
950
|
-
|
|
675
|
+
entryPoint(): Promise<`0x${string}`>;
|
|
951
676
|
/**
|
|
952
|
-
*
|
|
677
|
+
* getDefaultValidator
|
|
953
678
|
* view
|
|
954
679
|
*/
|
|
955
|
-
|
|
680
|
+
getDefaultValidator(): Promise<`0x${string}`>;
|
|
956
681
|
/**
|
|
957
|
-
*
|
|
682
|
+
* getDisabledMode
|
|
958
683
|
* view
|
|
959
684
|
*/
|
|
960
|
-
|
|
685
|
+
getDisabledMode(): Promise<`0x${string}`>;
|
|
961
686
|
/**
|
|
962
|
-
*
|
|
687
|
+
* getExecution
|
|
963
688
|
* view
|
|
964
689
|
*/
|
|
965
|
-
|
|
690
|
+
getExecution(_selector: `0x${string}`): Promise<ExecutionDetail>;
|
|
966
691
|
/**
|
|
967
|
-
*
|
|
692
|
+
* getLastDisabledTime
|
|
968
693
|
* view
|
|
969
694
|
*/
|
|
970
|
-
|
|
695
|
+
getLastDisabledTime(): Promise<bigint>;
|
|
696
|
+
getNonce(key: bigint): Promise<bigint>;
|
|
697
|
+
getNonce(): Promise<bigint>;
|
|
971
698
|
/**
|
|
972
|
-
*
|
|
699
|
+
* isValidSignature
|
|
973
700
|
* view
|
|
974
701
|
*/
|
|
975
|
-
|
|
702
|
+
isValidSignature(hash: `0x${string}`, signature: `0x${string}`): Promise<`0x${string}`>;
|
|
976
703
|
/**
|
|
977
|
-
*
|
|
704
|
+
* name
|
|
978
705
|
* view
|
|
979
706
|
*/
|
|
980
|
-
|
|
707
|
+
name(): Promise<string>;
|
|
981
708
|
/**
|
|
982
|
-
*
|
|
983
|
-
*
|
|
709
|
+
* onERC1155BatchReceived
|
|
710
|
+
* pure
|
|
984
711
|
*/
|
|
985
|
-
|
|
712
|
+
onERC1155BatchReceived(arg0: `0x${string}`, arg1: `0x${string}`, arg2: bigint[], arg3: bigint[], arg4: `0x${string}`): Promise<`0x${string}`>;
|
|
986
713
|
/**
|
|
987
|
-
*
|
|
714
|
+
* onERC1155Received
|
|
988
715
|
* pure
|
|
989
716
|
*/
|
|
990
|
-
|
|
717
|
+
onERC1155Received(arg0: `0x${string}`, arg1: `0x${string}`, arg2: bigint, arg3: bigint, arg4: `0x${string}`): Promise<`0x${string}`>;
|
|
991
718
|
/**
|
|
992
|
-
*
|
|
719
|
+
* onERC721Received
|
|
993
720
|
* pure
|
|
994
721
|
*/
|
|
995
|
-
|
|
722
|
+
onERC721Received(arg0: `0x${string}`, arg1: `0x${string}`, arg2: bigint, arg3: `0x${string}`): Promise<`0x${string}`>;
|
|
996
723
|
/**
|
|
997
|
-
*
|
|
724
|
+
* validateSignature
|
|
998
725
|
* view
|
|
999
726
|
*/
|
|
1000
|
-
|
|
727
|
+
validateSignature(hash: `0x${string}`, signature: `0x${string}`): Promise<bigint>;
|
|
1001
728
|
/**
|
|
1002
|
-
*
|
|
729
|
+
* version
|
|
1003
730
|
* view
|
|
1004
731
|
*/
|
|
1005
|
-
|
|
1006
|
-
/**
|
|
1007
|
-
* execute
|
|
1008
|
-
* payable
|
|
1009
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1010
|
-
*/
|
|
1011
|
-
execute(execMode: `0x${string}`, executionCalldata: `0x${string}`, options?: {
|
|
1012
|
-
accessList?: import('viem').AccessList;
|
|
1013
|
-
authorizationList?: import('viem').AuthorizationList;
|
|
1014
|
-
chain?: import('viem').Chain | null;
|
|
1015
|
-
dataSuffix?: `0x${string}`;
|
|
1016
|
-
gas?: bigint;
|
|
1017
|
-
gasPrice?: bigint;
|
|
1018
|
-
maxFeePerGas?: bigint;
|
|
1019
|
-
maxPriorityFeePerGas?: bigint;
|
|
1020
|
-
nonce?: number;
|
|
1021
|
-
value?: bigint;
|
|
1022
|
-
}): Promise<`0x${string}`>;
|
|
732
|
+
version(): Promise<string>;
|
|
1023
733
|
/**
|
|
1024
|
-
*
|
|
734
|
+
* disableMode
|
|
1025
735
|
* payable
|
|
1026
736
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1027
737
|
*/
|
|
1028
|
-
|
|
738
|
+
disableMode(_disableFlag: `0x${string}`, options?: {
|
|
1029
739
|
accessList?: import('viem').AccessList;
|
|
1030
740
|
authorizationList?: import('viem').AuthorizationList;
|
|
1031
741
|
chain?: import('viem').Chain | null;
|
|
@@ -1038,28 +748,11 @@ export declare class Kernel_json {
|
|
|
1038
748
|
value?: bigint;
|
|
1039
749
|
}): Promise<`0x${string}`>;
|
|
1040
750
|
/**
|
|
1041
|
-
*
|
|
751
|
+
* execute
|
|
1042
752
|
* payable
|
|
1043
753
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1044
754
|
*/
|
|
1045
|
-
|
|
1046
|
-
accessList?: import('viem').AccessList;
|
|
1047
|
-
authorizationList?: import('viem').AuthorizationList;
|
|
1048
|
-
chain?: import('viem').Chain | null;
|
|
1049
|
-
dataSuffix?: `0x${string}`;
|
|
1050
|
-
gas?: bigint;
|
|
1051
|
-
gasPrice?: bigint;
|
|
1052
|
-
maxFeePerGas?: bigint;
|
|
1053
|
-
maxPriorityFeePerGas?: bigint;
|
|
1054
|
-
nonce?: number;
|
|
1055
|
-
value?: bigint;
|
|
1056
|
-
}): Promise<`0x${string}`>;
|
|
1057
|
-
/**
|
|
1058
|
-
* initialize
|
|
1059
|
-
* nonpayable
|
|
1060
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1061
|
-
*/
|
|
1062
|
-
initialize(_rootValidator: `0x${string}`, hook: `0x${string}`, validatorData: `0x${string}`, hookData: `0x${string}`, options?: {
|
|
755
|
+
execute(to: `0x${string}`, value: bigint, data: `0x${string}`, _operation: bigint, options?: {
|
|
1063
756
|
accessList?: import('viem').AccessList;
|
|
1064
757
|
authorizationList?: import('viem').AuthorizationList;
|
|
1065
758
|
chain?: import('viem').Chain | null;
|
|
@@ -1072,11 +765,11 @@ export declare class Kernel_json {
|
|
|
1072
765
|
value?: bigint;
|
|
1073
766
|
}): Promise<`0x${string}`>;
|
|
1074
767
|
/**
|
|
1075
|
-
*
|
|
768
|
+
* executeBatch
|
|
1076
769
|
* payable
|
|
1077
770
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1078
771
|
*/
|
|
1079
|
-
|
|
772
|
+
executeBatch(calls: Call[], options?: {
|
|
1080
773
|
accessList?: import('viem').AccessList;
|
|
1081
774
|
authorizationList?: import('viem').AuthorizationList;
|
|
1082
775
|
chain?: import('viem').Chain | null;
|
|
@@ -1089,11 +782,11 @@ export declare class Kernel_json {
|
|
|
1089
782
|
value?: bigint;
|
|
1090
783
|
}): Promise<`0x${string}`>;
|
|
1091
784
|
/**
|
|
1092
|
-
*
|
|
785
|
+
* executeDelegateCall
|
|
1093
786
|
* payable
|
|
1094
787
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1095
788
|
*/
|
|
1096
|
-
|
|
789
|
+
executeDelegateCall(to: `0x${string}`, data: `0x${string}`, options?: {
|
|
1097
790
|
accessList?: import('viem').AccessList;
|
|
1098
791
|
authorizationList?: import('viem').AuthorizationList;
|
|
1099
792
|
chain?: import('viem').Chain | null;
|
|
@@ -1106,11 +799,11 @@ export declare class Kernel_json {
|
|
|
1106
799
|
value?: bigint;
|
|
1107
800
|
}): Promise<`0x${string}`>;
|
|
1108
801
|
/**
|
|
1109
|
-
*
|
|
802
|
+
* initialize
|
|
1110
803
|
* payable
|
|
1111
804
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1112
805
|
*/
|
|
1113
|
-
|
|
806
|
+
initialize(_defaultValidator: `0x${string}`, _data: `0x${string}`, options?: {
|
|
1114
807
|
accessList?: import('viem').AccessList;
|
|
1115
808
|
authorizationList?: import('viem').AuthorizationList;
|
|
1116
809
|
chain?: import('viem').Chain | null;
|
|
@@ -1123,11 +816,11 @@ export declare class Kernel_json {
|
|
|
1123
816
|
value?: bigint;
|
|
1124
817
|
}): Promise<`0x${string}`>;
|
|
1125
818
|
/**
|
|
1126
|
-
*
|
|
819
|
+
* setDefaultValidator
|
|
1127
820
|
* payable
|
|
1128
821
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1129
822
|
*/
|
|
1130
|
-
|
|
823
|
+
setDefaultValidator(_defaultValidator: `0x${string}`, _data: `0x${string}`, options?: {
|
|
1131
824
|
accessList?: import('viem').AccessList;
|
|
1132
825
|
authorizationList?: import('viem').AuthorizationList;
|
|
1133
826
|
chain?: import('viem').Chain | null;
|
|
@@ -1140,11 +833,11 @@ export declare class Kernel_json {
|
|
|
1140
833
|
value?: bigint;
|
|
1141
834
|
}): Promise<`0x${string}`>;
|
|
1142
835
|
/**
|
|
1143
|
-
*
|
|
836
|
+
* setExecution
|
|
1144
837
|
* payable
|
|
1145
838
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1146
839
|
*/
|
|
1147
|
-
|
|
840
|
+
setExecution(_selector: `0x${string}`, _executor: `0x${string}`, _validator: `0x${string}`, _validUntil: bigint, _validAfter: bigint, _enableData: `0x${string}`, options?: {
|
|
1148
841
|
accessList?: import('viem').AccessList;
|
|
1149
842
|
authorizationList?: import('viem').AuthorizationList;
|
|
1150
843
|
chain?: import('viem').Chain | null;
|
|
@@ -1178,7 +871,7 @@ export declare class Kernel_json {
|
|
|
1178
871
|
* payable
|
|
1179
872
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1180
873
|
*/
|
|
1181
|
-
validateUserOp(
|
|
874
|
+
validateUserOp(_userOp: UserOperation, userOpHash: `0x${string}`, missingAccountFunds: bigint, options?: {
|
|
1182
875
|
accessList?: import('viem').AccessList;
|
|
1183
876
|
authorizationList?: import('viem').AuthorizationList;
|
|
1184
877
|
chain?: import('viem').Chain | null;
|
|
@@ -1200,45 +893,11 @@ export declare class Kernel_json {
|
|
|
1200
893
|
*/
|
|
1201
894
|
get simulate(): {
|
|
1202
895
|
/**
|
|
1203
|
-
* Simulate
|
|
1204
|
-
* Returns gas estimate and result without sending transaction
|
|
1205
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1206
|
-
*/
|
|
1207
|
-
execute(execMode: `0x${string}`, executionCalldata: `0x${string}`, options?: {
|
|
1208
|
-
accessList?: import("viem").AccessList;
|
|
1209
|
-
authorizationList?: import("viem").AuthorizationList;
|
|
1210
|
-
chain?: import("viem").Chain | null;
|
|
1211
|
-
dataSuffix?: `0x${string}`;
|
|
1212
|
-
gas?: bigint;
|
|
1213
|
-
gasPrice?: bigint;
|
|
1214
|
-
maxFeePerGas?: bigint;
|
|
1215
|
-
maxPriorityFeePerGas?: bigint;
|
|
1216
|
-
nonce?: number;
|
|
1217
|
-
value?: bigint;
|
|
1218
|
-
}): Promise<void>;
|
|
1219
|
-
/**
|
|
1220
|
-
* Simulate executeFromExecutor
|
|
1221
|
-
* Returns gas estimate and result without sending transaction
|
|
1222
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1223
|
-
*/
|
|
1224
|
-
executeFromExecutor(execMode: `0x${string}`, executionCalldata: `0x${string}`, options?: {
|
|
1225
|
-
accessList?: import("viem").AccessList;
|
|
1226
|
-
authorizationList?: import("viem").AuthorizationList;
|
|
1227
|
-
chain?: import("viem").Chain | null;
|
|
1228
|
-
dataSuffix?: `0x${string}`;
|
|
1229
|
-
gas?: bigint;
|
|
1230
|
-
gasPrice?: bigint;
|
|
1231
|
-
maxFeePerGas?: bigint;
|
|
1232
|
-
maxPriorityFeePerGas?: bigint;
|
|
1233
|
-
nonce?: number;
|
|
1234
|
-
value?: bigint;
|
|
1235
|
-
}): Promise<`0x${string}`[]>;
|
|
1236
|
-
/**
|
|
1237
|
-
* Simulate executeUserOp
|
|
896
|
+
* Simulate disableMode
|
|
1238
897
|
* Returns gas estimate and result without sending transaction
|
|
1239
898
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1240
899
|
*/
|
|
1241
|
-
|
|
900
|
+
disableMode(_disableFlag: `0x${string}`, options?: {
|
|
1242
901
|
accessList?: import("viem").AccessList;
|
|
1243
902
|
authorizationList?: import("viem").AuthorizationList;
|
|
1244
903
|
chain?: import("viem").Chain | null;
|
|
@@ -1251,11 +910,11 @@ export declare class Kernel_json {
|
|
|
1251
910
|
value?: bigint;
|
|
1252
911
|
}): Promise<void>;
|
|
1253
912
|
/**
|
|
1254
|
-
* Simulate
|
|
913
|
+
* Simulate execute
|
|
1255
914
|
* Returns gas estimate and result without sending transaction
|
|
1256
915
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1257
916
|
*/
|
|
1258
|
-
|
|
917
|
+
execute(to: `0x${string}`, value: bigint, data: `0x${string}`, _operation: bigint, options?: {
|
|
1259
918
|
accessList?: import("viem").AccessList;
|
|
1260
919
|
authorizationList?: import("viem").AuthorizationList;
|
|
1261
920
|
chain?: import("viem").Chain | null;
|
|
@@ -1268,11 +927,11 @@ export declare class Kernel_json {
|
|
|
1268
927
|
value?: bigint;
|
|
1269
928
|
}): Promise<void>;
|
|
1270
929
|
/**
|
|
1271
|
-
* Simulate
|
|
930
|
+
* Simulate executeBatch
|
|
1272
931
|
* Returns gas estimate and result without sending transaction
|
|
1273
932
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1274
933
|
*/
|
|
1275
|
-
|
|
934
|
+
executeBatch(calls: Call[], options?: {
|
|
1276
935
|
accessList?: import("viem").AccessList;
|
|
1277
936
|
authorizationList?: import("viem").AuthorizationList;
|
|
1278
937
|
chain?: import("viem").Chain | null;
|
|
@@ -1285,11 +944,11 @@ export declare class Kernel_json {
|
|
|
1285
944
|
value?: bigint;
|
|
1286
945
|
}): Promise<void>;
|
|
1287
946
|
/**
|
|
1288
|
-
* Simulate
|
|
947
|
+
* Simulate executeDelegateCall
|
|
1289
948
|
* Returns gas estimate and result without sending transaction
|
|
1290
949
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1291
950
|
*/
|
|
1292
|
-
|
|
951
|
+
executeDelegateCall(to: `0x${string}`, data: `0x${string}`, options?: {
|
|
1293
952
|
accessList?: import("viem").AccessList;
|
|
1294
953
|
authorizationList?: import("viem").AuthorizationList;
|
|
1295
954
|
chain?: import("viem").Chain | null;
|
|
@@ -1302,11 +961,11 @@ export declare class Kernel_json {
|
|
|
1302
961
|
value?: bigint;
|
|
1303
962
|
}): Promise<void>;
|
|
1304
963
|
/**
|
|
1305
|
-
* Simulate
|
|
964
|
+
* Simulate initialize
|
|
1306
965
|
* Returns gas estimate and result without sending transaction
|
|
1307
966
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1308
967
|
*/
|
|
1309
|
-
|
|
968
|
+
initialize(_defaultValidator: `0x${string}`, _data: `0x${string}`, options?: {
|
|
1310
969
|
accessList?: import("viem").AccessList;
|
|
1311
970
|
authorizationList?: import("viem").AuthorizationList;
|
|
1312
971
|
chain?: import("viem").Chain | null;
|
|
@@ -1319,11 +978,11 @@ export declare class Kernel_json {
|
|
|
1319
978
|
value?: bigint;
|
|
1320
979
|
}): Promise<void>;
|
|
1321
980
|
/**
|
|
1322
|
-
* Simulate
|
|
981
|
+
* Simulate setDefaultValidator
|
|
1323
982
|
* Returns gas estimate and result without sending transaction
|
|
1324
983
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1325
984
|
*/
|
|
1326
|
-
|
|
985
|
+
setDefaultValidator(_defaultValidator: `0x${string}`, _data: `0x${string}`, options?: {
|
|
1327
986
|
accessList?: import("viem").AccessList;
|
|
1328
987
|
authorizationList?: import("viem").AuthorizationList;
|
|
1329
988
|
chain?: import("viem").Chain | null;
|
|
@@ -1336,11 +995,11 @@ export declare class Kernel_json {
|
|
|
1336
995
|
value?: bigint;
|
|
1337
996
|
}): Promise<void>;
|
|
1338
997
|
/**
|
|
1339
|
-
* Simulate
|
|
998
|
+
* Simulate setExecution
|
|
1340
999
|
* Returns gas estimate and result without sending transaction
|
|
1341
1000
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1342
1001
|
*/
|
|
1343
|
-
|
|
1002
|
+
setExecution(_selector: `0x${string}`, _executor: `0x${string}`, _validator: `0x${string}`, _validUntil: bigint, _validAfter: bigint, _enableData: `0x${string}`, options?: {
|
|
1344
1003
|
accessList?: import("viem").AccessList;
|
|
1345
1004
|
authorizationList?: import("viem").AuthorizationList;
|
|
1346
1005
|
chain?: import("viem").Chain | null;
|
|
@@ -1374,7 +1033,7 @@ export declare class Kernel_json {
|
|
|
1374
1033
|
* Returns gas estimate and result without sending transaction
|
|
1375
1034
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1376
1035
|
*/
|
|
1377
|
-
validateUserOp(
|
|
1036
|
+
validateUserOp(_userOp: UserOperation, userOpHash: `0x${string}`, missingAccountFunds: bigint, options?: {
|
|
1378
1037
|
accessList?: import("viem").AccessList;
|
|
1379
1038
|
authorizationList?: import("viem").AuthorizationList;
|
|
1380
1039
|
chain?: import("viem").Chain | null;
|
|
@@ -1401,63 +1060,33 @@ export declare class Kernel_json {
|
|
|
1401
1060
|
*/
|
|
1402
1061
|
get watch(): {
|
|
1403
1062
|
/**
|
|
1404
|
-
* Watch
|
|
1405
|
-
* @param callback Function to call when event is emitted
|
|
1406
|
-
* @param filter Optional filter for indexed parameters
|
|
1407
|
-
* @returns Unwatch function to stop listening
|
|
1408
|
-
*/
|
|
1409
|
-
ModuleInstalled: (callback: (event: {
|
|
1410
|
-
moduleTypeId: bigint;
|
|
1411
|
-
module: `0x${string}`;
|
|
1412
|
-
}) => void) => () => void;
|
|
1413
|
-
/**
|
|
1414
|
-
* Watch ModuleUninstallResult events
|
|
1415
|
-
* @param callback Function to call when event is emitted
|
|
1416
|
-
* @param filter Optional filter for indexed parameters
|
|
1417
|
-
* @returns Unwatch function to stop listening
|
|
1418
|
-
*/
|
|
1419
|
-
ModuleUninstallResult: (callback: (event: {
|
|
1420
|
-
module: `0x${string}`;
|
|
1421
|
-
result: boolean;
|
|
1422
|
-
}) => void) => () => void;
|
|
1423
|
-
/**
|
|
1424
|
-
* Watch ModuleUninstalled events
|
|
1425
|
-
* @param callback Function to call when event is emitted
|
|
1426
|
-
* @param filter Optional filter for indexed parameters
|
|
1427
|
-
* @returns Unwatch function to stop listening
|
|
1428
|
-
*/
|
|
1429
|
-
ModuleUninstalled: (callback: (event: {
|
|
1430
|
-
moduleTypeId: bigint;
|
|
1431
|
-
module: `0x${string}`;
|
|
1432
|
-
}) => void) => () => void;
|
|
1433
|
-
/**
|
|
1434
|
-
* Watch NonceInvalidated events
|
|
1435
|
-
* @param callback Function to call when event is emitted
|
|
1436
|
-
* @param filter Optional filter for indexed parameters
|
|
1437
|
-
* @returns Unwatch function to stop listening
|
|
1438
|
-
*/
|
|
1439
|
-
NonceInvalidated: (callback: (event: {
|
|
1440
|
-
nonce: bigint;
|
|
1441
|
-
}) => void) => () => void;
|
|
1442
|
-
/**
|
|
1443
|
-
* Watch PermissionInstalled events
|
|
1063
|
+
* Watch DefaultValidatorChanged events
|
|
1444
1064
|
* @param callback Function to call when event is emitted
|
|
1445
1065
|
* @param filter Optional filter for indexed parameters
|
|
1446
1066
|
* @returns Unwatch function to stop listening
|
|
1447
1067
|
*/
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
}) => void
|
|
1068
|
+
DefaultValidatorChanged: (callback: (event: {
|
|
1069
|
+
oldValidator: `0x${string}`;
|
|
1070
|
+
newValidator: `0x${string}`;
|
|
1071
|
+
}) => void, filter?: {
|
|
1072
|
+
oldValidator: `0x${string}`;
|
|
1073
|
+
newValidator: `0x${string}`;
|
|
1074
|
+
}) => () => void;
|
|
1452
1075
|
/**
|
|
1453
|
-
* Watch
|
|
1076
|
+
* Watch ExecutionChanged events
|
|
1454
1077
|
* @param callback Function to call when event is emitted
|
|
1455
1078
|
* @param filter Optional filter for indexed parameters
|
|
1456
1079
|
* @returns Unwatch function to stop listening
|
|
1457
1080
|
*/
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1081
|
+
ExecutionChanged: (callback: (event: {
|
|
1082
|
+
selector: `0x${string}`;
|
|
1083
|
+
executor: `0x${string}`;
|
|
1084
|
+
validator: `0x${string}`;
|
|
1085
|
+
}) => void, filter?: {
|
|
1086
|
+
selector: `0x${string}`;
|
|
1087
|
+
executor: `0x${string}`;
|
|
1088
|
+
validator: `0x${string}`;
|
|
1089
|
+
}) => () => void;
|
|
1461
1090
|
/**
|
|
1462
1091
|
* Watch Received events
|
|
1463
1092
|
* @param callback Function to call when event is emitted
|
|
@@ -1468,36 +1097,6 @@ export declare class Kernel_json {
|
|
|
1468
1097
|
sender: `0x${string}`;
|
|
1469
1098
|
amount: bigint;
|
|
1470
1099
|
}) => void) => () => void;
|
|
1471
|
-
/**
|
|
1472
|
-
* Watch RootValidatorUpdated events
|
|
1473
|
-
* @param callback Function to call when event is emitted
|
|
1474
|
-
* @param filter Optional filter for indexed parameters
|
|
1475
|
-
* @returns Unwatch function to stop listening
|
|
1476
|
-
*/
|
|
1477
|
-
RootValidatorUpdated: (callback: (event: {
|
|
1478
|
-
rootValidator: `0x${string}`;
|
|
1479
|
-
}) => void) => () => void;
|
|
1480
|
-
/**
|
|
1481
|
-
* Watch SelectorSet events
|
|
1482
|
-
* @param callback Function to call when event is emitted
|
|
1483
|
-
* @param filter Optional filter for indexed parameters
|
|
1484
|
-
* @returns Unwatch function to stop listening
|
|
1485
|
-
*/
|
|
1486
|
-
SelectorSet: (callback: (event: {
|
|
1487
|
-
selector: `0x${string}`;
|
|
1488
|
-
vId: `0x${string}`;
|
|
1489
|
-
allowed: boolean;
|
|
1490
|
-
}) => void) => () => void;
|
|
1491
|
-
/**
|
|
1492
|
-
* Watch TryExecuteUnsuccessful events
|
|
1493
|
-
* @param callback Function to call when event is emitted
|
|
1494
|
-
* @param filter Optional filter for indexed parameters
|
|
1495
|
-
* @returns Unwatch function to stop listening
|
|
1496
|
-
*/
|
|
1497
|
-
TryExecuteUnsuccessful: (callback: (event: {
|
|
1498
|
-
batchExecutionindex: bigint;
|
|
1499
|
-
result: `0x${string}`;
|
|
1500
|
-
}) => void) => () => void;
|
|
1501
1100
|
/**
|
|
1502
1101
|
* Watch Upgraded events
|
|
1503
1102
|
* @param callback Function to call when event is emitted
|
|
@@ -1505,28 +1104,9 @@ export declare class Kernel_json {
|
|
|
1505
1104
|
* @returns Unwatch function to stop listening
|
|
1506
1105
|
*/
|
|
1507
1106
|
Upgraded: (callback: (event: {
|
|
1508
|
-
|
|
1107
|
+
newImplementation: `0x${string}`;
|
|
1509
1108
|
}) => void, filter?: {
|
|
1510
|
-
|
|
1109
|
+
newImplementation: `0x${string}`;
|
|
1511
1110
|
}) => () => void;
|
|
1512
|
-
/**
|
|
1513
|
-
* Watch ValidatorInstalled events
|
|
1514
|
-
* @param callback Function to call when event is emitted
|
|
1515
|
-
* @param filter Optional filter for indexed parameters
|
|
1516
|
-
* @returns Unwatch function to stop listening
|
|
1517
|
-
*/
|
|
1518
|
-
ValidatorInstalled: (callback: (event: {
|
|
1519
|
-
validator: `0x${string}`;
|
|
1520
|
-
nonce: bigint;
|
|
1521
|
-
}) => void) => () => void;
|
|
1522
|
-
/**
|
|
1523
|
-
* Watch ValidatorUninstalled events
|
|
1524
|
-
* @param callback Function to call when event is emitted
|
|
1525
|
-
* @param filter Optional filter for indexed parameters
|
|
1526
|
-
* @returns Unwatch function to stop listening
|
|
1527
|
-
*/
|
|
1528
|
-
ValidatorUninstalled: (callback: (event: {
|
|
1529
|
-
validator: `0x${string}`;
|
|
1530
|
-
}) => void) => () => void;
|
|
1531
1111
|
};
|
|
1532
1112
|
}
|