@verified-network/verified-sdk 2.4.9 → 2.5.1

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