@gitmyabi/kernel 1.0.1 → 1.0.3
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 +5 -5
- package/contracts/KernelProxy_json.d.ts +236 -0
- package/contracts/KernelProxy_json.js +301 -0
- package/contracts/KernelProxy_json.ts +335 -0
- package/contracts/Kernel_json.d.ts +393 -989
- package/contracts/Kernel_json.js +417 -1111
- package/contracts/Kernel_json.ts +447 -1260
- package/contracts/index.d.ts +2 -0
- package/contracts/index.js +4 -1
- package/contracts/index.ts +2 -0
- package/package.json +3 -3
|
@@ -1,876 +1,478 @@
|
|
|
1
1
|
import type { Address, PublicClient, WalletClient } from 'viem';
|
|
2
|
-
/**
|
|
3
|
-
* PackedUserOperation struct type
|
|
4
|
-
*/
|
|
5
|
-
export type PackedUserOperation = {
|
|
6
|
-
sender: `0x${string}`;
|
|
7
|
-
nonce: bigint;
|
|
8
|
-
initCode: `0x${string}`;
|
|
9
|
-
callData: `0x${string}`;
|
|
10
|
-
accountGasLimits: `0x${string}`;
|
|
11
|
-
preVerificationGas: bigint;
|
|
12
|
-
gasFees: `0x${string}`;
|
|
13
|
-
paymasterAndData: `0x${string}`;
|
|
14
|
-
signature: `0x${string}`;
|
|
15
|
-
};
|
|
16
|
-
/**
|
|
17
|
-
* ExecutorManager.ExecutorConfig struct type
|
|
18
|
-
*/
|
|
19
|
-
export type ExecutorManager_ExecutorConfig = {
|
|
20
|
-
hook: `0x${string}`;
|
|
21
|
-
};
|
|
22
|
-
/**
|
|
23
|
-
* ValidationManager.ValidationConfig struct type
|
|
24
|
-
*/
|
|
25
|
-
export type ValidationManager_ValidationConfig = {
|
|
26
|
-
nonce: bigint;
|
|
27
|
-
hook: `0x${string}`;
|
|
28
|
-
};
|
|
29
|
-
/**
|
|
30
|
-
* ValidationManager.PermissionConfig struct type
|
|
31
|
-
*/
|
|
32
|
-
export type ValidationManager_PermissionConfig = {
|
|
33
|
-
permissionFlag: `0x${string}`;
|
|
34
|
-
signer: `0x${string}`;
|
|
35
|
-
policyData: `0x${string}`[];
|
|
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}`;
|
|
44
|
-
};
|
|
45
2
|
/**
|
|
46
3
|
* Kernel_json ABI
|
|
47
4
|
*
|
|
48
5
|
* This ABI is typed using viem's type system for full type safety.
|
|
49
6
|
*/
|
|
50
7
|
export declare const Kernel_jsonAbi: readonly [{
|
|
51
|
-
readonly
|
|
52
|
-
readonly internalType: "contract IEntryPoint";
|
|
53
|
-
readonly name: "_entrypoint";
|
|
54
|
-
readonly type: "address";
|
|
55
|
-
}];
|
|
56
|
-
readonly stateMutability: "nonpayable";
|
|
57
|
-
readonly type: "constructor";
|
|
58
|
-
}, {
|
|
59
|
-
readonly inputs: readonly [];
|
|
60
|
-
readonly name: "EnableNotApproved";
|
|
61
|
-
readonly type: "error";
|
|
62
|
-
}, {
|
|
63
|
-
readonly inputs: readonly [];
|
|
64
|
-
readonly name: "ExecutionReverted";
|
|
65
|
-
readonly type: "error";
|
|
66
|
-
}, {
|
|
67
|
-
readonly inputs: readonly [];
|
|
68
|
-
readonly name: "InvalidCallType";
|
|
69
|
-
readonly type: "error";
|
|
70
|
-
}, {
|
|
71
|
-
readonly inputs: readonly [];
|
|
72
|
-
readonly name: "InvalidCaller";
|
|
73
|
-
readonly type: "error";
|
|
74
|
-
}, {
|
|
75
|
-
readonly inputs: readonly [];
|
|
76
|
-
readonly name: "InvalidExecutor";
|
|
77
|
-
readonly type: "error";
|
|
78
|
-
}, {
|
|
79
|
-
readonly inputs: readonly [];
|
|
80
|
-
readonly name: "InvalidFallback";
|
|
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
|
-
}, {
|
|
8
|
+
readonly constant: true;
|
|
107
9
|
readonly inputs: readonly [];
|
|
108
|
-
readonly name: "
|
|
109
|
-
readonly
|
|
110
|
-
|
|
111
|
-
|
|
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";
|
|
10
|
+
readonly name: "hasInitialized";
|
|
11
|
+
readonly outputs: readonly [{
|
|
12
|
+
readonly name: "";
|
|
13
|
+
readonly type: "bool";
|
|
143
14
|
}];
|
|
144
|
-
readonly
|
|
145
|
-
readonly
|
|
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";
|
|
15
|
+
readonly payable: false;
|
|
16
|
+
readonly stateMutability: "view";
|
|
17
|
+
readonly type: "function";
|
|
154
18
|
}, {
|
|
19
|
+
readonly constant: true;
|
|
155
20
|
readonly inputs: readonly [];
|
|
156
|
-
readonly name: "
|
|
157
|
-
readonly
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
readonly inputs: readonly [{
|
|
161
|
-
readonly indexed: false;
|
|
162
|
-
readonly internalType: "uint256";
|
|
163
|
-
readonly name: "moduleTypeId";
|
|
164
|
-
readonly type: "uint256";
|
|
165
|
-
}, {
|
|
166
|
-
readonly indexed: false;
|
|
167
|
-
readonly internalType: "address";
|
|
168
|
-
readonly name: "module";
|
|
169
|
-
readonly type: "address";
|
|
21
|
+
readonly name: "KERNEL_APP_ID";
|
|
22
|
+
readonly outputs: readonly [{
|
|
23
|
+
readonly name: "";
|
|
24
|
+
readonly type: "bytes32";
|
|
170
25
|
}];
|
|
171
|
-
readonly
|
|
172
|
-
readonly
|
|
26
|
+
readonly payable: false;
|
|
27
|
+
readonly stateMutability: "pure";
|
|
28
|
+
readonly type: "function";
|
|
173
29
|
}, {
|
|
174
|
-
readonly
|
|
175
|
-
readonly inputs: readonly [
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
readonly name: "
|
|
179
|
-
readonly type: "
|
|
180
|
-
}, {
|
|
181
|
-
readonly indexed: false;
|
|
182
|
-
readonly internalType: "bool";
|
|
183
|
-
readonly name: "result";
|
|
184
|
-
readonly type: "bool";
|
|
30
|
+
readonly constant: true;
|
|
31
|
+
readonly inputs: readonly [];
|
|
32
|
+
readonly name: "APP_ADDR_NAMESPACE";
|
|
33
|
+
readonly outputs: readonly [{
|
|
34
|
+
readonly name: "";
|
|
35
|
+
readonly type: "bytes32";
|
|
185
36
|
}];
|
|
186
|
-
readonly
|
|
187
|
-
readonly
|
|
37
|
+
readonly payable: false;
|
|
38
|
+
readonly stateMutability: "pure";
|
|
39
|
+
readonly type: "function";
|
|
188
40
|
}, {
|
|
189
|
-
readonly
|
|
190
|
-
readonly inputs: readonly [
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
readonly name: "
|
|
194
|
-
readonly type: "uint256";
|
|
195
|
-
}, {
|
|
196
|
-
readonly indexed: false;
|
|
197
|
-
readonly internalType: "address";
|
|
198
|
-
readonly name: "module";
|
|
41
|
+
readonly constant: true;
|
|
42
|
+
readonly inputs: readonly [];
|
|
43
|
+
readonly name: "getRecoveryVault";
|
|
44
|
+
readonly outputs: readonly [{
|
|
45
|
+
readonly name: "";
|
|
199
46
|
readonly type: "address";
|
|
200
47
|
}];
|
|
201
|
-
readonly
|
|
202
|
-
readonly
|
|
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";
|
|
48
|
+
readonly payable: false;
|
|
49
|
+
readonly stateMutability: "view";
|
|
50
|
+
readonly type: "function";
|
|
213
51
|
}, {
|
|
214
|
-
readonly
|
|
52
|
+
readonly constant: false;
|
|
215
53
|
readonly inputs: readonly [{
|
|
216
|
-
readonly
|
|
217
|
-
readonly
|
|
218
|
-
readonly name: "permission";
|
|
219
|
-
readonly type: "bytes4";
|
|
54
|
+
readonly name: "_appId";
|
|
55
|
+
readonly type: "bytes32";
|
|
220
56
|
}, {
|
|
221
|
-
readonly
|
|
222
|
-
readonly internalType: "uint32";
|
|
223
|
-
readonly name: "nonce";
|
|
224
|
-
readonly type: "uint32";
|
|
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";
|
|
235
|
-
}];
|
|
236
|
-
readonly name: "PermissionUninstalled";
|
|
237
|
-
readonly type: "event";
|
|
238
|
-
}, {
|
|
239
|
-
readonly anonymous: false;
|
|
240
|
-
readonly inputs: readonly [{
|
|
241
|
-
readonly indexed: false;
|
|
242
|
-
readonly internalType: "address";
|
|
243
|
-
readonly name: "sender";
|
|
57
|
+
readonly name: "_appBase";
|
|
244
58
|
readonly type: "address";
|
|
245
59
|
}, {
|
|
246
|
-
readonly
|
|
247
|
-
readonly
|
|
248
|
-
readonly name: "amount";
|
|
249
|
-
readonly type: "uint256";
|
|
250
|
-
}];
|
|
251
|
-
readonly name: "Received";
|
|
252
|
-
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";
|
|
60
|
+
readonly name: "_initializePayload";
|
|
61
|
+
readonly type: "bytes";
|
|
275
62
|
}, {
|
|
276
|
-
readonly
|
|
277
|
-
readonly internalType: "bool";
|
|
278
|
-
readonly name: "allowed";
|
|
63
|
+
readonly name: "_setDefault";
|
|
279
64
|
readonly type: "bool";
|
|
280
65
|
}];
|
|
281
|
-
readonly name: "
|
|
282
|
-
readonly
|
|
66
|
+
readonly name: "newAppInstance";
|
|
67
|
+
readonly outputs: readonly [{
|
|
68
|
+
readonly name: "appProxy";
|
|
69
|
+
readonly type: "address";
|
|
70
|
+
}];
|
|
71
|
+
readonly payable: false;
|
|
72
|
+
readonly stateMutability: "nonpayable";
|
|
73
|
+
readonly type: "function";
|
|
283
74
|
}, {
|
|
284
|
-
readonly
|
|
75
|
+
readonly constant: true;
|
|
285
76
|
readonly inputs: readonly [{
|
|
286
|
-
readonly
|
|
287
|
-
readonly
|
|
288
|
-
readonly name: "batchExecutionindex";
|
|
289
|
-
readonly type: "uint256";
|
|
77
|
+
readonly name: "";
|
|
78
|
+
readonly type: "bytes32";
|
|
290
79
|
}, {
|
|
291
|
-
readonly
|
|
292
|
-
readonly
|
|
293
|
-
readonly name: "result";
|
|
294
|
-
readonly type: "bytes";
|
|
80
|
+
readonly name: "";
|
|
81
|
+
readonly type: "bytes32";
|
|
295
82
|
}];
|
|
296
|
-
readonly name: "
|
|
297
|
-
readonly
|
|
298
|
-
|
|
299
|
-
readonly anonymous: false;
|
|
300
|
-
readonly inputs: readonly [{
|
|
301
|
-
readonly indexed: true;
|
|
302
|
-
readonly internalType: "address";
|
|
303
|
-
readonly name: "implementation";
|
|
83
|
+
readonly name: "apps";
|
|
84
|
+
readonly outputs: readonly [{
|
|
85
|
+
readonly name: "";
|
|
304
86
|
readonly type: "address";
|
|
305
87
|
}];
|
|
306
|
-
readonly
|
|
307
|
-
readonly
|
|
88
|
+
readonly payable: false;
|
|
89
|
+
readonly stateMutability: "view";
|
|
90
|
+
readonly type: "function";
|
|
308
91
|
}, {
|
|
309
|
-
readonly
|
|
92
|
+
readonly constant: false;
|
|
310
93
|
readonly inputs: readonly [{
|
|
311
|
-
readonly
|
|
312
|
-
readonly internalType: "contract IValidator";
|
|
313
|
-
readonly name: "validator";
|
|
94
|
+
readonly name: "_baseAcl";
|
|
314
95
|
readonly type: "address";
|
|
315
96
|
}, {
|
|
316
|
-
readonly
|
|
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";
|
|
97
|
+
readonly name: "_permissionsCreator";
|
|
329
98
|
readonly type: "address";
|
|
330
99
|
}];
|
|
331
|
-
readonly name: "
|
|
332
|
-
readonly
|
|
333
|
-
|
|
334
|
-
readonly stateMutability: "
|
|
335
|
-
readonly type: "
|
|
100
|
+
readonly name: "initialize";
|
|
101
|
+
readonly outputs: readonly [];
|
|
102
|
+
readonly payable: false;
|
|
103
|
+
readonly stateMutability: "nonpayable";
|
|
104
|
+
readonly type: "function";
|
|
336
105
|
}, {
|
|
106
|
+
readonly constant: true;
|
|
337
107
|
readonly inputs: readonly [];
|
|
338
|
-
readonly name: "
|
|
108
|
+
readonly name: "CORE_NAMESPACE";
|
|
339
109
|
readonly outputs: readonly [{
|
|
340
|
-
readonly
|
|
341
|
-
readonly
|
|
342
|
-
readonly type: "string";
|
|
110
|
+
readonly name: "";
|
|
111
|
+
readonly type: "bytes32";
|
|
343
112
|
}];
|
|
113
|
+
readonly payable: false;
|
|
344
114
|
readonly stateMutability: "pure";
|
|
345
115
|
readonly type: "function";
|
|
346
116
|
}, {
|
|
347
|
-
readonly
|
|
348
|
-
readonly
|
|
117
|
+
readonly constant: true;
|
|
118
|
+
readonly inputs: readonly [{
|
|
119
|
+
readonly name: "token";
|
|
120
|
+
readonly type: "address";
|
|
121
|
+
}];
|
|
122
|
+
readonly name: "allowRecoverability";
|
|
349
123
|
readonly outputs: readonly [{
|
|
350
|
-
readonly internalType: "uint32";
|
|
351
124
|
readonly name: "";
|
|
352
|
-
readonly type: "
|
|
125
|
+
readonly type: "bool";
|
|
353
126
|
}];
|
|
127
|
+
readonly payable: false;
|
|
354
128
|
readonly stateMutability: "view";
|
|
355
129
|
readonly type: "function";
|
|
356
130
|
}, {
|
|
357
|
-
readonly
|
|
358
|
-
readonly
|
|
359
|
-
|
|
360
|
-
readonly internalType: "bytes1";
|
|
361
|
-
readonly name: "fields";
|
|
362
|
-
readonly type: "bytes1";
|
|
363
|
-
}, {
|
|
364
|
-
readonly internalType: "string";
|
|
365
|
-
readonly name: "name";
|
|
366
|
-
readonly type: "string";
|
|
367
|
-
}, {
|
|
368
|
-
readonly internalType: "string";
|
|
369
|
-
readonly name: "version";
|
|
370
|
-
readonly type: "string";
|
|
371
|
-
}, {
|
|
372
|
-
readonly internalType: "uint256";
|
|
373
|
-
readonly name: "chainId";
|
|
374
|
-
readonly type: "uint256";
|
|
375
|
-
}, {
|
|
376
|
-
readonly internalType: "address";
|
|
377
|
-
readonly name: "verifyingContract";
|
|
378
|
-
readonly type: "address";
|
|
379
|
-
}, {
|
|
380
|
-
readonly internalType: "bytes32";
|
|
381
|
-
readonly name: "salt";
|
|
131
|
+
readonly constant: false;
|
|
132
|
+
readonly inputs: readonly [{
|
|
133
|
+
readonly name: "_appId";
|
|
382
134
|
readonly type: "bytes32";
|
|
383
135
|
}, {
|
|
384
|
-
readonly
|
|
385
|
-
readonly
|
|
386
|
-
readonly type: "uint256[]";
|
|
136
|
+
readonly name: "_appBase";
|
|
137
|
+
readonly type: "address";
|
|
387
138
|
}];
|
|
388
|
-
readonly
|
|
389
|
-
readonly type: "function";
|
|
390
|
-
}, {
|
|
391
|
-
readonly inputs: readonly [];
|
|
392
|
-
readonly name: "entrypoint";
|
|
139
|
+
readonly name: "newAppInstance";
|
|
393
140
|
readonly outputs: readonly [{
|
|
394
|
-
readonly
|
|
395
|
-
readonly name: "";
|
|
141
|
+
readonly name: "appProxy";
|
|
396
142
|
readonly type: "address";
|
|
397
143
|
}];
|
|
398
|
-
readonly
|
|
144
|
+
readonly payable: false;
|
|
145
|
+
readonly stateMutability: "nonpayable";
|
|
399
146
|
readonly type: "function";
|
|
400
147
|
}, {
|
|
401
|
-
readonly
|
|
402
|
-
|
|
403
|
-
|
|
148
|
+
readonly constant: true;
|
|
149
|
+
readonly inputs: readonly [];
|
|
150
|
+
readonly name: "recoveryVaultAppId";
|
|
151
|
+
readonly outputs: readonly [{
|
|
152
|
+
readonly name: "";
|
|
404
153
|
readonly type: "bytes32";
|
|
405
|
-
}, {
|
|
406
|
-
readonly internalType: "bytes";
|
|
407
|
-
readonly name: "executionCalldata";
|
|
408
|
-
readonly type: "bytes";
|
|
409
154
|
}];
|
|
410
|
-
readonly
|
|
411
|
-
readonly
|
|
412
|
-
readonly stateMutability: "payable";
|
|
155
|
+
readonly payable: false;
|
|
156
|
+
readonly stateMutability: "view";
|
|
413
157
|
readonly type: "function";
|
|
414
158
|
}, {
|
|
415
|
-
readonly
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
readonly type: "bytes32";
|
|
419
|
-
}, {
|
|
420
|
-
readonly internalType: "bytes";
|
|
421
|
-
readonly name: "executionCalldata";
|
|
422
|
-
readonly type: "bytes";
|
|
423
|
-
}];
|
|
424
|
-
readonly name: "executeFromExecutor";
|
|
159
|
+
readonly constant: true;
|
|
160
|
+
readonly inputs: readonly [];
|
|
161
|
+
readonly name: "getInitializationBlock";
|
|
425
162
|
readonly outputs: readonly [{
|
|
426
|
-
readonly
|
|
427
|
-
readonly
|
|
428
|
-
readonly type: "bytes[]";
|
|
163
|
+
readonly name: "";
|
|
164
|
+
readonly type: "uint256";
|
|
429
165
|
}];
|
|
430
|
-
readonly
|
|
166
|
+
readonly payable: false;
|
|
167
|
+
readonly stateMutability: "view";
|
|
431
168
|
readonly type: "function";
|
|
432
169
|
}, {
|
|
170
|
+
readonly constant: false;
|
|
433
171
|
readonly inputs: readonly [{
|
|
434
|
-
readonly
|
|
435
|
-
readonly internalType: "address";
|
|
436
|
-
readonly name: "sender";
|
|
437
|
-
readonly type: "address";
|
|
438
|
-
}, {
|
|
439
|
-
readonly internalType: "uint256";
|
|
440
|
-
readonly name: "nonce";
|
|
441
|
-
readonly type: "uint256";
|
|
442
|
-
}, {
|
|
443
|
-
readonly internalType: "bytes";
|
|
444
|
-
readonly name: "initCode";
|
|
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";
|
|
469
|
-
readonly type: "bytes";
|
|
470
|
-
}];
|
|
471
|
-
readonly internalType: "struct PackedUserOperation";
|
|
472
|
-
readonly name: "userOp";
|
|
473
|
-
readonly type: "tuple";
|
|
474
|
-
}, {
|
|
475
|
-
readonly internalType: "bytes32";
|
|
476
|
-
readonly name: "userOpHash";
|
|
172
|
+
readonly name: "_recoveryVaultAppId";
|
|
477
173
|
readonly type: "bytes32";
|
|
478
174
|
}];
|
|
479
|
-
readonly name: "
|
|
175
|
+
readonly name: "setRecoveryVaultAppId";
|
|
480
176
|
readonly outputs: readonly [];
|
|
481
|
-
readonly
|
|
177
|
+
readonly payable: false;
|
|
178
|
+
readonly stateMutability: "nonpayable";
|
|
482
179
|
readonly type: "function";
|
|
483
180
|
}, {
|
|
484
|
-
readonly
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
readonly type: "address";
|
|
488
|
-
}];
|
|
489
|
-
readonly name: "executorConfig";
|
|
181
|
+
readonly constant: true;
|
|
182
|
+
readonly inputs: readonly [];
|
|
183
|
+
readonly name: "APP_MANAGER_ROLE";
|
|
490
184
|
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
185
|
readonly name: "";
|
|
498
|
-
readonly type: "
|
|
186
|
+
readonly type: "bytes32";
|
|
499
187
|
}];
|
|
188
|
+
readonly payable: false;
|
|
500
189
|
readonly stateMutability: "view";
|
|
501
190
|
readonly type: "function";
|
|
502
191
|
}, {
|
|
192
|
+
readonly constant: false;
|
|
503
193
|
readonly inputs: readonly [{
|
|
504
|
-
readonly
|
|
505
|
-
readonly
|
|
506
|
-
readonly type: "bytes21";
|
|
194
|
+
readonly name: "_appId";
|
|
195
|
+
readonly type: "bytes32";
|
|
507
196
|
}, {
|
|
508
|
-
readonly
|
|
509
|
-
readonly name: "hook";
|
|
197
|
+
readonly name: "_appBase";
|
|
510
198
|
readonly type: "address";
|
|
511
|
-
}, {
|
|
512
|
-
readonly internalType: "bytes";
|
|
513
|
-
readonly name: "validatorData";
|
|
514
|
-
readonly type: "bytes";
|
|
515
|
-
}, {
|
|
516
|
-
readonly internalType: "bytes";
|
|
517
|
-
readonly name: "hookData";
|
|
518
|
-
readonly type: "bytes";
|
|
519
199
|
}];
|
|
520
|
-
readonly name: "
|
|
521
|
-
readonly outputs: readonly [
|
|
200
|
+
readonly name: "newPinnedAppInstance";
|
|
201
|
+
readonly outputs: readonly [{
|
|
202
|
+
readonly name: "appProxy";
|
|
203
|
+
readonly type: "address";
|
|
204
|
+
}];
|
|
205
|
+
readonly payable: false;
|
|
522
206
|
readonly stateMutability: "nonpayable";
|
|
523
207
|
readonly type: "function";
|
|
524
208
|
}, {
|
|
209
|
+
readonly constant: false;
|
|
525
210
|
readonly inputs: readonly [{
|
|
526
|
-
readonly
|
|
527
|
-
readonly name: "moduleType";
|
|
528
|
-
readonly type: "uint256";
|
|
529
|
-
}, {
|
|
530
|
-
readonly internalType: "address";
|
|
531
|
-
readonly name: "module";
|
|
211
|
+
readonly name: "_token";
|
|
532
212
|
readonly type: "address";
|
|
533
|
-
}, {
|
|
534
|
-
readonly internalType: "bytes";
|
|
535
|
-
readonly name: "initData";
|
|
536
|
-
readonly type: "bytes";
|
|
537
213
|
}];
|
|
538
|
-
readonly name: "
|
|
214
|
+
readonly name: "transferToVault";
|
|
539
215
|
readonly outputs: readonly [];
|
|
540
|
-
readonly
|
|
216
|
+
readonly payable: false;
|
|
217
|
+
readonly stateMutability: "nonpayable";
|
|
541
218
|
readonly type: "function";
|
|
542
219
|
}, {
|
|
220
|
+
readonly constant: false;
|
|
543
221
|
readonly inputs: readonly [{
|
|
544
|
-
readonly
|
|
545
|
-
readonly
|
|
546
|
-
readonly type: "bytes21[]";
|
|
547
|
-
}, {
|
|
548
|
-
readonly components: readonly [{
|
|
549
|
-
readonly internalType: "uint32";
|
|
550
|
-
readonly name: "nonce";
|
|
551
|
-
readonly type: "uint32";
|
|
552
|
-
}, {
|
|
553
|
-
readonly internalType: "contract IHook";
|
|
554
|
-
readonly name: "hook";
|
|
555
|
-
readonly type: "address";
|
|
556
|
-
}];
|
|
557
|
-
readonly internalType: "struct ValidationManager.ValidationConfig[]";
|
|
558
|
-
readonly name: "configs";
|
|
559
|
-
readonly type: "tuple[]";
|
|
222
|
+
readonly name: "_namespace";
|
|
223
|
+
readonly type: "bytes32";
|
|
560
224
|
}, {
|
|
561
|
-
readonly
|
|
562
|
-
readonly
|
|
563
|
-
readonly type: "bytes[]";
|
|
225
|
+
readonly name: "_appId";
|
|
226
|
+
readonly type: "bytes32";
|
|
564
227
|
}, {
|
|
565
|
-
readonly
|
|
566
|
-
readonly
|
|
567
|
-
readonly type: "bytes[]";
|
|
568
|
-
}];
|
|
569
|
-
readonly name: "installValidations";
|
|
570
|
-
readonly outputs: readonly [];
|
|
571
|
-
readonly stateMutability: "payable";
|
|
572
|
-
readonly type: "function";
|
|
573
|
-
}, {
|
|
574
|
-
readonly inputs: readonly [{
|
|
575
|
-
readonly internalType: "uint32";
|
|
576
|
-
readonly name: "nonce";
|
|
577
|
-
readonly type: "uint32";
|
|
228
|
+
readonly name: "_app";
|
|
229
|
+
readonly type: "address";
|
|
578
230
|
}];
|
|
579
|
-
readonly name: "
|
|
231
|
+
readonly name: "setApp";
|
|
580
232
|
readonly outputs: readonly [];
|
|
581
|
-
readonly
|
|
233
|
+
readonly payable: false;
|
|
234
|
+
readonly stateMutability: "nonpayable";
|
|
582
235
|
readonly type: "function";
|
|
583
236
|
}, {
|
|
237
|
+
readonly constant: true;
|
|
584
238
|
readonly inputs: readonly [{
|
|
585
|
-
readonly
|
|
586
|
-
readonly
|
|
587
|
-
readonly type: "bytes21";
|
|
239
|
+
readonly name: "_namespace";
|
|
240
|
+
readonly type: "bytes32";
|
|
588
241
|
}, {
|
|
589
|
-
readonly
|
|
590
|
-
readonly
|
|
591
|
-
readonly type: "bytes4";
|
|
242
|
+
readonly name: "_appId";
|
|
243
|
+
readonly type: "bytes32";
|
|
592
244
|
}];
|
|
593
|
-
readonly name: "
|
|
245
|
+
readonly name: "getApp";
|
|
594
246
|
readonly outputs: readonly [{
|
|
595
|
-
readonly internalType: "bool";
|
|
596
247
|
readonly name: "";
|
|
597
|
-
readonly type: "
|
|
248
|
+
readonly type: "address";
|
|
598
249
|
}];
|
|
250
|
+
readonly payable: false;
|
|
599
251
|
readonly stateMutability: "view";
|
|
600
252
|
readonly type: "function";
|
|
601
253
|
}, {
|
|
254
|
+
readonly constant: false;
|
|
602
255
|
readonly inputs: readonly [{
|
|
603
|
-
readonly
|
|
604
|
-
readonly
|
|
605
|
-
readonly type: "uint256";
|
|
256
|
+
readonly name: "_appId";
|
|
257
|
+
readonly type: "bytes32";
|
|
606
258
|
}, {
|
|
607
|
-
readonly
|
|
608
|
-
readonly name: "module";
|
|
259
|
+
readonly name: "_appBase";
|
|
609
260
|
readonly type: "address";
|
|
610
261
|
}, {
|
|
611
|
-
readonly
|
|
612
|
-
readonly name: "additionalContext";
|
|
262
|
+
readonly name: "_initializePayload";
|
|
613
263
|
readonly type: "bytes";
|
|
264
|
+
}, {
|
|
265
|
+
readonly name: "_setDefault";
|
|
266
|
+
readonly type: "bool";
|
|
614
267
|
}];
|
|
615
|
-
readonly name: "
|
|
268
|
+
readonly name: "newPinnedAppInstance";
|
|
616
269
|
readonly outputs: readonly [{
|
|
617
|
-
readonly
|
|
618
|
-
readonly
|
|
619
|
-
readonly type: "bool";
|
|
270
|
+
readonly name: "appProxy";
|
|
271
|
+
readonly type: "address";
|
|
620
272
|
}];
|
|
621
|
-
readonly
|
|
273
|
+
readonly payable: false;
|
|
274
|
+
readonly stateMutability: "nonpayable";
|
|
622
275
|
readonly type: "function";
|
|
623
276
|
}, {
|
|
277
|
+
readonly constant: false;
|
|
624
278
|
readonly inputs: readonly [{
|
|
625
|
-
readonly
|
|
626
|
-
readonly
|
|
279
|
+
readonly name: "_kernel";
|
|
280
|
+
readonly type: "address";
|
|
281
|
+
}, {
|
|
282
|
+
readonly name: "_appId";
|
|
627
283
|
readonly type: "bytes32";
|
|
628
284
|
}, {
|
|
629
|
-
readonly
|
|
630
|
-
readonly name: "signature";
|
|
285
|
+
readonly name: "_initializePayload";
|
|
631
286
|
readonly type: "bytes";
|
|
632
287
|
}];
|
|
633
|
-
readonly name: "
|
|
288
|
+
readonly name: "newAppProxyPinned";
|
|
634
289
|
readonly outputs: readonly [{
|
|
635
|
-
readonly internalType: "bytes4";
|
|
636
290
|
readonly name: "";
|
|
637
|
-
readonly type: "
|
|
291
|
+
readonly type: "address";
|
|
638
292
|
}];
|
|
639
|
-
readonly
|
|
293
|
+
readonly payable: false;
|
|
294
|
+
readonly stateMutability: "nonpayable";
|
|
640
295
|
readonly type: "function";
|
|
641
296
|
}, {
|
|
642
|
-
readonly
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
readonly type: "bytes4";
|
|
646
|
-
}];
|
|
647
|
-
readonly name: "permissionConfig";
|
|
297
|
+
readonly constant: true;
|
|
298
|
+
readonly inputs: readonly [];
|
|
299
|
+
readonly name: "APP_BASES_NAMESPACE";
|
|
648
300
|
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
301
|
readonly name: "";
|
|
664
|
-
readonly type: "
|
|
302
|
+
readonly type: "bytes32";
|
|
665
303
|
}];
|
|
666
|
-
readonly
|
|
304
|
+
readonly payable: false;
|
|
305
|
+
readonly stateMutability: "pure";
|
|
667
306
|
readonly type: "function";
|
|
668
307
|
}, {
|
|
308
|
+
readonly constant: true;
|
|
669
309
|
readonly inputs: readonly [];
|
|
670
|
-
readonly name: "
|
|
310
|
+
readonly name: "acl";
|
|
671
311
|
readonly outputs: readonly [{
|
|
672
|
-
readonly internalType: "ValidationId";
|
|
673
312
|
readonly name: "";
|
|
674
|
-
readonly type: "
|
|
313
|
+
readonly type: "address";
|
|
675
314
|
}];
|
|
315
|
+
readonly payable: false;
|
|
676
316
|
readonly stateMutability: "view";
|
|
677
317
|
readonly type: "function";
|
|
678
318
|
}, {
|
|
679
|
-
readonly
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
readonly type: "bytes4";
|
|
683
|
-
}];
|
|
684
|
-
readonly name: "selectorConfig";
|
|
319
|
+
readonly constant: true;
|
|
320
|
+
readonly inputs: readonly [];
|
|
321
|
+
readonly name: "isPetrified";
|
|
685
322
|
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";
|
|
700
323
|
readonly name: "";
|
|
701
|
-
readonly type: "
|
|
324
|
+
readonly type: "bool";
|
|
702
325
|
}];
|
|
326
|
+
readonly payable: false;
|
|
703
327
|
readonly stateMutability: "view";
|
|
704
328
|
readonly type: "function";
|
|
705
329
|
}, {
|
|
330
|
+
readonly constant: false;
|
|
706
331
|
readonly inputs: readonly [{
|
|
707
|
-
readonly
|
|
708
|
-
readonly
|
|
332
|
+
readonly name: "_kernel";
|
|
333
|
+
readonly type: "address";
|
|
334
|
+
}, {
|
|
335
|
+
readonly name: "_appId";
|
|
709
336
|
readonly type: "bytes32";
|
|
710
337
|
}];
|
|
711
|
-
readonly name: "
|
|
338
|
+
readonly name: "newAppProxy";
|
|
712
339
|
readonly outputs: readonly [{
|
|
713
|
-
readonly internalType: "bool";
|
|
714
340
|
readonly name: "";
|
|
715
|
-
readonly type: "
|
|
341
|
+
readonly type: "address";
|
|
716
342
|
}];
|
|
717
|
-
readonly
|
|
343
|
+
readonly payable: false;
|
|
344
|
+
readonly stateMutability: "nonpayable";
|
|
718
345
|
readonly type: "function";
|
|
719
346
|
}, {
|
|
720
|
-
readonly
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
readonly type: "uint256";
|
|
724
|
-
}];
|
|
725
|
-
readonly name: "supportsModule";
|
|
347
|
+
readonly constant: true;
|
|
348
|
+
readonly inputs: readonly [];
|
|
349
|
+
readonly name: "DEFAULT_ACL_APP_ID";
|
|
726
350
|
readonly outputs: readonly [{
|
|
727
|
-
readonly internalType: "bool";
|
|
728
351
|
readonly name: "";
|
|
729
|
-
readonly type: "
|
|
352
|
+
readonly type: "bytes32";
|
|
730
353
|
}];
|
|
354
|
+
readonly payable: false;
|
|
731
355
|
readonly stateMutability: "pure";
|
|
732
356
|
readonly type: "function";
|
|
733
357
|
}, {
|
|
358
|
+
readonly constant: false;
|
|
734
359
|
readonly inputs: readonly [{
|
|
735
|
-
readonly
|
|
736
|
-
readonly name: "moduleType";
|
|
737
|
-
readonly type: "uint256";
|
|
738
|
-
}, {
|
|
739
|
-
readonly internalType: "address";
|
|
740
|
-
readonly name: "module";
|
|
360
|
+
readonly name: "_kernel";
|
|
741
361
|
readonly type: "address";
|
|
742
362
|
}, {
|
|
743
|
-
readonly
|
|
744
|
-
readonly
|
|
363
|
+
readonly name: "_appId";
|
|
364
|
+
readonly type: "bytes32";
|
|
365
|
+
}, {
|
|
366
|
+
readonly name: "_initializePayload";
|
|
745
367
|
readonly type: "bytes";
|
|
746
368
|
}];
|
|
747
|
-
readonly name: "
|
|
748
|
-
readonly outputs: readonly [
|
|
749
|
-
|
|
369
|
+
readonly name: "newAppProxy";
|
|
370
|
+
readonly outputs: readonly [{
|
|
371
|
+
readonly name: "";
|
|
372
|
+
readonly type: "address";
|
|
373
|
+
}];
|
|
374
|
+
readonly payable: false;
|
|
375
|
+
readonly stateMutability: "nonpayable";
|
|
750
376
|
readonly type: "function";
|
|
751
377
|
}, {
|
|
378
|
+
readonly constant: true;
|
|
752
379
|
readonly inputs: readonly [{
|
|
753
|
-
readonly
|
|
754
|
-
readonly
|
|
755
|
-
readonly type: "bytes21";
|
|
380
|
+
readonly name: "_who";
|
|
381
|
+
readonly type: "address";
|
|
756
382
|
}, {
|
|
757
|
-
readonly
|
|
758
|
-
readonly
|
|
759
|
-
readonly type: "bytes";
|
|
383
|
+
readonly name: "_where";
|
|
384
|
+
readonly type: "address";
|
|
760
385
|
}, {
|
|
761
|
-
readonly
|
|
762
|
-
readonly
|
|
386
|
+
readonly name: "_what";
|
|
387
|
+
readonly type: "bytes32";
|
|
388
|
+
}, {
|
|
389
|
+
readonly name: "_how";
|
|
763
390
|
readonly type: "bytes";
|
|
764
391
|
}];
|
|
765
|
-
readonly name: "
|
|
766
|
-
readonly outputs: readonly [
|
|
767
|
-
|
|
392
|
+
readonly name: "hasPermission";
|
|
393
|
+
readonly outputs: readonly [{
|
|
394
|
+
readonly name: "";
|
|
395
|
+
readonly type: "bool";
|
|
396
|
+
}];
|
|
397
|
+
readonly payable: false;
|
|
398
|
+
readonly stateMutability: "view";
|
|
768
399
|
readonly type: "function";
|
|
769
400
|
}, {
|
|
401
|
+
readonly constant: false;
|
|
770
402
|
readonly inputs: readonly [{
|
|
771
|
-
readonly
|
|
772
|
-
readonly name: "_newImplementation";
|
|
403
|
+
readonly name: "_kernel";
|
|
773
404
|
readonly type: "address";
|
|
405
|
+
}, {
|
|
406
|
+
readonly name: "_appId";
|
|
407
|
+
readonly type: "bytes32";
|
|
774
408
|
}];
|
|
775
|
-
readonly name: "
|
|
776
|
-
readonly outputs: readonly [];
|
|
777
|
-
readonly stateMutability: "payable";
|
|
778
|
-
readonly type: "function";
|
|
779
|
-
}, {
|
|
780
|
-
readonly inputs: readonly [];
|
|
781
|
-
readonly name: "validNonceFrom";
|
|
409
|
+
readonly name: "newAppProxyPinned";
|
|
782
410
|
readonly outputs: readonly [{
|
|
783
|
-
readonly internalType: "uint32";
|
|
784
411
|
readonly name: "";
|
|
785
|
-
readonly type: "
|
|
412
|
+
readonly type: "address";
|
|
786
413
|
}];
|
|
787
|
-
readonly
|
|
414
|
+
readonly payable: false;
|
|
415
|
+
readonly stateMutability: "nonpayable";
|
|
788
416
|
readonly type: "function";
|
|
789
417
|
}, {
|
|
790
418
|
readonly inputs: readonly [{
|
|
791
|
-
readonly
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
}, {
|
|
804
|
-
readonly internalType: "bytes";
|
|
805
|
-
readonly name: "callData";
|
|
806
|
-
readonly type: "bytes";
|
|
807
|
-
}, {
|
|
808
|
-
readonly internalType: "bytes32";
|
|
809
|
-
readonly name: "accountGasLimits";
|
|
810
|
-
readonly type: "bytes32";
|
|
811
|
-
}, {
|
|
812
|
-
readonly internalType: "uint256";
|
|
813
|
-
readonly name: "preVerificationGas";
|
|
814
|
-
readonly type: "uint256";
|
|
815
|
-
}, {
|
|
816
|
-
readonly internalType: "bytes32";
|
|
817
|
-
readonly name: "gasFees";
|
|
818
|
-
readonly type: "bytes32";
|
|
819
|
-
}, {
|
|
820
|
-
readonly internalType: "bytes";
|
|
821
|
-
readonly name: "paymasterAndData";
|
|
822
|
-
readonly type: "bytes";
|
|
823
|
-
}, {
|
|
824
|
-
readonly internalType: "bytes";
|
|
825
|
-
readonly name: "signature";
|
|
826
|
-
readonly type: "bytes";
|
|
827
|
-
}];
|
|
828
|
-
readonly internalType: "struct PackedUserOperation";
|
|
829
|
-
readonly name: "userOp";
|
|
830
|
-
readonly type: "tuple";
|
|
419
|
+
readonly name: "_shouldPetrify";
|
|
420
|
+
readonly type: "bool";
|
|
421
|
+
}];
|
|
422
|
+
readonly payable: false;
|
|
423
|
+
readonly stateMutability: "nonpayable";
|
|
424
|
+
readonly type: "constructor";
|
|
425
|
+
}, {
|
|
426
|
+
readonly anonymous: false;
|
|
427
|
+
readonly inputs: readonly [{
|
|
428
|
+
readonly indexed: false;
|
|
429
|
+
readonly name: "proxy";
|
|
430
|
+
readonly type: "address";
|
|
831
431
|
}, {
|
|
832
|
-
readonly
|
|
833
|
-
readonly name: "
|
|
834
|
-
readonly type: "
|
|
432
|
+
readonly indexed: false;
|
|
433
|
+
readonly name: "isUpgradeable";
|
|
434
|
+
readonly type: "bool";
|
|
835
435
|
}, {
|
|
836
|
-
readonly
|
|
837
|
-
readonly name: "
|
|
838
|
-
readonly type: "
|
|
436
|
+
readonly indexed: false;
|
|
437
|
+
readonly name: "appId";
|
|
438
|
+
readonly type: "bytes32";
|
|
839
439
|
}];
|
|
840
|
-
readonly name: "
|
|
841
|
-
readonly
|
|
842
|
-
|
|
843
|
-
|
|
440
|
+
readonly name: "NewAppProxy";
|
|
441
|
+
readonly type: "event";
|
|
442
|
+
}, {
|
|
443
|
+
readonly anonymous: false;
|
|
444
|
+
readonly inputs: readonly [{
|
|
445
|
+
readonly indexed: true;
|
|
446
|
+
readonly name: "vault";
|
|
447
|
+
readonly type: "address";
|
|
448
|
+
}, {
|
|
449
|
+
readonly indexed: true;
|
|
450
|
+
readonly name: "token";
|
|
451
|
+
readonly type: "address";
|
|
452
|
+
}, {
|
|
453
|
+
readonly indexed: false;
|
|
454
|
+
readonly name: "amount";
|
|
844
455
|
readonly type: "uint256";
|
|
845
456
|
}];
|
|
846
|
-
readonly
|
|
847
|
-
readonly type: "
|
|
457
|
+
readonly name: "RecoverToVault";
|
|
458
|
+
readonly type: "event";
|
|
848
459
|
}, {
|
|
460
|
+
readonly anonymous: false;
|
|
849
461
|
readonly inputs: readonly [{
|
|
850
|
-
readonly
|
|
851
|
-
readonly name: "
|
|
852
|
-
readonly type: "
|
|
853
|
-
}
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
readonly
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
readonly internalType: "contract IHook";
|
|
862
|
-
readonly name: "hook";
|
|
863
|
-
readonly type: "address";
|
|
864
|
-
}];
|
|
865
|
-
readonly internalType: "struct ValidationManager.ValidationConfig";
|
|
866
|
-
readonly name: "";
|
|
867
|
-
readonly type: "tuple";
|
|
462
|
+
readonly indexed: true;
|
|
463
|
+
readonly name: "namespace";
|
|
464
|
+
readonly type: "bytes32";
|
|
465
|
+
}, {
|
|
466
|
+
readonly indexed: true;
|
|
467
|
+
readonly name: "appId";
|
|
468
|
+
readonly type: "bytes32";
|
|
469
|
+
}, {
|
|
470
|
+
readonly indexed: false;
|
|
471
|
+
readonly name: "app";
|
|
472
|
+
readonly type: "address";
|
|
868
473
|
}];
|
|
869
|
-
readonly
|
|
870
|
-
readonly type: "
|
|
871
|
-
}, {
|
|
872
|
-
readonly stateMutability: "payable";
|
|
873
|
-
readonly type: "receive";
|
|
474
|
+
readonly name: "SetApp";
|
|
475
|
+
readonly type: "event";
|
|
874
476
|
}];
|
|
875
477
|
/**
|
|
876
478
|
* Type-safe ABI for Kernel_json
|
|
@@ -929,86 +531,86 @@ export declare class Kernel_json {
|
|
|
929
531
|
*/
|
|
930
532
|
getContract(): Kernel_jsonContract;
|
|
931
533
|
/**
|
|
932
|
-
*
|
|
933
|
-
*
|
|
534
|
+
* hasInitialized
|
|
535
|
+
* view
|
|
934
536
|
*/
|
|
935
|
-
|
|
537
|
+
hasInitialized(): Promise<boolean>;
|
|
936
538
|
/**
|
|
937
|
-
*
|
|
938
|
-
*
|
|
539
|
+
* KERNEL_APP_ID
|
|
540
|
+
* pure
|
|
939
541
|
*/
|
|
940
|
-
|
|
542
|
+
KERNEL_APP_ID(): Promise<`0x${string}`>;
|
|
941
543
|
/**
|
|
942
|
-
*
|
|
943
|
-
*
|
|
544
|
+
* APP_ADDR_NAMESPACE
|
|
545
|
+
* pure
|
|
944
546
|
*/
|
|
945
|
-
|
|
547
|
+
APP_ADDR_NAMESPACE(): Promise<`0x${string}`>;
|
|
946
548
|
/**
|
|
947
|
-
*
|
|
549
|
+
* getRecoveryVault
|
|
948
550
|
* view
|
|
949
551
|
*/
|
|
950
|
-
|
|
552
|
+
getRecoveryVault(): Promise<`0x${string}`>;
|
|
951
553
|
/**
|
|
952
|
-
*
|
|
554
|
+
* apps
|
|
953
555
|
* view
|
|
954
556
|
*/
|
|
955
|
-
|
|
557
|
+
apps(arg0: `0x${string}`, arg1: `0x${string}`): Promise<`0x${string}`>;
|
|
956
558
|
/**
|
|
957
|
-
*
|
|
958
|
-
*
|
|
559
|
+
* CORE_NAMESPACE
|
|
560
|
+
* pure
|
|
959
561
|
*/
|
|
960
|
-
|
|
562
|
+
CORE_NAMESPACE(): Promise<`0x${string}`>;
|
|
961
563
|
/**
|
|
962
|
-
*
|
|
564
|
+
* allowRecoverability
|
|
963
565
|
* view
|
|
964
566
|
*/
|
|
965
|
-
|
|
567
|
+
allowRecoverability(token: `0x${string}`): Promise<boolean>;
|
|
966
568
|
/**
|
|
967
|
-
*
|
|
569
|
+
* recoveryVaultAppId
|
|
968
570
|
* view
|
|
969
571
|
*/
|
|
970
|
-
|
|
572
|
+
recoveryVaultAppId(): Promise<`0x${string}`>;
|
|
971
573
|
/**
|
|
972
|
-
*
|
|
574
|
+
* getInitializationBlock
|
|
973
575
|
* view
|
|
974
576
|
*/
|
|
975
|
-
|
|
577
|
+
getInitializationBlock(): Promise<bigint>;
|
|
976
578
|
/**
|
|
977
|
-
*
|
|
579
|
+
* APP_MANAGER_ROLE
|
|
978
580
|
* view
|
|
979
581
|
*/
|
|
980
|
-
|
|
582
|
+
APP_MANAGER_ROLE(): Promise<`0x${string}`>;
|
|
981
583
|
/**
|
|
982
|
-
*
|
|
584
|
+
* getApp
|
|
983
585
|
* view
|
|
984
586
|
*/
|
|
985
|
-
|
|
587
|
+
getApp(_namespace: `0x${string}`, _appId: `0x${string}`): Promise<`0x${string}`>;
|
|
986
588
|
/**
|
|
987
|
-
*
|
|
589
|
+
* APP_BASES_NAMESPACE
|
|
988
590
|
* pure
|
|
989
591
|
*/
|
|
990
|
-
|
|
592
|
+
APP_BASES_NAMESPACE(): Promise<`0x${string}`>;
|
|
991
593
|
/**
|
|
992
|
-
*
|
|
993
|
-
*
|
|
594
|
+
* acl
|
|
595
|
+
* view
|
|
994
596
|
*/
|
|
995
|
-
|
|
597
|
+
acl(): Promise<`0x${string}`>;
|
|
996
598
|
/**
|
|
997
|
-
*
|
|
599
|
+
* isPetrified
|
|
998
600
|
* view
|
|
999
601
|
*/
|
|
1000
|
-
|
|
602
|
+
isPetrified(): Promise<boolean>;
|
|
1001
603
|
/**
|
|
1002
|
-
*
|
|
1003
|
-
*
|
|
604
|
+
* DEFAULT_ACL_APP_ID
|
|
605
|
+
* pure
|
|
1004
606
|
*/
|
|
1005
|
-
|
|
607
|
+
DEFAULT_ACL_APP_ID(): Promise<`0x${string}`>;
|
|
1006
608
|
/**
|
|
1007
|
-
*
|
|
1008
|
-
*
|
|
1009
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
609
|
+
* hasPermission
|
|
610
|
+
* view
|
|
1010
611
|
*/
|
|
1011
|
-
|
|
612
|
+
hasPermission(_who: `0x${string}`, _where: `0x${string}`, _what: `0x${string}`, _how: `0x${string}`): Promise<boolean>;
|
|
613
|
+
newAppInstance(_appId: `0x${string}`, _appBase: `0x${string}`, _initializePayload: `0x${string}`, _setDefault: boolean, options?: {
|
|
1012
614
|
accessList?: import('viem').AccessList;
|
|
1013
615
|
authorizationList?: import('viem').AuthorizationList;
|
|
1014
616
|
chain?: import('viem').Chain | null;
|
|
@@ -1020,12 +622,7 @@ export declare class Kernel_json {
|
|
|
1020
622
|
nonce?: number;
|
|
1021
623
|
value?: bigint;
|
|
1022
624
|
}): Promise<`0x${string}`>;
|
|
1023
|
-
|
|
1024
|
-
* executeFromExecutor
|
|
1025
|
-
* payable
|
|
1026
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1027
|
-
*/
|
|
1028
|
-
executeFromExecutor(execMode: `0x${string}`, executionCalldata: `0x${string}`, options?: {
|
|
625
|
+
newAppInstance(_appId: `0x${string}`, _appBase: `0x${string}`, options?: {
|
|
1029
626
|
accessList?: import('viem').AccessList;
|
|
1030
627
|
authorizationList?: import('viem').AuthorizationList;
|
|
1031
628
|
chain?: import('viem').Chain | null;
|
|
@@ -1038,11 +635,11 @@ export declare class Kernel_json {
|
|
|
1038
635
|
value?: bigint;
|
|
1039
636
|
}): Promise<`0x${string}`>;
|
|
1040
637
|
/**
|
|
1041
|
-
*
|
|
1042
|
-
*
|
|
638
|
+
* initialize
|
|
639
|
+
* nonpayable
|
|
1043
640
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1044
641
|
*/
|
|
1045
|
-
|
|
642
|
+
initialize(_baseAcl: `0x${string}`, _permissionsCreator: `0x${string}`, options?: {
|
|
1046
643
|
accessList?: import('viem').AccessList;
|
|
1047
644
|
authorizationList?: import('viem').AuthorizationList;
|
|
1048
645
|
chain?: import('viem').Chain | null;
|
|
@@ -1055,11 +652,11 @@ export declare class Kernel_json {
|
|
|
1055
652
|
value?: bigint;
|
|
1056
653
|
}): Promise<`0x${string}`>;
|
|
1057
654
|
/**
|
|
1058
|
-
*
|
|
655
|
+
* setRecoveryVaultAppId
|
|
1059
656
|
* nonpayable
|
|
1060
657
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1061
658
|
*/
|
|
1062
|
-
|
|
659
|
+
setRecoveryVaultAppId(_recoveryVaultAppId: `0x${string}`, options?: {
|
|
1063
660
|
accessList?: import('viem').AccessList;
|
|
1064
661
|
authorizationList?: import('viem').AuthorizationList;
|
|
1065
662
|
chain?: import('viem').Chain | null;
|
|
@@ -1071,12 +668,7 @@ export declare class Kernel_json {
|
|
|
1071
668
|
nonce?: number;
|
|
1072
669
|
value?: bigint;
|
|
1073
670
|
}): Promise<`0x${string}`>;
|
|
1074
|
-
|
|
1075
|
-
* installModule
|
|
1076
|
-
* payable
|
|
1077
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1078
|
-
*/
|
|
1079
|
-
installModule(moduleType: bigint, module: `0x${string}`, initData: `0x${string}`, options?: {
|
|
671
|
+
newPinnedAppInstance(_appId: `0x${string}`, _appBase: `0x${string}`, options?: {
|
|
1080
672
|
accessList?: import('viem').AccessList;
|
|
1081
673
|
authorizationList?: import('viem').AuthorizationList;
|
|
1082
674
|
chain?: import('viem').Chain | null;
|
|
@@ -1088,12 +680,7 @@ export declare class Kernel_json {
|
|
|
1088
680
|
nonce?: number;
|
|
1089
681
|
value?: bigint;
|
|
1090
682
|
}): Promise<`0x${string}`>;
|
|
1091
|
-
|
|
1092
|
-
* installValidations
|
|
1093
|
-
* payable
|
|
1094
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1095
|
-
*/
|
|
1096
|
-
installValidations(vIds: `0x${string}`[], configs: ValidationManager_ValidationConfig[], validationData: `0x${string}`[], hookData: `0x${string}`[], options?: {
|
|
683
|
+
newPinnedAppInstance(_appId: `0x${string}`, _appBase: `0x${string}`, _initializePayload: `0x${string}`, _setDefault: boolean, options?: {
|
|
1097
684
|
accessList?: import('viem').AccessList;
|
|
1098
685
|
authorizationList?: import('viem').AuthorizationList;
|
|
1099
686
|
chain?: import('viem').Chain | null;
|
|
@@ -1106,11 +693,11 @@ export declare class Kernel_json {
|
|
|
1106
693
|
value?: bigint;
|
|
1107
694
|
}): Promise<`0x${string}`>;
|
|
1108
695
|
/**
|
|
1109
|
-
*
|
|
1110
|
-
*
|
|
696
|
+
* transferToVault
|
|
697
|
+
* nonpayable
|
|
1111
698
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1112
699
|
*/
|
|
1113
|
-
|
|
700
|
+
transferToVault(_token: `0x${string}`, options?: {
|
|
1114
701
|
accessList?: import('viem').AccessList;
|
|
1115
702
|
authorizationList?: import('viem').AuthorizationList;
|
|
1116
703
|
chain?: import('viem').Chain | null;
|
|
@@ -1123,11 +710,11 @@ export declare class Kernel_json {
|
|
|
1123
710
|
value?: bigint;
|
|
1124
711
|
}): Promise<`0x${string}`>;
|
|
1125
712
|
/**
|
|
1126
|
-
*
|
|
1127
|
-
*
|
|
713
|
+
* setApp
|
|
714
|
+
* nonpayable
|
|
1128
715
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1129
716
|
*/
|
|
1130
|
-
|
|
717
|
+
setApp(_namespace: `0x${string}`, _appId: `0x${string}`, _app: `0x${string}`, options?: {
|
|
1131
718
|
accessList?: import('viem').AccessList;
|
|
1132
719
|
authorizationList?: import('viem').AuthorizationList;
|
|
1133
720
|
chain?: import('viem').Chain | null;
|
|
@@ -1139,12 +726,7 @@ export declare class Kernel_json {
|
|
|
1139
726
|
nonce?: number;
|
|
1140
727
|
value?: bigint;
|
|
1141
728
|
}): Promise<`0x${string}`>;
|
|
1142
|
-
|
|
1143
|
-
* uninstallValidation
|
|
1144
|
-
* payable
|
|
1145
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1146
|
-
*/
|
|
1147
|
-
uninstallValidation(vId: `0x${string}`, deinitData: `0x${string}`, hookDeinitData: `0x${string}`, options?: {
|
|
729
|
+
newAppProxyPinned(_kernel: `0x${string}`, _appId: `0x${string}`, _initializePayload: `0x${string}`, options?: {
|
|
1148
730
|
accessList?: import('viem').AccessList;
|
|
1149
731
|
authorizationList?: import('viem').AuthorizationList;
|
|
1150
732
|
chain?: import('viem').Chain | null;
|
|
@@ -1156,12 +738,7 @@ export declare class Kernel_json {
|
|
|
1156
738
|
nonce?: number;
|
|
1157
739
|
value?: bigint;
|
|
1158
740
|
}): Promise<`0x${string}`>;
|
|
1159
|
-
|
|
1160
|
-
* upgradeTo
|
|
1161
|
-
* payable
|
|
1162
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1163
|
-
*/
|
|
1164
|
-
upgradeTo(_newImplementation: `0x${string}`, options?: {
|
|
741
|
+
newAppProxyPinned(_kernel: `0x${string}`, _appId: `0x${string}`, options?: {
|
|
1165
742
|
accessList?: import('viem').AccessList;
|
|
1166
743
|
authorizationList?: import('viem').AuthorizationList;
|
|
1167
744
|
chain?: import('viem').Chain | null;
|
|
@@ -1173,12 +750,19 @@ export declare class Kernel_json {
|
|
|
1173
750
|
nonce?: number;
|
|
1174
751
|
value?: bigint;
|
|
1175
752
|
}): Promise<`0x${string}`>;
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
753
|
+
newAppProxy(_kernel: `0x${string}`, _appId: `0x${string}`, options?: {
|
|
754
|
+
accessList?: import('viem').AccessList;
|
|
755
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
756
|
+
chain?: import('viem').Chain | null;
|
|
757
|
+
dataSuffix?: `0x${string}`;
|
|
758
|
+
gas?: bigint;
|
|
759
|
+
gasPrice?: bigint;
|
|
760
|
+
maxFeePerGas?: bigint;
|
|
761
|
+
maxPriorityFeePerGas?: bigint;
|
|
762
|
+
nonce?: number;
|
|
763
|
+
value?: bigint;
|
|
764
|
+
}): Promise<`0x${string}`>;
|
|
765
|
+
newAppProxy(_kernel: `0x${string}`, _appId: `0x${string}`, _initializePayload: `0x${string}`, options?: {
|
|
1182
766
|
accessList?: import('viem').AccessList;
|
|
1183
767
|
authorizationList?: import('viem').AuthorizationList;
|
|
1184
768
|
chain?: import('viem').Chain | null;
|
|
@@ -1200,79 +784,18 @@ export declare class Kernel_json {
|
|
|
1200
784
|
*/
|
|
1201
785
|
get simulate(): {
|
|
1202
786
|
/**
|
|
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
|
|
787
|
+
* Simulate newAppInstance
|
|
1238
788
|
* Returns gas estimate and result without sending transaction
|
|
789
|
+
* Supports multiple overloads: (bytes32, address, bytes, bool), (bytes32, address)
|
|
1239
790
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1240
791
|
*/
|
|
1241
|
-
|
|
1242
|
-
accessList?: import("viem").AccessList;
|
|
1243
|
-
authorizationList?: import("viem").AuthorizationList;
|
|
1244
|
-
chain?: import("viem").Chain | null;
|
|
1245
|
-
dataSuffix?: `0x${string}`;
|
|
1246
|
-
gas?: bigint;
|
|
1247
|
-
gasPrice?: bigint;
|
|
1248
|
-
maxFeePerGas?: bigint;
|
|
1249
|
-
maxPriorityFeePerGas?: bigint;
|
|
1250
|
-
nonce?: number;
|
|
1251
|
-
value?: bigint;
|
|
1252
|
-
}): Promise<void>;
|
|
792
|
+
newAppInstance(...args: any[]): Promise<any>;
|
|
1253
793
|
/**
|
|
1254
794
|
* Simulate initialize
|
|
1255
795
|
* Returns gas estimate and result without sending transaction
|
|
1256
796
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1257
797
|
*/
|
|
1258
|
-
initialize(
|
|
1259
|
-
accessList?: import("viem").AccessList;
|
|
1260
|
-
authorizationList?: import("viem").AuthorizationList;
|
|
1261
|
-
chain?: import("viem").Chain | null;
|
|
1262
|
-
dataSuffix?: `0x${string}`;
|
|
1263
|
-
gas?: bigint;
|
|
1264
|
-
gasPrice?: bigint;
|
|
1265
|
-
maxFeePerGas?: bigint;
|
|
1266
|
-
maxPriorityFeePerGas?: bigint;
|
|
1267
|
-
nonce?: number;
|
|
1268
|
-
value?: bigint;
|
|
1269
|
-
}): Promise<void>;
|
|
1270
|
-
/**
|
|
1271
|
-
* Simulate installModule
|
|
1272
|
-
* Returns gas estimate and result without sending transaction
|
|
1273
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1274
|
-
*/
|
|
1275
|
-
installModule(moduleType: bigint, module: `0x${string}`, initData: `0x${string}`, options?: {
|
|
798
|
+
initialize(_baseAcl: `0x${string}`, _permissionsCreator: `0x${string}`, options?: {
|
|
1276
799
|
accessList?: import("viem").AccessList;
|
|
1277
800
|
authorizationList?: import("viem").AuthorizationList;
|
|
1278
801
|
chain?: import("viem").Chain | null;
|
|
@@ -1285,11 +808,11 @@ export declare class Kernel_json {
|
|
|
1285
808
|
value?: bigint;
|
|
1286
809
|
}): Promise<void>;
|
|
1287
810
|
/**
|
|
1288
|
-
* Simulate
|
|
811
|
+
* Simulate setRecoveryVaultAppId
|
|
1289
812
|
* Returns gas estimate and result without sending transaction
|
|
1290
813
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1291
814
|
*/
|
|
1292
|
-
|
|
815
|
+
setRecoveryVaultAppId(_recoveryVaultAppId: `0x${string}`, options?: {
|
|
1293
816
|
accessList?: import("viem").AccessList;
|
|
1294
817
|
authorizationList?: import("viem").AuthorizationList;
|
|
1295
818
|
chain?: import("viem").Chain | null;
|
|
@@ -1302,28 +825,18 @@ export declare class Kernel_json {
|
|
|
1302
825
|
value?: bigint;
|
|
1303
826
|
}): Promise<void>;
|
|
1304
827
|
/**
|
|
1305
|
-
* Simulate
|
|
828
|
+
* Simulate newPinnedAppInstance
|
|
1306
829
|
* Returns gas estimate and result without sending transaction
|
|
830
|
+
* Supports multiple overloads: (bytes32, address), (bytes32, address, bytes, bool)
|
|
1307
831
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1308
832
|
*/
|
|
1309
|
-
|
|
1310
|
-
accessList?: import("viem").AccessList;
|
|
1311
|
-
authorizationList?: import("viem").AuthorizationList;
|
|
1312
|
-
chain?: import("viem").Chain | null;
|
|
1313
|
-
dataSuffix?: `0x${string}`;
|
|
1314
|
-
gas?: bigint;
|
|
1315
|
-
gasPrice?: bigint;
|
|
1316
|
-
maxFeePerGas?: bigint;
|
|
1317
|
-
maxPriorityFeePerGas?: bigint;
|
|
1318
|
-
nonce?: number;
|
|
1319
|
-
value?: bigint;
|
|
1320
|
-
}): Promise<void>;
|
|
833
|
+
newPinnedAppInstance(...args: any[]): Promise<any>;
|
|
1321
834
|
/**
|
|
1322
|
-
* Simulate
|
|
835
|
+
* Simulate transferToVault
|
|
1323
836
|
* Returns gas estimate and result without sending transaction
|
|
1324
837
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1325
838
|
*/
|
|
1326
|
-
|
|
839
|
+
transferToVault(_token: `0x${string}`, options?: {
|
|
1327
840
|
accessList?: import("viem").AccessList;
|
|
1328
841
|
authorizationList?: import("viem").AuthorizationList;
|
|
1329
842
|
chain?: import("viem").Chain | null;
|
|
@@ -1336,11 +849,11 @@ export declare class Kernel_json {
|
|
|
1336
849
|
value?: bigint;
|
|
1337
850
|
}): Promise<void>;
|
|
1338
851
|
/**
|
|
1339
|
-
* Simulate
|
|
852
|
+
* Simulate setApp
|
|
1340
853
|
* Returns gas estimate and result without sending transaction
|
|
1341
854
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1342
855
|
*/
|
|
1343
|
-
|
|
856
|
+
setApp(_namespace: `0x${string}`, _appId: `0x${string}`, _app: `0x${string}`, options?: {
|
|
1344
857
|
accessList?: import("viem").AccessList;
|
|
1345
858
|
authorizationList?: import("viem").AuthorizationList;
|
|
1346
859
|
chain?: import("viem").Chain | null;
|
|
@@ -1353,39 +866,19 @@ export declare class Kernel_json {
|
|
|
1353
866
|
value?: bigint;
|
|
1354
867
|
}): Promise<void>;
|
|
1355
868
|
/**
|
|
1356
|
-
* Simulate
|
|
869
|
+
* Simulate newAppProxyPinned
|
|
1357
870
|
* Returns gas estimate and result without sending transaction
|
|
871
|
+
* Supports multiple overloads: (address, bytes32, bytes), (address, bytes32)
|
|
1358
872
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1359
873
|
*/
|
|
1360
|
-
|
|
1361
|
-
accessList?: import("viem").AccessList;
|
|
1362
|
-
authorizationList?: import("viem").AuthorizationList;
|
|
1363
|
-
chain?: import("viem").Chain | null;
|
|
1364
|
-
dataSuffix?: `0x${string}`;
|
|
1365
|
-
gas?: bigint;
|
|
1366
|
-
gasPrice?: bigint;
|
|
1367
|
-
maxFeePerGas?: bigint;
|
|
1368
|
-
maxPriorityFeePerGas?: bigint;
|
|
1369
|
-
nonce?: number;
|
|
1370
|
-
value?: bigint;
|
|
1371
|
-
}): Promise<void>;
|
|
874
|
+
newAppProxyPinned(...args: any[]): Promise<any>;
|
|
1372
875
|
/**
|
|
1373
|
-
* Simulate
|
|
876
|
+
* Simulate newAppProxy
|
|
1374
877
|
* Returns gas estimate and result without sending transaction
|
|
878
|
+
* Supports multiple overloads: (address, bytes32), (address, bytes32, bytes)
|
|
1375
879
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1376
880
|
*/
|
|
1377
|
-
|
|
1378
|
-
accessList?: import("viem").AccessList;
|
|
1379
|
-
authorizationList?: import("viem").AuthorizationList;
|
|
1380
|
-
chain?: import("viem").Chain | null;
|
|
1381
|
-
dataSuffix?: `0x${string}`;
|
|
1382
|
-
gas?: bigint;
|
|
1383
|
-
gasPrice?: bigint;
|
|
1384
|
-
maxFeePerGas?: bigint;
|
|
1385
|
-
maxPriorityFeePerGas?: bigint;
|
|
1386
|
-
nonce?: number;
|
|
1387
|
-
value?: bigint;
|
|
1388
|
-
}): Promise<bigint>;
|
|
881
|
+
newAppProxy(...args: any[]): Promise<any>;
|
|
1389
882
|
};
|
|
1390
883
|
/**
|
|
1391
884
|
* Watch contract events
|
|
@@ -1401,132 +894,43 @@ export declare class Kernel_json {
|
|
|
1401
894
|
*/
|
|
1402
895
|
get watch(): {
|
|
1403
896
|
/**
|
|
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
|
|
1444
|
-
* @param callback Function to call when event is emitted
|
|
1445
|
-
* @param filter Optional filter for indexed parameters
|
|
1446
|
-
* @returns Unwatch function to stop listening
|
|
1447
|
-
*/
|
|
1448
|
-
PermissionInstalled: (callback: (event: {
|
|
1449
|
-
permission: `0x${string}`;
|
|
1450
|
-
nonce: bigint;
|
|
1451
|
-
}) => void) => () => void;
|
|
1452
|
-
/**
|
|
1453
|
-
* Watch PermissionUninstalled events
|
|
897
|
+
* Watch NewAppProxy events
|
|
1454
898
|
* @param callback Function to call when event is emitted
|
|
1455
899
|
* @param filter Optional filter for indexed parameters
|
|
1456
900
|
* @returns Unwatch function to stop listening
|
|
1457
901
|
*/
|
|
1458
|
-
|
|
1459
|
-
|
|
902
|
+
NewAppProxy: (callback: (event: {
|
|
903
|
+
proxy: `0x${string}`;
|
|
904
|
+
isUpgradeable: boolean;
|
|
905
|
+
appId: `0x${string}`;
|
|
1460
906
|
}) => void) => () => void;
|
|
1461
907
|
/**
|
|
1462
|
-
* Watch
|
|
908
|
+
* Watch RecoverToVault events
|
|
1463
909
|
* @param callback Function to call when event is emitted
|
|
1464
910
|
* @param filter Optional filter for indexed parameters
|
|
1465
911
|
* @returns Unwatch function to stop listening
|
|
1466
912
|
*/
|
|
1467
|
-
|
|
1468
|
-
|
|
913
|
+
RecoverToVault: (callback: (event: {
|
|
914
|
+
vault: `0x${string}`;
|
|
915
|
+
token: `0x${string}`;
|
|
1469
916
|
amount: bigint;
|
|
1470
|
-
}) => 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
|
-
/**
|
|
1502
|
-
* Watch Upgraded events
|
|
1503
|
-
* @param callback Function to call when event is emitted
|
|
1504
|
-
* @param filter Optional filter for indexed parameters
|
|
1505
|
-
* @returns Unwatch function to stop listening
|
|
1506
|
-
*/
|
|
1507
|
-
Upgraded: (callback: (event: {
|
|
1508
|
-
implementation: `0x${string}`;
|
|
1509
917
|
}) => void, filter?: {
|
|
1510
|
-
|
|
918
|
+
vault: `0x${string}`;
|
|
919
|
+
token: `0x${string}`;
|
|
1511
920
|
}) => () => void;
|
|
1512
921
|
/**
|
|
1513
|
-
* Watch
|
|
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
|
|
922
|
+
* Watch SetApp events
|
|
1524
923
|
* @param callback Function to call when event is emitted
|
|
1525
924
|
* @param filter Optional filter for indexed parameters
|
|
1526
925
|
* @returns Unwatch function to stop listening
|
|
1527
926
|
*/
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
|
|
927
|
+
SetApp: (callback: (event: {
|
|
928
|
+
namespace: `0x${string}`;
|
|
929
|
+
appId: `0x${string}`;
|
|
930
|
+
app: `0x${string}`;
|
|
931
|
+
}) => void, filter?: {
|
|
932
|
+
namespace: `0x${string}`;
|
|
933
|
+
appId: `0x${string}`;
|
|
934
|
+
}) => () => void;
|
|
1531
935
|
};
|
|
1532
936
|
}
|