@verified-network/verified-sdk 2.4.9 → 2.5.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 (48) hide show
  1. package/dist/contract/amm/margin/index.d.ts +1 -1
  2. package/dist/contract/amm/margin/index.js +2 -2
  3. package/dist/contract/amm/primary/index.d.ts +1 -1
  4. package/dist/contract/amm/primary/index.js +2 -2
  5. package/dist/contract/amm/secondary/index.d.ts +1 -1
  6. package/dist/contract/amm/secondary/index.js +2 -2
  7. package/dist/contract/bond/index.d.ts +1 -1
  8. package/dist/contract/bond/index.js +2 -2
  9. package/dist/contract/cash/index.d.ts +1 -1
  10. package/dist/contract/cash/index.js +2 -2
  11. package/dist/contract/client/index.d.ts +1 -1
  12. package/dist/contract/client/index.js +2 -2
  13. package/dist/contract/custody/index.d.ts +1 -1
  14. package/dist/contract/custody/index.js +2 -2
  15. package/dist/contract/distribution/index.d.ts +1 -1
  16. package/dist/contract/distribution/index.js +2 -2
  17. package/dist/contract/erc20/index.d.ts +1 -1
  18. package/dist/contract/erc20/index.js +2 -2
  19. package/dist/contract/factory/index.d.ts +1 -1
  20. package/dist/contract/factory/index.js +2 -2
  21. package/dist/contract/index.d.ts +2 -1
  22. package/dist/contract/index.js +63 -26
  23. package/dist/contract/liquidity/index.d.ts +1 -1
  24. package/dist/contract/liquidity/index.js +2 -2
  25. package/dist/contract/loans/compound/index.d.ts +1 -1
  26. package/dist/contract/loans/compound/index.js +2 -2
  27. package/dist/contract/pool/index.d.ts +1 -1
  28. package/dist/contract/pool/index.js +2 -2
  29. package/dist/contract/rates/index.d.ts +1 -1
  30. package/dist/contract/rates/index.js +2 -2
  31. package/dist/contract/securitiesfactory/index.d.ts +1 -1
  32. package/dist/contract/securitiesfactory/index.js +2 -2
  33. package/dist/contract/security/index.d.ts +1 -1
  34. package/dist/contract/security/index.js +2 -2
  35. package/dist/contract/token/index.d.ts +1 -1
  36. package/dist/contract/token/index.js +2 -2
  37. package/dist/contractAddress/index.js +4 -4
  38. package/dist/lib/abi/boostrap.d.ts +878 -0
  39. package/dist/lib/abi/boostrap.js +1151 -0
  40. package/dist/lib/abi/boostrap.json +1150 -0
  41. package/dist/lib/abi/composability.d.ts +66 -0
  42. package/dist/lib/abi/composability.js +273 -0
  43. package/dist/lib/abi/entrypoint.d.ts +775 -0
  44. package/dist/lib/abi/entrypoint.js +660 -0
  45. package/dist/lib/abi/factory.json +325 -0
  46. package/dist/lib/biconomyRNFix.d.ts +20737 -0
  47. package/dist/lib/biconomyRNFix.js +974 -0
  48. package/package.json +2 -2
@@ -0,0 +1,1150 @@
1
+ {
2
+ "abi": [
3
+ {
4
+ "type": "constructor",
5
+ "inputs": [
6
+ {
7
+ "name": "defaultValidator",
8
+ "type": "address",
9
+ "internalType": "address"
10
+ },
11
+ {
12
+ "name": "initData",
13
+ "type": "bytes",
14
+ "internalType": "bytes"
15
+ }
16
+ ],
17
+ "stateMutability": "nonpayable"
18
+ },
19
+ {
20
+ "type": "error",
21
+ "name": "CanNotRemoveLastValidator",
22
+ "inputs": []
23
+ },
24
+ {
25
+ "type": "error",
26
+ "name": "DefaultValidatorAlreadyInstalled",
27
+ "inputs": []
28
+ },
29
+ {
30
+ "type": "error",
31
+ "name": "EmergencyUninstallSigError",
32
+ "inputs": []
33
+ },
34
+ {
35
+ "type": "error",
36
+ "name": "EnableModeSigError",
37
+ "inputs": []
38
+ },
39
+ {
40
+ "type": "error",
41
+ "name": "FallbackAlreadyInstalledForSelector",
42
+ "inputs": [
43
+ {
44
+ "name": "selector",
45
+ "type": "bytes4",
46
+ "internalType": "bytes4"
47
+ }
48
+ ]
49
+ },
50
+ {
51
+ "type": "error",
52
+ "name": "FallbackCallTypeInvalid",
53
+ "inputs": []
54
+ },
55
+ {
56
+ "type": "error",
57
+ "name": "FallbackHandlerUninstallFailed",
58
+ "inputs": []
59
+ },
60
+ {
61
+ "type": "error",
62
+ "name": "FallbackNotInstalledForSelector",
63
+ "inputs": [
64
+ {
65
+ "name": "selector",
66
+ "type": "bytes4",
67
+ "internalType": "bytes4"
68
+ }
69
+ ]
70
+ },
71
+ {
72
+ "type": "error",
73
+ "name": "FallbackSelectorForbidden",
74
+ "inputs": []
75
+ },
76
+ {
77
+ "type": "error",
78
+ "name": "HookAlreadyInstalled",
79
+ "inputs": [
80
+ {
81
+ "name": "currentHook",
82
+ "type": "address",
83
+ "internalType": "address"
84
+ }
85
+ ]
86
+ },
87
+ {
88
+ "type": "error",
89
+ "name": "HookPostCheckFailed",
90
+ "inputs": []
91
+ },
92
+ {
93
+ "type": "error",
94
+ "name": "InvalidInput",
95
+ "inputs": []
96
+ },
97
+ {
98
+ "type": "error",
99
+ "name": "InvalidModule",
100
+ "inputs": [
101
+ {
102
+ "name": "module",
103
+ "type": "address",
104
+ "internalType": "address"
105
+ }
106
+ ]
107
+ },
108
+ {
109
+ "type": "error",
110
+ "name": "InvalidModuleTypeId",
111
+ "inputs": [
112
+ {
113
+ "name": "moduleTypeId",
114
+ "type": "uint256",
115
+ "internalType": "uint256"
116
+ }
117
+ ]
118
+ },
119
+ {
120
+ "type": "error",
121
+ "name": "InvalidNonce",
122
+ "inputs": []
123
+ },
124
+ {
125
+ "type": "error",
126
+ "name": "LinkedList_AlreadyInitialized",
127
+ "inputs": []
128
+ },
129
+ {
130
+ "type": "error",
131
+ "name": "LinkedList_EntryAlreadyInList",
132
+ "inputs": [
133
+ {
134
+ "name": "entry",
135
+ "type": "address",
136
+ "internalType": "address"
137
+ }
138
+ ]
139
+ },
140
+ {
141
+ "type": "error",
142
+ "name": "LinkedList_InvalidEntry",
143
+ "inputs": [
144
+ {
145
+ "name": "entry",
146
+ "type": "address",
147
+ "internalType": "address"
148
+ }
149
+ ]
150
+ },
151
+ {
152
+ "type": "error",
153
+ "name": "LinkedList_InvalidPage",
154
+ "inputs": []
155
+ },
156
+ {
157
+ "type": "error",
158
+ "name": "MismatchModuleTypeId",
159
+ "inputs": []
160
+ },
161
+ {
162
+ "type": "error",
163
+ "name": "MissingFallbackHandler",
164
+ "inputs": [
165
+ {
166
+ "name": "selector",
167
+ "type": "bytes4",
168
+ "internalType": "bytes4"
169
+ }
170
+ ]
171
+ },
172
+ {
173
+ "type": "error",
174
+ "name": "ModuleAddressCanNotBeZero",
175
+ "inputs": []
176
+ },
177
+ {
178
+ "type": "error",
179
+ "name": "ModuleAlreadyInstalled",
180
+ "inputs": [
181
+ {
182
+ "name": "moduleTypeId",
183
+ "type": "uint256",
184
+ "internalType": "uint256"
185
+ },
186
+ {
187
+ "name": "module",
188
+ "type": "address",
189
+ "internalType": "address"
190
+ }
191
+ ]
192
+ },
193
+ {
194
+ "type": "error",
195
+ "name": "ModuleNotInstalled",
196
+ "inputs": [
197
+ {
198
+ "name": "moduleTypeId",
199
+ "type": "uint256",
200
+ "internalType": "uint256"
201
+ },
202
+ {
203
+ "name": "module",
204
+ "type": "address",
205
+ "internalType": "address"
206
+ }
207
+ ]
208
+ },
209
+ {
210
+ "type": "error",
211
+ "name": "NoValidatorInstalled",
212
+ "inputs": []
213
+ },
214
+ {
215
+ "type": "error",
216
+ "name": "PrevalidationHookAlreadyInstalled",
217
+ "inputs": [
218
+ {
219
+ "name": "currentPreValidationHook",
220
+ "type": "address",
221
+ "internalType": "address"
222
+ }
223
+ ]
224
+ },
225
+ {
226
+ "type": "error",
227
+ "name": "UnauthorizedOperation",
228
+ "inputs": [
229
+ {
230
+ "name": "operator",
231
+ "type": "address",
232
+ "internalType": "address"
233
+ }
234
+ ]
235
+ },
236
+ {
237
+ "type": "error",
238
+ "name": "UnsupportedCallType",
239
+ "inputs": [
240
+ {
241
+ "name": "callType",
242
+ "type": "bytes1",
243
+ "internalType": "CallType"
244
+ }
245
+ ]
246
+ },
247
+ {
248
+ "type": "error",
249
+ "name": "ValidatorNotInstalled",
250
+ "inputs": [
251
+ {
252
+ "name": "module",
253
+ "type": "address",
254
+ "internalType": "address"
255
+ }
256
+ ]
257
+ },
258
+ {
259
+ "type": "event",
260
+ "name": "ERC7484RegistryConfigured",
261
+ "inputs": [
262
+ {
263
+ "name": "registry",
264
+ "type": "address",
265
+ "indexed": true,
266
+ "internalType": "contract IERC7484"
267
+ }
268
+ ],
269
+ "anonymous": false
270
+ },
271
+ {
272
+ "type": "event",
273
+ "name": "ModuleInstalled",
274
+ "inputs": [
275
+ {
276
+ "name": "moduleTypeId",
277
+ "type": "uint256",
278
+ "indexed": false,
279
+ "internalType": "uint256"
280
+ },
281
+ {
282
+ "name": "module",
283
+ "type": "address",
284
+ "indexed": false,
285
+ "internalType": "address"
286
+ }
287
+ ],
288
+ "anonymous": false
289
+ },
290
+ {
291
+ "type": "event",
292
+ "name": "ModuleUninstalled",
293
+ "inputs": [
294
+ {
295
+ "name": "moduleTypeId",
296
+ "type": "uint256",
297
+ "indexed": false,
298
+ "internalType": "uint256"
299
+ },
300
+ {
301
+ "name": "module",
302
+ "type": "address",
303
+ "indexed": false,
304
+ "internalType": "address"
305
+ }
306
+ ],
307
+ "anonymous": false
308
+ },
309
+ {
310
+ "type": "fallback",
311
+ "stateMutability": "payable"
312
+ },
313
+ {
314
+ "type": "function",
315
+ "name": "eip712Domain",
316
+ "inputs": [],
317
+ "outputs": [
318
+ {
319
+ "name": "fields",
320
+ "type": "bytes1",
321
+ "internalType": "bytes1"
322
+ },
323
+ {
324
+ "name": "name",
325
+ "type": "string",
326
+ "internalType": "string"
327
+ },
328
+ {
329
+ "name": "version",
330
+ "type": "string",
331
+ "internalType": "string"
332
+ },
333
+ {
334
+ "name": "chainId",
335
+ "type": "uint256",
336
+ "internalType": "uint256"
337
+ },
338
+ {
339
+ "name": "verifyingContract",
340
+ "type": "address",
341
+ "internalType": "address"
342
+ },
343
+ {
344
+ "name": "salt",
345
+ "type": "bytes32",
346
+ "internalType": "bytes32"
347
+ },
348
+ {
349
+ "name": "extensions",
350
+ "type": "uint256[]",
351
+ "internalType": "uint256[]"
352
+ }
353
+ ],
354
+ "stateMutability": "view"
355
+ },
356
+ {
357
+ "type": "function",
358
+ "name": "getActiveHook",
359
+ "inputs": [],
360
+ "outputs": [
361
+ {
362
+ "name": "hook",
363
+ "type": "address",
364
+ "internalType": "address"
365
+ }
366
+ ],
367
+ "stateMutability": "view"
368
+ },
369
+ {
370
+ "type": "function",
371
+ "name": "getExecutorsPaginated",
372
+ "inputs": [
373
+ {
374
+ "name": "cursor",
375
+ "type": "address",
376
+ "internalType": "address"
377
+ },
378
+ {
379
+ "name": "size",
380
+ "type": "uint256",
381
+ "internalType": "uint256"
382
+ }
383
+ ],
384
+ "outputs": [
385
+ {
386
+ "name": "array",
387
+ "type": "address[]",
388
+ "internalType": "address[]"
389
+ },
390
+ {
391
+ "name": "next",
392
+ "type": "address",
393
+ "internalType": "address"
394
+ }
395
+ ],
396
+ "stateMutability": "view"
397
+ },
398
+ {
399
+ "type": "function",
400
+ "name": "getFallbackHandlerBySelector",
401
+ "inputs": [
402
+ {
403
+ "name": "selector",
404
+ "type": "bytes4",
405
+ "internalType": "bytes4"
406
+ }
407
+ ],
408
+ "outputs": [
409
+ {
410
+ "name": "",
411
+ "type": "bytes1",
412
+ "internalType": "CallType"
413
+ },
414
+ {
415
+ "name": "",
416
+ "type": "address",
417
+ "internalType": "address"
418
+ }
419
+ ],
420
+ "stateMutability": "view"
421
+ },
422
+ {
423
+ "type": "function",
424
+ "name": "getRegistry",
425
+ "inputs": [],
426
+ "outputs": [
427
+ {
428
+ "name": "",
429
+ "type": "address",
430
+ "internalType": "contract IERC7484"
431
+ }
432
+ ],
433
+ "stateMutability": "view"
434
+ },
435
+ {
436
+ "type": "function",
437
+ "name": "getValidatorsPaginated",
438
+ "inputs": [
439
+ {
440
+ "name": "cursor",
441
+ "type": "address",
442
+ "internalType": "address"
443
+ },
444
+ {
445
+ "name": "size",
446
+ "type": "uint256",
447
+ "internalType": "uint256"
448
+ }
449
+ ],
450
+ "outputs": [
451
+ {
452
+ "name": "array",
453
+ "type": "address[]",
454
+ "internalType": "address[]"
455
+ },
456
+ {
457
+ "name": "next",
458
+ "type": "address",
459
+ "internalType": "address"
460
+ }
461
+ ],
462
+ "stateMutability": "view"
463
+ },
464
+ {
465
+ "type": "function",
466
+ "name": "initNexus",
467
+ "inputs": [
468
+ {
469
+ "name": "validators",
470
+ "type": "tuple[]",
471
+ "internalType": "struct BootstrapConfig[]",
472
+ "components": [
473
+ {
474
+ "name": "module",
475
+ "type": "address",
476
+ "internalType": "address"
477
+ },
478
+ {
479
+ "name": "data",
480
+ "type": "bytes",
481
+ "internalType": "bytes"
482
+ }
483
+ ]
484
+ },
485
+ {
486
+ "name": "executors",
487
+ "type": "tuple[]",
488
+ "internalType": "struct BootstrapConfig[]",
489
+ "components": [
490
+ {
491
+ "name": "module",
492
+ "type": "address",
493
+ "internalType": "address"
494
+ },
495
+ {
496
+ "name": "data",
497
+ "type": "bytes",
498
+ "internalType": "bytes"
499
+ }
500
+ ]
501
+ },
502
+ {
503
+ "name": "hook",
504
+ "type": "tuple",
505
+ "internalType": "struct BootstrapConfig",
506
+ "components": [
507
+ {
508
+ "name": "module",
509
+ "type": "address",
510
+ "internalType": "address"
511
+ },
512
+ {
513
+ "name": "data",
514
+ "type": "bytes",
515
+ "internalType": "bytes"
516
+ }
517
+ ]
518
+ },
519
+ {
520
+ "name": "fallbacks",
521
+ "type": "tuple[]",
522
+ "internalType": "struct BootstrapConfig[]",
523
+ "components": [
524
+ {
525
+ "name": "module",
526
+ "type": "address",
527
+ "internalType": "address"
528
+ },
529
+ {
530
+ "name": "data",
531
+ "type": "bytes",
532
+ "internalType": "bytes"
533
+ }
534
+ ]
535
+ },
536
+ {
537
+ "name": "preValidationHooks",
538
+ "type": "tuple[]",
539
+ "internalType": "struct BootstrapPreValidationHookConfig[]",
540
+ "components": [
541
+ {
542
+ "name": "hookType",
543
+ "type": "uint256",
544
+ "internalType": "uint256"
545
+ },
546
+ {
547
+ "name": "module",
548
+ "type": "address",
549
+ "internalType": "address"
550
+ },
551
+ {
552
+ "name": "data",
553
+ "type": "bytes",
554
+ "internalType": "bytes"
555
+ }
556
+ ]
557
+ },
558
+ {
559
+ "name": "registryConfig",
560
+ "type": "tuple",
561
+ "internalType": "struct RegistryConfig",
562
+ "components": [
563
+ {
564
+ "name": "registry",
565
+ "type": "address",
566
+ "internalType": "contract IERC7484"
567
+ },
568
+ {
569
+ "name": "attesters",
570
+ "type": "address[]",
571
+ "internalType": "address[]"
572
+ },
573
+ {
574
+ "name": "threshold",
575
+ "type": "uint8",
576
+ "internalType": "uint8"
577
+ }
578
+ ]
579
+ }
580
+ ],
581
+ "outputs": [],
582
+ "stateMutability": "payable"
583
+ },
584
+ {
585
+ "type": "function",
586
+ "name": "initNexusNoRegistry",
587
+ "inputs": [
588
+ {
589
+ "name": "validators",
590
+ "type": "tuple[]",
591
+ "internalType": "struct BootstrapConfig[]",
592
+ "components": [
593
+ {
594
+ "name": "module",
595
+ "type": "address",
596
+ "internalType": "address"
597
+ },
598
+ {
599
+ "name": "data",
600
+ "type": "bytes",
601
+ "internalType": "bytes"
602
+ }
603
+ ]
604
+ },
605
+ {
606
+ "name": "executors",
607
+ "type": "tuple[]",
608
+ "internalType": "struct BootstrapConfig[]",
609
+ "components": [
610
+ {
611
+ "name": "module",
612
+ "type": "address",
613
+ "internalType": "address"
614
+ },
615
+ {
616
+ "name": "data",
617
+ "type": "bytes",
618
+ "internalType": "bytes"
619
+ }
620
+ ]
621
+ },
622
+ {
623
+ "name": "hook",
624
+ "type": "tuple",
625
+ "internalType": "struct BootstrapConfig",
626
+ "components": [
627
+ {
628
+ "name": "module",
629
+ "type": "address",
630
+ "internalType": "address"
631
+ },
632
+ {
633
+ "name": "data",
634
+ "type": "bytes",
635
+ "internalType": "bytes"
636
+ }
637
+ ]
638
+ },
639
+ {
640
+ "name": "fallbacks",
641
+ "type": "tuple[]",
642
+ "internalType": "struct BootstrapConfig[]",
643
+ "components": [
644
+ {
645
+ "name": "module",
646
+ "type": "address",
647
+ "internalType": "address"
648
+ },
649
+ {
650
+ "name": "data",
651
+ "type": "bytes",
652
+ "internalType": "bytes"
653
+ }
654
+ ]
655
+ },
656
+ {
657
+ "name": "preValidationHooks",
658
+ "type": "tuple[]",
659
+ "internalType": "struct BootstrapPreValidationHookConfig[]",
660
+ "components": [
661
+ {
662
+ "name": "hookType",
663
+ "type": "uint256",
664
+ "internalType": "uint256"
665
+ },
666
+ {
667
+ "name": "module",
668
+ "type": "address",
669
+ "internalType": "address"
670
+ },
671
+ {
672
+ "name": "data",
673
+ "type": "bytes",
674
+ "internalType": "bytes"
675
+ }
676
+ ]
677
+ }
678
+ ],
679
+ "outputs": [],
680
+ "stateMutability": "payable"
681
+ },
682
+ {
683
+ "type": "function",
684
+ "name": "initNexusScoped",
685
+ "inputs": [
686
+ {
687
+ "name": "validators",
688
+ "type": "tuple[]",
689
+ "internalType": "struct BootstrapConfig[]",
690
+ "components": [
691
+ {
692
+ "name": "module",
693
+ "type": "address",
694
+ "internalType": "address"
695
+ },
696
+ {
697
+ "name": "data",
698
+ "type": "bytes",
699
+ "internalType": "bytes"
700
+ }
701
+ ]
702
+ },
703
+ {
704
+ "name": "hook",
705
+ "type": "tuple",
706
+ "internalType": "struct BootstrapConfig",
707
+ "components": [
708
+ {
709
+ "name": "module",
710
+ "type": "address",
711
+ "internalType": "address"
712
+ },
713
+ {
714
+ "name": "data",
715
+ "type": "bytes",
716
+ "internalType": "bytes"
717
+ }
718
+ ]
719
+ },
720
+ {
721
+ "name": "registryConfig",
722
+ "type": "tuple",
723
+ "internalType": "struct RegistryConfig",
724
+ "components": [
725
+ {
726
+ "name": "registry",
727
+ "type": "address",
728
+ "internalType": "contract IERC7484"
729
+ },
730
+ {
731
+ "name": "attesters",
732
+ "type": "address[]",
733
+ "internalType": "address[]"
734
+ },
735
+ {
736
+ "name": "threshold",
737
+ "type": "uint8",
738
+ "internalType": "uint8"
739
+ }
740
+ ]
741
+ }
742
+ ],
743
+ "outputs": [],
744
+ "stateMutability": "payable"
745
+ },
746
+ {
747
+ "type": "function",
748
+ "name": "initNexusScopedNoRegistry",
749
+ "inputs": [
750
+ {
751
+ "name": "validators",
752
+ "type": "tuple[]",
753
+ "internalType": "struct BootstrapConfig[]",
754
+ "components": [
755
+ {
756
+ "name": "module",
757
+ "type": "address",
758
+ "internalType": "address"
759
+ },
760
+ {
761
+ "name": "data",
762
+ "type": "bytes",
763
+ "internalType": "bytes"
764
+ }
765
+ ]
766
+ },
767
+ {
768
+ "name": "hook",
769
+ "type": "tuple",
770
+ "internalType": "struct BootstrapConfig",
771
+ "components": [
772
+ {
773
+ "name": "module",
774
+ "type": "address",
775
+ "internalType": "address"
776
+ },
777
+ {
778
+ "name": "data",
779
+ "type": "bytes",
780
+ "internalType": "bytes"
781
+ }
782
+ ]
783
+ }
784
+ ],
785
+ "outputs": [],
786
+ "stateMutability": "payable"
787
+ },
788
+ {
789
+ "type": "function",
790
+ "name": "initNexusWithDefaultValidator",
791
+ "inputs": [
792
+ {
793
+ "name": "data",
794
+ "type": "bytes",
795
+ "internalType": "bytes"
796
+ }
797
+ ],
798
+ "outputs": [],
799
+ "stateMutability": "payable"
800
+ },
801
+ {
802
+ "type": "function",
803
+ "name": "initNexusWithDefaultValidatorAndOtherModules",
804
+ "inputs": [
805
+ {
806
+ "name": "defaultValidatorInitData",
807
+ "type": "bytes",
808
+ "internalType": "bytes"
809
+ },
810
+ {
811
+ "name": "executors",
812
+ "type": "tuple[]",
813
+ "internalType": "struct BootstrapConfig[]",
814
+ "components": [
815
+ {
816
+ "name": "module",
817
+ "type": "address",
818
+ "internalType": "address"
819
+ },
820
+ {
821
+ "name": "data",
822
+ "type": "bytes",
823
+ "internalType": "bytes"
824
+ }
825
+ ]
826
+ },
827
+ {
828
+ "name": "hook",
829
+ "type": "tuple",
830
+ "internalType": "struct BootstrapConfig",
831
+ "components": [
832
+ {
833
+ "name": "module",
834
+ "type": "address",
835
+ "internalType": "address"
836
+ },
837
+ {
838
+ "name": "data",
839
+ "type": "bytes",
840
+ "internalType": "bytes"
841
+ }
842
+ ]
843
+ },
844
+ {
845
+ "name": "fallbacks",
846
+ "type": "tuple[]",
847
+ "internalType": "struct BootstrapConfig[]",
848
+ "components": [
849
+ {
850
+ "name": "module",
851
+ "type": "address",
852
+ "internalType": "address"
853
+ },
854
+ {
855
+ "name": "data",
856
+ "type": "bytes",
857
+ "internalType": "bytes"
858
+ }
859
+ ]
860
+ },
861
+ {
862
+ "name": "preValidationHooks",
863
+ "type": "tuple[]",
864
+ "internalType": "struct BootstrapPreValidationHookConfig[]",
865
+ "components": [
866
+ {
867
+ "name": "hookType",
868
+ "type": "uint256",
869
+ "internalType": "uint256"
870
+ },
871
+ {
872
+ "name": "module",
873
+ "type": "address",
874
+ "internalType": "address"
875
+ },
876
+ {
877
+ "name": "data",
878
+ "type": "bytes",
879
+ "internalType": "bytes"
880
+ }
881
+ ]
882
+ },
883
+ {
884
+ "name": "registryConfig",
885
+ "type": "tuple",
886
+ "internalType": "struct RegistryConfig",
887
+ "components": [
888
+ {
889
+ "name": "registry",
890
+ "type": "address",
891
+ "internalType": "contract IERC7484"
892
+ },
893
+ {
894
+ "name": "attesters",
895
+ "type": "address[]",
896
+ "internalType": "address[]"
897
+ },
898
+ {
899
+ "name": "threshold",
900
+ "type": "uint8",
901
+ "internalType": "uint8"
902
+ }
903
+ ]
904
+ }
905
+ ],
906
+ "outputs": [],
907
+ "stateMutability": "payable"
908
+ },
909
+ {
910
+ "type": "function",
911
+ "name": "initNexusWithDefaultValidatorAndOtherModulesNoRegistry",
912
+ "inputs": [
913
+ {
914
+ "name": "defaultValidatorInitData",
915
+ "type": "bytes",
916
+ "internalType": "bytes"
917
+ },
918
+ {
919
+ "name": "validators",
920
+ "type": "tuple[]",
921
+ "internalType": "struct BootstrapConfig[]",
922
+ "components": [
923
+ {
924
+ "name": "module",
925
+ "type": "address",
926
+ "internalType": "address"
927
+ },
928
+ {
929
+ "name": "data",
930
+ "type": "bytes",
931
+ "internalType": "bytes"
932
+ }
933
+ ]
934
+ },
935
+ {
936
+ "name": "executors",
937
+ "type": "tuple[]",
938
+ "internalType": "struct BootstrapConfig[]",
939
+ "components": [
940
+ {
941
+ "name": "module",
942
+ "type": "address",
943
+ "internalType": "address"
944
+ },
945
+ {
946
+ "name": "data",
947
+ "type": "bytes",
948
+ "internalType": "bytes"
949
+ }
950
+ ]
951
+ },
952
+ {
953
+ "name": "hook",
954
+ "type": "tuple",
955
+ "internalType": "struct BootstrapConfig",
956
+ "components": [
957
+ {
958
+ "name": "module",
959
+ "type": "address",
960
+ "internalType": "address"
961
+ },
962
+ {
963
+ "name": "data",
964
+ "type": "bytes",
965
+ "internalType": "bytes"
966
+ }
967
+ ]
968
+ },
969
+ {
970
+ "name": "fallbacks",
971
+ "type": "tuple[]",
972
+ "internalType": "struct BootstrapConfig[]",
973
+ "components": [
974
+ {
975
+ "name": "module",
976
+ "type": "address",
977
+ "internalType": "address"
978
+ },
979
+ {
980
+ "name": "data",
981
+ "type": "bytes",
982
+ "internalType": "bytes"
983
+ }
984
+ ]
985
+ },
986
+ {
987
+ "name": "preValidationHooks",
988
+ "type": "tuple[]",
989
+ "internalType": "struct BootstrapPreValidationHookConfig[]",
990
+ "components": [
991
+ {
992
+ "name": "hookType",
993
+ "type": "uint256",
994
+ "internalType": "uint256"
995
+ },
996
+ {
997
+ "name": "module",
998
+ "type": "address",
999
+ "internalType": "address"
1000
+ },
1001
+ {
1002
+ "name": "data",
1003
+ "type": "bytes",
1004
+ "internalType": "bytes"
1005
+ }
1006
+ ]
1007
+ }
1008
+ ],
1009
+ "outputs": [],
1010
+ "stateMutability": "payable"
1011
+ },
1012
+ {
1013
+ "type": "function",
1014
+ "name": "initNexusWithSingleValidator",
1015
+ "inputs": [
1016
+ {
1017
+ "name": "validator",
1018
+ "type": "address",
1019
+ "internalType": "address"
1020
+ },
1021
+ {
1022
+ "name": "data",
1023
+ "type": "bytes",
1024
+ "internalType": "bytes"
1025
+ },
1026
+ {
1027
+ "name": "registryConfig",
1028
+ "type": "tuple",
1029
+ "internalType": "struct RegistryConfig",
1030
+ "components": [
1031
+ {
1032
+ "name": "registry",
1033
+ "type": "address",
1034
+ "internalType": "contract IERC7484"
1035
+ },
1036
+ {
1037
+ "name": "attesters",
1038
+ "type": "address[]",
1039
+ "internalType": "address[]"
1040
+ },
1041
+ {
1042
+ "name": "threshold",
1043
+ "type": "uint8",
1044
+ "internalType": "uint8"
1045
+ }
1046
+ ]
1047
+ }
1048
+ ],
1049
+ "outputs": [],
1050
+ "stateMutability": "payable"
1051
+ },
1052
+ {
1053
+ "type": "function",
1054
+ "name": "initNexusWithSingleValidatorNoRegistry",
1055
+ "inputs": [
1056
+ {
1057
+ "name": "validator",
1058
+ "type": "address",
1059
+ "internalType": "address"
1060
+ },
1061
+ {
1062
+ "name": "data",
1063
+ "type": "bytes",
1064
+ "internalType": "bytes"
1065
+ }
1066
+ ],
1067
+ "outputs": [],
1068
+ "stateMutability": "payable"
1069
+ },
1070
+ {
1071
+ "type": "function",
1072
+ "name": "installModule",
1073
+ "inputs": [
1074
+ {
1075
+ "name": "moduleTypeId",
1076
+ "type": "uint256",
1077
+ "internalType": "uint256"
1078
+ },
1079
+ {
1080
+ "name": "module",
1081
+ "type": "address",
1082
+ "internalType": "address"
1083
+ },
1084
+ {
1085
+ "name": "initData",
1086
+ "type": "bytes",
1087
+ "internalType": "bytes"
1088
+ }
1089
+ ],
1090
+ "outputs": [],
1091
+ "stateMutability": "payable"
1092
+ },
1093
+ {
1094
+ "type": "function",
1095
+ "name": "isModuleInstalled",
1096
+ "inputs": [
1097
+ {
1098
+ "name": "moduleTypeId",
1099
+ "type": "uint256",
1100
+ "internalType": "uint256"
1101
+ },
1102
+ {
1103
+ "name": "module",
1104
+ "type": "address",
1105
+ "internalType": "address"
1106
+ },
1107
+ {
1108
+ "name": "additionalContext",
1109
+ "type": "bytes",
1110
+ "internalType": "bytes"
1111
+ }
1112
+ ],
1113
+ "outputs": [
1114
+ {
1115
+ "name": "installed",
1116
+ "type": "bool",
1117
+ "internalType": "bool"
1118
+ }
1119
+ ],
1120
+ "stateMutability": "view"
1121
+ },
1122
+ {
1123
+ "type": "function",
1124
+ "name": "uninstallModule",
1125
+ "inputs": [
1126
+ {
1127
+ "name": "moduleTypeId",
1128
+ "type": "uint256",
1129
+ "internalType": "uint256"
1130
+ },
1131
+ {
1132
+ "name": "module",
1133
+ "type": "address",
1134
+ "internalType": "address"
1135
+ },
1136
+ {
1137
+ "name": "deInitData",
1138
+ "type": "bytes",
1139
+ "internalType": "bytes"
1140
+ }
1141
+ ],
1142
+ "outputs": [],
1143
+ "stateMutability": "payable"
1144
+ },
1145
+ {
1146
+ "type": "receive",
1147
+ "stateMutability": "payable"
1148
+ }
1149
+ ]
1150
+ }