@merkl/contracts 1.2.29 → 1.2.31

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