@cartesi/cli 1.4.0 → 2.0.0-alpha.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.
Files changed (62) hide show
  1. package/dist/baseCommand.d.ts +2 -0
  2. package/dist/baseCommand.d.ts.map +1 -1
  3. package/dist/baseCommand.js +10 -5
  4. package/dist/builder/directory.d.ts +3 -0
  5. package/dist/builder/directory.d.ts.map +1 -0
  6. package/dist/builder/directory.js +37 -0
  7. package/dist/builder/docker.d.ts +10 -0
  8. package/dist/builder/docker.d.ts.map +1 -0
  9. package/dist/builder/docker.js +103 -0
  10. package/dist/builder/empty.d.ts +3 -0
  11. package/dist/builder/empty.d.ts.map +1 -0
  12. package/dist/builder/empty.js +21 -0
  13. package/dist/builder/index.d.ts +6 -0
  14. package/dist/builder/index.d.ts.map +1 -0
  15. package/dist/builder/index.js +5 -0
  16. package/dist/builder/none.d.ts +3 -0
  17. package/dist/builder/none.d.ts.map +1 -0
  18. package/dist/builder/none.js +11 -0
  19. package/dist/builder/tar.d.ts +3 -0
  20. package/dist/builder/tar.d.ts.map +1 -0
  21. package/dist/builder/tar.js +30 -0
  22. package/dist/commands/build.d.ts +3 -15
  23. package/dist/commands/build.d.ts.map +1 -1
  24. package/dist/commands/build.js +53 -194
  25. package/dist/commands/shell.d.ts +2 -1
  26. package/dist/commands/shell.d.ts.map +1 -1
  27. package/dist/commands/shell.js +41 -41
  28. package/dist/config.d.ts +102 -0
  29. package/dist/config.d.ts.map +1 -0
  30. package/dist/config.js +378 -0
  31. package/dist/contracts.d.ts +492 -1038
  32. package/dist/contracts.d.ts.map +1 -1
  33. package/dist/contracts.js +223 -498
  34. package/dist/exec/cartesi-machine.d.ts +9 -0
  35. package/dist/exec/cartesi-machine.d.ts.map +1 -0
  36. package/dist/exec/cartesi-machine.js +20 -0
  37. package/dist/exec/crane.d.ts +15 -0
  38. package/dist/exec/crane.d.ts.map +1 -0
  39. package/dist/exec/crane.js +17 -0
  40. package/dist/exec/genext2fs.d.ts +28 -0
  41. package/dist/exec/genext2fs.d.ts.map +1 -0
  42. package/dist/exec/genext2fs.js +44 -0
  43. package/dist/exec/index.d.ts +5 -0
  44. package/dist/exec/index.d.ts.map +1 -0
  45. package/dist/exec/index.js +4 -0
  46. package/dist/exec/mksquashfs.d.ts +21 -0
  47. package/dist/exec/mksquashfs.d.ts.map +1 -0
  48. package/dist/exec/mksquashfs.js +45 -0
  49. package/dist/exec/util.d.ts +36 -0
  50. package/dist/exec/util.d.ts.map +1 -0
  51. package/dist/exec/util.js +78 -0
  52. package/dist/machine.d.ts +6 -0
  53. package/dist/machine.d.ts.map +1 -0
  54. package/dist/machine.js +80 -0
  55. package/dist/node/docker-compose-anvil.yaml +4 -3
  56. package/dist/node/docker-compose-bundler.yaml +1 -1
  57. package/dist/node/docker-compose-paymaster.yaml +1 -1
  58. package/oclif.manifest.json +32 -95
  59. package/package.json +5 -5
  60. package/dist/commands/send/dapp-address.d.ts +0 -9
  61. package/dist/commands/send/dapp-address.d.ts.map +0 -1
  62. package/dist/commands/send/dapp-address.js +0 -20
@@ -1,370 +1,4 @@
1
- export declare const authorityFactoryAbi: readonly [{
2
- readonly type: "event";
3
- readonly anonymous: false;
4
- readonly inputs: readonly [{
5
- readonly name: "authorityOwner";
6
- readonly internalType: "address";
7
- readonly type: "address";
8
- readonly indexed: false;
9
- }, {
10
- readonly name: "authority";
11
- readonly internalType: "contract Authority";
12
- readonly type: "address";
13
- readonly indexed: false;
14
- }];
15
- readonly name: "AuthorityCreated";
16
- }, {
17
- readonly type: "function";
18
- readonly inputs: readonly [{
19
- readonly name: "_authorityOwner";
20
- readonly internalType: "address";
21
- readonly type: "address";
22
- }, {
23
- readonly name: "_salt";
24
- readonly internalType: "bytes32";
25
- readonly type: "bytes32";
26
- }];
27
- readonly name: "calculateAuthorityAddress";
28
- readonly outputs: readonly [{
29
- readonly name: "";
30
- readonly internalType: "address";
31
- readonly type: "address";
32
- }];
33
- readonly stateMutability: "view";
34
- }, {
35
- readonly type: "function";
36
- readonly inputs: readonly [{
37
- readonly name: "_authorityOwner";
38
- readonly internalType: "address";
39
- readonly type: "address";
40
- }, {
41
- readonly name: "_salt";
42
- readonly internalType: "bytes32";
43
- readonly type: "bytes32";
44
- }];
45
- readonly name: "newAuthority";
46
- readonly outputs: readonly [{
47
- readonly name: "";
48
- readonly internalType: "contract Authority";
49
- readonly type: "address";
50
- }];
51
- readonly stateMutability: "nonpayable";
52
- }, {
53
- readonly type: "function";
54
- readonly inputs: readonly [{
55
- readonly name: "_authorityOwner";
56
- readonly internalType: "address";
57
- readonly type: "address";
58
- }];
59
- readonly name: "newAuthority";
60
- readonly outputs: readonly [{
61
- readonly name: "";
62
- readonly internalType: "contract Authority";
63
- readonly type: "address";
64
- }];
65
- readonly stateMutability: "nonpayable";
66
- }];
67
- export declare const authorityFactoryAddress: "0xf26a5b278C25D8D41A136d22Ad719EACEd9c3e63";
68
- export declare const authorityFactoryConfig: {
69
- readonly address: "0xf26a5b278C25D8D41A136d22Ad719EACEd9c3e63";
70
- readonly abi: readonly [{
71
- readonly type: "event";
72
- readonly anonymous: false;
73
- readonly inputs: readonly [{
74
- readonly name: "authorityOwner";
75
- readonly internalType: "address";
76
- readonly type: "address";
77
- readonly indexed: false;
78
- }, {
79
- readonly name: "authority";
80
- readonly internalType: "contract Authority";
81
- readonly type: "address";
82
- readonly indexed: false;
83
- }];
84
- readonly name: "AuthorityCreated";
85
- }, {
86
- readonly type: "function";
87
- readonly inputs: readonly [{
88
- readonly name: "_authorityOwner";
89
- readonly internalType: "address";
90
- readonly type: "address";
91
- }, {
92
- readonly name: "_salt";
93
- readonly internalType: "bytes32";
94
- readonly type: "bytes32";
95
- }];
96
- readonly name: "calculateAuthorityAddress";
97
- readonly outputs: readonly [{
98
- readonly name: "";
99
- readonly internalType: "address";
100
- readonly type: "address";
101
- }];
102
- readonly stateMutability: "view";
103
- }, {
104
- readonly type: "function";
105
- readonly inputs: readonly [{
106
- readonly name: "_authorityOwner";
107
- readonly internalType: "address";
108
- readonly type: "address";
109
- }, {
110
- readonly name: "_salt";
111
- readonly internalType: "bytes32";
112
- readonly type: "bytes32";
113
- }];
114
- readonly name: "newAuthority";
115
- readonly outputs: readonly [{
116
- readonly name: "";
117
- readonly internalType: "contract Authority";
118
- readonly type: "address";
119
- }];
120
- readonly stateMutability: "nonpayable";
121
- }, {
122
- readonly type: "function";
123
- readonly inputs: readonly [{
124
- readonly name: "_authorityOwner";
125
- readonly internalType: "address";
126
- readonly type: "address";
127
- }];
128
- readonly name: "newAuthority";
129
- readonly outputs: readonly [{
130
- readonly name: "";
131
- readonly internalType: "contract Authority";
132
- readonly type: "address";
133
- }];
134
- readonly stateMutability: "nonpayable";
135
- }];
136
- };
137
- export declare const authorityHistoryPairFactoryAbi: readonly [{
138
- readonly type: "constructor";
139
- readonly inputs: readonly [{
140
- readonly name: "_authorityFactory";
141
- readonly internalType: "contract IAuthorityFactory";
142
- readonly type: "address";
143
- }, {
144
- readonly name: "_historyFactory";
145
- readonly internalType: "contract IHistoryFactory";
146
- readonly type: "address";
147
- }];
148
- readonly stateMutability: "nonpayable";
149
- }, {
150
- readonly type: "event";
151
- readonly anonymous: false;
152
- readonly inputs: readonly [{
153
- readonly name: "authorityFactory";
154
- readonly internalType: "contract IAuthorityFactory";
155
- readonly type: "address";
156
- readonly indexed: false;
157
- }, {
158
- readonly name: "historyFactory";
159
- readonly internalType: "contract IHistoryFactory";
160
- readonly type: "address";
161
- readonly indexed: false;
162
- }];
163
- readonly name: "AuthorityHistoryPairFactoryCreated";
164
- }, {
165
- readonly type: "function";
166
- readonly inputs: readonly [{
167
- readonly name: "_authorityOwner";
168
- readonly internalType: "address";
169
- readonly type: "address";
170
- }, {
171
- readonly name: "_salt";
172
- readonly internalType: "bytes32";
173
- readonly type: "bytes32";
174
- }];
175
- readonly name: "calculateAuthorityHistoryAddressPair";
176
- readonly outputs: readonly [{
177
- readonly name: "authorityAddress_";
178
- readonly internalType: "address";
179
- readonly type: "address";
180
- }, {
181
- readonly name: "historyAddress_";
182
- readonly internalType: "address";
183
- readonly type: "address";
184
- }];
185
- readonly stateMutability: "view";
186
- }, {
187
- readonly type: "function";
188
- readonly inputs: readonly [];
189
- readonly name: "getAuthorityFactory";
190
- readonly outputs: readonly [{
191
- readonly name: "";
192
- readonly internalType: "contract IAuthorityFactory";
193
- readonly type: "address";
194
- }];
195
- readonly stateMutability: "view";
196
- }, {
197
- readonly type: "function";
198
- readonly inputs: readonly [];
199
- readonly name: "getHistoryFactory";
200
- readonly outputs: readonly [{
201
- readonly name: "";
202
- readonly internalType: "contract IHistoryFactory";
203
- readonly type: "address";
204
- }];
205
- readonly stateMutability: "view";
206
- }, {
207
- readonly type: "function";
208
- readonly inputs: readonly [{
209
- readonly name: "_authorityOwner";
210
- readonly internalType: "address";
211
- readonly type: "address";
212
- }];
213
- readonly name: "newAuthorityHistoryPair";
214
- readonly outputs: readonly [{
215
- readonly name: "authority_";
216
- readonly internalType: "contract Authority";
217
- readonly type: "address";
218
- }, {
219
- readonly name: "history_";
220
- readonly internalType: "contract History";
221
- readonly type: "address";
222
- }];
223
- readonly stateMutability: "nonpayable";
224
- }, {
225
- readonly type: "function";
226
- readonly inputs: readonly [{
227
- readonly name: "_authorityOwner";
228
- readonly internalType: "address";
229
- readonly type: "address";
230
- }, {
231
- readonly name: "_salt";
232
- readonly internalType: "bytes32";
233
- readonly type: "bytes32";
234
- }];
235
- readonly name: "newAuthorityHistoryPair";
236
- readonly outputs: readonly [{
237
- readonly name: "authority_";
238
- readonly internalType: "contract Authority";
239
- readonly type: "address";
240
- }, {
241
- readonly name: "history_";
242
- readonly internalType: "contract History";
243
- readonly type: "address";
244
- }];
245
- readonly stateMutability: "nonpayable";
246
- }];
247
- export declare const authorityHistoryPairFactoryAddress: "0x3890A047Cf9Af60731E80B2105362BbDCD70142D";
248
- export declare const authorityHistoryPairFactoryConfig: {
249
- readonly address: "0x3890A047Cf9Af60731E80B2105362BbDCD70142D";
250
- readonly abi: readonly [{
251
- readonly type: "constructor";
252
- readonly inputs: readonly [{
253
- readonly name: "_authorityFactory";
254
- readonly internalType: "contract IAuthorityFactory";
255
- readonly type: "address";
256
- }, {
257
- readonly name: "_historyFactory";
258
- readonly internalType: "contract IHistoryFactory";
259
- readonly type: "address";
260
- }];
261
- readonly stateMutability: "nonpayable";
262
- }, {
263
- readonly type: "event";
264
- readonly anonymous: false;
265
- readonly inputs: readonly [{
266
- readonly name: "authorityFactory";
267
- readonly internalType: "contract IAuthorityFactory";
268
- readonly type: "address";
269
- readonly indexed: false;
270
- }, {
271
- readonly name: "historyFactory";
272
- readonly internalType: "contract IHistoryFactory";
273
- readonly type: "address";
274
- readonly indexed: false;
275
- }];
276
- readonly name: "AuthorityHistoryPairFactoryCreated";
277
- }, {
278
- readonly type: "function";
279
- readonly inputs: readonly [{
280
- readonly name: "_authorityOwner";
281
- readonly internalType: "address";
282
- readonly type: "address";
283
- }, {
284
- readonly name: "_salt";
285
- readonly internalType: "bytes32";
286
- readonly type: "bytes32";
287
- }];
288
- readonly name: "calculateAuthorityHistoryAddressPair";
289
- readonly outputs: readonly [{
290
- readonly name: "authorityAddress_";
291
- readonly internalType: "address";
292
- readonly type: "address";
293
- }, {
294
- readonly name: "historyAddress_";
295
- readonly internalType: "address";
296
- readonly type: "address";
297
- }];
298
- readonly stateMutability: "view";
299
- }, {
300
- readonly type: "function";
301
- readonly inputs: readonly [];
302
- readonly name: "getAuthorityFactory";
303
- readonly outputs: readonly [{
304
- readonly name: "";
305
- readonly internalType: "contract IAuthorityFactory";
306
- readonly type: "address";
307
- }];
308
- readonly stateMutability: "view";
309
- }, {
310
- readonly type: "function";
311
- readonly inputs: readonly [];
312
- readonly name: "getHistoryFactory";
313
- readonly outputs: readonly [{
314
- readonly name: "";
315
- readonly internalType: "contract IHistoryFactory";
316
- readonly type: "address";
317
- }];
318
- readonly stateMutability: "view";
319
- }, {
320
- readonly type: "function";
321
- readonly inputs: readonly [{
322
- readonly name: "_authorityOwner";
323
- readonly internalType: "address";
324
- readonly type: "address";
325
- }];
326
- readonly name: "newAuthorityHistoryPair";
327
- readonly outputs: readonly [{
328
- readonly name: "authority_";
329
- readonly internalType: "contract Authority";
330
- readonly type: "address";
331
- }, {
332
- readonly name: "history_";
333
- readonly internalType: "contract History";
334
- readonly type: "address";
335
- }];
336
- readonly stateMutability: "nonpayable";
337
- }, {
338
- readonly type: "function";
339
- readonly inputs: readonly [{
340
- readonly name: "_authorityOwner";
341
- readonly internalType: "address";
342
- readonly type: "address";
343
- }, {
344
- readonly name: "_salt";
345
- readonly internalType: "bytes32";
346
- readonly type: "bytes32";
347
- }];
348
- readonly name: "newAuthorityHistoryPair";
349
- readonly outputs: readonly [{
350
- readonly name: "authority_";
351
- readonly internalType: "contract Authority";
352
- readonly type: "address";
353
- }, {
354
- readonly name: "history_";
355
- readonly internalType: "contract History";
356
- readonly type: "address";
357
- }];
358
- readonly stateMutability: "nonpayable";
359
- }];
360
- };
361
- export declare const bitmaskAbi: readonly [];
362
- export declare const bitmaskAddress: "0xF5B2d8c81cDE4D6238bBf20D3D77DB37df13f735";
363
- export declare const bitmaskConfig: {
364
- readonly address: "0xF5B2d8c81cDE4D6238bBf20D3D77DB37df13f735";
365
- readonly abi: readonly [];
366
- };
367
- export declare const cartesiDAppFactoryAbi: readonly [{
1
+ export declare const applicationFactoryAbi: readonly [{
368
2
  readonly type: "event";
369
3
  readonly anonymous: false;
370
4
  readonly inputs: readonly [{
@@ -373,7 +7,7 @@ export declare const cartesiDAppFactoryAbi: readonly [{
373
7
  readonly type: "address";
374
8
  readonly indexed: true;
375
9
  }, {
376
- readonly name: "dappOwner";
10
+ readonly name: "appOwner";
377
11
  readonly internalType: "address";
378
12
  readonly type: "address";
379
13
  readonly indexed: false;
@@ -383,8 +17,8 @@ export declare const cartesiDAppFactoryAbi: readonly [{
383
17
  readonly type: "bytes32";
384
18
  readonly indexed: false;
385
19
  }, {
386
- readonly name: "application";
387
- readonly internalType: "contract CartesiDApp";
20
+ readonly name: "appContract";
21
+ readonly internalType: "contract IApplication";
388
22
  readonly type: "address";
389
23
  readonly indexed: false;
390
24
  }];
@@ -392,19 +26,19 @@ export declare const cartesiDAppFactoryAbi: readonly [{
392
26
  }, {
393
27
  readonly type: "function";
394
28
  readonly inputs: readonly [{
395
- readonly name: "_consensus";
29
+ readonly name: "consensus";
396
30
  readonly internalType: "contract IConsensus";
397
31
  readonly type: "address";
398
32
  }, {
399
- readonly name: "_dappOwner";
33
+ readonly name: "appOwner";
400
34
  readonly internalType: "address";
401
35
  readonly type: "address";
402
36
  }, {
403
- readonly name: "_templateHash";
37
+ readonly name: "templateHash";
404
38
  readonly internalType: "bytes32";
405
39
  readonly type: "bytes32";
406
40
  }, {
407
- readonly name: "_salt";
41
+ readonly name: "salt";
408
42
  readonly internalType: "bytes32";
409
43
  readonly type: "bytes32";
410
44
  }];
@@ -418,55 +52,55 @@ export declare const cartesiDAppFactoryAbi: readonly [{
418
52
  }, {
419
53
  readonly type: "function";
420
54
  readonly inputs: readonly [{
421
- readonly name: "_consensus";
55
+ readonly name: "consensus";
422
56
  readonly internalType: "contract IConsensus";
423
57
  readonly type: "address";
424
58
  }, {
425
- readonly name: "_dappOwner";
59
+ readonly name: "appOwner";
426
60
  readonly internalType: "address";
427
61
  readonly type: "address";
428
62
  }, {
429
- readonly name: "_templateHash";
63
+ readonly name: "templateHash";
430
64
  readonly internalType: "bytes32";
431
65
  readonly type: "bytes32";
432
66
  }, {
433
- readonly name: "_salt";
67
+ readonly name: "salt";
434
68
  readonly internalType: "bytes32";
435
69
  readonly type: "bytes32";
436
70
  }];
437
71
  readonly name: "newApplication";
438
72
  readonly outputs: readonly [{
439
73
  readonly name: "";
440
- readonly internalType: "contract CartesiDApp";
74
+ readonly internalType: "contract IApplication";
441
75
  readonly type: "address";
442
76
  }];
443
77
  readonly stateMutability: "nonpayable";
444
78
  }, {
445
79
  readonly type: "function";
446
80
  readonly inputs: readonly [{
447
- readonly name: "_consensus";
81
+ readonly name: "consensus";
448
82
  readonly internalType: "contract IConsensus";
449
83
  readonly type: "address";
450
84
  }, {
451
- readonly name: "_dappOwner";
85
+ readonly name: "appOwner";
452
86
  readonly internalType: "address";
453
87
  readonly type: "address";
454
88
  }, {
455
- readonly name: "_templateHash";
89
+ readonly name: "templateHash";
456
90
  readonly internalType: "bytes32";
457
91
  readonly type: "bytes32";
458
92
  }];
459
93
  readonly name: "newApplication";
460
94
  readonly outputs: readonly [{
461
95
  readonly name: "";
462
- readonly internalType: "contract CartesiDApp";
96
+ readonly internalType: "contract IApplication";
463
97
  readonly type: "address";
464
98
  }];
465
99
  readonly stateMutability: "nonpayable";
466
100
  }];
467
- export declare const cartesiDAppFactoryAddress: "0x7122cd1221C20892234186facfE8615e6743Ab02";
468
- export declare const cartesiDAppFactoryConfig: {
469
- readonly address: "0x7122cd1221C20892234186facfE8615e6743Ab02";
101
+ export declare const applicationFactoryAddress: "0x1d4CfBD2622d802A07CeB4C3401Bbb455c9dbdC3";
102
+ export declare const applicationFactoryConfig: {
103
+ readonly address: "0x1d4CfBD2622d802A07CeB4C3401Bbb455c9dbdC3";
470
104
  readonly abi: readonly [{
471
105
  readonly type: "event";
472
106
  readonly anonymous: false;
@@ -476,7 +110,7 @@ export declare const cartesiDAppFactoryConfig: {
476
110
  readonly type: "address";
477
111
  readonly indexed: true;
478
112
  }, {
479
- readonly name: "dappOwner";
113
+ readonly name: "appOwner";
480
114
  readonly internalType: "address";
481
115
  readonly type: "address";
482
116
  readonly indexed: false;
@@ -486,8 +120,8 @@ export declare const cartesiDAppFactoryConfig: {
486
120
  readonly type: "bytes32";
487
121
  readonly indexed: false;
488
122
  }, {
489
- readonly name: "application";
490
- readonly internalType: "contract CartesiDApp";
123
+ readonly name: "appContract";
124
+ readonly internalType: "contract IApplication";
491
125
  readonly type: "address";
492
126
  readonly indexed: false;
493
127
  }];
@@ -495,19 +129,19 @@ export declare const cartesiDAppFactoryConfig: {
495
129
  }, {
496
130
  readonly type: "function";
497
131
  readonly inputs: readonly [{
498
- readonly name: "_consensus";
132
+ readonly name: "consensus";
499
133
  readonly internalType: "contract IConsensus";
500
134
  readonly type: "address";
501
135
  }, {
502
- readonly name: "_dappOwner";
136
+ readonly name: "appOwner";
503
137
  readonly internalType: "address";
504
138
  readonly type: "address";
505
139
  }, {
506
- readonly name: "_templateHash";
140
+ readonly name: "templateHash";
507
141
  readonly internalType: "bytes32";
508
142
  readonly type: "bytes32";
509
143
  }, {
510
- readonly name: "_salt";
144
+ readonly name: "salt";
511
145
  readonly internalType: "bytes32";
512
146
  readonly type: "bytes32";
513
147
  }];
@@ -521,293 +155,207 @@ export declare const cartesiDAppFactoryConfig: {
521
155
  }, {
522
156
  readonly type: "function";
523
157
  readonly inputs: readonly [{
524
- readonly name: "_consensus";
158
+ readonly name: "consensus";
525
159
  readonly internalType: "contract IConsensus";
526
160
  readonly type: "address";
527
161
  }, {
528
- readonly name: "_dappOwner";
162
+ readonly name: "appOwner";
529
163
  readonly internalType: "address";
530
164
  readonly type: "address";
531
165
  }, {
532
- readonly name: "_templateHash";
166
+ readonly name: "templateHash";
533
167
  readonly internalType: "bytes32";
534
168
  readonly type: "bytes32";
535
169
  }, {
536
- readonly name: "_salt";
170
+ readonly name: "salt";
537
171
  readonly internalType: "bytes32";
538
172
  readonly type: "bytes32";
539
173
  }];
540
174
  readonly name: "newApplication";
541
175
  readonly outputs: readonly [{
542
176
  readonly name: "";
543
- readonly internalType: "contract CartesiDApp";
177
+ readonly internalType: "contract IApplication";
544
178
  readonly type: "address";
545
179
  }];
546
180
  readonly stateMutability: "nonpayable";
547
181
  }, {
548
182
  readonly type: "function";
549
183
  readonly inputs: readonly [{
550
- readonly name: "_consensus";
184
+ readonly name: "consensus";
551
185
  readonly internalType: "contract IConsensus";
552
186
  readonly type: "address";
553
187
  }, {
554
- readonly name: "_dappOwner";
188
+ readonly name: "appOwner";
555
189
  readonly internalType: "address";
556
190
  readonly type: "address";
557
191
  }, {
558
- readonly name: "_templateHash";
192
+ readonly name: "templateHash";
559
193
  readonly internalType: "bytes32";
560
194
  readonly type: "bytes32";
561
195
  }];
562
196
  readonly name: "newApplication";
563
197
  readonly outputs: readonly [{
564
198
  readonly name: "";
565
- readonly internalType: "contract CartesiDApp";
199
+ readonly internalType: "contract IApplication";
566
200
  readonly type: "address";
567
201
  }];
568
202
  readonly stateMutability: "nonpayable";
569
203
  }];
570
204
  };
571
- export declare const cartesiMathV2Abi: readonly [{
572
- readonly type: "function";
573
- readonly inputs: readonly [{
574
- readonly name: "_num";
575
- readonly internalType: "uint256";
576
- readonly type: "uint256";
577
- }];
578
- readonly name: "clz";
579
- readonly outputs: readonly [{
580
- readonly name: "";
581
- readonly internalType: "uint256";
582
- readonly type: "uint256";
583
- }];
584
- readonly stateMutability: "pure";
585
- }, {
586
- readonly type: "function";
587
- readonly inputs: readonly [{
588
- readonly name: "_num";
589
- readonly internalType: "uint256";
590
- readonly type: "uint256";
591
- }];
592
- readonly name: "ctz";
593
- readonly outputs: readonly [{
594
- readonly name: "";
595
- readonly internalType: "uint256";
596
- readonly type: "uint256";
597
- }];
598
- readonly stateMutability: "pure";
599
- }, {
600
- readonly type: "function";
601
- readonly inputs: readonly [{
602
- readonly name: "_num";
603
- readonly internalType: "uint256";
604
- readonly type: "uint256";
605
- }];
606
- readonly name: "getLog2Floor";
607
- readonly outputs: readonly [{
608
- readonly name: "";
609
- readonly internalType: "uint8";
610
- readonly type: "uint8";
611
- }];
612
- readonly stateMutability: "pure";
613
- }, {
614
- readonly type: "function";
615
- readonly inputs: readonly [{
616
- readonly name: "_num";
617
- readonly internalType: "uint256";
618
- readonly type: "uint256";
619
- }];
620
- readonly name: "getLog2TableTimes1M";
621
- readonly outputs: readonly [{
622
- readonly name: "";
623
- readonly internalType: "uint256";
624
- readonly type: "uint256";
625
- }];
626
- readonly stateMutability: "pure";
627
- }, {
628
- readonly type: "function";
205
+ export declare const authorityFactoryAbi: readonly [{
206
+ readonly type: "event";
207
+ readonly anonymous: false;
629
208
  readonly inputs: readonly [{
630
- readonly name: "_num";
631
- readonly internalType: "uint256";
632
- readonly type: "uint256";
633
- }];
634
- readonly name: "isPowerOf2";
635
- readonly outputs: readonly [{
636
- readonly name: "";
637
- readonly internalType: "bool";
638
- readonly type: "bool";
209
+ readonly name: "authority";
210
+ readonly internalType: "contract IAuthority";
211
+ readonly type: "address";
212
+ readonly indexed: false;
639
213
  }];
640
- readonly stateMutability: "pure";
214
+ readonly name: "AuthorityCreated";
641
215
  }, {
642
216
  readonly type: "function";
643
217
  readonly inputs: readonly [{
644
- readonly name: "_num";
645
- readonly internalType: "uint256";
646
- readonly type: "uint256";
647
- }];
648
- readonly name: "log2ApproxTimes1M";
649
- readonly outputs: readonly [{
650
- readonly name: "";
218
+ readonly name: "authorityOwner";
219
+ readonly internalType: "address";
220
+ readonly type: "address";
221
+ }, {
222
+ readonly name: "epochLength";
651
223
  readonly internalType: "uint256";
652
224
  readonly type: "uint256";
653
- }];
654
- readonly stateMutability: "pure";
655
- }];
656
- export declare const cartesiMathV2Address: "0xB634F716BEd5Dd5A2b9a91C92474C499e50Cb27D";
657
- export declare const cartesiMathV2Config: {
658
- readonly address: "0xB634F716BEd5Dd5A2b9a91C92474C499e50Cb27D";
659
- readonly abi: readonly [{
660
- readonly type: "function";
661
- readonly inputs: readonly [{
662
- readonly name: "_num";
663
- readonly internalType: "uint256";
664
- readonly type: "uint256";
665
- }];
666
- readonly name: "clz";
667
- readonly outputs: readonly [{
668
- readonly name: "";
669
- readonly internalType: "uint256";
670
- readonly type: "uint256";
671
- }];
672
- readonly stateMutability: "pure";
673
225
  }, {
674
- readonly type: "function";
675
- readonly inputs: readonly [{
676
- readonly name: "_num";
677
- readonly internalType: "uint256";
678
- readonly type: "uint256";
679
- }];
680
- readonly name: "ctz";
681
- readonly outputs: readonly [{
682
- readonly name: "";
683
- readonly internalType: "uint256";
684
- readonly type: "uint256";
685
- }];
686
- readonly stateMutability: "pure";
687
- }, {
688
- readonly type: "function";
689
- readonly inputs: readonly [{
690
- readonly name: "_num";
691
- readonly internalType: "uint256";
692
- readonly type: "uint256";
693
- }];
694
- readonly name: "getLog2Floor";
695
- readonly outputs: readonly [{
696
- readonly name: "";
697
- readonly internalType: "uint8";
698
- readonly type: "uint8";
699
- }];
700
- readonly stateMutability: "pure";
701
- }, {
702
- readonly type: "function";
703
- readonly inputs: readonly [{
704
- readonly name: "_num";
705
- readonly internalType: "uint256";
706
- readonly type: "uint256";
707
- }];
708
- readonly name: "getLog2TableTimes1M";
709
- readonly outputs: readonly [{
710
- readonly name: "";
711
- readonly internalType: "uint256";
712
- readonly type: "uint256";
713
- }];
714
- readonly stateMutability: "pure";
715
- }, {
716
- readonly type: "function";
717
- readonly inputs: readonly [{
718
- readonly name: "_num";
719
- readonly internalType: "uint256";
720
- readonly type: "uint256";
721
- }];
722
- readonly name: "isPowerOf2";
723
- readonly outputs: readonly [{
724
- readonly name: "";
725
- readonly internalType: "bool";
726
- readonly type: "bool";
727
- }];
728
- readonly stateMutability: "pure";
729
- }, {
730
- readonly type: "function";
731
- readonly inputs: readonly [{
732
- readonly name: "_num";
733
- readonly internalType: "uint256";
734
- readonly type: "uint256";
735
- }];
736
- readonly name: "log2ApproxTimes1M";
737
- readonly outputs: readonly [{
738
- readonly name: "";
739
- readonly internalType: "uint256";
740
- readonly type: "uint256";
741
- }];
742
- readonly stateMutability: "pure";
226
+ readonly name: "salt";
227
+ readonly internalType: "bytes32";
228
+ readonly type: "bytes32";
743
229
  }];
744
- };
745
- export declare const dAppAddressRelayAbi: readonly [{
746
- readonly type: "constructor";
747
- readonly inputs: readonly [{
748
- readonly name: "_inputBox";
749
- readonly internalType: "contract IInputBox";
230
+ readonly name: "calculateAuthorityAddress";
231
+ readonly outputs: readonly [{
232
+ readonly name: "";
233
+ readonly internalType: "address";
750
234
  readonly type: "address";
751
235
  }];
752
- readonly stateMutability: "nonpayable";
236
+ readonly stateMutability: "view";
753
237
  }, {
754
238
  readonly type: "function";
755
- readonly inputs: readonly [];
756
- readonly name: "getInputBox";
239
+ readonly inputs: readonly [{
240
+ readonly name: "authorityOwner";
241
+ readonly internalType: "address";
242
+ readonly type: "address";
243
+ }, {
244
+ readonly name: "epochLength";
245
+ readonly internalType: "uint256";
246
+ readonly type: "uint256";
247
+ }];
248
+ readonly name: "newAuthority";
757
249
  readonly outputs: readonly [{
758
250
  readonly name: "";
759
- readonly internalType: "contract IInputBox";
251
+ readonly internalType: "contract IAuthority";
760
252
  readonly type: "address";
761
253
  }];
762
- readonly stateMutability: "view";
254
+ readonly stateMutability: "nonpayable";
763
255
  }, {
764
256
  readonly type: "function";
765
257
  readonly inputs: readonly [{
766
- readonly name: "_dapp";
258
+ readonly name: "authorityOwner";
767
259
  readonly internalType: "address";
768
260
  readonly type: "address";
261
+ }, {
262
+ readonly name: "epochLength";
263
+ readonly internalType: "uint256";
264
+ readonly type: "uint256";
265
+ }, {
266
+ readonly name: "salt";
267
+ readonly internalType: "bytes32";
268
+ readonly type: "bytes32";
269
+ }];
270
+ readonly name: "newAuthority";
271
+ readonly outputs: readonly [{
272
+ readonly name: "";
273
+ readonly internalType: "contract IAuthority";
274
+ readonly type: "address";
769
275
  }];
770
- readonly name: "relayDAppAddress";
771
- readonly outputs: readonly [];
772
276
  readonly stateMutability: "nonpayable";
773
277
  }];
774
- export declare const dAppAddressRelayAddress: "0xF5DE34d6BbC0446E2a45719E718efEbaaE179daE";
775
- export declare const dAppAddressRelayConfig: {
776
- readonly address: "0xF5DE34d6BbC0446E2a45719E718efEbaaE179daE";
278
+ export declare const authorityFactoryAddress: "0xB897F7Fe78f220aE34B7FA9493092701a873Ed45";
279
+ export declare const authorityFactoryConfig: {
280
+ readonly address: "0xB897F7Fe78f220aE34B7FA9493092701a873Ed45";
777
281
  readonly abi: readonly [{
778
- readonly type: "constructor";
282
+ readonly type: "event";
283
+ readonly anonymous: false;
779
284
  readonly inputs: readonly [{
780
- readonly name: "_inputBox";
781
- readonly internalType: "contract IInputBox";
285
+ readonly name: "authority";
286
+ readonly internalType: "contract IAuthority";
782
287
  readonly type: "address";
288
+ readonly indexed: false;
783
289
  }];
784
- readonly stateMutability: "nonpayable";
290
+ readonly name: "AuthorityCreated";
785
291
  }, {
786
292
  readonly type: "function";
787
- readonly inputs: readonly [];
788
- readonly name: "getInputBox";
293
+ readonly inputs: readonly [{
294
+ readonly name: "authorityOwner";
295
+ readonly internalType: "address";
296
+ readonly type: "address";
297
+ }, {
298
+ readonly name: "epochLength";
299
+ readonly internalType: "uint256";
300
+ readonly type: "uint256";
301
+ }, {
302
+ readonly name: "salt";
303
+ readonly internalType: "bytes32";
304
+ readonly type: "bytes32";
305
+ }];
306
+ readonly name: "calculateAuthorityAddress";
789
307
  readonly outputs: readonly [{
790
308
  readonly name: "";
791
- readonly internalType: "contract IInputBox";
309
+ readonly internalType: "address";
792
310
  readonly type: "address";
793
311
  }];
794
312
  readonly stateMutability: "view";
795
313
  }, {
796
314
  readonly type: "function";
797
315
  readonly inputs: readonly [{
798
- readonly name: "_dapp";
316
+ readonly name: "authorityOwner";
799
317
  readonly internalType: "address";
800
318
  readonly type: "address";
319
+ }, {
320
+ readonly name: "epochLength";
321
+ readonly internalType: "uint256";
322
+ readonly type: "uint256";
323
+ }];
324
+ readonly name: "newAuthority";
325
+ readonly outputs: readonly [{
326
+ readonly name: "";
327
+ readonly internalType: "contract IAuthority";
328
+ readonly type: "address";
329
+ }];
330
+ readonly stateMutability: "nonpayable";
331
+ }, {
332
+ readonly type: "function";
333
+ readonly inputs: readonly [{
334
+ readonly name: "authorityOwner";
335
+ readonly internalType: "address";
336
+ readonly type: "address";
337
+ }, {
338
+ readonly name: "epochLength";
339
+ readonly internalType: "uint256";
340
+ readonly type: "uint256";
341
+ }, {
342
+ readonly name: "salt";
343
+ readonly internalType: "bytes32";
344
+ readonly type: "bytes32";
345
+ }];
346
+ readonly name: "newAuthority";
347
+ readonly outputs: readonly [{
348
+ readonly name: "";
349
+ readonly internalType: "contract IAuthority";
350
+ readonly type: "address";
801
351
  }];
802
- readonly name: "relayDAppAddress";
803
- readonly outputs: readonly [];
804
352
  readonly stateMutability: "nonpayable";
805
353
  }];
806
354
  };
807
355
  export declare const erc1155BatchPortalAbi: readonly [{
808
356
  readonly type: "constructor";
809
357
  readonly inputs: readonly [{
810
- readonly name: "_inputBox";
358
+ readonly name: "inputBox";
811
359
  readonly internalType: "contract IInputBox";
812
360
  readonly type: "address";
813
361
  }];
@@ -815,27 +363,27 @@ export declare const erc1155BatchPortalAbi: readonly [{
815
363
  }, {
816
364
  readonly type: "function";
817
365
  readonly inputs: readonly [{
818
- readonly name: "_token";
366
+ readonly name: "token";
819
367
  readonly internalType: "contract IERC1155";
820
368
  readonly type: "address";
821
369
  }, {
822
- readonly name: "_dapp";
370
+ readonly name: "appContract";
823
371
  readonly internalType: "address";
824
372
  readonly type: "address";
825
373
  }, {
826
- readonly name: "_tokenIds";
374
+ readonly name: "tokenIds";
827
375
  readonly internalType: "uint256[]";
828
376
  readonly type: "uint256[]";
829
377
  }, {
830
- readonly name: "_values";
378
+ readonly name: "values";
831
379
  readonly internalType: "uint256[]";
832
380
  readonly type: "uint256[]";
833
381
  }, {
834
- readonly name: "_baseLayerData";
382
+ readonly name: "baseLayerData";
835
383
  readonly internalType: "bytes";
836
384
  readonly type: "bytes";
837
385
  }, {
838
- readonly name: "_execLayerData";
386
+ readonly name: "execLayerData";
839
387
  readonly internalType: "bytes";
840
388
  readonly type: "bytes";
841
389
  }];
@@ -853,13 +401,13 @@ export declare const erc1155BatchPortalAbi: readonly [{
853
401
  }];
854
402
  readonly stateMutability: "view";
855
403
  }];
856
- export declare const erc1155BatchPortalAddress: "0xedB53860A6B52bbb7561Ad596416ee9965B055Aa";
404
+ export declare const erc1155BatchPortalAddress: "0x4a218D331C0933d7E3EB496ac901669f28D94981";
857
405
  export declare const erc1155BatchPortalConfig: {
858
- readonly address: "0xedB53860A6B52bbb7561Ad596416ee9965B055Aa";
406
+ readonly address: "0x4a218D331C0933d7E3EB496ac901669f28D94981";
859
407
  readonly abi: readonly [{
860
408
  readonly type: "constructor";
861
409
  readonly inputs: readonly [{
862
- readonly name: "_inputBox";
410
+ readonly name: "inputBox";
863
411
  readonly internalType: "contract IInputBox";
864
412
  readonly type: "address";
865
413
  }];
@@ -867,27 +415,27 @@ export declare const erc1155BatchPortalConfig: {
867
415
  }, {
868
416
  readonly type: "function";
869
417
  readonly inputs: readonly [{
870
- readonly name: "_token";
418
+ readonly name: "token";
871
419
  readonly internalType: "contract IERC1155";
872
420
  readonly type: "address";
873
421
  }, {
874
- readonly name: "_dapp";
422
+ readonly name: "appContract";
875
423
  readonly internalType: "address";
876
424
  readonly type: "address";
877
425
  }, {
878
- readonly name: "_tokenIds";
426
+ readonly name: "tokenIds";
879
427
  readonly internalType: "uint256[]";
880
428
  readonly type: "uint256[]";
881
429
  }, {
882
- readonly name: "_values";
430
+ readonly name: "values";
883
431
  readonly internalType: "uint256[]";
884
432
  readonly type: "uint256[]";
885
433
  }, {
886
- readonly name: "_baseLayerData";
434
+ readonly name: "baseLayerData";
887
435
  readonly internalType: "bytes";
888
436
  readonly type: "bytes";
889
437
  }, {
890
- readonly name: "_execLayerData";
438
+ readonly name: "execLayerData";
891
439
  readonly internalType: "bytes";
892
440
  readonly type: "bytes";
893
441
  }];
@@ -909,7 +457,7 @@ export declare const erc1155BatchPortalConfig: {
909
457
  export declare const erc1155SinglePortalAbi: readonly [{
910
458
  readonly type: "constructor";
911
459
  readonly inputs: readonly [{
912
- readonly name: "_inputBox";
460
+ readonly name: "inputBox";
913
461
  readonly internalType: "contract IInputBox";
914
462
  readonly type: "address";
915
463
  }];
@@ -917,27 +465,27 @@ export declare const erc1155SinglePortalAbi: readonly [{
917
465
  }, {
918
466
  readonly type: "function";
919
467
  readonly inputs: readonly [{
920
- readonly name: "_token";
468
+ readonly name: "token";
921
469
  readonly internalType: "contract IERC1155";
922
470
  readonly type: "address";
923
471
  }, {
924
- readonly name: "_dapp";
472
+ readonly name: "appContract";
925
473
  readonly internalType: "address";
926
474
  readonly type: "address";
927
475
  }, {
928
- readonly name: "_tokenId";
476
+ readonly name: "tokenId";
929
477
  readonly internalType: "uint256";
930
478
  readonly type: "uint256";
931
479
  }, {
932
- readonly name: "_value";
480
+ readonly name: "value";
933
481
  readonly internalType: "uint256";
934
482
  readonly type: "uint256";
935
483
  }, {
936
- readonly name: "_baseLayerData";
484
+ readonly name: "baseLayerData";
937
485
  readonly internalType: "bytes";
938
486
  readonly type: "bytes";
939
487
  }, {
940
- readonly name: "_execLayerData";
488
+ readonly name: "execLayerData";
941
489
  readonly internalType: "bytes";
942
490
  readonly type: "bytes";
943
491
  }];
@@ -955,13 +503,13 @@ export declare const erc1155SinglePortalAbi: readonly [{
955
503
  }];
956
504
  readonly stateMutability: "view";
957
505
  }];
958
- export declare const erc1155SinglePortalAddress: "0x7CFB0193Ca87eB6e48056885E026552c3A941FC4";
506
+ export declare const erc1155SinglePortalAddress: "0x2f0D587DD6EcF67d25C558f2e9c3839c579e5e38";
959
507
  export declare const erc1155SinglePortalConfig: {
960
- readonly address: "0x7CFB0193Ca87eB6e48056885E026552c3A941FC4";
508
+ readonly address: "0x2f0D587DD6EcF67d25C558f2e9c3839c579e5e38";
961
509
  readonly abi: readonly [{
962
510
  readonly type: "constructor";
963
511
  readonly inputs: readonly [{
964
- readonly name: "_inputBox";
512
+ readonly name: "inputBox";
965
513
  readonly internalType: "contract IInputBox";
966
514
  readonly type: "address";
967
515
  }];
@@ -969,27 +517,27 @@ export declare const erc1155SinglePortalConfig: {
969
517
  }, {
970
518
  readonly type: "function";
971
519
  readonly inputs: readonly [{
972
- readonly name: "_token";
520
+ readonly name: "token";
973
521
  readonly internalType: "contract IERC1155";
974
522
  readonly type: "address";
975
523
  }, {
976
- readonly name: "_dapp";
524
+ readonly name: "appContract";
977
525
  readonly internalType: "address";
978
526
  readonly type: "address";
979
527
  }, {
980
- readonly name: "_tokenId";
528
+ readonly name: "tokenId";
981
529
  readonly internalType: "uint256";
982
530
  readonly type: "uint256";
983
531
  }, {
984
- readonly name: "_value";
532
+ readonly name: "value";
985
533
  readonly internalType: "uint256";
986
534
  readonly type: "uint256";
987
535
  }, {
988
- readonly name: "_baseLayerData";
536
+ readonly name: "baseLayerData";
989
537
  readonly internalType: "bytes";
990
538
  readonly type: "bytes";
991
539
  }, {
992
- readonly name: "_execLayerData";
540
+ readonly name: "execLayerData";
993
541
  readonly internalType: "bytes";
994
542
  readonly type: "bytes";
995
543
  }];
@@ -1011,27 +559,31 @@ export declare const erc1155SinglePortalConfig: {
1011
559
  export declare const erc20PortalAbi: readonly [{
1012
560
  readonly type: "constructor";
1013
561
  readonly inputs: readonly [{
1014
- readonly name: "_inputBox";
562
+ readonly name: "inputBox";
1015
563
  readonly internalType: "contract IInputBox";
1016
564
  readonly type: "address";
1017
565
  }];
1018
566
  readonly stateMutability: "nonpayable";
567
+ }, {
568
+ readonly type: "error";
569
+ readonly inputs: readonly [];
570
+ readonly name: "ERC20TransferFailed";
1019
571
  }, {
1020
572
  readonly type: "function";
1021
573
  readonly inputs: readonly [{
1022
- readonly name: "_token";
574
+ readonly name: "token";
1023
575
  readonly internalType: "contract IERC20";
1024
576
  readonly type: "address";
1025
577
  }, {
1026
- readonly name: "_dapp";
578
+ readonly name: "appContract";
1027
579
  readonly internalType: "address";
1028
580
  readonly type: "address";
1029
581
  }, {
1030
- readonly name: "_amount";
582
+ readonly name: "value";
1031
583
  readonly internalType: "uint256";
1032
584
  readonly type: "uint256";
1033
585
  }, {
1034
- readonly name: "_execLayerData";
586
+ readonly name: "execLayerData";
1035
587
  readonly internalType: "bytes";
1036
588
  readonly type: "bytes";
1037
589
  }];
@@ -1049,33 +601,37 @@ export declare const erc20PortalAbi: readonly [{
1049
601
  }];
1050
602
  readonly stateMutability: "view";
1051
603
  }];
1052
- export declare const erc20PortalAddress: "0x9C21AEb2093C32DDbC53eEF24B873BDCd1aDa1DB";
604
+ export declare const erc20PortalAddress: "0xB0e28881FF7ee9CD5B1229d570540d74bce23D39";
1053
605
  export declare const erc20PortalConfig: {
1054
- readonly address: "0x9C21AEb2093C32DDbC53eEF24B873BDCd1aDa1DB";
606
+ readonly address: "0xB0e28881FF7ee9CD5B1229d570540d74bce23D39";
1055
607
  readonly abi: readonly [{
1056
608
  readonly type: "constructor";
1057
609
  readonly inputs: readonly [{
1058
- readonly name: "_inputBox";
610
+ readonly name: "inputBox";
1059
611
  readonly internalType: "contract IInputBox";
1060
612
  readonly type: "address";
1061
613
  }];
1062
614
  readonly stateMutability: "nonpayable";
615
+ }, {
616
+ readonly type: "error";
617
+ readonly inputs: readonly [];
618
+ readonly name: "ERC20TransferFailed";
1063
619
  }, {
1064
620
  readonly type: "function";
1065
621
  readonly inputs: readonly [{
1066
- readonly name: "_token";
622
+ readonly name: "token";
1067
623
  readonly internalType: "contract IERC20";
1068
624
  readonly type: "address";
1069
625
  }, {
1070
- readonly name: "_dapp";
626
+ readonly name: "appContract";
1071
627
  readonly internalType: "address";
1072
628
  readonly type: "address";
1073
629
  }, {
1074
- readonly name: "_amount";
630
+ readonly name: "value";
1075
631
  readonly internalType: "uint256";
1076
632
  readonly type: "uint256";
1077
633
  }, {
1078
- readonly name: "_execLayerData";
634
+ readonly name: "execLayerData";
1079
635
  readonly internalType: "bytes";
1080
636
  readonly type: "bytes";
1081
637
  }];
@@ -1097,7 +653,7 @@ export declare const erc20PortalConfig: {
1097
653
  export declare const erc721PortalAbi: readonly [{
1098
654
  readonly type: "constructor";
1099
655
  readonly inputs: readonly [{
1100
- readonly name: "_inputBox";
656
+ readonly name: "inputBox";
1101
657
  readonly internalType: "contract IInputBox";
1102
658
  readonly type: "address";
1103
659
  }];
@@ -1105,23 +661,23 @@ export declare const erc721PortalAbi: readonly [{
1105
661
  }, {
1106
662
  readonly type: "function";
1107
663
  readonly inputs: readonly [{
1108
- readonly name: "_token";
664
+ readonly name: "token";
1109
665
  readonly internalType: "contract IERC721";
1110
666
  readonly type: "address";
1111
667
  }, {
1112
- readonly name: "_dapp";
668
+ readonly name: "appContract";
1113
669
  readonly internalType: "address";
1114
670
  readonly type: "address";
1115
671
  }, {
1116
- readonly name: "_tokenId";
672
+ readonly name: "tokenId";
1117
673
  readonly internalType: "uint256";
1118
674
  readonly type: "uint256";
1119
675
  }, {
1120
- readonly name: "_baseLayerData";
676
+ readonly name: "baseLayerData";
1121
677
  readonly internalType: "bytes";
1122
678
  readonly type: "bytes";
1123
679
  }, {
1124
- readonly name: "_execLayerData";
680
+ readonly name: "execLayerData";
1125
681
  readonly internalType: "bytes";
1126
682
  readonly type: "bytes";
1127
683
  }];
@@ -1139,13 +695,13 @@ export declare const erc721PortalAbi: readonly [{
1139
695
  }];
1140
696
  readonly stateMutability: "view";
1141
697
  }];
1142
- export declare const erc721PortalAddress: "0x237F8DD094C0e47f4236f12b4Fa01d6Dae89fb87";
698
+ export declare const erc721PortalAddress: "0x874b3245ead7474Cb9f3b83cD1446dC522f6bd36";
1143
699
  export declare const erc721PortalConfig: {
1144
- readonly address: "0x237F8DD094C0e47f4236f12b4Fa01d6Dae89fb87";
700
+ readonly address: "0x874b3245ead7474Cb9f3b83cD1446dC522f6bd36";
1145
701
  readonly abi: readonly [{
1146
702
  readonly type: "constructor";
1147
703
  readonly inputs: readonly [{
1148
- readonly name: "_inputBox";
704
+ readonly name: "inputBox";
1149
705
  readonly internalType: "contract IInputBox";
1150
706
  readonly type: "address";
1151
707
  }];
@@ -1153,23 +709,23 @@ export declare const erc721PortalConfig: {
1153
709
  }, {
1154
710
  readonly type: "function";
1155
711
  readonly inputs: readonly [{
1156
- readonly name: "_token";
712
+ readonly name: "token";
1157
713
  readonly internalType: "contract IERC721";
1158
714
  readonly type: "address";
1159
715
  }, {
1160
- readonly name: "_dapp";
716
+ readonly name: "appContract";
1161
717
  readonly internalType: "address";
1162
718
  readonly type: "address";
1163
719
  }, {
1164
- readonly name: "_tokenId";
720
+ readonly name: "tokenId";
1165
721
  readonly internalType: "uint256";
1166
722
  readonly type: "uint256";
1167
723
  }, {
1168
- readonly name: "_baseLayerData";
724
+ readonly name: "baseLayerData";
1169
725
  readonly internalType: "bytes";
1170
726
  readonly type: "bytes";
1171
727
  }, {
1172
- readonly name: "_execLayerData";
728
+ readonly name: "execLayerData";
1173
729
  readonly internalType: "bytes";
1174
730
  readonly type: "bytes";
1175
731
  }];
@@ -1191,7 +747,7 @@ export declare const erc721PortalConfig: {
1191
747
  export declare const etherPortalAbi: readonly [{
1192
748
  readonly type: "constructor";
1193
749
  readonly inputs: readonly [{
1194
- readonly name: "_inputBox";
750
+ readonly name: "inputBox";
1195
751
  readonly internalType: "contract IInputBox";
1196
752
  readonly type: "address";
1197
753
  }];
@@ -1203,11 +759,11 @@ export declare const etherPortalAbi: readonly [{
1203
759
  }, {
1204
760
  readonly type: "function";
1205
761
  readonly inputs: readonly [{
1206
- readonly name: "_dapp";
762
+ readonly name: "appContract";
1207
763
  readonly internalType: "address";
1208
764
  readonly type: "address";
1209
765
  }, {
1210
- readonly name: "_execLayerData";
766
+ readonly name: "execLayerData";
1211
767
  readonly internalType: "bytes";
1212
768
  readonly type: "bytes";
1213
769
  }];
@@ -1225,13 +781,13 @@ export declare const etherPortalAbi: readonly [{
1225
781
  }];
1226
782
  readonly stateMutability: "view";
1227
783
  }];
1228
- export declare const etherPortalAddress: "0xFfdbe43d4c855BF7e0f105c400A50857f53AB044";
784
+ export declare const etherPortalAddress: "0xfa2292f6D85ea4e629B156A4f99219e30D12EE17";
1229
785
  export declare const etherPortalConfig: {
1230
- readonly address: "0xFfdbe43d4c855BF7e0f105c400A50857f53AB044";
786
+ readonly address: "0xfa2292f6D85ea4e629B156A4f99219e30D12EE17";
1231
787
  readonly abi: readonly [{
1232
788
  readonly type: "constructor";
1233
789
  readonly inputs: readonly [{
1234
- readonly name: "_inputBox";
790
+ readonly name: "inputBox";
1235
791
  readonly internalType: "contract IInputBox";
1236
792
  readonly type: "address";
1237
793
  }];
@@ -1243,11 +799,11 @@ export declare const etherPortalConfig: {
1243
799
  }, {
1244
800
  readonly type: "function";
1245
801
  readonly inputs: readonly [{
1246
- readonly name: "_dapp";
802
+ readonly name: "appContract";
1247
803
  readonly internalType: "address";
1248
804
  readonly type: "address";
1249
805
  }, {
1250
- readonly name: "_execLayerData";
806
+ readonly name: "execLayerData";
1251
807
  readonly internalType: "bytes";
1252
808
  readonly type: "bytes";
1253
809
  }];
@@ -1266,164 +822,35 @@ export declare const etherPortalConfig: {
1266
822
  readonly stateMutability: "view";
1267
823
  }];
1268
824
  };
1269
- export declare const historyFactoryAbi: readonly [{
1270
- readonly type: "event";
1271
- readonly anonymous: false;
1272
- readonly inputs: readonly [{
1273
- readonly name: "historyOwner";
1274
- readonly internalType: "address";
1275
- readonly type: "address";
1276
- readonly indexed: false;
1277
- }, {
1278
- readonly name: "history";
1279
- readonly internalType: "contract History";
1280
- readonly type: "address";
1281
- readonly indexed: false;
1282
- }];
1283
- readonly name: "HistoryCreated";
1284
- }, {
1285
- readonly type: "function";
1286
- readonly inputs: readonly [{
1287
- readonly name: "_historyOwner";
1288
- readonly internalType: "address";
1289
- readonly type: "address";
1290
- }, {
1291
- readonly name: "_salt";
1292
- readonly internalType: "bytes32";
1293
- readonly type: "bytes32";
1294
- }];
1295
- readonly name: "calculateHistoryAddress";
1296
- readonly outputs: readonly [{
1297
- readonly name: "";
1298
- readonly internalType: "address";
1299
- readonly type: "address";
1300
- }];
1301
- readonly stateMutability: "view";
1302
- }, {
1303
- readonly type: "function";
1304
- readonly inputs: readonly [{
1305
- readonly name: "_historyOwner";
1306
- readonly internalType: "address";
1307
- readonly type: "address";
1308
- }, {
1309
- readonly name: "_salt";
1310
- readonly internalType: "bytes32";
1311
- readonly type: "bytes32";
1312
- }];
1313
- readonly name: "newHistory";
1314
- readonly outputs: readonly [{
1315
- readonly name: "";
1316
- readonly internalType: "contract History";
1317
- readonly type: "address";
1318
- }];
1319
- readonly stateMutability: "nonpayable";
1320
- }, {
1321
- readonly type: "function";
825
+ export declare const inputBoxAbi: readonly [{
826
+ readonly type: "error";
1322
827
  readonly inputs: readonly [{
1323
- readonly name: "_historyOwner";
828
+ readonly name: "appContract";
1324
829
  readonly internalType: "address";
1325
830
  readonly type: "address";
1326
- }];
1327
- readonly name: "newHistory";
1328
- readonly outputs: readonly [{
1329
- readonly name: "";
1330
- readonly internalType: "contract History";
1331
- readonly type: "address";
1332
- }];
1333
- readonly stateMutability: "nonpayable";
1334
- }];
1335
- export declare const historyFactoryAddress: "0x1f158b5320BBf677FdA89F9a438df99BbE560A26";
1336
- export declare const historyFactoryConfig: {
1337
- readonly address: "0x1f158b5320BBf677FdA89F9a438df99BbE560A26";
1338
- readonly abi: readonly [{
1339
- readonly type: "event";
1340
- readonly anonymous: false;
1341
- readonly inputs: readonly [{
1342
- readonly name: "historyOwner";
1343
- readonly internalType: "address";
1344
- readonly type: "address";
1345
- readonly indexed: false;
1346
- }, {
1347
- readonly name: "history";
1348
- readonly internalType: "contract History";
1349
- readonly type: "address";
1350
- readonly indexed: false;
1351
- }];
1352
- readonly name: "HistoryCreated";
1353
- }, {
1354
- readonly type: "function";
1355
- readonly inputs: readonly [{
1356
- readonly name: "_historyOwner";
1357
- readonly internalType: "address";
1358
- readonly type: "address";
1359
- }, {
1360
- readonly name: "_salt";
1361
- readonly internalType: "bytes32";
1362
- readonly type: "bytes32";
1363
- }];
1364
- readonly name: "calculateHistoryAddress";
1365
- readonly outputs: readonly [{
1366
- readonly name: "";
1367
- readonly internalType: "address";
1368
- readonly type: "address";
1369
- }];
1370
- readonly stateMutability: "view";
1371
831
  }, {
1372
- readonly type: "function";
1373
- readonly inputs: readonly [{
1374
- readonly name: "_historyOwner";
1375
- readonly internalType: "address";
1376
- readonly type: "address";
1377
- }, {
1378
- readonly name: "_salt";
1379
- readonly internalType: "bytes32";
1380
- readonly type: "bytes32";
1381
- }];
1382
- readonly name: "newHistory";
1383
- readonly outputs: readonly [{
1384
- readonly name: "";
1385
- readonly internalType: "contract History";
1386
- readonly type: "address";
1387
- }];
1388
- readonly stateMutability: "nonpayable";
832
+ readonly name: "inputLength";
833
+ readonly internalType: "uint256";
834
+ readonly type: "uint256";
1389
835
  }, {
1390
- readonly type: "function";
1391
- readonly inputs: readonly [{
1392
- readonly name: "_historyOwner";
1393
- readonly internalType: "address";
1394
- readonly type: "address";
1395
- }];
1396
- readonly name: "newHistory";
1397
- readonly outputs: readonly [{
1398
- readonly name: "";
1399
- readonly internalType: "contract History";
1400
- readonly type: "address";
1401
- }];
1402
- readonly stateMutability: "nonpayable";
836
+ readonly name: "maxInputLength";
837
+ readonly internalType: "uint256";
838
+ readonly type: "uint256";
1403
839
  }];
1404
- };
1405
- export declare const inputBoxAbi: readonly [{
1406
- readonly type: "error";
1407
- readonly inputs: readonly [];
1408
- readonly name: "InputSizeExceedsLimit";
840
+ readonly name: "InputTooLarge";
1409
841
  }, {
1410
842
  readonly type: "event";
1411
843
  readonly anonymous: false;
1412
844
  readonly inputs: readonly [{
1413
- readonly name: "dapp";
845
+ readonly name: "appContract";
1414
846
  readonly internalType: "address";
1415
847
  readonly type: "address";
1416
848
  readonly indexed: true;
1417
849
  }, {
1418
- readonly name: "inputIndex";
850
+ readonly name: "index";
1419
851
  readonly internalType: "uint256";
1420
852
  readonly type: "uint256";
1421
853
  readonly indexed: true;
1422
- }, {
1423
- readonly name: "sender";
1424
- readonly internalType: "address";
1425
- readonly type: "address";
1426
- readonly indexed: false;
1427
854
  }, {
1428
855
  readonly name: "input";
1429
856
  readonly internalType: "bytes";
@@ -1434,11 +861,11 @@ export declare const inputBoxAbi: readonly [{
1434
861
  }, {
1435
862
  readonly type: "function";
1436
863
  readonly inputs: readonly [{
1437
- readonly name: "_dapp";
864
+ readonly name: "appContract";
1438
865
  readonly internalType: "address";
1439
866
  readonly type: "address";
1440
867
  }, {
1441
- readonly name: "_input";
868
+ readonly name: "payload";
1442
869
  readonly internalType: "bytes";
1443
870
  readonly type: "bytes";
1444
871
  }];
@@ -1452,11 +879,11 @@ export declare const inputBoxAbi: readonly [{
1452
879
  }, {
1453
880
  readonly type: "function";
1454
881
  readonly inputs: readonly [{
1455
- readonly name: "_dapp";
882
+ readonly name: "appContract";
1456
883
  readonly internalType: "address";
1457
884
  readonly type: "address";
1458
885
  }, {
1459
- readonly name: "_index";
886
+ readonly name: "index";
1460
887
  readonly internalType: "uint256";
1461
888
  readonly type: "uint256";
1462
889
  }];
@@ -1470,7 +897,7 @@ export declare const inputBoxAbi: readonly [{
1470
897
  }, {
1471
898
  readonly type: "function";
1472
899
  readonly inputs: readonly [{
1473
- readonly name: "_dapp";
900
+ readonly name: "appContract";
1474
901
  readonly internalType: "address";
1475
902
  readonly type: "address";
1476
903
  }];
@@ -1482,31 +909,38 @@ export declare const inputBoxAbi: readonly [{
1482
909
  }];
1483
910
  readonly stateMutability: "view";
1484
911
  }];
1485
- export declare const inputBoxAddress: "0x59b22D57D4f067708AB0c00552767405926dc768";
912
+ export declare const inputBoxAddress: "0x593E5BCf894D6829Dd26D0810DA7F064406aebB6";
1486
913
  export declare const inputBoxConfig: {
1487
- readonly address: "0x59b22D57D4f067708AB0c00552767405926dc768";
914
+ readonly address: "0x593E5BCf894D6829Dd26D0810DA7F064406aebB6";
1488
915
  readonly abi: readonly [{
1489
916
  readonly type: "error";
1490
- readonly inputs: readonly [];
1491
- readonly name: "InputSizeExceedsLimit";
917
+ readonly inputs: readonly [{
918
+ readonly name: "appContract";
919
+ readonly internalType: "address";
920
+ readonly type: "address";
921
+ }, {
922
+ readonly name: "inputLength";
923
+ readonly internalType: "uint256";
924
+ readonly type: "uint256";
925
+ }, {
926
+ readonly name: "maxInputLength";
927
+ readonly internalType: "uint256";
928
+ readonly type: "uint256";
929
+ }];
930
+ readonly name: "InputTooLarge";
1492
931
  }, {
1493
932
  readonly type: "event";
1494
933
  readonly anonymous: false;
1495
934
  readonly inputs: readonly [{
1496
- readonly name: "dapp";
935
+ readonly name: "appContract";
1497
936
  readonly internalType: "address";
1498
937
  readonly type: "address";
1499
938
  readonly indexed: true;
1500
939
  }, {
1501
- readonly name: "inputIndex";
940
+ readonly name: "index";
1502
941
  readonly internalType: "uint256";
1503
942
  readonly type: "uint256";
1504
943
  readonly indexed: true;
1505
- }, {
1506
- readonly name: "sender";
1507
- readonly internalType: "address";
1508
- readonly type: "address";
1509
- readonly indexed: false;
1510
944
  }, {
1511
945
  readonly name: "input";
1512
946
  readonly internalType: "bytes";
@@ -1517,11 +951,11 @@ export declare const inputBoxConfig: {
1517
951
  }, {
1518
952
  readonly type: "function";
1519
953
  readonly inputs: readonly [{
1520
- readonly name: "_dapp";
954
+ readonly name: "appContract";
1521
955
  readonly internalType: "address";
1522
956
  readonly type: "address";
1523
957
  }, {
1524
- readonly name: "_input";
958
+ readonly name: "payload";
1525
959
  readonly internalType: "bytes";
1526
960
  readonly type: "bytes";
1527
961
  }];
@@ -1535,11 +969,11 @@ export declare const inputBoxConfig: {
1535
969
  }, {
1536
970
  readonly type: "function";
1537
971
  readonly inputs: readonly [{
1538
- readonly name: "_dapp";
972
+ readonly name: "appContract";
1539
973
  readonly internalType: "address";
1540
974
  readonly type: "address";
1541
975
  }, {
1542
- readonly name: "_index";
976
+ readonly name: "index";
1543
977
  readonly internalType: "uint256";
1544
978
  readonly type: "uint256";
1545
979
  }];
@@ -1553,7 +987,7 @@ export declare const inputBoxConfig: {
1553
987
  }, {
1554
988
  readonly type: "function";
1555
989
  readonly inputs: readonly [{
1556
- readonly name: "_dapp";
990
+ readonly name: "appContract";
1557
991
  readonly internalType: "address";
1558
992
  readonly type: "address";
1559
993
  }];
@@ -1561,247 +995,301 @@ export declare const inputBoxConfig: {
1561
995
  readonly outputs: readonly [{
1562
996
  readonly name: "";
1563
997
  readonly internalType: "uint256";
1564
- readonly type: "uint256";
1565
- }];
1566
- readonly stateMutability: "view";
1567
- }];
1568
- };
1569
- export declare const merkleV2Abi: readonly [{
1570
- readonly type: "function";
1571
- readonly inputs: readonly [{
1572
- readonly name: "hashes";
1573
- readonly internalType: "bytes32[]";
1574
- readonly type: "bytes32[]";
1575
- }];
1576
- readonly name: "calculateRootFromPowerOfTwo";
1577
- readonly outputs: readonly [{
1578
- readonly name: "";
1579
- readonly internalType: "bytes32";
1580
- readonly type: "bytes32";
998
+ readonly type: "uint256";
999
+ }];
1000
+ readonly stateMutability: "view";
1581
1001
  }];
1582
- readonly stateMutability: "pure";
1583
- }, {
1584
- readonly type: "function";
1002
+ };
1003
+ export declare const quorumFactoryAbi: readonly [{
1004
+ readonly type: "event";
1005
+ readonly anonymous: false;
1585
1006
  readonly inputs: readonly [{
1586
- readonly name: "_index";
1587
- readonly internalType: "uint256";
1588
- readonly type: "uint256";
1589
- }];
1590
- readonly name: "getEmptyTreeHashAtIndex";
1591
- readonly outputs: readonly [{
1592
- readonly name: "";
1593
- readonly internalType: "bytes32";
1594
- readonly type: "bytes32";
1007
+ readonly name: "quorum";
1008
+ readonly internalType: "contract IQuorum";
1009
+ readonly type: "address";
1010
+ readonly indexed: false;
1595
1011
  }];
1596
- readonly stateMutability: "pure";
1012
+ readonly name: "QuorumCreated";
1597
1013
  }, {
1598
1014
  readonly type: "function";
1599
1015
  readonly inputs: readonly [{
1600
- readonly name: "_data";
1601
- readonly internalType: "bytes";
1602
- readonly type: "bytes";
1016
+ readonly name: "validators";
1017
+ readonly internalType: "address[]";
1018
+ readonly type: "address[]";
1603
1019
  }, {
1604
- readonly name: "_wordIndex";
1020
+ readonly name: "epochLength";
1605
1021
  readonly internalType: "uint256";
1606
1022
  readonly type: "uint256";
1023
+ }, {
1024
+ readonly name: "salt";
1025
+ readonly internalType: "bytes32";
1026
+ readonly type: "bytes32";
1607
1027
  }];
1608
- readonly name: "getHashOfWordAtIndex";
1028
+ readonly name: "calculateQuorumAddress";
1609
1029
  readonly outputs: readonly [{
1610
1030
  readonly name: "";
1611
- readonly internalType: "bytes32";
1612
- readonly type: "bytes32";
1031
+ readonly internalType: "address";
1032
+ readonly type: "address";
1613
1033
  }];
1614
- readonly stateMutability: "pure";
1034
+ readonly stateMutability: "view";
1615
1035
  }, {
1616
1036
  readonly type: "function";
1617
1037
  readonly inputs: readonly [{
1618
- readonly name: "_data";
1619
- readonly internalType: "bytes";
1620
- readonly type: "bytes";
1038
+ readonly name: "validators";
1039
+ readonly internalType: "address[]";
1040
+ readonly type: "address[]";
1621
1041
  }, {
1622
- readonly name: "_log2Size";
1042
+ readonly name: "epochLength";
1623
1043
  readonly internalType: "uint256";
1624
1044
  readonly type: "uint256";
1045
+ }, {
1046
+ readonly name: "salt";
1047
+ readonly internalType: "bytes32";
1048
+ readonly type: "bytes32";
1625
1049
  }];
1626
- readonly name: "getMerkleRootFromBytes";
1050
+ readonly name: "newQuorum";
1627
1051
  readonly outputs: readonly [{
1628
1052
  readonly name: "";
1629
- readonly internalType: "bytes32";
1630
- readonly type: "bytes32";
1053
+ readonly internalType: "contract IQuorum";
1054
+ readonly type: "address";
1631
1055
  }];
1632
- readonly stateMutability: "pure";
1056
+ readonly stateMutability: "nonpayable";
1633
1057
  }, {
1634
1058
  readonly type: "function";
1635
1059
  readonly inputs: readonly [{
1636
- readonly name: "_position";
1637
- readonly internalType: "uint256";
1638
- readonly type: "uint256";
1639
- }, {
1640
- readonly name: "_logSizeOfReplacement";
1641
- readonly internalType: "uint256";
1642
- readonly type: "uint256";
1060
+ readonly name: "validators";
1061
+ readonly internalType: "address[]";
1062
+ readonly type: "address[]";
1643
1063
  }, {
1644
- readonly name: "_logSizeOfFullDrive";
1064
+ readonly name: "epochLength";
1645
1065
  readonly internalType: "uint256";
1646
1066
  readonly type: "uint256";
1647
- }, {
1648
- readonly name: "_replacement";
1649
- readonly internalType: "bytes32";
1650
- readonly type: "bytes32";
1651
- }, {
1652
- readonly name: "siblings";
1653
- readonly internalType: "bytes32[]";
1654
- readonly type: "bytes32[]";
1655
1067
  }];
1656
- readonly name: "getRootAfterReplacementInDrive";
1068
+ readonly name: "newQuorum";
1657
1069
  readonly outputs: readonly [{
1658
1070
  readonly name: "";
1659
- readonly internalType: "bytes32";
1660
- readonly type: "bytes32";
1071
+ readonly internalType: "contract IQuorum";
1072
+ readonly type: "address";
1661
1073
  }];
1662
- readonly stateMutability: "pure";
1074
+ readonly stateMutability: "nonpayable";
1663
1075
  }];
1664
- export declare const merkleV2Address: "0x33436035441927Df1a73FE3AAC5906854632e53d";
1665
- export declare const merkleV2Config: {
1666
- readonly address: "0x33436035441927Df1a73FE3AAC5906854632e53d";
1076
+ export declare const quorumFactoryAddress: "0x22AFD9162079c7Ac0aF874054298Bf46F29157F1";
1077
+ export declare const quorumFactoryConfig: {
1078
+ readonly address: "0x22AFD9162079c7Ac0aF874054298Bf46F29157F1";
1667
1079
  readonly abi: readonly [{
1668
- readonly type: "function";
1080
+ readonly type: "event";
1081
+ readonly anonymous: false;
1669
1082
  readonly inputs: readonly [{
1670
- readonly name: "hashes";
1671
- readonly internalType: "bytes32[]";
1672
- readonly type: "bytes32[]";
1673
- }];
1674
- readonly name: "calculateRootFromPowerOfTwo";
1675
- readonly outputs: readonly [{
1676
- readonly name: "";
1677
- readonly internalType: "bytes32";
1678
- readonly type: "bytes32";
1083
+ readonly name: "quorum";
1084
+ readonly internalType: "contract IQuorum";
1085
+ readonly type: "address";
1086
+ readonly indexed: false;
1679
1087
  }];
1680
- readonly stateMutability: "pure";
1088
+ readonly name: "QuorumCreated";
1681
1089
  }, {
1682
1090
  readonly type: "function";
1683
1091
  readonly inputs: readonly [{
1684
- readonly name: "_index";
1092
+ readonly name: "validators";
1093
+ readonly internalType: "address[]";
1094
+ readonly type: "address[]";
1095
+ }, {
1096
+ readonly name: "epochLength";
1685
1097
  readonly internalType: "uint256";
1686
1098
  readonly type: "uint256";
1099
+ }, {
1100
+ readonly name: "salt";
1101
+ readonly internalType: "bytes32";
1102
+ readonly type: "bytes32";
1687
1103
  }];
1688
- readonly name: "getEmptyTreeHashAtIndex";
1104
+ readonly name: "calculateQuorumAddress";
1689
1105
  readonly outputs: readonly [{
1690
1106
  readonly name: "";
1691
- readonly internalType: "bytes32";
1692
- readonly type: "bytes32";
1107
+ readonly internalType: "address";
1108
+ readonly type: "address";
1693
1109
  }];
1694
- readonly stateMutability: "pure";
1110
+ readonly stateMutability: "view";
1695
1111
  }, {
1696
1112
  readonly type: "function";
1697
1113
  readonly inputs: readonly [{
1698
- readonly name: "_data";
1699
- readonly internalType: "bytes";
1700
- readonly type: "bytes";
1114
+ readonly name: "validators";
1115
+ readonly internalType: "address[]";
1116
+ readonly type: "address[]";
1701
1117
  }, {
1702
- readonly name: "_wordIndex";
1118
+ readonly name: "epochLength";
1703
1119
  readonly internalType: "uint256";
1704
1120
  readonly type: "uint256";
1121
+ }, {
1122
+ readonly name: "salt";
1123
+ readonly internalType: "bytes32";
1124
+ readonly type: "bytes32";
1705
1125
  }];
1706
- readonly name: "getHashOfWordAtIndex";
1126
+ readonly name: "newQuorum";
1707
1127
  readonly outputs: readonly [{
1708
1128
  readonly name: "";
1709
- readonly internalType: "bytes32";
1710
- readonly type: "bytes32";
1129
+ readonly internalType: "contract IQuorum";
1130
+ readonly type: "address";
1711
1131
  }];
1712
- readonly stateMutability: "pure";
1132
+ readonly stateMutability: "nonpayable";
1713
1133
  }, {
1714
1134
  readonly type: "function";
1715
1135
  readonly inputs: readonly [{
1716
- readonly name: "_data";
1717
- readonly internalType: "bytes";
1718
- readonly type: "bytes";
1136
+ readonly name: "validators";
1137
+ readonly internalType: "address[]";
1138
+ readonly type: "address[]";
1719
1139
  }, {
1720
- readonly name: "_log2Size";
1140
+ readonly name: "epochLength";
1721
1141
  readonly internalType: "uint256";
1722
1142
  readonly type: "uint256";
1723
1143
  }];
1724
- readonly name: "getMerkleRootFromBytes";
1144
+ readonly name: "newQuorum";
1725
1145
  readonly outputs: readonly [{
1726
1146
  readonly name: "";
1727
- readonly internalType: "bytes32";
1728
- readonly type: "bytes32";
1147
+ readonly internalType: "contract IQuorum";
1148
+ readonly type: "address";
1149
+ }];
1150
+ readonly stateMutability: "nonpayable";
1151
+ }];
1152
+ };
1153
+ export declare const safeErc20TransferAbi: readonly [{
1154
+ readonly type: "error";
1155
+ readonly inputs: readonly [{
1156
+ readonly name: "target";
1157
+ readonly internalType: "address";
1158
+ readonly type: "address";
1159
+ }];
1160
+ readonly name: "AddressEmptyCode";
1161
+ }, {
1162
+ readonly type: "error";
1163
+ readonly inputs: readonly [{
1164
+ readonly name: "account";
1165
+ readonly internalType: "address";
1166
+ readonly type: "address";
1167
+ }];
1168
+ readonly name: "AddressInsufficientBalance";
1169
+ }, {
1170
+ readonly type: "error";
1171
+ readonly inputs: readonly [];
1172
+ readonly name: "FailedInnerCall";
1173
+ }, {
1174
+ readonly type: "error";
1175
+ readonly inputs: readonly [{
1176
+ readonly name: "token";
1177
+ readonly internalType: "address";
1178
+ readonly type: "address";
1179
+ }];
1180
+ readonly name: "SafeERC20FailedOperation";
1181
+ }, {
1182
+ readonly type: "function";
1183
+ readonly inputs: readonly [{
1184
+ readonly name: "token";
1185
+ readonly internalType: "contract IERC20";
1186
+ readonly type: "address";
1187
+ }, {
1188
+ readonly name: "to";
1189
+ readonly internalType: "address";
1190
+ readonly type: "address";
1191
+ }, {
1192
+ readonly name: "value";
1193
+ readonly internalType: "uint256";
1194
+ readonly type: "uint256";
1195
+ }];
1196
+ readonly name: "safeTransfer";
1197
+ readonly outputs: readonly [];
1198
+ readonly stateMutability: "nonpayable";
1199
+ }];
1200
+ export declare const safeErc20TransferAddress: "0x817b126F242B5F184Fa685b4f2F91DC99D8115F9";
1201
+ export declare const safeErc20TransferConfig: {
1202
+ readonly address: "0x817b126F242B5F184Fa685b4f2F91DC99D8115F9";
1203
+ readonly abi: readonly [{
1204
+ readonly type: "error";
1205
+ readonly inputs: readonly [{
1206
+ readonly name: "target";
1207
+ readonly internalType: "address";
1208
+ readonly type: "address";
1209
+ }];
1210
+ readonly name: "AddressEmptyCode";
1211
+ }, {
1212
+ readonly type: "error";
1213
+ readonly inputs: readonly [{
1214
+ readonly name: "account";
1215
+ readonly internalType: "address";
1216
+ readonly type: "address";
1217
+ }];
1218
+ readonly name: "AddressInsufficientBalance";
1219
+ }, {
1220
+ readonly type: "error";
1221
+ readonly inputs: readonly [];
1222
+ readonly name: "FailedInnerCall";
1223
+ }, {
1224
+ readonly type: "error";
1225
+ readonly inputs: readonly [{
1226
+ readonly name: "token";
1227
+ readonly internalType: "address";
1228
+ readonly type: "address";
1729
1229
  }];
1730
- readonly stateMutability: "pure";
1230
+ readonly name: "SafeERC20FailedOperation";
1731
1231
  }, {
1732
1232
  readonly type: "function";
1733
1233
  readonly inputs: readonly [{
1734
- readonly name: "_position";
1735
- readonly internalType: "uint256";
1736
- readonly type: "uint256";
1234
+ readonly name: "token";
1235
+ readonly internalType: "contract IERC20";
1236
+ readonly type: "address";
1737
1237
  }, {
1738
- readonly name: "_logSizeOfReplacement";
1739
- readonly internalType: "uint256";
1740
- readonly type: "uint256";
1238
+ readonly name: "to";
1239
+ readonly internalType: "address";
1240
+ readonly type: "address";
1741
1241
  }, {
1742
- readonly name: "_logSizeOfFullDrive";
1242
+ readonly name: "value";
1743
1243
  readonly internalType: "uint256";
1744
1244
  readonly type: "uint256";
1745
- }, {
1746
- readonly name: "_replacement";
1747
- readonly internalType: "bytes32";
1748
- readonly type: "bytes32";
1749
- }, {
1750
- readonly name: "siblings";
1751
- readonly internalType: "bytes32[]";
1752
- readonly type: "bytes32[]";
1753
- }];
1754
- readonly name: "getRootAfterReplacementInDrive";
1755
- readonly outputs: readonly [{
1756
- readonly name: "";
1757
- readonly internalType: "bytes32";
1758
- readonly type: "bytes32";
1759
1245
  }];
1760
- readonly stateMutability: "pure";
1246
+ readonly name: "safeTransfer";
1247
+ readonly outputs: readonly [];
1248
+ readonly stateMutability: "nonpayable";
1761
1249
  }];
1762
1250
  };
1763
1251
  export declare const selfHostedApplicationFactoryAbi: readonly [{
1764
1252
  readonly type: "constructor";
1765
1253
  readonly inputs: readonly [{
1766
- readonly name: "_authorityHistoryPairFactory";
1767
- readonly internalType: "contract IAuthorityHistoryPairFactory";
1254
+ readonly name: "authorityFactory";
1255
+ readonly internalType: "contract IAuthorityFactory";
1768
1256
  readonly type: "address";
1769
1257
  }, {
1770
- readonly name: "_applicationFactory";
1771
- readonly internalType: "contract ICartesiDAppFactory";
1258
+ readonly name: "applicationFactory";
1259
+ readonly internalType: "contract IApplicationFactory";
1772
1260
  readonly type: "address";
1773
1261
  }];
1774
1262
  readonly stateMutability: "nonpayable";
1775
1263
  }, {
1776
1264
  readonly type: "function";
1777
1265
  readonly inputs: readonly [{
1778
- readonly name: "_authorityOwner";
1266
+ readonly name: "authorityOwner";
1779
1267
  readonly internalType: "address";
1780
1268
  readonly type: "address";
1781
1269
  }, {
1782
- readonly name: "_dappOwner";
1270
+ readonly name: "epochLength";
1271
+ readonly internalType: "uint256";
1272
+ readonly type: "uint256";
1273
+ }, {
1274
+ readonly name: "appOwner";
1783
1275
  readonly internalType: "address";
1784
1276
  readonly type: "address";
1785
1277
  }, {
1786
- readonly name: "_templateHash";
1278
+ readonly name: "templateHash";
1787
1279
  readonly internalType: "bytes32";
1788
1280
  readonly type: "bytes32";
1789
1281
  }, {
1790
- readonly name: "_salt";
1282
+ readonly name: "salt";
1791
1283
  readonly internalType: "bytes32";
1792
1284
  readonly type: "bytes32";
1793
1285
  }];
1794
1286
  readonly name: "calculateAddresses";
1795
1287
  readonly outputs: readonly [{
1796
- readonly name: "application_";
1797
- readonly internalType: "address";
1798
- readonly type: "address";
1799
- }, {
1800
- readonly name: "authority_";
1288
+ readonly name: "application";
1801
1289
  readonly internalType: "address";
1802
1290
  readonly type: "address";
1803
1291
  }, {
1804
- readonly name: "history_";
1292
+ readonly name: "authority";
1805
1293
  readonly internalType: "address";
1806
1294
  readonly type: "address";
1807
1295
  }];
@@ -1809,34 +1297,34 @@ export declare const selfHostedApplicationFactoryAbi: readonly [{
1809
1297
  }, {
1810
1298
  readonly type: "function";
1811
1299
  readonly inputs: readonly [{
1812
- readonly name: "_authorityOwner";
1300
+ readonly name: "authorityOwner";
1813
1301
  readonly internalType: "address";
1814
1302
  readonly type: "address";
1815
1303
  }, {
1816
- readonly name: "_dappOwner";
1304
+ readonly name: "epochLength";
1305
+ readonly internalType: "uint256";
1306
+ readonly type: "uint256";
1307
+ }, {
1308
+ readonly name: "appOwner";
1817
1309
  readonly internalType: "address";
1818
1310
  readonly type: "address";
1819
1311
  }, {
1820
- readonly name: "_templateHash";
1312
+ readonly name: "templateHash";
1821
1313
  readonly internalType: "bytes32";
1822
1314
  readonly type: "bytes32";
1823
1315
  }, {
1824
- readonly name: "_salt";
1316
+ readonly name: "salt";
1825
1317
  readonly internalType: "bytes32";
1826
1318
  readonly type: "bytes32";
1827
1319
  }];
1828
1320
  readonly name: "deployContracts";
1829
1321
  readonly outputs: readonly [{
1830
- readonly name: "application_";
1831
- readonly internalType: "contract CartesiDApp";
1832
- readonly type: "address";
1833
- }, {
1834
- readonly name: "authority_";
1835
- readonly internalType: "contract Authority";
1322
+ readonly name: "application";
1323
+ readonly internalType: "contract IApplication";
1836
1324
  readonly type: "address";
1837
1325
  }, {
1838
- readonly name: "history_";
1839
- readonly internalType: "contract History";
1326
+ readonly name: "authority";
1327
+ readonly internalType: "contract IAuthority";
1840
1328
  readonly type: "address";
1841
1329
  }];
1842
1330
  readonly stateMutability: "nonpayable";
@@ -1846,66 +1334,66 @@ export declare const selfHostedApplicationFactoryAbi: readonly [{
1846
1334
  readonly name: "getApplicationFactory";
1847
1335
  readonly outputs: readonly [{
1848
1336
  readonly name: "";
1849
- readonly internalType: "contract ICartesiDAppFactory";
1337
+ readonly internalType: "contract IApplicationFactory";
1850
1338
  readonly type: "address";
1851
1339
  }];
1852
1340
  readonly stateMutability: "view";
1853
1341
  }, {
1854
1342
  readonly type: "function";
1855
1343
  readonly inputs: readonly [];
1856
- readonly name: "getAuthorityHistoryPairFactory";
1344
+ readonly name: "getAuthorityFactory";
1857
1345
  readonly outputs: readonly [{
1858
1346
  readonly name: "";
1859
- readonly internalType: "contract IAuthorityHistoryPairFactory";
1347
+ readonly internalType: "contract IAuthorityFactory";
1860
1348
  readonly type: "address";
1861
1349
  }];
1862
1350
  readonly stateMutability: "view";
1863
1351
  }];
1864
- export declare const selfHostedApplicationFactoryAddress: "0x9E32e06Fd23675b2DF8eA8e6b0A25c3DF6a60AbC";
1352
+ export declare const selfHostedApplicationFactoryAddress: "0x4C11C7F82D6D56a726f9B53dd99af031AFd86BB6";
1865
1353
  export declare const selfHostedApplicationFactoryConfig: {
1866
- readonly address: "0x9E32e06Fd23675b2DF8eA8e6b0A25c3DF6a60AbC";
1354
+ readonly address: "0x4C11C7F82D6D56a726f9B53dd99af031AFd86BB6";
1867
1355
  readonly abi: readonly [{
1868
1356
  readonly type: "constructor";
1869
1357
  readonly inputs: readonly [{
1870
- readonly name: "_authorityHistoryPairFactory";
1871
- readonly internalType: "contract IAuthorityHistoryPairFactory";
1358
+ readonly name: "authorityFactory";
1359
+ readonly internalType: "contract IAuthorityFactory";
1872
1360
  readonly type: "address";
1873
1361
  }, {
1874
- readonly name: "_applicationFactory";
1875
- readonly internalType: "contract ICartesiDAppFactory";
1362
+ readonly name: "applicationFactory";
1363
+ readonly internalType: "contract IApplicationFactory";
1876
1364
  readonly type: "address";
1877
1365
  }];
1878
1366
  readonly stateMutability: "nonpayable";
1879
1367
  }, {
1880
1368
  readonly type: "function";
1881
1369
  readonly inputs: readonly [{
1882
- readonly name: "_authorityOwner";
1370
+ readonly name: "authorityOwner";
1883
1371
  readonly internalType: "address";
1884
1372
  readonly type: "address";
1885
1373
  }, {
1886
- readonly name: "_dappOwner";
1374
+ readonly name: "epochLength";
1375
+ readonly internalType: "uint256";
1376
+ readonly type: "uint256";
1377
+ }, {
1378
+ readonly name: "appOwner";
1887
1379
  readonly internalType: "address";
1888
1380
  readonly type: "address";
1889
1381
  }, {
1890
- readonly name: "_templateHash";
1382
+ readonly name: "templateHash";
1891
1383
  readonly internalType: "bytes32";
1892
1384
  readonly type: "bytes32";
1893
1385
  }, {
1894
- readonly name: "_salt";
1386
+ readonly name: "salt";
1895
1387
  readonly internalType: "bytes32";
1896
1388
  readonly type: "bytes32";
1897
1389
  }];
1898
1390
  readonly name: "calculateAddresses";
1899
1391
  readonly outputs: readonly [{
1900
- readonly name: "application_";
1901
- readonly internalType: "address";
1902
- readonly type: "address";
1903
- }, {
1904
- readonly name: "authority_";
1392
+ readonly name: "application";
1905
1393
  readonly internalType: "address";
1906
1394
  readonly type: "address";
1907
1395
  }, {
1908
- readonly name: "history_";
1396
+ readonly name: "authority";
1909
1397
  readonly internalType: "address";
1910
1398
  readonly type: "address";
1911
1399
  }];
@@ -1913,34 +1401,34 @@ export declare const selfHostedApplicationFactoryConfig: {
1913
1401
  }, {
1914
1402
  readonly type: "function";
1915
1403
  readonly inputs: readonly [{
1916
- readonly name: "_authorityOwner";
1404
+ readonly name: "authorityOwner";
1917
1405
  readonly internalType: "address";
1918
1406
  readonly type: "address";
1919
1407
  }, {
1920
- readonly name: "_dappOwner";
1408
+ readonly name: "epochLength";
1409
+ readonly internalType: "uint256";
1410
+ readonly type: "uint256";
1411
+ }, {
1412
+ readonly name: "appOwner";
1921
1413
  readonly internalType: "address";
1922
1414
  readonly type: "address";
1923
1415
  }, {
1924
- readonly name: "_templateHash";
1416
+ readonly name: "templateHash";
1925
1417
  readonly internalType: "bytes32";
1926
1418
  readonly type: "bytes32";
1927
1419
  }, {
1928
- readonly name: "_salt";
1420
+ readonly name: "salt";
1929
1421
  readonly internalType: "bytes32";
1930
1422
  readonly type: "bytes32";
1931
1423
  }];
1932
1424
  readonly name: "deployContracts";
1933
1425
  readonly outputs: readonly [{
1934
- readonly name: "application_";
1935
- readonly internalType: "contract CartesiDApp";
1936
- readonly type: "address";
1937
- }, {
1938
- readonly name: "authority_";
1939
- readonly internalType: "contract Authority";
1426
+ readonly name: "application";
1427
+ readonly internalType: "contract IApplication";
1940
1428
  readonly type: "address";
1941
1429
  }, {
1942
- readonly name: "history_";
1943
- readonly internalType: "contract History";
1430
+ readonly name: "authority";
1431
+ readonly internalType: "contract IAuthority";
1944
1432
  readonly type: "address";
1945
1433
  }];
1946
1434
  readonly stateMutability: "nonpayable";
@@ -1950,17 +1438,17 @@ export declare const selfHostedApplicationFactoryConfig: {
1950
1438
  readonly name: "getApplicationFactory";
1951
1439
  readonly outputs: readonly [{
1952
1440
  readonly name: "";
1953
- readonly internalType: "contract ICartesiDAppFactory";
1441
+ readonly internalType: "contract IApplicationFactory";
1954
1442
  readonly type: "address";
1955
1443
  }];
1956
1444
  readonly stateMutability: "view";
1957
1445
  }, {
1958
1446
  readonly type: "function";
1959
1447
  readonly inputs: readonly [];
1960
- readonly name: "getAuthorityHistoryPairFactory";
1448
+ readonly name: "getAuthorityFactory";
1961
1449
  readonly outputs: readonly [{
1962
1450
  readonly name: "";
1963
- readonly internalType: "contract IAuthorityHistoryPairFactory";
1451
+ readonly internalType: "contract IAuthorityFactory";
1964
1452
  readonly type: "address";
1965
1453
  }];
1966
1454
  readonly stateMutability: "view";
@@ -4826,38 +4314,4 @@ export declare const testTokenConfig: {
4826
4314
  readonly stateMutability: "nonpayable";
4827
4315
  }];
4828
4316
  };
4829
- export declare const unrolledCordicAbi: readonly [{
4830
- readonly type: "function";
4831
- readonly inputs: readonly [{
4832
- readonly name: "val";
4833
- readonly internalType: "uint256";
4834
- readonly type: "uint256";
4835
- }];
4836
- readonly name: "log2Times1e18";
4837
- readonly outputs: readonly [{
4838
- readonly name: "";
4839
- readonly internalType: "uint256";
4840
- readonly type: "uint256";
4841
- }];
4842
- readonly stateMutability: "pure";
4843
- }];
4844
- export declare const unrolledCordicAddress: "0x3F8FdcD1B0F421D817BF58C96b7C91B98100B450";
4845
- export declare const unrolledCordicConfig: {
4846
- readonly address: "0x3F8FdcD1B0F421D817BF58C96b7C91B98100B450";
4847
- readonly abi: readonly [{
4848
- readonly type: "function";
4849
- readonly inputs: readonly [{
4850
- readonly name: "val";
4851
- readonly internalType: "uint256";
4852
- readonly type: "uint256";
4853
- }];
4854
- readonly name: "log2Times1e18";
4855
- readonly outputs: readonly [{
4856
- readonly name: "";
4857
- readonly internalType: "uint256";
4858
- readonly type: "uint256";
4859
- }];
4860
- readonly stateMutability: "pure";
4861
- }];
4862
- };
4863
4317
  //# sourceMappingURL=contracts.d.ts.map