curvance 1.0.22 → 1.0.24
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/abis/BaseCToken.json +0 -5
- package/dist/abis/BorrowableCToken.json +0 -5
- package/dist/abis/MarketManagerIsolated.json +43 -123
- package/dist/abis/ProtocolReader.json +92 -9
- package/dist/abis/RedstoneCoreAdaptor.json +32 -5
- package/dist/chains/index.d.ts +4 -0
- package/dist/chains/index.d.ts.map +1 -1
- package/dist/chains/monad-testnet.json +6 -2
- package/dist/classes/CToken.d.ts +17 -16
- package/dist/classes/CToken.d.ts.map +1 -1
- package/dist/classes/CToken.js +5 -5
- package/dist/classes/CToken.js.map +1 -1
- package/dist/classes/Faucet.d.ts +1 -0
- package/dist/classes/Faucet.d.ts.map +1 -1
- package/dist/classes/Faucet.js +9 -0
- package/dist/classes/Faucet.js.map +1 -1
- package/dist/classes/Market.d.ts +105 -8
- package/dist/classes/Market.d.ts.map +1 -1
- package/dist/classes/Market.js +129 -10
- package/dist/classes/Market.js.map +1 -1
- package/dist/classes/ProtocolReader.d.ts +12 -12
- package/dist/classes/ProtocolReader.d.ts.map +1 -1
- package/dist/helpers.d.ts +4 -0
- package/dist/helpers.d.ts.map +1 -1
- package/dist/helpers.js +16 -15
- package/dist/helpers.js.map +1 -1
- package/dist/types.d.ts +20 -2
- package/dist/types.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1447,11 +1447,6 @@
|
|
|
1447
1447
|
"name": "BaseCToken__Unauthorized",
|
|
1448
1448
|
"inputs": []
|
|
1449
1449
|
},
|
|
1450
|
-
{
|
|
1451
|
-
"type": "error",
|
|
1452
|
-
"name": "BaseCToken__UnsupportedAsset",
|
|
1453
|
-
"inputs": []
|
|
1454
|
-
},
|
|
1455
1450
|
{
|
|
1456
1451
|
"type": "error",
|
|
1457
1452
|
"name": "BaseCToken__UnsupportedChain",
|
|
@@ -2065,11 +2065,6 @@
|
|
|
2065
2065
|
"name": "BaseCToken__Unauthorized",
|
|
2066
2066
|
"inputs": []
|
|
2067
2067
|
},
|
|
2068
|
-
{
|
|
2069
|
-
"type": "error",
|
|
2070
|
-
"name": "BaseCToken__UnsupportedAsset",
|
|
2071
|
-
"inputs": []
|
|
2072
|
-
},
|
|
2073
2068
|
{
|
|
2074
2069
|
"type": "error",
|
|
2075
2070
|
"name": "BaseCToken__UnsupportedChain",
|
|
@@ -127,6 +127,19 @@
|
|
|
127
127
|
],
|
|
128
128
|
"stateMutability": "view"
|
|
129
129
|
},
|
|
130
|
+
{
|
|
131
|
+
"type": "function",
|
|
132
|
+
"name": "MIN_LIQUIDATION_BUFFER_REQUIRED",
|
|
133
|
+
"inputs": [],
|
|
134
|
+
"outputs": [
|
|
135
|
+
{
|
|
136
|
+
"name": "",
|
|
137
|
+
"type": "uint256",
|
|
138
|
+
"internalType": "uint256"
|
|
139
|
+
}
|
|
140
|
+
],
|
|
141
|
+
"stateMutability": "view"
|
|
142
|
+
},
|
|
130
143
|
{
|
|
131
144
|
"type": "function",
|
|
132
145
|
"name": "accountAssets",
|
|
@@ -645,62 +658,23 @@
|
|
|
645
658
|
},
|
|
646
659
|
{
|
|
647
660
|
"type": "function",
|
|
648
|
-
"name": "
|
|
661
|
+
"name": "getTransientLiquidationConfig",
|
|
649
662
|
"inputs": [],
|
|
650
663
|
"outputs": [
|
|
651
664
|
{
|
|
652
|
-
"name": "
|
|
653
|
-
"type": "uint256",
|
|
654
|
-
"internalType": "uint256"
|
|
655
|
-
},
|
|
656
|
-
{
|
|
657
|
-
"name": "closeFactor",
|
|
658
|
-
"type": "uint256",
|
|
659
|
-
"internalType": "uint256"
|
|
660
|
-
}
|
|
661
|
-
],
|
|
662
|
-
"stateMutability": "view"
|
|
663
|
-
},
|
|
664
|
-
{
|
|
665
|
-
"type": "function",
|
|
666
|
-
"name": "hypotheticalLiquidityOf",
|
|
667
|
-
"inputs": [
|
|
668
|
-
{
|
|
669
|
-
"name": "account",
|
|
670
|
-
"type": "address",
|
|
671
|
-
"internalType": "address"
|
|
672
|
-
},
|
|
673
|
-
{
|
|
674
|
-
"name": "cTokenModified",
|
|
665
|
+
"name": "cTokenUnlocked",
|
|
675
666
|
"type": "address",
|
|
676
667
|
"internalType": "address"
|
|
677
668
|
},
|
|
678
669
|
{
|
|
679
|
-
"name": "
|
|
680
|
-
"type": "uint256",
|
|
681
|
-
"internalType": "uint256"
|
|
682
|
-
},
|
|
683
|
-
{
|
|
684
|
-
"name": "borrowAssets",
|
|
685
|
-
"type": "uint256",
|
|
686
|
-
"internalType": "uint256"
|
|
687
|
-
}
|
|
688
|
-
],
|
|
689
|
-
"outputs": [
|
|
690
|
-
{
|
|
691
|
-
"name": "",
|
|
670
|
+
"name": "incentive",
|
|
692
671
|
"type": "uint256",
|
|
693
672
|
"internalType": "uint256"
|
|
694
673
|
},
|
|
695
674
|
{
|
|
696
|
-
"name": "",
|
|
675
|
+
"name": "closeFactor",
|
|
697
676
|
"type": "uint256",
|
|
698
677
|
"internalType": "uint256"
|
|
699
|
-
},
|
|
700
|
-
{
|
|
701
|
-
"name": "",
|
|
702
|
-
"type": "bool[]",
|
|
703
|
-
"internalType": "bool[]"
|
|
704
678
|
}
|
|
705
679
|
],
|
|
706
680
|
"stateMutability": "view"
|
|
@@ -812,54 +786,20 @@
|
|
|
812
786
|
},
|
|
813
787
|
{
|
|
814
788
|
"type": "function",
|
|
815
|
-
"name": "
|
|
789
|
+
"name": "liquidationValuesOf",
|
|
816
790
|
"inputs": [
|
|
817
791
|
{
|
|
818
792
|
"name": "account",
|
|
819
793
|
"type": "address",
|
|
820
794
|
"internalType": "address"
|
|
821
|
-
},
|
|
822
|
-
{
|
|
823
|
-
"name": "collateralToken",
|
|
824
|
-
"type": "address",
|
|
825
|
-
"internalType": "address"
|
|
826
|
-
},
|
|
827
|
-
{
|
|
828
|
-
"name": "debtToken",
|
|
829
|
-
"type": "address",
|
|
830
|
-
"internalType": "address"
|
|
831
795
|
}
|
|
832
796
|
],
|
|
833
797
|
"outputs": [
|
|
834
798
|
{
|
|
835
|
-
"name": "
|
|
836
|
-
"type": "uint256",
|
|
837
|
-
"internalType": "uint256"
|
|
838
|
-
},
|
|
839
|
-
{
|
|
840
|
-
"name": "collateralPrice",
|
|
799
|
+
"name": "",
|
|
841
800
|
"type": "uint256",
|
|
842
801
|
"internalType": "uint256"
|
|
843
802
|
},
|
|
844
|
-
{
|
|
845
|
-
"name": "debtPrice",
|
|
846
|
-
"type": "uint256",
|
|
847
|
-
"internalType": "uint256"
|
|
848
|
-
}
|
|
849
|
-
],
|
|
850
|
-
"stateMutability": "view"
|
|
851
|
-
},
|
|
852
|
-
{
|
|
853
|
-
"type": "function",
|
|
854
|
-
"name": "liquidationValuesOf",
|
|
855
|
-
"inputs": [
|
|
856
|
-
{
|
|
857
|
-
"name": "account",
|
|
858
|
-
"type": "address",
|
|
859
|
-
"internalType": "address"
|
|
860
|
-
}
|
|
861
|
-
],
|
|
862
|
-
"outputs": [
|
|
863
803
|
{
|
|
864
804
|
"name": "",
|
|
865
805
|
"type": "uint256",
|
|
@@ -896,13 +836,6 @@
|
|
|
896
836
|
"outputs": [],
|
|
897
837
|
"stateMutability": "nonpayable"
|
|
898
838
|
},
|
|
899
|
-
{
|
|
900
|
-
"type": "function",
|
|
901
|
-
"name": "lockAuctionCollateral",
|
|
902
|
-
"inputs": [],
|
|
903
|
-
"outputs": [],
|
|
904
|
-
"stateMutability": "nonpayable"
|
|
905
|
-
},
|
|
906
839
|
{
|
|
907
840
|
"type": "function",
|
|
908
841
|
"name": "multicall",
|
|
@@ -998,7 +931,7 @@
|
|
|
998
931
|
},
|
|
999
932
|
{
|
|
1000
933
|
"type": "function",
|
|
1001
|
-
"name": "
|
|
934
|
+
"name": "resetTransientLiquidationConfig",
|
|
1002
935
|
"inputs": [],
|
|
1003
936
|
"outputs": [],
|
|
1004
937
|
"stateMutability": "nonpayable"
|
|
@@ -1052,29 +985,6 @@
|
|
|
1052
985
|
"outputs": [],
|
|
1053
986
|
"stateMutability": "nonpayable"
|
|
1054
987
|
},
|
|
1055
|
-
{
|
|
1056
|
-
"type": "function",
|
|
1057
|
-
"name": "setLiquidationConfig",
|
|
1058
|
-
"inputs": [
|
|
1059
|
-
{
|
|
1060
|
-
"name": "cToken",
|
|
1061
|
-
"type": "address",
|
|
1062
|
-
"internalType": "address"
|
|
1063
|
-
},
|
|
1064
|
-
{
|
|
1065
|
-
"name": "incentive",
|
|
1066
|
-
"type": "uint256",
|
|
1067
|
-
"internalType": "uint256"
|
|
1068
|
-
},
|
|
1069
|
-
{
|
|
1070
|
-
"name": "closeFactor",
|
|
1071
|
-
"type": "uint256",
|
|
1072
|
-
"internalType": "uint256"
|
|
1073
|
-
}
|
|
1074
|
-
],
|
|
1075
|
-
"outputs": [],
|
|
1076
|
-
"stateMutability": "nonpayable"
|
|
1077
|
-
},
|
|
1078
988
|
{
|
|
1079
989
|
"type": "function",
|
|
1080
990
|
"name": "setLiquidationPaused",
|
|
@@ -1145,6 +1055,29 @@
|
|
|
1145
1055
|
"outputs": [],
|
|
1146
1056
|
"stateMutability": "nonpayable"
|
|
1147
1057
|
},
|
|
1058
|
+
{
|
|
1059
|
+
"type": "function",
|
|
1060
|
+
"name": "setTransientLiquidationConfig",
|
|
1061
|
+
"inputs": [
|
|
1062
|
+
{
|
|
1063
|
+
"name": "cToken",
|
|
1064
|
+
"type": "address",
|
|
1065
|
+
"internalType": "address"
|
|
1066
|
+
},
|
|
1067
|
+
{
|
|
1068
|
+
"name": "incentive",
|
|
1069
|
+
"type": "uint256",
|
|
1070
|
+
"internalType": "uint256"
|
|
1071
|
+
},
|
|
1072
|
+
{
|
|
1073
|
+
"name": "closeFactor",
|
|
1074
|
+
"type": "uint256",
|
|
1075
|
+
"internalType": "uint256"
|
|
1076
|
+
}
|
|
1077
|
+
],
|
|
1078
|
+
"outputs": [],
|
|
1079
|
+
"stateMutability": "nonpayable"
|
|
1080
|
+
},
|
|
1148
1081
|
{
|
|
1149
1082
|
"type": "function",
|
|
1150
1083
|
"name": "statusOf",
|
|
@@ -1225,19 +1158,6 @@
|
|
|
1225
1158
|
],
|
|
1226
1159
|
"stateMutability": "view"
|
|
1227
1160
|
},
|
|
1228
|
-
{
|
|
1229
|
-
"type": "function",
|
|
1230
|
-
"name": "unlockAuctionCollateral",
|
|
1231
|
-
"inputs": [
|
|
1232
|
-
{
|
|
1233
|
-
"name": "collateralToUnlock",
|
|
1234
|
-
"type": "address",
|
|
1235
|
-
"internalType": "address"
|
|
1236
|
-
}
|
|
1237
|
-
],
|
|
1238
|
-
"outputs": [],
|
|
1239
|
-
"stateMutability": "nonpayable"
|
|
1240
|
-
},
|
|
1241
1161
|
{
|
|
1242
1162
|
"type": "function",
|
|
1243
1163
|
"name": "updateTokenConfig",
|
|
@@ -49,6 +49,35 @@
|
|
|
49
49
|
],
|
|
50
50
|
"stateMutability": "view"
|
|
51
51
|
},
|
|
52
|
+
{
|
|
53
|
+
"type": "function",
|
|
54
|
+
"name": "debtBalanceAtTimestamp",
|
|
55
|
+
"inputs": [
|
|
56
|
+
{
|
|
57
|
+
"name": "account",
|
|
58
|
+
"type": "address",
|
|
59
|
+
"internalType": "address"
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"name": "borrowableCToken",
|
|
63
|
+
"type": "address",
|
|
64
|
+
"internalType": "address"
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"name": "timestamp",
|
|
68
|
+
"type": "uint256",
|
|
69
|
+
"internalType": "uint256"
|
|
70
|
+
}
|
|
71
|
+
],
|
|
72
|
+
"outputs": [
|
|
73
|
+
{
|
|
74
|
+
"name": "debtBalance",
|
|
75
|
+
"type": "uint256",
|
|
76
|
+
"internalType": "uint256"
|
|
77
|
+
}
|
|
78
|
+
],
|
|
79
|
+
"stateMutability": "view"
|
|
80
|
+
},
|
|
52
81
|
{
|
|
53
82
|
"type": "function",
|
|
54
83
|
"name": "getAllDynamicState",
|
|
@@ -337,6 +366,30 @@
|
|
|
337
366
|
],
|
|
338
367
|
"stateMutability": "view"
|
|
339
368
|
},
|
|
369
|
+
{
|
|
370
|
+
"type": "function",
|
|
371
|
+
"name": "getPositionHealth",
|
|
372
|
+
"inputs": [
|
|
373
|
+
{
|
|
374
|
+
"name": "mm",
|
|
375
|
+
"type": "address",
|
|
376
|
+
"internalType": "contract IMarketManager"
|
|
377
|
+
},
|
|
378
|
+
{
|
|
379
|
+
"name": "account",
|
|
380
|
+
"type": "address",
|
|
381
|
+
"internalType": "address"
|
|
382
|
+
}
|
|
383
|
+
],
|
|
384
|
+
"outputs": [
|
|
385
|
+
{
|
|
386
|
+
"name": "positionHealth",
|
|
387
|
+
"type": "uint256",
|
|
388
|
+
"internalType": "uint256"
|
|
389
|
+
}
|
|
390
|
+
],
|
|
391
|
+
"stateMutability": "view"
|
|
392
|
+
},
|
|
340
393
|
{
|
|
341
394
|
"type": "function",
|
|
342
395
|
"name": "getPrice",
|
|
@@ -373,7 +426,7 @@
|
|
|
373
426
|
},
|
|
374
427
|
{
|
|
375
428
|
"type": "function",
|
|
376
|
-
"name": "
|
|
429
|
+
"name": "getPriceSafely",
|
|
377
430
|
"inputs": [
|
|
378
431
|
{
|
|
379
432
|
"name": "asset",
|
|
@@ -389,11 +442,16 @@
|
|
|
389
442
|
"name": "getLower",
|
|
390
443
|
"type": "bool",
|
|
391
444
|
"internalType": "bool"
|
|
445
|
+
},
|
|
446
|
+
{
|
|
447
|
+
"name": "errorCodeBreakpoint",
|
|
448
|
+
"type": "uint256",
|
|
449
|
+
"internalType": "uint256"
|
|
392
450
|
}
|
|
393
451
|
],
|
|
394
452
|
"outputs": [
|
|
395
453
|
{
|
|
396
|
-
"name": "
|
|
454
|
+
"name": "",
|
|
397
455
|
"type": "uint256",
|
|
398
456
|
"internalType": "uint256"
|
|
399
457
|
}
|
|
@@ -698,7 +756,7 @@
|
|
|
698
756
|
},
|
|
699
757
|
{
|
|
700
758
|
"type": "function",
|
|
701
|
-
"name": "
|
|
759
|
+
"name": "hypotheticalLeverageOf",
|
|
702
760
|
"inputs": [
|
|
703
761
|
{
|
|
704
762
|
"name": "account",
|
|
@@ -706,12 +764,12 @@
|
|
|
706
764
|
"internalType": "address"
|
|
707
765
|
},
|
|
708
766
|
{
|
|
709
|
-
"name": "
|
|
767
|
+
"name": "cToken",
|
|
710
768
|
"type": "address",
|
|
711
769
|
"internalType": "address"
|
|
712
770
|
},
|
|
713
771
|
{
|
|
714
|
-
"name": "
|
|
772
|
+
"name": "borrowableCToken",
|
|
715
773
|
"type": "address",
|
|
716
774
|
"internalType": "address"
|
|
717
775
|
},
|
|
@@ -723,14 +781,24 @@
|
|
|
723
781
|
],
|
|
724
782
|
"outputs": [
|
|
725
783
|
{
|
|
726
|
-
"name": "
|
|
784
|
+
"name": "currentLeverage",
|
|
727
785
|
"type": "uint256",
|
|
728
786
|
"internalType": "uint256"
|
|
729
787
|
},
|
|
730
788
|
{
|
|
731
|
-
"name": "
|
|
732
|
-
"type": "
|
|
733
|
-
"internalType": "
|
|
789
|
+
"name": "adjustedMaxLeverage",
|
|
790
|
+
"type": "uint256",
|
|
791
|
+
"internalType": "uint256"
|
|
792
|
+
},
|
|
793
|
+
{
|
|
794
|
+
"name": "maxLeverage",
|
|
795
|
+
"type": "uint256",
|
|
796
|
+
"internalType": "uint256"
|
|
797
|
+
},
|
|
798
|
+
{
|
|
799
|
+
"name": "maxDebtBorrowable",
|
|
800
|
+
"type": "uint256",
|
|
801
|
+
"internalType": "uint256"
|
|
734
802
|
}
|
|
735
803
|
],
|
|
736
804
|
"stateMutability": "view"
|
|
@@ -807,5 +875,20 @@
|
|
|
807
875
|
"type": "error",
|
|
808
876
|
"name": "CentralRegistryLib__InvalidCentralRegistry",
|
|
809
877
|
"inputs": []
|
|
878
|
+
},
|
|
879
|
+
{
|
|
880
|
+
"type": "error",
|
|
881
|
+
"name": "ProtocolReader__NonCollateralizable",
|
|
882
|
+
"inputs": []
|
|
883
|
+
},
|
|
884
|
+
{
|
|
885
|
+
"type": "error",
|
|
886
|
+
"name": "ProtocolReader__PriceError",
|
|
887
|
+
"inputs": []
|
|
888
|
+
},
|
|
889
|
+
{
|
|
890
|
+
"type": "error",
|
|
891
|
+
"name": "ProtocolReader__TokenNotListed",
|
|
892
|
+
"inputs": []
|
|
810
893
|
}
|
|
811
894
|
]
|
|
@@ -693,11 +693,6 @@
|
|
|
693
693
|
"name": "BaseOracleAdaptor__Unauthorized",
|
|
694
694
|
"inputs": []
|
|
695
695
|
},
|
|
696
|
-
{
|
|
697
|
-
"type": "error",
|
|
698
|
-
"name": "Bytes32Helper__ZeroLengthString",
|
|
699
|
-
"inputs": []
|
|
700
|
-
},
|
|
701
696
|
{
|
|
702
697
|
"type": "error",
|
|
703
698
|
"name": "CalldataMustHaveValidPayload",
|
|
@@ -728,6 +723,11 @@
|
|
|
728
723
|
"name": "DataPackageTimestampsMustBeEqual",
|
|
729
724
|
"inputs": []
|
|
730
725
|
},
|
|
726
|
+
{
|
|
727
|
+
"type": "error",
|
|
728
|
+
"name": "DataTimestampCannotBeZero",
|
|
729
|
+
"inputs": []
|
|
730
|
+
},
|
|
731
731
|
{
|
|
732
732
|
"type": "error",
|
|
733
733
|
"name": "EachSignerMustProvideTheSameValue",
|
|
@@ -769,6 +769,17 @@
|
|
|
769
769
|
"name": "InvalidCalldataPointer",
|
|
770
770
|
"inputs": []
|
|
771
771
|
},
|
|
772
|
+
{
|
|
773
|
+
"type": "error",
|
|
774
|
+
"name": "InvalidSignature",
|
|
775
|
+
"inputs": [
|
|
776
|
+
{
|
|
777
|
+
"name": "signedHash",
|
|
778
|
+
"type": "bytes32",
|
|
779
|
+
"internalType": "bytes32"
|
|
780
|
+
}
|
|
781
|
+
]
|
|
782
|
+
},
|
|
772
783
|
{
|
|
773
784
|
"type": "error",
|
|
774
785
|
"name": "RedstoneCoreAdaptor__AssetIsNotSupported",
|
|
@@ -804,5 +815,21 @@
|
|
|
804
815
|
"internalType": "address"
|
|
805
816
|
}
|
|
806
817
|
]
|
|
818
|
+
},
|
|
819
|
+
{
|
|
820
|
+
"type": "error",
|
|
821
|
+
"name": "TimestampsMustBeEqual",
|
|
822
|
+
"inputs": []
|
|
823
|
+
},
|
|
824
|
+
{
|
|
825
|
+
"type": "error",
|
|
826
|
+
"name": "TooLargeValueByteSize",
|
|
827
|
+
"inputs": [
|
|
828
|
+
{
|
|
829
|
+
"name": "valueByteSize",
|
|
830
|
+
"type": "uint256",
|
|
831
|
+
"internalType": "uint256"
|
|
832
|
+
}
|
|
833
|
+
]
|
|
807
834
|
}
|
|
808
835
|
]
|
package/dist/chains/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/chains/index.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,MAAM
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/chains/index.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAElB,CAAC"}
|
|
@@ -81,7 +81,11 @@
|
|
|
81
81
|
"shMON": "0x7235042eA35F6098CB1E3B2FDb13648b89C377E7",
|
|
82
82
|
"WMON": "0xdb2fC2Ce605Fefe490243e401d654c318d553B55"
|
|
83
83
|
},
|
|
84
|
-
"WMON-DynamicIRM": "0xF723C290170E50cea79072dD543a061a826085D4"
|
|
84
|
+
"WMON-DynamicIRM": "0xF723C290170E50cea79072dD543a061a826085D4",
|
|
85
|
+
"plugins": {
|
|
86
|
+
"vaultPositionManager": "0xE8bBbbb4c8a708DF4E41258a69Af8cA48bFC9c1b",
|
|
87
|
+
"vaultZapper": "0xF3B2BF67869b986bc3b0151A96A97B8769DDeeD6"
|
|
88
|
+
}
|
|
85
89
|
},
|
|
86
90
|
"Magma (gMON) / wMON": {
|
|
87
91
|
"address": "0x0174b170670c9C8fD576749Fc7Cd4e625aafd5a6",
|
|
@@ -103,5 +107,5 @@
|
|
|
103
107
|
},
|
|
104
108
|
"WMON-DynamicIRM": "0xC2D5F8C6225cC51445026da7760daa3598B72f44"
|
|
105
109
|
},
|
|
106
|
-
"ProtocolReader": "
|
|
110
|
+
"ProtocolReader": "0x2819E9401999213d8659e1D04c2BB4d279fEa4A9"
|
|
107
111
|
}
|
package/dist/classes/CToken.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import { AdaptorTypes, DynamicMarketToken, StaticMarketToken, UserMarketToken }
|
|
|
4
4
|
import { ERC20 } from "./ERC20";
|
|
5
5
|
import { Market } from "./Market";
|
|
6
6
|
import Decimal from "decimal.js";
|
|
7
|
-
import { address, bytes, curvance_provider,
|
|
7
|
+
import { address, bytes, curvance_provider, Percentage, USD } from "../types";
|
|
8
8
|
export interface AccountSnapshot {
|
|
9
9
|
asset: address;
|
|
10
10
|
decimals: bigint;
|
|
@@ -87,37 +87,37 @@ export declare class CToken {
|
|
|
87
87
|
get canZap(): boolean;
|
|
88
88
|
get canLeverage(): boolean;
|
|
89
89
|
/** @returns Collateral Ratio in BPS or bigint */
|
|
90
|
-
getCollRatio(inBPS: true):
|
|
90
|
+
getCollRatio(inBPS: true): Percentage;
|
|
91
91
|
getCollRatio(inBPS: false): bigint;
|
|
92
92
|
/** @returns Soft Collateral Requirement in BPS or bigint */
|
|
93
|
-
getCollReqSoft(inBPS: true):
|
|
93
|
+
getCollReqSoft(inBPS: true): Percentage;
|
|
94
94
|
getCollReqSoft(inBPS: false): bigint;
|
|
95
95
|
/** @returns Hard Collateral Requirement in BPS or bigint */
|
|
96
|
-
getCollReqHard(inBPS: true):
|
|
96
|
+
getCollReqHard(inBPS: true): Percentage;
|
|
97
97
|
getCollReqHard(inBPS: false): bigint;
|
|
98
98
|
/** @returns Liquidation Incentive Base in BPS or bigint */
|
|
99
|
-
getLiqIncBase(inBPS: true):
|
|
99
|
+
getLiqIncBase(inBPS: true): Percentage;
|
|
100
100
|
getLiqIncBase(inBPS: false): bigint;
|
|
101
101
|
/** @returns Liquidation Incentive Curve in BPS or bigint */
|
|
102
|
-
getLiqIncCurve(inBPS: true):
|
|
102
|
+
getLiqIncCurve(inBPS: true): Percentage;
|
|
103
103
|
getLiqIncCurve(inBPS: false): bigint;
|
|
104
104
|
/** @returns Liquidation Incentive Min in BPS or bigint */
|
|
105
|
-
getLiqIncMin(inBPS: true):
|
|
105
|
+
getLiqIncMin(inBPS: true): Percentage;
|
|
106
106
|
getLiqIncMin(inBPS: false): bigint;
|
|
107
107
|
/** @returns Liquidation Incentive Max in BPS or bigint */
|
|
108
|
-
getLiqIncMax(inBPS: true):
|
|
108
|
+
getLiqIncMax(inBPS: true): Percentage;
|
|
109
109
|
getLiqIncMax(inBPS: false): bigint;
|
|
110
110
|
/** @returns Close Factor Base in BPS or bigint */
|
|
111
|
-
getCloseFactorBase(inBPS: true):
|
|
111
|
+
getCloseFactorBase(inBPS: true): Percentage;
|
|
112
112
|
getCloseFactorBase(inBPS: false): bigint;
|
|
113
113
|
/** @returns Close Factor Curve in BPS or bigint */
|
|
114
|
-
getCloseFactorCurve(inBPS: true):
|
|
114
|
+
getCloseFactorCurve(inBPS: true): Percentage;
|
|
115
115
|
getCloseFactorCurve(inBPS: false): bigint;
|
|
116
116
|
/** @returns Close Factor Min in BPS or bigint */
|
|
117
|
-
getCloseFactorMin(inBPS: true):
|
|
117
|
+
getCloseFactorMin(inBPS: true): Percentage;
|
|
118
118
|
getCloseFactorMin(inBPS: false): bigint;
|
|
119
119
|
/** @returns Close Factor Max in BPS or bigint */
|
|
120
|
-
getCloseFactorMax(inBPS: true):
|
|
120
|
+
getCloseFactorMax(inBPS: true): Percentage;
|
|
121
121
|
getCloseFactorMax(inBPS: false): bigint;
|
|
122
122
|
/** @returns User assets in USD or token */
|
|
123
123
|
getUserShareBalance(inUSD: true): USD;
|
|
@@ -145,11 +145,12 @@ export declare class CToken {
|
|
|
145
145
|
getUserDebt(inUSD: false): bigint;
|
|
146
146
|
earnChange(amount: USD, rateType: ChangeRate): Decimal;
|
|
147
147
|
/**
|
|
148
|
-
* Grabs the collateralization ratio and converts it to a
|
|
149
|
-
* @returns
|
|
148
|
+
* Grabs the collateralization ratio and converts it to a Percentage.
|
|
149
|
+
* @returns Percentage representation of the LTV (e.g. 0.75 for 75% LTV)
|
|
150
150
|
*/
|
|
151
|
-
ltv():
|
|
152
|
-
getAsset(asErc20
|
|
151
|
+
ltv(): Percentage;
|
|
152
|
+
getAsset(asErc20: true): ERC20;
|
|
153
|
+
getAsset(asErc20: false): address;
|
|
153
154
|
getPrice(asset?: boolean, lower?: boolean): Decimal;
|
|
154
155
|
getApy(): Decimal;
|
|
155
156
|
getTvl(inUSD: true): USD;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CToken.d.ts","sourceRoot":"","sources":["../../src/classes/CToken.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,mBAAmB,EAAE,MAAM,QAAQ,CAAC;AACvD,OAAO,EAAqD,UAAU,EAAkB,MAAM,YAAY,CAAC;AAC3G,OAAO,EAAE,YAAY,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACxG,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,OAAO,MAAM,YAAY,CAAC;AAIjC,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,iBAAiB,EAAE,UAAU,EAAE,
|
|
1
|
+
{"version":3,"file":"CToken.d.ts","sourceRoot":"","sources":["../../src/classes/CToken.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,mBAAmB,EAAE,MAAM,QAAQ,CAAC;AACvD,OAAO,EAAqD,UAAU,EAAkB,MAAM,YAAY,CAAC;AAC3G,OAAO,EAAE,YAAY,EAAE,kB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