@merkl/contracts 1.2.30 → 1.2.32

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 (31) hide show
  1. package/dist/src/AddressGaugeVoter.d.ts +810 -0
  2. package/dist/src/AddressGaugeVoter.js +2 -0
  3. package/dist/src/AddressGaugeVoter.js.map +1 -0
  4. package/dist/src/EscrowIVotesAdapter.d.ts +682 -0
  5. package/dist/src/EscrowIVotesAdapter.js +2 -0
  6. package/dist/src/EscrowIVotesAdapter.js.map +1 -0
  7. package/dist/src/TokenGaugeVoter.d.ts +724 -0
  8. package/dist/src/TokenGaugeVoter.js +2 -0
  9. package/dist/src/TokenGaugeVoter.js.map +1 -0
  10. package/dist/src/VotingEscrowIncreasing.d.ts +683 -0
  11. package/dist/src/VotingEscrowIncreasing.js +2 -0
  12. package/dist/src/VotingEscrowIncreasing.js.map +1 -0
  13. package/dist/src/factories/AddressGaugeVoter__factory.d.ts +1040 -0
  14. package/dist/src/factories/AddressGaugeVoter__factory.js +1364 -0
  15. package/dist/src/factories/AddressGaugeVoter__factory.js.map +1 -0
  16. package/dist/src/factories/EscrowIVotesAdapter__factory.d.ts +890 -0
  17. package/dist/src/factories/EscrowIVotesAdapter__factory.js +1159 -0
  18. package/dist/src/factories/EscrowIVotesAdapter__factory.js.map +1 -0
  19. package/dist/src/factories/TokenGaugeVoter__factory.d.ts +941 -0
  20. package/dist/src/factories/TokenGaugeVoter__factory.js +1234 -0
  21. package/dist/src/factories/TokenGaugeVoter__factory.js.map +1 -0
  22. package/dist/src/factories/VotingEscrowIncreasing__factory.d.ts +815 -0
  23. package/dist/src/factories/VotingEscrowIncreasing__factory.js +1065 -0
  24. package/dist/src/factories/VotingEscrowIncreasing__factory.js.map +1 -0
  25. package/dist/src/factories/index.d.ts +4 -0
  26. package/dist/src/factories/index.js +4 -0
  27. package/dist/src/factories/index.js.map +1 -1
  28. package/dist/src/index.d.ts +8 -0
  29. package/dist/src/index.js +8 -0
  30. package/dist/src/index.js.map +1 -1
  31. package/package.json +1 -1
@@ -0,0 +1,1234 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ import { utils, Contract, ContractFactory } from "ethers";
5
+ const _abi = [
6
+ {
7
+ type: "constructor",
8
+ inputs: [],
9
+ stateMutability: "nonpayable",
10
+ },
11
+ {
12
+ type: "function",
13
+ name: "GAUGE_ADMIN_ROLE",
14
+ inputs: [],
15
+ outputs: [
16
+ {
17
+ name: "",
18
+ type: "bytes32",
19
+ internalType: "bytes32",
20
+ },
21
+ ],
22
+ stateMutability: "view",
23
+ },
24
+ {
25
+ type: "function",
26
+ name: "SET_TARGET_CONFIG_PERMISSION_ID",
27
+ inputs: [],
28
+ outputs: [
29
+ {
30
+ name: "",
31
+ type: "bytes32",
32
+ internalType: "bytes32",
33
+ },
34
+ ],
35
+ stateMutability: "view",
36
+ },
37
+ {
38
+ type: "function",
39
+ name: "UPGRADE_PLUGIN_PERMISSION_ID",
40
+ inputs: [],
41
+ outputs: [
42
+ {
43
+ name: "",
44
+ type: "bytes32",
45
+ internalType: "bytes32",
46
+ },
47
+ ],
48
+ stateMutability: "view",
49
+ },
50
+ {
51
+ type: "function",
52
+ name: "activateGauge",
53
+ inputs: [
54
+ {
55
+ name: "_gauge",
56
+ type: "address",
57
+ internalType: "address",
58
+ },
59
+ ],
60
+ outputs: [],
61
+ stateMutability: "nonpayable",
62
+ },
63
+ {
64
+ type: "function",
65
+ name: "clock",
66
+ inputs: [],
67
+ outputs: [
68
+ {
69
+ name: "",
70
+ type: "address",
71
+ internalType: "address",
72
+ },
73
+ ],
74
+ stateMutability: "view",
75
+ },
76
+ {
77
+ type: "function",
78
+ name: "createGauge",
79
+ inputs: [
80
+ {
81
+ name: "_gauge",
82
+ type: "address",
83
+ internalType: "address",
84
+ },
85
+ {
86
+ name: "_metadataURI",
87
+ type: "string",
88
+ internalType: "string",
89
+ },
90
+ ],
91
+ outputs: [
92
+ {
93
+ name: "gauge",
94
+ type: "address",
95
+ internalType: "address",
96
+ },
97
+ ],
98
+ stateMutability: "nonpayable",
99
+ },
100
+ {
101
+ type: "function",
102
+ name: "dao",
103
+ inputs: [],
104
+ outputs: [
105
+ {
106
+ name: "",
107
+ type: "address",
108
+ internalType: "contract IDAO",
109
+ },
110
+ ],
111
+ stateMutability: "view",
112
+ },
113
+ {
114
+ type: "function",
115
+ name: "deactivateGauge",
116
+ inputs: [
117
+ {
118
+ name: "_gauge",
119
+ type: "address",
120
+ internalType: "address",
121
+ },
122
+ ],
123
+ outputs: [],
124
+ stateMutability: "nonpayable",
125
+ },
126
+ {
127
+ type: "function",
128
+ name: "epochId",
129
+ inputs: [],
130
+ outputs: [
131
+ {
132
+ name: "",
133
+ type: "uint256",
134
+ internalType: "uint256",
135
+ },
136
+ ],
137
+ stateMutability: "view",
138
+ },
139
+ {
140
+ type: "function",
141
+ name: "epochStart",
142
+ inputs: [],
143
+ outputs: [
144
+ {
145
+ name: "",
146
+ type: "uint256",
147
+ internalType: "uint256",
148
+ },
149
+ ],
150
+ stateMutability: "view",
151
+ },
152
+ {
153
+ type: "function",
154
+ name: "epochVoteEnd",
155
+ inputs: [],
156
+ outputs: [
157
+ {
158
+ name: "",
159
+ type: "uint256",
160
+ internalType: "uint256",
161
+ },
162
+ ],
163
+ stateMutability: "view",
164
+ },
165
+ {
166
+ type: "function",
167
+ name: "epochVoteStart",
168
+ inputs: [],
169
+ outputs: [
170
+ {
171
+ name: "",
172
+ type: "uint256",
173
+ internalType: "uint256",
174
+ },
175
+ ],
176
+ stateMutability: "view",
177
+ },
178
+ {
179
+ type: "function",
180
+ name: "escrow",
181
+ inputs: [],
182
+ outputs: [
183
+ {
184
+ name: "",
185
+ type: "address",
186
+ internalType: "address",
187
+ },
188
+ ],
189
+ stateMutability: "view",
190
+ },
191
+ {
192
+ type: "function",
193
+ name: "gaugeExists",
194
+ inputs: [
195
+ {
196
+ name: "_gauge",
197
+ type: "address",
198
+ internalType: "address",
199
+ },
200
+ ],
201
+ outputs: [
202
+ {
203
+ name: "",
204
+ type: "bool",
205
+ internalType: "bool",
206
+ },
207
+ ],
208
+ stateMutability: "view",
209
+ },
210
+ {
211
+ type: "function",
212
+ name: "gaugeList",
213
+ inputs: [
214
+ {
215
+ name: "",
216
+ type: "uint256",
217
+ internalType: "uint256",
218
+ },
219
+ ],
220
+ outputs: [
221
+ {
222
+ name: "",
223
+ type: "address",
224
+ internalType: "address",
225
+ },
226
+ ],
227
+ stateMutability: "view",
228
+ },
229
+ {
230
+ type: "function",
231
+ name: "gaugeVotes",
232
+ inputs: [
233
+ {
234
+ name: "",
235
+ type: "address",
236
+ internalType: "address",
237
+ },
238
+ ],
239
+ outputs: [
240
+ {
241
+ name: "",
242
+ type: "uint256",
243
+ internalType: "uint256",
244
+ },
245
+ ],
246
+ stateMutability: "view",
247
+ },
248
+ {
249
+ type: "function",
250
+ name: "gauges",
251
+ inputs: [
252
+ {
253
+ name: "",
254
+ type: "address",
255
+ internalType: "address",
256
+ },
257
+ ],
258
+ outputs: [
259
+ {
260
+ name: "active",
261
+ type: "bool",
262
+ internalType: "bool",
263
+ },
264
+ {
265
+ name: "created",
266
+ type: "uint256",
267
+ internalType: "uint256",
268
+ },
269
+ {
270
+ name: "metadataURI",
271
+ type: "string",
272
+ internalType: "string",
273
+ },
274
+ ],
275
+ stateMutability: "view",
276
+ },
277
+ {
278
+ type: "function",
279
+ name: "gaugesVotedFor",
280
+ inputs: [
281
+ {
282
+ name: "_tokenId",
283
+ type: "uint256",
284
+ internalType: "uint256",
285
+ },
286
+ ],
287
+ outputs: [
288
+ {
289
+ name: "",
290
+ type: "address[]",
291
+ internalType: "address[]",
292
+ },
293
+ ],
294
+ stateMutability: "view",
295
+ },
296
+ {
297
+ type: "function",
298
+ name: "getAllGauges",
299
+ inputs: [],
300
+ outputs: [
301
+ {
302
+ name: "",
303
+ type: "address[]",
304
+ internalType: "address[]",
305
+ },
306
+ ],
307
+ stateMutability: "view",
308
+ },
309
+ {
310
+ type: "function",
311
+ name: "getCurrentTargetConfig",
312
+ inputs: [],
313
+ outputs: [
314
+ {
315
+ name: "",
316
+ type: "tuple",
317
+ internalType: "struct IPlugin.TargetConfig",
318
+ components: [
319
+ {
320
+ name: "target",
321
+ type: "address",
322
+ internalType: "address",
323
+ },
324
+ {
325
+ name: "operation",
326
+ type: "uint8",
327
+ internalType: "enum IPlugin.Operation",
328
+ },
329
+ ],
330
+ },
331
+ ],
332
+ stateMutability: "view",
333
+ },
334
+ {
335
+ type: "function",
336
+ name: "getGauge",
337
+ inputs: [
338
+ {
339
+ name: "_gauge",
340
+ type: "address",
341
+ internalType: "address",
342
+ },
343
+ ],
344
+ outputs: [
345
+ {
346
+ name: "",
347
+ type: "tuple",
348
+ internalType: "struct IGauge.Gauge",
349
+ components: [
350
+ {
351
+ name: "active",
352
+ type: "bool",
353
+ internalType: "bool",
354
+ },
355
+ {
356
+ name: "created",
357
+ type: "uint256",
358
+ internalType: "uint256",
359
+ },
360
+ {
361
+ name: "metadataURI",
362
+ type: "string",
363
+ internalType: "string",
364
+ },
365
+ ],
366
+ },
367
+ ],
368
+ stateMutability: "view",
369
+ },
370
+ {
371
+ type: "function",
372
+ name: "getTargetConfig",
373
+ inputs: [],
374
+ outputs: [
375
+ {
376
+ name: "",
377
+ type: "tuple",
378
+ internalType: "struct IPlugin.TargetConfig",
379
+ components: [
380
+ {
381
+ name: "target",
382
+ type: "address",
383
+ internalType: "address",
384
+ },
385
+ {
386
+ name: "operation",
387
+ type: "uint8",
388
+ internalType: "enum IPlugin.Operation",
389
+ },
390
+ ],
391
+ },
392
+ ],
393
+ stateMutability: "view",
394
+ },
395
+ {
396
+ type: "function",
397
+ name: "implementation",
398
+ inputs: [],
399
+ outputs: [
400
+ {
401
+ name: "",
402
+ type: "address",
403
+ internalType: "address",
404
+ },
405
+ ],
406
+ stateMutability: "view",
407
+ },
408
+ {
409
+ type: "function",
410
+ name: "initialize",
411
+ inputs: [
412
+ {
413
+ name: "_dao",
414
+ type: "address",
415
+ internalType: "address",
416
+ },
417
+ {
418
+ name: "_escrow",
419
+ type: "address",
420
+ internalType: "address",
421
+ },
422
+ {
423
+ name: "_startPaused",
424
+ type: "bool",
425
+ internalType: "bool",
426
+ },
427
+ {
428
+ name: "_clock",
429
+ type: "address",
430
+ internalType: "address",
431
+ },
432
+ ],
433
+ outputs: [],
434
+ stateMutability: "nonpayable",
435
+ },
436
+ {
437
+ type: "function",
438
+ name: "isActive",
439
+ inputs: [
440
+ {
441
+ name: "_gauge",
442
+ type: "address",
443
+ internalType: "address",
444
+ },
445
+ ],
446
+ outputs: [
447
+ {
448
+ name: "",
449
+ type: "bool",
450
+ internalType: "bool",
451
+ },
452
+ ],
453
+ stateMutability: "view",
454
+ },
455
+ {
456
+ type: "function",
457
+ name: "isVoting",
458
+ inputs: [
459
+ {
460
+ name: "_tokenId",
461
+ type: "uint256",
462
+ internalType: "uint256",
463
+ },
464
+ ],
465
+ outputs: [
466
+ {
467
+ name: "",
468
+ type: "bool",
469
+ internalType: "bool",
470
+ },
471
+ ],
472
+ stateMutability: "view",
473
+ },
474
+ {
475
+ type: "function",
476
+ name: "pause",
477
+ inputs: [],
478
+ outputs: [],
479
+ stateMutability: "nonpayable",
480
+ },
481
+ {
482
+ type: "function",
483
+ name: "paused",
484
+ inputs: [],
485
+ outputs: [
486
+ {
487
+ name: "",
488
+ type: "bool",
489
+ internalType: "bool",
490
+ },
491
+ ],
492
+ stateMutability: "view",
493
+ },
494
+ {
495
+ type: "function",
496
+ name: "pluginType",
497
+ inputs: [],
498
+ outputs: [
499
+ {
500
+ name: "",
501
+ type: "uint8",
502
+ internalType: "enum IPlugin.PluginType",
503
+ },
504
+ ],
505
+ stateMutability: "pure",
506
+ },
507
+ {
508
+ type: "function",
509
+ name: "protocolVersion",
510
+ inputs: [],
511
+ outputs: [
512
+ {
513
+ name: "",
514
+ type: "uint8[3]",
515
+ internalType: "uint8[3]",
516
+ },
517
+ ],
518
+ stateMutability: "pure",
519
+ },
520
+ {
521
+ type: "function",
522
+ name: "proxiableUUID",
523
+ inputs: [],
524
+ outputs: [
525
+ {
526
+ name: "",
527
+ type: "bytes32",
528
+ internalType: "bytes32",
529
+ },
530
+ ],
531
+ stateMutability: "view",
532
+ },
533
+ {
534
+ type: "function",
535
+ name: "reset",
536
+ inputs: [
537
+ {
538
+ name: "_tokenId",
539
+ type: "uint256",
540
+ internalType: "uint256",
541
+ },
542
+ ],
543
+ outputs: [],
544
+ stateMutability: "nonpayable",
545
+ },
546
+ {
547
+ type: "function",
548
+ name: "setTargetConfig",
549
+ inputs: [
550
+ {
551
+ name: "_targetConfig",
552
+ type: "tuple",
553
+ internalType: "struct IPlugin.TargetConfig",
554
+ components: [
555
+ {
556
+ name: "target",
557
+ type: "address",
558
+ internalType: "address",
559
+ },
560
+ {
561
+ name: "operation",
562
+ type: "uint8",
563
+ internalType: "enum IPlugin.Operation",
564
+ },
565
+ ],
566
+ },
567
+ ],
568
+ outputs: [],
569
+ stateMutability: "nonpayable",
570
+ },
571
+ {
572
+ type: "function",
573
+ name: "supportsInterface",
574
+ inputs: [
575
+ {
576
+ name: "_interfaceId",
577
+ type: "bytes4",
578
+ internalType: "bytes4",
579
+ },
580
+ ],
581
+ outputs: [
582
+ {
583
+ name: "",
584
+ type: "bool",
585
+ internalType: "bool",
586
+ },
587
+ ],
588
+ stateMutability: "view",
589
+ },
590
+ {
591
+ type: "function",
592
+ name: "totalVotingPowerCast",
593
+ inputs: [],
594
+ outputs: [
595
+ {
596
+ name: "",
597
+ type: "uint256",
598
+ internalType: "uint256",
599
+ },
600
+ ],
601
+ stateMutability: "view",
602
+ },
603
+ {
604
+ type: "function",
605
+ name: "unpause",
606
+ inputs: [],
607
+ outputs: [],
608
+ stateMutability: "nonpayable",
609
+ },
610
+ {
611
+ type: "function",
612
+ name: "updateGaugeMetadata",
613
+ inputs: [
614
+ {
615
+ name: "_gauge",
616
+ type: "address",
617
+ internalType: "address",
618
+ },
619
+ {
620
+ name: "_metadataURI",
621
+ type: "string",
622
+ internalType: "string",
623
+ },
624
+ ],
625
+ outputs: [],
626
+ stateMutability: "nonpayable",
627
+ },
628
+ {
629
+ type: "function",
630
+ name: "upgradeTo",
631
+ inputs: [
632
+ {
633
+ name: "newImplementation",
634
+ type: "address",
635
+ internalType: "address",
636
+ },
637
+ ],
638
+ outputs: [],
639
+ stateMutability: "nonpayable",
640
+ },
641
+ {
642
+ type: "function",
643
+ name: "upgradeToAndCall",
644
+ inputs: [
645
+ {
646
+ name: "newImplementation",
647
+ type: "address",
648
+ internalType: "address",
649
+ },
650
+ {
651
+ name: "data",
652
+ type: "bytes",
653
+ internalType: "bytes",
654
+ },
655
+ ],
656
+ outputs: [],
657
+ stateMutability: "payable",
658
+ },
659
+ {
660
+ type: "function",
661
+ name: "usedVotingPower",
662
+ inputs: [
663
+ {
664
+ name: "_tokenId",
665
+ type: "uint256",
666
+ internalType: "uint256",
667
+ },
668
+ ],
669
+ outputs: [
670
+ {
671
+ name: "",
672
+ type: "uint256",
673
+ internalType: "uint256",
674
+ },
675
+ ],
676
+ stateMutability: "view",
677
+ },
678
+ {
679
+ type: "function",
680
+ name: "vote",
681
+ inputs: [
682
+ {
683
+ name: "_tokenId",
684
+ type: "uint256",
685
+ internalType: "uint256",
686
+ },
687
+ {
688
+ name: "_votes",
689
+ type: "tuple[]",
690
+ internalType: "struct ITokenGaugeVote.GaugeVote[]",
691
+ components: [
692
+ {
693
+ name: "weight",
694
+ type: "uint256",
695
+ internalType: "uint256",
696
+ },
697
+ {
698
+ name: "gauge",
699
+ type: "address",
700
+ internalType: "address",
701
+ },
702
+ ],
703
+ },
704
+ ],
705
+ outputs: [],
706
+ stateMutability: "nonpayable",
707
+ },
708
+ {
709
+ type: "function",
710
+ name: "voteMultiple",
711
+ inputs: [
712
+ {
713
+ name: "_tokenIds",
714
+ type: "uint256[]",
715
+ internalType: "uint256[]",
716
+ },
717
+ {
718
+ name: "_votes",
719
+ type: "tuple[]",
720
+ internalType: "struct ITokenGaugeVote.GaugeVote[]",
721
+ components: [
722
+ {
723
+ name: "weight",
724
+ type: "uint256",
725
+ internalType: "uint256",
726
+ },
727
+ {
728
+ name: "gauge",
729
+ type: "address",
730
+ internalType: "address",
731
+ },
732
+ ],
733
+ },
734
+ ],
735
+ outputs: [],
736
+ stateMutability: "nonpayable",
737
+ },
738
+ {
739
+ type: "function",
740
+ name: "votes",
741
+ inputs: [
742
+ {
743
+ name: "_tokenId",
744
+ type: "uint256",
745
+ internalType: "uint256",
746
+ },
747
+ {
748
+ name: "_gauge",
749
+ type: "address",
750
+ internalType: "address",
751
+ },
752
+ ],
753
+ outputs: [
754
+ {
755
+ name: "",
756
+ type: "uint256",
757
+ internalType: "uint256",
758
+ },
759
+ ],
760
+ stateMutability: "view",
761
+ },
762
+ {
763
+ type: "function",
764
+ name: "votingActive",
765
+ inputs: [],
766
+ outputs: [
767
+ {
768
+ name: "",
769
+ type: "bool",
770
+ internalType: "bool",
771
+ },
772
+ ],
773
+ stateMutability: "view",
774
+ },
775
+ {
776
+ type: "event",
777
+ name: "AdminChanged",
778
+ inputs: [
779
+ {
780
+ name: "previousAdmin",
781
+ type: "address",
782
+ indexed: false,
783
+ internalType: "address",
784
+ },
785
+ {
786
+ name: "newAdmin",
787
+ type: "address",
788
+ indexed: false,
789
+ internalType: "address",
790
+ },
791
+ ],
792
+ anonymous: false,
793
+ },
794
+ {
795
+ type: "event",
796
+ name: "BeaconUpgraded",
797
+ inputs: [
798
+ {
799
+ name: "beacon",
800
+ type: "address",
801
+ indexed: true,
802
+ internalType: "address",
803
+ },
804
+ ],
805
+ anonymous: false,
806
+ },
807
+ {
808
+ type: "event",
809
+ name: "GaugeActivated",
810
+ inputs: [
811
+ {
812
+ name: "gauge",
813
+ type: "address",
814
+ indexed: true,
815
+ internalType: "address",
816
+ },
817
+ ],
818
+ anonymous: false,
819
+ },
820
+ {
821
+ type: "event",
822
+ name: "GaugeCreated",
823
+ inputs: [
824
+ {
825
+ name: "gauge",
826
+ type: "address",
827
+ indexed: true,
828
+ internalType: "address",
829
+ },
830
+ {
831
+ name: "creator",
832
+ type: "address",
833
+ indexed: true,
834
+ internalType: "address",
835
+ },
836
+ {
837
+ name: "metadataURI",
838
+ type: "string",
839
+ indexed: false,
840
+ internalType: "string",
841
+ },
842
+ ],
843
+ anonymous: false,
844
+ },
845
+ {
846
+ type: "event",
847
+ name: "GaugeDeactivated",
848
+ inputs: [
849
+ {
850
+ name: "gauge",
851
+ type: "address",
852
+ indexed: true,
853
+ internalType: "address",
854
+ },
855
+ ],
856
+ anonymous: false,
857
+ },
858
+ {
859
+ type: "event",
860
+ name: "GaugeMetadataUpdated",
861
+ inputs: [
862
+ {
863
+ name: "gauge",
864
+ type: "address",
865
+ indexed: true,
866
+ internalType: "address",
867
+ },
868
+ {
869
+ name: "metadataURI",
870
+ type: "string",
871
+ indexed: false,
872
+ internalType: "string",
873
+ },
874
+ ],
875
+ anonymous: false,
876
+ },
877
+ {
878
+ type: "event",
879
+ name: "Initialized",
880
+ inputs: [
881
+ {
882
+ name: "version",
883
+ type: "uint8",
884
+ indexed: false,
885
+ internalType: "uint8",
886
+ },
887
+ ],
888
+ anonymous: false,
889
+ },
890
+ {
891
+ type: "event",
892
+ name: "Paused",
893
+ inputs: [
894
+ {
895
+ name: "account",
896
+ type: "address",
897
+ indexed: false,
898
+ internalType: "address",
899
+ },
900
+ ],
901
+ anonymous: false,
902
+ },
903
+ {
904
+ type: "event",
905
+ name: "Reset",
906
+ inputs: [
907
+ {
908
+ name: "voter",
909
+ type: "address",
910
+ indexed: true,
911
+ internalType: "address",
912
+ },
913
+ {
914
+ name: "gauge",
915
+ type: "address",
916
+ indexed: true,
917
+ internalType: "address",
918
+ },
919
+ {
920
+ name: "epoch",
921
+ type: "uint256",
922
+ indexed: true,
923
+ internalType: "uint256",
924
+ },
925
+ {
926
+ name: "tokenId",
927
+ type: "uint256",
928
+ indexed: false,
929
+ internalType: "uint256",
930
+ },
931
+ {
932
+ name: "votingPowerRemovedFromGauge",
933
+ type: "uint256",
934
+ indexed: false,
935
+ internalType: "uint256",
936
+ },
937
+ {
938
+ name: "totalVotingPowerInGauge",
939
+ type: "uint256",
940
+ indexed: false,
941
+ internalType: "uint256",
942
+ },
943
+ {
944
+ name: "totalVotingPowerInContract",
945
+ type: "uint256",
946
+ indexed: false,
947
+ internalType: "uint256",
948
+ },
949
+ {
950
+ name: "timestamp",
951
+ type: "uint256",
952
+ indexed: false,
953
+ internalType: "uint256",
954
+ },
955
+ ],
956
+ anonymous: false,
957
+ },
958
+ {
959
+ type: "event",
960
+ name: "TargetSet",
961
+ inputs: [
962
+ {
963
+ name: "newTargetConfig",
964
+ type: "tuple",
965
+ indexed: false,
966
+ internalType: "struct IPlugin.TargetConfig",
967
+ components: [
968
+ {
969
+ name: "target",
970
+ type: "address",
971
+ internalType: "address",
972
+ },
973
+ {
974
+ name: "operation",
975
+ type: "uint8",
976
+ internalType: "enum IPlugin.Operation",
977
+ },
978
+ ],
979
+ },
980
+ ],
981
+ anonymous: false,
982
+ },
983
+ {
984
+ type: "event",
985
+ name: "Unpaused",
986
+ inputs: [
987
+ {
988
+ name: "account",
989
+ type: "address",
990
+ indexed: false,
991
+ internalType: "address",
992
+ },
993
+ ],
994
+ anonymous: false,
995
+ },
996
+ {
997
+ type: "event",
998
+ name: "Upgraded",
999
+ inputs: [
1000
+ {
1001
+ name: "implementation",
1002
+ type: "address",
1003
+ indexed: true,
1004
+ internalType: "address",
1005
+ },
1006
+ ],
1007
+ anonymous: false,
1008
+ },
1009
+ {
1010
+ type: "event",
1011
+ name: "Voted",
1012
+ inputs: [
1013
+ {
1014
+ name: "voter",
1015
+ type: "address",
1016
+ indexed: true,
1017
+ internalType: "address",
1018
+ },
1019
+ {
1020
+ name: "gauge",
1021
+ type: "address",
1022
+ indexed: true,
1023
+ internalType: "address",
1024
+ },
1025
+ {
1026
+ name: "epoch",
1027
+ type: "uint256",
1028
+ indexed: true,
1029
+ internalType: "uint256",
1030
+ },
1031
+ {
1032
+ name: "tokenId",
1033
+ type: "uint256",
1034
+ indexed: false,
1035
+ internalType: "uint256",
1036
+ },
1037
+ {
1038
+ name: "votingPowerCastForGauge",
1039
+ type: "uint256",
1040
+ indexed: false,
1041
+ internalType: "uint256",
1042
+ },
1043
+ {
1044
+ name: "totalVotingPowerInGauge",
1045
+ type: "uint256",
1046
+ indexed: false,
1047
+ internalType: "uint256",
1048
+ },
1049
+ {
1050
+ name: "totalVotingPowerInContract",
1051
+ type: "uint256",
1052
+ indexed: false,
1053
+ internalType: "uint256",
1054
+ },
1055
+ {
1056
+ name: "timestamp",
1057
+ type: "uint256",
1058
+ indexed: false,
1059
+ internalType: "uint256",
1060
+ },
1061
+ ],
1062
+ anonymous: false,
1063
+ },
1064
+ {
1065
+ type: "error",
1066
+ name: "AlreadyInitialized",
1067
+ inputs: [],
1068
+ },
1069
+ {
1070
+ type: "error",
1071
+ name: "AlreadyVoted",
1072
+ inputs: [
1073
+ {
1074
+ name: "tokenId",
1075
+ type: "uint256",
1076
+ internalType: "uint256",
1077
+ },
1078
+ ],
1079
+ },
1080
+ {
1081
+ type: "error",
1082
+ name: "DaoUnauthorized",
1083
+ inputs: [
1084
+ {
1085
+ name: "dao",
1086
+ type: "address",
1087
+ internalType: "address",
1088
+ },
1089
+ {
1090
+ name: "where",
1091
+ type: "address",
1092
+ internalType: "address",
1093
+ },
1094
+ {
1095
+ name: "who",
1096
+ type: "address",
1097
+ internalType: "address",
1098
+ },
1099
+ {
1100
+ name: "permissionId",
1101
+ type: "bytes32",
1102
+ internalType: "bytes32",
1103
+ },
1104
+ ],
1105
+ },
1106
+ {
1107
+ type: "error",
1108
+ name: "DelegateCallFailed",
1109
+ inputs: [],
1110
+ },
1111
+ {
1112
+ type: "error",
1113
+ name: "DoubleVote",
1114
+ inputs: [],
1115
+ },
1116
+ {
1117
+ type: "error",
1118
+ name: "GaugeActivationUnchanged",
1119
+ inputs: [],
1120
+ },
1121
+ {
1122
+ type: "error",
1123
+ name: "GaugeDoesNotExist",
1124
+ inputs: [
1125
+ {
1126
+ name: "_pool",
1127
+ type: "address",
1128
+ internalType: "address",
1129
+ },
1130
+ ],
1131
+ },
1132
+ {
1133
+ type: "error",
1134
+ name: "GaugeExists",
1135
+ inputs: [],
1136
+ },
1137
+ {
1138
+ type: "error",
1139
+ name: "GaugeInactive",
1140
+ inputs: [
1141
+ {
1142
+ name: "_gauge",
1143
+ type: "address",
1144
+ internalType: "address",
1145
+ },
1146
+ ],
1147
+ },
1148
+ {
1149
+ type: "error",
1150
+ name: "InvalidTargetConfig",
1151
+ inputs: [
1152
+ {
1153
+ name: "targetConfig",
1154
+ type: "tuple",
1155
+ internalType: "struct IPlugin.TargetConfig",
1156
+ components: [
1157
+ {
1158
+ name: "target",
1159
+ type: "address",
1160
+ internalType: "address",
1161
+ },
1162
+ {
1163
+ name: "operation",
1164
+ type: "uint8",
1165
+ internalType: "enum IPlugin.Operation",
1166
+ },
1167
+ ],
1168
+ },
1169
+ ],
1170
+ },
1171
+ {
1172
+ type: "error",
1173
+ name: "NoVotes",
1174
+ inputs: [],
1175
+ },
1176
+ {
1177
+ type: "error",
1178
+ name: "NoVotingPower",
1179
+ inputs: [],
1180
+ },
1181
+ {
1182
+ type: "error",
1183
+ name: "NotApprovedOrOwner",
1184
+ inputs: [],
1185
+ },
1186
+ {
1187
+ type: "error",
1188
+ name: "NotCurrentlyVoting",
1189
+ inputs: [],
1190
+ },
1191
+ {
1192
+ type: "error",
1193
+ name: "VotingInactive",
1194
+ inputs: [],
1195
+ },
1196
+ {
1197
+ type: "error",
1198
+ name: "ZeroGauge",
1199
+ inputs: [],
1200
+ },
1201
+ ];
1202
+ const _bytecode = "0x60a0604052306080523480156200001557600080fd5b506200002062000030565b6200002a62000030565b620000f1565b600054610100900460ff16156200009d5760405162461bcd60e51b815260206004820152602760248201527f496e697469616c697a61626c653a20636f6e747261637420697320696e697469604482015266616c697a696e6760c81b606482015260840160405180910390fd5b60005460ff90811614620000ef576000805460ff191660ff9081179091556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b565b608051613f2062000129600039600081816110cd01528181611163015281816113950152818161142b01526115260152613f206000f3fe6080604052600436106102e75760003560e01c806397f7230011610184578063c98425ee116100d6578063ddaf20791161008a578063ecc44a3811610064578063ecc44a38146108b8578063f0363ae4146108cd578063fb162e03146108e457600080fd5b8063ddaf207914610843578063e2fdcc1714610863578063e79e5a231461088457600080fd5b8063d23254b4116100bb578063d23254b4146107ca578063d561f5b01461080e578063dd63c06f1461082e57600080fd5b8063c98425ee14610774578063c9c4bfca1461079657600080fd5b8063b1c6f0e911610138578063bb225da211610112578063bb225da2146106f6578063bda46ea914610716578063c946c5cc1461075257600080fd5b8063b1c6f0e91461067a578063b4b1013c146106a7578063b9a09fd5146106c757600080fd5b80639f8a13d7116101695780639f8a13d71461060b578063aa9bbc0c14610645578063ad288fe81461065a57600080fd5b806397f72300146105aa5780639ef13a41146105dd57600080fd5b806341de68301161023d5780635c975abb116101f15780638cb75059116101cb5780638cb750591461052457806391ddadf414610558578063954ef57e1461057957600080fd5b80635c975abb146104d757806382bbad24146104ef5780638456cb591461050f57600080fd5b80634f1ef286116102225780634f1ef2861461049a57806352d1902d146104ad5780635c60da1b146104c257600080fd5b806341de6830146104695780634cea22f11461048557600080fd5b80632ae9c6001161029f5780633f4ba83a116102795780633f4ba83a14610420578063408e2727146104355780634162169f1461044a57600080fd5b80632ae9c600146103be578063310bd74b146103e05780633659cfe61461040057600080fd5b806315e5a1e5116102d057806315e5a1e51461035957806323303c6f1461037c578063244a26a61461039e57600080fd5b806301ffc9a7146102ec578063071d217114610321575b600080fd5b3480156102f857600080fd5b5061030c61030736600461348e565b610904565b60405190151581526020015b60405180910390f35b34801561032d57600080fd5b5061034161033c3660046134e7565b610a81565b6040516001600160a01b039091168152602001610318565b34801561036557600080fd5b5061036e610cc0565b604051908152602001610318565b34801561038857600080fd5b5061039c61039736600461356a565b610d4d565b005b3480156103aa57600080fd5b5061039c6103b93660046135d1565b610e8c565b3480156103ca57600080fd5b506103d3610f2a565b604051610318919061366b565b3480156103ec57600080fd5b5061039c6103fb36600461369f565b610f54565b34801561040c57600080fd5b5061039c61041b36600461356a565b6110c3565b34801561042c57600080fd5b5061039c61125d565b34801561044157600080fd5b5061030c61129f565b34801561045657600080fd5b5061012d546001600160a01b0316610341565b34801561047557600080fd5b50600060405161031891906136e7565b34801561049157600080fd5b5061036e611327565b61039c6104a8366004613761565b61138b565b3480156104b957600080fd5b5061036e611519565b3480156104ce57600080fd5b506103416115de565b3480156104e357600080fd5b5060fb5460ff1661030c565b3480156104fb57600080fd5b5061039c61050a36600461356a565b611611565b34801561051b57600080fd5b5061039c611747565b34801561053057600080fd5b5061036e7f568cc693d84eb1901f8bcecba154cbdef23ca3cf67efc0a0b698528a06c660f781565b34801561056457600080fd5b5061019254610341906001600160a01b031681565b34801561058557600080fd5b5061036e61059436600461369f565b6000908152610197602052604090206002015490565b3480156105b657600080fd5b5061030c6105c536600461369f565b60009081526101976020526040902060030154151590565b3480156105e957600080fd5b5061036e6105f836600461356a565b6101966020526000908152604090205481565b34801561061757600080fd5b5061030c61062636600461356a565b6001600160a01b03166000908152610195602052604090205460ff1690565b34801561065157600080fd5b5061036e611789565b34801561066657600080fd5b5061039c6106753660046134e7565b6117ed565b34801561068657600080fd5b5061069a61069536600461356a565b6118f6565b6040516103189190613857565b3480156106b357600080fd5b506103416106c236600461369f565b6119e6565b3480156106d357600080fd5b506106e76106e236600461356a565b611a11565b60405161031893929190613888565b34801561070257600080fd5b5061039c6107113660046138b2565b611ac1565b34801561072257600080fd5b5061030c61073136600461356a565b6001600160a01b031660009081526101956020526040902060010154151590565b34801561075e57600080fd5b50610767611b12565b60405161031891906138ca565b34801561078057600080fd5b50610789611b75565b6040516103189190613917565b3480156107a257600080fd5b5061036e7f821b6e3a557148015a918c89e5d092e878a69854a2d1a410635f771bd5a8a3f581565b3480156107d657600080fd5b5061036e6107e536600461394b565b6000918252610197602090815260408084206001600160a01b0393909316845291905290205490565b34801561081a57600080fd5b5061039c610829366004613977565b611bee565b34801561083a57600080fd5b50610789611c55565b34801561084f57600080fd5b5061076761085e36600461369f565b611d18565b34801561086f57600080fd5b5061019154610341906001600160a01b031681565b34801561089057600080fd5b5061036e7ffda1ae526c1fb38407f23e8b7712f7cfacc146f3e340a04221488331e0d4201481565b3480156108c457600080fd5b5061036e611d88565b3480156108d957600080fd5b5061036e6101935481565b3480156108f057600080fd5b5061039c6108ff3660046139d1565b611dec565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f41de683000000000000000000000000000000000000000000000000000000000148061099757507fffffffff0000000000000000000000000000000000000000000000000000000082167f2ae9c60000000000000000000000000000000000000000000000000000000000145b806109e357507fffffffff0000000000000000000000000000000000000000000000000000000082167f52d1902d00000000000000000000000000000000000000000000000000000000145b80610a2f57507fffffffff0000000000000000000000000000000000000000000000000000000082167fafc5b82300000000000000000000000000000000000000000000000000000000145b80610a7b57507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b61012d546000907ffda1ae526c1fb38407f23e8b7712f7cfacc146f3e340a04221488331e0d4201490610ac3906001600160a01b031630335b84600036611fb3565b610acb6120a1565b6001600160a01b038516610b0b576040517f32e63e4400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b0385166000908152610195602052604090206001015415610b5f576040517f91fc82b600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b604051806060016040528060011515815260200142815260200185858080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201829052509390945250506001600160a01b038816815261019560209081526040918290208451815460ff1916901515178155908401516001820155908301519091506002820190610bf89082613aba565b505061019480546001810182556000919091527fa6f1ac7ad7b125ba5a5e1c96b00ad6914f90a503b1ac3d85a9dadbb4c639df920180547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b03881617905550336001600160a01b0316856001600160a01b03167fe72b86315c30bd1bf352c4cf97594ba793f3e31b74bc874ce47ede0df6920ae98686604051610ca4929190613be1565b60405180910390a3849150610cb860018055565b509392505050565b61019254604080517fc75dd54100000000000000000000000000000000000000000000000000000000815290516000926001600160a01b03169163c75dd5419160048083019260209291908290030181865afa158015610d24573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d489190613bf5565b905090565b61012d547ffda1ae526c1fb38407f23e8b7712f7cfacc146f3e340a04221488331e0d4201490610d87906001600160a01b03163033610aba565b6001600160a01b03821660009081526101956020526040902060010154610dea576040517f4c8901850000000000000000000000000000000000000000000000000000000081526001600160a01b03831660048201526024015b60405180910390fd5b6001600160a01b0382166000908152610195602052604090205460ff1615610e3e576040517fcf12acdd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b03821660008181526101956020526040808220805460ff19166001179055517f34521f8891f6149b4baf837b8eea01eeefc28708be34ac8e705484dd34dde8189190a25050565b610e946120a1565b610e9c612100565b610ea461129f565b610eda576040517f6d40818900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b83811015610f1a57610f08858583818110610efa57610efa613c0e565b905060200201358484612155565b80610f1281613c6c565b915050610edd565b50610f2460018055565b50505050565b610f326133de565b5060408051606081018252600181526004602082015260009181019190915290565b610f5c6120a1565b610f64612100565b610f6c61129f565b610fa2576040517f6d40818900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610191546040517f430c2081000000000000000000000000000000000000000000000000000000008152336004820152602481018390526001600160a01b039091169063430c208190604401602060405180830381865afa15801561100b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061102f9190613ca4565b611065576040517fe433766c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600081815261019760205260409020600301546110ae576040517f51387b1a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6110b781612719565b6110c060018055565b50565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001630036111615760405162461bcd60e51b815260206004820152602c60248201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060448201527f64656c656761746563616c6c00000000000000000000000000000000000000006064820152608401610de1565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166111bc7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc546001600160a01b031690565b6001600160a01b0316146112385760405162461bcd60e51b815260206004820152602c60248201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060448201527f6163746976652070726f787900000000000000000000000000000000000000006064820152608401610de1565b6112418161289c565b604080516000808252602082019092526110c0918391906128d6565b61012d547ffda1ae526c1fb38407f23e8b7712f7cfacc146f3e340a04221488331e0d4201490611297906001600160a01b03163033610aba565b6110c0612a76565b61019254604080517f408e272700000000000000000000000000000000000000000000000000000000815290516000926001600160a01b03169163408e27279160048083019260209291908290030181865afa158015611303573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d489190613ca4565b61019254604080517f51b7d39900000000000000000000000000000000000000000000000000000000815290516000926001600160a01b0316916351b7d3999160048083019260209291908290030181865afa158015610d24573d6000803e3d6000fd5b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001630036114295760405162461bcd60e51b815260206004820152602c60248201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060448201527f64656c656761746563616c6c00000000000000000000000000000000000000006064820152608401610de1565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166114847f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc546001600160a01b031690565b6001600160a01b0316146115005760405162461bcd60e51b815260206004820152602c60248201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060448201527f6163746976652070726f787900000000000000000000000000000000000000006064820152608401610de1565b6115098261289c565b611515828260016128d6565b5050565b6000306001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146115b95760405162461bcd60e51b815260206004820152603860248201527f555550535570677261646561626c653a206d757374206e6f742062652063616c60448201527f6c6564207468726f7567682064656c656761746563616c6c00000000000000006064820152608401610de1565b507f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc90565b6000610d487f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc546001600160a01b031690565b61012d547ffda1ae526c1fb38407f23e8b7712f7cfacc146f3e340a04221488331e0d420149061164b906001600160a01b03163033610aba565b6001600160a01b038216600090815261019560205260409020600101546116a9576040517f4c8901850000000000000000000000000000000000000000000000000000000081526001600160a01b0383166004820152602401610de1565b6001600160a01b0382166000908152610195602052604090205460ff166116fc576040517fcf12acdd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b03821660008181526101956020526040808220805460ff19169055517f4a6f8353ec8700967336a2982804d34c6a35d417d5cb457ac11caa9eb917f0d49190a25050565b61012d547ffda1ae526c1fb38407f23e8b7712f7cfacc146f3e340a04221488331e0d4201490611781906001600160a01b03163033610aba565b6110c0612ac8565b61019254604080517f7667180800000000000000000000000000000000000000000000000000000000815290516000926001600160a01b03169163766718089160048083019260209291908290030181865afa158015610d24573d6000803e3d6000fd5b61012d547ffda1ae526c1fb38407f23e8b7712f7cfacc146f3e340a04221488331e0d4201490611827906001600160a01b03163033610aba565b6001600160a01b03841660009081526101956020526040902060010154611885576040517f4c8901850000000000000000000000000000000000000000000000000000000081526001600160a01b0385166004820152602401610de1565b6001600160a01b0384166000908152610195602052604090206002016118ac838583613cc1565b50836001600160a01b03167f98c22290de5c8f771a9b53bc6833b5ad1b69539ef5fdd73a0ebf36fba1cdab6b84846040516118e8929190613be1565b60405180910390a250505050565b6040805160608082018352600080835260208084018290528385018390526001600160a01b038616825261019581529084902084519283018552805460ff161515835260018101549183019190915260028101805493949293919284019161195d90613a27565b80601f016020809104026020016040519081016040528092919081815260200182805461198990613a27565b80156119d65780601f106119ab576101008083540402835291602001916119d6565b820191906000526020600020905b8154815290600101906020018083116119b957829003601f168201915b5050505050815250509050919050565b61019481815481106119f757600080fd5b6000918252602090912001546001600160a01b0316905081565b6101956020526000908152604090208054600182015460028301805460ff909316939192611a3e90613a27565b80601f0160208091040260200160405190810160405280929190818152602001828054611a6a90613a27565b8015611ab75780601f10611a8c57610100808354040283529160200191611ab7565b820191906000526020600020905b815481529060010190602001808311611a9a57829003601f168201915b5050505050905083565b61012d547f568cc693d84eb1901f8bcecba154cbdef23ca3cf67efc0a0b698528a06c660f790611afb906001600160a01b03163033610aba565b611515611b0d36849003840184613dbd565b612b05565b6060610194805480602002602001604051908101604052809291908181526020018280548015611b6b57602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311611b4d575b5050505050905090565b60408051808201909152600080825260208201526040805180820190915261015f80546001600160a01b0381168352602083019074010000000000000000000000000000000000000000900460ff166001811115611bd557611bd56136b8565b6001811115611be657611be66136b8565b905250919050565b611bf66120a1565b611bfe612100565b611c0661129f565b611c3c576040517f6d40818900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611c47838383612155565b611c5060018055565b505050565b60408051808201909152600080825260208201526040805180820190915261015f80546001600160a01b03811683526000929190602083019074010000000000000000000000000000000000000000900460ff166001811115611cba57611cba6136b8565b6001811115611ccb57611ccb6136b8565b90525080519091506001600160a01b0316611d13576040518060400160405280611cfe61012d546001600160a01b031690565b6001600160a01b031681526020016000905290505b919050565b60008181526101976020908152604091829020600101805483518184028101840190945280845260609392830182828015611d7c57602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311611d5e575b50505050509050919050565b61019254604080517fbed2e86b00000000000000000000000000000000000000000000000000000000815290516000926001600160a01b03169163bed2e86b9160048083019260209291908290030181865afa158015610d24573d6000803e3d6000fd5b600054610100900460ff1615808015611e0c5750600054600160ff909116105b80611e265750303b158015611e26575060005460ff166001145b611e985760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a65640000000000000000000000000000000000006064820152608401610de1565b6000805460ff191660011790558015611ed857600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790555b611ee185612c65565b611ee9612ceb565b611ef1612d70565b61019180546001600160a01b038087167fffffffffffffffffffffffff0000000000000000000000000000000000000000928316179092556101928054928516929091169190911790558215611f4957611f49612ac8565b8015611fac57600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050505050565b6040517ffdef91060000000000000000000000000000000000000000000000000000000081526001600160a01b0387169063fdef9106906120009088908890889088908890600401613e1e565b602060405180830381865afa15801561201d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120419190613ca4565b612099576040517f32dbe3b40000000000000000000000000000000000000000000000000000000081526001600160a01b03808816600483015280871660248301528516604482015260648101849052608401610de1565b505050505050565b6002600154036120f35760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610de1565b6002600155565b60018055565b60fb5460ff16156121535760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a20706175736564000000000000000000000000000000006044820152606401610de1565b565b610191546001600160a01b031663430c2081336040517fffffffff0000000000000000000000000000000000000000000000000000000060e084901b1681526001600160a01b03909116600482015260248101869052604401602060405180830381865afa1580156121cb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121ef9190613ca4565b612225576040517fe433766c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610191546040517f72c4a927000000000000000000000000000000000000000000000000000000008152600481018590526000916001600160a01b0316906372c4a92790602401602060405180830381865afa158015612289573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122ad9190613bf5565b9050806000036122e9576040517f7c176b7400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b816000819003612325576040517f198e163000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008581526101976020526040902060030154156123465761234685612719565b6000858152610197602052604081209080805b8481101561239a5787878281811061237357612373613c0e565b6123869260409091020135905083613e51565b91508061239281613c6c565b915050612359565b50806000036123d5576040517f198e163000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b848110156126ec5760008888838181106123f4576123f4613c0e565b905060400201602001602081019061240c919061356a565b9050612433816001600160a01b031660009081526101956020526040902060010154151590565b612474576040517f4c8901850000000000000000000000000000000000000000000000000000000081526001600160a01b0382166004820152602401610de1565b6001600160a01b0381166000908152610195602052604090205460ff166124d2576040517fd2b961e10000000000000000000000000000000000000000000000000000000081526001600160a01b0382166004820152602401610de1565b6001600160a01b03811660009081526020869052604090205415612522576040517ffdebb48000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600083888b8b8681811061253857612538613c0e565b9050604002016000013561254c9190613e64565b6125569190613e7b565b905080600003612592576040517f198e163000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001868101805491820181556000908152602080822090920180547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0386169081179091558152908790526040812080548392906125f9908490613e51565b90915550506001600160a01b0382166000908152610196602052604081208054839290612627908490613e51565b9091555061263790508186613e51565b9450612641611789565b6001600160a01b038316336001600160a01b03167fc2e08dda2639fb332996dc4eee129c35a993f33a0362e69439c5d2e9df903c2e8e856101966000896001600160a01b03166001600160a01b03168152602001908152602001600020548b610193546126ae9190613e51565b60408051948552602085019390935291830152606082015242608082015260a00160405180910390a4505080806126e490613c6c565b9150506123d8565b508161019360008282546127009190613e51565b9091555050506002820155426003909101555050505050565b6000818152610197602052604081206002810182905560038101829055906001820190805b825481101561285d57600083828154811061275b5761275b613c0e565b60009182526020808320909101546001600160a01b031680835287825260408084205461019690935283208054919450919283929161279b908490613eb6565b909155506127ab90508185613e51565b6001600160a01b03831660009081526020889052604081205593506127ce611789565b6001600160a01b038316600081815261019660205260409020546101935433917f7a881a18bc3d2c64d59fea076f490b4df6ca4a14d87059fcab1e4c04ec516bf9918c91879161281f908c90613eb6565b60408051948552602085019390935291830152606082015242608082015260a00160405180910390a45050808061285590613c6c565b91505061273e565b50604080516000815260208101918290525161287d9160018601916133fc565b508061019360008282546128919190613eb6565b909155505050505050565b61012d547f821b6e3a557148015a918c89e5d092e878a69854a2d1a410635f771bd5a8a3f590611515906001600160a01b03163033610aba565b7f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd91435460ff161561290957611c5083612df5565b826001600160a01b03166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015612963575060408051601f3d908101601f1916820190925261296091810190613bf5565b60015b6129d55760405162461bcd60e51b815260206004820152602e60248201527f45524331393637557067726164653a206e657720696d706c656d656e7461746960448201527f6f6e206973206e6f7420555550530000000000000000000000000000000000006064820152608401610de1565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc8114612a6a5760405162461bcd60e51b815260206004820152602960248201527f45524331393637557067726164653a20756e737570706f727465642070726f7860448201527f6961626c655555494400000000000000000000000000000000000000000000006064820152608401610de1565b50611c50838383612ecb565b612a7e612ef0565b60fb805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b612ad0612100565b60fb805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258612aab3390565b8051612b3a906001600160a01b03167f549ea75a00000000000000000000000000000000000000000000000000000000612f42565b8015612b5b5750600181602001516001811115612b5957612b596136b8565b145b15612b9457806040517f266d0fb9000000000000000000000000000000000000000000000000000000008152600401610de19190613917565b805161015f80546001600160a01b039092167fffffffffffffffffffffffff000000000000000000000000000000000000000083168117825560208401518493909183917fffffffffffffffffffffff000000000000000000000000000000000000000000161774010000000000000000000000000000000000000000836001811115612c2357612c236136b8565b02179055509050507f88e879ae0d71faf3aa708f2978daccb99b95243615dc104835b8c5a21c884ae681604051612c5a9190613917565b60405180910390a150565b600054610100900460ff16612ce25760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e670000000000000000000000000000000000000000006064820152608401610de1565b6110c081612f65565b600054610100900460ff16612d685760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e670000000000000000000000000000000000000000006064820152608401610de1565b61215361301d565b600054610100900460ff16612ded5760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e670000000000000000000000000000000000000000006064820152608401610de1565b61215361309a565b6001600160a01b0381163b612e725760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201527f6f74206120636f6e7472616374000000000000000000000000000000000000006064820152608401610de1565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc80547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b612ed483613123565b600082511180612ee15750805b15611c5057610f248383613163565b60fb5460ff166121535760405162461bcd60e51b815260206004820152601460248201527f5061757361626c653a206e6f74207061757365640000000000000000000000006044820152606401610de1565b6000612f4d83613188565b8015612f5e5750612f5e83836131ec565b9392505050565b600054610100900460ff16612fe25760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e670000000000000000000000000000000000000000006064820152608401610de1565b61012d80547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b600054610100900460ff166120fa5760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e670000000000000000000000000000000000000000006064820152608401610de1565b600054610100900460ff166131175760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e670000000000000000000000000000000000000000006064820152608401610de1565b60fb805460ff19169055565b61312c81612df5565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b6060612f5e8383604051806060016040528060278152602001613ef9602791396132bb565b60006131b4827f01ffc9a7000000000000000000000000000000000000000000000000000000006131ec565b8015610a7b57506131e5827fffffffff000000000000000000000000000000000000000000000000000000006131ec565b1592915050565b604080517fffffffff000000000000000000000000000000000000000000000000000000008316602480830191909152825180830390910181526044909101909152602080820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f01ffc9a700000000000000000000000000000000000000000000000000000000178152825160009392849283928392918391908a617530fa92503d915060005190508280156132a4575060208210155b80156132b05750600081115b979650505050505050565b6060600080856001600160a01b0316856040516132d89190613ec9565b600060405180830381855af49150503d8060008114613313576040519150601f19603f3d011682016040523d82523d6000602084013e613318565b606091505b509150915061332986838387613333565b9695505050505050565b606083156133a257825160000361339b576001600160a01b0385163b61339b5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610de1565b50816133ac565b6133ac83836133b4565b949350505050565b8151156133c45781518083602001fd5b8060405162461bcd60e51b8152600401610de19190613ee5565b60405180606001604052806003906020820280368337509192915050565b828054828255906000526020600020908101928215613469579160200282015b8281111561346957825182547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0390911617825560209092019160019091019061341c565b50613475929150613479565b5090565b5b80821115613475576000815560010161347a565b6000602082840312156134a057600080fd5b81357fffffffff0000000000000000000000000000000000000000000000000000000081168114612f5e57600080fd5b80356001600160a01b0381168114611d1357600080fd5b6000806000604084860312156134fc57600080fd5b613505846134d0565b9250602084013567ffffffffffffffff8082111561352257600080fd5b818601915086601f83011261353657600080fd5b81358181111561354557600080fd5b87602082850101111561355757600080fd5b6020830194508093505050509250925092565b60006020828403121561357c57600080fd5b612f5e826134d0565b60008083601f84011261359757600080fd5b50813567ffffffffffffffff8111156135af57600080fd5b6020830191508360208260061b85010111156135ca57600080fd5b9250929050565b600080600080604085870312156135e757600080fd5b843567ffffffffffffffff808211156135ff57600080fd5b818701915087601f83011261361357600080fd5b81358181111561362257600080fd5b8860208260051b850101111561363757600080fd5b60209283019650945090860135908082111561365257600080fd5b5061365f87828801613585565b95989497509550505050565b60608101818360005b600381101561369657815160ff16835260209283019290910190600101613674565b50505092915050565b6000602082840312156136b157600080fd5b5035919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b60208101600383106136fb576136fb6136b8565b91905290565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561375957613759613701565b604052919050565b6000806040838503121561377457600080fd5b61377d836134d0565b915060208084013567ffffffffffffffff8082111561379b57600080fd5b818601915086601f8301126137af57600080fd5b8135818111156137c1576137c1613701565b6137d384601f19601f84011601613730565b915080825287848285010111156137e957600080fd5b80848401858401376000848284010152508093505050509250929050565b60005b8381101561382257818101518382015260200161380a565b50506000910152565b60008151808452613843816020860160208601613807565b601f01601f19169290920160200192915050565b6020815281511515602082015260208201516040820152600060408301516060808401526133ac608084018261382b565b83151581528260208201526060604082015260006138a9606083018461382b565b95945050505050565b6000604082840312156138c457600080fd5b50919050565b6020808252825182820181905260009190848201906040850190845b8181101561390b5783516001600160a01b0316835292840192918401916001016138e6565b50909695505050505050565b81516001600160a01b03168152602082015160408201906002811061393e5761393e6136b8565b8060208401525092915050565b6000806040838503121561395e57600080fd5b8235915061396e602084016134d0565b90509250929050565b60008060006040848603121561398c57600080fd5b83359250602084013567ffffffffffffffff8111156139aa57600080fd5b6139b686828701613585565b9497909650939450505050565b80151581146110c057600080fd5b600080600080608085870312156139e757600080fd5b6139f0856134d0565b93506139fe602086016134d0565b92506040850135613a0e816139c3565b9150613a1c606086016134d0565b905092959194509250565b600181811c90821680613a3b57607f821691505b6020821081036138c4577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b601f821115611c5057600081815260208120601f850160051c81016020861015613a9b5750805b601f850160051c820191505b8181101561209957828155600101613aa7565b815167ffffffffffffffff811115613ad457613ad4613701565b613ae881613ae28454613a27565b84613a74565b602080601f831160018114613b3b5760008415613b055750858301515b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600386901b1c1916600185901b178555612099565b600085815260208120601f198616915b82811015613b6a57888601518255948401946001909101908401613b4b565b5085821015613ba657878501517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600388901b60f8161c191681555b5050505050600190811b01905550565b818352818160208501375060006020828401015260006020601f19601f840116840101905092915050565b6020815260006133ac602083018486613bb6565b600060208284031215613c0757600080fd5b5051919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203613c9d57613c9d613c3d565b5060010190565b600060208284031215613cb657600080fd5b8151612f5e816139c3565b67ffffffffffffffff831115613cd957613cd9613701565b613ced83613ce78354613a27565b83613a74565b6000601f841160018114613d3f5760008515613d095750838201355b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600387901b1c1916600186901b178355611fac565b600083815260209020601f19861690835b82811015613d705786850135825560209485019460019092019101613d50565b5086821015613dab577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60f88860031b161c19848701351681555b505060018560011b0183555050505050565b600060408284031215613dcf57600080fd5b6040516040810181811067ffffffffffffffff82111715613df257613df2613701565b604052613dfe836134d0565b8152602083013560028110613e1257600080fd5b60208201529392505050565b60006001600160a01b038088168352808716602084015250846040830152608060608301526132b0608083018486613bb6565b80820180821115610a7b57610a7b613c3d565b8082028115828204841417610a7b57610a7b613c3d565b600082613eb1577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b81810381811115610a7b57610a7b613c3d565b60008251613edb818460208701613807565b9190910192915050565b602081526000612f5e602083018461382b56fe416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564";
1203
+ const isSuperArgs = (xs) => xs.length > 1;
1204
+ export class TokenGaugeVoter__factory extends ContractFactory {
1205
+ constructor(...args) {
1206
+ if (isSuperArgs(args)) {
1207
+ super(...args);
1208
+ }
1209
+ else {
1210
+ super(_abi, _bytecode, args[0]);
1211
+ }
1212
+ }
1213
+ deploy(overrides) {
1214
+ return super.deploy(overrides || {});
1215
+ }
1216
+ getDeployTransaction(overrides) {
1217
+ return super.getDeployTransaction(overrides || {});
1218
+ }
1219
+ attach(address) {
1220
+ return super.attach(address);
1221
+ }
1222
+ connect(signer) {
1223
+ return super.connect(signer);
1224
+ }
1225
+ static bytecode = _bytecode;
1226
+ static abi = _abi;
1227
+ static createInterface() {
1228
+ return new utils.Interface(_abi);
1229
+ }
1230
+ static connect(address, signerOrProvider) {
1231
+ return new Contract(address, _abi, signerOrProvider);
1232
+ }
1233
+ }
1234
+ //# sourceMappingURL=TokenGaugeVoter__factory.js.map