@merkl/contracts 0.4.7 → 0.4.9

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