@defisaver/positions-sdk 2.0.12 → 2.0.14-dev-portfolio
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/.mocharc.json +4 -4
- package/.nvmrc +1 -1
- package/CLAUDE.md +32 -0
- package/README.md +64 -64
- package/cjs/aaveV2/index.js +1 -0
- package/cjs/aaveV3/index.d.ts +12 -0
- package/cjs/aaveV3/index.js +93 -1
- package/cjs/claiming/aaveV3.d.ts +9 -0
- package/cjs/claiming/aaveV3.js +148 -0
- package/cjs/claiming/compV3.d.ts +15 -0
- package/cjs/claiming/compV3.js +34 -0
- package/cjs/claiming/index.d.ts +6 -0
- package/cjs/claiming/index.js +46 -0
- package/cjs/claiming/king.d.ts +4 -0
- package/cjs/claiming/king.js +72 -0
- package/cjs/claiming/morphoBlue.d.ts +6 -0
- package/cjs/claiming/morphoBlue.js +113 -0
- package/cjs/claiming/spark.d.ts +6 -0
- package/cjs/claiming/spark.js +188 -0
- package/cjs/config/contracts.d.ts +2667 -0
- package/cjs/config/contracts.js +103 -2
- package/cjs/constants/index.d.ts +4 -0
- package/cjs/constants/index.js +6 -2
- package/cjs/contracts.d.ts +2882 -23
- package/cjs/contracts.js +10 -1
- package/cjs/helpers/morphoBlueHelpers/index.js +66 -66
- package/cjs/index.d.ts +2 -1
- package/cjs/index.js +3 -1
- package/cjs/liquity/index.d.ts +11 -0
- package/cjs/liquity/index.js +39 -1
- package/cjs/liquityV2/index.d.ts +8 -0
- package/cjs/liquityV2/index.js +161 -0
- package/cjs/markets/aave/marketAssets.js +1 -1
- package/cjs/markets/compound/marketsAssets.js +2 -2
- package/cjs/markets/spark/marketAssets.js +1 -1
- package/cjs/morphoBlue/index.d.ts +5 -0
- package/cjs/morphoBlue/index.js +38 -4
- package/cjs/portfolio/index.d.ts +6 -1
- package/cjs/portfolio/index.js +256 -10
- package/cjs/services/utils.d.ts +5 -0
- package/cjs/services/utils.js +33 -1
- package/cjs/services/viem.d.ts +12 -12
- package/cjs/spark/index.js +1 -0
- package/cjs/staking/staking.js +3 -1
- package/cjs/types/claiming.d.ts +93 -0
- package/cjs/types/claiming.js +27 -0
- package/cjs/umbrella/index.d.ts +5 -0
- package/cjs/umbrella/index.js +50 -0
- package/cjs/umbrella/umbrellaUtils.d.ts +22 -0
- package/cjs/umbrella/umbrellaUtils.js +34 -0
- package/esm/aaveV2/index.js +1 -0
- package/esm/aaveV3/index.d.ts +12 -0
- package/esm/aaveV3/index.js +91 -1
- package/esm/claiming/aaveV3.d.ts +9 -0
- package/esm/claiming/aaveV3.js +139 -0
- package/esm/claiming/compV3.d.ts +15 -0
- package/esm/claiming/compV3.js +30 -0
- package/esm/claiming/index.d.ts +6 -0
- package/esm/claiming/index.js +6 -0
- package/esm/claiming/king.d.ts +4 -0
- package/esm/claiming/king.js +64 -0
- package/esm/claiming/morphoBlue.d.ts +6 -0
- package/esm/claiming/morphoBlue.js +104 -0
- package/esm/claiming/spark.d.ts +6 -0
- package/esm/claiming/spark.js +179 -0
- package/esm/config/contracts.d.ts +2667 -0
- package/esm/config/contracts.js +102 -1
- package/esm/constants/index.d.ts +4 -0
- package/esm/constants/index.js +5 -1
- package/esm/contracts.d.ts +2882 -23
- package/esm/contracts.js +9 -0
- package/esm/helpers/morphoBlueHelpers/index.js +66 -66
- package/esm/index.d.ts +2 -1
- package/esm/index.js +2 -1
- package/esm/liquity/index.d.ts +11 -0
- package/esm/liquity/index.js +38 -1
- package/esm/liquityV2/index.d.ts +8 -0
- package/esm/liquityV2/index.js +162 -1
- package/esm/markets/aave/marketAssets.js +1 -1
- package/esm/markets/compound/marketsAssets.js +2 -2
- package/esm/markets/spark/marketAssets.js +1 -1
- package/esm/morphoBlue/index.d.ts +5 -0
- package/esm/morphoBlue/index.js +38 -5
- package/esm/portfolio/index.d.ts +6 -1
- package/esm/portfolio/index.js +260 -14
- package/esm/services/utils.d.ts +5 -0
- package/esm/services/utils.js +31 -0
- package/esm/services/viem.d.ts +12 -12
- package/esm/spark/index.js +1 -0
- package/esm/staking/staking.js +3 -1
- package/esm/types/claiming.d.ts +93 -0
- package/esm/types/claiming.js +24 -0
- package/esm/umbrella/index.d.ts +5 -0
- package/esm/umbrella/index.js +46 -0
- package/esm/umbrella/umbrellaUtils.d.ts +22 -0
- package/esm/umbrella/umbrellaUtils.js +28 -0
- package/package.json +47 -47
- package/src/aaveV2/index.ts +237 -236
- package/src/aaveV3/index.ts +586 -488
- package/src/claiming/aaveV3.ts +163 -0
- package/src/claiming/compV3.ts +23 -0
- package/src/claiming/index.ts +13 -0
- package/src/claiming/king.ts +66 -0
- package/src/claiming/morphoBlue.ts +119 -0
- package/src/claiming/spark.ts +226 -0
- package/src/compoundV2/index.ts +240 -240
- package/src/compoundV3/index.ts +270 -270
- package/src/config/contracts.ts +1208 -1108
- package/src/constants/index.ts +10 -6
- package/src/contracts.ts +121 -108
- package/src/curveUsd/index.ts +250 -250
- package/src/eulerV2/index.ts +314 -314
- package/src/exchange/index.ts +25 -25
- package/src/fluid/index.ts +1568 -1568
- package/src/helpers/aaveHelpers/index.ts +170 -170
- package/src/helpers/compoundHelpers/index.ts +261 -261
- package/src/helpers/curveUsdHelpers/index.ts +40 -40
- package/src/helpers/eulerHelpers/index.ts +259 -259
- package/src/helpers/fluidHelpers/index.ts +324 -324
- package/src/helpers/index.ts +10 -10
- package/src/helpers/liquityV2Helpers/index.ts +80 -80
- package/src/helpers/llamaLendHelpers/index.ts +53 -53
- package/src/helpers/makerHelpers/index.ts +52 -52
- package/src/helpers/morphoBlueHelpers/index.ts +390 -390
- package/src/helpers/sparkHelpers/index.ts +155 -155
- package/src/index.ts +47 -45
- package/src/liquity/index.ts +160 -105
- package/src/liquityV2/index.ts +583 -408
- package/src/llamaLend/index.ts +296 -296
- package/src/maker/index.ts +223 -223
- package/src/markets/aave/index.ts +116 -116
- package/src/markets/aave/marketAssets.ts +49 -49
- package/src/markets/compound/index.ts +227 -227
- package/src/markets/compound/marketsAssets.ts +90 -90
- package/src/markets/curveUsd/index.ts +69 -69
- package/src/markets/euler/index.ts +26 -26
- package/src/markets/fluid/index.ts +2456 -2456
- package/src/markets/index.ts +25 -25
- package/src/markets/liquityV2/index.ts +102 -102
- package/src/markets/llamaLend/contractAddresses.ts +141 -141
- package/src/markets/llamaLend/index.ts +235 -235
- package/src/markets/morphoBlue/index.ts +895 -895
- package/src/markets/spark/index.ts +29 -29
- package/src/markets/spark/marketAssets.ts +11 -11
- package/src/moneymarket/moneymarketCommonService.ts +80 -80
- package/src/morphoBlue/index.ts +259 -222
- package/src/portfolio/index.ts +533 -285
- package/src/services/priceService.ts +159 -159
- package/src/services/utils.ts +100 -64
- package/src/services/viem.ts +32 -32
- package/src/setup.ts +8 -8
- package/src/spark/index.ts +457 -456
- package/src/staking/staking.ts +194 -193
- package/src/types/aave.ts +194 -194
- package/src/types/claiming.ts +109 -0
- package/src/types/common.ts +88 -88
- package/src/types/compound.ts +136 -136
- package/src/types/curveUsd.ts +121 -121
- package/src/types/euler.ts +174 -174
- package/src/types/fluid.ts +450 -450
- package/src/types/index.ts +11 -11
- package/src/types/liquity.ts +30 -30
- package/src/types/liquityV2.ts +126 -126
- package/src/types/llamaLend.ts +157 -157
- package/src/types/maker.ts +63 -63
- package/src/types/morphoBlue.ts +194 -194
- package/src/types/portfolio.ts +60 -60
- package/src/types/spark.ts +137 -137
- package/src/umbrella/index.ts +70 -0
- package/src/umbrella/umbrellaUtils.ts +30 -0
package/src/types/euler.ts
CHANGED
|
@@ -1,175 +1,175 @@
|
|
|
1
|
-
import {
|
|
2
|
-
EthAddress,
|
|
3
|
-
MMPositionData, NetworkNumber,
|
|
4
|
-
} from './common';
|
|
5
|
-
|
|
6
|
-
export enum EulerV2Versions {
|
|
7
|
-
eUSDC2 = 'eUSDC-2',
|
|
8
|
-
eWETH2 = 'eWETH-2',
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
export enum EulerV2VaultType {
|
|
12
|
-
Escrow = 'Escrow',
|
|
13
|
-
Governed = 'Governed',
|
|
14
|
-
Ungoverned = 'Ungoverned',
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
export interface EulerV2Market {
|
|
18
|
-
chainIds: NetworkNumber[],
|
|
19
|
-
label: string,
|
|
20
|
-
shortLabel: string,
|
|
21
|
-
asset: string,
|
|
22
|
-
value: EulerV2Versions,
|
|
23
|
-
secondLabel: string,
|
|
24
|
-
marketAddress: EthAddress,
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
export interface EulerV2PositionData extends MMPositionData {
|
|
28
|
-
ratio: string,
|
|
29
|
-
minRatio: string,
|
|
30
|
-
suppliedUsd: string,
|
|
31
|
-
borrowedUsd: string,
|
|
32
|
-
borrowLimitUsd: string,
|
|
33
|
-
incentiveUsd: string,
|
|
34
|
-
totalInterestUsd: string,
|
|
35
|
-
isSubscribedToAutomation?: boolean,
|
|
36
|
-
automationResubscribeRequired?: boolean,
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
export interface EulerV2AssetData {
|
|
40
|
-
vaultAddress: string,
|
|
41
|
-
vaultSymbol: string
|
|
42
|
-
sortIndex?: number
|
|
43
|
-
liquidationRatio: string
|
|
44
|
-
cash: string
|
|
45
|
-
supplyCap: string
|
|
46
|
-
assetAddress: string
|
|
47
|
-
decimals: string
|
|
48
|
-
symbol: string
|
|
49
|
-
price: string
|
|
50
|
-
borrowCap: string
|
|
51
|
-
canBeBorrowed: boolean
|
|
52
|
-
canBeSupplied: boolean
|
|
53
|
-
incentiveSupplyApy?: string
|
|
54
|
-
incentiveSupplyToken?: string
|
|
55
|
-
totalBorrow: string
|
|
56
|
-
collateralFactor: string
|
|
57
|
-
borrowRate: string
|
|
58
|
-
supplyRate: string
|
|
59
|
-
utilization: string
|
|
60
|
-
governorAdmin: string
|
|
61
|
-
vaultType: EulerV2VaultType
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
export interface EulerV2UsedAsset {
|
|
65
|
-
isSupplied: boolean
|
|
66
|
-
isBorrowed: boolean
|
|
67
|
-
supplied: string
|
|
68
|
-
suppliedUsd: string
|
|
69
|
-
borrowed: string
|
|
70
|
-
borrowedUsd: string
|
|
71
|
-
symbol: string
|
|
72
|
-
collateral: boolean
|
|
73
|
-
vaultAddress: string
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
export interface EulerV2MarketInfoData {
|
|
77
|
-
name: string,
|
|
78
|
-
symbol: string,
|
|
79
|
-
decimals: string,
|
|
80
|
-
vaultAddress: string,
|
|
81
|
-
irm: string,
|
|
82
|
-
creator: string,
|
|
83
|
-
governorAdmin: string,
|
|
84
|
-
unitOfAccount: string,
|
|
85
|
-
unitOfAccountUsdPrice: string,
|
|
86
|
-
isInUSD: boolean,
|
|
87
|
-
oracle: string,
|
|
88
|
-
collaterals: string[],
|
|
89
|
-
isEscrow: boolean,
|
|
90
|
-
isGoverned: boolean,
|
|
91
|
-
vaultType: EulerV2VaultType,
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
export type EulerV2AssetsData = { [key: string]: EulerV2AssetData };
|
|
95
|
-
export type EulerV2UsedAssets = { [key: string]: EulerV2UsedAsset };
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
export interface EulerV2CollateralInfo {
|
|
99
|
-
lltv: string
|
|
100
|
-
borrowLtv: string
|
|
101
|
-
totalBorrows: string
|
|
102
|
-
cash: string
|
|
103
|
-
supplyCap: string
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
export interface EulerV2MarketData {
|
|
107
|
-
name: string
|
|
108
|
-
symbol: string
|
|
109
|
-
decimals: number
|
|
110
|
-
|
|
111
|
-
totalSupplyShares: string
|
|
112
|
-
cash: string
|
|
113
|
-
totalBorrows: string
|
|
114
|
-
totalAssets: string
|
|
115
|
-
supplyCap: string
|
|
116
|
-
borrowCap: string
|
|
117
|
-
|
|
118
|
-
collaterals: string[]
|
|
119
|
-
|
|
120
|
-
badDebtSocializationEnabled: boolean
|
|
121
|
-
|
|
122
|
-
unitOfAccount: string
|
|
123
|
-
oracle: string
|
|
124
|
-
assetPrice: string
|
|
125
|
-
|
|
126
|
-
interestRate: string
|
|
127
|
-
irm: string
|
|
128
|
-
|
|
129
|
-
creator: string
|
|
130
|
-
|
|
131
|
-
governorAdmin: string
|
|
132
|
-
|
|
133
|
-
interestFee: string
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
export interface EulerV2FullMarketData {
|
|
137
|
-
marketData: EulerV2MarketInfoData
|
|
138
|
-
assetsData: EulerV2AssetsData
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
export interface EulerV2AccountData {
|
|
142
|
-
owner: string
|
|
143
|
-
inLockDownMode: boolean
|
|
144
|
-
inPermitDisabledMode: boolean
|
|
145
|
-
|
|
146
|
-
borrowVault: string
|
|
147
|
-
borrowAmountInUnit: string
|
|
148
|
-
|
|
149
|
-
collaterals: string[] // all collaterals user has enabled on main evc contract (globally - not only collaterals for his borrow market)
|
|
150
|
-
collateralAmountsInUnit: string[] // only amounts used as collateral for his debt (empty array if no debt)
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
export interface EulerV2AggregatedPositionData {
|
|
154
|
-
suppliedUsd: string,
|
|
155
|
-
suppliedCollateralUsd: string,
|
|
156
|
-
borrowedUsd: string,
|
|
157
|
-
borrowLimitUsd: string,
|
|
158
|
-
liquidationLimitUsd: string,
|
|
159
|
-
leftToBorrowUsd: string,
|
|
160
|
-
ratio: string,
|
|
161
|
-
collRatio: string,
|
|
162
|
-
netApy: string,
|
|
163
|
-
incentiveUsd: string,
|
|
164
|
-
totalInterestUsd: string,
|
|
165
|
-
liqRatio: string,
|
|
166
|
-
liqPercent: string,
|
|
167
|
-
leveragedType: string,
|
|
168
|
-
leveragedAsset?: string,
|
|
169
|
-
leveragedLsdAssetRatio?: string,
|
|
170
|
-
liquidationPrice?: string,
|
|
171
|
-
minRatio: string,
|
|
172
|
-
minDebt: string,
|
|
173
|
-
minCollRatio: string,
|
|
174
|
-
collLiquidationRatio: string,
|
|
1
|
+
import {
|
|
2
|
+
EthAddress,
|
|
3
|
+
MMPositionData, NetworkNumber,
|
|
4
|
+
} from './common';
|
|
5
|
+
|
|
6
|
+
export enum EulerV2Versions {
|
|
7
|
+
eUSDC2 = 'eUSDC-2',
|
|
8
|
+
eWETH2 = 'eWETH-2',
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export enum EulerV2VaultType {
|
|
12
|
+
Escrow = 'Escrow',
|
|
13
|
+
Governed = 'Governed',
|
|
14
|
+
Ungoverned = 'Ungoverned',
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export interface EulerV2Market {
|
|
18
|
+
chainIds: NetworkNumber[],
|
|
19
|
+
label: string,
|
|
20
|
+
shortLabel: string,
|
|
21
|
+
asset: string,
|
|
22
|
+
value: EulerV2Versions,
|
|
23
|
+
secondLabel: string,
|
|
24
|
+
marketAddress: EthAddress,
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export interface EulerV2PositionData extends MMPositionData {
|
|
28
|
+
ratio: string,
|
|
29
|
+
minRatio: string,
|
|
30
|
+
suppliedUsd: string,
|
|
31
|
+
borrowedUsd: string,
|
|
32
|
+
borrowLimitUsd: string,
|
|
33
|
+
incentiveUsd: string,
|
|
34
|
+
totalInterestUsd: string,
|
|
35
|
+
isSubscribedToAutomation?: boolean,
|
|
36
|
+
automationResubscribeRequired?: boolean,
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export interface EulerV2AssetData {
|
|
40
|
+
vaultAddress: string,
|
|
41
|
+
vaultSymbol: string
|
|
42
|
+
sortIndex?: number
|
|
43
|
+
liquidationRatio: string
|
|
44
|
+
cash: string
|
|
45
|
+
supplyCap: string
|
|
46
|
+
assetAddress: string
|
|
47
|
+
decimals: string
|
|
48
|
+
symbol: string
|
|
49
|
+
price: string
|
|
50
|
+
borrowCap: string
|
|
51
|
+
canBeBorrowed: boolean
|
|
52
|
+
canBeSupplied: boolean
|
|
53
|
+
incentiveSupplyApy?: string
|
|
54
|
+
incentiveSupplyToken?: string
|
|
55
|
+
totalBorrow: string
|
|
56
|
+
collateralFactor: string
|
|
57
|
+
borrowRate: string
|
|
58
|
+
supplyRate: string
|
|
59
|
+
utilization: string
|
|
60
|
+
governorAdmin: string
|
|
61
|
+
vaultType: EulerV2VaultType
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export interface EulerV2UsedAsset {
|
|
65
|
+
isSupplied: boolean
|
|
66
|
+
isBorrowed: boolean
|
|
67
|
+
supplied: string
|
|
68
|
+
suppliedUsd: string
|
|
69
|
+
borrowed: string
|
|
70
|
+
borrowedUsd: string
|
|
71
|
+
symbol: string
|
|
72
|
+
collateral: boolean
|
|
73
|
+
vaultAddress: string
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
export interface EulerV2MarketInfoData {
|
|
77
|
+
name: string,
|
|
78
|
+
symbol: string,
|
|
79
|
+
decimals: string,
|
|
80
|
+
vaultAddress: string,
|
|
81
|
+
irm: string,
|
|
82
|
+
creator: string,
|
|
83
|
+
governorAdmin: string,
|
|
84
|
+
unitOfAccount: string,
|
|
85
|
+
unitOfAccountUsdPrice: string,
|
|
86
|
+
isInUSD: boolean,
|
|
87
|
+
oracle: string,
|
|
88
|
+
collaterals: string[],
|
|
89
|
+
isEscrow: boolean,
|
|
90
|
+
isGoverned: boolean,
|
|
91
|
+
vaultType: EulerV2VaultType,
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
export type EulerV2AssetsData = { [key: string]: EulerV2AssetData };
|
|
95
|
+
export type EulerV2UsedAssets = { [key: string]: EulerV2UsedAsset };
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
export interface EulerV2CollateralInfo {
|
|
99
|
+
lltv: string
|
|
100
|
+
borrowLtv: string
|
|
101
|
+
totalBorrows: string
|
|
102
|
+
cash: string
|
|
103
|
+
supplyCap: string
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
export interface EulerV2MarketData {
|
|
107
|
+
name: string
|
|
108
|
+
symbol: string
|
|
109
|
+
decimals: number
|
|
110
|
+
|
|
111
|
+
totalSupplyShares: string
|
|
112
|
+
cash: string
|
|
113
|
+
totalBorrows: string
|
|
114
|
+
totalAssets: string
|
|
115
|
+
supplyCap: string
|
|
116
|
+
borrowCap: string
|
|
117
|
+
|
|
118
|
+
collaterals: string[]
|
|
119
|
+
|
|
120
|
+
badDebtSocializationEnabled: boolean
|
|
121
|
+
|
|
122
|
+
unitOfAccount: string
|
|
123
|
+
oracle: string
|
|
124
|
+
assetPrice: string
|
|
125
|
+
|
|
126
|
+
interestRate: string
|
|
127
|
+
irm: string
|
|
128
|
+
|
|
129
|
+
creator: string
|
|
130
|
+
|
|
131
|
+
governorAdmin: string
|
|
132
|
+
|
|
133
|
+
interestFee: string
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
export interface EulerV2FullMarketData {
|
|
137
|
+
marketData: EulerV2MarketInfoData
|
|
138
|
+
assetsData: EulerV2AssetsData
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
export interface EulerV2AccountData {
|
|
142
|
+
owner: string
|
|
143
|
+
inLockDownMode: boolean
|
|
144
|
+
inPermitDisabledMode: boolean
|
|
145
|
+
|
|
146
|
+
borrowVault: string
|
|
147
|
+
borrowAmountInUnit: string
|
|
148
|
+
|
|
149
|
+
collaterals: string[] // all collaterals user has enabled on main evc contract (globally - not only collaterals for his borrow market)
|
|
150
|
+
collateralAmountsInUnit: string[] // only amounts used as collateral for his debt (empty array if no debt)
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
export interface EulerV2AggregatedPositionData {
|
|
154
|
+
suppliedUsd: string,
|
|
155
|
+
suppliedCollateralUsd: string,
|
|
156
|
+
borrowedUsd: string,
|
|
157
|
+
borrowLimitUsd: string,
|
|
158
|
+
liquidationLimitUsd: string,
|
|
159
|
+
leftToBorrowUsd: string,
|
|
160
|
+
ratio: string,
|
|
161
|
+
collRatio: string,
|
|
162
|
+
netApy: string,
|
|
163
|
+
incentiveUsd: string,
|
|
164
|
+
totalInterestUsd: string,
|
|
165
|
+
liqRatio: string,
|
|
166
|
+
liqPercent: string,
|
|
167
|
+
leveragedType: string,
|
|
168
|
+
leveragedAsset?: string,
|
|
169
|
+
leveragedLsdAssetRatio?: string,
|
|
170
|
+
liquidationPrice?: string,
|
|
171
|
+
minRatio: string,
|
|
172
|
+
minDebt: string,
|
|
173
|
+
minCollRatio: string,
|
|
174
|
+
collLiquidationRatio: string,
|
|
175
175
|
}
|