@bgd-labs/toolbox 0.0.47 → 0.0.48
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.
- package/dist/index.d.mts +1070 -1
- package/dist/index.d.ts +1070 -1
- package/dist/index.js +1396 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1394 -0
- package/dist/index.mjs.map +1 -1
- package/dist/node.d.mts +1 -1
- package/dist/node.d.ts +1 -1
- package/dist/node.js +1396 -0
- package/dist/node.js.map +1 -1
- package/dist/node.mjs +1394 -0
- package/dist/node.mjs.map +1 -1
- package/package.json +2 -1
package/dist/index.d.mts
CHANGED
|
@@ -17383,6 +17383,1017 @@ declare const IWrappedTokenGatewayV3_ABI: readonly [{
|
|
|
17383
17383
|
readonly stateMutability: "nonpayable";
|
|
17384
17384
|
}];
|
|
17385
17385
|
|
|
17386
|
+
declare const Umbrella_IRewardsController_ABI: readonly [{
|
|
17387
|
+
readonly type: "function";
|
|
17388
|
+
readonly name: "calculateCurrentEmission";
|
|
17389
|
+
readonly inputs: readonly [{
|
|
17390
|
+
readonly name: "asset";
|
|
17391
|
+
readonly type: "address";
|
|
17392
|
+
readonly internalType: "address";
|
|
17393
|
+
}, {
|
|
17394
|
+
readonly name: "reward";
|
|
17395
|
+
readonly type: "address";
|
|
17396
|
+
readonly internalType: "address";
|
|
17397
|
+
}];
|
|
17398
|
+
readonly outputs: readonly [{
|
|
17399
|
+
readonly name: "emissionPerSecond";
|
|
17400
|
+
readonly type: "uint256";
|
|
17401
|
+
readonly internalType: "uint256";
|
|
17402
|
+
}];
|
|
17403
|
+
readonly stateMutability: "view";
|
|
17404
|
+
}, {
|
|
17405
|
+
readonly type: "function";
|
|
17406
|
+
readonly name: "calculateCurrentEmissionScaled";
|
|
17407
|
+
readonly inputs: readonly [{
|
|
17408
|
+
readonly name: "asset";
|
|
17409
|
+
readonly type: "address";
|
|
17410
|
+
readonly internalType: "address";
|
|
17411
|
+
}, {
|
|
17412
|
+
readonly name: "reward";
|
|
17413
|
+
readonly type: "address";
|
|
17414
|
+
readonly internalType: "address";
|
|
17415
|
+
}];
|
|
17416
|
+
readonly outputs: readonly [{
|
|
17417
|
+
readonly name: "emissionPerSecondScaled";
|
|
17418
|
+
readonly type: "uint256";
|
|
17419
|
+
readonly internalType: "uint256";
|
|
17420
|
+
}];
|
|
17421
|
+
readonly stateMutability: "view";
|
|
17422
|
+
}, {
|
|
17423
|
+
readonly type: "function";
|
|
17424
|
+
readonly name: "calculateCurrentUserReward";
|
|
17425
|
+
readonly inputs: readonly [{
|
|
17426
|
+
readonly name: "asset";
|
|
17427
|
+
readonly type: "address";
|
|
17428
|
+
readonly internalType: "address";
|
|
17429
|
+
}, {
|
|
17430
|
+
readonly name: "reward";
|
|
17431
|
+
readonly type: "address";
|
|
17432
|
+
readonly internalType: "address";
|
|
17433
|
+
}, {
|
|
17434
|
+
readonly name: "user";
|
|
17435
|
+
readonly type: "address";
|
|
17436
|
+
readonly internalType: "address";
|
|
17437
|
+
}];
|
|
17438
|
+
readonly outputs: readonly [{
|
|
17439
|
+
readonly name: "rewardAccrued";
|
|
17440
|
+
readonly type: "uint256";
|
|
17441
|
+
readonly internalType: "uint256";
|
|
17442
|
+
}];
|
|
17443
|
+
readonly stateMutability: "view";
|
|
17444
|
+
}, {
|
|
17445
|
+
readonly type: "function";
|
|
17446
|
+
readonly name: "calculateCurrentUserRewards";
|
|
17447
|
+
readonly inputs: readonly [{
|
|
17448
|
+
readonly name: "asset";
|
|
17449
|
+
readonly type: "address";
|
|
17450
|
+
readonly internalType: "address";
|
|
17451
|
+
}, {
|
|
17452
|
+
readonly name: "user";
|
|
17453
|
+
readonly type: "address";
|
|
17454
|
+
readonly internalType: "address";
|
|
17455
|
+
}];
|
|
17456
|
+
readonly outputs: readonly [{
|
|
17457
|
+
readonly name: "rewards";
|
|
17458
|
+
readonly type: "address[]";
|
|
17459
|
+
readonly internalType: "address[]";
|
|
17460
|
+
}, {
|
|
17461
|
+
readonly name: "rewardsAccrued";
|
|
17462
|
+
readonly type: "uint256[]";
|
|
17463
|
+
readonly internalType: "uint256[]";
|
|
17464
|
+
}];
|
|
17465
|
+
readonly stateMutability: "view";
|
|
17466
|
+
}, {
|
|
17467
|
+
readonly type: "function";
|
|
17468
|
+
readonly name: "calculateRewardIndex";
|
|
17469
|
+
readonly inputs: readonly [{
|
|
17470
|
+
readonly name: "asset";
|
|
17471
|
+
readonly type: "address";
|
|
17472
|
+
readonly internalType: "address";
|
|
17473
|
+
}, {
|
|
17474
|
+
readonly name: "reward";
|
|
17475
|
+
readonly type: "address";
|
|
17476
|
+
readonly internalType: "address";
|
|
17477
|
+
}];
|
|
17478
|
+
readonly outputs: readonly [{
|
|
17479
|
+
readonly name: "index";
|
|
17480
|
+
readonly type: "uint256";
|
|
17481
|
+
readonly internalType: "uint256";
|
|
17482
|
+
}];
|
|
17483
|
+
readonly stateMutability: "view";
|
|
17484
|
+
}, {
|
|
17485
|
+
readonly type: "function";
|
|
17486
|
+
readonly name: "calculateRewardIndexes";
|
|
17487
|
+
readonly inputs: readonly [{
|
|
17488
|
+
readonly name: "asset";
|
|
17489
|
+
readonly type: "address";
|
|
17490
|
+
readonly internalType: "address";
|
|
17491
|
+
}];
|
|
17492
|
+
readonly outputs: readonly [{
|
|
17493
|
+
readonly name: "rewards";
|
|
17494
|
+
readonly type: "address[]";
|
|
17495
|
+
readonly internalType: "address[]";
|
|
17496
|
+
}, {
|
|
17497
|
+
readonly name: "indexes";
|
|
17498
|
+
readonly type: "uint256[]";
|
|
17499
|
+
readonly internalType: "uint256[]";
|
|
17500
|
+
}];
|
|
17501
|
+
readonly stateMutability: "view";
|
|
17502
|
+
}, {
|
|
17503
|
+
readonly type: "function";
|
|
17504
|
+
readonly name: "claimAllRewards";
|
|
17505
|
+
readonly inputs: readonly [{
|
|
17506
|
+
readonly name: "asset";
|
|
17507
|
+
readonly type: "address";
|
|
17508
|
+
readonly internalType: "address";
|
|
17509
|
+
}, {
|
|
17510
|
+
readonly name: "receiver";
|
|
17511
|
+
readonly type: "address";
|
|
17512
|
+
readonly internalType: "address";
|
|
17513
|
+
}];
|
|
17514
|
+
readonly outputs: readonly [{
|
|
17515
|
+
readonly name: "rewards";
|
|
17516
|
+
readonly type: "address[]";
|
|
17517
|
+
readonly internalType: "address[]";
|
|
17518
|
+
}, {
|
|
17519
|
+
readonly name: "amounts";
|
|
17520
|
+
readonly type: "uint256[]";
|
|
17521
|
+
readonly internalType: "uint256[]";
|
|
17522
|
+
}];
|
|
17523
|
+
readonly stateMutability: "nonpayable";
|
|
17524
|
+
}, {
|
|
17525
|
+
readonly type: "function";
|
|
17526
|
+
readonly name: "claimAllRewards";
|
|
17527
|
+
readonly inputs: readonly [{
|
|
17528
|
+
readonly name: "assets";
|
|
17529
|
+
readonly type: "address[]";
|
|
17530
|
+
readonly internalType: "address[]";
|
|
17531
|
+
}, {
|
|
17532
|
+
readonly name: "receiver";
|
|
17533
|
+
readonly type: "address";
|
|
17534
|
+
readonly internalType: "address";
|
|
17535
|
+
}];
|
|
17536
|
+
readonly outputs: readonly [{
|
|
17537
|
+
readonly name: "rewards";
|
|
17538
|
+
readonly type: "address[][]";
|
|
17539
|
+
readonly internalType: "address[][]";
|
|
17540
|
+
}, {
|
|
17541
|
+
readonly name: "amounts";
|
|
17542
|
+
readonly type: "uint256[][]";
|
|
17543
|
+
readonly internalType: "uint256[][]";
|
|
17544
|
+
}];
|
|
17545
|
+
readonly stateMutability: "nonpayable";
|
|
17546
|
+
}, {
|
|
17547
|
+
readonly type: "function";
|
|
17548
|
+
readonly name: "claimAllRewardsOnBehalf";
|
|
17549
|
+
readonly inputs: readonly [{
|
|
17550
|
+
readonly name: "assets";
|
|
17551
|
+
readonly type: "address[]";
|
|
17552
|
+
readonly internalType: "address[]";
|
|
17553
|
+
}, {
|
|
17554
|
+
readonly name: "user";
|
|
17555
|
+
readonly type: "address";
|
|
17556
|
+
readonly internalType: "address";
|
|
17557
|
+
}, {
|
|
17558
|
+
readonly name: "receiver";
|
|
17559
|
+
readonly type: "address";
|
|
17560
|
+
readonly internalType: "address";
|
|
17561
|
+
}];
|
|
17562
|
+
readonly outputs: readonly [{
|
|
17563
|
+
readonly name: "rewards";
|
|
17564
|
+
readonly type: "address[][]";
|
|
17565
|
+
readonly internalType: "address[][]";
|
|
17566
|
+
}, {
|
|
17567
|
+
readonly name: "amounts";
|
|
17568
|
+
readonly type: "uint256[][]";
|
|
17569
|
+
readonly internalType: "uint256[][]";
|
|
17570
|
+
}];
|
|
17571
|
+
readonly stateMutability: "nonpayable";
|
|
17572
|
+
}, {
|
|
17573
|
+
readonly type: "function";
|
|
17574
|
+
readonly name: "claimAllRewardsOnBehalf";
|
|
17575
|
+
readonly inputs: readonly [{
|
|
17576
|
+
readonly name: "asset";
|
|
17577
|
+
readonly type: "address";
|
|
17578
|
+
readonly internalType: "address";
|
|
17579
|
+
}, {
|
|
17580
|
+
readonly name: "user";
|
|
17581
|
+
readonly type: "address";
|
|
17582
|
+
readonly internalType: "address";
|
|
17583
|
+
}, {
|
|
17584
|
+
readonly name: "receiver";
|
|
17585
|
+
readonly type: "address";
|
|
17586
|
+
readonly internalType: "address";
|
|
17587
|
+
}];
|
|
17588
|
+
readonly outputs: readonly [{
|
|
17589
|
+
readonly name: "rewards";
|
|
17590
|
+
readonly type: "address[]";
|
|
17591
|
+
readonly internalType: "address[]";
|
|
17592
|
+
}, {
|
|
17593
|
+
readonly name: "amounts";
|
|
17594
|
+
readonly type: "uint256[]";
|
|
17595
|
+
readonly internalType: "uint256[]";
|
|
17596
|
+
}];
|
|
17597
|
+
readonly stateMutability: "nonpayable";
|
|
17598
|
+
}, {
|
|
17599
|
+
readonly type: "function";
|
|
17600
|
+
readonly name: "claimAllRewardsPermit";
|
|
17601
|
+
readonly inputs: readonly [{
|
|
17602
|
+
readonly name: "asset";
|
|
17603
|
+
readonly type: "address";
|
|
17604
|
+
readonly internalType: "address";
|
|
17605
|
+
}, {
|
|
17606
|
+
readonly name: "user";
|
|
17607
|
+
readonly type: "address";
|
|
17608
|
+
readonly internalType: "address";
|
|
17609
|
+
}, {
|
|
17610
|
+
readonly name: "receiver";
|
|
17611
|
+
readonly type: "address";
|
|
17612
|
+
readonly internalType: "address";
|
|
17613
|
+
}, {
|
|
17614
|
+
readonly name: "deadline";
|
|
17615
|
+
readonly type: "uint256";
|
|
17616
|
+
readonly internalType: "uint256";
|
|
17617
|
+
}, {
|
|
17618
|
+
readonly name: "sig";
|
|
17619
|
+
readonly type: "tuple";
|
|
17620
|
+
readonly internalType: "struct IRewardsStructs.SignatureParams";
|
|
17621
|
+
readonly components: readonly [{
|
|
17622
|
+
readonly name: "v";
|
|
17623
|
+
readonly type: "uint8";
|
|
17624
|
+
readonly internalType: "uint8";
|
|
17625
|
+
}, {
|
|
17626
|
+
readonly name: "r";
|
|
17627
|
+
readonly type: "bytes32";
|
|
17628
|
+
readonly internalType: "bytes32";
|
|
17629
|
+
}, {
|
|
17630
|
+
readonly name: "s";
|
|
17631
|
+
readonly type: "bytes32";
|
|
17632
|
+
readonly internalType: "bytes32";
|
|
17633
|
+
}];
|
|
17634
|
+
}];
|
|
17635
|
+
readonly outputs: readonly [{
|
|
17636
|
+
readonly name: "rewards";
|
|
17637
|
+
readonly type: "address[]";
|
|
17638
|
+
readonly internalType: "address[]";
|
|
17639
|
+
}, {
|
|
17640
|
+
readonly name: "amounts";
|
|
17641
|
+
readonly type: "uint256[]";
|
|
17642
|
+
readonly internalType: "uint256[]";
|
|
17643
|
+
}];
|
|
17644
|
+
readonly stateMutability: "nonpayable";
|
|
17645
|
+
}, {
|
|
17646
|
+
readonly type: "function";
|
|
17647
|
+
readonly name: "claimSelectedRewards";
|
|
17648
|
+
readonly inputs: readonly [{
|
|
17649
|
+
readonly name: "assets";
|
|
17650
|
+
readonly type: "address[]";
|
|
17651
|
+
readonly internalType: "address[]";
|
|
17652
|
+
}, {
|
|
17653
|
+
readonly name: "rewards";
|
|
17654
|
+
readonly type: "address[][]";
|
|
17655
|
+
readonly internalType: "address[][]";
|
|
17656
|
+
}, {
|
|
17657
|
+
readonly name: "receiver";
|
|
17658
|
+
readonly type: "address";
|
|
17659
|
+
readonly internalType: "address";
|
|
17660
|
+
}];
|
|
17661
|
+
readonly outputs: readonly [{
|
|
17662
|
+
readonly name: "";
|
|
17663
|
+
readonly type: "uint256[][]";
|
|
17664
|
+
readonly internalType: "uint256[][]";
|
|
17665
|
+
}];
|
|
17666
|
+
readonly stateMutability: "nonpayable";
|
|
17667
|
+
}, {
|
|
17668
|
+
readonly type: "function";
|
|
17669
|
+
readonly name: "claimSelectedRewards";
|
|
17670
|
+
readonly inputs: readonly [{
|
|
17671
|
+
readonly name: "asset";
|
|
17672
|
+
readonly type: "address";
|
|
17673
|
+
readonly internalType: "address";
|
|
17674
|
+
}, {
|
|
17675
|
+
readonly name: "rewards";
|
|
17676
|
+
readonly type: "address[]";
|
|
17677
|
+
readonly internalType: "address[]";
|
|
17678
|
+
}, {
|
|
17679
|
+
readonly name: "receiver";
|
|
17680
|
+
readonly type: "address";
|
|
17681
|
+
readonly internalType: "address";
|
|
17682
|
+
}];
|
|
17683
|
+
readonly outputs: readonly [{
|
|
17684
|
+
readonly name: "amounts";
|
|
17685
|
+
readonly type: "uint256[]";
|
|
17686
|
+
readonly internalType: "uint256[]";
|
|
17687
|
+
}];
|
|
17688
|
+
readonly stateMutability: "nonpayable";
|
|
17689
|
+
}, {
|
|
17690
|
+
readonly type: "function";
|
|
17691
|
+
readonly name: "claimSelectedRewardsOnBehalf";
|
|
17692
|
+
readonly inputs: readonly [{
|
|
17693
|
+
readonly name: "asset";
|
|
17694
|
+
readonly type: "address";
|
|
17695
|
+
readonly internalType: "address";
|
|
17696
|
+
}, {
|
|
17697
|
+
readonly name: "rewards";
|
|
17698
|
+
readonly type: "address[]";
|
|
17699
|
+
readonly internalType: "address[]";
|
|
17700
|
+
}, {
|
|
17701
|
+
readonly name: "user";
|
|
17702
|
+
readonly type: "address";
|
|
17703
|
+
readonly internalType: "address";
|
|
17704
|
+
}, {
|
|
17705
|
+
readonly name: "receiver";
|
|
17706
|
+
readonly type: "address";
|
|
17707
|
+
readonly internalType: "address";
|
|
17708
|
+
}];
|
|
17709
|
+
readonly outputs: readonly [{
|
|
17710
|
+
readonly name: "amounts";
|
|
17711
|
+
readonly type: "uint256[]";
|
|
17712
|
+
readonly internalType: "uint256[]";
|
|
17713
|
+
}];
|
|
17714
|
+
readonly stateMutability: "nonpayable";
|
|
17715
|
+
}, {
|
|
17716
|
+
readonly type: "function";
|
|
17717
|
+
readonly name: "claimSelectedRewardsOnBehalf";
|
|
17718
|
+
readonly inputs: readonly [{
|
|
17719
|
+
readonly name: "assets";
|
|
17720
|
+
readonly type: "address[]";
|
|
17721
|
+
readonly internalType: "address[]";
|
|
17722
|
+
}, {
|
|
17723
|
+
readonly name: "rewards";
|
|
17724
|
+
readonly type: "address[][]";
|
|
17725
|
+
readonly internalType: "address[][]";
|
|
17726
|
+
}, {
|
|
17727
|
+
readonly name: "user";
|
|
17728
|
+
readonly type: "address";
|
|
17729
|
+
readonly internalType: "address";
|
|
17730
|
+
}, {
|
|
17731
|
+
readonly name: "receiver";
|
|
17732
|
+
readonly type: "address";
|
|
17733
|
+
readonly internalType: "address";
|
|
17734
|
+
}];
|
|
17735
|
+
readonly outputs: readonly [{
|
|
17736
|
+
readonly name: "";
|
|
17737
|
+
readonly type: "uint256[][]";
|
|
17738
|
+
readonly internalType: "uint256[][]";
|
|
17739
|
+
}];
|
|
17740
|
+
readonly stateMutability: "nonpayable";
|
|
17741
|
+
}, {
|
|
17742
|
+
readonly type: "function";
|
|
17743
|
+
readonly name: "claimSelectedRewardsPermit";
|
|
17744
|
+
readonly inputs: readonly [{
|
|
17745
|
+
readonly name: "asset";
|
|
17746
|
+
readonly type: "address";
|
|
17747
|
+
readonly internalType: "address";
|
|
17748
|
+
}, {
|
|
17749
|
+
readonly name: "rewards";
|
|
17750
|
+
readonly type: "address[]";
|
|
17751
|
+
readonly internalType: "address[]";
|
|
17752
|
+
}, {
|
|
17753
|
+
readonly name: "user";
|
|
17754
|
+
readonly type: "address";
|
|
17755
|
+
readonly internalType: "address";
|
|
17756
|
+
}, {
|
|
17757
|
+
readonly name: "receiver";
|
|
17758
|
+
readonly type: "address";
|
|
17759
|
+
readonly internalType: "address";
|
|
17760
|
+
}, {
|
|
17761
|
+
readonly name: "deadline";
|
|
17762
|
+
readonly type: "uint256";
|
|
17763
|
+
readonly internalType: "uint256";
|
|
17764
|
+
}, {
|
|
17765
|
+
readonly name: "sig";
|
|
17766
|
+
readonly type: "tuple";
|
|
17767
|
+
readonly internalType: "struct IRewardsStructs.SignatureParams";
|
|
17768
|
+
readonly components: readonly [{
|
|
17769
|
+
readonly name: "v";
|
|
17770
|
+
readonly type: "uint8";
|
|
17771
|
+
readonly internalType: "uint8";
|
|
17772
|
+
}, {
|
|
17773
|
+
readonly name: "r";
|
|
17774
|
+
readonly type: "bytes32";
|
|
17775
|
+
readonly internalType: "bytes32";
|
|
17776
|
+
}, {
|
|
17777
|
+
readonly name: "s";
|
|
17778
|
+
readonly type: "bytes32";
|
|
17779
|
+
readonly internalType: "bytes32";
|
|
17780
|
+
}];
|
|
17781
|
+
}];
|
|
17782
|
+
readonly outputs: readonly [{
|
|
17783
|
+
readonly name: "amounts";
|
|
17784
|
+
readonly type: "uint256[]";
|
|
17785
|
+
readonly internalType: "uint256[]";
|
|
17786
|
+
}];
|
|
17787
|
+
readonly stateMutability: "nonpayable";
|
|
17788
|
+
}, {
|
|
17789
|
+
readonly type: "function";
|
|
17790
|
+
readonly name: "configureAssetWithRewards";
|
|
17791
|
+
readonly inputs: readonly [{
|
|
17792
|
+
readonly name: "asset";
|
|
17793
|
+
readonly type: "address";
|
|
17794
|
+
readonly internalType: "address";
|
|
17795
|
+
}, {
|
|
17796
|
+
readonly name: "targetLiquidity";
|
|
17797
|
+
readonly type: "uint256";
|
|
17798
|
+
readonly internalType: "uint256";
|
|
17799
|
+
}, {
|
|
17800
|
+
readonly name: "rewardConfigs";
|
|
17801
|
+
readonly type: "tuple[]";
|
|
17802
|
+
readonly internalType: "struct IRewardsStructs.RewardSetupConfig[]";
|
|
17803
|
+
readonly components: readonly [{
|
|
17804
|
+
readonly name: "reward";
|
|
17805
|
+
readonly type: "address";
|
|
17806
|
+
readonly internalType: "address";
|
|
17807
|
+
}, {
|
|
17808
|
+
readonly name: "rewardPayer";
|
|
17809
|
+
readonly type: "address";
|
|
17810
|
+
readonly internalType: "address";
|
|
17811
|
+
}, {
|
|
17812
|
+
readonly name: "maxEmissionPerSecond";
|
|
17813
|
+
readonly type: "uint256";
|
|
17814
|
+
readonly internalType: "uint256";
|
|
17815
|
+
}, {
|
|
17816
|
+
readonly name: "distributionEnd";
|
|
17817
|
+
readonly type: "uint256";
|
|
17818
|
+
readonly internalType: "uint256";
|
|
17819
|
+
}];
|
|
17820
|
+
}];
|
|
17821
|
+
readonly outputs: readonly [];
|
|
17822
|
+
readonly stateMutability: "nonpayable";
|
|
17823
|
+
}, {
|
|
17824
|
+
readonly type: "function";
|
|
17825
|
+
readonly name: "configureRewards";
|
|
17826
|
+
readonly inputs: readonly [{
|
|
17827
|
+
readonly name: "asset";
|
|
17828
|
+
readonly type: "address";
|
|
17829
|
+
readonly internalType: "address";
|
|
17830
|
+
}, {
|
|
17831
|
+
readonly name: "rewardConfigs";
|
|
17832
|
+
readonly type: "tuple[]";
|
|
17833
|
+
readonly internalType: "struct IRewardsStructs.RewardSetupConfig[]";
|
|
17834
|
+
readonly components: readonly [{
|
|
17835
|
+
readonly name: "reward";
|
|
17836
|
+
readonly type: "address";
|
|
17837
|
+
readonly internalType: "address";
|
|
17838
|
+
}, {
|
|
17839
|
+
readonly name: "rewardPayer";
|
|
17840
|
+
readonly type: "address";
|
|
17841
|
+
readonly internalType: "address";
|
|
17842
|
+
}, {
|
|
17843
|
+
readonly name: "maxEmissionPerSecond";
|
|
17844
|
+
readonly type: "uint256";
|
|
17845
|
+
readonly internalType: "uint256";
|
|
17846
|
+
}, {
|
|
17847
|
+
readonly name: "distributionEnd";
|
|
17848
|
+
readonly type: "uint256";
|
|
17849
|
+
readonly internalType: "uint256";
|
|
17850
|
+
}];
|
|
17851
|
+
}];
|
|
17852
|
+
readonly outputs: readonly [];
|
|
17853
|
+
readonly stateMutability: "nonpayable";
|
|
17854
|
+
}, {
|
|
17855
|
+
readonly type: "function";
|
|
17856
|
+
readonly name: "getAllAssets";
|
|
17857
|
+
readonly inputs: readonly [];
|
|
17858
|
+
readonly outputs: readonly [{
|
|
17859
|
+
readonly name: "assets";
|
|
17860
|
+
readonly type: "address[]";
|
|
17861
|
+
readonly internalType: "address[]";
|
|
17862
|
+
}];
|
|
17863
|
+
readonly stateMutability: "view";
|
|
17864
|
+
}, {
|
|
17865
|
+
readonly type: "function";
|
|
17866
|
+
readonly name: "getAllRewards";
|
|
17867
|
+
readonly inputs: readonly [{
|
|
17868
|
+
readonly name: "asset";
|
|
17869
|
+
readonly type: "address";
|
|
17870
|
+
readonly internalType: "address";
|
|
17871
|
+
}];
|
|
17872
|
+
readonly outputs: readonly [{
|
|
17873
|
+
readonly name: "rewards";
|
|
17874
|
+
readonly type: "address[]";
|
|
17875
|
+
readonly internalType: "address[]";
|
|
17876
|
+
}];
|
|
17877
|
+
readonly stateMutability: "view";
|
|
17878
|
+
}, {
|
|
17879
|
+
readonly type: "function";
|
|
17880
|
+
readonly name: "getAssetAndRewardsData";
|
|
17881
|
+
readonly inputs: readonly [{
|
|
17882
|
+
readonly name: "asset";
|
|
17883
|
+
readonly type: "address";
|
|
17884
|
+
readonly internalType: "address";
|
|
17885
|
+
}];
|
|
17886
|
+
readonly outputs: readonly [{
|
|
17887
|
+
readonly name: "assetData";
|
|
17888
|
+
readonly type: "tuple";
|
|
17889
|
+
readonly internalType: "struct IRewardsStructs.AssetDataExternal";
|
|
17890
|
+
readonly components: readonly [{
|
|
17891
|
+
readonly name: "targetLiquidity";
|
|
17892
|
+
readonly type: "uint256";
|
|
17893
|
+
readonly internalType: "uint256";
|
|
17894
|
+
}, {
|
|
17895
|
+
readonly name: "lastUpdateTimestamp";
|
|
17896
|
+
readonly type: "uint256";
|
|
17897
|
+
readonly internalType: "uint256";
|
|
17898
|
+
}];
|
|
17899
|
+
}, {
|
|
17900
|
+
readonly name: "rewardsData";
|
|
17901
|
+
readonly type: "tuple[]";
|
|
17902
|
+
readonly internalType: "struct IRewardsStructs.RewardDataExternal[]";
|
|
17903
|
+
readonly components: readonly [{
|
|
17904
|
+
readonly name: "addr";
|
|
17905
|
+
readonly type: "address";
|
|
17906
|
+
readonly internalType: "address";
|
|
17907
|
+
}, {
|
|
17908
|
+
readonly name: "index";
|
|
17909
|
+
readonly type: "uint256";
|
|
17910
|
+
readonly internalType: "uint256";
|
|
17911
|
+
}, {
|
|
17912
|
+
readonly name: "maxEmissionPerSecond";
|
|
17913
|
+
readonly type: "uint256";
|
|
17914
|
+
readonly internalType: "uint256";
|
|
17915
|
+
}, {
|
|
17916
|
+
readonly name: "distributionEnd";
|
|
17917
|
+
readonly type: "uint256";
|
|
17918
|
+
readonly internalType: "uint256";
|
|
17919
|
+
}];
|
|
17920
|
+
}];
|
|
17921
|
+
readonly stateMutability: "view";
|
|
17922
|
+
}, {
|
|
17923
|
+
readonly type: "function";
|
|
17924
|
+
readonly name: "getAssetData";
|
|
17925
|
+
readonly inputs: readonly [{
|
|
17926
|
+
readonly name: "asset";
|
|
17927
|
+
readonly type: "address";
|
|
17928
|
+
readonly internalType: "address";
|
|
17929
|
+
}];
|
|
17930
|
+
readonly outputs: readonly [{
|
|
17931
|
+
readonly name: "assetData";
|
|
17932
|
+
readonly type: "tuple";
|
|
17933
|
+
readonly internalType: "struct IRewardsStructs.AssetDataExternal";
|
|
17934
|
+
readonly components: readonly [{
|
|
17935
|
+
readonly name: "targetLiquidity";
|
|
17936
|
+
readonly type: "uint256";
|
|
17937
|
+
readonly internalType: "uint256";
|
|
17938
|
+
}, {
|
|
17939
|
+
readonly name: "lastUpdateTimestamp";
|
|
17940
|
+
readonly type: "uint256";
|
|
17941
|
+
readonly internalType: "uint256";
|
|
17942
|
+
}];
|
|
17943
|
+
}];
|
|
17944
|
+
readonly stateMutability: "view";
|
|
17945
|
+
}, {
|
|
17946
|
+
readonly type: "function";
|
|
17947
|
+
readonly name: "getEmissionData";
|
|
17948
|
+
readonly inputs: readonly [{
|
|
17949
|
+
readonly name: "asset";
|
|
17950
|
+
readonly type: "address";
|
|
17951
|
+
readonly internalType: "address";
|
|
17952
|
+
}, {
|
|
17953
|
+
readonly name: "reward";
|
|
17954
|
+
readonly type: "address";
|
|
17955
|
+
readonly internalType: "address";
|
|
17956
|
+
}];
|
|
17957
|
+
readonly outputs: readonly [{
|
|
17958
|
+
readonly name: "emissionData";
|
|
17959
|
+
readonly type: "tuple";
|
|
17960
|
+
readonly internalType: "struct IRewardsStructs.EmissionData";
|
|
17961
|
+
readonly components: readonly [{
|
|
17962
|
+
readonly name: "targetLiquidity";
|
|
17963
|
+
readonly type: "uint256";
|
|
17964
|
+
readonly internalType: "uint256";
|
|
17965
|
+
}, {
|
|
17966
|
+
readonly name: "targetLiquidityExcess";
|
|
17967
|
+
readonly type: "uint256";
|
|
17968
|
+
readonly internalType: "uint256";
|
|
17969
|
+
}, {
|
|
17970
|
+
readonly name: "maxEmission";
|
|
17971
|
+
readonly type: "uint256";
|
|
17972
|
+
readonly internalType: "uint256";
|
|
17973
|
+
}, {
|
|
17974
|
+
readonly name: "flatEmission";
|
|
17975
|
+
readonly type: "uint256";
|
|
17976
|
+
readonly internalType: "uint256";
|
|
17977
|
+
}];
|
|
17978
|
+
}];
|
|
17979
|
+
readonly stateMutability: "view";
|
|
17980
|
+
}, {
|
|
17981
|
+
readonly type: "function";
|
|
17982
|
+
readonly name: "getRewardData";
|
|
17983
|
+
readonly inputs: readonly [{
|
|
17984
|
+
readonly name: "asset";
|
|
17985
|
+
readonly type: "address";
|
|
17986
|
+
readonly internalType: "address";
|
|
17987
|
+
}, {
|
|
17988
|
+
readonly name: "reward";
|
|
17989
|
+
readonly type: "address";
|
|
17990
|
+
readonly internalType: "address";
|
|
17991
|
+
}];
|
|
17992
|
+
readonly outputs: readonly [{
|
|
17993
|
+
readonly name: "rewardData";
|
|
17994
|
+
readonly type: "tuple";
|
|
17995
|
+
readonly internalType: "struct IRewardsStructs.RewardDataExternal";
|
|
17996
|
+
readonly components: readonly [{
|
|
17997
|
+
readonly name: "addr";
|
|
17998
|
+
readonly type: "address";
|
|
17999
|
+
readonly internalType: "address";
|
|
18000
|
+
}, {
|
|
18001
|
+
readonly name: "index";
|
|
18002
|
+
readonly type: "uint256";
|
|
18003
|
+
readonly internalType: "uint256";
|
|
18004
|
+
}, {
|
|
18005
|
+
readonly name: "maxEmissionPerSecond";
|
|
18006
|
+
readonly type: "uint256";
|
|
18007
|
+
readonly internalType: "uint256";
|
|
18008
|
+
}, {
|
|
18009
|
+
readonly name: "distributionEnd";
|
|
18010
|
+
readonly type: "uint256";
|
|
18011
|
+
readonly internalType: "uint256";
|
|
18012
|
+
}];
|
|
18013
|
+
}];
|
|
18014
|
+
readonly stateMutability: "view";
|
|
18015
|
+
}, {
|
|
18016
|
+
readonly type: "function";
|
|
18017
|
+
readonly name: "getUserDataByAsset";
|
|
18018
|
+
readonly inputs: readonly [{
|
|
18019
|
+
readonly name: "asset";
|
|
18020
|
+
readonly type: "address";
|
|
18021
|
+
readonly internalType: "address";
|
|
18022
|
+
}, {
|
|
18023
|
+
readonly name: "user";
|
|
18024
|
+
readonly type: "address";
|
|
18025
|
+
readonly internalType: "address";
|
|
18026
|
+
}];
|
|
18027
|
+
readonly outputs: readonly [{
|
|
18028
|
+
readonly name: "rewards";
|
|
18029
|
+
readonly type: "address[]";
|
|
18030
|
+
readonly internalType: "address[]";
|
|
18031
|
+
}, {
|
|
18032
|
+
readonly name: "userData";
|
|
18033
|
+
readonly type: "tuple[]";
|
|
18034
|
+
readonly internalType: "struct IRewardsStructs.UserDataExternal[]";
|
|
18035
|
+
readonly components: readonly [{
|
|
18036
|
+
readonly name: "index";
|
|
18037
|
+
readonly type: "uint256";
|
|
18038
|
+
readonly internalType: "uint256";
|
|
18039
|
+
}, {
|
|
18040
|
+
readonly name: "accrued";
|
|
18041
|
+
readonly type: "uint256";
|
|
18042
|
+
readonly internalType: "uint256";
|
|
18043
|
+
}];
|
|
18044
|
+
}];
|
|
18045
|
+
readonly stateMutability: "view";
|
|
18046
|
+
}, {
|
|
18047
|
+
readonly type: "function";
|
|
18048
|
+
readonly name: "getUserDataByReward";
|
|
18049
|
+
readonly inputs: readonly [{
|
|
18050
|
+
readonly name: "asset";
|
|
18051
|
+
readonly type: "address";
|
|
18052
|
+
readonly internalType: "address";
|
|
18053
|
+
}, {
|
|
18054
|
+
readonly name: "reward";
|
|
18055
|
+
readonly type: "address";
|
|
18056
|
+
readonly internalType: "address";
|
|
18057
|
+
}, {
|
|
18058
|
+
readonly name: "user";
|
|
18059
|
+
readonly type: "address";
|
|
18060
|
+
readonly internalType: "address";
|
|
18061
|
+
}];
|
|
18062
|
+
readonly outputs: readonly [{
|
|
18063
|
+
readonly name: "data";
|
|
18064
|
+
readonly type: "tuple";
|
|
18065
|
+
readonly internalType: "struct IRewardsStructs.UserDataExternal";
|
|
18066
|
+
readonly components: readonly [{
|
|
18067
|
+
readonly name: "index";
|
|
18068
|
+
readonly type: "uint256";
|
|
18069
|
+
readonly internalType: "uint256";
|
|
18070
|
+
}, {
|
|
18071
|
+
readonly name: "accrued";
|
|
18072
|
+
readonly type: "uint256";
|
|
18073
|
+
readonly internalType: "uint256";
|
|
18074
|
+
}];
|
|
18075
|
+
}];
|
|
18076
|
+
readonly stateMutability: "view";
|
|
18077
|
+
}, {
|
|
18078
|
+
readonly type: "function";
|
|
18079
|
+
readonly name: "handleAction";
|
|
18080
|
+
readonly inputs: readonly [{
|
|
18081
|
+
readonly name: "totalSupply";
|
|
18082
|
+
readonly type: "uint256";
|
|
18083
|
+
readonly internalType: "uint256";
|
|
18084
|
+
}, {
|
|
18085
|
+
readonly name: "totalAssets";
|
|
18086
|
+
readonly type: "uint256";
|
|
18087
|
+
readonly internalType: "uint256";
|
|
18088
|
+
}, {
|
|
18089
|
+
readonly name: "user";
|
|
18090
|
+
readonly type: "address";
|
|
18091
|
+
readonly internalType: "address";
|
|
18092
|
+
}, {
|
|
18093
|
+
readonly name: "userBalance";
|
|
18094
|
+
readonly type: "uint256";
|
|
18095
|
+
readonly internalType: "uint256";
|
|
18096
|
+
}];
|
|
18097
|
+
readonly outputs: readonly [];
|
|
18098
|
+
readonly stateMutability: "nonpayable";
|
|
18099
|
+
}, {
|
|
18100
|
+
readonly type: "function";
|
|
18101
|
+
readonly name: "setClaimer";
|
|
18102
|
+
readonly inputs: readonly [{
|
|
18103
|
+
readonly name: "claimer";
|
|
18104
|
+
readonly type: "address";
|
|
18105
|
+
readonly internalType: "address";
|
|
18106
|
+
}, {
|
|
18107
|
+
readonly name: "flag";
|
|
18108
|
+
readonly type: "bool";
|
|
18109
|
+
readonly internalType: "bool";
|
|
18110
|
+
}];
|
|
18111
|
+
readonly outputs: readonly [];
|
|
18112
|
+
readonly stateMutability: "nonpayable";
|
|
18113
|
+
}, {
|
|
18114
|
+
readonly type: "function";
|
|
18115
|
+
readonly name: "setClaimer";
|
|
18116
|
+
readonly inputs: readonly [{
|
|
18117
|
+
readonly name: "user";
|
|
18118
|
+
readonly type: "address";
|
|
18119
|
+
readonly internalType: "address";
|
|
18120
|
+
}, {
|
|
18121
|
+
readonly name: "claimer";
|
|
18122
|
+
readonly type: "address";
|
|
18123
|
+
readonly internalType: "address";
|
|
18124
|
+
}, {
|
|
18125
|
+
readonly name: "flag";
|
|
18126
|
+
readonly type: "bool";
|
|
18127
|
+
readonly internalType: "bool";
|
|
18128
|
+
}];
|
|
18129
|
+
readonly outputs: readonly [];
|
|
18130
|
+
readonly stateMutability: "nonpayable";
|
|
18131
|
+
}, {
|
|
18132
|
+
readonly type: "function";
|
|
18133
|
+
readonly name: "updateAsset";
|
|
18134
|
+
readonly inputs: readonly [{
|
|
18135
|
+
readonly name: "asset";
|
|
18136
|
+
readonly type: "address";
|
|
18137
|
+
readonly internalType: "address";
|
|
18138
|
+
}];
|
|
18139
|
+
readonly outputs: readonly [];
|
|
18140
|
+
readonly stateMutability: "nonpayable";
|
|
18141
|
+
}, {
|
|
18142
|
+
readonly type: "event";
|
|
18143
|
+
readonly name: "AssetInitialized";
|
|
18144
|
+
readonly inputs: readonly [{
|
|
18145
|
+
readonly name: "asset";
|
|
18146
|
+
readonly type: "address";
|
|
18147
|
+
readonly indexed: true;
|
|
18148
|
+
readonly internalType: "address";
|
|
18149
|
+
}];
|
|
18150
|
+
readonly anonymous: false;
|
|
18151
|
+
}, {
|
|
18152
|
+
readonly type: "event";
|
|
18153
|
+
readonly name: "ClaimerSet";
|
|
18154
|
+
readonly inputs: readonly [{
|
|
18155
|
+
readonly name: "user";
|
|
18156
|
+
readonly type: "address";
|
|
18157
|
+
readonly indexed: true;
|
|
18158
|
+
readonly internalType: "address";
|
|
18159
|
+
}, {
|
|
18160
|
+
readonly name: "claimer";
|
|
18161
|
+
readonly type: "address";
|
|
18162
|
+
readonly indexed: true;
|
|
18163
|
+
readonly internalType: "address";
|
|
18164
|
+
}, {
|
|
18165
|
+
readonly name: "caller";
|
|
18166
|
+
readonly type: "address";
|
|
18167
|
+
readonly indexed: true;
|
|
18168
|
+
readonly internalType: "address";
|
|
18169
|
+
}, {
|
|
18170
|
+
readonly name: "flag";
|
|
18171
|
+
readonly type: "bool";
|
|
18172
|
+
readonly indexed: false;
|
|
18173
|
+
readonly internalType: "bool";
|
|
18174
|
+
}];
|
|
18175
|
+
readonly anonymous: false;
|
|
18176
|
+
}, {
|
|
18177
|
+
readonly type: "event";
|
|
18178
|
+
readonly name: "LastTimestampUpdated";
|
|
18179
|
+
readonly inputs: readonly [{
|
|
18180
|
+
readonly name: "asset";
|
|
18181
|
+
readonly type: "address";
|
|
18182
|
+
readonly indexed: true;
|
|
18183
|
+
readonly internalType: "address";
|
|
18184
|
+
}, {
|
|
18185
|
+
readonly name: "newTimestamp";
|
|
18186
|
+
readonly type: "uint256";
|
|
18187
|
+
readonly indexed: false;
|
|
18188
|
+
readonly internalType: "uint256";
|
|
18189
|
+
}];
|
|
18190
|
+
readonly anonymous: false;
|
|
18191
|
+
}, {
|
|
18192
|
+
readonly type: "event";
|
|
18193
|
+
readonly name: "RewardClaimed";
|
|
18194
|
+
readonly inputs: readonly [{
|
|
18195
|
+
readonly name: "asset";
|
|
18196
|
+
readonly type: "address";
|
|
18197
|
+
readonly indexed: true;
|
|
18198
|
+
readonly internalType: "address";
|
|
18199
|
+
}, {
|
|
18200
|
+
readonly name: "reward";
|
|
18201
|
+
readonly type: "address";
|
|
18202
|
+
readonly indexed: true;
|
|
18203
|
+
readonly internalType: "address";
|
|
18204
|
+
}, {
|
|
18205
|
+
readonly name: "user";
|
|
18206
|
+
readonly type: "address";
|
|
18207
|
+
readonly indexed: true;
|
|
18208
|
+
readonly internalType: "address";
|
|
18209
|
+
}, {
|
|
18210
|
+
readonly name: "receiver";
|
|
18211
|
+
readonly type: "address";
|
|
18212
|
+
readonly indexed: false;
|
|
18213
|
+
readonly internalType: "address";
|
|
18214
|
+
}, {
|
|
18215
|
+
readonly name: "amount";
|
|
18216
|
+
readonly type: "uint256";
|
|
18217
|
+
readonly indexed: false;
|
|
18218
|
+
readonly internalType: "uint256";
|
|
18219
|
+
}];
|
|
18220
|
+
readonly anonymous: false;
|
|
18221
|
+
}, {
|
|
18222
|
+
readonly type: "event";
|
|
18223
|
+
readonly name: "RewardConfigUpdated";
|
|
18224
|
+
readonly inputs: readonly [{
|
|
18225
|
+
readonly name: "asset";
|
|
18226
|
+
readonly type: "address";
|
|
18227
|
+
readonly indexed: true;
|
|
18228
|
+
readonly internalType: "address";
|
|
18229
|
+
}, {
|
|
18230
|
+
readonly name: "reward";
|
|
18231
|
+
readonly type: "address";
|
|
18232
|
+
readonly indexed: true;
|
|
18233
|
+
readonly internalType: "address";
|
|
18234
|
+
}, {
|
|
18235
|
+
readonly name: "maxEmissionPerSecond";
|
|
18236
|
+
readonly type: "uint256";
|
|
18237
|
+
readonly indexed: false;
|
|
18238
|
+
readonly internalType: "uint256";
|
|
18239
|
+
}, {
|
|
18240
|
+
readonly name: "distributionEnd";
|
|
18241
|
+
readonly type: "uint256";
|
|
18242
|
+
readonly indexed: false;
|
|
18243
|
+
readonly internalType: "uint256";
|
|
18244
|
+
}, {
|
|
18245
|
+
readonly name: "rewardPayer";
|
|
18246
|
+
readonly type: "address";
|
|
18247
|
+
readonly indexed: false;
|
|
18248
|
+
readonly internalType: "address";
|
|
18249
|
+
}];
|
|
18250
|
+
readonly anonymous: false;
|
|
18251
|
+
}, {
|
|
18252
|
+
readonly type: "event";
|
|
18253
|
+
readonly name: "RewardIndexUpdated";
|
|
18254
|
+
readonly inputs: readonly [{
|
|
18255
|
+
readonly name: "asset";
|
|
18256
|
+
readonly type: "address";
|
|
18257
|
+
readonly indexed: true;
|
|
18258
|
+
readonly internalType: "address";
|
|
18259
|
+
}, {
|
|
18260
|
+
readonly name: "reward";
|
|
18261
|
+
readonly type: "address";
|
|
18262
|
+
readonly indexed: true;
|
|
18263
|
+
readonly internalType: "address";
|
|
18264
|
+
}, {
|
|
18265
|
+
readonly name: "newIndex";
|
|
18266
|
+
readonly type: "uint256";
|
|
18267
|
+
readonly indexed: false;
|
|
18268
|
+
readonly internalType: "uint256";
|
|
18269
|
+
}];
|
|
18270
|
+
readonly anonymous: false;
|
|
18271
|
+
}, {
|
|
18272
|
+
readonly type: "event";
|
|
18273
|
+
readonly name: "RewardInitialized";
|
|
18274
|
+
readonly inputs: readonly [{
|
|
18275
|
+
readonly name: "asset";
|
|
18276
|
+
readonly type: "address";
|
|
18277
|
+
readonly indexed: true;
|
|
18278
|
+
readonly internalType: "address";
|
|
18279
|
+
}, {
|
|
18280
|
+
readonly name: "reward";
|
|
18281
|
+
readonly type: "address";
|
|
18282
|
+
readonly indexed: true;
|
|
18283
|
+
readonly internalType: "address";
|
|
18284
|
+
}];
|
|
18285
|
+
readonly anonymous: false;
|
|
18286
|
+
}, {
|
|
18287
|
+
readonly type: "event";
|
|
18288
|
+
readonly name: "TargetLiquidityUpdated";
|
|
18289
|
+
readonly inputs: readonly [{
|
|
18290
|
+
readonly name: "asset";
|
|
18291
|
+
readonly type: "address";
|
|
18292
|
+
readonly indexed: true;
|
|
18293
|
+
readonly internalType: "address";
|
|
18294
|
+
}, {
|
|
18295
|
+
readonly name: "newTargetLiquidity";
|
|
18296
|
+
readonly type: "uint256";
|
|
18297
|
+
readonly indexed: false;
|
|
18298
|
+
readonly internalType: "uint256";
|
|
18299
|
+
}];
|
|
18300
|
+
readonly anonymous: false;
|
|
18301
|
+
}, {
|
|
18302
|
+
readonly type: "event";
|
|
18303
|
+
readonly name: "UserDataUpdated";
|
|
18304
|
+
readonly inputs: readonly [{
|
|
18305
|
+
readonly name: "asset";
|
|
18306
|
+
readonly type: "address";
|
|
18307
|
+
readonly indexed: true;
|
|
18308
|
+
readonly internalType: "address";
|
|
18309
|
+
}, {
|
|
18310
|
+
readonly name: "reward";
|
|
18311
|
+
readonly type: "address";
|
|
18312
|
+
readonly indexed: true;
|
|
18313
|
+
readonly internalType: "address";
|
|
18314
|
+
}, {
|
|
18315
|
+
readonly name: "user";
|
|
18316
|
+
readonly type: "address";
|
|
18317
|
+
readonly indexed: true;
|
|
18318
|
+
readonly internalType: "address";
|
|
18319
|
+
}, {
|
|
18320
|
+
readonly name: "newIndex";
|
|
18321
|
+
readonly type: "uint256";
|
|
18322
|
+
readonly indexed: false;
|
|
18323
|
+
readonly internalType: "uint256";
|
|
18324
|
+
}, {
|
|
18325
|
+
readonly name: "accruedFromLastUpdate";
|
|
18326
|
+
readonly type: "uint256";
|
|
18327
|
+
readonly indexed: false;
|
|
18328
|
+
readonly internalType: "uint256";
|
|
18329
|
+
}];
|
|
18330
|
+
readonly anonymous: false;
|
|
18331
|
+
}, {
|
|
18332
|
+
readonly type: "error";
|
|
18333
|
+
readonly name: "AssetNotInitialized";
|
|
18334
|
+
readonly inputs: readonly [{
|
|
18335
|
+
readonly name: "asset";
|
|
18336
|
+
readonly type: "address";
|
|
18337
|
+
readonly internalType: "address";
|
|
18338
|
+
}];
|
|
18339
|
+
}, {
|
|
18340
|
+
readonly type: "error";
|
|
18341
|
+
readonly name: "ClaimerNotAuthorized";
|
|
18342
|
+
readonly inputs: readonly [{
|
|
18343
|
+
readonly name: "claimer";
|
|
18344
|
+
readonly type: "address";
|
|
18345
|
+
readonly internalType: "address";
|
|
18346
|
+
}, {
|
|
18347
|
+
readonly name: "user";
|
|
18348
|
+
readonly type: "address";
|
|
18349
|
+
readonly internalType: "address";
|
|
18350
|
+
}];
|
|
18351
|
+
}, {
|
|
18352
|
+
readonly type: "error";
|
|
18353
|
+
readonly name: "ExpiredSignature";
|
|
18354
|
+
readonly inputs: readonly [{
|
|
18355
|
+
readonly name: "deadline";
|
|
18356
|
+
readonly type: "uint256";
|
|
18357
|
+
readonly internalType: "uint256";
|
|
18358
|
+
}];
|
|
18359
|
+
}, {
|
|
18360
|
+
readonly type: "error";
|
|
18361
|
+
readonly name: "InvalidDistributionEnd";
|
|
18362
|
+
readonly inputs: readonly [];
|
|
18363
|
+
}, {
|
|
18364
|
+
readonly type: "error";
|
|
18365
|
+
readonly name: "InvalidSigner";
|
|
18366
|
+
readonly inputs: readonly [{
|
|
18367
|
+
readonly name: "signer";
|
|
18368
|
+
readonly type: "address";
|
|
18369
|
+
readonly internalType: "address";
|
|
18370
|
+
}, {
|
|
18371
|
+
readonly name: "owner";
|
|
18372
|
+
readonly type: "address";
|
|
18373
|
+
readonly internalType: "address";
|
|
18374
|
+
}];
|
|
18375
|
+
}, {
|
|
18376
|
+
readonly type: "error";
|
|
18377
|
+
readonly name: "LengthsDontMatch";
|
|
18378
|
+
readonly inputs: readonly [];
|
|
18379
|
+
}, {
|
|
18380
|
+
readonly type: "error";
|
|
18381
|
+
readonly name: "MaxRewardsLengthReached";
|
|
18382
|
+
readonly inputs: readonly [];
|
|
18383
|
+
}, {
|
|
18384
|
+
readonly type: "error";
|
|
18385
|
+
readonly name: "RewardNotInitialized";
|
|
18386
|
+
readonly inputs: readonly [{
|
|
18387
|
+
readonly name: "reward";
|
|
18388
|
+
readonly type: "address";
|
|
18389
|
+
readonly internalType: "address";
|
|
18390
|
+
}];
|
|
18391
|
+
}, {
|
|
18392
|
+
readonly type: "error";
|
|
18393
|
+
readonly name: "ZeroAddress";
|
|
18394
|
+
readonly inputs: readonly [];
|
|
18395
|
+
}];
|
|
18396
|
+
|
|
17386
18397
|
declare const IPoolAddressesProvider_ABI: readonly [{
|
|
17387
18398
|
readonly type: "function";
|
|
17388
18399
|
readonly name: "getACLAdmin";
|
|
@@ -26203,6 +27214,64 @@ declare const IERC1967_ABI: readonly [{
|
|
|
26203
27214
|
readonly anonymous: false;
|
|
26204
27215
|
}];
|
|
26205
27216
|
|
|
27217
|
+
declare const PausableUpgradeable_ABI: readonly [{
|
|
27218
|
+
readonly type: "function";
|
|
27219
|
+
readonly name: "paused";
|
|
27220
|
+
readonly inputs: readonly [];
|
|
27221
|
+
readonly outputs: readonly [{
|
|
27222
|
+
readonly name: "";
|
|
27223
|
+
readonly type: "bool";
|
|
27224
|
+
readonly internalType: "bool";
|
|
27225
|
+
}];
|
|
27226
|
+
readonly stateMutability: "view";
|
|
27227
|
+
}, {
|
|
27228
|
+
readonly type: "event";
|
|
27229
|
+
readonly name: "Initialized";
|
|
27230
|
+
readonly inputs: readonly [{
|
|
27231
|
+
readonly name: "version";
|
|
27232
|
+
readonly type: "uint64";
|
|
27233
|
+
readonly indexed: false;
|
|
27234
|
+
readonly internalType: "uint64";
|
|
27235
|
+
}];
|
|
27236
|
+
readonly anonymous: false;
|
|
27237
|
+
}, {
|
|
27238
|
+
readonly type: "event";
|
|
27239
|
+
readonly name: "Paused";
|
|
27240
|
+
readonly inputs: readonly [{
|
|
27241
|
+
readonly name: "account";
|
|
27242
|
+
readonly type: "address";
|
|
27243
|
+
readonly indexed: false;
|
|
27244
|
+
readonly internalType: "address";
|
|
27245
|
+
}];
|
|
27246
|
+
readonly anonymous: false;
|
|
27247
|
+
}, {
|
|
27248
|
+
readonly type: "event";
|
|
27249
|
+
readonly name: "Unpaused";
|
|
27250
|
+
readonly inputs: readonly [{
|
|
27251
|
+
readonly name: "account";
|
|
27252
|
+
readonly type: "address";
|
|
27253
|
+
readonly indexed: false;
|
|
27254
|
+
readonly internalType: "address";
|
|
27255
|
+
}];
|
|
27256
|
+
readonly anonymous: false;
|
|
27257
|
+
}, {
|
|
27258
|
+
readonly type: "error";
|
|
27259
|
+
readonly name: "EnforcedPause";
|
|
27260
|
+
readonly inputs: readonly [];
|
|
27261
|
+
}, {
|
|
27262
|
+
readonly type: "error";
|
|
27263
|
+
readonly name: "ExpectedPause";
|
|
27264
|
+
readonly inputs: readonly [];
|
|
27265
|
+
}, {
|
|
27266
|
+
readonly type: "error";
|
|
27267
|
+
readonly name: "InvalidInitialization";
|
|
27268
|
+
readonly inputs: readonly [];
|
|
27269
|
+
}, {
|
|
27270
|
+
readonly type: "error";
|
|
27271
|
+
readonly name: "NotInitializing";
|
|
27272
|
+
readonly inputs: readonly [];
|
|
27273
|
+
}];
|
|
27274
|
+
|
|
26206
27275
|
declare const IAuthorizedForwarder_ABI: readonly [{
|
|
26207
27276
|
readonly inputs: readonly [{
|
|
26208
27277
|
readonly internalType: "address";
|
|
@@ -26485,4 +27554,4 @@ declare const Ownable_ABI: readonly [{
|
|
|
26485
27554
|
}];
|
|
26486
27555
|
}];
|
|
26487
27556
|
|
|
26488
|
-
export { AggregatorInterface_ABI, Aip, type AssetInfo, type BlockscoutStyleSourceCode, type BundleParams, ChainId, ChainList, type ContractObject, EVENT_DB, type EtherscanStyleSourceCode, type ExplorerConfig, type GenericIndexerArgs, type GovernanceContract, HALF_RAY, HALF_WAD, HUMAN_READABLE_PAYLOAD_STATE, HUMAN_READABLE_PROPOSAL_STATE, IAToken_ABI, IAaveOracle_ABI, IAaveV3ConfigEngine_ABI, IAccessControl_ABI, IAuthorizedForwarder_ABI, ICollector_ABI, IDualAggregator_ABI, IERC1967_ABI, IERC20Metadata_ABI, IERC20_ABI, IEmissionManager_ABI, IPoolAddressesProvider_ABI, IPoolConfigurator_ABI, IPool_ABI, IReserveInterestRateStrategy_ABI, IRewardsController_ABI, IStataTokenFactory_ABI, IStataTokenV2_ABI, IUmbrellaStakeToken_ABI, IUmbrella_ABI, IWithGuardian_ABI, IWrappedTokenGatewayV3_ABI, type IndexerTopicState, type Input, LTV_PRECISION, Ownable_ABI, type Payload, PayloadState, type PayloadsControllerContract, type Proposal, ProposalState, ProxyAdmin_ABI, RAY, type ReserveConfiguration, SECONDS_PER_YEAR, SelfdestructCheckState, type SoltypeElement, SoltypeType, type StandardJsonInput, type StateDiff, type StateObject, type SupportedChainIds, type TenderlyLog, type TenderlyLogRaw, type TenderlySimRequest, type TenderlySimulationResponse, type TenderlySimulationResponseObject, type TenderlyStackTrace, type Tenderly_createVnetParamsResponse, type Trace, type TransactionInfo, VerificationStatus, WAD, WAD_RAY_RATIO, aaveAddressesProvider_IncentivesControllerSlot, addAssetPrice, addAssetSymbol, alchemyNetworkMap, alchemySupportedChainIds, assetIndexesToAsset, assetToBase, bitmapToIndexes, blockscoutExplorers, calculateAvailableBorrowsMarketReferenceCurrency, calculateCompoundedInterest, calculateHealthFactor, calculateHealthFactorFromBalances, calculateLinearInterest, chainlinkFeeds, checkForSelfdestruct, decodeReserveConfiguration, decodeReserveConfigurationV2, decodeUserConfiguration, diffCode, enhanceLogs, enhanceStateDiff, erc1967_AdminSlot, erc1967_ImplementationSlot, etherscanExplorers, fetchImmutablePoolAddresses, fetchMutablePoolAddresses, fetchPoolAddresses, findAsset, flashbotsClientExtension, flashbotsOnFetchRequest, formatNumberString, genericIndexer, getAlchemyRPC, getBits, getClient, getContractDeploymentBlock, getCurrentDebtBalance, getCurrentLiquidityBalance, getExplicitRPC, getExplorer, getGovernance, getHyperRPC, getImplementationSlot, getLogsRecursive, getMarketReferenceCurrencyAndUsdBalance, getMdContractName, getNetworkEnv, getNonFinalizedPayloads, getNonFinalizedProposals, getNormalizedDebt, getNormalizedIncome, getObjectDiff, getPayloadStorageOverrides, getPayloadsController, getPublicRpc, getQuicknodeRpc, getRPCUrl, getReserveConfigurations, getReserveTokens, getSourceCode, getTenderlyRpc, getVerificationStatus, hyperRPCSupportedNetworks, isPayloadFinal, isProposalFinal, makePayloadExecutableOnTestClient, makeProposalExecutableOnTestClient, onMevHandler, parseBlockscoutStyleSourceCode, parseEtherscanStyleSourceCode, parseLogs, prettifyNumber, priceUpdateDecoder, publicRPCs, quicknodeNetworkMap, rayDiv, rayMul, rayToWad, renderMarkdownStateDiffReport, renderTenderlyReport, routescanExplorers, selfDestructStatusToString, setBits, tenderlyExplorerMap, tenderlyNetworkMap, tenderly_createVnet, tenderly_deleteVnet, tenderly_getVnet, tenderly_logsToAbiLogs, tenderly_pingExplorer, tenderly_sim, tenderly_simVnet, toAddressLink, toBinaryString, toTxLink, transformTenderlyStateDiff, validateAip, verificationStatusToString, wadDiv, wadToRay };
|
|
27557
|
+
export { AggregatorInterface_ABI, Aip, type AssetInfo, type BlockscoutStyleSourceCode, type BundleParams, ChainId, ChainList, type ContractObject, EVENT_DB, type EtherscanStyleSourceCode, type ExplorerConfig, type GenericIndexerArgs, type GovernanceContract, HALF_RAY, HALF_WAD, HUMAN_READABLE_PAYLOAD_STATE, HUMAN_READABLE_PROPOSAL_STATE, IAToken_ABI, IAaveOracle_ABI, IAaveV3ConfigEngine_ABI, IAccessControl_ABI, IAuthorizedForwarder_ABI, ICollector_ABI, IDualAggregator_ABI, IERC1967_ABI, IERC20Metadata_ABI, IERC20_ABI, IEmissionManager_ABI, IPoolAddressesProvider_ABI, IPoolConfigurator_ABI, IPool_ABI, IReserveInterestRateStrategy_ABI, IRewardsController_ABI, IStataTokenFactory_ABI, IStataTokenV2_ABI, IUmbrellaStakeToken_ABI, IUmbrella_ABI, IWithGuardian_ABI, IWrappedTokenGatewayV3_ABI, type IndexerTopicState, type Input, LTV_PRECISION, Ownable_ABI, PausableUpgradeable_ABI, type Payload, PayloadState, type PayloadsControllerContract, type Proposal, ProposalState, ProxyAdmin_ABI, RAY, type ReserveConfiguration, SECONDS_PER_YEAR, SelfdestructCheckState, type SoltypeElement, SoltypeType, type StandardJsonInput, type StateDiff, type StateObject, type SupportedChainIds, type TenderlyLog, type TenderlyLogRaw, type TenderlySimRequest, type TenderlySimulationResponse, type TenderlySimulationResponseObject, type TenderlyStackTrace, type Tenderly_createVnetParamsResponse, type Trace, type TransactionInfo, Umbrella_IRewardsController_ABI, VerificationStatus, WAD, WAD_RAY_RATIO, aaveAddressesProvider_IncentivesControllerSlot, addAssetPrice, addAssetSymbol, alchemyNetworkMap, alchemySupportedChainIds, assetIndexesToAsset, assetToBase, bitmapToIndexes, blockscoutExplorers, calculateAvailableBorrowsMarketReferenceCurrency, calculateCompoundedInterest, calculateHealthFactor, calculateHealthFactorFromBalances, calculateLinearInterest, chainlinkFeeds, checkForSelfdestruct, decodeReserveConfiguration, decodeReserveConfigurationV2, decodeUserConfiguration, diffCode, enhanceLogs, enhanceStateDiff, erc1967_AdminSlot, erc1967_ImplementationSlot, etherscanExplorers, fetchImmutablePoolAddresses, fetchMutablePoolAddresses, fetchPoolAddresses, findAsset, flashbotsClientExtension, flashbotsOnFetchRequest, formatNumberString, genericIndexer, getAlchemyRPC, getBits, getClient, getContractDeploymentBlock, getCurrentDebtBalance, getCurrentLiquidityBalance, getExplicitRPC, getExplorer, getGovernance, getHyperRPC, getImplementationSlot, getLogsRecursive, getMarketReferenceCurrencyAndUsdBalance, getMdContractName, getNetworkEnv, getNonFinalizedPayloads, getNonFinalizedProposals, getNormalizedDebt, getNormalizedIncome, getObjectDiff, getPayloadStorageOverrides, getPayloadsController, getPublicRpc, getQuicknodeRpc, getRPCUrl, getReserveConfigurations, getReserveTokens, getSourceCode, getTenderlyRpc, getVerificationStatus, hyperRPCSupportedNetworks, isPayloadFinal, isProposalFinal, makePayloadExecutableOnTestClient, makeProposalExecutableOnTestClient, onMevHandler, parseBlockscoutStyleSourceCode, parseEtherscanStyleSourceCode, parseLogs, prettifyNumber, priceUpdateDecoder, publicRPCs, quicknodeNetworkMap, rayDiv, rayMul, rayToWad, renderMarkdownStateDiffReport, renderTenderlyReport, routescanExplorers, selfDestructStatusToString, setBits, tenderlyExplorerMap, tenderlyNetworkMap, tenderly_createVnet, tenderly_deleteVnet, tenderly_getVnet, tenderly_logsToAbiLogs, tenderly_pingExplorer, tenderly_sim, tenderly_simVnet, toAddressLink, toBinaryString, toTxLink, transformTenderlyStateDiff, validateAip, verificationStatusToString, wadDiv, wadToRay };
|