@meterio/sumer-js 0.2.101 → 0.2.103

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 (69) hide show
  1. package/dist/browser/sumer.min.js +10 -10
  2. package/dist/nodejs/abi.d.ts +146 -0
  3. package/dist/nodejs/abi.js +4137 -0
  4. package/dist/nodejs/abi.js.map +1 -1
  5. package/dist/nodejs/constants/beramain.d.ts +2 -2
  6. package/dist/nodejs/constants/beramain.js +24 -14
  7. package/dist/nodejs/constants/beramain.js.map +1 -1
  8. package/dist/nodejs/errorABIs.js +1207 -0
  9. package/dist/nodejs/errorABIs.js.map +1 -1
  10. package/dist/nodejs/index.d.ts +146 -0
  11. package/dist/nodejs/typechain/contracts/Bera/CBeraVault.d.ts +974 -0
  12. package/dist/nodejs/typechain/contracts/Bera/CBeraVault.js +3 -0
  13. package/dist/nodejs/typechain/contracts/Bera/CBeraVault.js.map +1 -0
  14. package/dist/nodejs/typechain/contracts/Bera/IPOLErrors.d.ts +20 -0
  15. package/dist/nodejs/typechain/contracts/Bera/IPOLErrors.js +3 -0
  16. package/dist/nodejs/typechain/contracts/Bera/IPOLErrors.js.map +1 -0
  17. package/dist/nodejs/typechain/contracts/Bera/IRewardVault.d.ts +646 -0
  18. package/dist/nodejs/typechain/contracts/Bera/IRewardVault.js +3 -0
  19. package/dist/nodejs/typechain/contracts/Bera/IRewardVault.js.map +1 -0
  20. package/dist/nodejs/typechain/contracts/Bera/base/IStakingRewards.d.ts +161 -0
  21. package/dist/nodejs/typechain/contracts/Bera/base/IStakingRewards.js +3 -0
  22. package/dist/nodejs/typechain/contracts/Bera/base/IStakingRewards.js.map +1 -0
  23. package/dist/nodejs/typechain/contracts/Bera/base/IStakingRewardsErrors.d.ts +20 -0
  24. package/dist/nodejs/typechain/contracts/Bera/base/IStakingRewardsErrors.js +3 -0
  25. package/dist/nodejs/typechain/contracts/Bera/base/IStakingRewardsErrors.js.map +1 -0
  26. package/dist/nodejs/typechain/contracts/Bera/base/index.d.ts +2 -0
  27. package/dist/nodejs/typechain/contracts/Bera/base/index.js +3 -0
  28. package/dist/nodejs/typechain/contracts/Bera/base/index.js.map +1 -0
  29. package/dist/nodejs/typechain/contracts/Bera/index.d.ts +5 -0
  30. package/dist/nodejs/typechain/contracts/Bera/index.js +3 -0
  31. package/dist/nodejs/typechain/contracts/Bera/index.js.map +1 -0
  32. package/dist/nodejs/typechain/contracts/Interfaces/index.d.ts +1 -0
  33. package/dist/nodejs/typechain/contracts/Oracle/index.d.ts +12 -0
  34. package/dist/nodejs/typechain/contracts/index.d.ts +2 -0
  35. package/dist/nodejs/typechain/factories/contracts/Bera/CBeraVault__factory.d.ts +1700 -0
  36. package/dist/nodejs/typechain/factories/contracts/Bera/CBeraVault__factory.js +2200 -0
  37. package/dist/nodejs/typechain/factories/contracts/Bera/CBeraVault__factory.js.map +1 -0
  38. package/dist/nodejs/typechain/factories/contracts/Bera/IPOLErrors__factory.d.ts +259 -0
  39. package/dist/nodejs/typechain/factories/contracts/Bera/IPOLErrors__factory.js +335 -0
  40. package/dist/nodejs/typechain/factories/contracts/Bera/IPOLErrors__factory.js.map +1 -0
  41. package/dist/nodejs/typechain/factories/contracts/Bera/IRewardVault__factory.d.ts +1014 -0
  42. package/dist/nodejs/typechain/factories/contracts/Bera/IRewardVault__factory.js +1307 -0
  43. package/dist/nodejs/typechain/factories/contracts/Bera/IRewardVault__factory.js.map +1 -0
  44. package/dist/nodejs/typechain/factories/contracts/Bera/base/IStakingRewardsErrors__factory.d.ts +35 -0
  45. package/dist/nodejs/typechain/factories/contracts/Bera/base/IStakingRewardsErrors__factory.js +55 -0
  46. package/dist/nodejs/typechain/factories/contracts/Bera/base/IStakingRewardsErrors__factory.js.map +1 -0
  47. package/dist/nodejs/typechain/factories/contracts/Bera/base/IStakingRewards__factory.d.ts +261 -0
  48. package/dist/nodejs/typechain/factories/contracts/Bera/base/IStakingRewards__factory.js +350 -0
  49. package/dist/nodejs/typechain/factories/contracts/Bera/base/IStakingRewards__factory.js.map +1 -0
  50. package/dist/nodejs/typechain/factories/contracts/Bera/base/index.d.ts +2 -0
  51. package/dist/nodejs/typechain/factories/contracts/Bera/base/index.js +11 -0
  52. package/dist/nodejs/typechain/factories/contracts/Bera/base/index.js.map +1 -0
  53. package/dist/nodejs/typechain/factories/contracts/Bera/index.d.ts +4 -0
  54. package/dist/nodejs/typechain/factories/contracts/Bera/index.js +37 -0
  55. package/dist/nodejs/typechain/factories/contracts/Bera/index.js.map +1 -0
  56. package/dist/nodejs/typechain/factories/contracts/Interfaces/index.d.ts +1 -0
  57. package/dist/nodejs/typechain/factories/contracts/Interfaces/index.js +3 -1
  58. package/dist/nodejs/typechain/factories/contracts/Interfaces/index.js.map +1 -1
  59. package/dist/nodejs/typechain/factories/contracts/Oracle/index.d.ts +6 -0
  60. package/dist/nodejs/typechain/factories/contracts/Oracle/index.js +7 -1
  61. package/dist/nodejs/typechain/factories/contracts/Oracle/index.js.map +1 -1
  62. package/dist/nodejs/typechain/factories/contracts/index.d.ts +1 -0
  63. package/dist/nodejs/typechain/factories/contracts/index.js +2 -1
  64. package/dist/nodejs/typechain/factories/contracts/index.js.map +1 -1
  65. package/dist/nodejs/typechain/hardhat.d.ts +342 -0
  66. package/dist/nodejs/typechain/index.d.ts +36 -0
  67. package/dist/nodejs/typechain/index.js +39 -3
  68. package/dist/nodejs/typechain/index.js.map +1 -1
  69. package/package.json +1 -1
@@ -0,0 +1,1307 @@
1
+ "use strict";
2
+ /* Autogenerated file. Do not edit manually. */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.IRewardVault__factory = void 0;
7
+ const ethers_1 = require("ethers");
8
+ const _abi = [
9
+ {
10
+ inputs: [],
11
+ name: "AmountLessThanMinIncentiveRate",
12
+ type: "error",
13
+ },
14
+ {
15
+ inputs: [],
16
+ name: "CannotRecoverIncentiveToken",
17
+ type: "error",
18
+ },
19
+ {
20
+ inputs: [],
21
+ name: "CannotRecoverRewardToken",
22
+ type: "error",
23
+ },
24
+ {
25
+ inputs: [],
26
+ name: "CannotRecoverStakingToken",
27
+ type: "error",
28
+ },
29
+ {
30
+ inputs: [],
31
+ name: "DepositNotMultipleOfGwei",
32
+ type: "error",
33
+ },
34
+ {
35
+ inputs: [],
36
+ name: "DepositValueTooHigh",
37
+ type: "error",
38
+ },
39
+ {
40
+ inputs: [],
41
+ name: "DonateAmountLessThanPayoutAmount",
42
+ type: "error",
43
+ },
44
+ {
45
+ inputs: [],
46
+ name: "IncentiveRateTooHigh",
47
+ type: "error",
48
+ },
49
+ {
50
+ inputs: [],
51
+ name: "IndexOutOfRange",
52
+ type: "error",
53
+ },
54
+ {
55
+ inputs: [],
56
+ name: "InsolventReward",
57
+ type: "error",
58
+ },
59
+ {
60
+ inputs: [],
61
+ name: "InsufficientDelegateStake",
62
+ type: "error",
63
+ },
64
+ {
65
+ inputs: [],
66
+ name: "InsufficientDeposit",
67
+ type: "error",
68
+ },
69
+ {
70
+ inputs: [],
71
+ name: "InsufficientSelfStake",
72
+ type: "error",
73
+ },
74
+ {
75
+ inputs: [],
76
+ name: "InsufficientStake",
77
+ type: "error",
78
+ },
79
+ {
80
+ inputs: [],
81
+ name: "InvalidActivateBoostDelay",
82
+ type: "error",
83
+ },
84
+ {
85
+ inputs: [],
86
+ name: "InvalidBaseRate",
87
+ type: "error",
88
+ },
89
+ {
90
+ inputs: [],
91
+ name: "InvalidBoostMultiplier",
92
+ type: "error",
93
+ },
94
+ {
95
+ inputs: [],
96
+ name: "InvalidCredentialsLength",
97
+ type: "error",
98
+ },
99
+ {
100
+ inputs: [],
101
+ name: "InvalidDropBoostDelay",
102
+ type: "error",
103
+ },
104
+ {
105
+ inputs: [],
106
+ name: "InvalidMaxIncentiveTokensCount",
107
+ type: "error",
108
+ },
109
+ {
110
+ inputs: [],
111
+ name: "InvalidMinBoostedRewardRate",
112
+ type: "error",
113
+ },
114
+ {
115
+ inputs: [],
116
+ name: "InvalidProof",
117
+ type: "error",
118
+ },
119
+ {
120
+ inputs: [],
121
+ name: "InvalidPubKeyLength",
122
+ type: "error",
123
+ },
124
+ {
125
+ inputs: [],
126
+ name: "InvalidRewardAllocationWeights",
127
+ type: "error",
128
+ },
129
+ {
130
+ inputs: [],
131
+ name: "InvalidRewardConvexity",
132
+ type: "error",
133
+ },
134
+ {
135
+ inputs: [],
136
+ name: "InvalidRewardRate",
137
+ type: "error",
138
+ },
139
+ {
140
+ inputs: [],
141
+ name: "InvalidSignatureLength",
142
+ type: "error",
143
+ },
144
+ {
145
+ inputs: [],
146
+ name: "InvalidStartBlock",
147
+ type: "error",
148
+ },
149
+ {
150
+ inputs: [],
151
+ name: "InvalidateDefaultRewardAllocation",
152
+ type: "error",
153
+ },
154
+ {
155
+ inputs: [],
156
+ name: "InvariantCheckFailed",
157
+ type: "error",
158
+ },
159
+ {
160
+ inputs: [],
161
+ name: "MaxNumWeightsPerRewardAllocationIsZero",
162
+ type: "error",
163
+ },
164
+ {
165
+ inputs: [],
166
+ name: "MinIncentiveRateIsZero",
167
+ type: "error",
168
+ },
169
+ {
170
+ inputs: [],
171
+ name: "NotAContract",
172
+ type: "error",
173
+ },
174
+ {
175
+ inputs: [],
176
+ name: "NotApprovedSender",
177
+ type: "error",
178
+ },
179
+ {
180
+ inputs: [],
181
+ name: "NotBGT",
182
+ type: "error",
183
+ },
184
+ {
185
+ inputs: [],
186
+ name: "NotBlockRewardController",
187
+ type: "error",
188
+ },
189
+ {
190
+ inputs: [],
191
+ name: "NotDelegate",
192
+ type: "error",
193
+ },
194
+ {
195
+ inputs: [],
196
+ name: "NotDistributor",
197
+ type: "error",
198
+ },
199
+ {
200
+ inputs: [],
201
+ name: "NotEnoughBalance",
202
+ type: "error",
203
+ },
204
+ {
205
+ inputs: [],
206
+ name: "NotEnoughBoostedBalance",
207
+ type: "error",
208
+ },
209
+ {
210
+ inputs: [],
211
+ name: "NotEnoughTime",
212
+ type: "error",
213
+ },
214
+ {
215
+ inputs: [],
216
+ name: "NotFactoryVault",
217
+ type: "error",
218
+ },
219
+ {
220
+ inputs: [],
221
+ name: "NotFeeCollector",
222
+ type: "error",
223
+ },
224
+ {
225
+ inputs: [],
226
+ name: "NotIncentiveManager",
227
+ type: "error",
228
+ },
229
+ {
230
+ inputs: [],
231
+ name: "NotNewOperator",
232
+ type: "error",
233
+ },
234
+ {
235
+ inputs: [],
236
+ name: "NotOperator",
237
+ type: "error",
238
+ },
239
+ {
240
+ inputs: [],
241
+ name: "NotWhitelistedVault",
242
+ type: "error",
243
+ },
244
+ {
245
+ inputs: [],
246
+ name: "OperatorAlreadySet",
247
+ type: "error",
248
+ },
249
+ {
250
+ inputs: [],
251
+ name: "PayoutAmountIsZero",
252
+ type: "error",
253
+ },
254
+ {
255
+ inputs: [],
256
+ name: "RewardAllocationAlreadyQueued",
257
+ type: "error",
258
+ },
259
+ {
260
+ inputs: [],
261
+ name: "RewardAllocationBlockDelayTooLarge",
262
+ type: "error",
263
+ },
264
+ {
265
+ inputs: [],
266
+ name: "RewardCycleNotEnded",
267
+ type: "error",
268
+ },
269
+ {
270
+ inputs: [],
271
+ name: "RewardsDurationIsZero",
272
+ type: "error",
273
+ },
274
+ {
275
+ inputs: [],
276
+ name: "StakeAmountIsZero",
277
+ type: "error",
278
+ },
279
+ {
280
+ inputs: [],
281
+ name: "TimestampAlreadyProcessed",
282
+ type: "error",
283
+ },
284
+ {
285
+ inputs: [],
286
+ name: "TokenAlreadyWhitelistedOrLimitReached",
287
+ type: "error",
288
+ },
289
+ {
290
+ inputs: [],
291
+ name: "TokenNotWhitelisted",
292
+ type: "error",
293
+ },
294
+ {
295
+ inputs: [],
296
+ name: "TooManyWeights",
297
+ type: "error",
298
+ },
299
+ {
300
+ inputs: [],
301
+ name: "TotalSupplyOverflow",
302
+ type: "error",
303
+ },
304
+ {
305
+ inputs: [],
306
+ name: "WithdrawAmountIsZero",
307
+ type: "error",
308
+ },
309
+ {
310
+ inputs: [],
311
+ name: "ZeroAddress",
312
+ type: "error",
313
+ },
314
+ {
315
+ inputs: [],
316
+ name: "ZeroOperatorOnFirstDeposit",
317
+ type: "error",
318
+ },
319
+ {
320
+ inputs: [],
321
+ name: "ZeroPercentageWeight",
322
+ type: "error",
323
+ },
324
+ {
325
+ anonymous: false,
326
+ inputs: [
327
+ {
328
+ indexed: true,
329
+ internalType: "address",
330
+ name: "account",
331
+ type: "address",
332
+ },
333
+ {
334
+ indexed: true,
335
+ internalType: "address",
336
+ name: "delegate",
337
+ type: "address",
338
+ },
339
+ {
340
+ indexed: false,
341
+ internalType: "uint256",
342
+ name: "amount",
343
+ type: "uint256",
344
+ },
345
+ ],
346
+ name: "DelegateStaked",
347
+ type: "event",
348
+ },
349
+ {
350
+ anonymous: false,
351
+ inputs: [
352
+ {
353
+ indexed: true,
354
+ internalType: "address",
355
+ name: "account",
356
+ type: "address",
357
+ },
358
+ {
359
+ indexed: true,
360
+ internalType: "address",
361
+ name: "delegate",
362
+ type: "address",
363
+ },
364
+ {
365
+ indexed: false,
366
+ internalType: "uint256",
367
+ name: "amount",
368
+ type: "uint256",
369
+ },
370
+ ],
371
+ name: "DelegateWithdrawn",
372
+ type: "event",
373
+ },
374
+ {
375
+ anonymous: false,
376
+ inputs: [
377
+ {
378
+ indexed: true,
379
+ internalType: "address",
380
+ name: "distributor",
381
+ type: "address",
382
+ },
383
+ ],
384
+ name: "DistributorSet",
385
+ type: "event",
386
+ },
387
+ {
388
+ anonymous: false,
389
+ inputs: [
390
+ {
391
+ indexed: true,
392
+ internalType: "address",
393
+ name: "token",
394
+ type: "address",
395
+ },
396
+ {
397
+ indexed: false,
398
+ internalType: "address",
399
+ name: "sender",
400
+ type: "address",
401
+ },
402
+ {
403
+ indexed: false,
404
+ internalType: "uint256",
405
+ name: "amount",
406
+ type: "uint256",
407
+ },
408
+ {
409
+ indexed: false,
410
+ internalType: "uint256",
411
+ name: "incentiveRate",
412
+ type: "uint256",
413
+ },
414
+ ],
415
+ name: "IncentiveAdded",
416
+ type: "event",
417
+ },
418
+ {
419
+ anonymous: false,
420
+ inputs: [
421
+ {
422
+ indexed: true,
423
+ internalType: "address",
424
+ name: "token",
425
+ type: "address",
426
+ },
427
+ {
428
+ indexed: false,
429
+ internalType: "address",
430
+ name: "newManager",
431
+ type: "address",
432
+ },
433
+ {
434
+ indexed: false,
435
+ internalType: "address",
436
+ name: "oldManager",
437
+ type: "address",
438
+ },
439
+ ],
440
+ name: "IncentiveManagerChanged",
441
+ type: "event",
442
+ },
443
+ {
444
+ anonymous: false,
445
+ inputs: [
446
+ {
447
+ indexed: true,
448
+ internalType: "address",
449
+ name: "token",
450
+ type: "address",
451
+ },
452
+ ],
453
+ name: "IncentiveTokenRemoved",
454
+ type: "event",
455
+ },
456
+ {
457
+ anonymous: false,
458
+ inputs: [
459
+ {
460
+ indexed: true,
461
+ internalType: "address",
462
+ name: "token",
463
+ type: "address",
464
+ },
465
+ {
466
+ indexed: false,
467
+ internalType: "uint256",
468
+ name: "minIncentiveRate",
469
+ type: "uint256",
470
+ },
471
+ {
472
+ indexed: false,
473
+ internalType: "address",
474
+ name: "manager",
475
+ type: "address",
476
+ },
477
+ ],
478
+ name: "IncentiveTokenWhitelisted",
479
+ type: "event",
480
+ },
481
+ {
482
+ anonymous: false,
483
+ inputs: [
484
+ {
485
+ indexed: true,
486
+ internalType: "bytes",
487
+ name: "pubkey",
488
+ type: "bytes",
489
+ },
490
+ {
491
+ indexed: true,
492
+ internalType: "address",
493
+ name: "token",
494
+ type: "address",
495
+ },
496
+ {
497
+ indexed: false,
498
+ internalType: "uint256",
499
+ name: "bgtEmitted",
500
+ type: "uint256",
501
+ },
502
+ {
503
+ indexed: false,
504
+ internalType: "uint256",
505
+ name: "amount",
506
+ type: "uint256",
507
+ },
508
+ ],
509
+ name: "IncentivesProcessFailed",
510
+ type: "event",
511
+ },
512
+ {
513
+ anonymous: false,
514
+ inputs: [
515
+ {
516
+ indexed: true,
517
+ internalType: "bytes",
518
+ name: "pubkey",
519
+ type: "bytes",
520
+ },
521
+ {
522
+ indexed: true,
523
+ internalType: "address",
524
+ name: "token",
525
+ type: "address",
526
+ },
527
+ {
528
+ indexed: false,
529
+ internalType: "uint256",
530
+ name: "bgtEmitted",
531
+ type: "uint256",
532
+ },
533
+ {
534
+ indexed: false,
535
+ internalType: "uint256",
536
+ name: "amount",
537
+ type: "uint256",
538
+ },
539
+ ],
540
+ name: "IncentivesProcessed",
541
+ type: "event",
542
+ },
543
+ {
544
+ anonymous: false,
545
+ inputs: [
546
+ {
547
+ indexed: false,
548
+ internalType: "uint8",
549
+ name: "maxIncentiveTokensCount",
550
+ type: "uint8",
551
+ },
552
+ ],
553
+ name: "MaxIncentiveTokensCountUpdated",
554
+ type: "event",
555
+ },
556
+ {
557
+ anonymous: false,
558
+ inputs: [
559
+ {
560
+ indexed: false,
561
+ internalType: "address",
562
+ name: "account",
563
+ type: "address",
564
+ },
565
+ {
566
+ indexed: false,
567
+ internalType: "address",
568
+ name: "operator",
569
+ type: "address",
570
+ },
571
+ ],
572
+ name: "OperatorSet",
573
+ type: "event",
574
+ },
575
+ {
576
+ anonymous: false,
577
+ inputs: [
578
+ {
579
+ indexed: false,
580
+ internalType: "address",
581
+ name: "token",
582
+ type: "address",
583
+ },
584
+ {
585
+ indexed: false,
586
+ internalType: "uint256",
587
+ name: "amount",
588
+ type: "uint256",
589
+ },
590
+ ],
591
+ name: "Recovered",
592
+ type: "event",
593
+ },
594
+ {
595
+ anonymous: false,
596
+ inputs: [
597
+ {
598
+ indexed: false,
599
+ internalType: "uint256",
600
+ name: "reward",
601
+ type: "uint256",
602
+ },
603
+ ],
604
+ name: "RewardAdded",
605
+ type: "event",
606
+ },
607
+ {
608
+ anonymous: false,
609
+ inputs: [
610
+ {
611
+ indexed: true,
612
+ internalType: "address",
613
+ name: "account",
614
+ type: "address",
615
+ },
616
+ {
617
+ indexed: false,
618
+ internalType: "address",
619
+ name: "to",
620
+ type: "address",
621
+ },
622
+ {
623
+ indexed: false,
624
+ internalType: "uint256",
625
+ name: "reward",
626
+ type: "uint256",
627
+ },
628
+ ],
629
+ name: "RewardPaid",
630
+ type: "event",
631
+ },
632
+ {
633
+ anonymous: false,
634
+ inputs: [
635
+ {
636
+ indexed: false,
637
+ internalType: "uint256",
638
+ name: "newDuration",
639
+ type: "uint256",
640
+ },
641
+ ],
642
+ name: "RewardsDurationUpdated",
643
+ type: "event",
644
+ },
645
+ {
646
+ anonymous: false,
647
+ inputs: [
648
+ {
649
+ indexed: true,
650
+ internalType: "address",
651
+ name: "account",
652
+ type: "address",
653
+ },
654
+ {
655
+ indexed: false,
656
+ internalType: "uint256",
657
+ name: "amount",
658
+ type: "uint256",
659
+ },
660
+ ],
661
+ name: "Staked",
662
+ type: "event",
663
+ },
664
+ {
665
+ anonymous: false,
666
+ inputs: [
667
+ {
668
+ indexed: true,
669
+ internalType: "address",
670
+ name: "account",
671
+ type: "address",
672
+ },
673
+ {
674
+ indexed: false,
675
+ internalType: "uint256",
676
+ name: "amount",
677
+ type: "uint256",
678
+ },
679
+ ],
680
+ name: "Withdrawn",
681
+ type: "event",
682
+ },
683
+ {
684
+ inputs: [
685
+ {
686
+ internalType: "address",
687
+ name: "token",
688
+ type: "address",
689
+ },
690
+ {
691
+ internalType: "uint256",
692
+ name: "amount",
693
+ type: "uint256",
694
+ },
695
+ {
696
+ internalType: "uint256",
697
+ name: "incentiveRate",
698
+ type: "uint256",
699
+ },
700
+ ],
701
+ name: "addIncentive",
702
+ outputs: [],
703
+ stateMutability: "nonpayable",
704
+ type: "function",
705
+ },
706
+ {
707
+ inputs: [
708
+ {
709
+ internalType: "address",
710
+ name: "account",
711
+ type: "address",
712
+ },
713
+ ],
714
+ name: "balanceOf",
715
+ outputs: [
716
+ {
717
+ internalType: "uint256",
718
+ name: "",
719
+ type: "uint256",
720
+ },
721
+ ],
722
+ stateMutability: "view",
723
+ type: "function",
724
+ },
725
+ {
726
+ inputs: [
727
+ {
728
+ internalType: "address",
729
+ name: "account",
730
+ type: "address",
731
+ },
732
+ {
733
+ internalType: "uint256",
734
+ name: "amount",
735
+ type: "uint256",
736
+ },
737
+ ],
738
+ name: "delegateStake",
739
+ outputs: [],
740
+ stateMutability: "nonpayable",
741
+ type: "function",
742
+ },
743
+ {
744
+ inputs: [
745
+ {
746
+ internalType: "address",
747
+ name: "account",
748
+ type: "address",
749
+ },
750
+ {
751
+ internalType: "uint256",
752
+ name: "amount",
753
+ type: "uint256",
754
+ },
755
+ ],
756
+ name: "delegateWithdraw",
757
+ outputs: [],
758
+ stateMutability: "nonpayable",
759
+ type: "function",
760
+ },
761
+ {
762
+ inputs: [],
763
+ name: "distributor",
764
+ outputs: [
765
+ {
766
+ internalType: "address",
767
+ name: "",
768
+ type: "address",
769
+ },
770
+ ],
771
+ stateMutability: "view",
772
+ type: "function",
773
+ },
774
+ {
775
+ inputs: [
776
+ {
777
+ internalType: "address",
778
+ name: "account",
779
+ type: "address",
780
+ },
781
+ ],
782
+ name: "earned",
783
+ outputs: [
784
+ {
785
+ internalType: "uint256",
786
+ name: "",
787
+ type: "uint256",
788
+ },
789
+ ],
790
+ stateMutability: "view",
791
+ type: "function",
792
+ },
793
+ {
794
+ inputs: [
795
+ {
796
+ internalType: "address",
797
+ name: "recipient",
798
+ type: "address",
799
+ },
800
+ ],
801
+ name: "exit",
802
+ outputs: [],
803
+ stateMutability: "nonpayable",
804
+ type: "function",
805
+ },
806
+ {
807
+ inputs: [
808
+ {
809
+ internalType: "address",
810
+ name: "account",
811
+ type: "address",
812
+ },
813
+ {
814
+ internalType: "address",
815
+ name: "delegate",
816
+ type: "address",
817
+ },
818
+ ],
819
+ name: "getDelegateStake",
820
+ outputs: [
821
+ {
822
+ internalType: "uint256",
823
+ name: "",
824
+ type: "uint256",
825
+ },
826
+ ],
827
+ stateMutability: "view",
828
+ type: "function",
829
+ },
830
+ {
831
+ inputs: [
832
+ {
833
+ internalType: "address",
834
+ name: "account",
835
+ type: "address",
836
+ },
837
+ {
838
+ internalType: "address",
839
+ name: "recipient",
840
+ type: "address",
841
+ },
842
+ ],
843
+ name: "getReward",
844
+ outputs: [
845
+ {
846
+ internalType: "uint256",
847
+ name: "",
848
+ type: "uint256",
849
+ },
850
+ ],
851
+ stateMutability: "nonpayable",
852
+ type: "function",
853
+ },
854
+ {
855
+ inputs: [],
856
+ name: "getRewardForDuration",
857
+ outputs: [
858
+ {
859
+ internalType: "uint256",
860
+ name: "",
861
+ type: "uint256",
862
+ },
863
+ ],
864
+ stateMutability: "view",
865
+ type: "function",
866
+ },
867
+ {
868
+ inputs: [
869
+ {
870
+ internalType: "address",
871
+ name: "account",
872
+ type: "address",
873
+ },
874
+ ],
875
+ name: "getTotalDelegateStaked",
876
+ outputs: [
877
+ {
878
+ internalType: "uint256",
879
+ name: "",
880
+ type: "uint256",
881
+ },
882
+ ],
883
+ stateMutability: "view",
884
+ type: "function",
885
+ },
886
+ {
887
+ inputs: [],
888
+ name: "getWhitelistedTokens",
889
+ outputs: [
890
+ {
891
+ internalType: "address[]",
892
+ name: "",
893
+ type: "address[]",
894
+ },
895
+ ],
896
+ stateMutability: "view",
897
+ type: "function",
898
+ },
899
+ {
900
+ inputs: [],
901
+ name: "getWhitelistedTokensCount",
902
+ outputs: [
903
+ {
904
+ internalType: "uint256",
905
+ name: "",
906
+ type: "uint256",
907
+ },
908
+ ],
909
+ stateMutability: "view",
910
+ type: "function",
911
+ },
912
+ {
913
+ inputs: [
914
+ {
915
+ internalType: "address",
916
+ name: "_berachef",
917
+ type: "address",
918
+ },
919
+ {
920
+ internalType: "address",
921
+ name: "_bgt",
922
+ type: "address",
923
+ },
924
+ {
925
+ internalType: "address",
926
+ name: "_distributor",
927
+ type: "address",
928
+ },
929
+ {
930
+ internalType: "address",
931
+ name: "_stakingToken",
932
+ type: "address",
933
+ },
934
+ ],
935
+ name: "initialize",
936
+ outputs: [],
937
+ stateMutability: "nonpayable",
938
+ type: "function",
939
+ },
940
+ {
941
+ inputs: [],
942
+ name: "lastTimeRewardApplicable",
943
+ outputs: [
944
+ {
945
+ internalType: "uint256",
946
+ name: "",
947
+ type: "uint256",
948
+ },
949
+ ],
950
+ stateMutability: "view",
951
+ type: "function",
952
+ },
953
+ {
954
+ inputs: [],
955
+ name: "lastUpdateTime",
956
+ outputs: [
957
+ {
958
+ internalType: "uint256",
959
+ name: "",
960
+ type: "uint256",
961
+ },
962
+ ],
963
+ stateMutability: "view",
964
+ type: "function",
965
+ },
966
+ {
967
+ inputs: [
968
+ {
969
+ internalType: "bytes",
970
+ name: "pubkey",
971
+ type: "bytes",
972
+ },
973
+ {
974
+ internalType: "uint256",
975
+ name: "reward",
976
+ type: "uint256",
977
+ },
978
+ ],
979
+ name: "notifyRewardAmount",
980
+ outputs: [],
981
+ stateMutability: "nonpayable",
982
+ type: "function",
983
+ },
984
+ {
985
+ inputs: [
986
+ {
987
+ internalType: "address",
988
+ name: "account",
989
+ type: "address",
990
+ },
991
+ ],
992
+ name: "operator",
993
+ outputs: [
994
+ {
995
+ internalType: "address",
996
+ name: "",
997
+ type: "address",
998
+ },
999
+ ],
1000
+ stateMutability: "view",
1001
+ type: "function",
1002
+ },
1003
+ {
1004
+ inputs: [],
1005
+ name: "pause",
1006
+ outputs: [],
1007
+ stateMutability: "nonpayable",
1008
+ type: "function",
1009
+ },
1010
+ {
1011
+ inputs: [],
1012
+ name: "periodFinish",
1013
+ outputs: [
1014
+ {
1015
+ internalType: "uint256",
1016
+ name: "",
1017
+ type: "uint256",
1018
+ },
1019
+ ],
1020
+ stateMutability: "view",
1021
+ type: "function",
1022
+ },
1023
+ {
1024
+ inputs: [
1025
+ {
1026
+ internalType: "address",
1027
+ name: "tokenAddress",
1028
+ type: "address",
1029
+ },
1030
+ {
1031
+ internalType: "uint256",
1032
+ name: "tokenAmount",
1033
+ type: "uint256",
1034
+ },
1035
+ ],
1036
+ name: "recoverERC20",
1037
+ outputs: [],
1038
+ stateMutability: "nonpayable",
1039
+ type: "function",
1040
+ },
1041
+ {
1042
+ inputs: [
1043
+ {
1044
+ internalType: "address",
1045
+ name: "token",
1046
+ type: "address",
1047
+ },
1048
+ ],
1049
+ name: "removeIncentiveToken",
1050
+ outputs: [],
1051
+ stateMutability: "nonpayable",
1052
+ type: "function",
1053
+ },
1054
+ {
1055
+ inputs: [],
1056
+ name: "rewardPerToken",
1057
+ outputs: [
1058
+ {
1059
+ internalType: "uint256",
1060
+ name: "",
1061
+ type: "uint256",
1062
+ },
1063
+ ],
1064
+ stateMutability: "view",
1065
+ type: "function",
1066
+ },
1067
+ {
1068
+ inputs: [],
1069
+ name: "rewardPerTokenStored",
1070
+ outputs: [
1071
+ {
1072
+ internalType: "uint256",
1073
+ name: "",
1074
+ type: "uint256",
1075
+ },
1076
+ ],
1077
+ stateMutability: "view",
1078
+ type: "function",
1079
+ },
1080
+ {
1081
+ inputs: [],
1082
+ name: "rewardRate",
1083
+ outputs: [
1084
+ {
1085
+ internalType: "uint256",
1086
+ name: "",
1087
+ type: "uint256",
1088
+ },
1089
+ ],
1090
+ stateMutability: "view",
1091
+ type: "function",
1092
+ },
1093
+ {
1094
+ inputs: [
1095
+ {
1096
+ internalType: "address",
1097
+ name: "account",
1098
+ type: "address",
1099
+ },
1100
+ ],
1101
+ name: "rewards",
1102
+ outputs: [
1103
+ {
1104
+ internalType: "uint256",
1105
+ name: "",
1106
+ type: "uint256",
1107
+ },
1108
+ ],
1109
+ stateMutability: "view",
1110
+ type: "function",
1111
+ },
1112
+ {
1113
+ inputs: [],
1114
+ name: "rewardsDuration",
1115
+ outputs: [
1116
+ {
1117
+ internalType: "uint256",
1118
+ name: "",
1119
+ type: "uint256",
1120
+ },
1121
+ ],
1122
+ stateMutability: "view",
1123
+ type: "function",
1124
+ },
1125
+ {
1126
+ inputs: [
1127
+ {
1128
+ internalType: "address",
1129
+ name: "_rewardDistribution",
1130
+ type: "address",
1131
+ },
1132
+ ],
1133
+ name: "setDistributor",
1134
+ outputs: [],
1135
+ stateMutability: "nonpayable",
1136
+ type: "function",
1137
+ },
1138
+ {
1139
+ inputs: [
1140
+ {
1141
+ internalType: "uint8",
1142
+ name: "_maxIncentiveTokensCount",
1143
+ type: "uint8",
1144
+ },
1145
+ ],
1146
+ name: "setMaxIncentiveTokensCount",
1147
+ outputs: [],
1148
+ stateMutability: "nonpayable",
1149
+ type: "function",
1150
+ },
1151
+ {
1152
+ inputs: [
1153
+ {
1154
+ internalType: "address",
1155
+ name: "_operator",
1156
+ type: "address",
1157
+ },
1158
+ ],
1159
+ name: "setOperator",
1160
+ outputs: [],
1161
+ stateMutability: "nonpayable",
1162
+ type: "function",
1163
+ },
1164
+ {
1165
+ inputs: [
1166
+ {
1167
+ internalType: "uint256",
1168
+ name: "_rewardsDuration",
1169
+ type: "uint256",
1170
+ },
1171
+ ],
1172
+ name: "setRewardsDuration",
1173
+ outputs: [],
1174
+ stateMutability: "nonpayable",
1175
+ type: "function",
1176
+ },
1177
+ {
1178
+ inputs: [
1179
+ {
1180
+ internalType: "uint256",
1181
+ name: "amount",
1182
+ type: "uint256",
1183
+ },
1184
+ ],
1185
+ name: "stake",
1186
+ outputs: [],
1187
+ stateMutability: "nonpayable",
1188
+ type: "function",
1189
+ },
1190
+ {
1191
+ inputs: [],
1192
+ name: "totalSupply",
1193
+ outputs: [
1194
+ {
1195
+ internalType: "uint256",
1196
+ name: "",
1197
+ type: "uint256",
1198
+ },
1199
+ ],
1200
+ stateMutability: "view",
1201
+ type: "function",
1202
+ },
1203
+ {
1204
+ inputs: [],
1205
+ name: "undistributedRewards",
1206
+ outputs: [
1207
+ {
1208
+ internalType: "uint256",
1209
+ name: "",
1210
+ type: "uint256",
1211
+ },
1212
+ ],
1213
+ stateMutability: "view",
1214
+ type: "function",
1215
+ },
1216
+ {
1217
+ inputs: [],
1218
+ name: "unpause",
1219
+ outputs: [],
1220
+ stateMutability: "nonpayable",
1221
+ type: "function",
1222
+ },
1223
+ {
1224
+ inputs: [
1225
+ {
1226
+ internalType: "address",
1227
+ name: "token",
1228
+ type: "address",
1229
+ },
1230
+ {
1231
+ internalType: "address",
1232
+ name: "newManager",
1233
+ type: "address",
1234
+ },
1235
+ ],
1236
+ name: "updateIncentiveManager",
1237
+ outputs: [],
1238
+ stateMutability: "nonpayable",
1239
+ type: "function",
1240
+ },
1241
+ {
1242
+ inputs: [
1243
+ {
1244
+ internalType: "address",
1245
+ name: "account",
1246
+ type: "address",
1247
+ },
1248
+ ],
1249
+ name: "userRewardPerTokenPaid",
1250
+ outputs: [
1251
+ {
1252
+ internalType: "uint256",
1253
+ name: "",
1254
+ type: "uint256",
1255
+ },
1256
+ ],
1257
+ stateMutability: "view",
1258
+ type: "function",
1259
+ },
1260
+ {
1261
+ inputs: [
1262
+ {
1263
+ internalType: "address",
1264
+ name: "token",
1265
+ type: "address",
1266
+ },
1267
+ {
1268
+ internalType: "uint256",
1269
+ name: "minIncentiveRate",
1270
+ type: "uint256",
1271
+ },
1272
+ {
1273
+ internalType: "address",
1274
+ name: "manager",
1275
+ type: "address",
1276
+ },
1277
+ ],
1278
+ name: "whitelistIncentiveToken",
1279
+ outputs: [],
1280
+ stateMutability: "nonpayable",
1281
+ type: "function",
1282
+ },
1283
+ {
1284
+ inputs: [
1285
+ {
1286
+ internalType: "uint256",
1287
+ name: "amount",
1288
+ type: "uint256",
1289
+ },
1290
+ ],
1291
+ name: "withdraw",
1292
+ outputs: [],
1293
+ stateMutability: "nonpayable",
1294
+ type: "function",
1295
+ },
1296
+ ];
1297
+ class IRewardVault__factory {
1298
+ static createInterface() {
1299
+ return new ethers_1.Interface(_abi);
1300
+ }
1301
+ static connect(address, runner) {
1302
+ return new ethers_1.Contract(address, _abi, runner);
1303
+ }
1304
+ }
1305
+ exports.IRewardVault__factory = IRewardVault__factory;
1306
+ IRewardVault__factory.abi = _abi;
1307
+ //# sourceMappingURL=IRewardVault__factory.js.map