@web3dotorg/evm-slc-core-sdk 0.3.12 → 0.3.13

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 (30) hide show
  1. package/abi/ExecutorsRegistry.json +1123 -0
  2. package/abi/Governance.json +2351 -0
  3. package/abi/IExecutorsRegistry.json +357 -0
  4. package/abi/IGovernance.json +133 -0
  5. package/abi/INeutralsRegistry.json +504 -0
  6. package/abi/IQParameters.json +78 -0
  7. package/abi/ISLCCore.json +207 -0
  8. package/abi/ISLCCoreFactory.json +174 -0
  9. package/abi/IWrappedToken.json +198 -0
  10. package/abi/NeutralsRegistry.json +1446 -0
  11. package/abi/ParameterRegistry.json +765 -0
  12. package/abi/SLCCore.json +307 -0
  13. package/abi/SLCCoreFactory.json +499 -0
  14. package/lib.commonjs/contracts/governance/ExecutorsRegistry.d.ts +1 -29
  15. package/lib.commonjs/contracts/interfaces/IExecutorsRegistry.d.ts +1 -29
  16. package/lib.commonjs/factories/contracts/governance/ExecutorsRegistry__factory.d.ts +0 -36
  17. package/lib.commonjs/factories/contracts/governance/ExecutorsRegistry__factory.js +0 -48
  18. package/lib.commonjs/factories/contracts/interfaces/IExecutorsRegistry__factory.d.ts +0 -36
  19. package/lib.commonjs/factories/contracts/interfaces/IExecutorsRegistry__factory.js +0 -48
  20. package/lib.commonjs/index.d.ts +1 -1
  21. package/lib.commonjs/index.js +31 -2
  22. package/lib.esm/contracts/governance/ExecutorsRegistry.d.ts +1 -29
  23. package/lib.esm/contracts/interfaces/IExecutorsRegistry.d.ts +1 -29
  24. package/lib.esm/factories/contracts/governance/ExecutorsRegistry__factory.d.ts +0 -36
  25. package/lib.esm/factories/contracts/governance/ExecutorsRegistry__factory.js +0 -48
  26. package/lib.esm/factories/contracts/interfaces/IExecutorsRegistry__factory.d.ts +0 -36
  27. package/lib.esm/factories/contracts/interfaces/IExecutorsRegistry__factory.js +0 -48
  28. package/lib.esm/index.d.ts +1 -1
  29. package/lib.esm/index.js +12 -2
  30. package/package.json +4 -4
@@ -0,0 +1,765 @@
1
+ [
2
+ {
3
+ "inputs": [
4
+ {
5
+ "internalType": "address",
6
+ "name": "target",
7
+ "type": "address"
8
+ }
9
+ ],
10
+ "name": "AddressEmptyCode",
11
+ "type": "error"
12
+ },
13
+ {
14
+ "inputs": [
15
+ {
16
+ "internalType": "address",
17
+ "name": "implementation",
18
+ "type": "address"
19
+ }
20
+ ],
21
+ "name": "ERC1967InvalidImplementation",
22
+ "type": "error"
23
+ },
24
+ {
25
+ "inputs": [],
26
+ "name": "ERC1967NonPayable",
27
+ "type": "error"
28
+ },
29
+ {
30
+ "inputs": [],
31
+ "name": "FailedCall",
32
+ "type": "error"
33
+ },
34
+ {
35
+ "inputs": [],
36
+ "name": "InvalidInitialization",
37
+ "type": "error"
38
+ },
39
+ {
40
+ "inputs": [],
41
+ "name": "InvalidOwner",
42
+ "type": "error"
43
+ },
44
+ {
45
+ "inputs": [],
46
+ "name": "NotInitializing",
47
+ "type": "error"
48
+ },
49
+ {
50
+ "inputs": [
51
+ {
52
+ "internalType": "string",
53
+ "name": "key",
54
+ "type": "string"
55
+ }
56
+ ],
57
+ "name": "ParameterNotFound",
58
+ "type": "error"
59
+ },
60
+ {
61
+ "inputs": [],
62
+ "name": "UUPSUnauthorizedCallContext",
63
+ "type": "error"
64
+ },
65
+ {
66
+ "inputs": [
67
+ {
68
+ "internalType": "bytes32",
69
+ "name": "slot",
70
+ "type": "bytes32"
71
+ }
72
+ ],
73
+ "name": "UUPSUnsupportedProxiableUUID",
74
+ "type": "error"
75
+ },
76
+ {
77
+ "inputs": [
78
+ {
79
+ "internalType": "address",
80
+ "name": "account",
81
+ "type": "address"
82
+ }
83
+ ],
84
+ "name": "UnauthorizedAccount",
85
+ "type": "error"
86
+ },
87
+ {
88
+ "anonymous": false,
89
+ "inputs": [
90
+ {
91
+ "indexed": true,
92
+ "internalType": "string",
93
+ "name": "key",
94
+ "type": "string"
95
+ },
96
+ {
97
+ "indexed": true,
98
+ "internalType": "address",
99
+ "name": "value",
100
+ "type": "address"
101
+ }
102
+ ],
103
+ "name": "AddressParameterSet",
104
+ "type": "event"
105
+ },
106
+ {
107
+ "anonymous": false,
108
+ "inputs": [
109
+ {
110
+ "indexed": true,
111
+ "internalType": "string",
112
+ "name": "key",
113
+ "type": "string"
114
+ },
115
+ {
116
+ "indexed": true,
117
+ "internalType": "bytes32",
118
+ "name": "value",
119
+ "type": "bytes32"
120
+ }
121
+ ],
122
+ "name": "Bytes32ParameterSet",
123
+ "type": "event"
124
+ },
125
+ {
126
+ "anonymous": false,
127
+ "inputs": [
128
+ {
129
+ "indexed": false,
130
+ "internalType": "uint64",
131
+ "name": "version",
132
+ "type": "uint64"
133
+ }
134
+ ],
135
+ "name": "Initialized",
136
+ "type": "event"
137
+ },
138
+ {
139
+ "anonymous": false,
140
+ "inputs": [
141
+ {
142
+ "indexed": false,
143
+ "internalType": "address[]",
144
+ "name": "newOwners",
145
+ "type": "address[]"
146
+ }
147
+ ],
148
+ "name": "OwnersAdded",
149
+ "type": "event"
150
+ },
151
+ {
152
+ "anonymous": false,
153
+ "inputs": [
154
+ {
155
+ "indexed": false,
156
+ "internalType": "address[]",
157
+ "name": "removedOwners",
158
+ "type": "address[]"
159
+ }
160
+ ],
161
+ "name": "OwnersRemoved",
162
+ "type": "event"
163
+ },
164
+ {
165
+ "anonymous": false,
166
+ "inputs": [
167
+ {
168
+ "indexed": true,
169
+ "internalType": "string",
170
+ "name": "key",
171
+ "type": "string"
172
+ },
173
+ {
174
+ "indexed": true,
175
+ "internalType": "string",
176
+ "name": "value",
177
+ "type": "string"
178
+ }
179
+ ],
180
+ "name": "StringParameterSet",
181
+ "type": "event"
182
+ },
183
+ {
184
+ "anonymous": false,
185
+ "inputs": [
186
+ {
187
+ "indexed": true,
188
+ "internalType": "string",
189
+ "name": "key",
190
+ "type": "string"
191
+ },
192
+ {
193
+ "indexed": true,
194
+ "internalType": "uint256",
195
+ "name": "value",
196
+ "type": "uint256"
197
+ }
198
+ ],
199
+ "name": "UintParameterSet",
200
+ "type": "event"
201
+ },
202
+ {
203
+ "anonymous": false,
204
+ "inputs": [
205
+ {
206
+ "indexed": true,
207
+ "internalType": "address",
208
+ "name": "implementation",
209
+ "type": "address"
210
+ }
211
+ ],
212
+ "name": "Upgraded",
213
+ "type": "event"
214
+ },
215
+ {
216
+ "inputs": [],
217
+ "name": "UPGRADE_INTERFACE_VERSION",
218
+ "outputs": [
219
+ {
220
+ "internalType": "string",
221
+ "name": "",
222
+ "type": "string"
223
+ }
224
+ ],
225
+ "stateMutability": "view",
226
+ "type": "function"
227
+ },
228
+ {
229
+ "inputs": [
230
+ {
231
+ "internalType": "address[]",
232
+ "name": "initialOwners_",
233
+ "type": "address[]"
234
+ }
235
+ ],
236
+ "name": "__ParameterRegistry_init",
237
+ "outputs": [],
238
+ "stateMutability": "nonpayable",
239
+ "type": "function"
240
+ },
241
+ {
242
+ "inputs": [
243
+ {
244
+ "internalType": "address[]",
245
+ "name": "newOwners_",
246
+ "type": "address[]"
247
+ }
248
+ ],
249
+ "name": "addOwners",
250
+ "outputs": [],
251
+ "stateMutability": "nonpayable",
252
+ "type": "function"
253
+ },
254
+ {
255
+ "inputs": [
256
+ {
257
+ "internalType": "string",
258
+ "name": "key_",
259
+ "type": "string"
260
+ }
261
+ ],
262
+ "name": "getAddr",
263
+ "outputs": [
264
+ {
265
+ "internalType": "address",
266
+ "name": "",
267
+ "type": "address"
268
+ }
269
+ ],
270
+ "stateMutability": "view",
271
+ "type": "function"
272
+ },
273
+ {
274
+ "inputs": [
275
+ {
276
+ "internalType": "uint256",
277
+ "name": "offset_",
278
+ "type": "uint256"
279
+ },
280
+ {
281
+ "internalType": "uint256",
282
+ "name": "limit_",
283
+ "type": "uint256"
284
+ }
285
+ ],
286
+ "name": "getAddressParameters",
287
+ "outputs": [
288
+ {
289
+ "components": [
290
+ {
291
+ "internalType": "string",
292
+ "name": "key",
293
+ "type": "string"
294
+ },
295
+ {
296
+ "internalType": "address",
297
+ "name": "value",
298
+ "type": "address"
299
+ }
300
+ ],
301
+ "internalType": "struct ParameterRegistry.AddressParameter[]",
302
+ "name": "parameters",
303
+ "type": "tuple[]"
304
+ }
305
+ ],
306
+ "stateMutability": "view",
307
+ "type": "function"
308
+ },
309
+ {
310
+ "inputs": [
311
+ {
312
+ "internalType": "string",
313
+ "name": "key_",
314
+ "type": "string"
315
+ }
316
+ ],
317
+ "name": "getBytes32",
318
+ "outputs": [
319
+ {
320
+ "internalType": "bytes32",
321
+ "name": "",
322
+ "type": "bytes32"
323
+ }
324
+ ],
325
+ "stateMutability": "view",
326
+ "type": "function"
327
+ },
328
+ {
329
+ "inputs": [
330
+ {
331
+ "internalType": "uint256",
332
+ "name": "offset_",
333
+ "type": "uint256"
334
+ },
335
+ {
336
+ "internalType": "uint256",
337
+ "name": "limit_",
338
+ "type": "uint256"
339
+ }
340
+ ],
341
+ "name": "getBytes32Parameters",
342
+ "outputs": [
343
+ {
344
+ "components": [
345
+ {
346
+ "internalType": "string",
347
+ "name": "key",
348
+ "type": "string"
349
+ },
350
+ {
351
+ "internalType": "bytes32",
352
+ "name": "value",
353
+ "type": "bytes32"
354
+ }
355
+ ],
356
+ "internalType": "struct ParameterRegistry.Bytes32Parameter[]",
357
+ "name": "parameters",
358
+ "type": "tuple[]"
359
+ }
360
+ ],
361
+ "stateMutability": "view",
362
+ "type": "function"
363
+ },
364
+ {
365
+ "inputs": [],
366
+ "name": "getOwners",
367
+ "outputs": [
368
+ {
369
+ "internalType": "address[]",
370
+ "name": "",
371
+ "type": "address[]"
372
+ }
373
+ ],
374
+ "stateMutability": "view",
375
+ "type": "function"
376
+ },
377
+ {
378
+ "inputs": [],
379
+ "name": "getParameterCounts",
380
+ "outputs": [
381
+ {
382
+ "internalType": "uint256",
383
+ "name": "addressCount",
384
+ "type": "uint256"
385
+ },
386
+ {
387
+ "internalType": "uint256",
388
+ "name": "uintCount",
389
+ "type": "uint256"
390
+ },
391
+ {
392
+ "internalType": "uint256",
393
+ "name": "stringCount",
394
+ "type": "uint256"
395
+ },
396
+ {
397
+ "internalType": "uint256",
398
+ "name": "bytes32Count",
399
+ "type": "uint256"
400
+ }
401
+ ],
402
+ "stateMutability": "view",
403
+ "type": "function"
404
+ },
405
+ {
406
+ "inputs": [
407
+ {
408
+ "internalType": "string",
409
+ "name": "key_",
410
+ "type": "string"
411
+ }
412
+ ],
413
+ "name": "getString",
414
+ "outputs": [
415
+ {
416
+ "internalType": "string",
417
+ "name": "",
418
+ "type": "string"
419
+ }
420
+ ],
421
+ "stateMutability": "view",
422
+ "type": "function"
423
+ },
424
+ {
425
+ "inputs": [
426
+ {
427
+ "internalType": "uint256",
428
+ "name": "offset_",
429
+ "type": "uint256"
430
+ },
431
+ {
432
+ "internalType": "uint256",
433
+ "name": "limit_",
434
+ "type": "uint256"
435
+ }
436
+ ],
437
+ "name": "getStringParameters",
438
+ "outputs": [
439
+ {
440
+ "components": [
441
+ {
442
+ "internalType": "string",
443
+ "name": "key",
444
+ "type": "string"
445
+ },
446
+ {
447
+ "internalType": "string",
448
+ "name": "value",
449
+ "type": "string"
450
+ }
451
+ ],
452
+ "internalType": "struct ParameterRegistry.StringParameter[]",
453
+ "name": "parameters",
454
+ "type": "tuple[]"
455
+ }
456
+ ],
457
+ "stateMutability": "view",
458
+ "type": "function"
459
+ },
460
+ {
461
+ "inputs": [
462
+ {
463
+ "internalType": "string",
464
+ "name": "key_",
465
+ "type": "string"
466
+ }
467
+ ],
468
+ "name": "getUint",
469
+ "outputs": [
470
+ {
471
+ "internalType": "uint256",
472
+ "name": "",
473
+ "type": "uint256"
474
+ }
475
+ ],
476
+ "stateMutability": "view",
477
+ "type": "function"
478
+ },
479
+ {
480
+ "inputs": [
481
+ {
482
+ "internalType": "uint256",
483
+ "name": "offset_",
484
+ "type": "uint256"
485
+ },
486
+ {
487
+ "internalType": "uint256",
488
+ "name": "limit_",
489
+ "type": "uint256"
490
+ }
491
+ ],
492
+ "name": "getUintParameters",
493
+ "outputs": [
494
+ {
495
+ "components": [
496
+ {
497
+ "internalType": "string",
498
+ "name": "key",
499
+ "type": "string"
500
+ },
501
+ {
502
+ "internalType": "uint256",
503
+ "name": "value",
504
+ "type": "uint256"
505
+ }
506
+ ],
507
+ "internalType": "struct ParameterRegistry.UintParameter[]",
508
+ "name": "parameters",
509
+ "type": "tuple[]"
510
+ }
511
+ ],
512
+ "stateMutability": "view",
513
+ "type": "function"
514
+ },
515
+ {
516
+ "inputs": [
517
+ {
518
+ "internalType": "string",
519
+ "name": "key_",
520
+ "type": "string"
521
+ },
522
+ {
523
+ "internalType": "enum ParameterRegistry.ParameterType",
524
+ "name": "paramType_",
525
+ "type": "uint8"
526
+ }
527
+ ],
528
+ "name": "hasParameter",
529
+ "outputs": [
530
+ {
531
+ "internalType": "bool",
532
+ "name": "",
533
+ "type": "bool"
534
+ }
535
+ ],
536
+ "stateMutability": "view",
537
+ "type": "function"
538
+ },
539
+ {
540
+ "inputs": [],
541
+ "name": "implementation",
542
+ "outputs": [
543
+ {
544
+ "internalType": "address",
545
+ "name": "",
546
+ "type": "address"
547
+ }
548
+ ],
549
+ "stateMutability": "view",
550
+ "type": "function"
551
+ },
552
+ {
553
+ "inputs": [
554
+ {
555
+ "internalType": "address",
556
+ "name": "address_",
557
+ "type": "address"
558
+ }
559
+ ],
560
+ "name": "isOwner",
561
+ "outputs": [
562
+ {
563
+ "internalType": "bool",
564
+ "name": "",
565
+ "type": "bool"
566
+ }
567
+ ],
568
+ "stateMutability": "view",
569
+ "type": "function"
570
+ },
571
+ {
572
+ "inputs": [],
573
+ "name": "proxiableUUID",
574
+ "outputs": [
575
+ {
576
+ "internalType": "bytes32",
577
+ "name": "",
578
+ "type": "bytes32"
579
+ }
580
+ ],
581
+ "stateMutability": "view",
582
+ "type": "function"
583
+ },
584
+ {
585
+ "inputs": [
586
+ {
587
+ "internalType": "string",
588
+ "name": "key_",
589
+ "type": "string"
590
+ }
591
+ ],
592
+ "name": "removeAddr",
593
+ "outputs": [],
594
+ "stateMutability": "nonpayable",
595
+ "type": "function"
596
+ },
597
+ {
598
+ "inputs": [
599
+ {
600
+ "internalType": "string",
601
+ "name": "key_",
602
+ "type": "string"
603
+ }
604
+ ],
605
+ "name": "removeBytes32",
606
+ "outputs": [],
607
+ "stateMutability": "nonpayable",
608
+ "type": "function"
609
+ },
610
+ {
611
+ "inputs": [
612
+ {
613
+ "internalType": "address[]",
614
+ "name": "oldOwners_",
615
+ "type": "address[]"
616
+ }
617
+ ],
618
+ "name": "removeOwners",
619
+ "outputs": [],
620
+ "stateMutability": "nonpayable",
621
+ "type": "function"
622
+ },
623
+ {
624
+ "inputs": [
625
+ {
626
+ "internalType": "string",
627
+ "name": "key_",
628
+ "type": "string"
629
+ }
630
+ ],
631
+ "name": "removeString",
632
+ "outputs": [],
633
+ "stateMutability": "nonpayable",
634
+ "type": "function"
635
+ },
636
+ {
637
+ "inputs": [
638
+ {
639
+ "internalType": "string",
640
+ "name": "key_",
641
+ "type": "string"
642
+ }
643
+ ],
644
+ "name": "removeUint",
645
+ "outputs": [],
646
+ "stateMutability": "nonpayable",
647
+ "type": "function"
648
+ },
649
+ {
650
+ "inputs": [],
651
+ "name": "renounceOwnership",
652
+ "outputs": [],
653
+ "stateMutability": "nonpayable",
654
+ "type": "function"
655
+ },
656
+ {
657
+ "inputs": [
658
+ {
659
+ "internalType": "string",
660
+ "name": "key_",
661
+ "type": "string"
662
+ },
663
+ {
664
+ "internalType": "address",
665
+ "name": "value_",
666
+ "type": "address"
667
+ }
668
+ ],
669
+ "name": "setAddr",
670
+ "outputs": [],
671
+ "stateMutability": "nonpayable",
672
+ "type": "function"
673
+ },
674
+ {
675
+ "inputs": [
676
+ {
677
+ "internalType": "string",
678
+ "name": "key_",
679
+ "type": "string"
680
+ },
681
+ {
682
+ "internalType": "bytes32",
683
+ "name": "value_",
684
+ "type": "bytes32"
685
+ }
686
+ ],
687
+ "name": "setBytes32",
688
+ "outputs": [],
689
+ "stateMutability": "nonpayable",
690
+ "type": "function"
691
+ },
692
+ {
693
+ "inputs": [
694
+ {
695
+ "internalType": "string",
696
+ "name": "key_",
697
+ "type": "string"
698
+ },
699
+ {
700
+ "internalType": "string",
701
+ "name": "value_",
702
+ "type": "string"
703
+ }
704
+ ],
705
+ "name": "setString",
706
+ "outputs": [],
707
+ "stateMutability": "nonpayable",
708
+ "type": "function"
709
+ },
710
+ {
711
+ "inputs": [
712
+ {
713
+ "internalType": "string",
714
+ "name": "key_",
715
+ "type": "string"
716
+ },
717
+ {
718
+ "internalType": "uint256",
719
+ "name": "value_",
720
+ "type": "uint256"
721
+ }
722
+ ],
723
+ "name": "setUint",
724
+ "outputs": [],
725
+ "stateMutability": "nonpayable",
726
+ "type": "function"
727
+ },
728
+ {
729
+ "inputs": [
730
+ {
731
+ "internalType": "bytes4",
732
+ "name": "interfaceId_",
733
+ "type": "bytes4"
734
+ }
735
+ ],
736
+ "name": "supportsInterface",
737
+ "outputs": [
738
+ {
739
+ "internalType": "bool",
740
+ "name": "",
741
+ "type": "bool"
742
+ }
743
+ ],
744
+ "stateMutability": "view",
745
+ "type": "function"
746
+ },
747
+ {
748
+ "inputs": [
749
+ {
750
+ "internalType": "address",
751
+ "name": "newImplementation",
752
+ "type": "address"
753
+ },
754
+ {
755
+ "internalType": "bytes",
756
+ "name": "data",
757
+ "type": "bytes"
758
+ }
759
+ ],
760
+ "name": "upgradeToAndCall",
761
+ "outputs": [],
762
+ "stateMutability": "payable",
763
+ "type": "function"
764
+ }
765
+ ]