@web3dotorg/evm-slc-core-sdk 0.3.14 → 0.3.16

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 (44) hide show
  1. package/abi/ExecutorsRegistry.json +1160 -0
  2. package/abi/Governance.json +2350 -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 +21 -2
  15. package/lib.commonjs/contracts/governance/Governance.d.ts +3 -0
  16. package/lib.commonjs/contracts/libs/GovernanceUtils.d.ts +85 -0
  17. package/lib.commonjs/contracts/libs/GovernanceUtils.js +2 -0
  18. package/lib.commonjs/contracts/libs/index.d.ts +1 -0
  19. package/lib.commonjs/factories/contracts/governance/ExecutorsRegistry__factory.d.ts +29 -1
  20. package/lib.commonjs/factories/contracts/governance/ExecutorsRegistry__factory.js +38 -1
  21. package/lib.commonjs/factories/contracts/governance/Governance__factory.d.ts +14 -10
  22. package/lib.commonjs/factories/contracts/governance/Governance__factory.js +25 -14
  23. package/lib.commonjs/factories/contracts/governance/NeutralsRegistry__factory.d.ts +1 -1
  24. package/lib.commonjs/factories/contracts/governance/NeutralsRegistry__factory.js +1 -1
  25. package/lib.commonjs/factories/contracts/libs/GovernanceUtils__factory.d.ts +184 -0
  26. package/lib.commonjs/factories/contracts/libs/GovernanceUtils__factory.js +255 -0
  27. package/lib.commonjs/factories/contracts/libs/index.d.ts +1 -0
  28. package/lib.commonjs/factories/contracts/libs/index.js +3 -1
  29. package/lib.esm/contracts/governance/ExecutorsRegistry.d.ts +21 -2
  30. package/lib.esm/contracts/governance/Governance.d.ts +3 -0
  31. package/lib.esm/contracts/libs/GovernanceUtils.d.ts +85 -0
  32. package/lib.esm/contracts/libs/GovernanceUtils.js +1 -0
  33. package/lib.esm/contracts/libs/index.d.ts +1 -0
  34. package/lib.esm/factories/contracts/governance/ExecutorsRegistry__factory.d.ts +29 -1
  35. package/lib.esm/factories/contracts/governance/ExecutorsRegistry__factory.js +38 -1
  36. package/lib.esm/factories/contracts/governance/Governance__factory.d.ts +14 -10
  37. package/lib.esm/factories/contracts/governance/Governance__factory.js +25 -14
  38. package/lib.esm/factories/contracts/governance/NeutralsRegistry__factory.d.ts +1 -1
  39. package/lib.esm/factories/contracts/governance/NeutralsRegistry__factory.js +1 -1
  40. package/lib.esm/factories/contracts/libs/GovernanceUtils__factory.d.ts +184 -0
  41. package/lib.esm/factories/contracts/libs/GovernanceUtils__factory.js +251 -0
  42. package/lib.esm/factories/contracts/libs/index.d.ts +1 -0
  43. package/lib.esm/factories/contracts/libs/index.js +1 -0
  44. package/package.json +2 -1
@@ -0,0 +1,2350 @@
1
+ [
2
+ {
3
+ "inputs": [
4
+ {
5
+ "internalType": "address",
6
+ "name": "account",
7
+ "type": "address"
8
+ }
9
+ ],
10
+ "name": "AccountAlreadyVoted",
11
+ "type": "error"
12
+ },
13
+ {
14
+ "inputs": [
15
+ {
16
+ "internalType": "address",
17
+ "name": "account",
18
+ "type": "address"
19
+ }
20
+ ],
21
+ "name": "AccountNotExecutor",
22
+ "type": "error"
23
+ },
24
+ {
25
+ "inputs": [
26
+ {
27
+ "internalType": "address",
28
+ "name": "account",
29
+ "type": "address"
30
+ }
31
+ ],
32
+ "name": "AccountNotSelected",
33
+ "type": "error"
34
+ },
35
+ {
36
+ "inputs": [
37
+ {
38
+ "internalType": "address",
39
+ "name": "target",
40
+ "type": "address"
41
+ }
42
+ ],
43
+ "name": "AddressEmptyCode",
44
+ "type": "error"
45
+ },
46
+ {
47
+ "inputs": [
48
+ {
49
+ "internalType": "address",
50
+ "name": "implementation",
51
+ "type": "address"
52
+ }
53
+ ],
54
+ "name": "ERC1967InvalidImplementation",
55
+ "type": "error"
56
+ },
57
+ {
58
+ "inputs": [],
59
+ "name": "ERC1967NonPayable",
60
+ "type": "error"
61
+ },
62
+ {
63
+ "inputs": [
64
+ {
65
+ "internalType": "uint256",
66
+ "name": "threshold",
67
+ "type": "uint256"
68
+ }
69
+ ],
70
+ "name": "ExecutorsThresholdTooHigh",
71
+ "type": "error"
72
+ },
73
+ {
74
+ "inputs": [],
75
+ "name": "FailedCall",
76
+ "type": "error"
77
+ },
78
+ {
79
+ "inputs": [
80
+ {
81
+ "internalType": "address",
82
+ "name": "voter",
83
+ "type": "address"
84
+ }
85
+ ],
86
+ "name": "GovernorAlreadyCastVote",
87
+ "type": "error"
88
+ },
89
+ {
90
+ "inputs": [
91
+ {
92
+ "internalType": "uint256",
93
+ "name": "proposalId",
94
+ "type": "uint256"
95
+ }
96
+ ],
97
+ "name": "GovernorAlreadyQueuedProposal",
98
+ "type": "error"
99
+ },
100
+ {
101
+ "inputs": [],
102
+ "name": "GovernorDisabledDeposit",
103
+ "type": "error"
104
+ },
105
+ {
106
+ "inputs": [
107
+ {
108
+ "internalType": "address",
109
+ "name": "proposer",
110
+ "type": "address"
111
+ },
112
+ {
113
+ "internalType": "uint256",
114
+ "name": "votes",
115
+ "type": "uint256"
116
+ },
117
+ {
118
+ "internalType": "uint256",
119
+ "name": "threshold",
120
+ "type": "uint256"
121
+ }
122
+ ],
123
+ "name": "GovernorInsufficientProposerVotes",
124
+ "type": "error"
125
+ },
126
+ {
127
+ "inputs": [
128
+ {
129
+ "internalType": "uint256",
130
+ "name": "targets",
131
+ "type": "uint256"
132
+ },
133
+ {
134
+ "internalType": "uint256",
135
+ "name": "calldatas",
136
+ "type": "uint256"
137
+ },
138
+ {
139
+ "internalType": "uint256",
140
+ "name": "values",
141
+ "type": "uint256"
142
+ }
143
+ ],
144
+ "name": "GovernorInvalidProposalLength",
145
+ "type": "error"
146
+ },
147
+ {
148
+ "inputs": [
149
+ {
150
+ "internalType": "address",
151
+ "name": "voter",
152
+ "type": "address"
153
+ }
154
+ ],
155
+ "name": "GovernorInvalidSignature",
156
+ "type": "error"
157
+ },
158
+ {
159
+ "inputs": [],
160
+ "name": "GovernorInvalidVoteParams",
161
+ "type": "error"
162
+ },
163
+ {
164
+ "inputs": [],
165
+ "name": "GovernorInvalidVoteType",
166
+ "type": "error"
167
+ },
168
+ {
169
+ "inputs": [
170
+ {
171
+ "internalType": "uint256",
172
+ "name": "votingPeriod",
173
+ "type": "uint256"
174
+ }
175
+ ],
176
+ "name": "GovernorInvalidVotingPeriod",
177
+ "type": "error"
178
+ },
179
+ {
180
+ "inputs": [
181
+ {
182
+ "internalType": "uint256",
183
+ "name": "proposalId",
184
+ "type": "uint256"
185
+ }
186
+ ],
187
+ "name": "GovernorNonexistentProposal",
188
+ "type": "error"
189
+ },
190
+ {
191
+ "inputs": [
192
+ {
193
+ "internalType": "uint256",
194
+ "name": "proposalId",
195
+ "type": "uint256"
196
+ }
197
+ ],
198
+ "name": "GovernorNotQueuedProposal",
199
+ "type": "error"
200
+ },
201
+ {
202
+ "inputs": [
203
+ {
204
+ "internalType": "address",
205
+ "name": "account",
206
+ "type": "address"
207
+ }
208
+ ],
209
+ "name": "GovernorOnlyExecutor",
210
+ "type": "error"
211
+ },
212
+ {
213
+ "inputs": [],
214
+ "name": "GovernorQueueNotImplemented",
215
+ "type": "error"
216
+ },
217
+ {
218
+ "inputs": [
219
+ {
220
+ "internalType": "address",
221
+ "name": "proposer",
222
+ "type": "address"
223
+ }
224
+ ],
225
+ "name": "GovernorRestrictedProposer",
226
+ "type": "error"
227
+ },
228
+ {
229
+ "inputs": [
230
+ {
231
+ "internalType": "uint256",
232
+ "name": "proposalId",
233
+ "type": "uint256"
234
+ },
235
+ {
236
+ "internalType": "address",
237
+ "name": "account",
238
+ "type": "address"
239
+ }
240
+ ],
241
+ "name": "GovernorUnableToCancel",
242
+ "type": "error"
243
+ },
244
+ {
245
+ "inputs": [
246
+ {
247
+ "internalType": "uint256",
248
+ "name": "proposalId",
249
+ "type": "uint256"
250
+ },
251
+ {
252
+ "internalType": "enum IGovernor.ProposalState",
253
+ "name": "current",
254
+ "type": "uint8"
255
+ },
256
+ {
257
+ "internalType": "bytes32",
258
+ "name": "expectedStates",
259
+ "type": "bytes32"
260
+ }
261
+ ],
262
+ "name": "GovernorUnexpectedProposalState",
263
+ "type": "error"
264
+ },
265
+ {
266
+ "inputs": [
267
+ {
268
+ "internalType": "address",
269
+ "name": "account",
270
+ "type": "address"
271
+ },
272
+ {
273
+ "internalType": "uint256",
274
+ "name": "currentNonce",
275
+ "type": "uint256"
276
+ }
277
+ ],
278
+ "name": "InvalidAccountNonce",
279
+ "type": "error"
280
+ },
281
+ {
282
+ "inputs": [],
283
+ "name": "InvalidInitialization",
284
+ "type": "error"
285
+ },
286
+ {
287
+ "inputs": [
288
+ {
289
+ "internalType": "uint256",
290
+ "name": "serviceFee",
291
+ "type": "uint256"
292
+ },
293
+ {
294
+ "internalType": "uint256",
295
+ "name": "msgValue",
296
+ "type": "uint256"
297
+ }
298
+ ],
299
+ "name": "InvalidServiceFee",
300
+ "type": "error"
301
+ },
302
+ {
303
+ "inputs": [
304
+ {
305
+ "internalType": "uint256",
306
+ "name": "totalShares",
307
+ "type": "uint256"
308
+ }
309
+ ],
310
+ "name": "InvalidSharesTotal",
311
+ "type": "error"
312
+ },
313
+ {
314
+ "inputs": [
315
+ {
316
+ "internalType": "uint256",
317
+ "name": "timepoint",
318
+ "type": "uint256"
319
+ }
320
+ ],
321
+ "name": "InvalidTimepoint",
322
+ "type": "error"
323
+ },
324
+ {
325
+ "inputs": [
326
+ {
327
+ "internalType": "enum Governance.VotingPhase",
328
+ "name": "votingPhase",
329
+ "type": "uint8"
330
+ }
331
+ ],
332
+ "name": "InvalidVotingPhaseForExecutorVote",
333
+ "type": "error"
334
+ },
335
+ {
336
+ "inputs": [
337
+ {
338
+ "internalType": "enum Governance.VotingPhase",
339
+ "name": "votingPhase",
340
+ "type": "uint8"
341
+ }
342
+ ],
343
+ "name": "InvalidVotingPhaseForProposeOperations",
344
+ "type": "error"
345
+ },
346
+ {
347
+ "inputs": [
348
+ {
349
+ "internalType": "address",
350
+ "name": "parametersRegistry",
351
+ "type": "address"
352
+ }
353
+ ],
354
+ "name": "MinServiceFeeNotSet",
355
+ "type": "error"
356
+ },
357
+ {
358
+ "inputs": [
359
+ {
360
+ "internalType": "uint256",
361
+ "name": "threshold",
362
+ "type": "uint256"
363
+ }
364
+ ],
365
+ "name": "NeutralsThresholdTooHigh",
366
+ "type": "error"
367
+ },
368
+ {
369
+ "inputs": [],
370
+ "name": "NotInitializing",
371
+ "type": "error"
372
+ },
373
+ {
374
+ "inputs": [
375
+ {
376
+ "internalType": "uint8",
377
+ "name": "bits",
378
+ "type": "uint8"
379
+ },
380
+ {
381
+ "internalType": "uint256",
382
+ "name": "value",
383
+ "type": "uint256"
384
+ }
385
+ ],
386
+ "name": "SafeCastOverflowedUintDowncast",
387
+ "type": "error"
388
+ },
389
+ {
390
+ "inputs": [
391
+ {
392
+ "internalType": "address",
393
+ "name": "sender",
394
+ "type": "address"
395
+ }
396
+ ],
397
+ "name": "SenderExpectedToBeDAOSLC",
398
+ "type": "error"
399
+ },
400
+ {
401
+ "inputs": [
402
+ {
403
+ "internalType": "uint256",
404
+ "name": "serviceFee",
405
+ "type": "uint256"
406
+ },
407
+ {
408
+ "internalType": "uint256",
409
+ "name": "minServiceFee",
410
+ "type": "uint256"
411
+ }
412
+ ],
413
+ "name": "ServiceFeeTooLow",
414
+ "type": "error"
415
+ },
416
+ {
417
+ "inputs": [],
418
+ "name": "UUPSUnauthorizedCallContext",
419
+ "type": "error"
420
+ },
421
+ {
422
+ "inputs": [
423
+ {
424
+ "internalType": "bytes32",
425
+ "name": "slot",
426
+ "type": "bytes32"
427
+ }
428
+ ],
429
+ "name": "UUPSUnsupportedProxiableUUID",
430
+ "type": "error"
431
+ },
432
+ {
433
+ "inputs": [],
434
+ "name": "Unreachable",
435
+ "type": "error"
436
+ },
437
+ {
438
+ "anonymous": false,
439
+ "inputs": [],
440
+ "name": "EIP712DomainChanged",
441
+ "type": "event"
442
+ },
443
+ {
444
+ "anonymous": false,
445
+ "inputs": [
446
+ {
447
+ "indexed": false,
448
+ "internalType": "uint64",
449
+ "name": "version",
450
+ "type": "uint64"
451
+ }
452
+ ],
453
+ "name": "Initialized",
454
+ "type": "event"
455
+ },
456
+ {
457
+ "anonymous": false,
458
+ "inputs": [
459
+ {
460
+ "indexed": false,
461
+ "internalType": "uint256",
462
+ "name": "proposalId",
463
+ "type": "uint256"
464
+ }
465
+ ],
466
+ "name": "ProposalCanceled",
467
+ "type": "event"
468
+ },
469
+ {
470
+ "anonymous": false,
471
+ "inputs": [
472
+ {
473
+ "indexed": false,
474
+ "internalType": "uint256",
475
+ "name": "proposalId",
476
+ "type": "uint256"
477
+ },
478
+ {
479
+ "indexed": false,
480
+ "internalType": "address",
481
+ "name": "proposer",
482
+ "type": "address"
483
+ },
484
+ {
485
+ "indexed": false,
486
+ "internalType": "address[]",
487
+ "name": "targets",
488
+ "type": "address[]"
489
+ },
490
+ {
491
+ "indexed": false,
492
+ "internalType": "uint256[]",
493
+ "name": "values",
494
+ "type": "uint256[]"
495
+ },
496
+ {
497
+ "indexed": false,
498
+ "internalType": "string[]",
499
+ "name": "signatures",
500
+ "type": "string[]"
501
+ },
502
+ {
503
+ "indexed": false,
504
+ "internalType": "bytes[]",
505
+ "name": "calldatas",
506
+ "type": "bytes[]"
507
+ },
508
+ {
509
+ "indexed": false,
510
+ "internalType": "uint256",
511
+ "name": "voteStart",
512
+ "type": "uint256"
513
+ },
514
+ {
515
+ "indexed": false,
516
+ "internalType": "uint256",
517
+ "name": "voteEnd",
518
+ "type": "uint256"
519
+ },
520
+ {
521
+ "indexed": false,
522
+ "internalType": "string",
523
+ "name": "description",
524
+ "type": "string"
525
+ }
526
+ ],
527
+ "name": "ProposalCreated",
528
+ "type": "event"
529
+ },
530
+ {
531
+ "anonymous": false,
532
+ "inputs": [
533
+ {
534
+ "indexed": false,
535
+ "internalType": "uint256",
536
+ "name": "proposalId",
537
+ "type": "uint256"
538
+ }
539
+ ],
540
+ "name": "ProposalExecuted",
541
+ "type": "event"
542
+ },
543
+ {
544
+ "anonymous": false,
545
+ "inputs": [
546
+ {
547
+ "indexed": false,
548
+ "internalType": "uint256",
549
+ "name": "proposalId",
550
+ "type": "uint256"
551
+ },
552
+ {
553
+ "indexed": false,
554
+ "internalType": "uint256",
555
+ "name": "etaSeconds",
556
+ "type": "uint256"
557
+ }
558
+ ],
559
+ "name": "ProposalQueued",
560
+ "type": "event"
561
+ },
562
+ {
563
+ "anonymous": false,
564
+ "inputs": [
565
+ {
566
+ "indexed": false,
567
+ "internalType": "uint256",
568
+ "name": "proposalId",
569
+ "type": "uint256"
570
+ },
571
+ {
572
+ "indexed": false,
573
+ "internalType": "uint256",
574
+ "name": "newProposalId",
575
+ "type": "uint256"
576
+ }
577
+ ],
578
+ "name": "RejectedByExecutors",
579
+ "type": "event"
580
+ },
581
+ {
582
+ "anonymous": false,
583
+ "inputs": [
584
+ {
585
+ "indexed": true,
586
+ "internalType": "address",
587
+ "name": "implementation",
588
+ "type": "address"
589
+ }
590
+ ],
591
+ "name": "Upgraded",
592
+ "type": "event"
593
+ },
594
+ {
595
+ "anonymous": false,
596
+ "inputs": [
597
+ {
598
+ "indexed": true,
599
+ "internalType": "address",
600
+ "name": "voter",
601
+ "type": "address"
602
+ },
603
+ {
604
+ "indexed": false,
605
+ "internalType": "uint256",
606
+ "name": "proposalId",
607
+ "type": "uint256"
608
+ },
609
+ {
610
+ "indexed": false,
611
+ "internalType": "uint8",
612
+ "name": "support",
613
+ "type": "uint8"
614
+ },
615
+ {
616
+ "indexed": false,
617
+ "internalType": "uint256",
618
+ "name": "weight",
619
+ "type": "uint256"
620
+ },
621
+ {
622
+ "indexed": false,
623
+ "internalType": "string",
624
+ "name": "reason",
625
+ "type": "string"
626
+ }
627
+ ],
628
+ "name": "VoteCast",
629
+ "type": "event"
630
+ },
631
+ {
632
+ "anonymous": false,
633
+ "inputs": [
634
+ {
635
+ "indexed": true,
636
+ "internalType": "address",
637
+ "name": "voter",
638
+ "type": "address"
639
+ },
640
+ {
641
+ "indexed": false,
642
+ "internalType": "uint256",
643
+ "name": "proposalId",
644
+ "type": "uint256"
645
+ },
646
+ {
647
+ "indexed": false,
648
+ "internalType": "uint8",
649
+ "name": "support",
650
+ "type": "uint8"
651
+ },
652
+ {
653
+ "indexed": false,
654
+ "internalType": "uint256",
655
+ "name": "weight",
656
+ "type": "uint256"
657
+ },
658
+ {
659
+ "indexed": false,
660
+ "internalType": "string",
661
+ "name": "reason",
662
+ "type": "string"
663
+ },
664
+ {
665
+ "indexed": false,
666
+ "internalType": "bytes",
667
+ "name": "params",
668
+ "type": "bytes"
669
+ }
670
+ ],
671
+ "name": "VoteCastWithParams",
672
+ "type": "event"
673
+ },
674
+ {
675
+ "inputs": [],
676
+ "name": "BALLOT_TYPEHASH",
677
+ "outputs": [
678
+ {
679
+ "internalType": "bytes32",
680
+ "name": "",
681
+ "type": "bytes32"
682
+ }
683
+ ],
684
+ "stateMutability": "view",
685
+ "type": "function"
686
+ },
687
+ {
688
+ "inputs": [],
689
+ "name": "CLOCK_MODE",
690
+ "outputs": [
691
+ {
692
+ "internalType": "string",
693
+ "name": "",
694
+ "type": "string"
695
+ }
696
+ ],
697
+ "stateMutability": "pure",
698
+ "type": "function"
699
+ },
700
+ {
701
+ "inputs": [],
702
+ "name": "COUNTING_MODE",
703
+ "outputs": [
704
+ {
705
+ "internalType": "string",
706
+ "name": "",
707
+ "type": "string"
708
+ }
709
+ ],
710
+ "stateMutability": "pure",
711
+ "type": "function"
712
+ },
713
+ {
714
+ "inputs": [],
715
+ "name": "EXTENDED_BALLOT_TYPEHASH",
716
+ "outputs": [
717
+ {
718
+ "internalType": "bytes32",
719
+ "name": "",
720
+ "type": "bytes32"
721
+ }
722
+ ],
723
+ "stateMutability": "view",
724
+ "type": "function"
725
+ },
726
+ {
727
+ "inputs": [],
728
+ "name": "UPGRADE_INTERFACE_VERSION",
729
+ "outputs": [
730
+ {
731
+ "internalType": "string",
732
+ "name": "",
733
+ "type": "string"
734
+ }
735
+ ],
736
+ "stateMutability": "view",
737
+ "type": "function"
738
+ },
739
+ {
740
+ "inputs": [
741
+ {
742
+ "internalType": "address",
743
+ "name": "token_",
744
+ "type": "address"
745
+ },
746
+ {
747
+ "internalType": "address",
748
+ "name": "executorsRegistry_",
749
+ "type": "address"
750
+ },
751
+ {
752
+ "internalType": "address",
753
+ "name": "neutralsRegistry_",
754
+ "type": "address"
755
+ },
756
+ {
757
+ "internalType": "address",
758
+ "name": "parametersRegistry_",
759
+ "type": "address"
760
+ }
761
+ ],
762
+ "name": "__Governance_init",
763
+ "outputs": [],
764
+ "stateMutability": "nonpayable",
765
+ "type": "function"
766
+ },
767
+ {
768
+ "inputs": [
769
+ {
770
+ "internalType": "address[]",
771
+ "name": "targets",
772
+ "type": "address[]"
773
+ },
774
+ {
775
+ "internalType": "uint256[]",
776
+ "name": "values",
777
+ "type": "uint256[]"
778
+ },
779
+ {
780
+ "internalType": "bytes[]",
781
+ "name": "calldatas",
782
+ "type": "bytes[]"
783
+ },
784
+ {
785
+ "internalType": "bytes32",
786
+ "name": "descriptionHash",
787
+ "type": "bytes32"
788
+ }
789
+ ],
790
+ "name": "cancel",
791
+ "outputs": [
792
+ {
793
+ "internalType": "uint256",
794
+ "name": "",
795
+ "type": "uint256"
796
+ }
797
+ ],
798
+ "stateMutability": "nonpayable",
799
+ "type": "function"
800
+ },
801
+ {
802
+ "inputs": [
803
+ {
804
+ "internalType": "uint256",
805
+ "name": "proposalId",
806
+ "type": "uint256"
807
+ },
808
+ {
809
+ "internalType": "uint8",
810
+ "name": "support",
811
+ "type": "uint8"
812
+ }
813
+ ],
814
+ "name": "castVote",
815
+ "outputs": [
816
+ {
817
+ "internalType": "uint256",
818
+ "name": "",
819
+ "type": "uint256"
820
+ }
821
+ ],
822
+ "stateMutability": "nonpayable",
823
+ "type": "function"
824
+ },
825
+ {
826
+ "inputs": [
827
+ {
828
+ "internalType": "uint256",
829
+ "name": "proposalId",
830
+ "type": "uint256"
831
+ },
832
+ {
833
+ "internalType": "uint8",
834
+ "name": "support",
835
+ "type": "uint8"
836
+ },
837
+ {
838
+ "internalType": "address",
839
+ "name": "voter",
840
+ "type": "address"
841
+ },
842
+ {
843
+ "internalType": "bytes",
844
+ "name": "signature",
845
+ "type": "bytes"
846
+ }
847
+ ],
848
+ "name": "castVoteBySig",
849
+ "outputs": [
850
+ {
851
+ "internalType": "uint256",
852
+ "name": "",
853
+ "type": "uint256"
854
+ }
855
+ ],
856
+ "stateMutability": "nonpayable",
857
+ "type": "function"
858
+ },
859
+ {
860
+ "inputs": [
861
+ {
862
+ "internalType": "uint256",
863
+ "name": "proposalId",
864
+ "type": "uint256"
865
+ },
866
+ {
867
+ "internalType": "uint8",
868
+ "name": "support",
869
+ "type": "uint8"
870
+ },
871
+ {
872
+ "internalType": "string",
873
+ "name": "reason",
874
+ "type": "string"
875
+ }
876
+ ],
877
+ "name": "castVoteWithReason",
878
+ "outputs": [
879
+ {
880
+ "internalType": "uint256",
881
+ "name": "",
882
+ "type": "uint256"
883
+ }
884
+ ],
885
+ "stateMutability": "nonpayable",
886
+ "type": "function"
887
+ },
888
+ {
889
+ "inputs": [
890
+ {
891
+ "internalType": "uint256",
892
+ "name": "proposalId",
893
+ "type": "uint256"
894
+ },
895
+ {
896
+ "internalType": "uint8",
897
+ "name": "support",
898
+ "type": "uint8"
899
+ },
900
+ {
901
+ "internalType": "string",
902
+ "name": "reason",
903
+ "type": "string"
904
+ },
905
+ {
906
+ "internalType": "bytes",
907
+ "name": "params",
908
+ "type": "bytes"
909
+ }
910
+ ],
911
+ "name": "castVoteWithReasonAndParams",
912
+ "outputs": [
913
+ {
914
+ "internalType": "uint256",
915
+ "name": "",
916
+ "type": "uint256"
917
+ }
918
+ ],
919
+ "stateMutability": "nonpayable",
920
+ "type": "function"
921
+ },
922
+ {
923
+ "inputs": [
924
+ {
925
+ "internalType": "uint256",
926
+ "name": "proposalId",
927
+ "type": "uint256"
928
+ },
929
+ {
930
+ "internalType": "uint8",
931
+ "name": "support",
932
+ "type": "uint8"
933
+ },
934
+ {
935
+ "internalType": "address",
936
+ "name": "voter",
937
+ "type": "address"
938
+ },
939
+ {
940
+ "internalType": "string",
941
+ "name": "reason",
942
+ "type": "string"
943
+ },
944
+ {
945
+ "internalType": "bytes",
946
+ "name": "params",
947
+ "type": "bytes"
948
+ },
949
+ {
950
+ "internalType": "bytes",
951
+ "name": "signature",
952
+ "type": "bytes"
953
+ }
954
+ ],
955
+ "name": "castVoteWithReasonAndParamsBySig",
956
+ "outputs": [
957
+ {
958
+ "internalType": "uint256",
959
+ "name": "",
960
+ "type": "uint256"
961
+ }
962
+ ],
963
+ "stateMutability": "nonpayable",
964
+ "type": "function"
965
+ },
966
+ {
967
+ "inputs": [],
968
+ "name": "clock",
969
+ "outputs": [
970
+ {
971
+ "internalType": "uint48",
972
+ "name": "",
973
+ "type": "uint48"
974
+ }
975
+ ],
976
+ "stateMutability": "view",
977
+ "type": "function"
978
+ },
979
+ {
980
+ "inputs": [],
981
+ "name": "eip712Domain",
982
+ "outputs": [
983
+ {
984
+ "internalType": "bytes1",
985
+ "name": "fields",
986
+ "type": "bytes1"
987
+ },
988
+ {
989
+ "internalType": "string",
990
+ "name": "name",
991
+ "type": "string"
992
+ },
993
+ {
994
+ "internalType": "string",
995
+ "name": "version",
996
+ "type": "string"
997
+ },
998
+ {
999
+ "internalType": "uint256",
1000
+ "name": "chainId",
1001
+ "type": "uint256"
1002
+ },
1003
+ {
1004
+ "internalType": "address",
1005
+ "name": "verifyingContract",
1006
+ "type": "address"
1007
+ },
1008
+ {
1009
+ "internalType": "bytes32",
1010
+ "name": "salt",
1011
+ "type": "bytes32"
1012
+ },
1013
+ {
1014
+ "internalType": "uint256[]",
1015
+ "name": "extensions",
1016
+ "type": "uint256[]"
1017
+ }
1018
+ ],
1019
+ "stateMutability": "view",
1020
+ "type": "function"
1021
+ },
1022
+ {
1023
+ "inputs": [
1024
+ {
1025
+ "internalType": "address[]",
1026
+ "name": "targets",
1027
+ "type": "address[]"
1028
+ },
1029
+ {
1030
+ "internalType": "uint256[]",
1031
+ "name": "values",
1032
+ "type": "uint256[]"
1033
+ },
1034
+ {
1035
+ "internalType": "bytes[]",
1036
+ "name": "calldatas",
1037
+ "type": "bytes[]"
1038
+ },
1039
+ {
1040
+ "internalType": "bytes32",
1041
+ "name": "descriptionHash",
1042
+ "type": "bytes32"
1043
+ }
1044
+ ],
1045
+ "name": "execute",
1046
+ "outputs": [
1047
+ {
1048
+ "internalType": "uint256",
1049
+ "name": "",
1050
+ "type": "uint256"
1051
+ }
1052
+ ],
1053
+ "stateMutability": "payable",
1054
+ "type": "function"
1055
+ },
1056
+ {
1057
+ "inputs": [],
1058
+ "name": "getExecutorsThreshold",
1059
+ "outputs": [
1060
+ {
1061
+ "internalType": "uint256",
1062
+ "name": "",
1063
+ "type": "uint256"
1064
+ }
1065
+ ],
1066
+ "stateMutability": "view",
1067
+ "type": "function"
1068
+ },
1069
+ {
1070
+ "inputs": [],
1071
+ "name": "getExecutorsVotingPeriod",
1072
+ "outputs": [
1073
+ {
1074
+ "internalType": "uint256",
1075
+ "name": "",
1076
+ "type": "uint256"
1077
+ }
1078
+ ],
1079
+ "stateMutability": "view",
1080
+ "type": "function"
1081
+ },
1082
+ {
1083
+ "inputs": [
1084
+ {
1085
+ "internalType": "uint256",
1086
+ "name": "proposalId",
1087
+ "type": "uint256"
1088
+ },
1089
+ {
1090
+ "internalType": "address",
1091
+ "name": "neutral_",
1092
+ "type": "address"
1093
+ }
1094
+ ],
1095
+ "name": "getNeutralToOperation",
1096
+ "outputs": [
1097
+ {
1098
+ "internalType": "bytes32",
1099
+ "name": "",
1100
+ "type": "bytes32"
1101
+ }
1102
+ ],
1103
+ "stateMutability": "view",
1104
+ "type": "function"
1105
+ },
1106
+ {
1107
+ "inputs": [],
1108
+ "name": "getNeutralsThreshold",
1109
+ "outputs": [
1110
+ {
1111
+ "internalType": "uint256",
1112
+ "name": "",
1113
+ "type": "uint256"
1114
+ }
1115
+ ],
1116
+ "stateMutability": "view",
1117
+ "type": "function"
1118
+ },
1119
+ {
1120
+ "inputs": [],
1121
+ "name": "getNeutralsVotingPeriod",
1122
+ "outputs": [
1123
+ {
1124
+ "internalType": "uint256",
1125
+ "name": "",
1126
+ "type": "uint256"
1127
+ }
1128
+ ],
1129
+ "stateMutability": "view",
1130
+ "type": "function"
1131
+ },
1132
+ {
1133
+ "inputs": [],
1134
+ "name": "getParametersRegistry",
1135
+ "outputs": [
1136
+ {
1137
+ "internalType": "address",
1138
+ "name": "",
1139
+ "type": "address"
1140
+ }
1141
+ ],
1142
+ "stateMutability": "view",
1143
+ "type": "function"
1144
+ },
1145
+ {
1146
+ "inputs": [
1147
+ {
1148
+ "internalType": "uint256",
1149
+ "name": "proposalId",
1150
+ "type": "uint256"
1151
+ }
1152
+ ],
1153
+ "name": "getProposalData",
1154
+ "outputs": [
1155
+ {
1156
+ "components": [
1157
+ {
1158
+ "internalType": "uint256",
1159
+ "name": "neutralsThreshold",
1160
+ "type": "uint256"
1161
+ },
1162
+ {
1163
+ "internalType": "uint256",
1164
+ "name": "executorsThreshold",
1165
+ "type": "uint256"
1166
+ },
1167
+ {
1168
+ "internalType": "bytes32[]",
1169
+ "name": "neutralToOperationHashes",
1170
+ "type": "bytes32[]"
1171
+ },
1172
+ {
1173
+ "components": [
1174
+ {
1175
+ "components": [
1176
+ {
1177
+ "internalType": "enum IGovernance.OperationType",
1178
+ "name": "operation_",
1179
+ "type": "uint8"
1180
+ },
1181
+ {
1182
+ "internalType": "address",
1183
+ "name": "to_",
1184
+ "type": "address"
1185
+ },
1186
+ {
1187
+ "internalType": "bytes",
1188
+ "name": "data_",
1189
+ "type": "bytes"
1190
+ },
1191
+ {
1192
+ "internalType": "uint256",
1193
+ "name": "value_",
1194
+ "type": "uint256"
1195
+ }
1196
+ ],
1197
+ "internalType": "struct IGovernance.OperationData[]",
1198
+ "name": "operations",
1199
+ "type": "tuple[]"
1200
+ }
1201
+ ],
1202
+ "internalType": "struct IGovernance.OperationBundle[]",
1203
+ "name": "operationBundles",
1204
+ "type": "tuple[]"
1205
+ },
1206
+ {
1207
+ "internalType": "address[]",
1208
+ "name": "positiveExecutorVotes",
1209
+ "type": "address[]"
1210
+ },
1211
+ {
1212
+ "internalType": "address[]",
1213
+ "name": "negativeExecutorVotes",
1214
+ "type": "address[]"
1215
+ }
1216
+ ],
1217
+ "internalType": "struct Governance.SLCProposalStateView",
1218
+ "name": "",
1219
+ "type": "tuple"
1220
+ },
1221
+ {
1222
+ "components": [
1223
+ {
1224
+ "internalType": "address",
1225
+ "name": "proposer",
1226
+ "type": "address"
1227
+ },
1228
+ {
1229
+ "internalType": "uint48",
1230
+ "name": "voteStart",
1231
+ "type": "uint48"
1232
+ },
1233
+ {
1234
+ "internalType": "uint32",
1235
+ "name": "voteDuration",
1236
+ "type": "uint32"
1237
+ },
1238
+ {
1239
+ "internalType": "bool",
1240
+ "name": "executed",
1241
+ "type": "bool"
1242
+ },
1243
+ {
1244
+ "internalType": "bool",
1245
+ "name": "canceled",
1246
+ "type": "bool"
1247
+ },
1248
+ {
1249
+ "internalType": "uint48",
1250
+ "name": "etaSeconds",
1251
+ "type": "uint48"
1252
+ }
1253
+ ],
1254
+ "internalType": "struct GovernorUpgradeable.ProposalCore",
1255
+ "name": "",
1256
+ "type": "tuple"
1257
+ }
1258
+ ],
1259
+ "stateMutability": "view",
1260
+ "type": "function"
1261
+ },
1262
+ {
1263
+ "inputs": [
1264
+ {
1265
+ "internalType": "address[]",
1266
+ "name": "targets",
1267
+ "type": "address[]"
1268
+ },
1269
+ {
1270
+ "internalType": "uint256[]",
1271
+ "name": "values",
1272
+ "type": "uint256[]"
1273
+ },
1274
+ {
1275
+ "internalType": "bytes[]",
1276
+ "name": "calldatas",
1277
+ "type": "bytes[]"
1278
+ },
1279
+ {
1280
+ "internalType": "bytes32",
1281
+ "name": "descriptionHash",
1282
+ "type": "bytes32"
1283
+ }
1284
+ ],
1285
+ "name": "getProposalId",
1286
+ "outputs": [
1287
+ {
1288
+ "internalType": "uint256",
1289
+ "name": "",
1290
+ "type": "uint256"
1291
+ }
1292
+ ],
1293
+ "stateMutability": "view",
1294
+ "type": "function"
1295
+ },
1296
+ {
1297
+ "inputs": [
1298
+ {
1299
+ "internalType": "address",
1300
+ "name": "slcCore_",
1301
+ "type": "address"
1302
+ },
1303
+ {
1304
+ "internalType": "uint256",
1305
+ "name": "requestNumber_",
1306
+ "type": "uint256"
1307
+ },
1308
+ {
1309
+ "internalType": "uint256",
1310
+ "name": "offset_",
1311
+ "type": "uint256"
1312
+ },
1313
+ {
1314
+ "internalType": "uint256",
1315
+ "name": "limit_",
1316
+ "type": "uint256"
1317
+ }
1318
+ ],
1319
+ "name": "getProposalsByServiceRequest",
1320
+ "outputs": [
1321
+ {
1322
+ "components": [
1323
+ {
1324
+ "internalType": "uint256",
1325
+ "name": "neutralsThreshold",
1326
+ "type": "uint256"
1327
+ },
1328
+ {
1329
+ "internalType": "uint256",
1330
+ "name": "executorsThreshold",
1331
+ "type": "uint256"
1332
+ },
1333
+ {
1334
+ "internalType": "bytes32[]",
1335
+ "name": "neutralToOperationHashes",
1336
+ "type": "bytes32[]"
1337
+ },
1338
+ {
1339
+ "components": [
1340
+ {
1341
+ "components": [
1342
+ {
1343
+ "internalType": "enum IGovernance.OperationType",
1344
+ "name": "operation_",
1345
+ "type": "uint8"
1346
+ },
1347
+ {
1348
+ "internalType": "address",
1349
+ "name": "to_",
1350
+ "type": "address"
1351
+ },
1352
+ {
1353
+ "internalType": "bytes",
1354
+ "name": "data_",
1355
+ "type": "bytes"
1356
+ },
1357
+ {
1358
+ "internalType": "uint256",
1359
+ "name": "value_",
1360
+ "type": "uint256"
1361
+ }
1362
+ ],
1363
+ "internalType": "struct IGovernance.OperationData[]",
1364
+ "name": "operations",
1365
+ "type": "tuple[]"
1366
+ }
1367
+ ],
1368
+ "internalType": "struct IGovernance.OperationBundle[]",
1369
+ "name": "operationBundles",
1370
+ "type": "tuple[]"
1371
+ },
1372
+ {
1373
+ "internalType": "address[]",
1374
+ "name": "positiveExecutorVotes",
1375
+ "type": "address[]"
1376
+ },
1377
+ {
1378
+ "internalType": "address[]",
1379
+ "name": "negativeExecutorVotes",
1380
+ "type": "address[]"
1381
+ }
1382
+ ],
1383
+ "internalType": "struct Governance.SLCProposalStateView[]",
1384
+ "name": "",
1385
+ "type": "tuple[]"
1386
+ },
1387
+ {
1388
+ "components": [
1389
+ {
1390
+ "internalType": "address",
1391
+ "name": "proposer",
1392
+ "type": "address"
1393
+ },
1394
+ {
1395
+ "internalType": "uint48",
1396
+ "name": "voteStart",
1397
+ "type": "uint48"
1398
+ },
1399
+ {
1400
+ "internalType": "uint32",
1401
+ "name": "voteDuration",
1402
+ "type": "uint32"
1403
+ },
1404
+ {
1405
+ "internalType": "bool",
1406
+ "name": "executed",
1407
+ "type": "bool"
1408
+ },
1409
+ {
1410
+ "internalType": "bool",
1411
+ "name": "canceled",
1412
+ "type": "bool"
1413
+ },
1414
+ {
1415
+ "internalType": "uint48",
1416
+ "name": "etaSeconds",
1417
+ "type": "uint48"
1418
+ }
1419
+ ],
1420
+ "internalType": "struct GovernorUpgradeable.ProposalCore[]",
1421
+ "name": "",
1422
+ "type": "tuple[]"
1423
+ }
1424
+ ],
1425
+ "stateMutability": "view",
1426
+ "type": "function"
1427
+ },
1428
+ {
1429
+ "inputs": [
1430
+ {
1431
+ "internalType": "address",
1432
+ "name": "slcCore_",
1433
+ "type": "address"
1434
+ },
1435
+ {
1436
+ "internalType": "uint256",
1437
+ "name": "requestId",
1438
+ "type": "uint256"
1439
+ }
1440
+ ],
1441
+ "name": "getServiceRequestById",
1442
+ "outputs": [
1443
+ {
1444
+ "components": [
1445
+ {
1446
+ "internalType": "uint256",
1447
+ "name": "requestId",
1448
+ "type": "uint256"
1449
+ },
1450
+ {
1451
+ "internalType": "address",
1452
+ "name": "requester",
1453
+ "type": "address"
1454
+ },
1455
+ {
1456
+ "internalType": "uint256",
1457
+ "name": "serviceFee",
1458
+ "type": "uint256"
1459
+ },
1460
+ {
1461
+ "internalType": "uint256",
1462
+ "name": "neutralsNumber",
1463
+ "type": "uint256"
1464
+ },
1465
+ {
1466
+ "internalType": "string",
1467
+ "name": "additionalLink",
1468
+ "type": "string"
1469
+ },
1470
+ {
1471
+ "internalType": "address[]",
1472
+ "name": "selectedNeutrals",
1473
+ "type": "address[]"
1474
+ },
1475
+ {
1476
+ "internalType": "bytes",
1477
+ "name": "data",
1478
+ "type": "bytes"
1479
+ },
1480
+ {
1481
+ "internalType": "uint256",
1482
+ "name": "createdAt",
1483
+ "type": "uint256"
1484
+ },
1485
+ {
1486
+ "internalType": "enum Governance.VotingPhase",
1487
+ "name": "votingPhase",
1488
+ "type": "uint8"
1489
+ },
1490
+ {
1491
+ "internalType": "bytes32",
1492
+ "name": "leadingOperationHash",
1493
+ "type": "bytes32"
1494
+ },
1495
+ {
1496
+ "internalType": "uint256",
1497
+ "name": "requestNonce",
1498
+ "type": "uint256"
1499
+ },
1500
+ {
1501
+ "internalType": "uint256[]",
1502
+ "name": "proposalIds",
1503
+ "type": "uint256[]"
1504
+ }
1505
+ ],
1506
+ "internalType": "struct Governance.ServiceRequestStateView",
1507
+ "name": "",
1508
+ "type": "tuple"
1509
+ }
1510
+ ],
1511
+ "stateMutability": "view",
1512
+ "type": "function"
1513
+ },
1514
+ {
1515
+ "inputs": [
1516
+ {
1517
+ "internalType": "address",
1518
+ "name": "slcCore_",
1519
+ "type": "address"
1520
+ },
1521
+ {
1522
+ "internalType": "uint256",
1523
+ "name": "offset_",
1524
+ "type": "uint256"
1525
+ },
1526
+ {
1527
+ "internalType": "uint256",
1528
+ "name": "limit_",
1529
+ "type": "uint256"
1530
+ }
1531
+ ],
1532
+ "name": "getServiceRequestsBySLCCore",
1533
+ "outputs": [
1534
+ {
1535
+ "components": [
1536
+ {
1537
+ "internalType": "uint256",
1538
+ "name": "requestId",
1539
+ "type": "uint256"
1540
+ },
1541
+ {
1542
+ "internalType": "address",
1543
+ "name": "requester",
1544
+ "type": "address"
1545
+ },
1546
+ {
1547
+ "internalType": "uint256",
1548
+ "name": "serviceFee",
1549
+ "type": "uint256"
1550
+ },
1551
+ {
1552
+ "internalType": "uint256",
1553
+ "name": "neutralsNumber",
1554
+ "type": "uint256"
1555
+ },
1556
+ {
1557
+ "internalType": "string",
1558
+ "name": "additionalLink",
1559
+ "type": "string"
1560
+ },
1561
+ {
1562
+ "internalType": "address[]",
1563
+ "name": "selectedNeutrals",
1564
+ "type": "address[]"
1565
+ },
1566
+ {
1567
+ "internalType": "bytes",
1568
+ "name": "data",
1569
+ "type": "bytes"
1570
+ },
1571
+ {
1572
+ "internalType": "uint256",
1573
+ "name": "createdAt",
1574
+ "type": "uint256"
1575
+ },
1576
+ {
1577
+ "internalType": "enum Governance.VotingPhase",
1578
+ "name": "votingPhase",
1579
+ "type": "uint8"
1580
+ },
1581
+ {
1582
+ "internalType": "bytes32",
1583
+ "name": "leadingOperationHash",
1584
+ "type": "bytes32"
1585
+ },
1586
+ {
1587
+ "internalType": "uint256",
1588
+ "name": "requestNonce",
1589
+ "type": "uint256"
1590
+ },
1591
+ {
1592
+ "internalType": "uint256[]",
1593
+ "name": "proposalIds",
1594
+ "type": "uint256[]"
1595
+ }
1596
+ ],
1597
+ "internalType": "struct Governance.ServiceRequestStateView[]",
1598
+ "name": "",
1599
+ "type": "tuple[]"
1600
+ }
1601
+ ],
1602
+ "stateMutability": "view",
1603
+ "type": "function"
1604
+ },
1605
+ {
1606
+ "inputs": [],
1607
+ "name": "getSystemToken",
1608
+ "outputs": [
1609
+ {
1610
+ "internalType": "address",
1611
+ "name": "",
1612
+ "type": "address"
1613
+ }
1614
+ ],
1615
+ "stateMutability": "view",
1616
+ "type": "function"
1617
+ },
1618
+ {
1619
+ "inputs": [
1620
+ {
1621
+ "internalType": "address",
1622
+ "name": "account",
1623
+ "type": "address"
1624
+ },
1625
+ {
1626
+ "internalType": "uint256",
1627
+ "name": "timepoint",
1628
+ "type": "uint256"
1629
+ }
1630
+ ],
1631
+ "name": "getVotes",
1632
+ "outputs": [
1633
+ {
1634
+ "internalType": "uint256",
1635
+ "name": "",
1636
+ "type": "uint256"
1637
+ }
1638
+ ],
1639
+ "stateMutability": "view",
1640
+ "type": "function"
1641
+ },
1642
+ {
1643
+ "inputs": [
1644
+ {
1645
+ "internalType": "address",
1646
+ "name": "account",
1647
+ "type": "address"
1648
+ },
1649
+ {
1650
+ "internalType": "uint256",
1651
+ "name": "timepoint",
1652
+ "type": "uint256"
1653
+ },
1654
+ {
1655
+ "internalType": "bytes",
1656
+ "name": "params",
1657
+ "type": "bytes"
1658
+ }
1659
+ ],
1660
+ "name": "getVotesWithParams",
1661
+ "outputs": [
1662
+ {
1663
+ "internalType": "uint256",
1664
+ "name": "",
1665
+ "type": "uint256"
1666
+ }
1667
+ ],
1668
+ "stateMutability": "view",
1669
+ "type": "function"
1670
+ },
1671
+ {
1672
+ "inputs": [
1673
+ {
1674
+ "internalType": "uint256",
1675
+ "name": "proposalId",
1676
+ "type": "uint256"
1677
+ },
1678
+ {
1679
+ "internalType": "address",
1680
+ "name": "account",
1681
+ "type": "address"
1682
+ }
1683
+ ],
1684
+ "name": "hasVoted",
1685
+ "outputs": [
1686
+ {
1687
+ "internalType": "bool",
1688
+ "name": "",
1689
+ "type": "bool"
1690
+ }
1691
+ ],
1692
+ "stateMutability": "view",
1693
+ "type": "function"
1694
+ },
1695
+ {
1696
+ "inputs": [
1697
+ {
1698
+ "components": [
1699
+ {
1700
+ "components": [
1701
+ {
1702
+ "internalType": "enum IGovernance.OperationType",
1703
+ "name": "operation_",
1704
+ "type": "uint8"
1705
+ },
1706
+ {
1707
+ "internalType": "address",
1708
+ "name": "to_",
1709
+ "type": "address"
1710
+ },
1711
+ {
1712
+ "internalType": "bytes",
1713
+ "name": "data_",
1714
+ "type": "bytes"
1715
+ },
1716
+ {
1717
+ "internalType": "uint256",
1718
+ "name": "value_",
1719
+ "type": "uint256"
1720
+ }
1721
+ ],
1722
+ "internalType": "struct IGovernance.OperationData[]",
1723
+ "name": "operations",
1724
+ "type": "tuple[]"
1725
+ }
1726
+ ],
1727
+ "internalType": "struct IGovernance.OperationBundle",
1728
+ "name": "operation_",
1729
+ "type": "tuple"
1730
+ }
1731
+ ],
1732
+ "name": "hashOperation",
1733
+ "outputs": [
1734
+ {
1735
+ "internalType": "bytes32",
1736
+ "name": "",
1737
+ "type": "bytes32"
1738
+ }
1739
+ ],
1740
+ "stateMutability": "pure",
1741
+ "type": "function"
1742
+ },
1743
+ {
1744
+ "inputs": [
1745
+ {
1746
+ "internalType": "address[]",
1747
+ "name": "targets",
1748
+ "type": "address[]"
1749
+ },
1750
+ {
1751
+ "internalType": "uint256[]",
1752
+ "name": "values",
1753
+ "type": "uint256[]"
1754
+ },
1755
+ {
1756
+ "internalType": "bytes[]",
1757
+ "name": "calldatas",
1758
+ "type": "bytes[]"
1759
+ },
1760
+ {
1761
+ "internalType": "bytes32",
1762
+ "name": "descriptionHash",
1763
+ "type": "bytes32"
1764
+ }
1765
+ ],
1766
+ "name": "hashProposal",
1767
+ "outputs": [
1768
+ {
1769
+ "internalType": "uint256",
1770
+ "name": "",
1771
+ "type": "uint256"
1772
+ }
1773
+ ],
1774
+ "stateMutability": "pure",
1775
+ "type": "function"
1776
+ },
1777
+ {
1778
+ "inputs": [],
1779
+ "name": "implementation",
1780
+ "outputs": [
1781
+ {
1782
+ "internalType": "address",
1783
+ "name": "",
1784
+ "type": "address"
1785
+ }
1786
+ ],
1787
+ "stateMutability": "view",
1788
+ "type": "function"
1789
+ },
1790
+ {
1791
+ "inputs": [],
1792
+ "name": "name",
1793
+ "outputs": [
1794
+ {
1795
+ "internalType": "string",
1796
+ "name": "",
1797
+ "type": "string"
1798
+ }
1799
+ ],
1800
+ "stateMutability": "view",
1801
+ "type": "function"
1802
+ },
1803
+ {
1804
+ "inputs": [
1805
+ {
1806
+ "internalType": "address",
1807
+ "name": "owner",
1808
+ "type": "address"
1809
+ }
1810
+ ],
1811
+ "name": "nonces",
1812
+ "outputs": [
1813
+ {
1814
+ "internalType": "uint256",
1815
+ "name": "",
1816
+ "type": "uint256"
1817
+ }
1818
+ ],
1819
+ "stateMutability": "view",
1820
+ "type": "function"
1821
+ },
1822
+ {
1823
+ "inputs": [
1824
+ {
1825
+ "internalType": "address",
1826
+ "name": "",
1827
+ "type": "address"
1828
+ },
1829
+ {
1830
+ "internalType": "address",
1831
+ "name": "",
1832
+ "type": "address"
1833
+ },
1834
+ {
1835
+ "internalType": "uint256[]",
1836
+ "name": "",
1837
+ "type": "uint256[]"
1838
+ },
1839
+ {
1840
+ "internalType": "uint256[]",
1841
+ "name": "",
1842
+ "type": "uint256[]"
1843
+ },
1844
+ {
1845
+ "internalType": "bytes",
1846
+ "name": "",
1847
+ "type": "bytes"
1848
+ }
1849
+ ],
1850
+ "name": "onERC1155BatchReceived",
1851
+ "outputs": [
1852
+ {
1853
+ "internalType": "bytes4",
1854
+ "name": "",
1855
+ "type": "bytes4"
1856
+ }
1857
+ ],
1858
+ "stateMutability": "nonpayable",
1859
+ "type": "function"
1860
+ },
1861
+ {
1862
+ "inputs": [
1863
+ {
1864
+ "internalType": "address",
1865
+ "name": "",
1866
+ "type": "address"
1867
+ },
1868
+ {
1869
+ "internalType": "address",
1870
+ "name": "",
1871
+ "type": "address"
1872
+ },
1873
+ {
1874
+ "internalType": "uint256",
1875
+ "name": "",
1876
+ "type": "uint256"
1877
+ },
1878
+ {
1879
+ "internalType": "uint256",
1880
+ "name": "",
1881
+ "type": "uint256"
1882
+ },
1883
+ {
1884
+ "internalType": "bytes",
1885
+ "name": "",
1886
+ "type": "bytes"
1887
+ }
1888
+ ],
1889
+ "name": "onERC1155Received",
1890
+ "outputs": [
1891
+ {
1892
+ "internalType": "bytes4",
1893
+ "name": "",
1894
+ "type": "bytes4"
1895
+ }
1896
+ ],
1897
+ "stateMutability": "nonpayable",
1898
+ "type": "function"
1899
+ },
1900
+ {
1901
+ "inputs": [
1902
+ {
1903
+ "internalType": "address",
1904
+ "name": "",
1905
+ "type": "address"
1906
+ },
1907
+ {
1908
+ "internalType": "address",
1909
+ "name": "",
1910
+ "type": "address"
1911
+ },
1912
+ {
1913
+ "internalType": "uint256",
1914
+ "name": "",
1915
+ "type": "uint256"
1916
+ },
1917
+ {
1918
+ "internalType": "bytes",
1919
+ "name": "",
1920
+ "type": "bytes"
1921
+ }
1922
+ ],
1923
+ "name": "onERC721Received",
1924
+ "outputs": [
1925
+ {
1926
+ "internalType": "bytes4",
1927
+ "name": "",
1928
+ "type": "bytes4"
1929
+ }
1930
+ ],
1931
+ "stateMutability": "nonpayable",
1932
+ "type": "function"
1933
+ },
1934
+ {
1935
+ "inputs": [
1936
+ {
1937
+ "internalType": "address",
1938
+ "name": "requester_",
1939
+ "type": "address"
1940
+ },
1941
+ {
1942
+ "internalType": "uint256",
1943
+ "name": "serviceFee_",
1944
+ "type": "uint256"
1945
+ },
1946
+ {
1947
+ "internalType": "uint256",
1948
+ "name": "neutralsNumber_",
1949
+ "type": "uint256"
1950
+ },
1951
+ {
1952
+ "internalType": "string",
1953
+ "name": "additionalLink_",
1954
+ "type": "string"
1955
+ },
1956
+ {
1957
+ "internalType": "bytes",
1958
+ "name": "data_",
1959
+ "type": "bytes"
1960
+ }
1961
+ ],
1962
+ "name": "processServiceRequest",
1963
+ "outputs": [
1964
+ {
1965
+ "internalType": "bool",
1966
+ "name": "",
1967
+ "type": "bool"
1968
+ }
1969
+ ],
1970
+ "stateMutability": "payable",
1971
+ "type": "function"
1972
+ },
1973
+ {
1974
+ "inputs": [
1975
+ {
1976
+ "internalType": "uint256",
1977
+ "name": "proposalId",
1978
+ "type": "uint256"
1979
+ }
1980
+ ],
1981
+ "name": "proposalDeadline",
1982
+ "outputs": [
1983
+ {
1984
+ "internalType": "uint256",
1985
+ "name": "",
1986
+ "type": "uint256"
1987
+ }
1988
+ ],
1989
+ "stateMutability": "view",
1990
+ "type": "function"
1991
+ },
1992
+ {
1993
+ "inputs": [
1994
+ {
1995
+ "internalType": "uint256",
1996
+ "name": "proposalId",
1997
+ "type": "uint256"
1998
+ }
1999
+ ],
2000
+ "name": "proposalEta",
2001
+ "outputs": [
2002
+ {
2003
+ "internalType": "uint256",
2004
+ "name": "",
2005
+ "type": "uint256"
2006
+ }
2007
+ ],
2008
+ "stateMutability": "view",
2009
+ "type": "function"
2010
+ },
2011
+ {
2012
+ "inputs": [
2013
+ {
2014
+ "internalType": "uint256",
2015
+ "name": "",
2016
+ "type": "uint256"
2017
+ }
2018
+ ],
2019
+ "name": "proposalNeedsQueuing",
2020
+ "outputs": [
2021
+ {
2022
+ "internalType": "bool",
2023
+ "name": "",
2024
+ "type": "bool"
2025
+ }
2026
+ ],
2027
+ "stateMutability": "view",
2028
+ "type": "function"
2029
+ },
2030
+ {
2031
+ "inputs": [
2032
+ {
2033
+ "internalType": "uint256",
2034
+ "name": "proposalId",
2035
+ "type": "uint256"
2036
+ }
2037
+ ],
2038
+ "name": "proposalProposer",
2039
+ "outputs": [
2040
+ {
2041
+ "internalType": "address",
2042
+ "name": "",
2043
+ "type": "address"
2044
+ }
2045
+ ],
2046
+ "stateMutability": "view",
2047
+ "type": "function"
2048
+ },
2049
+ {
2050
+ "inputs": [
2051
+ {
2052
+ "internalType": "uint256",
2053
+ "name": "proposalId",
2054
+ "type": "uint256"
2055
+ }
2056
+ ],
2057
+ "name": "proposalSnapshot",
2058
+ "outputs": [
2059
+ {
2060
+ "internalType": "uint256",
2061
+ "name": "",
2062
+ "type": "uint256"
2063
+ }
2064
+ ],
2065
+ "stateMutability": "view",
2066
+ "type": "function"
2067
+ },
2068
+ {
2069
+ "inputs": [],
2070
+ "name": "proposalThreshold",
2071
+ "outputs": [
2072
+ {
2073
+ "internalType": "uint256",
2074
+ "name": "",
2075
+ "type": "uint256"
2076
+ }
2077
+ ],
2078
+ "stateMutability": "view",
2079
+ "type": "function"
2080
+ },
2081
+ {
2082
+ "inputs": [
2083
+ {
2084
+ "internalType": "address[]",
2085
+ "name": "targets",
2086
+ "type": "address[]"
2087
+ },
2088
+ {
2089
+ "internalType": "uint256[]",
2090
+ "name": "values",
2091
+ "type": "uint256[]"
2092
+ },
2093
+ {
2094
+ "internalType": "bytes[]",
2095
+ "name": "calldatas",
2096
+ "type": "bytes[]"
2097
+ },
2098
+ {
2099
+ "internalType": "string",
2100
+ "name": "description",
2101
+ "type": "string"
2102
+ }
2103
+ ],
2104
+ "name": "propose",
2105
+ "outputs": [
2106
+ {
2107
+ "internalType": "uint256",
2108
+ "name": "",
2109
+ "type": "uint256"
2110
+ }
2111
+ ],
2112
+ "stateMutability": "nonpayable",
2113
+ "type": "function"
2114
+ },
2115
+ {
2116
+ "inputs": [
2117
+ {
2118
+ "internalType": "uint256",
2119
+ "name": "proposalId_",
2120
+ "type": "uint256"
2121
+ },
2122
+ {
2123
+ "components": [
2124
+ {
2125
+ "components": [
2126
+ {
2127
+ "internalType": "enum IGovernance.OperationType",
2128
+ "name": "operation_",
2129
+ "type": "uint8"
2130
+ },
2131
+ {
2132
+ "internalType": "address",
2133
+ "name": "to_",
2134
+ "type": "address"
2135
+ },
2136
+ {
2137
+ "internalType": "bytes",
2138
+ "name": "data_",
2139
+ "type": "bytes"
2140
+ },
2141
+ {
2142
+ "internalType": "uint256",
2143
+ "name": "value_",
2144
+ "type": "uint256"
2145
+ }
2146
+ ],
2147
+ "internalType": "struct IGovernance.OperationData[]",
2148
+ "name": "operations",
2149
+ "type": "tuple[]"
2150
+ }
2151
+ ],
2152
+ "internalType": "struct IGovernance.OperationBundle",
2153
+ "name": "operationBundle_",
2154
+ "type": "tuple"
2155
+ }
2156
+ ],
2157
+ "name": "proposeOperations",
2158
+ "outputs": [],
2159
+ "stateMutability": "nonpayable",
2160
+ "type": "function"
2161
+ },
2162
+ {
2163
+ "inputs": [],
2164
+ "name": "proxiableUUID",
2165
+ "outputs": [
2166
+ {
2167
+ "internalType": "bytes32",
2168
+ "name": "",
2169
+ "type": "bytes32"
2170
+ }
2171
+ ],
2172
+ "stateMutability": "view",
2173
+ "type": "function"
2174
+ },
2175
+ {
2176
+ "inputs": [
2177
+ {
2178
+ "internalType": "address[]",
2179
+ "name": "targets",
2180
+ "type": "address[]"
2181
+ },
2182
+ {
2183
+ "internalType": "uint256[]",
2184
+ "name": "values",
2185
+ "type": "uint256[]"
2186
+ },
2187
+ {
2188
+ "internalType": "bytes[]",
2189
+ "name": "calldatas",
2190
+ "type": "bytes[]"
2191
+ },
2192
+ {
2193
+ "internalType": "bytes32",
2194
+ "name": "descriptionHash",
2195
+ "type": "bytes32"
2196
+ }
2197
+ ],
2198
+ "name": "queue",
2199
+ "outputs": [
2200
+ {
2201
+ "internalType": "uint256",
2202
+ "name": "",
2203
+ "type": "uint256"
2204
+ }
2205
+ ],
2206
+ "stateMutability": "nonpayable",
2207
+ "type": "function"
2208
+ },
2209
+ {
2210
+ "inputs": [
2211
+ {
2212
+ "internalType": "uint256",
2213
+ "name": "timepoint",
2214
+ "type": "uint256"
2215
+ }
2216
+ ],
2217
+ "name": "quorum",
2218
+ "outputs": [
2219
+ {
2220
+ "internalType": "uint256",
2221
+ "name": "",
2222
+ "type": "uint256"
2223
+ }
2224
+ ],
2225
+ "stateMutability": "view",
2226
+ "type": "function"
2227
+ },
2228
+ {
2229
+ "inputs": [
2230
+ {
2231
+ "internalType": "address",
2232
+ "name": "target",
2233
+ "type": "address"
2234
+ },
2235
+ {
2236
+ "internalType": "uint256",
2237
+ "name": "value",
2238
+ "type": "uint256"
2239
+ },
2240
+ {
2241
+ "internalType": "bytes",
2242
+ "name": "data",
2243
+ "type": "bytes"
2244
+ }
2245
+ ],
2246
+ "name": "relay",
2247
+ "outputs": [],
2248
+ "stateMutability": "payable",
2249
+ "type": "function"
2250
+ },
2251
+ {
2252
+ "inputs": [
2253
+ {
2254
+ "internalType": "uint256",
2255
+ "name": "proposalId",
2256
+ "type": "uint256"
2257
+ }
2258
+ ],
2259
+ "name": "state",
2260
+ "outputs": [
2261
+ {
2262
+ "internalType": "enum IGovernor.ProposalState",
2263
+ "name": "",
2264
+ "type": "uint8"
2265
+ }
2266
+ ],
2267
+ "stateMutability": "view",
2268
+ "type": "function"
2269
+ },
2270
+ {
2271
+ "inputs": [
2272
+ {
2273
+ "internalType": "bytes4",
2274
+ "name": "interfaceId_",
2275
+ "type": "bytes4"
2276
+ }
2277
+ ],
2278
+ "name": "supportsInterface",
2279
+ "outputs": [
2280
+ {
2281
+ "internalType": "bool",
2282
+ "name": "",
2283
+ "type": "bool"
2284
+ }
2285
+ ],
2286
+ "stateMutability": "view",
2287
+ "type": "function"
2288
+ },
2289
+ {
2290
+ "inputs": [
2291
+ {
2292
+ "internalType": "address",
2293
+ "name": "newImplementation",
2294
+ "type": "address"
2295
+ },
2296
+ {
2297
+ "internalType": "bytes",
2298
+ "name": "data",
2299
+ "type": "bytes"
2300
+ }
2301
+ ],
2302
+ "name": "upgradeToAndCall",
2303
+ "outputs": [],
2304
+ "stateMutability": "payable",
2305
+ "type": "function"
2306
+ },
2307
+ {
2308
+ "inputs": [],
2309
+ "name": "version",
2310
+ "outputs": [
2311
+ {
2312
+ "internalType": "string",
2313
+ "name": "",
2314
+ "type": "string"
2315
+ }
2316
+ ],
2317
+ "stateMutability": "view",
2318
+ "type": "function"
2319
+ },
2320
+ {
2321
+ "inputs": [],
2322
+ "name": "votingDelay",
2323
+ "outputs": [
2324
+ {
2325
+ "internalType": "uint256",
2326
+ "name": "",
2327
+ "type": "uint256"
2328
+ }
2329
+ ],
2330
+ "stateMutability": "view",
2331
+ "type": "function"
2332
+ },
2333
+ {
2334
+ "inputs": [],
2335
+ "name": "votingPeriod",
2336
+ "outputs": [
2337
+ {
2338
+ "internalType": "uint256",
2339
+ "name": "",
2340
+ "type": "uint256"
2341
+ }
2342
+ ],
2343
+ "stateMutability": "view",
2344
+ "type": "function"
2345
+ },
2346
+ {
2347
+ "stateMutability": "payable",
2348
+ "type": "receive"
2349
+ }
2350
+ ]