@gearbox-protocol/deploy-tools 5.6.2 → 5.6.3
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.mjs +500 -1968
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -347539,64 +347539,28 @@ var iCreditAccountCompressorAbi = [
|
|
|
347539
347539
|
type: "function",
|
|
347540
347540
|
name: "contractType",
|
|
347541
347541
|
inputs: [],
|
|
347542
|
-
outputs: [
|
|
347543
|
-
{
|
|
347544
|
-
name: "",
|
|
347545
|
-
type: "bytes32",
|
|
347546
|
-
internalType: "bytes32"
|
|
347547
|
-
}
|
|
347548
|
-
],
|
|
347542
|
+
outputs: [{ name: "", type: "bytes32", internalType: "bytes32" }],
|
|
347549
347543
|
stateMutability: "view"
|
|
347550
347544
|
},
|
|
347551
347545
|
{
|
|
347552
347546
|
type: "function",
|
|
347553
347547
|
name: "countCreditAccounts",
|
|
347554
347548
|
inputs: [
|
|
347555
|
-
{
|
|
347556
|
-
name: "creditManager",
|
|
347557
|
-
type: "address",
|
|
347558
|
-
internalType: "address"
|
|
347559
|
-
},
|
|
347549
|
+
{ name: "creditManager", type: "address", internalType: "address" },
|
|
347560
347550
|
{
|
|
347561
347551
|
name: "caFilter",
|
|
347562
347552
|
type: "tuple",
|
|
347563
347553
|
internalType: "struct CreditAccountFilter",
|
|
347564
347554
|
components: [
|
|
347565
|
-
{
|
|
347566
|
-
|
|
347567
|
-
|
|
347568
|
-
|
|
347569
|
-
}
|
|
347570
|
-
{
|
|
347571
|
-
name: "includeZeroDebt",
|
|
347572
|
-
type: "bool",
|
|
347573
|
-
internalType: "bool"
|
|
347574
|
-
},
|
|
347575
|
-
{
|
|
347576
|
-
name: "minHealthFactor",
|
|
347577
|
-
type: "uint16",
|
|
347578
|
-
internalType: "uint16"
|
|
347579
|
-
},
|
|
347580
|
-
{
|
|
347581
|
-
name: "maxHealthFactor",
|
|
347582
|
-
type: "uint16",
|
|
347583
|
-
internalType: "uint16"
|
|
347584
|
-
},
|
|
347585
|
-
{
|
|
347586
|
-
name: "reverting",
|
|
347587
|
-
type: "bool",
|
|
347588
|
-
internalType: "bool"
|
|
347589
|
-
}
|
|
347555
|
+
{ name: "owner", type: "address", internalType: "address" },
|
|
347556
|
+
{ name: "includeZeroDebt", type: "bool", internalType: "bool" },
|
|
347557
|
+
{ name: "minHealthFactor", type: "uint16", internalType: "uint16" },
|
|
347558
|
+
{ name: "maxHealthFactor", type: "uint16", internalType: "uint16" },
|
|
347559
|
+
{ name: "reverting", type: "bool", internalType: "bool" }
|
|
347590
347560
|
]
|
|
347591
347561
|
}
|
|
347592
347562
|
],
|
|
347593
|
-
outputs: [
|
|
347594
|
-
{
|
|
347595
|
-
name: "",
|
|
347596
|
-
type: "uint256",
|
|
347597
|
-
internalType: "uint256"
|
|
347598
|
-
}
|
|
347599
|
-
],
|
|
347563
|
+
outputs: [{ name: "", type: "uint256", internalType: "uint256" }],
|
|
347600
347564
|
stateMutability: "view"
|
|
347601
347565
|
},
|
|
347602
347566
|
{
|
|
@@ -347613,16 +347577,8 @@ var iCreditAccountCompressorAbi = [
|
|
|
347613
347577
|
type: "address[]",
|
|
347614
347578
|
internalType: "address[]"
|
|
347615
347579
|
},
|
|
347616
|
-
{
|
|
347617
|
-
|
|
347618
|
-
type: "address[]",
|
|
347619
|
-
internalType: "address[]"
|
|
347620
|
-
},
|
|
347621
|
-
{
|
|
347622
|
-
name: "underlying",
|
|
347623
|
-
type: "address",
|
|
347624
|
-
internalType: "address"
|
|
347625
|
-
}
|
|
347580
|
+
{ name: "pools", type: "address[]", internalType: "address[]" },
|
|
347581
|
+
{ name: "underlying", type: "address", internalType: "address" }
|
|
347626
347582
|
]
|
|
347627
347583
|
},
|
|
347628
347584
|
{
|
|
@@ -347630,52 +347586,22 @@ var iCreditAccountCompressorAbi = [
|
|
|
347630
347586
|
type: "tuple",
|
|
347631
347587
|
internalType: "struct CreditAccountFilter",
|
|
347632
347588
|
components: [
|
|
347633
|
-
{
|
|
347634
|
-
|
|
347635
|
-
|
|
347636
|
-
|
|
347637
|
-
}
|
|
347638
|
-
{
|
|
347639
|
-
name: "includeZeroDebt",
|
|
347640
|
-
type: "bool",
|
|
347641
|
-
internalType: "bool"
|
|
347642
|
-
},
|
|
347643
|
-
{
|
|
347644
|
-
name: "minHealthFactor",
|
|
347645
|
-
type: "uint16",
|
|
347646
|
-
internalType: "uint16"
|
|
347647
|
-
},
|
|
347648
|
-
{
|
|
347649
|
-
name: "maxHealthFactor",
|
|
347650
|
-
type: "uint16",
|
|
347651
|
-
internalType: "uint16"
|
|
347652
|
-
},
|
|
347653
|
-
{
|
|
347654
|
-
name: "reverting",
|
|
347655
|
-
type: "bool",
|
|
347656
|
-
internalType: "bool"
|
|
347657
|
-
}
|
|
347589
|
+
{ name: "owner", type: "address", internalType: "address" },
|
|
347590
|
+
{ name: "includeZeroDebt", type: "bool", internalType: "bool" },
|
|
347591
|
+
{ name: "minHealthFactor", type: "uint16", internalType: "uint16" },
|
|
347592
|
+
{ name: "maxHealthFactor", type: "uint16", internalType: "uint16" },
|
|
347593
|
+
{ name: "reverting", type: "bool", internalType: "bool" }
|
|
347658
347594
|
]
|
|
347659
347595
|
}
|
|
347660
347596
|
],
|
|
347661
|
-
outputs: [
|
|
347662
|
-
{
|
|
347663
|
-
name: "",
|
|
347664
|
-
type: "uint256",
|
|
347665
|
-
internalType: "uint256"
|
|
347666
|
-
}
|
|
347667
|
-
],
|
|
347597
|
+
outputs: [{ name: "", type: "uint256", internalType: "uint256" }],
|
|
347668
347598
|
stateMutability: "view"
|
|
347669
347599
|
},
|
|
347670
347600
|
{
|
|
347671
347601
|
type: "function",
|
|
347672
347602
|
name: "getCreditAccountData",
|
|
347673
347603
|
inputs: [
|
|
347674
|
-
{
|
|
347675
|
-
name: "creditAccount",
|
|
347676
|
-
type: "address",
|
|
347677
|
-
internalType: "address"
|
|
347678
|
-
}
|
|
347604
|
+
{ name: "creditAccount", type: "address", internalType: "address" }
|
|
347679
347605
|
],
|
|
347680
347606
|
outputs: [
|
|
347681
347607
|
{
|
|
@@ -347683,116 +347609,36 @@ var iCreditAccountCompressorAbi = [
|
|
|
347683
347609
|
type: "tuple",
|
|
347684
347610
|
internalType: "struct CreditAccountData",
|
|
347685
347611
|
components: [
|
|
347686
|
-
{
|
|
347687
|
-
|
|
347688
|
-
|
|
347689
|
-
|
|
347690
|
-
},
|
|
347691
|
-
{
|
|
347692
|
-
name: "creditManager",
|
|
347693
|
-
type: "address",
|
|
347694
|
-
internalType: "address"
|
|
347695
|
-
},
|
|
347696
|
-
{
|
|
347697
|
-
name: "creditFacade",
|
|
347698
|
-
type: "address",
|
|
347699
|
-
internalType: "address"
|
|
347700
|
-
},
|
|
347701
|
-
{
|
|
347702
|
-
name: "underlying",
|
|
347703
|
-
type: "address",
|
|
347704
|
-
internalType: "address"
|
|
347705
|
-
},
|
|
347706
|
-
{
|
|
347707
|
-
name: "owner",
|
|
347708
|
-
type: "address",
|
|
347709
|
-
internalType: "address"
|
|
347710
|
-
},
|
|
347711
|
-
{
|
|
347712
|
-
name: "expirationDate",
|
|
347713
|
-
type: "uint40",
|
|
347714
|
-
internalType: "uint40"
|
|
347715
|
-
},
|
|
347612
|
+
{ name: "creditAccount", type: "address", internalType: "address" },
|
|
347613
|
+
{ name: "creditManager", type: "address", internalType: "address" },
|
|
347614
|
+
{ name: "creditFacade", type: "address", internalType: "address" },
|
|
347615
|
+
{ name: "underlying", type: "address", internalType: "address" },
|
|
347616
|
+
{ name: "owner", type: "address", internalType: "address" },
|
|
347617
|
+
{ name: "expirationDate", type: "uint40", internalType: "uint40" },
|
|
347716
347618
|
{
|
|
347717
347619
|
name: "enabledTokensMask",
|
|
347718
347620
|
type: "uint256",
|
|
347719
347621
|
internalType: "uint256"
|
|
347720
347622
|
},
|
|
347721
|
-
{
|
|
347722
|
-
|
|
347723
|
-
|
|
347724
|
-
|
|
347725
|
-
},
|
|
347726
|
-
{
|
|
347727
|
-
|
|
347728
|
-
|
|
347729
|
-
|
|
347730
|
-
},
|
|
347731
|
-
{
|
|
347732
|
-
name: "accruedFees",
|
|
347733
|
-
type: "uint256",
|
|
347734
|
-
internalType: "uint256"
|
|
347735
|
-
},
|
|
347736
|
-
{
|
|
347737
|
-
name: "totalDebtUSD",
|
|
347738
|
-
type: "uint256",
|
|
347739
|
-
internalType: "uint256"
|
|
347740
|
-
},
|
|
347741
|
-
{
|
|
347742
|
-
name: "totalValueUSD",
|
|
347743
|
-
type: "uint256",
|
|
347744
|
-
internalType: "uint256"
|
|
347745
|
-
},
|
|
347746
|
-
{
|
|
347747
|
-
name: "twvUSD",
|
|
347748
|
-
type: "uint256",
|
|
347749
|
-
internalType: "uint256"
|
|
347750
|
-
},
|
|
347751
|
-
{
|
|
347752
|
-
name: "totalValue",
|
|
347753
|
-
type: "uint256",
|
|
347754
|
-
internalType: "uint256"
|
|
347755
|
-
},
|
|
347756
|
-
{
|
|
347757
|
-
name: "healthFactor",
|
|
347758
|
-
type: "uint16",
|
|
347759
|
-
internalType: "uint16"
|
|
347760
|
-
},
|
|
347761
|
-
{
|
|
347762
|
-
name: "success",
|
|
347763
|
-
type: "bool",
|
|
347764
|
-
internalType: "bool"
|
|
347765
|
-
},
|
|
347623
|
+
{ name: "debt", type: "uint256", internalType: "uint256" },
|
|
347624
|
+
{ name: "accruedInterest", type: "uint256", internalType: "uint256" },
|
|
347625
|
+
{ name: "accruedFees", type: "uint256", internalType: "uint256" },
|
|
347626
|
+
{ name: "totalDebtUSD", type: "uint256", internalType: "uint256" },
|
|
347627
|
+
{ name: "totalValueUSD", type: "uint256", internalType: "uint256" },
|
|
347628
|
+
{ name: "twvUSD", type: "uint256", internalType: "uint256" },
|
|
347629
|
+
{ name: "totalValue", type: "uint256", internalType: "uint256" },
|
|
347630
|
+
{ name: "healthFactor", type: "uint16", internalType: "uint16" },
|
|
347631
|
+
{ name: "success", type: "bool", internalType: "bool" },
|
|
347766
347632
|
{
|
|
347767
347633
|
name: "tokens",
|
|
347768
347634
|
type: "tuple[]",
|
|
347769
347635
|
internalType: "struct TokenInfo[]",
|
|
347770
347636
|
components: [
|
|
347771
|
-
{
|
|
347772
|
-
|
|
347773
|
-
|
|
347774
|
-
|
|
347775
|
-
}
|
|
347776
|
-
{
|
|
347777
|
-
name: "mask",
|
|
347778
|
-
type: "uint256",
|
|
347779
|
-
internalType: "uint256"
|
|
347780
|
-
},
|
|
347781
|
-
{
|
|
347782
|
-
name: "balance",
|
|
347783
|
-
type: "uint256",
|
|
347784
|
-
internalType: "uint256"
|
|
347785
|
-
},
|
|
347786
|
-
{
|
|
347787
|
-
name: "quota",
|
|
347788
|
-
type: "uint256",
|
|
347789
|
-
internalType: "uint256"
|
|
347790
|
-
},
|
|
347791
|
-
{
|
|
347792
|
-
name: "success",
|
|
347793
|
-
type: "bool",
|
|
347794
|
-
internalType: "bool"
|
|
347795
|
-
}
|
|
347637
|
+
{ name: "token", type: "address", internalType: "address" },
|
|
347638
|
+
{ name: "mask", type: "uint256", internalType: "uint256" },
|
|
347639
|
+
{ name: "balance", type: "uint256", internalType: "uint256" },
|
|
347640
|
+
{ name: "quota", type: "uint256", internalType: "uint256" },
|
|
347641
|
+
{ name: "success", type: "bool", internalType: "bool" }
|
|
347796
347642
|
]
|
|
347797
347643
|
}
|
|
347798
347644
|
]
|
|
@@ -347814,16 +347660,8 @@ var iCreditAccountCompressorAbi = [
|
|
|
347814
347660
|
type: "address[]",
|
|
347815
347661
|
internalType: "address[]"
|
|
347816
347662
|
},
|
|
347817
|
-
{
|
|
347818
|
-
|
|
347819
|
-
type: "address[]",
|
|
347820
|
-
internalType: "address[]"
|
|
347821
|
-
},
|
|
347822
|
-
{
|
|
347823
|
-
name: "underlying",
|
|
347824
|
-
type: "address",
|
|
347825
|
-
internalType: "address"
|
|
347826
|
-
}
|
|
347663
|
+
{ name: "pools", type: "address[]", internalType: "address[]" },
|
|
347664
|
+
{ name: "underlying", type: "address", internalType: "address" }
|
|
347827
347665
|
]
|
|
347828
347666
|
},
|
|
347829
347667
|
{
|
|
@@ -347831,38 +347669,14 @@ var iCreditAccountCompressorAbi = [
|
|
|
347831
347669
|
type: "tuple",
|
|
347832
347670
|
internalType: "struct CreditAccountFilter",
|
|
347833
347671
|
components: [
|
|
347834
|
-
{
|
|
347835
|
-
|
|
347836
|
-
|
|
347837
|
-
|
|
347838
|
-
}
|
|
347839
|
-
{
|
|
347840
|
-
name: "includeZeroDebt",
|
|
347841
|
-
type: "bool",
|
|
347842
|
-
internalType: "bool"
|
|
347843
|
-
},
|
|
347844
|
-
{
|
|
347845
|
-
name: "minHealthFactor",
|
|
347846
|
-
type: "uint16",
|
|
347847
|
-
internalType: "uint16"
|
|
347848
|
-
},
|
|
347849
|
-
{
|
|
347850
|
-
name: "maxHealthFactor",
|
|
347851
|
-
type: "uint16",
|
|
347852
|
-
internalType: "uint16"
|
|
347853
|
-
},
|
|
347854
|
-
{
|
|
347855
|
-
name: "reverting",
|
|
347856
|
-
type: "bool",
|
|
347857
|
-
internalType: "bool"
|
|
347858
|
-
}
|
|
347672
|
+
{ name: "owner", type: "address", internalType: "address" },
|
|
347673
|
+
{ name: "includeZeroDebt", type: "bool", internalType: "bool" },
|
|
347674
|
+
{ name: "minHealthFactor", type: "uint16", internalType: "uint16" },
|
|
347675
|
+
{ name: "maxHealthFactor", type: "uint16", internalType: "uint16" },
|
|
347676
|
+
{ name: "reverting", type: "bool", internalType: "bool" }
|
|
347859
347677
|
]
|
|
347860
347678
|
},
|
|
347861
|
-
{
|
|
347862
|
-
name: "offset",
|
|
347863
|
-
type: "uint256",
|
|
347864
|
-
internalType: "uint256"
|
|
347865
|
-
}
|
|
347679
|
+
{ name: "offset", type: "uint256", internalType: "uint256" }
|
|
347866
347680
|
],
|
|
347867
347681
|
outputs: [
|
|
347868
347682
|
{
|
|
@@ -347870,125 +347684,41 @@ var iCreditAccountCompressorAbi = [
|
|
|
347870
347684
|
type: "tuple[]",
|
|
347871
347685
|
internalType: "struct CreditAccountData[]",
|
|
347872
347686
|
components: [
|
|
347873
|
-
{
|
|
347874
|
-
|
|
347875
|
-
|
|
347876
|
-
|
|
347877
|
-
},
|
|
347878
|
-
{
|
|
347879
|
-
name: "creditManager",
|
|
347880
|
-
type: "address",
|
|
347881
|
-
internalType: "address"
|
|
347882
|
-
},
|
|
347883
|
-
{
|
|
347884
|
-
name: "creditFacade",
|
|
347885
|
-
type: "address",
|
|
347886
|
-
internalType: "address"
|
|
347887
|
-
},
|
|
347888
|
-
{
|
|
347889
|
-
name: "underlying",
|
|
347890
|
-
type: "address",
|
|
347891
|
-
internalType: "address"
|
|
347892
|
-
},
|
|
347893
|
-
{
|
|
347894
|
-
name: "owner",
|
|
347895
|
-
type: "address",
|
|
347896
|
-
internalType: "address"
|
|
347897
|
-
},
|
|
347898
|
-
{
|
|
347899
|
-
name: "expirationDate",
|
|
347900
|
-
type: "uint40",
|
|
347901
|
-
internalType: "uint40"
|
|
347902
|
-
},
|
|
347687
|
+
{ name: "creditAccount", type: "address", internalType: "address" },
|
|
347688
|
+
{ name: "creditManager", type: "address", internalType: "address" },
|
|
347689
|
+
{ name: "creditFacade", type: "address", internalType: "address" },
|
|
347690
|
+
{ name: "underlying", type: "address", internalType: "address" },
|
|
347691
|
+
{ name: "owner", type: "address", internalType: "address" },
|
|
347692
|
+
{ name: "expirationDate", type: "uint40", internalType: "uint40" },
|
|
347903
347693
|
{
|
|
347904
347694
|
name: "enabledTokensMask",
|
|
347905
347695
|
type: "uint256",
|
|
347906
347696
|
internalType: "uint256"
|
|
347907
347697
|
},
|
|
347908
|
-
{
|
|
347909
|
-
|
|
347910
|
-
|
|
347911
|
-
|
|
347912
|
-
},
|
|
347913
|
-
{
|
|
347914
|
-
|
|
347915
|
-
|
|
347916
|
-
|
|
347917
|
-
},
|
|
347918
|
-
{
|
|
347919
|
-
name: "accruedFees",
|
|
347920
|
-
type: "uint256",
|
|
347921
|
-
internalType: "uint256"
|
|
347922
|
-
},
|
|
347923
|
-
{
|
|
347924
|
-
name: "totalDebtUSD",
|
|
347925
|
-
type: "uint256",
|
|
347926
|
-
internalType: "uint256"
|
|
347927
|
-
},
|
|
347928
|
-
{
|
|
347929
|
-
name: "totalValueUSD",
|
|
347930
|
-
type: "uint256",
|
|
347931
|
-
internalType: "uint256"
|
|
347932
|
-
},
|
|
347933
|
-
{
|
|
347934
|
-
name: "twvUSD",
|
|
347935
|
-
type: "uint256",
|
|
347936
|
-
internalType: "uint256"
|
|
347937
|
-
},
|
|
347938
|
-
{
|
|
347939
|
-
name: "totalValue",
|
|
347940
|
-
type: "uint256",
|
|
347941
|
-
internalType: "uint256"
|
|
347942
|
-
},
|
|
347943
|
-
{
|
|
347944
|
-
name: "healthFactor",
|
|
347945
|
-
type: "uint16",
|
|
347946
|
-
internalType: "uint16"
|
|
347947
|
-
},
|
|
347948
|
-
{
|
|
347949
|
-
name: "success",
|
|
347950
|
-
type: "bool",
|
|
347951
|
-
internalType: "bool"
|
|
347952
|
-
},
|
|
347698
|
+
{ name: "debt", type: "uint256", internalType: "uint256" },
|
|
347699
|
+
{ name: "accruedInterest", type: "uint256", internalType: "uint256" },
|
|
347700
|
+
{ name: "accruedFees", type: "uint256", internalType: "uint256" },
|
|
347701
|
+
{ name: "totalDebtUSD", type: "uint256", internalType: "uint256" },
|
|
347702
|
+
{ name: "totalValueUSD", type: "uint256", internalType: "uint256" },
|
|
347703
|
+
{ name: "twvUSD", type: "uint256", internalType: "uint256" },
|
|
347704
|
+
{ name: "totalValue", type: "uint256", internalType: "uint256" },
|
|
347705
|
+
{ name: "healthFactor", type: "uint16", internalType: "uint16" },
|
|
347706
|
+
{ name: "success", type: "bool", internalType: "bool" },
|
|
347953
347707
|
{
|
|
347954
347708
|
name: "tokens",
|
|
347955
347709
|
type: "tuple[]",
|
|
347956
347710
|
internalType: "struct TokenInfo[]",
|
|
347957
347711
|
components: [
|
|
347958
|
-
{
|
|
347959
|
-
|
|
347960
|
-
|
|
347961
|
-
|
|
347962
|
-
}
|
|
347963
|
-
{
|
|
347964
|
-
name: "mask",
|
|
347965
|
-
type: "uint256",
|
|
347966
|
-
internalType: "uint256"
|
|
347967
|
-
},
|
|
347968
|
-
{
|
|
347969
|
-
name: "balance",
|
|
347970
|
-
type: "uint256",
|
|
347971
|
-
internalType: "uint256"
|
|
347972
|
-
},
|
|
347973
|
-
{
|
|
347974
|
-
name: "quota",
|
|
347975
|
-
type: "uint256",
|
|
347976
|
-
internalType: "uint256"
|
|
347977
|
-
},
|
|
347978
|
-
{
|
|
347979
|
-
name: "success",
|
|
347980
|
-
type: "bool",
|
|
347981
|
-
internalType: "bool"
|
|
347982
|
-
}
|
|
347712
|
+
{ name: "token", type: "address", internalType: "address" },
|
|
347713
|
+
{ name: "mask", type: "uint256", internalType: "uint256" },
|
|
347714
|
+
{ name: "balance", type: "uint256", internalType: "uint256" },
|
|
347715
|
+
{ name: "quota", type: "uint256", internalType: "uint256" },
|
|
347716
|
+
{ name: "success", type: "bool", internalType: "bool" }
|
|
347983
347717
|
]
|
|
347984
347718
|
}
|
|
347985
347719
|
]
|
|
347986
347720
|
},
|
|
347987
|
-
{
|
|
347988
|
-
name: "nextOffset",
|
|
347989
|
-
type: "uint256",
|
|
347990
|
-
internalType: "uint256"
|
|
347991
|
-
}
|
|
347721
|
+
{ name: "nextOffset", type: "uint256", internalType: "uint256" }
|
|
347992
347722
|
],
|
|
347993
347723
|
stateMutability: "view"
|
|
347994
347724
|
},
|
|
@@ -347996,48 +347726,20 @@ var iCreditAccountCompressorAbi = [
|
|
|
347996
347726
|
type: "function",
|
|
347997
347727
|
name: "getCreditAccounts",
|
|
347998
347728
|
inputs: [
|
|
347999
|
-
{
|
|
348000
|
-
name: "creditManager",
|
|
348001
|
-
type: "address",
|
|
348002
|
-
internalType: "address"
|
|
348003
|
-
},
|
|
347729
|
+
{ name: "creditManager", type: "address", internalType: "address" },
|
|
348004
347730
|
{
|
|
348005
347731
|
name: "caFilter",
|
|
348006
347732
|
type: "tuple",
|
|
348007
347733
|
internalType: "struct CreditAccountFilter",
|
|
348008
347734
|
components: [
|
|
348009
|
-
{
|
|
348010
|
-
|
|
348011
|
-
|
|
348012
|
-
|
|
348013
|
-
}
|
|
348014
|
-
{
|
|
348015
|
-
name: "includeZeroDebt",
|
|
348016
|
-
type: "bool",
|
|
348017
|
-
internalType: "bool"
|
|
348018
|
-
},
|
|
348019
|
-
{
|
|
348020
|
-
name: "minHealthFactor",
|
|
348021
|
-
type: "uint16",
|
|
348022
|
-
internalType: "uint16"
|
|
348023
|
-
},
|
|
348024
|
-
{
|
|
348025
|
-
name: "maxHealthFactor",
|
|
348026
|
-
type: "uint16",
|
|
348027
|
-
internalType: "uint16"
|
|
348028
|
-
},
|
|
348029
|
-
{
|
|
348030
|
-
name: "reverting",
|
|
348031
|
-
type: "bool",
|
|
348032
|
-
internalType: "bool"
|
|
348033
|
-
}
|
|
347735
|
+
{ name: "owner", type: "address", internalType: "address" },
|
|
347736
|
+
{ name: "includeZeroDebt", type: "bool", internalType: "bool" },
|
|
347737
|
+
{ name: "minHealthFactor", type: "uint16", internalType: "uint16" },
|
|
347738
|
+
{ name: "maxHealthFactor", type: "uint16", internalType: "uint16" },
|
|
347739
|
+
{ name: "reverting", type: "bool", internalType: "bool" }
|
|
348034
347740
|
]
|
|
348035
347741
|
},
|
|
348036
|
-
{
|
|
348037
|
-
name: "offset",
|
|
348038
|
-
type: "uint256",
|
|
348039
|
-
internalType: "uint256"
|
|
348040
|
-
}
|
|
347742
|
+
{ name: "offset", type: "uint256", internalType: "uint256" }
|
|
348041
347743
|
],
|
|
348042
347744
|
outputs: [
|
|
348043
347745
|
{
|
|
@@ -348045,125 +347747,41 @@ var iCreditAccountCompressorAbi = [
|
|
|
348045
347747
|
type: "tuple[]",
|
|
348046
347748
|
internalType: "struct CreditAccountData[]",
|
|
348047
347749
|
components: [
|
|
348048
|
-
{
|
|
348049
|
-
|
|
348050
|
-
|
|
348051
|
-
|
|
348052
|
-
},
|
|
348053
|
-
{
|
|
348054
|
-
name: "creditManager",
|
|
348055
|
-
type: "address",
|
|
348056
|
-
internalType: "address"
|
|
348057
|
-
},
|
|
348058
|
-
{
|
|
348059
|
-
name: "creditFacade",
|
|
348060
|
-
type: "address",
|
|
348061
|
-
internalType: "address"
|
|
348062
|
-
},
|
|
348063
|
-
{
|
|
348064
|
-
name: "underlying",
|
|
348065
|
-
type: "address",
|
|
348066
|
-
internalType: "address"
|
|
348067
|
-
},
|
|
348068
|
-
{
|
|
348069
|
-
name: "owner",
|
|
348070
|
-
type: "address",
|
|
348071
|
-
internalType: "address"
|
|
348072
|
-
},
|
|
348073
|
-
{
|
|
348074
|
-
name: "expirationDate",
|
|
348075
|
-
type: "uint40",
|
|
348076
|
-
internalType: "uint40"
|
|
348077
|
-
},
|
|
347750
|
+
{ name: "creditAccount", type: "address", internalType: "address" },
|
|
347751
|
+
{ name: "creditManager", type: "address", internalType: "address" },
|
|
347752
|
+
{ name: "creditFacade", type: "address", internalType: "address" },
|
|
347753
|
+
{ name: "underlying", type: "address", internalType: "address" },
|
|
347754
|
+
{ name: "owner", type: "address", internalType: "address" },
|
|
347755
|
+
{ name: "expirationDate", type: "uint40", internalType: "uint40" },
|
|
348078
347756
|
{
|
|
348079
347757
|
name: "enabledTokensMask",
|
|
348080
347758
|
type: "uint256",
|
|
348081
347759
|
internalType: "uint256"
|
|
348082
347760
|
},
|
|
348083
|
-
{
|
|
348084
|
-
|
|
348085
|
-
|
|
348086
|
-
|
|
348087
|
-
},
|
|
348088
|
-
{
|
|
348089
|
-
|
|
348090
|
-
|
|
348091
|
-
|
|
348092
|
-
},
|
|
348093
|
-
{
|
|
348094
|
-
name: "accruedFees",
|
|
348095
|
-
type: "uint256",
|
|
348096
|
-
internalType: "uint256"
|
|
348097
|
-
},
|
|
348098
|
-
{
|
|
348099
|
-
name: "totalDebtUSD",
|
|
348100
|
-
type: "uint256",
|
|
348101
|
-
internalType: "uint256"
|
|
348102
|
-
},
|
|
348103
|
-
{
|
|
348104
|
-
name: "totalValueUSD",
|
|
348105
|
-
type: "uint256",
|
|
348106
|
-
internalType: "uint256"
|
|
348107
|
-
},
|
|
348108
|
-
{
|
|
348109
|
-
name: "twvUSD",
|
|
348110
|
-
type: "uint256",
|
|
348111
|
-
internalType: "uint256"
|
|
348112
|
-
},
|
|
348113
|
-
{
|
|
348114
|
-
name: "totalValue",
|
|
348115
|
-
type: "uint256",
|
|
348116
|
-
internalType: "uint256"
|
|
348117
|
-
},
|
|
348118
|
-
{
|
|
348119
|
-
name: "healthFactor",
|
|
348120
|
-
type: "uint16",
|
|
348121
|
-
internalType: "uint16"
|
|
348122
|
-
},
|
|
348123
|
-
{
|
|
348124
|
-
name: "success",
|
|
348125
|
-
type: "bool",
|
|
348126
|
-
internalType: "bool"
|
|
348127
|
-
},
|
|
347761
|
+
{ name: "debt", type: "uint256", internalType: "uint256" },
|
|
347762
|
+
{ name: "accruedInterest", type: "uint256", internalType: "uint256" },
|
|
347763
|
+
{ name: "accruedFees", type: "uint256", internalType: "uint256" },
|
|
347764
|
+
{ name: "totalDebtUSD", type: "uint256", internalType: "uint256" },
|
|
347765
|
+
{ name: "totalValueUSD", type: "uint256", internalType: "uint256" },
|
|
347766
|
+
{ name: "twvUSD", type: "uint256", internalType: "uint256" },
|
|
347767
|
+
{ name: "totalValue", type: "uint256", internalType: "uint256" },
|
|
347768
|
+
{ name: "healthFactor", type: "uint16", internalType: "uint16" },
|
|
347769
|
+
{ name: "success", type: "bool", internalType: "bool" },
|
|
348128
347770
|
{
|
|
348129
347771
|
name: "tokens",
|
|
348130
347772
|
type: "tuple[]",
|
|
348131
347773
|
internalType: "struct TokenInfo[]",
|
|
348132
347774
|
components: [
|
|
348133
|
-
{
|
|
348134
|
-
|
|
348135
|
-
|
|
348136
|
-
|
|
348137
|
-
}
|
|
348138
|
-
{
|
|
348139
|
-
name: "mask",
|
|
348140
|
-
type: "uint256",
|
|
348141
|
-
internalType: "uint256"
|
|
348142
|
-
},
|
|
348143
|
-
{
|
|
348144
|
-
name: "balance",
|
|
348145
|
-
type: "uint256",
|
|
348146
|
-
internalType: "uint256"
|
|
348147
|
-
},
|
|
348148
|
-
{
|
|
348149
|
-
name: "quota",
|
|
348150
|
-
type: "uint256",
|
|
348151
|
-
internalType: "uint256"
|
|
348152
|
-
},
|
|
348153
|
-
{
|
|
348154
|
-
name: "success",
|
|
348155
|
-
type: "bool",
|
|
348156
|
-
internalType: "bool"
|
|
348157
|
-
}
|
|
347775
|
+
{ name: "token", type: "address", internalType: "address" },
|
|
347776
|
+
{ name: "mask", type: "uint256", internalType: "uint256" },
|
|
347777
|
+
{ name: "balance", type: "uint256", internalType: "uint256" },
|
|
347778
|
+
{ name: "quota", type: "uint256", internalType: "uint256" },
|
|
347779
|
+
{ name: "success", type: "bool", internalType: "bool" }
|
|
348158
347780
|
]
|
|
348159
347781
|
}
|
|
348160
347782
|
]
|
|
348161
347783
|
},
|
|
348162
|
-
{
|
|
348163
|
-
name: "nextOffset",
|
|
348164
|
-
type: "uint256",
|
|
348165
|
-
internalType: "uint256"
|
|
348166
|
-
}
|
|
347784
|
+
{ name: "nextOffset", type: "uint256", internalType: "uint256" }
|
|
348167
347785
|
],
|
|
348168
347786
|
stateMutability: "view"
|
|
348169
347787
|
},
|
|
@@ -348171,53 +347789,21 @@ var iCreditAccountCompressorAbi = [
|
|
|
348171
347789
|
type: "function",
|
|
348172
347790
|
name: "getCreditAccounts",
|
|
348173
347791
|
inputs: [
|
|
348174
|
-
{
|
|
348175
|
-
name: "creditManager",
|
|
348176
|
-
type: "address",
|
|
348177
|
-
internalType: "address"
|
|
348178
|
-
},
|
|
347792
|
+
{ name: "creditManager", type: "address", internalType: "address" },
|
|
348179
347793
|
{
|
|
348180
347794
|
name: "caFilter",
|
|
348181
347795
|
type: "tuple",
|
|
348182
347796
|
internalType: "struct CreditAccountFilter",
|
|
348183
347797
|
components: [
|
|
348184
|
-
{
|
|
348185
|
-
|
|
348186
|
-
|
|
348187
|
-
|
|
348188
|
-
}
|
|
348189
|
-
{
|
|
348190
|
-
name: "includeZeroDebt",
|
|
348191
|
-
type: "bool",
|
|
348192
|
-
internalType: "bool"
|
|
348193
|
-
},
|
|
348194
|
-
{
|
|
348195
|
-
name: "minHealthFactor",
|
|
348196
|
-
type: "uint16",
|
|
348197
|
-
internalType: "uint16"
|
|
348198
|
-
},
|
|
348199
|
-
{
|
|
348200
|
-
name: "maxHealthFactor",
|
|
348201
|
-
type: "uint16",
|
|
348202
|
-
internalType: "uint16"
|
|
348203
|
-
},
|
|
348204
|
-
{
|
|
348205
|
-
name: "reverting",
|
|
348206
|
-
type: "bool",
|
|
348207
|
-
internalType: "bool"
|
|
348208
|
-
}
|
|
347798
|
+
{ name: "owner", type: "address", internalType: "address" },
|
|
347799
|
+
{ name: "includeZeroDebt", type: "bool", internalType: "bool" },
|
|
347800
|
+
{ name: "minHealthFactor", type: "uint16", internalType: "uint16" },
|
|
347801
|
+
{ name: "maxHealthFactor", type: "uint16", internalType: "uint16" },
|
|
347802
|
+
{ name: "reverting", type: "bool", internalType: "bool" }
|
|
348209
347803
|
]
|
|
348210
347804
|
},
|
|
348211
|
-
{
|
|
348212
|
-
|
|
348213
|
-
type: "uint256",
|
|
348214
|
-
internalType: "uint256"
|
|
348215
|
-
},
|
|
348216
|
-
{
|
|
348217
|
-
name: "limit",
|
|
348218
|
-
type: "uint256",
|
|
348219
|
-
internalType: "uint256"
|
|
348220
|
-
}
|
|
347805
|
+
{ name: "offset", type: "uint256", internalType: "uint256" },
|
|
347806
|
+
{ name: "limit", type: "uint256", internalType: "uint256" }
|
|
348221
347807
|
],
|
|
348222
347808
|
outputs: [
|
|
348223
347809
|
{
|
|
@@ -348225,125 +347811,41 @@ var iCreditAccountCompressorAbi = [
|
|
|
348225
347811
|
type: "tuple[]",
|
|
348226
347812
|
internalType: "struct CreditAccountData[]",
|
|
348227
347813
|
components: [
|
|
348228
|
-
{
|
|
348229
|
-
|
|
348230
|
-
|
|
348231
|
-
|
|
348232
|
-
},
|
|
348233
|
-
{
|
|
348234
|
-
name: "creditManager",
|
|
348235
|
-
type: "address",
|
|
348236
|
-
internalType: "address"
|
|
348237
|
-
},
|
|
348238
|
-
{
|
|
348239
|
-
name: "creditFacade",
|
|
348240
|
-
type: "address",
|
|
348241
|
-
internalType: "address"
|
|
348242
|
-
},
|
|
348243
|
-
{
|
|
348244
|
-
name: "underlying",
|
|
348245
|
-
type: "address",
|
|
348246
|
-
internalType: "address"
|
|
348247
|
-
},
|
|
348248
|
-
{
|
|
348249
|
-
name: "owner",
|
|
348250
|
-
type: "address",
|
|
348251
|
-
internalType: "address"
|
|
348252
|
-
},
|
|
348253
|
-
{
|
|
348254
|
-
name: "expirationDate",
|
|
348255
|
-
type: "uint40",
|
|
348256
|
-
internalType: "uint40"
|
|
348257
|
-
},
|
|
347814
|
+
{ name: "creditAccount", type: "address", internalType: "address" },
|
|
347815
|
+
{ name: "creditManager", type: "address", internalType: "address" },
|
|
347816
|
+
{ name: "creditFacade", type: "address", internalType: "address" },
|
|
347817
|
+
{ name: "underlying", type: "address", internalType: "address" },
|
|
347818
|
+
{ name: "owner", type: "address", internalType: "address" },
|
|
347819
|
+
{ name: "expirationDate", type: "uint40", internalType: "uint40" },
|
|
348258
347820
|
{
|
|
348259
347821
|
name: "enabledTokensMask",
|
|
348260
347822
|
type: "uint256",
|
|
348261
347823
|
internalType: "uint256"
|
|
348262
347824
|
},
|
|
348263
|
-
{
|
|
348264
|
-
|
|
348265
|
-
|
|
348266
|
-
|
|
348267
|
-
},
|
|
348268
|
-
{
|
|
348269
|
-
|
|
348270
|
-
|
|
348271
|
-
|
|
348272
|
-
},
|
|
348273
|
-
{
|
|
348274
|
-
name: "accruedFees",
|
|
348275
|
-
type: "uint256",
|
|
348276
|
-
internalType: "uint256"
|
|
348277
|
-
},
|
|
348278
|
-
{
|
|
348279
|
-
name: "totalDebtUSD",
|
|
348280
|
-
type: "uint256",
|
|
348281
|
-
internalType: "uint256"
|
|
348282
|
-
},
|
|
348283
|
-
{
|
|
348284
|
-
name: "totalValueUSD",
|
|
348285
|
-
type: "uint256",
|
|
348286
|
-
internalType: "uint256"
|
|
348287
|
-
},
|
|
348288
|
-
{
|
|
348289
|
-
name: "twvUSD",
|
|
348290
|
-
type: "uint256",
|
|
348291
|
-
internalType: "uint256"
|
|
348292
|
-
},
|
|
348293
|
-
{
|
|
348294
|
-
name: "totalValue",
|
|
348295
|
-
type: "uint256",
|
|
348296
|
-
internalType: "uint256"
|
|
348297
|
-
},
|
|
348298
|
-
{
|
|
348299
|
-
name: "healthFactor",
|
|
348300
|
-
type: "uint16",
|
|
348301
|
-
internalType: "uint16"
|
|
348302
|
-
},
|
|
348303
|
-
{
|
|
348304
|
-
name: "success",
|
|
348305
|
-
type: "bool",
|
|
348306
|
-
internalType: "bool"
|
|
348307
|
-
},
|
|
347825
|
+
{ name: "debt", type: "uint256", internalType: "uint256" },
|
|
347826
|
+
{ name: "accruedInterest", type: "uint256", internalType: "uint256" },
|
|
347827
|
+
{ name: "accruedFees", type: "uint256", internalType: "uint256" },
|
|
347828
|
+
{ name: "totalDebtUSD", type: "uint256", internalType: "uint256" },
|
|
347829
|
+
{ name: "totalValueUSD", type: "uint256", internalType: "uint256" },
|
|
347830
|
+
{ name: "twvUSD", type: "uint256", internalType: "uint256" },
|
|
347831
|
+
{ name: "totalValue", type: "uint256", internalType: "uint256" },
|
|
347832
|
+
{ name: "healthFactor", type: "uint16", internalType: "uint16" },
|
|
347833
|
+
{ name: "success", type: "bool", internalType: "bool" },
|
|
348308
347834
|
{
|
|
348309
347835
|
name: "tokens",
|
|
348310
347836
|
type: "tuple[]",
|
|
348311
347837
|
internalType: "struct TokenInfo[]",
|
|
348312
347838
|
components: [
|
|
348313
|
-
{
|
|
348314
|
-
|
|
348315
|
-
|
|
348316
|
-
|
|
348317
|
-
}
|
|
348318
|
-
{
|
|
348319
|
-
name: "mask",
|
|
348320
|
-
type: "uint256",
|
|
348321
|
-
internalType: "uint256"
|
|
348322
|
-
},
|
|
348323
|
-
{
|
|
348324
|
-
name: "balance",
|
|
348325
|
-
type: "uint256",
|
|
348326
|
-
internalType: "uint256"
|
|
348327
|
-
},
|
|
348328
|
-
{
|
|
348329
|
-
name: "quota",
|
|
348330
|
-
type: "uint256",
|
|
348331
|
-
internalType: "uint256"
|
|
348332
|
-
},
|
|
348333
|
-
{
|
|
348334
|
-
name: "success",
|
|
348335
|
-
type: "bool",
|
|
348336
|
-
internalType: "bool"
|
|
348337
|
-
}
|
|
347839
|
+
{ name: "token", type: "address", internalType: "address" },
|
|
347840
|
+
{ name: "mask", type: "uint256", internalType: "uint256" },
|
|
347841
|
+
{ name: "balance", type: "uint256", internalType: "uint256" },
|
|
347842
|
+
{ name: "quota", type: "uint256", internalType: "uint256" },
|
|
347843
|
+
{ name: "success", type: "bool", internalType: "bool" }
|
|
348338
347844
|
]
|
|
348339
347845
|
}
|
|
348340
347846
|
]
|
|
348341
347847
|
},
|
|
348342
|
-
{
|
|
348343
|
-
name: "nextOffset",
|
|
348344
|
-
type: "uint256",
|
|
348345
|
-
internalType: "uint256"
|
|
348346
|
-
}
|
|
347848
|
+
{ name: "nextOffset", type: "uint256", internalType: "uint256" }
|
|
348347
347849
|
],
|
|
348348
347850
|
stateMutability: "view"
|
|
348349
347851
|
},
|
|
@@ -348361,16 +347863,8 @@ var iCreditAccountCompressorAbi = [
|
|
|
348361
347863
|
type: "address[]",
|
|
348362
347864
|
internalType: "address[]"
|
|
348363
347865
|
},
|
|
348364
|
-
{
|
|
348365
|
-
|
|
348366
|
-
type: "address[]",
|
|
348367
|
-
internalType: "address[]"
|
|
348368
|
-
},
|
|
348369
|
-
{
|
|
348370
|
-
name: "underlying",
|
|
348371
|
-
type: "address",
|
|
348372
|
-
internalType: "address"
|
|
348373
|
-
}
|
|
347866
|
+
{ name: "pools", type: "address[]", internalType: "address[]" },
|
|
347867
|
+
{ name: "underlying", type: "address", internalType: "address" }
|
|
348374
347868
|
]
|
|
348375
347869
|
},
|
|
348376
347870
|
{
|
|
@@ -348378,43 +347872,15 @@ var iCreditAccountCompressorAbi = [
|
|
|
348378
347872
|
type: "tuple",
|
|
348379
347873
|
internalType: "struct CreditAccountFilter",
|
|
348380
347874
|
components: [
|
|
348381
|
-
{
|
|
348382
|
-
|
|
348383
|
-
|
|
348384
|
-
|
|
348385
|
-
}
|
|
348386
|
-
{
|
|
348387
|
-
name: "includeZeroDebt",
|
|
348388
|
-
type: "bool",
|
|
348389
|
-
internalType: "bool"
|
|
348390
|
-
},
|
|
348391
|
-
{
|
|
348392
|
-
name: "minHealthFactor",
|
|
348393
|
-
type: "uint16",
|
|
348394
|
-
internalType: "uint16"
|
|
348395
|
-
},
|
|
348396
|
-
{
|
|
348397
|
-
name: "maxHealthFactor",
|
|
348398
|
-
type: "uint16",
|
|
348399
|
-
internalType: "uint16"
|
|
348400
|
-
},
|
|
348401
|
-
{
|
|
348402
|
-
name: "reverting",
|
|
348403
|
-
type: "bool",
|
|
348404
|
-
internalType: "bool"
|
|
348405
|
-
}
|
|
347875
|
+
{ name: "owner", type: "address", internalType: "address" },
|
|
347876
|
+
{ name: "includeZeroDebt", type: "bool", internalType: "bool" },
|
|
347877
|
+
{ name: "minHealthFactor", type: "uint16", internalType: "uint16" },
|
|
347878
|
+
{ name: "maxHealthFactor", type: "uint16", internalType: "uint16" },
|
|
347879
|
+
{ name: "reverting", type: "bool", internalType: "bool" }
|
|
348406
347880
|
]
|
|
348407
347881
|
},
|
|
348408
|
-
{
|
|
348409
|
-
|
|
348410
|
-
type: "uint256",
|
|
348411
|
-
internalType: "uint256"
|
|
348412
|
-
},
|
|
348413
|
-
{
|
|
348414
|
-
name: "limit",
|
|
348415
|
-
type: "uint256",
|
|
348416
|
-
internalType: "uint256"
|
|
348417
|
-
}
|
|
347882
|
+
{ name: "offset", type: "uint256", internalType: "uint256" },
|
|
347883
|
+
{ name: "limit", type: "uint256", internalType: "uint256" }
|
|
348418
347884
|
],
|
|
348419
347885
|
outputs: [
|
|
348420
347886
|
{
|
|
@@ -348422,125 +347888,41 @@ var iCreditAccountCompressorAbi = [
|
|
|
348422
347888
|
type: "tuple[]",
|
|
348423
347889
|
internalType: "struct CreditAccountData[]",
|
|
348424
347890
|
components: [
|
|
348425
|
-
{
|
|
348426
|
-
|
|
348427
|
-
|
|
348428
|
-
|
|
348429
|
-
},
|
|
348430
|
-
{
|
|
348431
|
-
name: "creditManager",
|
|
348432
|
-
type: "address",
|
|
348433
|
-
internalType: "address"
|
|
348434
|
-
},
|
|
348435
|
-
{
|
|
348436
|
-
name: "creditFacade",
|
|
348437
|
-
type: "address",
|
|
348438
|
-
internalType: "address"
|
|
348439
|
-
},
|
|
348440
|
-
{
|
|
348441
|
-
name: "underlying",
|
|
348442
|
-
type: "address",
|
|
348443
|
-
internalType: "address"
|
|
348444
|
-
},
|
|
348445
|
-
{
|
|
348446
|
-
name: "owner",
|
|
348447
|
-
type: "address",
|
|
348448
|
-
internalType: "address"
|
|
348449
|
-
},
|
|
348450
|
-
{
|
|
348451
|
-
name: "expirationDate",
|
|
348452
|
-
type: "uint40",
|
|
348453
|
-
internalType: "uint40"
|
|
348454
|
-
},
|
|
347891
|
+
{ name: "creditAccount", type: "address", internalType: "address" },
|
|
347892
|
+
{ name: "creditManager", type: "address", internalType: "address" },
|
|
347893
|
+
{ name: "creditFacade", type: "address", internalType: "address" },
|
|
347894
|
+
{ name: "underlying", type: "address", internalType: "address" },
|
|
347895
|
+
{ name: "owner", type: "address", internalType: "address" },
|
|
347896
|
+
{ name: "expirationDate", type: "uint40", internalType: "uint40" },
|
|
348455
347897
|
{
|
|
348456
347898
|
name: "enabledTokensMask",
|
|
348457
347899
|
type: "uint256",
|
|
348458
347900
|
internalType: "uint256"
|
|
348459
347901
|
},
|
|
348460
|
-
{
|
|
348461
|
-
|
|
348462
|
-
|
|
348463
|
-
|
|
348464
|
-
},
|
|
348465
|
-
{
|
|
348466
|
-
|
|
348467
|
-
|
|
348468
|
-
|
|
348469
|
-
},
|
|
348470
|
-
{
|
|
348471
|
-
name: "accruedFees",
|
|
348472
|
-
type: "uint256",
|
|
348473
|
-
internalType: "uint256"
|
|
348474
|
-
},
|
|
348475
|
-
{
|
|
348476
|
-
name: "totalDebtUSD",
|
|
348477
|
-
type: "uint256",
|
|
348478
|
-
internalType: "uint256"
|
|
348479
|
-
},
|
|
348480
|
-
{
|
|
348481
|
-
name: "totalValueUSD",
|
|
348482
|
-
type: "uint256",
|
|
348483
|
-
internalType: "uint256"
|
|
348484
|
-
},
|
|
348485
|
-
{
|
|
348486
|
-
name: "twvUSD",
|
|
348487
|
-
type: "uint256",
|
|
348488
|
-
internalType: "uint256"
|
|
348489
|
-
},
|
|
348490
|
-
{
|
|
348491
|
-
name: "totalValue",
|
|
348492
|
-
type: "uint256",
|
|
348493
|
-
internalType: "uint256"
|
|
348494
|
-
},
|
|
348495
|
-
{
|
|
348496
|
-
name: "healthFactor",
|
|
348497
|
-
type: "uint16",
|
|
348498
|
-
internalType: "uint16"
|
|
348499
|
-
},
|
|
348500
|
-
{
|
|
348501
|
-
name: "success",
|
|
348502
|
-
type: "bool",
|
|
348503
|
-
internalType: "bool"
|
|
348504
|
-
},
|
|
347902
|
+
{ name: "debt", type: "uint256", internalType: "uint256" },
|
|
347903
|
+
{ name: "accruedInterest", type: "uint256", internalType: "uint256" },
|
|
347904
|
+
{ name: "accruedFees", type: "uint256", internalType: "uint256" },
|
|
347905
|
+
{ name: "totalDebtUSD", type: "uint256", internalType: "uint256" },
|
|
347906
|
+
{ name: "totalValueUSD", type: "uint256", internalType: "uint256" },
|
|
347907
|
+
{ name: "twvUSD", type: "uint256", internalType: "uint256" },
|
|
347908
|
+
{ name: "totalValue", type: "uint256", internalType: "uint256" },
|
|
347909
|
+
{ name: "healthFactor", type: "uint16", internalType: "uint16" },
|
|
347910
|
+
{ name: "success", type: "bool", internalType: "bool" },
|
|
348505
347911
|
{
|
|
348506
347912
|
name: "tokens",
|
|
348507
347913
|
type: "tuple[]",
|
|
348508
347914
|
internalType: "struct TokenInfo[]",
|
|
348509
347915
|
components: [
|
|
348510
|
-
{
|
|
348511
|
-
|
|
348512
|
-
|
|
348513
|
-
|
|
348514
|
-
}
|
|
348515
|
-
{
|
|
348516
|
-
name: "mask",
|
|
348517
|
-
type: "uint256",
|
|
348518
|
-
internalType: "uint256"
|
|
348519
|
-
},
|
|
348520
|
-
{
|
|
348521
|
-
name: "balance",
|
|
348522
|
-
type: "uint256",
|
|
348523
|
-
internalType: "uint256"
|
|
348524
|
-
},
|
|
348525
|
-
{
|
|
348526
|
-
name: "quota",
|
|
348527
|
-
type: "uint256",
|
|
348528
|
-
internalType: "uint256"
|
|
348529
|
-
},
|
|
348530
|
-
{
|
|
348531
|
-
name: "success",
|
|
348532
|
-
type: "bool",
|
|
348533
|
-
internalType: "bool"
|
|
348534
|
-
}
|
|
347916
|
+
{ name: "token", type: "address", internalType: "address" },
|
|
347917
|
+
{ name: "mask", type: "uint256", internalType: "uint256" },
|
|
347918
|
+
{ name: "balance", type: "uint256", internalType: "uint256" },
|
|
347919
|
+
{ name: "quota", type: "uint256", internalType: "uint256" },
|
|
347920
|
+
{ name: "success", type: "bool", internalType: "bool" }
|
|
348535
347921
|
]
|
|
348536
347922
|
}
|
|
348537
347923
|
]
|
|
348538
347924
|
},
|
|
348539
|
-
{
|
|
348540
|
-
name: "nextOffset",
|
|
348541
|
-
type: "uint256",
|
|
348542
|
-
internalType: "uint256"
|
|
348543
|
-
}
|
|
347925
|
+
{ name: "nextOffset", type: "uint256", internalType: "uint256" }
|
|
348544
347926
|
],
|
|
348545
347927
|
stateMutability: "view"
|
|
348546
347928
|
},
|
|
@@ -348548,13 +347930,7 @@ var iCreditAccountCompressorAbi = [
|
|
|
348548
347930
|
type: "function",
|
|
348549
347931
|
name: "version",
|
|
348550
347932
|
inputs: [],
|
|
348551
|
-
outputs: [
|
|
348552
|
-
{
|
|
348553
|
-
name: "",
|
|
348554
|
-
type: "uint256",
|
|
348555
|
-
internalType: "uint256"
|
|
348556
|
-
}
|
|
348557
|
-
],
|
|
347933
|
+
outputs: [{ name: "", type: "uint256", internalType: "uint256" }],
|
|
348558
347934
|
stateMutability: "view"
|
|
348559
347935
|
}
|
|
348560
347936
|
];
|
|
@@ -348563,29 +347939,15 @@ var iMarketCompressorAbi = [
|
|
|
348563
347939
|
type: "function",
|
|
348564
347940
|
name: "contractType",
|
|
348565
347941
|
inputs: [],
|
|
348566
|
-
outputs: [
|
|
348567
|
-
{
|
|
348568
|
-
name: "",
|
|
348569
|
-
type: "bytes32",
|
|
348570
|
-
internalType: "bytes32"
|
|
348571
|
-
}
|
|
348572
|
-
],
|
|
347942
|
+
outputs: [{ name: "", type: "bytes32", internalType: "bytes32" }],
|
|
348573
347943
|
stateMutability: "view"
|
|
348574
347944
|
},
|
|
348575
347945
|
{
|
|
348576
347946
|
type: "function",
|
|
348577
347947
|
name: "getMarketData",
|
|
348578
347948
|
inputs: [
|
|
348579
|
-
{
|
|
348580
|
-
|
|
348581
|
-
type: "address",
|
|
348582
|
-
internalType: "address"
|
|
348583
|
-
},
|
|
348584
|
-
{
|
|
348585
|
-
name: "configurator",
|
|
348586
|
-
type: "address",
|
|
348587
|
-
internalType: "address"
|
|
348588
|
-
}
|
|
347949
|
+
{ name: "pool", type: "address", internalType: "address" },
|
|
347950
|
+
{ name: "configurator", type: "address", internalType: "address" }
|
|
348589
347951
|
],
|
|
348590
347952
|
outputs: [
|
|
348591
347953
|
{
|
|
@@ -348593,21 +347955,13 @@ var iMarketCompressorAbi = [
|
|
|
348593
347955
|
type: "tuple",
|
|
348594
347956
|
internalType: "struct MarketData",
|
|
348595
347957
|
components: [
|
|
348596
|
-
{
|
|
348597
|
-
name: "acl",
|
|
348598
|
-
type: "address",
|
|
348599
|
-
internalType: "address"
|
|
348600
|
-
},
|
|
347958
|
+
{ name: "acl", type: "address", internalType: "address" },
|
|
348601
347959
|
{
|
|
348602
347960
|
name: "contractsRegister",
|
|
348603
347961
|
type: "address",
|
|
348604
347962
|
internalType: "address"
|
|
348605
347963
|
},
|
|
348606
|
-
{
|
|
348607
|
-
name: "treasury",
|
|
348608
|
-
type: "address",
|
|
348609
|
-
internalType: "address"
|
|
348610
|
-
},
|
|
347964
|
+
{ name: "treasury", type: "address", internalType: "address" },
|
|
348611
347965
|
{
|
|
348612
347966
|
name: "pool",
|
|
348613
347967
|
type: "tuple",
|
|
@@ -348618,16 +347972,8 @@ var iMarketCompressorAbi = [
|
|
|
348618
347972
|
type: "tuple",
|
|
348619
347973
|
internalType: "struct BaseParams",
|
|
348620
347974
|
components: [
|
|
348621
|
-
{
|
|
348622
|
-
|
|
348623
|
-
type: "address",
|
|
348624
|
-
internalType: "address"
|
|
348625
|
-
},
|
|
348626
|
-
{
|
|
348627
|
-
name: "version",
|
|
348628
|
-
type: "uint256",
|
|
348629
|
-
internalType: "uint256"
|
|
348630
|
-
},
|
|
347975
|
+
{ name: "addr", type: "address", internalType: "address" },
|
|
347976
|
+
{ name: "version", type: "uint256", internalType: "uint256" },
|
|
348631
347977
|
{
|
|
348632
347978
|
name: "contractType",
|
|
348633
347979
|
type: "bytes32",
|
|
@@ -348640,26 +347986,10 @@ var iMarketCompressorAbi = [
|
|
|
348640
347986
|
}
|
|
348641
347987
|
]
|
|
348642
347988
|
},
|
|
348643
|
-
{
|
|
348644
|
-
|
|
348645
|
-
|
|
348646
|
-
|
|
348647
|
-
},
|
|
348648
|
-
{
|
|
348649
|
-
name: "name",
|
|
348650
|
-
type: "string",
|
|
348651
|
-
internalType: "string"
|
|
348652
|
-
},
|
|
348653
|
-
{
|
|
348654
|
-
name: "decimals",
|
|
348655
|
-
type: "uint8",
|
|
348656
|
-
internalType: "uint8"
|
|
348657
|
-
},
|
|
348658
|
-
{
|
|
348659
|
-
name: "totalSupply",
|
|
348660
|
-
type: "uint256",
|
|
348661
|
-
internalType: "uint256"
|
|
348662
|
-
},
|
|
347989
|
+
{ name: "symbol", type: "string", internalType: "string" },
|
|
347990
|
+
{ name: "name", type: "string", internalType: "string" },
|
|
347991
|
+
{ name: "decimals", type: "uint8", internalType: "uint8" },
|
|
347992
|
+
{ name: "totalSupply", type: "uint256", internalType: "uint256" },
|
|
348663
347993
|
{
|
|
348664
347994
|
name: "poolQuotaKeeper",
|
|
348665
347995
|
type: "address",
|
|
@@ -348670,11 +348000,7 @@ var iMarketCompressorAbi = [
|
|
|
348670
348000
|
type: "address",
|
|
348671
348001
|
internalType: "address"
|
|
348672
348002
|
},
|
|
348673
|
-
{
|
|
348674
|
-
name: "underlying",
|
|
348675
|
-
type: "address",
|
|
348676
|
-
internalType: "address"
|
|
348677
|
-
},
|
|
348003
|
+
{ name: "underlying", type: "address", internalType: "address" },
|
|
348678
348004
|
{
|
|
348679
348005
|
name: "availableLiquidity",
|
|
348680
348006
|
type: "uint256",
|
|
@@ -348695,21 +348021,9 @@ var iMarketCompressorAbi = [
|
|
|
348695
348021
|
type: "uint256",
|
|
348696
348022
|
internalType: "uint256"
|
|
348697
348023
|
},
|
|
348698
|
-
{
|
|
348699
|
-
|
|
348700
|
-
|
|
348701
|
-
internalType: "uint256"
|
|
348702
|
-
},
|
|
348703
|
-
{
|
|
348704
|
-
name: "supplyRate",
|
|
348705
|
-
type: "uint256",
|
|
348706
|
-
internalType: "uint256"
|
|
348707
|
-
},
|
|
348708
|
-
{
|
|
348709
|
-
name: "withdrawFee",
|
|
348710
|
-
type: "uint256",
|
|
348711
|
-
internalType: "uint256"
|
|
348712
|
-
},
|
|
348024
|
+
{ name: "dieselRate", type: "uint256", internalType: "uint256" },
|
|
348025
|
+
{ name: "supplyRate", type: "uint256", internalType: "uint256" },
|
|
348026
|
+
{ name: "withdrawFee", type: "uint256", internalType: "uint256" },
|
|
348713
348027
|
{
|
|
348714
348028
|
name: "totalBorrowed",
|
|
348715
348029
|
type: "uint256",
|
|
@@ -348735,11 +348049,7 @@ var iMarketCompressorAbi = [
|
|
|
348735
348049
|
type: "uint256",
|
|
348736
348050
|
internalType: "uint256"
|
|
348737
348051
|
},
|
|
348738
|
-
{
|
|
348739
|
-
name: "limit",
|
|
348740
|
-
type: "uint256",
|
|
348741
|
-
internalType: "uint256"
|
|
348742
|
-
},
|
|
348052
|
+
{ name: "limit", type: "uint256", internalType: "uint256" },
|
|
348743
348053
|
{
|
|
348744
348054
|
name: "available",
|
|
348745
348055
|
type: "uint256",
|
|
@@ -348772,11 +348082,7 @@ var iMarketCompressorAbi = [
|
|
|
348772
348082
|
type: "uint40",
|
|
348773
348083
|
internalType: "uint40"
|
|
348774
348084
|
},
|
|
348775
|
-
{
|
|
348776
|
-
name: "isPaused",
|
|
348777
|
-
type: "bool",
|
|
348778
|
-
internalType: "bool"
|
|
348779
|
-
}
|
|
348085
|
+
{ name: "isPaused", type: "bool", internalType: "bool" }
|
|
348780
348086
|
]
|
|
348781
348087
|
},
|
|
348782
348088
|
{
|
|
@@ -348789,16 +348095,8 @@ var iMarketCompressorAbi = [
|
|
|
348789
348095
|
type: "tuple",
|
|
348790
348096
|
internalType: "struct BaseParams",
|
|
348791
348097
|
components: [
|
|
348792
|
-
{
|
|
348793
|
-
|
|
348794
|
-
type: "address",
|
|
348795
|
-
internalType: "address"
|
|
348796
|
-
},
|
|
348797
|
-
{
|
|
348798
|
-
name: "version",
|
|
348799
|
-
type: "uint256",
|
|
348800
|
-
internalType: "uint256"
|
|
348801
|
-
},
|
|
348098
|
+
{ name: "addr", type: "address", internalType: "address" },
|
|
348099
|
+
{ name: "version", type: "uint256", internalType: "uint256" },
|
|
348802
348100
|
{
|
|
348803
348101
|
name: "contractType",
|
|
348804
348102
|
type: "bytes32",
|
|
@@ -348811,26 +348109,14 @@ var iMarketCompressorAbi = [
|
|
|
348811
348109
|
}
|
|
348812
348110
|
]
|
|
348813
348111
|
},
|
|
348814
|
-
{
|
|
348815
|
-
name: "rateKeeper",
|
|
348816
|
-
type: "address",
|
|
348817
|
-
internalType: "address"
|
|
348818
|
-
},
|
|
348112
|
+
{ name: "rateKeeper", type: "address", internalType: "address" },
|
|
348819
348113
|
{
|
|
348820
348114
|
name: "quotas",
|
|
348821
348115
|
type: "tuple[]",
|
|
348822
348116
|
internalType: "struct QuotaTokenParams[]",
|
|
348823
348117
|
components: [
|
|
348824
|
-
{
|
|
348825
|
-
|
|
348826
|
-
type: "address",
|
|
348827
|
-
internalType: "address"
|
|
348828
|
-
},
|
|
348829
|
-
{
|
|
348830
|
-
name: "rate",
|
|
348831
|
-
type: "uint16",
|
|
348832
|
-
internalType: "uint16"
|
|
348833
|
-
},
|
|
348118
|
+
{ name: "token", type: "address", internalType: "address" },
|
|
348119
|
+
{ name: "rate", type: "uint16", internalType: "uint16" },
|
|
348834
348120
|
{
|
|
348835
348121
|
name: "cumulativeIndexLU",
|
|
348836
348122
|
type: "uint192",
|
|
@@ -348846,16 +348132,8 @@ var iMarketCompressorAbi = [
|
|
|
348846
348132
|
type: "uint96",
|
|
348847
348133
|
internalType: "uint96"
|
|
348848
348134
|
},
|
|
348849
|
-
{
|
|
348850
|
-
|
|
348851
|
-
type: "uint96",
|
|
348852
|
-
internalType: "uint96"
|
|
348853
|
-
},
|
|
348854
|
-
{
|
|
348855
|
-
name: "isActive",
|
|
348856
|
-
type: "bool",
|
|
348857
|
-
internalType: "bool"
|
|
348858
|
-
}
|
|
348135
|
+
{ name: "limit", type: "uint96", internalType: "uint96" },
|
|
348136
|
+
{ name: "isActive", type: "bool", internalType: "bool" }
|
|
348859
348137
|
]
|
|
348860
348138
|
},
|
|
348861
348139
|
{
|
|
@@ -348880,16 +348158,8 @@ var iMarketCompressorAbi = [
|
|
|
348880
348158
|
type: "tuple",
|
|
348881
348159
|
internalType: "struct BaseParams",
|
|
348882
348160
|
components: [
|
|
348883
|
-
{
|
|
348884
|
-
|
|
348885
|
-
type: "address",
|
|
348886
|
-
internalType: "address"
|
|
348887
|
-
},
|
|
348888
|
-
{
|
|
348889
|
-
name: "version",
|
|
348890
|
-
type: "uint256",
|
|
348891
|
-
internalType: "uint256"
|
|
348892
|
-
},
|
|
348161
|
+
{ name: "addr", type: "address", internalType: "address" },
|
|
348162
|
+
{ name: "version", type: "uint256", internalType: "uint256" },
|
|
348893
348163
|
{
|
|
348894
348164
|
name: "contractType",
|
|
348895
348165
|
type: "bytes32",
|
|
@@ -348914,16 +348184,8 @@ var iMarketCompressorAbi = [
|
|
|
348914
348184
|
type: "tuple",
|
|
348915
348185
|
internalType: "struct BaseParams",
|
|
348916
348186
|
components: [
|
|
348917
|
-
{
|
|
348918
|
-
|
|
348919
|
-
type: "address",
|
|
348920
|
-
internalType: "address"
|
|
348921
|
-
},
|
|
348922
|
-
{
|
|
348923
|
-
name: "version",
|
|
348924
|
-
type: "uint256",
|
|
348925
|
-
internalType: "uint256"
|
|
348926
|
-
},
|
|
348187
|
+
{ name: "addr", type: "address", internalType: "address" },
|
|
348188
|
+
{ name: "version", type: "uint256", internalType: "uint256" },
|
|
348927
348189
|
{
|
|
348928
348190
|
name: "contractType",
|
|
348929
348191
|
type: "bytes32",
|
|
@@ -348941,16 +348203,8 @@ var iMarketCompressorAbi = [
|
|
|
348941
348203
|
type: "tuple[]",
|
|
348942
348204
|
internalType: "struct Rate[]",
|
|
348943
348205
|
components: [
|
|
348944
|
-
{
|
|
348945
|
-
|
|
348946
|
-
type: "address",
|
|
348947
|
-
internalType: "address"
|
|
348948
|
-
},
|
|
348949
|
-
{
|
|
348950
|
-
name: "rate",
|
|
348951
|
-
type: "uint16",
|
|
348952
|
-
internalType: "uint16"
|
|
348953
|
-
}
|
|
348206
|
+
{ name: "token", type: "address", internalType: "address" },
|
|
348207
|
+
{ name: "rate", type: "uint16", internalType: "uint16" }
|
|
348954
348208
|
]
|
|
348955
348209
|
}
|
|
348956
348210
|
]
|
|
@@ -348965,16 +348219,8 @@ var iMarketCompressorAbi = [
|
|
|
348965
348219
|
type: "tuple",
|
|
348966
348220
|
internalType: "struct BaseParams",
|
|
348967
348221
|
components: [
|
|
348968
|
-
{
|
|
348969
|
-
|
|
348970
|
-
type: "address",
|
|
348971
|
-
internalType: "address"
|
|
348972
|
-
},
|
|
348973
|
-
{
|
|
348974
|
-
name: "version",
|
|
348975
|
-
type: "uint256",
|
|
348976
|
-
internalType: "uint256"
|
|
348977
|
-
},
|
|
348222
|
+
{ name: "addr", type: "address", internalType: "address" },
|
|
348223
|
+
{ name: "version", type: "uint256", internalType: "uint256" },
|
|
348978
348224
|
{
|
|
348979
348225
|
name: "contractType",
|
|
348980
348226
|
type: "bytes32",
|
|
@@ -348992,16 +348238,8 @@ var iMarketCompressorAbi = [
|
|
|
348992
348238
|
type: "tuple[]",
|
|
348993
348239
|
internalType: "struct PriceFeedMapEntry[]",
|
|
348994
348240
|
components: [
|
|
348995
|
-
{
|
|
348996
|
-
|
|
348997
|
-
type: "address",
|
|
348998
|
-
internalType: "address"
|
|
348999
|
-
},
|
|
349000
|
-
{
|
|
349001
|
-
name: "reserve",
|
|
349002
|
-
type: "bool",
|
|
349003
|
-
internalType: "bool"
|
|
349004
|
-
},
|
|
348241
|
+
{ name: "token", type: "address", internalType: "address" },
|
|
348242
|
+
{ name: "reserve", type: "bool", internalType: "bool" },
|
|
349005
348243
|
{
|
|
349006
348244
|
name: "priceFeed",
|
|
349007
348245
|
type: "address",
|
|
@@ -349047,20 +348285,13 @@ var iMarketCompressorAbi = [
|
|
|
349047
348285
|
]
|
|
349048
348286
|
},
|
|
349049
348287
|
{
|
|
349050
|
-
name: "
|
|
349051
|
-
type: "
|
|
349052
|
-
internalType: "
|
|
349053
|
-
},
|
|
349054
|
-
{
|
|
349055
|
-
name: "skipCheck",
|
|
349056
|
-
type: "bool",
|
|
349057
|
-
internalType: "bool"
|
|
349058
|
-
},
|
|
349059
|
-
{
|
|
349060
|
-
name: "updatable",
|
|
349061
|
-
type: "bool",
|
|
349062
|
-
internalType: "bool"
|
|
348288
|
+
name: "description",
|
|
348289
|
+
type: "string",
|
|
348290
|
+
internalType: "string"
|
|
349063
348291
|
},
|
|
348292
|
+
{ name: "decimals", type: "uint8", internalType: "uint8" },
|
|
348293
|
+
{ name: "skipCheck", type: "bool", internalType: "bool" },
|
|
348294
|
+
{ name: "updatable", type: "bool", internalType: "bool" },
|
|
349064
348295
|
{
|
|
349065
348296
|
name: "underlyingFeeds",
|
|
349066
348297
|
type: "address[]",
|
|
@@ -349076,21 +348307,13 @@ var iMarketCompressorAbi = [
|
|
|
349076
348307
|
type: "tuple",
|
|
349077
348308
|
internalType: "struct PriceFeedAnswer",
|
|
349078
348309
|
components: [
|
|
349079
|
-
{
|
|
349080
|
-
name: "price",
|
|
349081
|
-
type: "int256",
|
|
349082
|
-
internalType: "int256"
|
|
349083
|
-
},
|
|
348310
|
+
{ name: "price", type: "int256", internalType: "int256" },
|
|
349084
348311
|
{
|
|
349085
348312
|
name: "updatedAt",
|
|
349086
348313
|
type: "uint256",
|
|
349087
348314
|
internalType: "uint256"
|
|
349088
348315
|
},
|
|
349089
|
-
{
|
|
349090
|
-
name: "success",
|
|
349091
|
-
type: "bool",
|
|
349092
|
-
internalType: "bool"
|
|
349093
|
-
}
|
|
348316
|
+
{ name: "success", type: "bool", internalType: "bool" }
|
|
349094
348317
|
]
|
|
349095
348318
|
}
|
|
349096
348319
|
]
|
|
@@ -349107,16 +348330,8 @@ var iMarketCompressorAbi = [
|
|
|
349107
348330
|
type: "tuple",
|
|
349108
348331
|
internalType: "struct BaseParams",
|
|
349109
348332
|
components: [
|
|
349110
|
-
{
|
|
349111
|
-
|
|
349112
|
-
type: "address",
|
|
349113
|
-
internalType: "address"
|
|
349114
|
-
},
|
|
349115
|
-
{
|
|
349116
|
-
name: "version",
|
|
349117
|
-
type: "uint256",
|
|
349118
|
-
internalType: "uint256"
|
|
349119
|
-
},
|
|
348333
|
+
{ name: "addr", type: "address", internalType: "address" },
|
|
348334
|
+
{ name: "version", type: "uint256", internalType: "uint256" },
|
|
349120
348335
|
{
|
|
349121
348336
|
name: "contractType",
|
|
349122
348337
|
type: "bytes32",
|
|
@@ -349136,26 +348351,10 @@ var iMarketCompressorAbi = [
|
|
|
349136
348351
|
type: "tuple[]",
|
|
349137
348352
|
internalType: "struct TokenData[]",
|
|
349138
348353
|
components: [
|
|
349139
|
-
{
|
|
349140
|
-
|
|
349141
|
-
|
|
349142
|
-
|
|
349143
|
-
},
|
|
349144
|
-
{
|
|
349145
|
-
name: "symbol",
|
|
349146
|
-
type: "string",
|
|
349147
|
-
internalType: "string"
|
|
349148
|
-
},
|
|
349149
|
-
{
|
|
349150
|
-
name: "name",
|
|
349151
|
-
type: "string",
|
|
349152
|
-
internalType: "string"
|
|
349153
|
-
},
|
|
349154
|
-
{
|
|
349155
|
-
name: "decimals",
|
|
349156
|
-
type: "uint8",
|
|
349157
|
-
internalType: "uint8"
|
|
349158
|
-
}
|
|
348354
|
+
{ name: "addr", type: "address", internalType: "address" },
|
|
348355
|
+
{ name: "symbol", type: "string", internalType: "string" },
|
|
348356
|
+
{ name: "name", type: "string", internalType: "string" },
|
|
348357
|
+
{ name: "decimals", type: "uint8", internalType: "uint8" }
|
|
349159
348358
|
]
|
|
349160
348359
|
},
|
|
349161
348360
|
{
|
|
@@ -349205,16 +348404,8 @@ var iMarketCompressorAbi = [
|
|
|
349205
348404
|
type: "address",
|
|
349206
348405
|
internalType: "address"
|
|
349207
348406
|
},
|
|
349208
|
-
{
|
|
349209
|
-
|
|
349210
|
-
type: "address",
|
|
349211
|
-
internalType: "address"
|
|
349212
|
-
},
|
|
349213
|
-
{
|
|
349214
|
-
name: "expirable",
|
|
349215
|
-
type: "bool",
|
|
349216
|
-
internalType: "bool"
|
|
349217
|
-
},
|
|
348407
|
+
{ name: "botList", type: "address", internalType: "address" },
|
|
348408
|
+
{ name: "expirable", type: "bool", internalType: "bool" },
|
|
349218
348409
|
{
|
|
349219
348410
|
name: "expirationDate",
|
|
349220
348411
|
type: "uint40",
|
|
@@ -349225,26 +348416,14 @@ var iMarketCompressorAbi = [
|
|
|
349225
348416
|
type: "uint8",
|
|
349226
348417
|
internalType: "uint8"
|
|
349227
348418
|
},
|
|
349228
|
-
{
|
|
349229
|
-
|
|
349230
|
-
type: "uint256",
|
|
349231
|
-
internalType: "uint256"
|
|
349232
|
-
},
|
|
349233
|
-
{
|
|
349234
|
-
name: "maxDebt",
|
|
349235
|
-
type: "uint256",
|
|
349236
|
-
internalType: "uint256"
|
|
349237
|
-
},
|
|
348419
|
+
{ name: "minDebt", type: "uint256", internalType: "uint256" },
|
|
348420
|
+
{ name: "maxDebt", type: "uint256", internalType: "uint256" },
|
|
349238
348421
|
{
|
|
349239
348422
|
name: "forbiddenTokenMask",
|
|
349240
348423
|
type: "uint256",
|
|
349241
348424
|
internalType: "uint256"
|
|
349242
348425
|
},
|
|
349243
|
-
{
|
|
349244
|
-
name: "isPaused",
|
|
349245
|
-
type: "bool",
|
|
349246
|
-
internalType: "bool"
|
|
349247
|
-
}
|
|
348426
|
+
{ name: "isPaused", type: "bool", internalType: "bool" }
|
|
349248
348427
|
]
|
|
349249
348428
|
},
|
|
349250
348429
|
{
|
|
@@ -349279,11 +348458,7 @@ var iMarketCompressorAbi = [
|
|
|
349279
348458
|
}
|
|
349280
348459
|
]
|
|
349281
348460
|
},
|
|
349282
|
-
{
|
|
349283
|
-
name: "name",
|
|
349284
|
-
type: "string",
|
|
349285
|
-
internalType: "string"
|
|
349286
|
-
},
|
|
348461
|
+
{ name: "name", type: "string", internalType: "string" },
|
|
349287
348462
|
{
|
|
349288
348463
|
name: "accountFactory",
|
|
349289
348464
|
type: "address",
|
|
@@ -349294,11 +348469,7 @@ var iMarketCompressorAbi = [
|
|
|
349294
348469
|
type: "address",
|
|
349295
348470
|
internalType: "address"
|
|
349296
348471
|
},
|
|
349297
|
-
{
|
|
349298
|
-
name: "pool",
|
|
349299
|
-
type: "address",
|
|
349300
|
-
internalType: "address"
|
|
349301
|
-
},
|
|
348472
|
+
{ name: "pool", type: "address", internalType: "address" },
|
|
349302
348473
|
{
|
|
349303
348474
|
name: "creditFacade",
|
|
349304
348475
|
type: "address",
|
|
@@ -349433,11 +348604,7 @@ var iMarketCompressorAbi = [
|
|
|
349433
348604
|
}
|
|
349434
348605
|
]
|
|
349435
348606
|
},
|
|
349436
|
-
{
|
|
349437
|
-
name: "configurator",
|
|
349438
|
-
type: "address",
|
|
349439
|
-
internalType: "address"
|
|
349440
|
-
},
|
|
348607
|
+
{ name: "configurator", type: "address", internalType: "address" },
|
|
349441
348608
|
{
|
|
349442
348609
|
name: "pausableAdmins",
|
|
349443
348610
|
type: "address[]",
|
|
@@ -349463,16 +348630,8 @@ var iMarketCompressorAbi = [
|
|
|
349463
348630
|
type: "tuple",
|
|
349464
348631
|
internalType: "struct BaseParams",
|
|
349465
348632
|
components: [
|
|
349466
|
-
{
|
|
349467
|
-
|
|
349468
|
-
type: "address",
|
|
349469
|
-
internalType: "address"
|
|
349470
|
-
},
|
|
349471
|
-
{
|
|
349472
|
-
name: "version",
|
|
349473
|
-
type: "uint256",
|
|
349474
|
-
internalType: "uint256"
|
|
349475
|
-
},
|
|
348633
|
+
{ name: "addr", type: "address", internalType: "address" },
|
|
348634
|
+
{ name: "version", type: "uint256", internalType: "uint256" },
|
|
349476
348635
|
{
|
|
349477
348636
|
name: "contractType",
|
|
349478
348637
|
type: "bytes32",
|
|
@@ -349490,26 +348649,10 @@ var iMarketCompressorAbi = [
|
|
|
349490
348649
|
type: "tuple",
|
|
349491
348650
|
internalType: "struct TokenData",
|
|
349492
348651
|
components: [
|
|
349493
|
-
{
|
|
349494
|
-
|
|
349495
|
-
|
|
349496
|
-
|
|
349497
|
-
},
|
|
349498
|
-
{
|
|
349499
|
-
name: "symbol",
|
|
349500
|
-
type: "string",
|
|
349501
|
-
internalType: "string"
|
|
349502
|
-
},
|
|
349503
|
-
{
|
|
349504
|
-
name: "name",
|
|
349505
|
-
type: "string",
|
|
349506
|
-
internalType: "string"
|
|
349507
|
-
},
|
|
349508
|
-
{
|
|
349509
|
-
name: "decimals",
|
|
349510
|
-
type: "uint8",
|
|
349511
|
-
internalType: "uint8"
|
|
349512
|
-
}
|
|
348652
|
+
{ name: "addr", type: "address", internalType: "address" },
|
|
348653
|
+
{ name: "symbol", type: "string", internalType: "string" },
|
|
348654
|
+
{ name: "name", type: "string", internalType: "string" },
|
|
348655
|
+
{ name: "decimals", type: "uint8", internalType: "uint8" }
|
|
349513
348656
|
]
|
|
349514
348657
|
},
|
|
349515
348658
|
{
|
|
@@ -349517,26 +348660,10 @@ var iMarketCompressorAbi = [
|
|
|
349517
348660
|
type: "tuple",
|
|
349518
348661
|
internalType: "struct TokenData",
|
|
349519
348662
|
components: [
|
|
349520
|
-
{
|
|
349521
|
-
|
|
349522
|
-
|
|
349523
|
-
|
|
349524
|
-
},
|
|
349525
|
-
{
|
|
349526
|
-
name: "symbol",
|
|
349527
|
-
type: "string",
|
|
349528
|
-
internalType: "string"
|
|
349529
|
-
},
|
|
349530
|
-
{
|
|
349531
|
-
name: "name",
|
|
349532
|
-
type: "string",
|
|
349533
|
-
internalType: "string"
|
|
349534
|
-
},
|
|
349535
|
-
{
|
|
349536
|
-
name: "decimals",
|
|
349537
|
-
type: "uint8",
|
|
349538
|
-
internalType: "uint8"
|
|
349539
|
-
}
|
|
348663
|
+
{ name: "addr", type: "address", internalType: "address" },
|
|
348664
|
+
{ name: "symbol", type: "string", internalType: "string" },
|
|
348665
|
+
{ name: "name", type: "string", internalType: "string" },
|
|
348666
|
+
{ name: "decimals", type: "uint8", internalType: "uint8" }
|
|
349540
348667
|
]
|
|
349541
348668
|
}
|
|
349542
348669
|
]
|
|
@@ -349549,34 +348676,20 @@ var iMarketCompressorAbi = [
|
|
|
349549
348676
|
{
|
|
349550
348677
|
type: "function",
|
|
349551
348678
|
name: "getMarketData",
|
|
349552
|
-
inputs: [
|
|
349553
|
-
{
|
|
349554
|
-
name: "pool",
|
|
349555
|
-
type: "address",
|
|
349556
|
-
internalType: "address"
|
|
349557
|
-
}
|
|
349558
|
-
],
|
|
348679
|
+
inputs: [{ name: "pool", type: "address", internalType: "address" }],
|
|
349559
348680
|
outputs: [
|
|
349560
348681
|
{
|
|
349561
348682
|
name: "result",
|
|
349562
348683
|
type: "tuple",
|
|
349563
348684
|
internalType: "struct MarketData",
|
|
349564
348685
|
components: [
|
|
349565
|
-
{
|
|
349566
|
-
name: "acl",
|
|
349567
|
-
type: "address",
|
|
349568
|
-
internalType: "address"
|
|
349569
|
-
},
|
|
348686
|
+
{ name: "acl", type: "address", internalType: "address" },
|
|
349570
348687
|
{
|
|
349571
348688
|
name: "contractsRegister",
|
|
349572
348689
|
type: "address",
|
|
349573
348690
|
internalType: "address"
|
|
349574
348691
|
},
|
|
349575
|
-
{
|
|
349576
|
-
name: "treasury",
|
|
349577
|
-
type: "address",
|
|
349578
|
-
internalType: "address"
|
|
349579
|
-
},
|
|
348692
|
+
{ name: "treasury", type: "address", internalType: "address" },
|
|
349580
348693
|
{
|
|
349581
348694
|
name: "pool",
|
|
349582
348695
|
type: "tuple",
|
|
@@ -349587,16 +348700,8 @@ var iMarketCompressorAbi = [
|
|
|
349587
348700
|
type: "tuple",
|
|
349588
348701
|
internalType: "struct BaseParams",
|
|
349589
348702
|
components: [
|
|
349590
|
-
{
|
|
349591
|
-
|
|
349592
|
-
type: "address",
|
|
349593
|
-
internalType: "address"
|
|
349594
|
-
},
|
|
349595
|
-
{
|
|
349596
|
-
name: "version",
|
|
349597
|
-
type: "uint256",
|
|
349598
|
-
internalType: "uint256"
|
|
349599
|
-
},
|
|
348703
|
+
{ name: "addr", type: "address", internalType: "address" },
|
|
348704
|
+
{ name: "version", type: "uint256", internalType: "uint256" },
|
|
349600
348705
|
{
|
|
349601
348706
|
name: "contractType",
|
|
349602
348707
|
type: "bytes32",
|
|
@@ -349609,26 +348714,10 @@ var iMarketCompressorAbi = [
|
|
|
349609
348714
|
}
|
|
349610
348715
|
]
|
|
349611
348716
|
},
|
|
349612
|
-
{
|
|
349613
|
-
|
|
349614
|
-
|
|
349615
|
-
|
|
349616
|
-
},
|
|
349617
|
-
{
|
|
349618
|
-
name: "name",
|
|
349619
|
-
type: "string",
|
|
349620
|
-
internalType: "string"
|
|
349621
|
-
},
|
|
349622
|
-
{
|
|
349623
|
-
name: "decimals",
|
|
349624
|
-
type: "uint8",
|
|
349625
|
-
internalType: "uint8"
|
|
349626
|
-
},
|
|
349627
|
-
{
|
|
349628
|
-
name: "totalSupply",
|
|
349629
|
-
type: "uint256",
|
|
349630
|
-
internalType: "uint256"
|
|
349631
|
-
},
|
|
348717
|
+
{ name: "symbol", type: "string", internalType: "string" },
|
|
348718
|
+
{ name: "name", type: "string", internalType: "string" },
|
|
348719
|
+
{ name: "decimals", type: "uint8", internalType: "uint8" },
|
|
348720
|
+
{ name: "totalSupply", type: "uint256", internalType: "uint256" },
|
|
349632
348721
|
{
|
|
349633
348722
|
name: "poolQuotaKeeper",
|
|
349634
348723
|
type: "address",
|
|
@@ -349639,11 +348728,7 @@ var iMarketCompressorAbi = [
|
|
|
349639
348728
|
type: "address",
|
|
349640
348729
|
internalType: "address"
|
|
349641
348730
|
},
|
|
349642
|
-
{
|
|
349643
|
-
name: "underlying",
|
|
349644
|
-
type: "address",
|
|
349645
|
-
internalType: "address"
|
|
349646
|
-
},
|
|
348731
|
+
{ name: "underlying", type: "address", internalType: "address" },
|
|
349647
348732
|
{
|
|
349648
348733
|
name: "availableLiquidity",
|
|
349649
348734
|
type: "uint256",
|
|
@@ -349664,21 +348749,9 @@ var iMarketCompressorAbi = [
|
|
|
349664
348749
|
type: "uint256",
|
|
349665
348750
|
internalType: "uint256"
|
|
349666
348751
|
},
|
|
349667
|
-
{
|
|
349668
|
-
|
|
349669
|
-
|
|
349670
|
-
internalType: "uint256"
|
|
349671
|
-
},
|
|
349672
|
-
{
|
|
349673
|
-
name: "supplyRate",
|
|
349674
|
-
type: "uint256",
|
|
349675
|
-
internalType: "uint256"
|
|
349676
|
-
},
|
|
349677
|
-
{
|
|
349678
|
-
name: "withdrawFee",
|
|
349679
|
-
type: "uint256",
|
|
349680
|
-
internalType: "uint256"
|
|
349681
|
-
},
|
|
348752
|
+
{ name: "dieselRate", type: "uint256", internalType: "uint256" },
|
|
348753
|
+
{ name: "supplyRate", type: "uint256", internalType: "uint256" },
|
|
348754
|
+
{ name: "withdrawFee", type: "uint256", internalType: "uint256" },
|
|
349682
348755
|
{
|
|
349683
348756
|
name: "totalBorrowed",
|
|
349684
348757
|
type: "uint256",
|
|
@@ -349704,11 +348777,7 @@ var iMarketCompressorAbi = [
|
|
|
349704
348777
|
type: "uint256",
|
|
349705
348778
|
internalType: "uint256"
|
|
349706
348779
|
},
|
|
349707
|
-
{
|
|
349708
|
-
name: "limit",
|
|
349709
|
-
type: "uint256",
|
|
349710
|
-
internalType: "uint256"
|
|
349711
|
-
},
|
|
348780
|
+
{ name: "limit", type: "uint256", internalType: "uint256" },
|
|
349712
348781
|
{
|
|
349713
348782
|
name: "available",
|
|
349714
348783
|
type: "uint256",
|
|
@@ -349741,11 +348810,7 @@ var iMarketCompressorAbi = [
|
|
|
349741
348810
|
type: "uint40",
|
|
349742
348811
|
internalType: "uint40"
|
|
349743
348812
|
},
|
|
349744
|
-
{
|
|
349745
|
-
name: "isPaused",
|
|
349746
|
-
type: "bool",
|
|
349747
|
-
internalType: "bool"
|
|
349748
|
-
}
|
|
348813
|
+
{ name: "isPaused", type: "bool", internalType: "bool" }
|
|
349749
348814
|
]
|
|
349750
348815
|
},
|
|
349751
348816
|
{
|
|
@@ -349758,16 +348823,8 @@ var iMarketCompressorAbi = [
|
|
|
349758
348823
|
type: "tuple",
|
|
349759
348824
|
internalType: "struct BaseParams",
|
|
349760
348825
|
components: [
|
|
349761
|
-
{
|
|
349762
|
-
|
|
349763
|
-
type: "address",
|
|
349764
|
-
internalType: "address"
|
|
349765
|
-
},
|
|
349766
|
-
{
|
|
349767
|
-
name: "version",
|
|
349768
|
-
type: "uint256",
|
|
349769
|
-
internalType: "uint256"
|
|
349770
|
-
},
|
|
348826
|
+
{ name: "addr", type: "address", internalType: "address" },
|
|
348827
|
+
{ name: "version", type: "uint256", internalType: "uint256" },
|
|
349771
348828
|
{
|
|
349772
348829
|
name: "contractType",
|
|
349773
348830
|
type: "bytes32",
|
|
@@ -349780,26 +348837,14 @@ var iMarketCompressorAbi = [
|
|
|
349780
348837
|
}
|
|
349781
348838
|
]
|
|
349782
348839
|
},
|
|
349783
|
-
{
|
|
349784
|
-
name: "rateKeeper",
|
|
349785
|
-
type: "address",
|
|
349786
|
-
internalType: "address"
|
|
349787
|
-
},
|
|
348840
|
+
{ name: "rateKeeper", type: "address", internalType: "address" },
|
|
349788
348841
|
{
|
|
349789
348842
|
name: "quotas",
|
|
349790
348843
|
type: "tuple[]",
|
|
349791
348844
|
internalType: "struct QuotaTokenParams[]",
|
|
349792
348845
|
components: [
|
|
349793
|
-
{
|
|
349794
|
-
|
|
349795
|
-
type: "address",
|
|
349796
|
-
internalType: "address"
|
|
349797
|
-
},
|
|
349798
|
-
{
|
|
349799
|
-
name: "rate",
|
|
349800
|
-
type: "uint16",
|
|
349801
|
-
internalType: "uint16"
|
|
349802
|
-
},
|
|
348846
|
+
{ name: "token", type: "address", internalType: "address" },
|
|
348847
|
+
{ name: "rate", type: "uint16", internalType: "uint16" },
|
|
349803
348848
|
{
|
|
349804
348849
|
name: "cumulativeIndexLU",
|
|
349805
348850
|
type: "uint192",
|
|
@@ -349815,16 +348860,8 @@ var iMarketCompressorAbi = [
|
|
|
349815
348860
|
type: "uint96",
|
|
349816
348861
|
internalType: "uint96"
|
|
349817
348862
|
},
|
|
349818
|
-
{
|
|
349819
|
-
|
|
349820
|
-
type: "uint96",
|
|
349821
|
-
internalType: "uint96"
|
|
349822
|
-
},
|
|
349823
|
-
{
|
|
349824
|
-
name: "isActive",
|
|
349825
|
-
type: "bool",
|
|
349826
|
-
internalType: "bool"
|
|
349827
|
-
}
|
|
348863
|
+
{ name: "limit", type: "uint96", internalType: "uint96" },
|
|
348864
|
+
{ name: "isActive", type: "bool", internalType: "bool" }
|
|
349828
348865
|
]
|
|
349829
348866
|
},
|
|
349830
348867
|
{
|
|
@@ -349849,16 +348886,8 @@ var iMarketCompressorAbi = [
|
|
|
349849
348886
|
type: "tuple",
|
|
349850
348887
|
internalType: "struct BaseParams",
|
|
349851
348888
|
components: [
|
|
349852
|
-
{
|
|
349853
|
-
|
|
349854
|
-
type: "address",
|
|
349855
|
-
internalType: "address"
|
|
349856
|
-
},
|
|
349857
|
-
{
|
|
349858
|
-
name: "version",
|
|
349859
|
-
type: "uint256",
|
|
349860
|
-
internalType: "uint256"
|
|
349861
|
-
},
|
|
348889
|
+
{ name: "addr", type: "address", internalType: "address" },
|
|
348890
|
+
{ name: "version", type: "uint256", internalType: "uint256" },
|
|
349862
348891
|
{
|
|
349863
348892
|
name: "contractType",
|
|
349864
348893
|
type: "bytes32",
|
|
@@ -349883,16 +348912,8 @@ var iMarketCompressorAbi = [
|
|
|
349883
348912
|
type: "tuple",
|
|
349884
348913
|
internalType: "struct BaseParams",
|
|
349885
348914
|
components: [
|
|
349886
|
-
{
|
|
349887
|
-
|
|
349888
|
-
type: "address",
|
|
349889
|
-
internalType: "address"
|
|
349890
|
-
},
|
|
349891
|
-
{
|
|
349892
|
-
name: "version",
|
|
349893
|
-
type: "uint256",
|
|
349894
|
-
internalType: "uint256"
|
|
349895
|
-
},
|
|
348915
|
+
{ name: "addr", type: "address", internalType: "address" },
|
|
348916
|
+
{ name: "version", type: "uint256", internalType: "uint256" },
|
|
349896
348917
|
{
|
|
349897
348918
|
name: "contractType",
|
|
349898
348919
|
type: "bytes32",
|
|
@@ -349910,16 +348931,8 @@ var iMarketCompressorAbi = [
|
|
|
349910
348931
|
type: "tuple[]",
|
|
349911
348932
|
internalType: "struct Rate[]",
|
|
349912
348933
|
components: [
|
|
349913
|
-
{
|
|
349914
|
-
|
|
349915
|
-
type: "address",
|
|
349916
|
-
internalType: "address"
|
|
349917
|
-
},
|
|
349918
|
-
{
|
|
349919
|
-
name: "rate",
|
|
349920
|
-
type: "uint16",
|
|
349921
|
-
internalType: "uint16"
|
|
349922
|
-
}
|
|
348934
|
+
{ name: "token", type: "address", internalType: "address" },
|
|
348935
|
+
{ name: "rate", type: "uint16", internalType: "uint16" }
|
|
349923
348936
|
]
|
|
349924
348937
|
}
|
|
349925
348938
|
]
|
|
@@ -349934,16 +348947,8 @@ var iMarketCompressorAbi = [
|
|
|
349934
348947
|
type: "tuple",
|
|
349935
348948
|
internalType: "struct BaseParams",
|
|
349936
348949
|
components: [
|
|
349937
|
-
{
|
|
349938
|
-
|
|
349939
|
-
type: "address",
|
|
349940
|
-
internalType: "address"
|
|
349941
|
-
},
|
|
349942
|
-
{
|
|
349943
|
-
name: "version",
|
|
349944
|
-
type: "uint256",
|
|
349945
|
-
internalType: "uint256"
|
|
349946
|
-
},
|
|
348950
|
+
{ name: "addr", type: "address", internalType: "address" },
|
|
348951
|
+
{ name: "version", type: "uint256", internalType: "uint256" },
|
|
349947
348952
|
{
|
|
349948
348953
|
name: "contractType",
|
|
349949
348954
|
type: "bytes32",
|
|
@@ -349961,16 +348966,8 @@ var iMarketCompressorAbi = [
|
|
|
349961
348966
|
type: "tuple[]",
|
|
349962
348967
|
internalType: "struct PriceFeedMapEntry[]",
|
|
349963
348968
|
components: [
|
|
349964
|
-
{
|
|
349965
|
-
|
|
349966
|
-
type: "address",
|
|
349967
|
-
internalType: "address"
|
|
349968
|
-
},
|
|
349969
|
-
{
|
|
349970
|
-
name: "reserve",
|
|
349971
|
-
type: "bool",
|
|
349972
|
-
internalType: "bool"
|
|
349973
|
-
},
|
|
348969
|
+
{ name: "token", type: "address", internalType: "address" },
|
|
348970
|
+
{ name: "reserve", type: "bool", internalType: "bool" },
|
|
349974
348971
|
{
|
|
349975
348972
|
name: "priceFeed",
|
|
349976
348973
|
type: "address",
|
|
@@ -350016,20 +349013,13 @@ var iMarketCompressorAbi = [
|
|
|
350016
349013
|
]
|
|
350017
349014
|
},
|
|
350018
349015
|
{
|
|
350019
|
-
name: "
|
|
350020
|
-
type: "
|
|
350021
|
-
internalType: "
|
|
350022
|
-
},
|
|
350023
|
-
{
|
|
350024
|
-
name: "skipCheck",
|
|
350025
|
-
type: "bool",
|
|
350026
|
-
internalType: "bool"
|
|
350027
|
-
},
|
|
350028
|
-
{
|
|
350029
|
-
name: "updatable",
|
|
350030
|
-
type: "bool",
|
|
350031
|
-
internalType: "bool"
|
|
349016
|
+
name: "description",
|
|
349017
|
+
type: "string",
|
|
349018
|
+
internalType: "string"
|
|
350032
349019
|
},
|
|
349020
|
+
{ name: "decimals", type: "uint8", internalType: "uint8" },
|
|
349021
|
+
{ name: "skipCheck", type: "bool", internalType: "bool" },
|
|
349022
|
+
{ name: "updatable", type: "bool", internalType: "bool" },
|
|
350033
349023
|
{
|
|
350034
349024
|
name: "underlyingFeeds",
|
|
350035
349025
|
type: "address[]",
|
|
@@ -350045,21 +349035,13 @@ var iMarketCompressorAbi = [
|
|
|
350045
349035
|
type: "tuple",
|
|
350046
349036
|
internalType: "struct PriceFeedAnswer",
|
|
350047
349037
|
components: [
|
|
350048
|
-
{
|
|
350049
|
-
name: "price",
|
|
350050
|
-
type: "int256",
|
|
350051
|
-
internalType: "int256"
|
|
350052
|
-
},
|
|
349038
|
+
{ name: "price", type: "int256", internalType: "int256" },
|
|
350053
349039
|
{
|
|
350054
349040
|
name: "updatedAt",
|
|
350055
349041
|
type: "uint256",
|
|
350056
349042
|
internalType: "uint256"
|
|
350057
349043
|
},
|
|
350058
|
-
{
|
|
350059
|
-
name: "success",
|
|
350060
|
-
type: "bool",
|
|
350061
|
-
internalType: "bool"
|
|
350062
|
-
}
|
|
349044
|
+
{ name: "success", type: "bool", internalType: "bool" }
|
|
350063
349045
|
]
|
|
350064
349046
|
}
|
|
350065
349047
|
]
|
|
@@ -350076,16 +349058,8 @@ var iMarketCompressorAbi = [
|
|
|
350076
349058
|
type: "tuple",
|
|
350077
349059
|
internalType: "struct BaseParams",
|
|
350078
349060
|
components: [
|
|
350079
|
-
{
|
|
350080
|
-
|
|
350081
|
-
type: "address",
|
|
350082
|
-
internalType: "address"
|
|
350083
|
-
},
|
|
350084
|
-
{
|
|
350085
|
-
name: "version",
|
|
350086
|
-
type: "uint256",
|
|
350087
|
-
internalType: "uint256"
|
|
350088
|
-
},
|
|
349061
|
+
{ name: "addr", type: "address", internalType: "address" },
|
|
349062
|
+
{ name: "version", type: "uint256", internalType: "uint256" },
|
|
350089
349063
|
{
|
|
350090
349064
|
name: "contractType",
|
|
350091
349065
|
type: "bytes32",
|
|
@@ -350105,26 +349079,10 @@ var iMarketCompressorAbi = [
|
|
|
350105
349079
|
type: "tuple[]",
|
|
350106
349080
|
internalType: "struct TokenData[]",
|
|
350107
349081
|
components: [
|
|
350108
|
-
{
|
|
350109
|
-
|
|
350110
|
-
|
|
350111
|
-
|
|
350112
|
-
},
|
|
350113
|
-
{
|
|
350114
|
-
name: "symbol",
|
|
350115
|
-
type: "string",
|
|
350116
|
-
internalType: "string"
|
|
350117
|
-
},
|
|
350118
|
-
{
|
|
350119
|
-
name: "name",
|
|
350120
|
-
type: "string",
|
|
350121
|
-
internalType: "string"
|
|
350122
|
-
},
|
|
350123
|
-
{
|
|
350124
|
-
name: "decimals",
|
|
350125
|
-
type: "uint8",
|
|
350126
|
-
internalType: "uint8"
|
|
350127
|
-
}
|
|
349082
|
+
{ name: "addr", type: "address", internalType: "address" },
|
|
349083
|
+
{ name: "symbol", type: "string", internalType: "string" },
|
|
349084
|
+
{ name: "name", type: "string", internalType: "string" },
|
|
349085
|
+
{ name: "decimals", type: "uint8", internalType: "uint8" }
|
|
350128
349086
|
]
|
|
350129
349087
|
},
|
|
350130
349088
|
{
|
|
@@ -350174,16 +349132,8 @@ var iMarketCompressorAbi = [
|
|
|
350174
349132
|
type: "address",
|
|
350175
349133
|
internalType: "address"
|
|
350176
349134
|
},
|
|
350177
|
-
{
|
|
350178
|
-
|
|
350179
|
-
type: "address",
|
|
350180
|
-
internalType: "address"
|
|
350181
|
-
},
|
|
350182
|
-
{
|
|
350183
|
-
name: "expirable",
|
|
350184
|
-
type: "bool",
|
|
350185
|
-
internalType: "bool"
|
|
350186
|
-
},
|
|
349135
|
+
{ name: "botList", type: "address", internalType: "address" },
|
|
349136
|
+
{ name: "expirable", type: "bool", internalType: "bool" },
|
|
350187
349137
|
{
|
|
350188
349138
|
name: "expirationDate",
|
|
350189
349139
|
type: "uint40",
|
|
@@ -350194,26 +349144,14 @@ var iMarketCompressorAbi = [
|
|
|
350194
349144
|
type: "uint8",
|
|
350195
349145
|
internalType: "uint8"
|
|
350196
349146
|
},
|
|
350197
|
-
{
|
|
350198
|
-
|
|
350199
|
-
type: "uint256",
|
|
350200
|
-
internalType: "uint256"
|
|
350201
|
-
},
|
|
350202
|
-
{
|
|
350203
|
-
name: "maxDebt",
|
|
350204
|
-
type: "uint256",
|
|
350205
|
-
internalType: "uint256"
|
|
350206
|
-
},
|
|
349147
|
+
{ name: "minDebt", type: "uint256", internalType: "uint256" },
|
|
349148
|
+
{ name: "maxDebt", type: "uint256", internalType: "uint256" },
|
|
350207
349149
|
{
|
|
350208
349150
|
name: "forbiddenTokenMask",
|
|
350209
349151
|
type: "uint256",
|
|
350210
349152
|
internalType: "uint256"
|
|
350211
349153
|
},
|
|
350212
|
-
{
|
|
350213
|
-
name: "isPaused",
|
|
350214
|
-
type: "bool",
|
|
350215
|
-
internalType: "bool"
|
|
350216
|
-
}
|
|
349154
|
+
{ name: "isPaused", type: "bool", internalType: "bool" }
|
|
350217
349155
|
]
|
|
350218
349156
|
},
|
|
350219
349157
|
{
|
|
@@ -350248,11 +349186,7 @@ var iMarketCompressorAbi = [
|
|
|
350248
349186
|
}
|
|
350249
349187
|
]
|
|
350250
349188
|
},
|
|
350251
|
-
{
|
|
350252
|
-
name: "name",
|
|
350253
|
-
type: "string",
|
|
350254
|
-
internalType: "string"
|
|
350255
|
-
},
|
|
349189
|
+
{ name: "name", type: "string", internalType: "string" },
|
|
350256
349190
|
{
|
|
350257
349191
|
name: "accountFactory",
|
|
350258
349192
|
type: "address",
|
|
@@ -350263,11 +349197,7 @@ var iMarketCompressorAbi = [
|
|
|
350263
349197
|
type: "address",
|
|
350264
349198
|
internalType: "address"
|
|
350265
349199
|
},
|
|
350266
|
-
{
|
|
350267
|
-
name: "pool",
|
|
350268
|
-
type: "address",
|
|
350269
|
-
internalType: "address"
|
|
350270
|
-
},
|
|
349200
|
+
{ name: "pool", type: "address", internalType: "address" },
|
|
350271
349201
|
{
|
|
350272
349202
|
name: "creditFacade",
|
|
350273
349203
|
type: "address",
|
|
@@ -350402,11 +349332,7 @@ var iMarketCompressorAbi = [
|
|
|
350402
349332
|
}
|
|
350403
349333
|
]
|
|
350404
349334
|
},
|
|
350405
|
-
{
|
|
350406
|
-
name: "configurator",
|
|
350407
|
-
type: "address",
|
|
350408
|
-
internalType: "address"
|
|
350409
|
-
},
|
|
349335
|
+
{ name: "configurator", type: "address", internalType: "address" },
|
|
350410
349336
|
{
|
|
350411
349337
|
name: "pausableAdmins",
|
|
350412
349338
|
type: "address[]",
|
|
@@ -350432,16 +349358,8 @@ var iMarketCompressorAbi = [
|
|
|
350432
349358
|
type: "tuple",
|
|
350433
349359
|
internalType: "struct BaseParams",
|
|
350434
349360
|
components: [
|
|
350435
|
-
{
|
|
350436
|
-
|
|
350437
|
-
type: "address",
|
|
350438
|
-
internalType: "address"
|
|
350439
|
-
},
|
|
350440
|
-
{
|
|
350441
|
-
name: "version",
|
|
350442
|
-
type: "uint256",
|
|
350443
|
-
internalType: "uint256"
|
|
350444
|
-
},
|
|
349361
|
+
{ name: "addr", type: "address", internalType: "address" },
|
|
349362
|
+
{ name: "version", type: "uint256", internalType: "uint256" },
|
|
350445
349363
|
{
|
|
350446
349364
|
name: "contractType",
|
|
350447
349365
|
type: "bytes32",
|
|
@@ -350459,26 +349377,10 @@ var iMarketCompressorAbi = [
|
|
|
350459
349377
|
type: "tuple",
|
|
350460
349378
|
internalType: "struct TokenData",
|
|
350461
349379
|
components: [
|
|
350462
|
-
{
|
|
350463
|
-
|
|
350464
|
-
|
|
350465
|
-
|
|
350466
|
-
},
|
|
350467
|
-
{
|
|
350468
|
-
name: "symbol",
|
|
350469
|
-
type: "string",
|
|
350470
|
-
internalType: "string"
|
|
350471
|
-
},
|
|
350472
|
-
{
|
|
350473
|
-
name: "name",
|
|
350474
|
-
type: "string",
|
|
350475
|
-
internalType: "string"
|
|
350476
|
-
},
|
|
350477
|
-
{
|
|
350478
|
-
name: "decimals",
|
|
350479
|
-
type: "uint8",
|
|
350480
|
-
internalType: "uint8"
|
|
350481
|
-
}
|
|
349380
|
+
{ name: "addr", type: "address", internalType: "address" },
|
|
349381
|
+
{ name: "symbol", type: "string", internalType: "string" },
|
|
349382
|
+
{ name: "name", type: "string", internalType: "string" },
|
|
349383
|
+
{ name: "decimals", type: "uint8", internalType: "uint8" }
|
|
350482
349384
|
]
|
|
350483
349385
|
},
|
|
350484
349386
|
{
|
|
@@ -350486,26 +349388,10 @@ var iMarketCompressorAbi = [
|
|
|
350486
349388
|
type: "tuple",
|
|
350487
349389
|
internalType: "struct TokenData",
|
|
350488
349390
|
components: [
|
|
350489
|
-
{
|
|
350490
|
-
|
|
350491
|
-
|
|
350492
|
-
|
|
350493
|
-
},
|
|
350494
|
-
{
|
|
350495
|
-
name: "symbol",
|
|
350496
|
-
type: "string",
|
|
350497
|
-
internalType: "string"
|
|
350498
|
-
},
|
|
350499
|
-
{
|
|
350500
|
-
name: "name",
|
|
350501
|
-
type: "string",
|
|
350502
|
-
internalType: "string"
|
|
350503
|
-
},
|
|
350504
|
-
{
|
|
350505
|
-
name: "decimals",
|
|
350506
|
-
type: "uint8",
|
|
350507
|
-
internalType: "uint8"
|
|
350508
|
-
}
|
|
349391
|
+
{ name: "addr", type: "address", internalType: "address" },
|
|
349392
|
+
{ name: "symbol", type: "string", internalType: "string" },
|
|
349393
|
+
{ name: "name", type: "string", internalType: "string" },
|
|
349394
|
+
{ name: "decimals", type: "uint8", internalType: "uint8" }
|
|
350509
349395
|
]
|
|
350510
349396
|
}
|
|
350511
349397
|
]
|
|
@@ -350529,16 +349415,8 @@ var iMarketCompressorAbi = [
|
|
|
350529
349415
|
type: "address[]",
|
|
350530
349416
|
internalType: "address[]"
|
|
350531
349417
|
},
|
|
350532
|
-
{
|
|
350533
|
-
|
|
350534
|
-
type: "address[]",
|
|
350535
|
-
internalType: "address[]"
|
|
350536
|
-
},
|
|
350537
|
-
{
|
|
350538
|
-
name: "underlying",
|
|
350539
|
-
type: "address",
|
|
350540
|
-
internalType: "address"
|
|
350541
|
-
}
|
|
349418
|
+
{ name: "pools", type: "address[]", internalType: "address[]" },
|
|
349419
|
+
{ name: "underlying", type: "address", internalType: "address" }
|
|
350542
349420
|
]
|
|
350543
349421
|
}
|
|
350544
349422
|
],
|
|
@@ -350548,21 +349426,13 @@ var iMarketCompressorAbi = [
|
|
|
350548
349426
|
type: "tuple[]",
|
|
350549
349427
|
internalType: "struct MarketData[]",
|
|
350550
349428
|
components: [
|
|
350551
|
-
{
|
|
350552
|
-
name: "acl",
|
|
350553
|
-
type: "address",
|
|
350554
|
-
internalType: "address"
|
|
350555
|
-
},
|
|
349429
|
+
{ name: "acl", type: "address", internalType: "address" },
|
|
350556
349430
|
{
|
|
350557
349431
|
name: "contractsRegister",
|
|
350558
349432
|
type: "address",
|
|
350559
349433
|
internalType: "address"
|
|
350560
349434
|
},
|
|
350561
|
-
{
|
|
350562
|
-
name: "treasury",
|
|
350563
|
-
type: "address",
|
|
350564
|
-
internalType: "address"
|
|
350565
|
-
},
|
|
349435
|
+
{ name: "treasury", type: "address", internalType: "address" },
|
|
350566
349436
|
{
|
|
350567
349437
|
name: "pool",
|
|
350568
349438
|
type: "tuple",
|
|
@@ -350573,16 +349443,8 @@ var iMarketCompressorAbi = [
|
|
|
350573
349443
|
type: "tuple",
|
|
350574
349444
|
internalType: "struct BaseParams",
|
|
350575
349445
|
components: [
|
|
350576
|
-
{
|
|
350577
|
-
|
|
350578
|
-
type: "address",
|
|
350579
|
-
internalType: "address"
|
|
350580
|
-
},
|
|
350581
|
-
{
|
|
350582
|
-
name: "version",
|
|
350583
|
-
type: "uint256",
|
|
350584
|
-
internalType: "uint256"
|
|
350585
|
-
},
|
|
349446
|
+
{ name: "addr", type: "address", internalType: "address" },
|
|
349447
|
+
{ name: "version", type: "uint256", internalType: "uint256" },
|
|
350586
349448
|
{
|
|
350587
349449
|
name: "contractType",
|
|
350588
349450
|
type: "bytes32",
|
|
@@ -350595,26 +349457,10 @@ var iMarketCompressorAbi = [
|
|
|
350595
349457
|
}
|
|
350596
349458
|
]
|
|
350597
349459
|
},
|
|
350598
|
-
{
|
|
350599
|
-
|
|
350600
|
-
|
|
350601
|
-
|
|
350602
|
-
},
|
|
350603
|
-
{
|
|
350604
|
-
name: "name",
|
|
350605
|
-
type: "string",
|
|
350606
|
-
internalType: "string"
|
|
350607
|
-
},
|
|
350608
|
-
{
|
|
350609
|
-
name: "decimals",
|
|
350610
|
-
type: "uint8",
|
|
350611
|
-
internalType: "uint8"
|
|
350612
|
-
},
|
|
350613
|
-
{
|
|
350614
|
-
name: "totalSupply",
|
|
350615
|
-
type: "uint256",
|
|
350616
|
-
internalType: "uint256"
|
|
350617
|
-
},
|
|
349460
|
+
{ name: "symbol", type: "string", internalType: "string" },
|
|
349461
|
+
{ name: "name", type: "string", internalType: "string" },
|
|
349462
|
+
{ name: "decimals", type: "uint8", internalType: "uint8" },
|
|
349463
|
+
{ name: "totalSupply", type: "uint256", internalType: "uint256" },
|
|
350618
349464
|
{
|
|
350619
349465
|
name: "poolQuotaKeeper",
|
|
350620
349466
|
type: "address",
|
|
@@ -350625,11 +349471,7 @@ var iMarketCompressorAbi = [
|
|
|
350625
349471
|
type: "address",
|
|
350626
349472
|
internalType: "address"
|
|
350627
349473
|
},
|
|
350628
|
-
{
|
|
350629
|
-
name: "underlying",
|
|
350630
|
-
type: "address",
|
|
350631
|
-
internalType: "address"
|
|
350632
|
-
},
|
|
349474
|
+
{ name: "underlying", type: "address", internalType: "address" },
|
|
350633
349475
|
{
|
|
350634
349476
|
name: "availableLiquidity",
|
|
350635
349477
|
type: "uint256",
|
|
@@ -350650,21 +349492,9 @@ var iMarketCompressorAbi = [
|
|
|
350650
349492
|
type: "uint256",
|
|
350651
349493
|
internalType: "uint256"
|
|
350652
349494
|
},
|
|
350653
|
-
{
|
|
350654
|
-
|
|
350655
|
-
|
|
350656
|
-
internalType: "uint256"
|
|
350657
|
-
},
|
|
350658
|
-
{
|
|
350659
|
-
name: "supplyRate",
|
|
350660
|
-
type: "uint256",
|
|
350661
|
-
internalType: "uint256"
|
|
350662
|
-
},
|
|
350663
|
-
{
|
|
350664
|
-
name: "withdrawFee",
|
|
350665
|
-
type: "uint256",
|
|
350666
|
-
internalType: "uint256"
|
|
350667
|
-
},
|
|
349495
|
+
{ name: "dieselRate", type: "uint256", internalType: "uint256" },
|
|
349496
|
+
{ name: "supplyRate", type: "uint256", internalType: "uint256" },
|
|
349497
|
+
{ name: "withdrawFee", type: "uint256", internalType: "uint256" },
|
|
350668
349498
|
{
|
|
350669
349499
|
name: "totalBorrowed",
|
|
350670
349500
|
type: "uint256",
|
|
@@ -350690,11 +349520,7 @@ var iMarketCompressorAbi = [
|
|
|
350690
349520
|
type: "uint256",
|
|
350691
349521
|
internalType: "uint256"
|
|
350692
349522
|
},
|
|
350693
|
-
{
|
|
350694
|
-
name: "limit",
|
|
350695
|
-
type: "uint256",
|
|
350696
|
-
internalType: "uint256"
|
|
350697
|
-
},
|
|
349523
|
+
{ name: "limit", type: "uint256", internalType: "uint256" },
|
|
350698
349524
|
{
|
|
350699
349525
|
name: "available",
|
|
350700
349526
|
type: "uint256",
|
|
@@ -350727,11 +349553,7 @@ var iMarketCompressorAbi = [
|
|
|
350727
349553
|
type: "uint40",
|
|
350728
349554
|
internalType: "uint40"
|
|
350729
349555
|
},
|
|
350730
|
-
{
|
|
350731
|
-
name: "isPaused",
|
|
350732
|
-
type: "bool",
|
|
350733
|
-
internalType: "bool"
|
|
350734
|
-
}
|
|
349556
|
+
{ name: "isPaused", type: "bool", internalType: "bool" }
|
|
350735
349557
|
]
|
|
350736
349558
|
},
|
|
350737
349559
|
{
|
|
@@ -350744,16 +349566,8 @@ var iMarketCompressorAbi = [
|
|
|
350744
349566
|
type: "tuple",
|
|
350745
349567
|
internalType: "struct BaseParams",
|
|
350746
349568
|
components: [
|
|
350747
|
-
{
|
|
350748
|
-
|
|
350749
|
-
type: "address",
|
|
350750
|
-
internalType: "address"
|
|
350751
|
-
},
|
|
350752
|
-
{
|
|
350753
|
-
name: "version",
|
|
350754
|
-
type: "uint256",
|
|
350755
|
-
internalType: "uint256"
|
|
350756
|
-
},
|
|
349569
|
+
{ name: "addr", type: "address", internalType: "address" },
|
|
349570
|
+
{ name: "version", type: "uint256", internalType: "uint256" },
|
|
350757
349571
|
{
|
|
350758
349572
|
name: "contractType",
|
|
350759
349573
|
type: "bytes32",
|
|
@@ -350766,26 +349580,14 @@ var iMarketCompressorAbi = [
|
|
|
350766
349580
|
}
|
|
350767
349581
|
]
|
|
350768
349582
|
},
|
|
350769
|
-
{
|
|
350770
|
-
name: "rateKeeper",
|
|
350771
|
-
type: "address",
|
|
350772
|
-
internalType: "address"
|
|
350773
|
-
},
|
|
349583
|
+
{ name: "rateKeeper", type: "address", internalType: "address" },
|
|
350774
349584
|
{
|
|
350775
349585
|
name: "quotas",
|
|
350776
349586
|
type: "tuple[]",
|
|
350777
349587
|
internalType: "struct QuotaTokenParams[]",
|
|
350778
349588
|
components: [
|
|
350779
|
-
{
|
|
350780
|
-
|
|
350781
|
-
type: "address",
|
|
350782
|
-
internalType: "address"
|
|
350783
|
-
},
|
|
350784
|
-
{
|
|
350785
|
-
name: "rate",
|
|
350786
|
-
type: "uint16",
|
|
350787
|
-
internalType: "uint16"
|
|
350788
|
-
},
|
|
349589
|
+
{ name: "token", type: "address", internalType: "address" },
|
|
349590
|
+
{ name: "rate", type: "uint16", internalType: "uint16" },
|
|
350789
349591
|
{
|
|
350790
349592
|
name: "cumulativeIndexLU",
|
|
350791
349593
|
type: "uint192",
|
|
@@ -350801,16 +349603,8 @@ var iMarketCompressorAbi = [
|
|
|
350801
349603
|
type: "uint96",
|
|
350802
349604
|
internalType: "uint96"
|
|
350803
349605
|
},
|
|
350804
|
-
{
|
|
350805
|
-
|
|
350806
|
-
type: "uint96",
|
|
350807
|
-
internalType: "uint96"
|
|
350808
|
-
},
|
|
350809
|
-
{
|
|
350810
|
-
name: "isActive",
|
|
350811
|
-
type: "bool",
|
|
350812
|
-
internalType: "bool"
|
|
350813
|
-
}
|
|
349606
|
+
{ name: "limit", type: "uint96", internalType: "uint96" },
|
|
349607
|
+
{ name: "isActive", type: "bool", internalType: "bool" }
|
|
350814
349608
|
]
|
|
350815
349609
|
},
|
|
350816
349610
|
{
|
|
@@ -350835,16 +349629,8 @@ var iMarketCompressorAbi = [
|
|
|
350835
349629
|
type: "tuple",
|
|
350836
349630
|
internalType: "struct BaseParams",
|
|
350837
349631
|
components: [
|
|
350838
|
-
{
|
|
350839
|
-
|
|
350840
|
-
type: "address",
|
|
350841
|
-
internalType: "address"
|
|
350842
|
-
},
|
|
350843
|
-
{
|
|
350844
|
-
name: "version",
|
|
350845
|
-
type: "uint256",
|
|
350846
|
-
internalType: "uint256"
|
|
350847
|
-
},
|
|
349632
|
+
{ name: "addr", type: "address", internalType: "address" },
|
|
349633
|
+
{ name: "version", type: "uint256", internalType: "uint256" },
|
|
350848
349634
|
{
|
|
350849
349635
|
name: "contractType",
|
|
350850
349636
|
type: "bytes32",
|
|
@@ -350869,16 +349655,8 @@ var iMarketCompressorAbi = [
|
|
|
350869
349655
|
type: "tuple",
|
|
350870
349656
|
internalType: "struct BaseParams",
|
|
350871
349657
|
components: [
|
|
350872
|
-
{
|
|
350873
|
-
|
|
350874
|
-
type: "address",
|
|
350875
|
-
internalType: "address"
|
|
350876
|
-
},
|
|
350877
|
-
{
|
|
350878
|
-
name: "version",
|
|
350879
|
-
type: "uint256",
|
|
350880
|
-
internalType: "uint256"
|
|
350881
|
-
},
|
|
349658
|
+
{ name: "addr", type: "address", internalType: "address" },
|
|
349659
|
+
{ name: "version", type: "uint256", internalType: "uint256" },
|
|
350882
349660
|
{
|
|
350883
349661
|
name: "contractType",
|
|
350884
349662
|
type: "bytes32",
|
|
@@ -350896,16 +349674,8 @@ var iMarketCompressorAbi = [
|
|
|
350896
349674
|
type: "tuple[]",
|
|
350897
349675
|
internalType: "struct Rate[]",
|
|
350898
349676
|
components: [
|
|
350899
|
-
{
|
|
350900
|
-
|
|
350901
|
-
type: "address",
|
|
350902
|
-
internalType: "address"
|
|
350903
|
-
},
|
|
350904
|
-
{
|
|
350905
|
-
name: "rate",
|
|
350906
|
-
type: "uint16",
|
|
350907
|
-
internalType: "uint16"
|
|
350908
|
-
}
|
|
349677
|
+
{ name: "token", type: "address", internalType: "address" },
|
|
349678
|
+
{ name: "rate", type: "uint16", internalType: "uint16" }
|
|
350909
349679
|
]
|
|
350910
349680
|
}
|
|
350911
349681
|
]
|
|
@@ -350920,16 +349690,8 @@ var iMarketCompressorAbi = [
|
|
|
350920
349690
|
type: "tuple",
|
|
350921
349691
|
internalType: "struct BaseParams",
|
|
350922
349692
|
components: [
|
|
350923
|
-
{
|
|
350924
|
-
|
|
350925
|
-
type: "address",
|
|
350926
|
-
internalType: "address"
|
|
350927
|
-
},
|
|
350928
|
-
{
|
|
350929
|
-
name: "version",
|
|
350930
|
-
type: "uint256",
|
|
350931
|
-
internalType: "uint256"
|
|
350932
|
-
},
|
|
349693
|
+
{ name: "addr", type: "address", internalType: "address" },
|
|
349694
|
+
{ name: "version", type: "uint256", internalType: "uint256" },
|
|
350933
349695
|
{
|
|
350934
349696
|
name: "contractType",
|
|
350935
349697
|
type: "bytes32",
|
|
@@ -350947,16 +349709,8 @@ var iMarketCompressorAbi = [
|
|
|
350947
349709
|
type: "tuple[]",
|
|
350948
349710
|
internalType: "struct PriceFeedMapEntry[]",
|
|
350949
349711
|
components: [
|
|
350950
|
-
{
|
|
350951
|
-
|
|
350952
|
-
type: "address",
|
|
350953
|
-
internalType: "address"
|
|
350954
|
-
},
|
|
350955
|
-
{
|
|
350956
|
-
name: "reserve",
|
|
350957
|
-
type: "bool",
|
|
350958
|
-
internalType: "bool"
|
|
350959
|
-
},
|
|
349712
|
+
{ name: "token", type: "address", internalType: "address" },
|
|
349713
|
+
{ name: "reserve", type: "bool", internalType: "bool" },
|
|
350960
349714
|
{
|
|
350961
349715
|
name: "priceFeed",
|
|
350962
349716
|
type: "address",
|
|
@@ -351002,20 +349756,13 @@ var iMarketCompressorAbi = [
|
|
|
351002
349756
|
]
|
|
351003
349757
|
},
|
|
351004
349758
|
{
|
|
351005
|
-
name: "
|
|
351006
|
-
type: "
|
|
351007
|
-
internalType: "
|
|
351008
|
-
},
|
|
351009
|
-
{
|
|
351010
|
-
name: "skipCheck",
|
|
351011
|
-
type: "bool",
|
|
351012
|
-
internalType: "bool"
|
|
351013
|
-
},
|
|
351014
|
-
{
|
|
351015
|
-
name: "updatable",
|
|
351016
|
-
type: "bool",
|
|
351017
|
-
internalType: "bool"
|
|
349759
|
+
name: "description",
|
|
349760
|
+
type: "string",
|
|
349761
|
+
internalType: "string"
|
|
351018
349762
|
},
|
|
349763
|
+
{ name: "decimals", type: "uint8", internalType: "uint8" },
|
|
349764
|
+
{ name: "skipCheck", type: "bool", internalType: "bool" },
|
|
349765
|
+
{ name: "updatable", type: "bool", internalType: "bool" },
|
|
351019
349766
|
{
|
|
351020
349767
|
name: "underlyingFeeds",
|
|
351021
349768
|
type: "address[]",
|
|
@@ -351031,21 +349778,13 @@ var iMarketCompressorAbi = [
|
|
|
351031
349778
|
type: "tuple",
|
|
351032
349779
|
internalType: "struct PriceFeedAnswer",
|
|
351033
349780
|
components: [
|
|
351034
|
-
{
|
|
351035
|
-
name: "price",
|
|
351036
|
-
type: "int256",
|
|
351037
|
-
internalType: "int256"
|
|
351038
|
-
},
|
|
349781
|
+
{ name: "price", type: "int256", internalType: "int256" },
|
|
351039
349782
|
{
|
|
351040
349783
|
name: "updatedAt",
|
|
351041
349784
|
type: "uint256",
|
|
351042
349785
|
internalType: "uint256"
|
|
351043
349786
|
},
|
|
351044
|
-
{
|
|
351045
|
-
name: "success",
|
|
351046
|
-
type: "bool",
|
|
351047
|
-
internalType: "bool"
|
|
351048
|
-
}
|
|
349787
|
+
{ name: "success", type: "bool", internalType: "bool" }
|
|
351049
349788
|
]
|
|
351050
349789
|
}
|
|
351051
349790
|
]
|
|
@@ -351062,16 +349801,8 @@ var iMarketCompressorAbi = [
|
|
|
351062
349801
|
type: "tuple",
|
|
351063
349802
|
internalType: "struct BaseParams",
|
|
351064
349803
|
components: [
|
|
351065
|
-
{
|
|
351066
|
-
|
|
351067
|
-
type: "address",
|
|
351068
|
-
internalType: "address"
|
|
351069
|
-
},
|
|
351070
|
-
{
|
|
351071
|
-
name: "version",
|
|
351072
|
-
type: "uint256",
|
|
351073
|
-
internalType: "uint256"
|
|
351074
|
-
},
|
|
349804
|
+
{ name: "addr", type: "address", internalType: "address" },
|
|
349805
|
+
{ name: "version", type: "uint256", internalType: "uint256" },
|
|
351075
349806
|
{
|
|
351076
349807
|
name: "contractType",
|
|
351077
349808
|
type: "bytes32",
|
|
@@ -351091,26 +349822,10 @@ var iMarketCompressorAbi = [
|
|
|
351091
349822
|
type: "tuple[]",
|
|
351092
349823
|
internalType: "struct TokenData[]",
|
|
351093
349824
|
components: [
|
|
351094
|
-
{
|
|
351095
|
-
|
|
351096
|
-
|
|
351097
|
-
|
|
351098
|
-
},
|
|
351099
|
-
{
|
|
351100
|
-
name: "symbol",
|
|
351101
|
-
type: "string",
|
|
351102
|
-
internalType: "string"
|
|
351103
|
-
},
|
|
351104
|
-
{
|
|
351105
|
-
name: "name",
|
|
351106
|
-
type: "string",
|
|
351107
|
-
internalType: "string"
|
|
351108
|
-
},
|
|
351109
|
-
{
|
|
351110
|
-
name: "decimals",
|
|
351111
|
-
type: "uint8",
|
|
351112
|
-
internalType: "uint8"
|
|
351113
|
-
}
|
|
349825
|
+
{ name: "addr", type: "address", internalType: "address" },
|
|
349826
|
+
{ name: "symbol", type: "string", internalType: "string" },
|
|
349827
|
+
{ name: "name", type: "string", internalType: "string" },
|
|
349828
|
+
{ name: "decimals", type: "uint8", internalType: "uint8" }
|
|
351114
349829
|
]
|
|
351115
349830
|
},
|
|
351116
349831
|
{
|
|
@@ -351160,16 +349875,8 @@ var iMarketCompressorAbi = [
|
|
|
351160
349875
|
type: "address",
|
|
351161
349876
|
internalType: "address"
|
|
351162
349877
|
},
|
|
351163
|
-
{
|
|
351164
|
-
|
|
351165
|
-
type: "address",
|
|
351166
|
-
internalType: "address"
|
|
351167
|
-
},
|
|
351168
|
-
{
|
|
351169
|
-
name: "expirable",
|
|
351170
|
-
type: "bool",
|
|
351171
|
-
internalType: "bool"
|
|
351172
|
-
},
|
|
349878
|
+
{ name: "botList", type: "address", internalType: "address" },
|
|
349879
|
+
{ name: "expirable", type: "bool", internalType: "bool" },
|
|
351173
349880
|
{
|
|
351174
349881
|
name: "expirationDate",
|
|
351175
349882
|
type: "uint40",
|
|
@@ -351180,26 +349887,14 @@ var iMarketCompressorAbi = [
|
|
|
351180
349887
|
type: "uint8",
|
|
351181
349888
|
internalType: "uint8"
|
|
351182
349889
|
},
|
|
351183
|
-
{
|
|
351184
|
-
|
|
351185
|
-
type: "uint256",
|
|
351186
|
-
internalType: "uint256"
|
|
351187
|
-
},
|
|
351188
|
-
{
|
|
351189
|
-
name: "maxDebt",
|
|
351190
|
-
type: "uint256",
|
|
351191
|
-
internalType: "uint256"
|
|
351192
|
-
},
|
|
349890
|
+
{ name: "minDebt", type: "uint256", internalType: "uint256" },
|
|
349891
|
+
{ name: "maxDebt", type: "uint256", internalType: "uint256" },
|
|
351193
349892
|
{
|
|
351194
349893
|
name: "forbiddenTokenMask",
|
|
351195
349894
|
type: "uint256",
|
|
351196
349895
|
internalType: "uint256"
|
|
351197
349896
|
},
|
|
351198
|
-
{
|
|
351199
|
-
name: "isPaused",
|
|
351200
|
-
type: "bool",
|
|
351201
|
-
internalType: "bool"
|
|
351202
|
-
}
|
|
349897
|
+
{ name: "isPaused", type: "bool", internalType: "bool" }
|
|
351203
349898
|
]
|
|
351204
349899
|
},
|
|
351205
349900
|
{
|
|
@@ -351234,11 +349929,7 @@ var iMarketCompressorAbi = [
|
|
|
351234
349929
|
}
|
|
351235
349930
|
]
|
|
351236
349931
|
},
|
|
351237
|
-
{
|
|
351238
|
-
name: "name",
|
|
351239
|
-
type: "string",
|
|
351240
|
-
internalType: "string"
|
|
351241
|
-
},
|
|
349932
|
+
{ name: "name", type: "string", internalType: "string" },
|
|
351242
349933
|
{
|
|
351243
349934
|
name: "accountFactory",
|
|
351244
349935
|
type: "address",
|
|
@@ -351249,11 +349940,7 @@ var iMarketCompressorAbi = [
|
|
|
351249
349940
|
type: "address",
|
|
351250
349941
|
internalType: "address"
|
|
351251
349942
|
},
|
|
351252
|
-
{
|
|
351253
|
-
name: "pool",
|
|
351254
|
-
type: "address",
|
|
351255
|
-
internalType: "address"
|
|
351256
|
-
},
|
|
349943
|
+
{ name: "pool", type: "address", internalType: "address" },
|
|
351257
349944
|
{
|
|
351258
349945
|
name: "creditFacade",
|
|
351259
349946
|
type: "address",
|
|
@@ -351388,11 +350075,7 @@ var iMarketCompressorAbi = [
|
|
|
351388
350075
|
}
|
|
351389
350076
|
]
|
|
351390
350077
|
},
|
|
351391
|
-
{
|
|
351392
|
-
name: "configurator",
|
|
351393
|
-
type: "address",
|
|
351394
|
-
internalType: "address"
|
|
351395
|
-
},
|
|
350078
|
+
{ name: "configurator", type: "address", internalType: "address" },
|
|
351396
350079
|
{
|
|
351397
350080
|
name: "pausableAdmins",
|
|
351398
350081
|
type: "address[]",
|
|
@@ -351418,16 +350101,8 @@ var iMarketCompressorAbi = [
|
|
|
351418
350101
|
type: "tuple",
|
|
351419
350102
|
internalType: "struct BaseParams",
|
|
351420
350103
|
components: [
|
|
351421
|
-
{
|
|
351422
|
-
|
|
351423
|
-
type: "address",
|
|
351424
|
-
internalType: "address"
|
|
351425
|
-
},
|
|
351426
|
-
{
|
|
351427
|
-
name: "version",
|
|
351428
|
-
type: "uint256",
|
|
351429
|
-
internalType: "uint256"
|
|
351430
|
-
},
|
|
350104
|
+
{ name: "addr", type: "address", internalType: "address" },
|
|
350105
|
+
{ name: "version", type: "uint256", internalType: "uint256" },
|
|
351431
350106
|
{
|
|
351432
350107
|
name: "contractType",
|
|
351433
350108
|
type: "bytes32",
|
|
@@ -351445,26 +350120,10 @@ var iMarketCompressorAbi = [
|
|
|
351445
350120
|
type: "tuple",
|
|
351446
350121
|
internalType: "struct TokenData",
|
|
351447
350122
|
components: [
|
|
351448
|
-
{
|
|
351449
|
-
|
|
351450
|
-
|
|
351451
|
-
|
|
351452
|
-
},
|
|
351453
|
-
{
|
|
351454
|
-
name: "symbol",
|
|
351455
|
-
type: "string",
|
|
351456
|
-
internalType: "string"
|
|
351457
|
-
},
|
|
351458
|
-
{
|
|
351459
|
-
name: "name",
|
|
351460
|
-
type: "string",
|
|
351461
|
-
internalType: "string"
|
|
351462
|
-
},
|
|
351463
|
-
{
|
|
351464
|
-
name: "decimals",
|
|
351465
|
-
type: "uint8",
|
|
351466
|
-
internalType: "uint8"
|
|
351467
|
-
}
|
|
350123
|
+
{ name: "addr", type: "address", internalType: "address" },
|
|
350124
|
+
{ name: "symbol", type: "string", internalType: "string" },
|
|
350125
|
+
{ name: "name", type: "string", internalType: "string" },
|
|
350126
|
+
{ name: "decimals", type: "uint8", internalType: "uint8" }
|
|
351468
350127
|
]
|
|
351469
350128
|
},
|
|
351470
350129
|
{
|
|
@@ -351472,26 +350131,10 @@ var iMarketCompressorAbi = [
|
|
|
351472
350131
|
type: "tuple",
|
|
351473
350132
|
internalType: "struct TokenData",
|
|
351474
350133
|
components: [
|
|
351475
|
-
{
|
|
351476
|
-
|
|
351477
|
-
|
|
351478
|
-
|
|
351479
|
-
},
|
|
351480
|
-
{
|
|
351481
|
-
name: "symbol",
|
|
351482
|
-
type: "string",
|
|
351483
|
-
internalType: "string"
|
|
351484
|
-
},
|
|
351485
|
-
{
|
|
351486
|
-
name: "name",
|
|
351487
|
-
type: "string",
|
|
351488
|
-
internalType: "string"
|
|
351489
|
-
},
|
|
351490
|
-
{
|
|
351491
|
-
name: "decimals",
|
|
351492
|
-
type: "uint8",
|
|
351493
|
-
internalType: "uint8"
|
|
351494
|
-
}
|
|
350134
|
+
{ name: "addr", type: "address", internalType: "address" },
|
|
350135
|
+
{ name: "symbol", type: "string", internalType: "string" },
|
|
350136
|
+
{ name: "name", type: "string", internalType: "string" },
|
|
350137
|
+
{ name: "decimals", type: "uint8", internalType: "uint8" }
|
|
351495
350138
|
]
|
|
351496
350139
|
}
|
|
351497
350140
|
]
|
|
@@ -351515,16 +350158,8 @@ var iMarketCompressorAbi = [
|
|
|
351515
350158
|
type: "address[]",
|
|
351516
350159
|
internalType: "address[]"
|
|
351517
350160
|
},
|
|
351518
|
-
{
|
|
351519
|
-
|
|
351520
|
-
type: "address[]",
|
|
351521
|
-
internalType: "address[]"
|
|
351522
|
-
},
|
|
351523
|
-
{
|
|
351524
|
-
name: "underlying",
|
|
351525
|
-
type: "address",
|
|
351526
|
-
internalType: "address"
|
|
351527
|
-
}
|
|
350161
|
+
{ name: "pools", type: "address[]", internalType: "address[]" },
|
|
350162
|
+
{ name: "underlying", type: "address", internalType: "address" }
|
|
351528
350163
|
]
|
|
351529
350164
|
}
|
|
351530
350165
|
],
|
|
@@ -351534,26 +350169,10 @@ var iMarketCompressorAbi = [
|
|
|
351534
350169
|
type: "tuple[]",
|
|
351535
350170
|
internalType: "struct BaseParams[]",
|
|
351536
350171
|
components: [
|
|
351537
|
-
{
|
|
351538
|
-
|
|
351539
|
-
|
|
351540
|
-
|
|
351541
|
-
},
|
|
351542
|
-
{
|
|
351543
|
-
name: "version",
|
|
351544
|
-
type: "uint256",
|
|
351545
|
-
internalType: "uint256"
|
|
351546
|
-
},
|
|
351547
|
-
{
|
|
351548
|
-
name: "contractType",
|
|
351549
|
-
type: "bytes32",
|
|
351550
|
-
internalType: "bytes32"
|
|
351551
|
-
},
|
|
351552
|
-
{
|
|
351553
|
-
name: "serializedParams",
|
|
351554
|
-
type: "bytes",
|
|
351555
|
-
internalType: "bytes"
|
|
351556
|
-
}
|
|
350172
|
+
{ name: "addr", type: "address", internalType: "address" },
|
|
350173
|
+
{ name: "version", type: "uint256", internalType: "uint256" },
|
|
350174
|
+
{ name: "contractType", type: "bytes32", internalType: "bytes32" },
|
|
350175
|
+
{ name: "serializedParams", type: "bytes", internalType: "bytes" }
|
|
351557
350176
|
]
|
|
351558
350177
|
}
|
|
351559
350178
|
],
|
|
@@ -351563,13 +350182,7 @@ var iMarketCompressorAbi = [
|
|
|
351563
350182
|
type: "function",
|
|
351564
350183
|
name: "version",
|
|
351565
350184
|
inputs: [],
|
|
351566
|
-
outputs: [
|
|
351567
|
-
{
|
|
351568
|
-
name: "",
|
|
351569
|
-
type: "uint256",
|
|
351570
|
-
internalType: "uint256"
|
|
351571
|
-
}
|
|
351572
|
-
],
|
|
350185
|
+
outputs: [{ name: "", type: "uint256", internalType: "uint256" }],
|
|
351573
350186
|
stateMutability: "view"
|
|
351574
350187
|
}
|
|
351575
350188
|
];
|
|
@@ -351578,29 +350191,15 @@ var iPriceFeedCompressorAbi = [
|
|
|
351578
350191
|
type: "function",
|
|
351579
350192
|
name: "contractType",
|
|
351580
350193
|
inputs: [],
|
|
351581
|
-
outputs: [
|
|
351582
|
-
{
|
|
351583
|
-
name: "",
|
|
351584
|
-
type: "bytes32",
|
|
351585
|
-
internalType: "bytes32"
|
|
351586
|
-
}
|
|
351587
|
-
],
|
|
350194
|
+
outputs: [{ name: "", type: "bytes32", internalType: "bytes32" }],
|
|
351588
350195
|
stateMutability: "view"
|
|
351589
350196
|
},
|
|
351590
350197
|
{
|
|
351591
350198
|
type: "function",
|
|
351592
350199
|
name: "getPriceFeeds",
|
|
351593
350200
|
inputs: [
|
|
351594
|
-
{
|
|
351595
|
-
|
|
351596
|
-
type: "address",
|
|
351597
|
-
internalType: "address"
|
|
351598
|
-
},
|
|
351599
|
-
{
|
|
351600
|
-
name: "tokens",
|
|
351601
|
-
type: "address[]",
|
|
351602
|
-
internalType: "address[]"
|
|
351603
|
-
}
|
|
350201
|
+
{ name: "priceOracle", type: "address", internalType: "address" },
|
|
350202
|
+
{ name: "tokens", type: "address[]", internalType: "address[]" }
|
|
351604
350203
|
],
|
|
351605
350204
|
outputs: [
|
|
351606
350205
|
{
|
|
@@ -351608,26 +350207,10 @@ var iPriceFeedCompressorAbi = [
|
|
|
351608
350207
|
type: "tuple[]",
|
|
351609
350208
|
internalType: "struct PriceFeedMapEntry[]",
|
|
351610
350209
|
components: [
|
|
351611
|
-
{
|
|
351612
|
-
|
|
351613
|
-
|
|
351614
|
-
|
|
351615
|
-
},
|
|
351616
|
-
{
|
|
351617
|
-
name: "reserve",
|
|
351618
|
-
type: "bool",
|
|
351619
|
-
internalType: "bool"
|
|
351620
|
-
},
|
|
351621
|
-
{
|
|
351622
|
-
name: "priceFeed",
|
|
351623
|
-
type: "address",
|
|
351624
|
-
internalType: "address"
|
|
351625
|
-
},
|
|
351626
|
-
{
|
|
351627
|
-
name: "stalenessPeriod",
|
|
351628
|
-
type: "uint32",
|
|
351629
|
-
internalType: "uint32"
|
|
351630
|
-
}
|
|
350210
|
+
{ name: "token", type: "address", internalType: "address" },
|
|
350211
|
+
{ name: "reserve", type: "bool", internalType: "bool" },
|
|
350212
|
+
{ name: "priceFeed", type: "address", internalType: "address" },
|
|
350213
|
+
{ name: "stalenessPeriod", type: "uint32", internalType: "uint32" }
|
|
351631
350214
|
]
|
|
351632
350215
|
},
|
|
351633
350216
|
{
|
|
@@ -351640,16 +350223,8 @@ var iPriceFeedCompressorAbi = [
|
|
|
351640
350223
|
type: "tuple",
|
|
351641
350224
|
internalType: "struct BaseParams",
|
|
351642
350225
|
components: [
|
|
351643
|
-
{
|
|
351644
|
-
|
|
351645
|
-
type: "address",
|
|
351646
|
-
internalType: "address"
|
|
351647
|
-
},
|
|
351648
|
-
{
|
|
351649
|
-
name: "version",
|
|
351650
|
-
type: "uint256",
|
|
351651
|
-
internalType: "uint256"
|
|
351652
|
-
},
|
|
350226
|
+
{ name: "addr", type: "address", internalType: "address" },
|
|
350227
|
+
{ name: "version", type: "uint256", internalType: "uint256" },
|
|
351653
350228
|
{
|
|
351654
350229
|
name: "contractType",
|
|
351655
350230
|
type: "bytes32",
|
|
@@ -351662,21 +350237,10 @@ var iPriceFeedCompressorAbi = [
|
|
|
351662
350237
|
}
|
|
351663
350238
|
]
|
|
351664
350239
|
},
|
|
351665
|
-
{
|
|
351666
|
-
|
|
351667
|
-
|
|
351668
|
-
|
|
351669
|
-
},
|
|
351670
|
-
{
|
|
351671
|
-
name: "skipCheck",
|
|
351672
|
-
type: "bool",
|
|
351673
|
-
internalType: "bool"
|
|
351674
|
-
},
|
|
351675
|
-
{
|
|
351676
|
-
name: "updatable",
|
|
351677
|
-
type: "bool",
|
|
351678
|
-
internalType: "bool"
|
|
351679
|
-
},
|
|
350240
|
+
{ name: "description", type: "string", internalType: "string" },
|
|
350241
|
+
{ name: "decimals", type: "uint8", internalType: "uint8" },
|
|
350242
|
+
{ name: "skipCheck", type: "bool", internalType: "bool" },
|
|
350243
|
+
{ name: "updatable", type: "bool", internalType: "bool" },
|
|
351680
350244
|
{
|
|
351681
350245
|
name: "underlyingFeeds",
|
|
351682
350246
|
type: "address[]",
|
|
@@ -351692,21 +350256,9 @@ var iPriceFeedCompressorAbi = [
|
|
|
351692
350256
|
type: "tuple",
|
|
351693
350257
|
internalType: "struct PriceFeedAnswer",
|
|
351694
350258
|
components: [
|
|
351695
|
-
{
|
|
351696
|
-
|
|
351697
|
-
|
|
351698
|
-
internalType: "int256"
|
|
351699
|
-
},
|
|
351700
|
-
{
|
|
351701
|
-
name: "updatedAt",
|
|
351702
|
-
type: "uint256",
|
|
351703
|
-
internalType: "uint256"
|
|
351704
|
-
},
|
|
351705
|
-
{
|
|
351706
|
-
name: "success",
|
|
351707
|
-
type: "bool",
|
|
351708
|
-
internalType: "bool"
|
|
351709
|
-
}
|
|
350259
|
+
{ name: "price", type: "int256", internalType: "int256" },
|
|
350260
|
+
{ name: "updatedAt", type: "uint256", internalType: "uint256" },
|
|
350261
|
+
{ name: "success", type: "bool", internalType: "bool" }
|
|
351710
350262
|
]
|
|
351711
350263
|
}
|
|
351712
350264
|
]
|
|
@@ -351717,39 +350269,17 @@ var iPriceFeedCompressorAbi = [
|
|
|
351717
350269
|
{
|
|
351718
350270
|
type: "function",
|
|
351719
350271
|
name: "getPriceFeeds",
|
|
351720
|
-
inputs: [
|
|
351721
|
-
{
|
|
351722
|
-
name: "priceOracle",
|
|
351723
|
-
type: "address",
|
|
351724
|
-
internalType: "address"
|
|
351725
|
-
}
|
|
351726
|
-
],
|
|
350272
|
+
inputs: [{ name: "priceOracle", type: "address", internalType: "address" }],
|
|
351727
350273
|
outputs: [
|
|
351728
350274
|
{
|
|
351729
350275
|
name: "priceFeedMap",
|
|
351730
350276
|
type: "tuple[]",
|
|
351731
350277
|
internalType: "struct PriceFeedMapEntry[]",
|
|
351732
350278
|
components: [
|
|
351733
|
-
{
|
|
351734
|
-
|
|
351735
|
-
|
|
351736
|
-
|
|
351737
|
-
},
|
|
351738
|
-
{
|
|
351739
|
-
name: "reserve",
|
|
351740
|
-
type: "bool",
|
|
351741
|
-
internalType: "bool"
|
|
351742
|
-
},
|
|
351743
|
-
{
|
|
351744
|
-
name: "priceFeed",
|
|
351745
|
-
type: "address",
|
|
351746
|
-
internalType: "address"
|
|
351747
|
-
},
|
|
351748
|
-
{
|
|
351749
|
-
name: "stalenessPeriod",
|
|
351750
|
-
type: "uint32",
|
|
351751
|
-
internalType: "uint32"
|
|
351752
|
-
}
|
|
350279
|
+
{ name: "token", type: "address", internalType: "address" },
|
|
350280
|
+
{ name: "reserve", type: "bool", internalType: "bool" },
|
|
350281
|
+
{ name: "priceFeed", type: "address", internalType: "address" },
|
|
350282
|
+
{ name: "stalenessPeriod", type: "uint32", internalType: "uint32" }
|
|
351753
350283
|
]
|
|
351754
350284
|
},
|
|
351755
350285
|
{
|
|
@@ -351762,16 +350292,8 @@ var iPriceFeedCompressorAbi = [
|
|
|
351762
350292
|
type: "tuple",
|
|
351763
350293
|
internalType: "struct BaseParams",
|
|
351764
350294
|
components: [
|
|
351765
|
-
{
|
|
351766
|
-
|
|
351767
|
-
type: "address",
|
|
351768
|
-
internalType: "address"
|
|
351769
|
-
},
|
|
351770
|
-
{
|
|
351771
|
-
name: "version",
|
|
351772
|
-
type: "uint256",
|
|
351773
|
-
internalType: "uint256"
|
|
351774
|
-
},
|
|
350295
|
+
{ name: "addr", type: "address", internalType: "address" },
|
|
350296
|
+
{ name: "version", type: "uint256", internalType: "uint256" },
|
|
351775
350297
|
{
|
|
351776
350298
|
name: "contractType",
|
|
351777
350299
|
type: "bytes32",
|
|
@@ -351784,21 +350306,10 @@ var iPriceFeedCompressorAbi = [
|
|
|
351784
350306
|
}
|
|
351785
350307
|
]
|
|
351786
350308
|
},
|
|
351787
|
-
{
|
|
351788
|
-
|
|
351789
|
-
|
|
351790
|
-
|
|
351791
|
-
},
|
|
351792
|
-
{
|
|
351793
|
-
name: "skipCheck",
|
|
351794
|
-
type: "bool",
|
|
351795
|
-
internalType: "bool"
|
|
351796
|
-
},
|
|
351797
|
-
{
|
|
351798
|
-
name: "updatable",
|
|
351799
|
-
type: "bool",
|
|
351800
|
-
internalType: "bool"
|
|
351801
|
-
},
|
|
350309
|
+
{ name: "description", type: "string", internalType: "string" },
|
|
350310
|
+
{ name: "decimals", type: "uint8", internalType: "uint8" },
|
|
350311
|
+
{ name: "skipCheck", type: "bool", internalType: "bool" },
|
|
350312
|
+
{ name: "updatable", type: "bool", internalType: "bool" },
|
|
351802
350313
|
{
|
|
351803
350314
|
name: "underlyingFeeds",
|
|
351804
350315
|
type: "address[]",
|
|
@@ -351814,21 +350325,9 @@ var iPriceFeedCompressorAbi = [
|
|
|
351814
350325
|
type: "tuple",
|
|
351815
350326
|
internalType: "struct PriceFeedAnswer",
|
|
351816
350327
|
components: [
|
|
351817
|
-
{
|
|
351818
|
-
|
|
351819
|
-
|
|
351820
|
-
internalType: "int256"
|
|
351821
|
-
},
|
|
351822
|
-
{
|
|
351823
|
-
name: "updatedAt",
|
|
351824
|
-
type: "uint256",
|
|
351825
|
-
internalType: "uint256"
|
|
351826
|
-
},
|
|
351827
|
-
{
|
|
351828
|
-
name: "success",
|
|
351829
|
-
type: "bool",
|
|
351830
|
-
internalType: "bool"
|
|
351831
|
-
}
|
|
350328
|
+
{ name: "price", type: "int256", internalType: "int256" },
|
|
350329
|
+
{ name: "updatedAt", type: "uint256", internalType: "uint256" },
|
|
350330
|
+
{ name: "success", type: "bool", internalType: "bool" }
|
|
351832
350331
|
]
|
|
351833
350332
|
}
|
|
351834
350333
|
]
|
|
@@ -351840,11 +350339,7 @@ var iPriceFeedCompressorAbi = [
|
|
|
351840
350339
|
type: "function",
|
|
351841
350340
|
name: "loadPriceFeedTree",
|
|
351842
350341
|
inputs: [
|
|
351843
|
-
{
|
|
351844
|
-
name: "priceFeeds",
|
|
351845
|
-
type: "address[]",
|
|
351846
|
-
internalType: "address[]"
|
|
351847
|
-
}
|
|
350342
|
+
{ name: "priceFeeds", type: "address[]", internalType: "address[]" }
|
|
351848
350343
|
],
|
|
351849
350344
|
outputs: [
|
|
351850
350345
|
{
|
|
@@ -351857,16 +350352,8 @@ var iPriceFeedCompressorAbi = [
|
|
|
351857
350352
|
type: "tuple",
|
|
351858
350353
|
internalType: "struct BaseParams",
|
|
351859
350354
|
components: [
|
|
351860
|
-
{
|
|
351861
|
-
|
|
351862
|
-
type: "address",
|
|
351863
|
-
internalType: "address"
|
|
351864
|
-
},
|
|
351865
|
-
{
|
|
351866
|
-
name: "version",
|
|
351867
|
-
type: "uint256",
|
|
351868
|
-
internalType: "uint256"
|
|
351869
|
-
},
|
|
350355
|
+
{ name: "addr", type: "address", internalType: "address" },
|
|
350356
|
+
{ name: "version", type: "uint256", internalType: "uint256" },
|
|
351870
350357
|
{
|
|
351871
350358
|
name: "contractType",
|
|
351872
350359
|
type: "bytes32",
|
|
@@ -351879,21 +350366,10 @@ var iPriceFeedCompressorAbi = [
|
|
|
351879
350366
|
}
|
|
351880
350367
|
]
|
|
351881
350368
|
},
|
|
351882
|
-
{
|
|
351883
|
-
|
|
351884
|
-
|
|
351885
|
-
|
|
351886
|
-
},
|
|
351887
|
-
{
|
|
351888
|
-
name: "skipCheck",
|
|
351889
|
-
type: "bool",
|
|
351890
|
-
internalType: "bool"
|
|
351891
|
-
},
|
|
351892
|
-
{
|
|
351893
|
-
name: "updatable",
|
|
351894
|
-
type: "bool",
|
|
351895
|
-
internalType: "bool"
|
|
351896
|
-
},
|
|
350369
|
+
{ name: "description", type: "string", internalType: "string" },
|
|
350370
|
+
{ name: "decimals", type: "uint8", internalType: "uint8" },
|
|
350371
|
+
{ name: "skipCheck", type: "bool", internalType: "bool" },
|
|
350372
|
+
{ name: "updatable", type: "bool", internalType: "bool" },
|
|
351897
350373
|
{
|
|
351898
350374
|
name: "underlyingFeeds",
|
|
351899
350375
|
type: "address[]",
|
|
@@ -351909,21 +350385,9 @@ var iPriceFeedCompressorAbi = [
|
|
|
351909
350385
|
type: "tuple",
|
|
351910
350386
|
internalType: "struct PriceFeedAnswer",
|
|
351911
350387
|
components: [
|
|
351912
|
-
{
|
|
351913
|
-
|
|
351914
|
-
|
|
351915
|
-
internalType: "int256"
|
|
351916
|
-
},
|
|
351917
|
-
{
|
|
351918
|
-
name: "updatedAt",
|
|
351919
|
-
type: "uint256",
|
|
351920
|
-
internalType: "uint256"
|
|
351921
|
-
},
|
|
351922
|
-
{
|
|
351923
|
-
name: "success",
|
|
351924
|
-
type: "bool",
|
|
351925
|
-
internalType: "bool"
|
|
351926
|
-
}
|
|
350388
|
+
{ name: "price", type: "int256", internalType: "int256" },
|
|
350389
|
+
{ name: "updatedAt", type: "uint256", internalType: "uint256" },
|
|
350390
|
+
{ name: "success", type: "bool", internalType: "bool" }
|
|
351927
350391
|
]
|
|
351928
350392
|
}
|
|
351929
350393
|
]
|
|
@@ -351935,13 +350399,7 @@ var iPriceFeedCompressorAbi = [
|
|
|
351935
350399
|
type: "function",
|
|
351936
350400
|
name: "version",
|
|
351937
350401
|
inputs: [],
|
|
351938
|
-
outputs: [
|
|
351939
|
-
{
|
|
351940
|
-
name: "",
|
|
351941
|
-
type: "uint256",
|
|
351942
|
-
internalType: "uint256"
|
|
351943
|
-
}
|
|
351944
|
-
],
|
|
350402
|
+
outputs: [{ name: "", type: "uint256", internalType: "uint256" }],
|
|
351945
350403
|
stateMutability: "view"
|
|
351946
350404
|
},
|
|
351947
350405
|
{
|
|
@@ -351964,6 +350422,47 @@ var iPriceFeedCompressorAbi = [
|
|
|
351964
350422
|
anonymous: false
|
|
351965
350423
|
}
|
|
351966
350424
|
];
|
|
350425
|
+
var iRewardCompressorAbi = [
|
|
350426
|
+
{
|
|
350427
|
+
type: "function",
|
|
350428
|
+
name: "contractType",
|
|
350429
|
+
inputs: [],
|
|
350430
|
+
outputs: [{ name: "", type: "bytes32", internalType: "bytes32" }],
|
|
350431
|
+
stateMutability: "view"
|
|
350432
|
+
},
|
|
350433
|
+
{
|
|
350434
|
+
type: "function",
|
|
350435
|
+
name: "getRewards",
|
|
350436
|
+
inputs: [
|
|
350437
|
+
{ name: "creditAccount", type: "address", internalType: "address" }
|
|
350438
|
+
],
|
|
350439
|
+
outputs: [
|
|
350440
|
+
{
|
|
350441
|
+
name: "rewards",
|
|
350442
|
+
type: "tuple[]",
|
|
350443
|
+
internalType: "struct RewardInfo[]",
|
|
350444
|
+
components: [
|
|
350445
|
+
{ name: "amount", type: "uint256", internalType: "uint256" },
|
|
350446
|
+
{ name: "rewardToken", type: "address", internalType: "address" },
|
|
350447
|
+
{
|
|
350448
|
+
name: "stakedPhantomToken",
|
|
350449
|
+
type: "address",
|
|
350450
|
+
internalType: "address"
|
|
350451
|
+
},
|
|
350452
|
+
{ name: "adapter", type: "address", internalType: "address" }
|
|
350453
|
+
]
|
|
350454
|
+
}
|
|
350455
|
+
],
|
|
350456
|
+
stateMutability: "view"
|
|
350457
|
+
},
|
|
350458
|
+
{
|
|
350459
|
+
type: "function",
|
|
350460
|
+
name: "version",
|
|
350461
|
+
inputs: [],
|
|
350462
|
+
outputs: [{ name: "", type: "uint256", internalType: "uint256" }],
|
|
350463
|
+
stateMutability: "view"
|
|
350464
|
+
}
|
|
350465
|
+
];
|
|
351967
350466
|
var bptStablePriceFeedAbi = [
|
|
351968
350467
|
{
|
|
351969
350468
|
type: "constructor",
|
|
@@ -373830,6 +372329,7 @@ var AP_MARKET_COMPRESSOR = "MARKET_COMPRESSOR";
|
|
|
373830
372329
|
var AP_MARKET_CONFIGURATOR = "MARKET_CONFIGURATOR";
|
|
373831
372330
|
var AP_PRICE_FEED_COMPRESSOR = "PRICE_FEED_COMPRESSOR";
|
|
373832
372331
|
var AP_CREDIT_ACCOUNT_COMPRESSOR = "CREDIT_ACCOUNT_COMPRESSOR";
|
|
372332
|
+
var AP_REWARDS_COMPRESSOR = "REWARDS_COMPRESSOR";
|
|
373833
372333
|
var AP_GEAR_TOKEN = "GEAR_TOKEN";
|
|
373834
372334
|
var AP_ROUTER = "ROUTER";
|
|
373835
372335
|
var AP_BOT_LIST = "BOT_LIST";
|
|
@@ -376060,6 +374560,7 @@ var AdapterInterface = /* @__PURE__ */ ((AdapterInterface2) => {
|
|
|
376060
374560
|
AdapterInterface2[AdapterInterface2["DAI_USDS_EXCHANGE"] = 33] = "DAI_USDS_EXCHANGE";
|
|
376061
374561
|
AdapterInterface2[AdapterInterface2["STAKING_REWARDS"] = 34] = "STAKING_REWARDS";
|
|
376062
374562
|
AdapterInterface2[AdapterInterface2["EQUALIZER_ROUTER"] = 35] = "EQUALIZER_ROUTER";
|
|
374563
|
+
AdapterInterface2[AdapterInterface2["BALANCER_V3_ROUTER"] = 36] = "BALANCER_V3_ROUTER";
|
|
376063
374564
|
return AdapterInterface2;
|
|
376064
374565
|
})(AdapterInterface || {});
|
|
376065
374566
|
var aaveV2Tokens = {
|
|
@@ -376594,6 +375095,16 @@ var balancerLpTokens = {
|
|
|
376594
375095
|
underlying: ["rsETH", "WETH"],
|
|
376595
375096
|
poolId: "0x58aadfb1afac0ad7fca1148f3cde6aedf5236b6d00000000000000000000067f"
|
|
376596
375097
|
},
|
|
375098
|
+
B_50WBTC_50WETH: {
|
|
375099
|
+
name: "Balancer WBTC/WETH",
|
|
375100
|
+
symbol: "B_50WBTC_50WETH",
|
|
375101
|
+
type: {
|
|
375102
|
+
AllNetworks: 10
|
|
375103
|
+
/* BALANCER_LP_TOKEN */
|
|
375104
|
+
},
|
|
375105
|
+
underlying: ["WBTC", "WETH"],
|
|
375106
|
+
poolId: "0xa6f548df93de924d73be7d25dc02554c6bd66db500020000000000000000000e"
|
|
375107
|
+
},
|
|
376597
375108
|
rsETH_wETH_Arb: {
|
|
376598
375109
|
name: "Balancer rsETH/WETH Pool (Arbitrum)",
|
|
376599
375110
|
symbol: "rsETH_wETH_Arb",
|
|
@@ -377883,6 +376394,7 @@ var decimals = {
|
|
|
377883
376394
|
"33AURA_33ARB_33BAL": 18,
|
|
377884
376395
|
ezETH_wstETH: 18,
|
|
377885
376396
|
GHO_USDT_USDC: 18,
|
|
376397
|
+
B_50WBTC_50WETH: 18,
|
|
377886
376398
|
rsETH_WETH: 18,
|
|
377887
376399
|
rsETH_wETH_Arb: 18,
|
|
377888
376400
|
bpt_ethtri: 18,
|
|
@@ -379179,6 +377691,7 @@ var tokenDataByNetwork = {
|
|
|
379179
377691
|
bpt_ethtri: NOT_DEPLOYED,
|
|
379180
377692
|
pumpBTC_WBTC_BPT: "0x2238aB6c8c58473a5e81b86ec352322fB3f5Edd8",
|
|
379181
377693
|
eBTC_WBTC_BPT: "0xda17f3663C5D04C0B316cfA1A04Aa53eBBC8c12C",
|
|
377694
|
+
B_50WBTC_50WETH: "0xA6F548DF93de924d73be7D25dC02554c6bD66dB5",
|
|
379182
377695
|
// AURA
|
|
379183
377696
|
auraB_rETH_STABLE: "0x9497df26e5bD669Cb925eC68E730492b9300c482",
|
|
379184
377697
|
auraweETH_rETH: "0xb2912397566Dafc9cDee555a38e980661858a61a",
|
|
@@ -379460,6 +377973,7 @@ var tokenDataByNetwork = {
|
|
|
379460
377973
|
bpt_ethtri: NOT_DEPLOYED,
|
|
379461
377974
|
pumpBTC_WBTC_BPT: NOT_DEPLOYED,
|
|
379462
377975
|
eBTC_WBTC_BPT: NOT_DEPLOYED,
|
|
377976
|
+
B_50WBTC_50WETH: NOT_DEPLOYED,
|
|
379463
377977
|
// AURA
|
|
379464
377978
|
auraB_rETH_STABLE: NOT_DEPLOYED,
|
|
379465
377979
|
auraweETH_rETH: NOT_DEPLOYED,
|
|
@@ -379732,6 +378246,7 @@ var tokenDataByNetwork = {
|
|
|
379732
378246
|
GHO_USDT_USDC: NOT_DEPLOYED,
|
|
379733
378247
|
rsETH_WETH: NOT_DEPLOYED,
|
|
379734
378248
|
rsETH_wETH_Arb: NOT_DEPLOYED,
|
|
378249
|
+
B_50WBTC_50WETH: NOT_DEPLOYED,
|
|
379735
378250
|
BPT_rETH_ETH: "0x4Fd63966879300caFafBB35D157dC5229278Ed23",
|
|
379736
378251
|
BPT_WSTETH_ETH: "0x7B50775383d3D6f0215A8F290f2C9e2eEBBEceb2",
|
|
379737
378252
|
BPT_ROAD: "0x39965c9dAb5448482Cf7e002F583c812Ceb53046",
|
|
@@ -380013,6 +378528,7 @@ var tokenDataByNetwork = {
|
|
|
380013
378528
|
rsETH_wETH_Arb: NOT_DEPLOYED,
|
|
380014
378529
|
"33AURA_33ARB_33BAL": NOT_DEPLOYED,
|
|
380015
378530
|
ezETH_wstETH: NOT_DEPLOYED,
|
|
378531
|
+
B_50WBTC_50WETH: NOT_DEPLOYED,
|
|
380016
378532
|
BPT_rETH_ETH: NOT_DEPLOYED,
|
|
380017
378533
|
BPT_WSTETH_ETH: NOT_DEPLOYED,
|
|
380018
378534
|
BPT_ROAD: NOT_DEPLOYED,
|
|
@@ -381415,8 +379931,7 @@ var contractParams = {
|
|
|
381415
379931
|
name: "Curve USDeUSDC",
|
|
381416
379932
|
protocol: 2,
|
|
381417
379933
|
version: 20,
|
|
381418
|
-
type:
|
|
381419
|
-
// NOTE: This is actually stable NG, however the old adapter is used in swap only mode before audits
|
|
379934
|
+
type: 23,
|
|
381420
379935
|
lpToken: "USDeUSDC",
|
|
381421
379936
|
tokens: ["USDe", "USDC"]
|
|
381422
379937
|
},
|
|
@@ -381424,8 +379939,7 @@ var contractParams = {
|
|
|
381424
379939
|
name: "Curve FRAXUSDe",
|
|
381425
379940
|
protocol: 2,
|
|
381426
379941
|
version: 20,
|
|
381427
|
-
type:
|
|
381428
|
-
// NOTE: This is actually stable NG, however the old adapter is used in swap only mode before audits
|
|
379942
|
+
type: 23,
|
|
381429
379943
|
lpToken: "FRAXUSDe",
|
|
381430
379944
|
tokens: ["FRAX", "USDe"]
|
|
381431
379945
|
},
|
|
@@ -381433,8 +379947,7 @@ var contractParams = {
|
|
|
381433
379947
|
name: "Curve USDecrvUSD",
|
|
381434
379948
|
protocol: 2,
|
|
381435
379949
|
version: 20,
|
|
381436
|
-
type:
|
|
381437
|
-
// NOTE: This is actually stable NG, however the old adapter is used in swap only mode before audits
|
|
379950
|
+
type: 23,
|
|
381438
379951
|
lpToken: "USDecrvUSD",
|
|
381439
379952
|
tokens: ["USDe", "crvUSD"]
|
|
381440
379953
|
},
|
|
@@ -381442,8 +379955,7 @@ var contractParams = {
|
|
|
381442
379955
|
name: "Curve USDeDAI",
|
|
381443
379956
|
protocol: 2,
|
|
381444
379957
|
version: 20,
|
|
381445
|
-
type:
|
|
381446
|
-
// NOTE: This is actually stable NG, however the old adapter is used in swap only mode before audits
|
|
379958
|
+
type: 23,
|
|
381447
379959
|
lpToken: "USDeDAI",
|
|
381448
379960
|
tokens: ["USDe", "DAI"]
|
|
381449
379961
|
},
|
|
@@ -381451,8 +379963,7 @@ var contractParams = {
|
|
|
381451
379963
|
name: "Curve MtEthena",
|
|
381452
379964
|
protocol: 2,
|
|
381453
379965
|
version: 20,
|
|
381454
|
-
type:
|
|
381455
|
-
// NOTE: This is actually stable NG, however the old adapter is used in swap only mode before audits
|
|
379966
|
+
type: 23,
|
|
381456
379967
|
lpToken: "MtEthena",
|
|
381457
379968
|
tokens: ["sDAI", "sUSDe"]
|
|
381458
379969
|
},
|
|
@@ -381460,8 +379971,7 @@ var contractParams = {
|
|
|
381460
379971
|
name: "Curve GHOUSDe",
|
|
381461
379972
|
protocol: 2,
|
|
381462
379973
|
version: 20,
|
|
381463
|
-
type:
|
|
381464
|
-
// NOTE: This is actually stable NG, however the old adapter is used in swap only mode before audits
|
|
379974
|
+
type: 23,
|
|
381465
379975
|
lpToken: "GHOUSDe",
|
|
381466
379976
|
tokens: ["GHO", "USDe"]
|
|
381467
379977
|
},
|
|
@@ -382861,13 +381371,23 @@ var RedstoneUpdater = class extends SDKConstruct {
|
|
|
382861
381371
|
#logger;
|
|
382862
381372
|
#cache = /* @__PURE__ */ new Map();
|
|
382863
381373
|
#historicalTimestampMs;
|
|
381374
|
+
#gateways;
|
|
382864
381375
|
constructor(sdk) {
|
|
382865
381376
|
super(sdk);
|
|
382866
381377
|
this.#logger = childLogger("RedstoneUpdater", sdk.logger);
|
|
382867
381378
|
}
|
|
382868
|
-
|
|
381379
|
+
/**
|
|
381380
|
+
* Set redstone historical timestamp in milliseconds
|
|
381381
|
+
*/
|
|
381382
|
+
set historicalTimestamp(timestampMs) {
|
|
382869
381383
|
this.#historicalTimestampMs = 6e4 * Math.floor(timestampMs / 6e4);
|
|
382870
381384
|
}
|
|
381385
|
+
/**
|
|
381386
|
+
* Set redstone gateways
|
|
381387
|
+
*/
|
|
381388
|
+
set gateways(gateways) {
|
|
381389
|
+
this.#gateways = gateways;
|
|
381390
|
+
}
|
|
382871
381391
|
async getUpdateTxs(feeds, logContext = {}) {
|
|
382872
381392
|
this.#logger?.debug(
|
|
382873
381393
|
logContext,
|
|
@@ -382984,7 +381504,8 @@ var RedstoneUpdater = class extends SDKConstruct {
|
|
|
382984
381504
|
dataServiceId,
|
|
382985
381505
|
dataPackagesIds,
|
|
382986
381506
|
uniqueSignersCount,
|
|
382987
|
-
historicalTimestamp: this.#historicalTimestampMs
|
|
381507
|
+
historicalTimestamp: this.#historicalTimestampMs,
|
|
381508
|
+
urls: this.#gateways
|
|
382988
381509
|
});
|
|
382989
381510
|
const dataPayload = await wrapper.prepareRedstonePayload(true);
|
|
382990
381511
|
const parsed = import_protocol.RedstonePayload.parse(toBytes(`0x${dataPayload}`));
|
|
@@ -383099,11 +381620,11 @@ var PriceFeedRegister = class extends SDKConstruct {
|
|
|
383099
381620
|
logger;
|
|
383100
381621
|
#hooks = new Hooks();
|
|
383101
381622
|
#feeds = new AddressMap();
|
|
383102
|
-
|
|
381623
|
+
redstoneUpdater;
|
|
383103
381624
|
constructor(sdk) {
|
|
383104
381625
|
super(sdk);
|
|
383105
381626
|
this.logger = childLogger("PriceFeedRegister", sdk.logger);
|
|
383106
|
-
this
|
|
381627
|
+
this.redstoneUpdater = new RedstoneUpdater(sdk);
|
|
383107
381628
|
}
|
|
383108
381629
|
addHook = this.#hooks.addHook.bind(this.#hooks);
|
|
383109
381630
|
removeHook = this.#hooks.removeHook.bind(this.#hooks);
|
|
@@ -383132,14 +381653,6 @@ var PriceFeedRegister = class extends SDKConstruct {
|
|
|
383132
381653
|
this.#feeds.upsert(data.baseParams.addr, feed);
|
|
383133
381654
|
return feed;
|
|
383134
381655
|
}
|
|
383135
|
-
/**
|
|
383136
|
-
* Set redstone historical timestamp
|
|
383137
|
-
* @param timestampMs in milliseconds, or true to use timestamp from attach block
|
|
383138
|
-
*/
|
|
383139
|
-
setRedstoneHistoricalTimestamp(timestampMs) {
|
|
383140
|
-
const ts = timestampMs === true ? Number(this.sdk.timestamp) * 1e3 : timestampMs;
|
|
383141
|
-
this.#redstoneUpdater.setHistoricalTimestamp(ts);
|
|
383142
|
-
}
|
|
383143
381656
|
/**
|
|
383144
381657
|
* Loads PARTIAL information about all updatable price feeds from MarketCompressor
|
|
383145
381658
|
* This can later be used to load price feed updates
|
|
@@ -383195,7 +381708,7 @@ var PriceFeedRegister = class extends SDKConstruct {
|
|
|
383195
381708
|
}
|
|
383196
381709
|
let maxTimestamp = 0;
|
|
383197
381710
|
if (redstonePFs.length > 0) {
|
|
383198
|
-
const redstoneUpdates = await this
|
|
381711
|
+
const redstoneUpdates = await this.redstoneUpdater.getUpdateTxs(
|
|
383199
381712
|
redstonePFs,
|
|
383200
381713
|
logContext
|
|
383201
381714
|
);
|
|
@@ -384324,6 +382837,7 @@ function assetsMap(assets) {
|
|
|
384324
382837
|
}
|
|
384325
382838
|
var CreditAccountsService = class extends SDKConstruct {
|
|
384326
382839
|
#compressor;
|
|
382840
|
+
#rewardCompressor;
|
|
384327
382841
|
#batchSize;
|
|
384328
382842
|
#logger;
|
|
384329
382843
|
constructor(sdk, options) {
|
|
@@ -384331,6 +382845,9 @@ var CreditAccountsService = class extends SDKConstruct {
|
|
|
384331
382845
|
this.#compressor = sdk.addressProvider.getLatestVersion(
|
|
384332
382846
|
AP_CREDIT_ACCOUNT_COMPRESSOR
|
|
384333
382847
|
);
|
|
382848
|
+
this.#rewardCompressor = sdk.addressProvider.getLatestVersion(
|
|
382849
|
+
AP_REWARDS_COMPRESSOR
|
|
382850
|
+
);
|
|
384334
382851
|
this.#batchSize = options?.batchSize;
|
|
384335
382852
|
this.#logger = childLogger("CreditAccountsService", sdk.logger);
|
|
384336
382853
|
}
|
|
@@ -384433,6 +382950,15 @@ var CreditAccountsService = class extends SDKConstruct {
|
|
|
384433
382950
|
}
|
|
384434
382951
|
return allCAs.sort((a, b) => Number(a.healthFactor - b.healthFactor));
|
|
384435
382952
|
}
|
|
382953
|
+
async getRewards(account) {
|
|
382954
|
+
const rewards = await this.provider.publicClient.readContract({
|
|
382955
|
+
abi: iRewardCompressorAbi,
|
|
382956
|
+
address: this.#rewardCompressor,
|
|
382957
|
+
functionName: "getRewards",
|
|
382958
|
+
args: [account]
|
|
382959
|
+
});
|
|
382960
|
+
return [...rewards];
|
|
382961
|
+
}
|
|
384436
382962
|
/**
|
|
384437
382963
|
* Generates transaction to liquidate credit account
|
|
384438
382964
|
* @param account
|
|
@@ -385393,7 +383919,9 @@ var EXTRA_FARM_TOKENS = {
|
|
|
385393
383919
|
PT_corn_eBTC_27MAR2025: true,
|
|
385394
383920
|
PT_corn_pumpBTC_26DEC2024: true,
|
|
385395
383921
|
pumpBTC: true,
|
|
385396
|
-
PT_sUSDe_27MAR2025: true
|
|
383922
|
+
PT_sUSDe_27MAR2025: true,
|
|
383923
|
+
DVstETH: true,
|
|
383924
|
+
beraSTONE: true
|
|
385397
383925
|
};
|
|
385398
383926
|
var { USDe, ...rest } = EXTRA_FARM_TOKENS;
|
|
385399
383927
|
var CREDIT_SESSION_STATUS_BY_ID = {
|
|
@@ -385532,6 +384060,7 @@ var GearboxSDK = class _GearboxSDK {
|
|
|
385532
384060
|
addressProvider,
|
|
385533
384061
|
blockNumber,
|
|
385534
384062
|
redstoneHistoricTimestamp,
|
|
384063
|
+
redstoneGateways,
|
|
385535
384064
|
ignoreUpdateablePrices,
|
|
385536
384065
|
marketConfigurators
|
|
385537
384066
|
} = opts;
|
|
@@ -385544,7 +384073,10 @@ var GearboxSDK = class _GearboxSDK {
|
|
|
385544
384073
|
this.#currentBlock = block.number;
|
|
385545
384074
|
this.#timestamp = block.timestamp;
|
|
385546
384075
|
if (redstoneHistoricTimestamp) {
|
|
385547
|
-
this.priceFeeds.
|
|
384076
|
+
this.priceFeeds.redstoneUpdater.historicalTimestamp = redstoneHistoricTimestamp === true ? Number(block.timestamp) * 1e3 : redstoneHistoricTimestamp;
|
|
384077
|
+
}
|
|
384078
|
+
if (redstoneGateways) {
|
|
384079
|
+
this.priceFeeds.redstoneUpdater.gateways = redstoneGateways;
|
|
385548
384080
|
}
|
|
385549
384081
|
this.logger?.info(
|
|
385550
384082
|
{
|
|
@@ -418455,7 +416987,7 @@ function getRenderer(opts) {
|
|
|
418455
416987
|
var package_default = {
|
|
418456
416988
|
name: "@gearbox-protocol/deploy-tools",
|
|
418457
416989
|
description: "Gearbox deploy tools",
|
|
418458
|
-
version: "5.6.
|
|
416990
|
+
version: "5.6.3",
|
|
418459
416991
|
homepage: "https://gearbox.fi",
|
|
418460
416992
|
keywords: [
|
|
418461
416993
|
"gearbox"
|
|
@@ -418498,7 +417030,7 @@ var package_default = {
|
|
|
418498
417030
|
"@gearbox-protocol/deploy-tools-node": "0.0.0",
|
|
418499
417031
|
"@gearbox-protocol/deploy-tools-shared": "0.0.0",
|
|
418500
417032
|
"@gearbox-protocol/deploy-tools-types": "0.0.0",
|
|
418501
|
-
"@gearbox-protocol/sdk": "^3.0.0-vfour.
|
|
417033
|
+
"@gearbox-protocol/sdk": "^3.0.0-vfour.192",
|
|
418502
417034
|
"@gearbox-protocol/sdk-gov": "^2.33.2",
|
|
418503
417035
|
"@types/lodash-es": "^4.17.12",
|
|
418504
417036
|
"@types/node": "^22.10.6",
|