@flarenetwork/flare-wagmi-periphery-package 2.6.0 → 2.7.0
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/dist/contracts/coston2/ICustomInstructionsFacet.d.ts +713 -0
- package/dist/contracts/coston2/ICustomInstructionsFacet.d.ts.map +1 -0
- package/dist/contracts/coston2/ICustomInstructionsFacet.js +123 -0
- package/dist/contracts/coston2/ICustomInstructionsFacet.js.map +1 -0
- package/dist/contracts/coston2/IInstructionsFacet.d.ts +185 -0
- package/dist/contracts/coston2/IInstructionsFacet.d.ts.map +1 -1
- package/dist/contracts/coston2/IInstructionsFacet.js +21 -0
- package/dist/contracts/coston2/IInstructionsFacet.js.map +1 -1
- package/dist/contracts/coston2/IMasterAccountController.d.ts +991 -11
- package/dist/contracts/coston2/IMasterAccountController.d.ts.map +1 -1
- package/dist/contracts/coston2/IMasterAccountController.js +117 -0
- package/dist/contracts/coston2/IMasterAccountController.js.map +1 -1
- package/dist/contracts/coston2/IPersonalAccount.d.ts +132 -0
- package/dist/contracts/coston2/IPersonalAccount.d.ts.map +1 -1
- package/dist/contracts/coston2/IPersonalAccount.js +34 -0
- package/dist/contracts/coston2/IPersonalAccount.js.map +1 -1
- package/dist/contracts/coston2/IVaultsFacet.d.ts +60 -0
- package/dist/contracts/coston2/IVaultsFacet.d.ts.map +1 -1
- package/dist/contracts/coston2/IVaultsFacet.js +10 -0
- package/dist/contracts/coston2/IVaultsFacet.js.map +1 -1
- package/dist/contracts/coston2/index.d.ts +1 -0
- package/dist/contracts/coston2/index.d.ts.map +1 -1
- package/dist/contracts/coston2/index.js +1 -0
- package/dist/contracts/coston2/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,713 @@
|
|
|
1
|
+
export declare const iCustomInstructionsFacetAbi: readonly [{
|
|
2
|
+
readonly type: "error";
|
|
3
|
+
readonly inputs: readonly [];
|
|
4
|
+
readonly name: "EmptyCustomInstruction";
|
|
5
|
+
}, {
|
|
6
|
+
readonly type: "error";
|
|
7
|
+
readonly inputs: readonly [];
|
|
8
|
+
readonly name: "TargetAddressZero";
|
|
9
|
+
}, {
|
|
10
|
+
readonly type: "error";
|
|
11
|
+
readonly inputs: readonly [{
|
|
12
|
+
readonly name: "target";
|
|
13
|
+
readonly internalType: "address";
|
|
14
|
+
readonly type: "address";
|
|
15
|
+
}];
|
|
16
|
+
readonly name: "TargetNotAContract";
|
|
17
|
+
}, {
|
|
18
|
+
readonly type: "event";
|
|
19
|
+
readonly anonymous: false;
|
|
20
|
+
readonly inputs: readonly [{
|
|
21
|
+
readonly name: "customInstructionHash";
|
|
22
|
+
readonly internalType: "bytes32";
|
|
23
|
+
readonly type: "bytes32";
|
|
24
|
+
readonly indexed: true;
|
|
25
|
+
}];
|
|
26
|
+
readonly name: "CustomInstructionAlreadyRegistered";
|
|
27
|
+
}, {
|
|
28
|
+
readonly type: "event";
|
|
29
|
+
readonly anonymous: false;
|
|
30
|
+
readonly inputs: readonly [{
|
|
31
|
+
readonly name: "customInstructionHash";
|
|
32
|
+
readonly internalType: "bytes32";
|
|
33
|
+
readonly type: "bytes32";
|
|
34
|
+
readonly indexed: true;
|
|
35
|
+
}];
|
|
36
|
+
readonly name: "CustomInstructionRegistered";
|
|
37
|
+
}, {
|
|
38
|
+
readonly type: "function";
|
|
39
|
+
readonly inputs: readonly [{
|
|
40
|
+
readonly name: "_customInstruction";
|
|
41
|
+
readonly internalType: "struct ICustomInstructionsFacet.CustomCall[]";
|
|
42
|
+
readonly type: "tuple[]";
|
|
43
|
+
readonly components: readonly [{
|
|
44
|
+
readonly name: "targetContract";
|
|
45
|
+
readonly internalType: "address";
|
|
46
|
+
readonly type: "address";
|
|
47
|
+
}, {
|
|
48
|
+
readonly name: "value";
|
|
49
|
+
readonly internalType: "uint256";
|
|
50
|
+
readonly type: "uint256";
|
|
51
|
+
}, {
|
|
52
|
+
readonly name: "data";
|
|
53
|
+
readonly internalType: "bytes";
|
|
54
|
+
readonly type: "bytes";
|
|
55
|
+
}];
|
|
56
|
+
}];
|
|
57
|
+
readonly name: "encodeCustomInstruction";
|
|
58
|
+
readonly outputs: readonly [{
|
|
59
|
+
readonly name: "_customInstructionHash";
|
|
60
|
+
readonly internalType: "bytes32";
|
|
61
|
+
readonly type: "bytes32";
|
|
62
|
+
}];
|
|
63
|
+
readonly stateMutability: "pure";
|
|
64
|
+
}, {
|
|
65
|
+
readonly type: "function";
|
|
66
|
+
readonly inputs: readonly [{
|
|
67
|
+
readonly name: "_customInstructionHash";
|
|
68
|
+
readonly internalType: "bytes32";
|
|
69
|
+
readonly type: "bytes32";
|
|
70
|
+
}];
|
|
71
|
+
readonly name: "getCustomInstruction";
|
|
72
|
+
readonly outputs: readonly [{
|
|
73
|
+
readonly name: "_customInstruction";
|
|
74
|
+
readonly internalType: "struct ICustomInstructionsFacet.CustomCall[]";
|
|
75
|
+
readonly type: "tuple[]";
|
|
76
|
+
readonly components: readonly [{
|
|
77
|
+
readonly name: "targetContract";
|
|
78
|
+
readonly internalType: "address";
|
|
79
|
+
readonly type: "address";
|
|
80
|
+
}, {
|
|
81
|
+
readonly name: "value";
|
|
82
|
+
readonly internalType: "uint256";
|
|
83
|
+
readonly type: "uint256";
|
|
84
|
+
}, {
|
|
85
|
+
readonly name: "data";
|
|
86
|
+
readonly internalType: "bytes";
|
|
87
|
+
readonly type: "bytes";
|
|
88
|
+
}];
|
|
89
|
+
}];
|
|
90
|
+
readonly stateMutability: "view";
|
|
91
|
+
}, {
|
|
92
|
+
readonly type: "function";
|
|
93
|
+
readonly inputs: readonly [{
|
|
94
|
+
readonly name: "_start";
|
|
95
|
+
readonly internalType: "uint256";
|
|
96
|
+
readonly type: "uint256";
|
|
97
|
+
}, {
|
|
98
|
+
readonly name: "_end";
|
|
99
|
+
readonly internalType: "uint256";
|
|
100
|
+
readonly type: "uint256";
|
|
101
|
+
}];
|
|
102
|
+
readonly name: "getCustomInstructionHashes";
|
|
103
|
+
readonly outputs: readonly [{
|
|
104
|
+
readonly name: "_customInstructionHashes";
|
|
105
|
+
readonly internalType: "bytes32[]";
|
|
106
|
+
readonly type: "bytes32[]";
|
|
107
|
+
}, {
|
|
108
|
+
readonly name: "_totalLength";
|
|
109
|
+
readonly internalType: "uint256";
|
|
110
|
+
readonly type: "uint256";
|
|
111
|
+
}];
|
|
112
|
+
readonly stateMutability: "view";
|
|
113
|
+
}, {
|
|
114
|
+
readonly type: "function";
|
|
115
|
+
readonly inputs: readonly [{
|
|
116
|
+
readonly name: "_customInstruction";
|
|
117
|
+
readonly internalType: "struct ICustomInstructionsFacet.CustomCall[]";
|
|
118
|
+
readonly type: "tuple[]";
|
|
119
|
+
readonly components: readonly [{
|
|
120
|
+
readonly name: "targetContract";
|
|
121
|
+
readonly internalType: "address";
|
|
122
|
+
readonly type: "address";
|
|
123
|
+
}, {
|
|
124
|
+
readonly name: "value";
|
|
125
|
+
readonly internalType: "uint256";
|
|
126
|
+
readonly type: "uint256";
|
|
127
|
+
}, {
|
|
128
|
+
readonly name: "data";
|
|
129
|
+
readonly internalType: "bytes";
|
|
130
|
+
readonly type: "bytes";
|
|
131
|
+
}];
|
|
132
|
+
}];
|
|
133
|
+
readonly name: "registerCustomInstruction";
|
|
134
|
+
readonly outputs: readonly [{
|
|
135
|
+
readonly name: "_customInstructionHash";
|
|
136
|
+
readonly internalType: "bytes32";
|
|
137
|
+
readonly type: "bytes32";
|
|
138
|
+
}];
|
|
139
|
+
readonly stateMutability: "nonpayable";
|
|
140
|
+
}];
|
|
141
|
+
/**
|
|
142
|
+
* Wraps __{@link useReadContract}__ with `abi` set to __{@link iCustomInstructionsFacetAbi}__
|
|
143
|
+
*/
|
|
144
|
+
export declare const useReadICustomInstructionsFacet: import("wagmi/codegen").CreateUseReadContractReturnType<readonly [{
|
|
145
|
+
readonly type: "error";
|
|
146
|
+
readonly inputs: readonly [];
|
|
147
|
+
readonly name: "EmptyCustomInstruction";
|
|
148
|
+
}, {
|
|
149
|
+
readonly type: "error";
|
|
150
|
+
readonly inputs: readonly [];
|
|
151
|
+
readonly name: "TargetAddressZero";
|
|
152
|
+
}, {
|
|
153
|
+
readonly type: "error";
|
|
154
|
+
readonly inputs: readonly [{
|
|
155
|
+
readonly name: "target";
|
|
156
|
+
readonly internalType: "address";
|
|
157
|
+
readonly type: "address";
|
|
158
|
+
}];
|
|
159
|
+
readonly name: "TargetNotAContract";
|
|
160
|
+
}, {
|
|
161
|
+
readonly type: "event";
|
|
162
|
+
readonly anonymous: false;
|
|
163
|
+
readonly inputs: readonly [{
|
|
164
|
+
readonly name: "customInstructionHash";
|
|
165
|
+
readonly internalType: "bytes32";
|
|
166
|
+
readonly type: "bytes32";
|
|
167
|
+
readonly indexed: true;
|
|
168
|
+
}];
|
|
169
|
+
readonly name: "CustomInstructionAlreadyRegistered";
|
|
170
|
+
}, {
|
|
171
|
+
readonly type: "event";
|
|
172
|
+
readonly anonymous: false;
|
|
173
|
+
readonly inputs: readonly [{
|
|
174
|
+
readonly name: "customInstructionHash";
|
|
175
|
+
readonly internalType: "bytes32";
|
|
176
|
+
readonly type: "bytes32";
|
|
177
|
+
readonly indexed: true;
|
|
178
|
+
}];
|
|
179
|
+
readonly name: "CustomInstructionRegistered";
|
|
180
|
+
}, {
|
|
181
|
+
readonly type: "function";
|
|
182
|
+
readonly inputs: readonly [{
|
|
183
|
+
readonly name: "_customInstruction";
|
|
184
|
+
readonly internalType: "struct ICustomInstructionsFacet.CustomCall[]";
|
|
185
|
+
readonly type: "tuple[]";
|
|
186
|
+
readonly components: readonly [{
|
|
187
|
+
readonly name: "targetContract";
|
|
188
|
+
readonly internalType: "address";
|
|
189
|
+
readonly type: "address";
|
|
190
|
+
}, {
|
|
191
|
+
readonly name: "value";
|
|
192
|
+
readonly internalType: "uint256";
|
|
193
|
+
readonly type: "uint256";
|
|
194
|
+
}, {
|
|
195
|
+
readonly name: "data";
|
|
196
|
+
readonly internalType: "bytes";
|
|
197
|
+
readonly type: "bytes";
|
|
198
|
+
}];
|
|
199
|
+
}];
|
|
200
|
+
readonly name: "encodeCustomInstruction";
|
|
201
|
+
readonly outputs: readonly [{
|
|
202
|
+
readonly name: "_customInstructionHash";
|
|
203
|
+
readonly internalType: "bytes32";
|
|
204
|
+
readonly type: "bytes32";
|
|
205
|
+
}];
|
|
206
|
+
readonly stateMutability: "pure";
|
|
207
|
+
}, {
|
|
208
|
+
readonly type: "function";
|
|
209
|
+
readonly inputs: readonly [{
|
|
210
|
+
readonly name: "_customInstructionHash";
|
|
211
|
+
readonly internalType: "bytes32";
|
|
212
|
+
readonly type: "bytes32";
|
|
213
|
+
}];
|
|
214
|
+
readonly name: "getCustomInstruction";
|
|
215
|
+
readonly outputs: readonly [{
|
|
216
|
+
readonly name: "_customInstruction";
|
|
217
|
+
readonly internalType: "struct ICustomInstructionsFacet.CustomCall[]";
|
|
218
|
+
readonly type: "tuple[]";
|
|
219
|
+
readonly components: readonly [{
|
|
220
|
+
readonly name: "targetContract";
|
|
221
|
+
readonly internalType: "address";
|
|
222
|
+
readonly type: "address";
|
|
223
|
+
}, {
|
|
224
|
+
readonly name: "value";
|
|
225
|
+
readonly internalType: "uint256";
|
|
226
|
+
readonly type: "uint256";
|
|
227
|
+
}, {
|
|
228
|
+
readonly name: "data";
|
|
229
|
+
readonly internalType: "bytes";
|
|
230
|
+
readonly type: "bytes";
|
|
231
|
+
}];
|
|
232
|
+
}];
|
|
233
|
+
readonly stateMutability: "view";
|
|
234
|
+
}, {
|
|
235
|
+
readonly type: "function";
|
|
236
|
+
readonly inputs: readonly [{
|
|
237
|
+
readonly name: "_start";
|
|
238
|
+
readonly internalType: "uint256";
|
|
239
|
+
readonly type: "uint256";
|
|
240
|
+
}, {
|
|
241
|
+
readonly name: "_end";
|
|
242
|
+
readonly internalType: "uint256";
|
|
243
|
+
readonly type: "uint256";
|
|
244
|
+
}];
|
|
245
|
+
readonly name: "getCustomInstructionHashes";
|
|
246
|
+
readonly outputs: readonly [{
|
|
247
|
+
readonly name: "_customInstructionHashes";
|
|
248
|
+
readonly internalType: "bytes32[]";
|
|
249
|
+
readonly type: "bytes32[]";
|
|
250
|
+
}, {
|
|
251
|
+
readonly name: "_totalLength";
|
|
252
|
+
readonly internalType: "uint256";
|
|
253
|
+
readonly type: "uint256";
|
|
254
|
+
}];
|
|
255
|
+
readonly stateMutability: "view";
|
|
256
|
+
}, {
|
|
257
|
+
readonly type: "function";
|
|
258
|
+
readonly inputs: readonly [{
|
|
259
|
+
readonly name: "_customInstruction";
|
|
260
|
+
readonly internalType: "struct ICustomInstructionsFacet.CustomCall[]";
|
|
261
|
+
readonly type: "tuple[]";
|
|
262
|
+
readonly components: readonly [{
|
|
263
|
+
readonly name: "targetContract";
|
|
264
|
+
readonly internalType: "address";
|
|
265
|
+
readonly type: "address";
|
|
266
|
+
}, {
|
|
267
|
+
readonly name: "value";
|
|
268
|
+
readonly internalType: "uint256";
|
|
269
|
+
readonly type: "uint256";
|
|
270
|
+
}, {
|
|
271
|
+
readonly name: "data";
|
|
272
|
+
readonly internalType: "bytes";
|
|
273
|
+
readonly type: "bytes";
|
|
274
|
+
}];
|
|
275
|
+
}];
|
|
276
|
+
readonly name: "registerCustomInstruction";
|
|
277
|
+
readonly outputs: readonly [{
|
|
278
|
+
readonly name: "_customInstructionHash";
|
|
279
|
+
readonly internalType: "bytes32";
|
|
280
|
+
readonly type: "bytes32";
|
|
281
|
+
}];
|
|
282
|
+
readonly stateMutability: "nonpayable";
|
|
283
|
+
}], undefined, undefined, "abi">;
|
|
284
|
+
/**
|
|
285
|
+
* Wraps __{@link useWriteContract}__ with `abi` set to __{@link iCustomInstructionsFacetAbi}__
|
|
286
|
+
*/
|
|
287
|
+
export declare const useWriteICustomInstructionsFacet: import("wagmi/codegen").CreateUseWriteContractReturnType<readonly [{
|
|
288
|
+
readonly type: "error";
|
|
289
|
+
readonly inputs: readonly [];
|
|
290
|
+
readonly name: "EmptyCustomInstruction";
|
|
291
|
+
}, {
|
|
292
|
+
readonly type: "error";
|
|
293
|
+
readonly inputs: readonly [];
|
|
294
|
+
readonly name: "TargetAddressZero";
|
|
295
|
+
}, {
|
|
296
|
+
readonly type: "error";
|
|
297
|
+
readonly inputs: readonly [{
|
|
298
|
+
readonly name: "target";
|
|
299
|
+
readonly internalType: "address";
|
|
300
|
+
readonly type: "address";
|
|
301
|
+
}];
|
|
302
|
+
readonly name: "TargetNotAContract";
|
|
303
|
+
}, {
|
|
304
|
+
readonly type: "event";
|
|
305
|
+
readonly anonymous: false;
|
|
306
|
+
readonly inputs: readonly [{
|
|
307
|
+
readonly name: "customInstructionHash";
|
|
308
|
+
readonly internalType: "bytes32";
|
|
309
|
+
readonly type: "bytes32";
|
|
310
|
+
readonly indexed: true;
|
|
311
|
+
}];
|
|
312
|
+
readonly name: "CustomInstructionAlreadyRegistered";
|
|
313
|
+
}, {
|
|
314
|
+
readonly type: "event";
|
|
315
|
+
readonly anonymous: false;
|
|
316
|
+
readonly inputs: readonly [{
|
|
317
|
+
readonly name: "customInstructionHash";
|
|
318
|
+
readonly internalType: "bytes32";
|
|
319
|
+
readonly type: "bytes32";
|
|
320
|
+
readonly indexed: true;
|
|
321
|
+
}];
|
|
322
|
+
readonly name: "CustomInstructionRegistered";
|
|
323
|
+
}, {
|
|
324
|
+
readonly type: "function";
|
|
325
|
+
readonly inputs: readonly [{
|
|
326
|
+
readonly name: "_customInstruction";
|
|
327
|
+
readonly internalType: "struct ICustomInstructionsFacet.CustomCall[]";
|
|
328
|
+
readonly type: "tuple[]";
|
|
329
|
+
readonly components: readonly [{
|
|
330
|
+
readonly name: "targetContract";
|
|
331
|
+
readonly internalType: "address";
|
|
332
|
+
readonly type: "address";
|
|
333
|
+
}, {
|
|
334
|
+
readonly name: "value";
|
|
335
|
+
readonly internalType: "uint256";
|
|
336
|
+
readonly type: "uint256";
|
|
337
|
+
}, {
|
|
338
|
+
readonly name: "data";
|
|
339
|
+
readonly internalType: "bytes";
|
|
340
|
+
readonly type: "bytes";
|
|
341
|
+
}];
|
|
342
|
+
}];
|
|
343
|
+
readonly name: "encodeCustomInstruction";
|
|
344
|
+
readonly outputs: readonly [{
|
|
345
|
+
readonly name: "_customInstructionHash";
|
|
346
|
+
readonly internalType: "bytes32";
|
|
347
|
+
readonly type: "bytes32";
|
|
348
|
+
}];
|
|
349
|
+
readonly stateMutability: "pure";
|
|
350
|
+
}, {
|
|
351
|
+
readonly type: "function";
|
|
352
|
+
readonly inputs: readonly [{
|
|
353
|
+
readonly name: "_customInstructionHash";
|
|
354
|
+
readonly internalType: "bytes32";
|
|
355
|
+
readonly type: "bytes32";
|
|
356
|
+
}];
|
|
357
|
+
readonly name: "getCustomInstruction";
|
|
358
|
+
readonly outputs: readonly [{
|
|
359
|
+
readonly name: "_customInstruction";
|
|
360
|
+
readonly internalType: "struct ICustomInstructionsFacet.CustomCall[]";
|
|
361
|
+
readonly type: "tuple[]";
|
|
362
|
+
readonly components: readonly [{
|
|
363
|
+
readonly name: "targetContract";
|
|
364
|
+
readonly internalType: "address";
|
|
365
|
+
readonly type: "address";
|
|
366
|
+
}, {
|
|
367
|
+
readonly name: "value";
|
|
368
|
+
readonly internalType: "uint256";
|
|
369
|
+
readonly type: "uint256";
|
|
370
|
+
}, {
|
|
371
|
+
readonly name: "data";
|
|
372
|
+
readonly internalType: "bytes";
|
|
373
|
+
readonly type: "bytes";
|
|
374
|
+
}];
|
|
375
|
+
}];
|
|
376
|
+
readonly stateMutability: "view";
|
|
377
|
+
}, {
|
|
378
|
+
readonly type: "function";
|
|
379
|
+
readonly inputs: readonly [{
|
|
380
|
+
readonly name: "_start";
|
|
381
|
+
readonly internalType: "uint256";
|
|
382
|
+
readonly type: "uint256";
|
|
383
|
+
}, {
|
|
384
|
+
readonly name: "_end";
|
|
385
|
+
readonly internalType: "uint256";
|
|
386
|
+
readonly type: "uint256";
|
|
387
|
+
}];
|
|
388
|
+
readonly name: "getCustomInstructionHashes";
|
|
389
|
+
readonly outputs: readonly [{
|
|
390
|
+
readonly name: "_customInstructionHashes";
|
|
391
|
+
readonly internalType: "bytes32[]";
|
|
392
|
+
readonly type: "bytes32[]";
|
|
393
|
+
}, {
|
|
394
|
+
readonly name: "_totalLength";
|
|
395
|
+
readonly internalType: "uint256";
|
|
396
|
+
readonly type: "uint256";
|
|
397
|
+
}];
|
|
398
|
+
readonly stateMutability: "view";
|
|
399
|
+
}, {
|
|
400
|
+
readonly type: "function";
|
|
401
|
+
readonly inputs: readonly [{
|
|
402
|
+
readonly name: "_customInstruction";
|
|
403
|
+
readonly internalType: "struct ICustomInstructionsFacet.CustomCall[]";
|
|
404
|
+
readonly type: "tuple[]";
|
|
405
|
+
readonly components: readonly [{
|
|
406
|
+
readonly name: "targetContract";
|
|
407
|
+
readonly internalType: "address";
|
|
408
|
+
readonly type: "address";
|
|
409
|
+
}, {
|
|
410
|
+
readonly name: "value";
|
|
411
|
+
readonly internalType: "uint256";
|
|
412
|
+
readonly type: "uint256";
|
|
413
|
+
}, {
|
|
414
|
+
readonly name: "data";
|
|
415
|
+
readonly internalType: "bytes";
|
|
416
|
+
readonly type: "bytes";
|
|
417
|
+
}];
|
|
418
|
+
}];
|
|
419
|
+
readonly name: "registerCustomInstruction";
|
|
420
|
+
readonly outputs: readonly [{
|
|
421
|
+
readonly name: "_customInstructionHash";
|
|
422
|
+
readonly internalType: "bytes32";
|
|
423
|
+
readonly type: "bytes32";
|
|
424
|
+
}];
|
|
425
|
+
readonly stateMutability: "nonpayable";
|
|
426
|
+
}], undefined, undefined>;
|
|
427
|
+
/**
|
|
428
|
+
* Wraps __{@link useSimulateContract}__ with `abi` set to __{@link iCustomInstructionsFacetAbi}__
|
|
429
|
+
*/
|
|
430
|
+
export declare const useSimulateICustomInstructionsFacet: import("wagmi/codegen").CreateUseSimulateContractReturnType<readonly [{
|
|
431
|
+
readonly type: "error";
|
|
432
|
+
readonly inputs: readonly [];
|
|
433
|
+
readonly name: "EmptyCustomInstruction";
|
|
434
|
+
}, {
|
|
435
|
+
readonly type: "error";
|
|
436
|
+
readonly inputs: readonly [];
|
|
437
|
+
readonly name: "TargetAddressZero";
|
|
438
|
+
}, {
|
|
439
|
+
readonly type: "error";
|
|
440
|
+
readonly inputs: readonly [{
|
|
441
|
+
readonly name: "target";
|
|
442
|
+
readonly internalType: "address";
|
|
443
|
+
readonly type: "address";
|
|
444
|
+
}];
|
|
445
|
+
readonly name: "TargetNotAContract";
|
|
446
|
+
}, {
|
|
447
|
+
readonly type: "event";
|
|
448
|
+
readonly anonymous: false;
|
|
449
|
+
readonly inputs: readonly [{
|
|
450
|
+
readonly name: "customInstructionHash";
|
|
451
|
+
readonly internalType: "bytes32";
|
|
452
|
+
readonly type: "bytes32";
|
|
453
|
+
readonly indexed: true;
|
|
454
|
+
}];
|
|
455
|
+
readonly name: "CustomInstructionAlreadyRegistered";
|
|
456
|
+
}, {
|
|
457
|
+
readonly type: "event";
|
|
458
|
+
readonly anonymous: false;
|
|
459
|
+
readonly inputs: readonly [{
|
|
460
|
+
readonly name: "customInstructionHash";
|
|
461
|
+
readonly internalType: "bytes32";
|
|
462
|
+
readonly type: "bytes32";
|
|
463
|
+
readonly indexed: true;
|
|
464
|
+
}];
|
|
465
|
+
readonly name: "CustomInstructionRegistered";
|
|
466
|
+
}, {
|
|
467
|
+
readonly type: "function";
|
|
468
|
+
readonly inputs: readonly [{
|
|
469
|
+
readonly name: "_customInstruction";
|
|
470
|
+
readonly internalType: "struct ICustomInstructionsFacet.CustomCall[]";
|
|
471
|
+
readonly type: "tuple[]";
|
|
472
|
+
readonly components: readonly [{
|
|
473
|
+
readonly name: "targetContract";
|
|
474
|
+
readonly internalType: "address";
|
|
475
|
+
readonly type: "address";
|
|
476
|
+
}, {
|
|
477
|
+
readonly name: "value";
|
|
478
|
+
readonly internalType: "uint256";
|
|
479
|
+
readonly type: "uint256";
|
|
480
|
+
}, {
|
|
481
|
+
readonly name: "data";
|
|
482
|
+
readonly internalType: "bytes";
|
|
483
|
+
readonly type: "bytes";
|
|
484
|
+
}];
|
|
485
|
+
}];
|
|
486
|
+
readonly name: "encodeCustomInstruction";
|
|
487
|
+
readonly outputs: readonly [{
|
|
488
|
+
readonly name: "_customInstructionHash";
|
|
489
|
+
readonly internalType: "bytes32";
|
|
490
|
+
readonly type: "bytes32";
|
|
491
|
+
}];
|
|
492
|
+
readonly stateMutability: "pure";
|
|
493
|
+
}, {
|
|
494
|
+
readonly type: "function";
|
|
495
|
+
readonly inputs: readonly [{
|
|
496
|
+
readonly name: "_customInstructionHash";
|
|
497
|
+
readonly internalType: "bytes32";
|
|
498
|
+
readonly type: "bytes32";
|
|
499
|
+
}];
|
|
500
|
+
readonly name: "getCustomInstruction";
|
|
501
|
+
readonly outputs: readonly [{
|
|
502
|
+
readonly name: "_customInstruction";
|
|
503
|
+
readonly internalType: "struct ICustomInstructionsFacet.CustomCall[]";
|
|
504
|
+
readonly type: "tuple[]";
|
|
505
|
+
readonly components: readonly [{
|
|
506
|
+
readonly name: "targetContract";
|
|
507
|
+
readonly internalType: "address";
|
|
508
|
+
readonly type: "address";
|
|
509
|
+
}, {
|
|
510
|
+
readonly name: "value";
|
|
511
|
+
readonly internalType: "uint256";
|
|
512
|
+
readonly type: "uint256";
|
|
513
|
+
}, {
|
|
514
|
+
readonly name: "data";
|
|
515
|
+
readonly internalType: "bytes";
|
|
516
|
+
readonly type: "bytes";
|
|
517
|
+
}];
|
|
518
|
+
}];
|
|
519
|
+
readonly stateMutability: "view";
|
|
520
|
+
}, {
|
|
521
|
+
readonly type: "function";
|
|
522
|
+
readonly inputs: readonly [{
|
|
523
|
+
readonly name: "_start";
|
|
524
|
+
readonly internalType: "uint256";
|
|
525
|
+
readonly type: "uint256";
|
|
526
|
+
}, {
|
|
527
|
+
readonly name: "_end";
|
|
528
|
+
readonly internalType: "uint256";
|
|
529
|
+
readonly type: "uint256";
|
|
530
|
+
}];
|
|
531
|
+
readonly name: "getCustomInstructionHashes";
|
|
532
|
+
readonly outputs: readonly [{
|
|
533
|
+
readonly name: "_customInstructionHashes";
|
|
534
|
+
readonly internalType: "bytes32[]";
|
|
535
|
+
readonly type: "bytes32[]";
|
|
536
|
+
}, {
|
|
537
|
+
readonly name: "_totalLength";
|
|
538
|
+
readonly internalType: "uint256";
|
|
539
|
+
readonly type: "uint256";
|
|
540
|
+
}];
|
|
541
|
+
readonly stateMutability: "view";
|
|
542
|
+
}, {
|
|
543
|
+
readonly type: "function";
|
|
544
|
+
readonly inputs: readonly [{
|
|
545
|
+
readonly name: "_customInstruction";
|
|
546
|
+
readonly internalType: "struct ICustomInstructionsFacet.CustomCall[]";
|
|
547
|
+
readonly type: "tuple[]";
|
|
548
|
+
readonly components: readonly [{
|
|
549
|
+
readonly name: "targetContract";
|
|
550
|
+
readonly internalType: "address";
|
|
551
|
+
readonly type: "address";
|
|
552
|
+
}, {
|
|
553
|
+
readonly name: "value";
|
|
554
|
+
readonly internalType: "uint256";
|
|
555
|
+
readonly type: "uint256";
|
|
556
|
+
}, {
|
|
557
|
+
readonly name: "data";
|
|
558
|
+
readonly internalType: "bytes";
|
|
559
|
+
readonly type: "bytes";
|
|
560
|
+
}];
|
|
561
|
+
}];
|
|
562
|
+
readonly name: "registerCustomInstruction";
|
|
563
|
+
readonly outputs: readonly [{
|
|
564
|
+
readonly name: "_customInstructionHash";
|
|
565
|
+
readonly internalType: "bytes32";
|
|
566
|
+
readonly type: "bytes32";
|
|
567
|
+
}];
|
|
568
|
+
readonly stateMutability: "nonpayable";
|
|
569
|
+
}], undefined, undefined>;
|
|
570
|
+
/**
|
|
571
|
+
* Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link iCustomInstructionsFacetAbi}__
|
|
572
|
+
*/
|
|
573
|
+
export declare const useWatchICustomInstructionsFacetEvent: import("wagmi/codegen").CreateUseWatchContractEventReturnType<readonly [{
|
|
574
|
+
readonly type: "error";
|
|
575
|
+
readonly inputs: readonly [];
|
|
576
|
+
readonly name: "EmptyCustomInstruction";
|
|
577
|
+
}, {
|
|
578
|
+
readonly type: "error";
|
|
579
|
+
readonly inputs: readonly [];
|
|
580
|
+
readonly name: "TargetAddressZero";
|
|
581
|
+
}, {
|
|
582
|
+
readonly type: "error";
|
|
583
|
+
readonly inputs: readonly [{
|
|
584
|
+
readonly name: "target";
|
|
585
|
+
readonly internalType: "address";
|
|
586
|
+
readonly type: "address";
|
|
587
|
+
}];
|
|
588
|
+
readonly name: "TargetNotAContract";
|
|
589
|
+
}, {
|
|
590
|
+
readonly type: "event";
|
|
591
|
+
readonly anonymous: false;
|
|
592
|
+
readonly inputs: readonly [{
|
|
593
|
+
readonly name: "customInstructionHash";
|
|
594
|
+
readonly internalType: "bytes32";
|
|
595
|
+
readonly type: "bytes32";
|
|
596
|
+
readonly indexed: true;
|
|
597
|
+
}];
|
|
598
|
+
readonly name: "CustomInstructionAlreadyRegistered";
|
|
599
|
+
}, {
|
|
600
|
+
readonly type: "event";
|
|
601
|
+
readonly anonymous: false;
|
|
602
|
+
readonly inputs: readonly [{
|
|
603
|
+
readonly name: "customInstructionHash";
|
|
604
|
+
readonly internalType: "bytes32";
|
|
605
|
+
readonly type: "bytes32";
|
|
606
|
+
readonly indexed: true;
|
|
607
|
+
}];
|
|
608
|
+
readonly name: "CustomInstructionRegistered";
|
|
609
|
+
}, {
|
|
610
|
+
readonly type: "function";
|
|
611
|
+
readonly inputs: readonly [{
|
|
612
|
+
readonly name: "_customInstruction";
|
|
613
|
+
readonly internalType: "struct ICustomInstructionsFacet.CustomCall[]";
|
|
614
|
+
readonly type: "tuple[]";
|
|
615
|
+
readonly components: readonly [{
|
|
616
|
+
readonly name: "targetContract";
|
|
617
|
+
readonly internalType: "address";
|
|
618
|
+
readonly type: "address";
|
|
619
|
+
}, {
|
|
620
|
+
readonly name: "value";
|
|
621
|
+
readonly internalType: "uint256";
|
|
622
|
+
readonly type: "uint256";
|
|
623
|
+
}, {
|
|
624
|
+
readonly name: "data";
|
|
625
|
+
readonly internalType: "bytes";
|
|
626
|
+
readonly type: "bytes";
|
|
627
|
+
}];
|
|
628
|
+
}];
|
|
629
|
+
readonly name: "encodeCustomInstruction";
|
|
630
|
+
readonly outputs: readonly [{
|
|
631
|
+
readonly name: "_customInstructionHash";
|
|
632
|
+
readonly internalType: "bytes32";
|
|
633
|
+
readonly type: "bytes32";
|
|
634
|
+
}];
|
|
635
|
+
readonly stateMutability: "pure";
|
|
636
|
+
}, {
|
|
637
|
+
readonly type: "function";
|
|
638
|
+
readonly inputs: readonly [{
|
|
639
|
+
readonly name: "_customInstructionHash";
|
|
640
|
+
readonly internalType: "bytes32";
|
|
641
|
+
readonly type: "bytes32";
|
|
642
|
+
}];
|
|
643
|
+
readonly name: "getCustomInstruction";
|
|
644
|
+
readonly outputs: readonly [{
|
|
645
|
+
readonly name: "_customInstruction";
|
|
646
|
+
readonly internalType: "struct ICustomInstructionsFacet.CustomCall[]";
|
|
647
|
+
readonly type: "tuple[]";
|
|
648
|
+
readonly components: readonly [{
|
|
649
|
+
readonly name: "targetContract";
|
|
650
|
+
readonly internalType: "address";
|
|
651
|
+
readonly type: "address";
|
|
652
|
+
}, {
|
|
653
|
+
readonly name: "value";
|
|
654
|
+
readonly internalType: "uint256";
|
|
655
|
+
readonly type: "uint256";
|
|
656
|
+
}, {
|
|
657
|
+
readonly name: "data";
|
|
658
|
+
readonly internalType: "bytes";
|
|
659
|
+
readonly type: "bytes";
|
|
660
|
+
}];
|
|
661
|
+
}];
|
|
662
|
+
readonly stateMutability: "view";
|
|
663
|
+
}, {
|
|
664
|
+
readonly type: "function";
|
|
665
|
+
readonly inputs: readonly [{
|
|
666
|
+
readonly name: "_start";
|
|
667
|
+
readonly internalType: "uint256";
|
|
668
|
+
readonly type: "uint256";
|
|
669
|
+
}, {
|
|
670
|
+
readonly name: "_end";
|
|
671
|
+
readonly internalType: "uint256";
|
|
672
|
+
readonly type: "uint256";
|
|
673
|
+
}];
|
|
674
|
+
readonly name: "getCustomInstructionHashes";
|
|
675
|
+
readonly outputs: readonly [{
|
|
676
|
+
readonly name: "_customInstructionHashes";
|
|
677
|
+
readonly internalType: "bytes32[]";
|
|
678
|
+
readonly type: "bytes32[]";
|
|
679
|
+
}, {
|
|
680
|
+
readonly name: "_totalLength";
|
|
681
|
+
readonly internalType: "uint256";
|
|
682
|
+
readonly type: "uint256";
|
|
683
|
+
}];
|
|
684
|
+
readonly stateMutability: "view";
|
|
685
|
+
}, {
|
|
686
|
+
readonly type: "function";
|
|
687
|
+
readonly inputs: readonly [{
|
|
688
|
+
readonly name: "_customInstruction";
|
|
689
|
+
readonly internalType: "struct ICustomInstructionsFacet.CustomCall[]";
|
|
690
|
+
readonly type: "tuple[]";
|
|
691
|
+
readonly components: readonly [{
|
|
692
|
+
readonly name: "targetContract";
|
|
693
|
+
readonly internalType: "address";
|
|
694
|
+
readonly type: "address";
|
|
695
|
+
}, {
|
|
696
|
+
readonly name: "value";
|
|
697
|
+
readonly internalType: "uint256";
|
|
698
|
+
readonly type: "uint256";
|
|
699
|
+
}, {
|
|
700
|
+
readonly name: "data";
|
|
701
|
+
readonly internalType: "bytes";
|
|
702
|
+
readonly type: "bytes";
|
|
703
|
+
}];
|
|
704
|
+
}];
|
|
705
|
+
readonly name: "registerCustomInstruction";
|
|
706
|
+
readonly outputs: readonly [{
|
|
707
|
+
readonly name: "_customInstructionHash";
|
|
708
|
+
readonly internalType: "bytes32";
|
|
709
|
+
readonly type: "bytes32";
|
|
710
|
+
}];
|
|
711
|
+
readonly stateMutability: "nonpayable";
|
|
712
|
+
}], undefined, undefined, "abi">;
|
|
713
|
+
//# sourceMappingURL=ICustomInstructionsFacet.d.ts.map
|