@defisaver/positions-sdk 0.0.97 → 0.0.99

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (74) hide show
  1. package/README.md +63 -63
  2. package/cjs/config/contracts.d.ts +45 -1
  3. package/cjs/config/contracts.js +3 -3
  4. package/cjs/helpers/morphoBlueHelpers/index.d.ts +9 -2
  5. package/cjs/helpers/morphoBlueHelpers/index.js +66 -1
  6. package/cjs/morphoBlue/index.d.ts +2 -1
  7. package/cjs/morphoBlue/index.js +33 -28
  8. package/cjs/types/contracts/generated/MorphoBlueView.d.ts +61 -0
  9. package/esm/config/contracts.d.ts +45 -1
  10. package/esm/config/contracts.js +3 -3
  11. package/esm/helpers/morphoBlueHelpers/index.d.ts +9 -2
  12. package/esm/helpers/morphoBlueHelpers/index.js +62 -0
  13. package/esm/morphoBlue/index.d.ts +2 -1
  14. package/esm/morphoBlue/index.js +32 -28
  15. package/esm/types/contracts/generated/MorphoBlueView.d.ts +61 -0
  16. package/package.json +40 -40
  17. package/src/aaveV2/index.ts +227 -227
  18. package/src/aaveV3/index.ts +558 -558
  19. package/src/assets/index.ts +60 -60
  20. package/src/chickenBonds/index.ts +123 -123
  21. package/src/compoundV2/index.ts +219 -219
  22. package/src/compoundV3/index.ts +266 -266
  23. package/src/config/contracts.js +848 -848
  24. package/src/constants/index.ts +5 -5
  25. package/src/contracts.ts +128 -128
  26. package/src/curveUsd/index.ts +229 -229
  27. package/src/exchange/index.ts +17 -17
  28. package/src/helpers/aaveHelpers/index.ts +134 -134
  29. package/src/helpers/chickenBondsHelpers/index.ts +23 -23
  30. package/src/helpers/compoundHelpers/index.ts +181 -181
  31. package/src/helpers/curveUsdHelpers/index.ts +40 -40
  32. package/src/helpers/index.ts +7 -7
  33. package/src/helpers/llamaLendHelpers/index.ts +45 -45
  34. package/src/helpers/makerHelpers/index.ts +94 -94
  35. package/src/helpers/morphoBlueHelpers/index.ts +117 -56
  36. package/src/helpers/sparkHelpers/index.ts +106 -106
  37. package/src/index.ts +46 -46
  38. package/src/liquity/index.ts +116 -116
  39. package/src/llamaLend/index.ts +268 -268
  40. package/src/maker/index.ts +117 -117
  41. package/src/markets/aave/index.ts +80 -80
  42. package/src/markets/aave/marketAssets.ts +24 -24
  43. package/src/markets/compound/index.ts +142 -142
  44. package/src/markets/compound/marketsAssets.ts +50 -50
  45. package/src/markets/curveUsd/index.ts +69 -69
  46. package/src/markets/index.ts +5 -5
  47. package/src/markets/llamaLend/contractAddresses.ts +95 -95
  48. package/src/markets/llamaLend/index.ts +150 -150
  49. package/src/markets/morphoBlue/index.ts +611 -611
  50. package/src/markets/spark/index.ts +29 -29
  51. package/src/markets/spark/marketAssets.ts +10 -10
  52. package/src/moneymarket/moneymarketCommonService.ts +76 -76
  53. package/src/morphoAaveV2/index.ts +256 -256
  54. package/src/morphoAaveV3/index.ts +612 -612
  55. package/src/morphoBlue/index.ts +171 -162
  56. package/src/multicall/index.ts +22 -22
  57. package/src/services/dsrService.ts +15 -15
  58. package/src/services/priceService.ts +21 -21
  59. package/src/services/utils.ts +51 -51
  60. package/src/setup.ts +8 -8
  61. package/src/spark/index.ts +424 -424
  62. package/src/staking/staking.ts +187 -187
  63. package/src/types/aave.ts +256 -256
  64. package/src/types/chickenBonds.ts +45 -45
  65. package/src/types/common.ts +84 -84
  66. package/src/types/compound.ts +128 -128
  67. package/src/types/contracts/generated/MorphoBlueView.ts +87 -0
  68. package/src/types/curveUsd.ts +118 -118
  69. package/src/types/index.ts +8 -8
  70. package/src/types/liquity.ts +30 -30
  71. package/src/types/llamaLend.ts +143 -143
  72. package/src/types/maker.ts +50 -50
  73. package/src/types/morphoBlue.ts +139 -139
  74. package/src/types/spark.ts +106 -106
@@ -1,119 +1,119 @@
1
- import { NetworkNumber } from './common';
2
-
3
- export enum CrvUSDVersions {
4
- 'crvUSDwstETH' = 'wstETH',
5
- 'crvUSDWBTC' = 'WBTC',
6
- 'crvUSDETH' = 'ETH',
7
- 'crvUSDtBTC' = 'tBTC',
8
- 'crvUSDsfrxETH' = 'sfrxETH',
9
- }
10
-
11
- export enum CrvUSDStatus {
12
- Nonexistant = 'Nonexistant',
13
- Safe = 'Safe',
14
- Risk = 'Risk',
15
- SoftLiquidating = 'SoftLiquidating',
16
- SoftLiquidated = 'SoftLiquidated',
17
- }
18
-
19
- export interface CrvUSDMarketData {
20
- chainIds: NetworkNumber[],
21
- label: string,
22
- shortLabel: string,
23
- value: CrvUSDVersions,
24
- collAsset: string,
25
- baseAsset: string,
26
- controllerAddress: string,
27
- ammAddress: string,
28
- createCollAssets: string[],
29
- }
30
-
31
- export interface BandData {
32
- id: string,
33
- collAmount: string,
34
- debtAmount: string,
35
- lowPrice: string,
36
- highPrice: string,
37
- }
38
-
39
- export interface UserBandData {
40
- id: string,
41
- collAmount: string,
42
- debtAmount: string,
43
- lowPrice: string,
44
- highPrice: string,
45
- userDebtAmount: string,
46
- userCollAmount: string,
47
- }
48
-
49
- export interface CrvUSDGlobalMarketData {
50
- collateral: string,
51
- decimals: string,
52
- activeBand: string,
53
- totalDebt: string,
54
- ammPrice: string,
55
- basePrice: string,
56
- oraclePrice: string,
57
- minted: string,
58
- redeemed: string,
59
- monetaryPolicyRate: string,
60
- ammRate: string,
61
- minBand: string,
62
- maxBand: string,
63
- debtCeiling: string,
64
- borrowRate: string,
65
- futureBorrowRate: string,
66
- leftToBorrow: string,
67
- bands: BandData[],
68
- }
69
-
70
- export interface CrvUSDAggregatedPositionData {
71
- ratio: string,
72
- supplied: string,
73
- suppliedUsd: string,
74
- borrowedUsd: string,
75
- borrowed: string,
76
- safetyRatio: string,
77
- borrowLimitUsd: string,
78
- minAllowedRatio: number,
79
- collFactor: string,
80
- leveragedType: string,
81
- leveragedAsset?: string,
82
- liquidationPrice?: string,
83
- }
84
-
85
- export interface CrvUSDUsedAsset {
86
- isSupplied: boolean,
87
- supplied: string,
88
- suppliedUsd: string,
89
- borrowed: string,
90
- borrowedUsd: string,
91
- isBorrowed: boolean,
92
- symbol: string,
93
- collateral: boolean,
94
- price: string,
95
- interestRate?: string,
96
- }
97
-
98
- export interface CrvUSDUsedAssets {
99
- [key: string]: CrvUSDUsedAsset,
100
- }
101
-
102
- export interface CrvUSDUserData {
103
- debtAmount: string,
104
- health: string,
105
- healthPercent: string,
106
- priceHigh: string,
107
- priceLow: string,
108
- liquidationDiscount: string,
109
- numOfBands: string,
110
- usedAssets: CrvUSDUsedAssets,
111
- status: CrvUSDStatus,
112
- ratio: string,
113
- supplied: string,
114
- suppliedUsd: string,
115
- borrowedUsd: string,
116
- borrowed: string,
117
- safetyRatio: string,
118
- userBands: UserBandData[],
1
+ import { NetworkNumber } from './common';
2
+
3
+ export enum CrvUSDVersions {
4
+ 'crvUSDwstETH' = 'wstETH',
5
+ 'crvUSDWBTC' = 'WBTC',
6
+ 'crvUSDETH' = 'ETH',
7
+ 'crvUSDtBTC' = 'tBTC',
8
+ 'crvUSDsfrxETH' = 'sfrxETH',
9
+ }
10
+
11
+ export enum CrvUSDStatus {
12
+ Nonexistant = 'Nonexistant',
13
+ Safe = 'Safe',
14
+ Risk = 'Risk',
15
+ SoftLiquidating = 'SoftLiquidating',
16
+ SoftLiquidated = 'SoftLiquidated',
17
+ }
18
+
19
+ export interface CrvUSDMarketData {
20
+ chainIds: NetworkNumber[],
21
+ label: string,
22
+ shortLabel: string,
23
+ value: CrvUSDVersions,
24
+ collAsset: string,
25
+ baseAsset: string,
26
+ controllerAddress: string,
27
+ ammAddress: string,
28
+ createCollAssets: string[],
29
+ }
30
+
31
+ export interface BandData {
32
+ id: string,
33
+ collAmount: string,
34
+ debtAmount: string,
35
+ lowPrice: string,
36
+ highPrice: string,
37
+ }
38
+
39
+ export interface UserBandData {
40
+ id: string,
41
+ collAmount: string,
42
+ debtAmount: string,
43
+ lowPrice: string,
44
+ highPrice: string,
45
+ userDebtAmount: string,
46
+ userCollAmount: string,
47
+ }
48
+
49
+ export interface CrvUSDGlobalMarketData {
50
+ collateral: string,
51
+ decimals: string,
52
+ activeBand: string,
53
+ totalDebt: string,
54
+ ammPrice: string,
55
+ basePrice: string,
56
+ oraclePrice: string,
57
+ minted: string,
58
+ redeemed: string,
59
+ monetaryPolicyRate: string,
60
+ ammRate: string,
61
+ minBand: string,
62
+ maxBand: string,
63
+ debtCeiling: string,
64
+ borrowRate: string,
65
+ futureBorrowRate: string,
66
+ leftToBorrow: string,
67
+ bands: BandData[],
68
+ }
69
+
70
+ export interface CrvUSDAggregatedPositionData {
71
+ ratio: string,
72
+ supplied: string,
73
+ suppliedUsd: string,
74
+ borrowedUsd: string,
75
+ borrowed: string,
76
+ safetyRatio: string,
77
+ borrowLimitUsd: string,
78
+ minAllowedRatio: number,
79
+ collFactor: string,
80
+ leveragedType: string,
81
+ leveragedAsset?: string,
82
+ liquidationPrice?: string,
83
+ }
84
+
85
+ export interface CrvUSDUsedAsset {
86
+ isSupplied: boolean,
87
+ supplied: string,
88
+ suppliedUsd: string,
89
+ borrowed: string,
90
+ borrowedUsd: string,
91
+ isBorrowed: boolean,
92
+ symbol: string,
93
+ collateral: boolean,
94
+ price: string,
95
+ interestRate?: string,
96
+ }
97
+
98
+ export interface CrvUSDUsedAssets {
99
+ [key: string]: CrvUSDUsedAsset,
100
+ }
101
+
102
+ export interface CrvUSDUserData {
103
+ debtAmount: string,
104
+ health: string,
105
+ healthPercent: string,
106
+ priceHigh: string,
107
+ priceLow: string,
108
+ liquidationDiscount: string,
109
+ numOfBands: string,
110
+ usedAssets: CrvUSDUsedAssets,
111
+ status: CrvUSDStatus,
112
+ ratio: string,
113
+ supplied: string,
114
+ suppliedUsd: string,
115
+ borrowedUsd: string,
116
+ borrowed: string,
117
+ safetyRatio: string,
118
+ userBands: UserBandData[],
119
119
  }
@@ -1,9 +1,9 @@
1
- export * from './aave';
2
- export * from './compound';
3
- export * from './spark';
4
- export * from './curveUsd';
5
- export * from './liquity';
6
- export * from './maker';
7
- export * from './chickenBonds';
8
- export * from './morphoBlue';
1
+ export * from './aave';
2
+ export * from './compound';
3
+ export * from './spark';
4
+ export * from './curveUsd';
5
+ export * from './liquity';
6
+ export * from './maker';
7
+ export * from './chickenBonds';
8
+ export * from './morphoBlue';
9
9
  export * from './llamaLend';
@@ -1,31 +1,31 @@
1
- export enum LIQUITY_TROVE_STATUS_ENUM {
2
- nonExistent,
3
- active,
4
- closedByOwner,
5
- closedByLiquidation,
6
- closedByRedemption,
7
- }
8
-
9
- export const LIQUITY_STATUS_MAPPING = {
10
- nonExistent: 'Non existent',
11
- active: 'Active',
12
- closedByOwner: 'Closed',
13
- closedByLiquidation: 'Liquidated',
14
- closedByRedemption: 'Redeemed',
15
- };
16
-
17
- export interface LiquityTroveInfo {
18
- troveStatus: string,
19
- collateral: string,
20
- debtInAsset: string,
21
- TCRatio: string,
22
- recoveryMode: boolean,
23
- claimableCollateral: string,
24
- borrowingRateWithDecay: string,
25
- assetPrice: string,
26
- totalETH: string,
27
- totalLUSD: string,
28
- minCollateralRatio: number,
29
- priceForRecovery: string,
30
- debtInFront: string,
1
+ export enum LIQUITY_TROVE_STATUS_ENUM {
2
+ nonExistent,
3
+ active,
4
+ closedByOwner,
5
+ closedByLiquidation,
6
+ closedByRedemption,
7
+ }
8
+
9
+ export const LIQUITY_STATUS_MAPPING = {
10
+ nonExistent: 'Non existent',
11
+ active: 'Active',
12
+ closedByOwner: 'Closed',
13
+ closedByLiquidation: 'Liquidated',
14
+ closedByRedemption: 'Redeemed',
15
+ };
16
+
17
+ export interface LiquityTroveInfo {
18
+ troveStatus: string,
19
+ collateral: string,
20
+ debtInAsset: string,
21
+ TCRatio: string,
22
+ recoveryMode: boolean,
23
+ claimableCollateral: string,
24
+ borrowingRateWithDecay: string,
25
+ assetPrice: string,
26
+ totalETH: string,
27
+ totalLUSD: string,
28
+ minCollateralRatio: number,
29
+ priceForRecovery: string,
30
+ debtInFront: string,
31
31
  }
@@ -1,143 +1,143 @@
1
- import { EthAddress, NetworkNumber } from './common';
2
- import { BandData, UserBandData } from './curveUsd';
3
-
4
- export enum LLVersionsEth {
5
- // long only
6
- LLWstethCrvusd = 'llamaLendwstETHcrvUSD',
7
- LLSusdeCrvusd = 'llamaLendsUSDecrvUSD',
8
- // long and short crv
9
- LLCrvCrvusd = 'llamaLendCRVcrvUSD',
10
- LLCrvusdCrv = 'llamaLendcrvUSDCRV',
11
- // long and short tbtc
12
- LLTbtcCrvusd = 'llamaLendTBTCcrvUSD',
13
- LLCrvusdTbtc = 'llamaLendcrvUSDTBTC',
14
- // long and short weth
15
- LLWethCrvusd = 'llamaLendWETHcrvUSD',
16
- LLCrvusdWeth = 'llamaLendcrvUSDWETH',
17
- }
18
-
19
- export enum LLVersionsArb {
20
- // long only
21
- LLArbCrvusd = 'llamaLendArbcrvUSD',
22
- LLFxnCrvusd = 'llamaLendFXNcrvUSD',
23
- LLWbtcCrvusd = 'llamaLendWBTCcrvUSD',
24
- LLCrvCrvusd = 'llamaLendCRVcrvUSD',
25
- LLWethCrvusd = 'llamaLendWETHcrvUSD',
26
- }
27
-
28
- export const LlamaLendVersions = {
29
- ...LLVersionsEth,
30
- ...LLVersionsArb,
31
- } as const;
32
-
33
- export type LlamaLendVersionsType = typeof LlamaLendVersions[keyof typeof LlamaLendVersions];
34
-
35
- export enum LlamaLendStatus {
36
- Nonexistant = 'Nonexistant',
37
- Safe = 'Safe',
38
- Risk = 'Risk',
39
- SoftLiquidating = 'SoftLiquidating',
40
- SoftLiquidated = 'SoftLiquidated',
41
- }
42
-
43
- export interface LlamaLendMarketData {
44
- chainIds: NetworkNumber[],
45
- label: string,
46
- shortLabel: string,
47
- value: LlamaLendVersionsType,
48
- collAsset: string,
49
- baseAsset: string,
50
- controllerAddress: string,
51
- vaultAddress: EthAddress,
52
- url: string,
53
- }
54
- export interface LlamaLendAssetData {
55
- symbol: string,
56
- address: string,
57
- price: string,
58
- supplyRate: string,
59
- borrowRate: string,
60
- totalSupply?: string,
61
- totalBorrow?: string,
62
- canBeSupplied?: boolean,
63
- canBeBorrowed?: boolean,
64
- shares?: string,
65
- }
66
-
67
- export type LlamaLendAssetsData = { [key: string]: LlamaLendAssetData };
68
-
69
- export interface LlamaLendGlobalMarketData {
70
- A:string,
71
- loanDiscount: string,
72
- activeBand: string,
73
- totalDebt: string,
74
- totalDebtSupplied:string,
75
- utilization:string,
76
- ammPrice: string,
77
- basePrice: string,
78
- oraclePrice: string,
79
- minted: string,
80
- redeemed: string,
81
- monetaryPolicyRate: string,
82
- ammRate: string,
83
- minBand: string,
84
- maxBand: string,
85
- borrowRate: string,
86
- lendRate: string,
87
- futureBorrowRate: string,
88
- leftToBorrow: string,
89
- bands: BandData[],
90
- assetsData: LlamaLendAssetsData,
91
- }
92
-
93
- export interface LlamaLendAggregatedPositionData {
94
- ratio: string,
95
- suppliedUsd: string,
96
- borrowedUsd: string,
97
- suppliedForYieldUsd: string,
98
- safetyRatio: string,
99
- borrowLimitUsd: string,
100
- minAllowedRatio: number,
101
- collFactor: string,
102
- leveragedType: string,
103
- leveragedAsset?: string,
104
- liquidationPrice?: string,
105
- }
106
-
107
- export interface LlamaLendUsedAsset {
108
- isSupplied: boolean,
109
- supplied: string,
110
- suppliedUsd: string,
111
- borrowed: string,
112
- borrowedUsd: string,
113
- isBorrowed: boolean,
114
- symbol: string,
115
- collateral: boolean,
116
- price: string,
117
- interestRate?: string,
118
- suppliedForYield?: string,
119
- suppliedForYieldUsd?: string,
120
- shares?: string,
121
- }
122
-
123
- export interface LlamaLendUsedAssets {
124
- [key: string]: LlamaLendUsedAsset,
125
- }
126
-
127
- export interface LlamaLendUserData {
128
- debtAmount: string,
129
- health: string,
130
- healthPercent: string,
131
- priceHigh: string,
132
- priceLow: string,
133
- liquidationDiscount: string,
134
- numOfBands: string,
135
- usedAssets: LlamaLendUsedAssets,
136
- status: LlamaLendStatus,
137
- ratio: string,
138
- suppliedUsd: string,
139
- borrowedUsd: string,
140
- suppliedForYieldUsd: string,
141
- safetyRatio: string,
142
- userBands: UserBandData[],
143
- }
1
+ import { EthAddress, NetworkNumber } from './common';
2
+ import { BandData, UserBandData } from './curveUsd';
3
+
4
+ export enum LLVersionsEth {
5
+ // long only
6
+ LLWstethCrvusd = 'llamaLendwstETHcrvUSD',
7
+ LLSusdeCrvusd = 'llamaLendsUSDecrvUSD',
8
+ // long and short crv
9
+ LLCrvCrvusd = 'llamaLendCRVcrvUSD',
10
+ LLCrvusdCrv = 'llamaLendcrvUSDCRV',
11
+ // long and short tbtc
12
+ LLTbtcCrvusd = 'llamaLendTBTCcrvUSD',
13
+ LLCrvusdTbtc = 'llamaLendcrvUSDTBTC',
14
+ // long and short weth
15
+ LLWethCrvusd = 'llamaLendWETHcrvUSD',
16
+ LLCrvusdWeth = 'llamaLendcrvUSDWETH',
17
+ }
18
+
19
+ export enum LLVersionsArb {
20
+ // long only
21
+ LLArbCrvusd = 'llamaLendArbcrvUSD',
22
+ LLFxnCrvusd = 'llamaLendFXNcrvUSD',
23
+ LLWbtcCrvusd = 'llamaLendWBTCcrvUSD',
24
+ LLCrvCrvusd = 'llamaLendCRVcrvUSD',
25
+ LLWethCrvusd = 'llamaLendWETHcrvUSD',
26
+ }
27
+
28
+ export const LlamaLendVersions = {
29
+ ...LLVersionsEth,
30
+ ...LLVersionsArb,
31
+ } as const;
32
+
33
+ export type LlamaLendVersionsType = typeof LlamaLendVersions[keyof typeof LlamaLendVersions];
34
+
35
+ export enum LlamaLendStatus {
36
+ Nonexistant = 'Nonexistant',
37
+ Safe = 'Safe',
38
+ Risk = 'Risk',
39
+ SoftLiquidating = 'SoftLiquidating',
40
+ SoftLiquidated = 'SoftLiquidated',
41
+ }
42
+
43
+ export interface LlamaLendMarketData {
44
+ chainIds: NetworkNumber[],
45
+ label: string,
46
+ shortLabel: string,
47
+ value: LlamaLendVersionsType,
48
+ collAsset: string,
49
+ baseAsset: string,
50
+ controllerAddress: string,
51
+ vaultAddress: EthAddress,
52
+ url: string,
53
+ }
54
+ export interface LlamaLendAssetData {
55
+ symbol: string,
56
+ address: string,
57
+ price: string,
58
+ supplyRate: string,
59
+ borrowRate: string,
60
+ totalSupply?: string,
61
+ totalBorrow?: string,
62
+ canBeSupplied?: boolean,
63
+ canBeBorrowed?: boolean,
64
+ shares?: string,
65
+ }
66
+
67
+ export type LlamaLendAssetsData = { [key: string]: LlamaLendAssetData };
68
+
69
+ export interface LlamaLendGlobalMarketData {
70
+ A:string,
71
+ loanDiscount: string,
72
+ activeBand: string,
73
+ totalDebt: string,
74
+ totalDebtSupplied:string,
75
+ utilization:string,
76
+ ammPrice: string,
77
+ basePrice: string,
78
+ oraclePrice: string,
79
+ minted: string,
80
+ redeemed: string,
81
+ monetaryPolicyRate: string,
82
+ ammRate: string,
83
+ minBand: string,
84
+ maxBand: string,
85
+ borrowRate: string,
86
+ lendRate: string,
87
+ futureBorrowRate: string,
88
+ leftToBorrow: string,
89
+ bands: BandData[],
90
+ assetsData: LlamaLendAssetsData,
91
+ }
92
+
93
+ export interface LlamaLendAggregatedPositionData {
94
+ ratio: string,
95
+ suppliedUsd: string,
96
+ borrowedUsd: string,
97
+ suppliedForYieldUsd: string,
98
+ safetyRatio: string,
99
+ borrowLimitUsd: string,
100
+ minAllowedRatio: number,
101
+ collFactor: string,
102
+ leveragedType: string,
103
+ leveragedAsset?: string,
104
+ liquidationPrice?: string,
105
+ }
106
+
107
+ export interface LlamaLendUsedAsset {
108
+ isSupplied: boolean,
109
+ supplied: string,
110
+ suppliedUsd: string,
111
+ borrowed: string,
112
+ borrowedUsd: string,
113
+ isBorrowed: boolean,
114
+ symbol: string,
115
+ collateral: boolean,
116
+ price: string,
117
+ interestRate?: string,
118
+ suppliedForYield?: string,
119
+ suppliedForYieldUsd?: string,
120
+ shares?: string,
121
+ }
122
+
123
+ export interface LlamaLendUsedAssets {
124
+ [key: string]: LlamaLendUsedAsset,
125
+ }
126
+
127
+ export interface LlamaLendUserData {
128
+ debtAmount: string,
129
+ health: string,
130
+ healthPercent: string,
131
+ priceHigh: string,
132
+ priceLow: string,
133
+ liquidationDiscount: string,
134
+ numOfBands: string,
135
+ usedAssets: LlamaLendUsedAssets,
136
+ status: LlamaLendStatus,
137
+ ratio: string,
138
+ suppliedUsd: string,
139
+ borrowedUsd: string,
140
+ suppliedForYieldUsd: string,
141
+ safetyRatio: string,
142
+ userBands: UserBandData[],
143
+ }