@defisaver/positions-sdk 0.0.16 → 0.0.18

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 (62) hide show
  1. package/cjs/aaveV3/index.d.ts +1 -1
  2. package/cjs/aaveV3/index.js +2 -3
  3. package/cjs/helpers/compoundHelpers/index.js +2 -2
  4. package/cjs/morphoAaveV3/index.d.ts +1 -1
  5. package/cjs/morphoAaveV3/index.js +2 -3
  6. package/cjs/types/compound.d.ts +1 -0
  7. package/esm/aaveV3/index.d.ts +1 -1
  8. package/esm/aaveV3/index.js +2 -3
  9. package/esm/helpers/compoundHelpers/index.js +2 -2
  10. package/esm/morphoAaveV3/index.d.ts +1 -1
  11. package/esm/morphoAaveV3/index.js +2 -3
  12. package/esm/types/compound.d.ts +1 -0
  13. package/package.json +40 -40
  14. package/src/aaveV2/index.ts +220 -220
  15. package/src/aaveV3/index.ts +554 -556
  16. package/src/assets/index.ts +60 -60
  17. package/src/chickenBonds/index.ts +123 -123
  18. package/src/compoundV2/index.ts +206 -206
  19. package/src/compoundV3/index.ts +270 -269
  20. package/src/config/contracts.js +651 -651
  21. package/src/constants/index.ts +3 -3
  22. package/src/contracts.ts +100 -100
  23. package/src/curveUsd/index.ts +228 -228
  24. package/src/exchange/index.ts +17 -17
  25. package/src/helpers/aaveHelpers/index.ts +134 -134
  26. package/src/helpers/chickenBondsHelpers/index.ts +23 -23
  27. package/src/helpers/compoundHelpers/index.ts +181 -181
  28. package/src/helpers/curveUsdHelpers/index.ts +32 -32
  29. package/src/helpers/index.ts +5 -5
  30. package/src/helpers/makerHelpers/index.ts +94 -94
  31. package/src/helpers/sparkHelpers/index.ts +106 -106
  32. package/src/index.ts +40 -40
  33. package/src/liquity/index.ts +103 -103
  34. package/src/maker/index.ts +101 -101
  35. package/src/markets/aave/index.ts +80 -80
  36. package/src/markets/aave/marketAssets.ts +32 -32
  37. package/src/markets/compound/index.ts +85 -85
  38. package/src/markets/compound/marketsAssets.ts +35 -35
  39. package/src/markets/curveUsd/index.ts +69 -69
  40. package/src/markets/index.ts +3 -3
  41. package/src/markets/spark/index.ts +29 -29
  42. package/src/markets/spark/marketAssets.ts +9 -9
  43. package/src/moneymarket/moneymarketCommonService.ts +75 -75
  44. package/src/morpho/markets.ts +39 -39
  45. package/src/morphoAaveV2/index.ts +254 -254
  46. package/src/morphoAaveV3/index.ts +614 -617
  47. package/src/multicall/index.ts +22 -22
  48. package/src/services/dsrService.ts +15 -15
  49. package/src/services/priceService.ts +21 -21
  50. package/src/services/utils.ts +34 -34
  51. package/src/spark/index.ts +413 -413
  52. package/src/staking/staking.ts +167 -167
  53. package/src/types/aave.ts +256 -256
  54. package/src/types/chickenBonds.ts +45 -45
  55. package/src/types/common.ts +83 -83
  56. package/src/types/compound.ts +122 -121
  57. package/src/types/curveUsd.ts +112 -112
  58. package/src/types/index.ts +6 -6
  59. package/src/types/liquity.ts +29 -29
  60. package/src/types/maker.ts +50 -50
  61. package/src/types/spark.ts +106 -106
  62. package/yarn-error.log +0 -64
@@ -1,84 +1,84 @@
1
- // General
2
- export type EthAddress = string;
3
- export type Blockish = number | 'latest';
4
- export type AssetSymbol = string;
5
- export type Amount = string | number;
6
-
7
- export enum NetworkNumber {
8
- Eth = 1,
9
- Opt = 10,
10
- Arb = 42161,
11
- Base = 8453,
12
- }
13
- export type Networkish = string | NetworkNumber;
14
-
15
- // Common
16
- export interface MMAssetData {
17
- symbol: string,
18
- supplyRate: string,
19
- borrowRate: string,
20
- price: string,
21
- collateralFactor: string,
22
- underlyingTokenAddress: string,
23
- marketLiquidity: string,
24
- utilization: string,
25
- borrowCap: string,
26
- totalSupply: string,
27
- canBeBorrowed: boolean,
28
- canBeSupplied: boolean,
29
- totalBorrow: string,
30
- incentiveBorrowApy?: string,
31
- incentiveBorrowToken?: string,
32
- incentiveSupplyApy?: string,
33
- incentiveSupplyToken?: string,
34
- borrowRateP2P?: string,
35
- supplyRateP2P?: string,
36
- }
37
-
38
- export interface MMAssetsData {
39
- [token: string]: MMAssetData,
40
- }
41
- export interface MMMarketData {
42
- assetsData: MMAssetData[],
43
- }
44
- export interface MMUsedAsset {
45
- symbol: string,
46
- supplied: string,
47
- suppliedUsd: string,
48
- isSupplied: boolean,
49
- borrowed: string,
50
- borrowedUsd: string,
51
- isBorrowed: boolean,
52
- debt: string,
53
- supplyRate?: string,
54
- borrowRate?: string,
55
- discountedBorrowRate?: string,
56
- stableBorrowRate?: string,
57
- interestMode?: string,
58
- collateral?: boolean,
59
- }
60
- export interface MMUsedAssets {
61
- [token: string]: MMUsedAsset,
62
- }
63
- export interface MMUsedAssetWStableB extends MMUsedAsset {
64
- stableBorrowRate: string,
65
- borrowedStable: string,
66
- borrowedVariable: string,
67
- borrowedUsdStable: string,
68
- borrowedUsdVariable: string,
69
- interestMode: string,
70
- }
71
- export interface MMPositionData {
72
- usedAssets: any,
73
- netApy: string,
74
- lastUpdated: number,
75
- // ...
76
- }
77
-
78
- export type Balances = Record<AssetSymbol, Amount>;
79
- export interface PositionBalances {
80
- collateral?: Balances,
81
- debt?: Balances,
82
- selling?: Balances,
83
- deposited?: Balances,
1
+ // General
2
+ export type EthAddress = string;
3
+ export type Blockish = number | 'latest';
4
+ export type AssetSymbol = string;
5
+ export type Amount = string | number;
6
+
7
+ export enum NetworkNumber {
8
+ Eth = 1,
9
+ Opt = 10,
10
+ Arb = 42161,
11
+ Base = 8453,
12
+ }
13
+ export type Networkish = string | NetworkNumber;
14
+
15
+ // Common
16
+ export interface MMAssetData {
17
+ symbol: string,
18
+ supplyRate: string,
19
+ borrowRate: string,
20
+ price: string,
21
+ collateralFactor: string,
22
+ underlyingTokenAddress: string,
23
+ marketLiquidity: string,
24
+ utilization: string,
25
+ borrowCap: string,
26
+ totalSupply: string,
27
+ canBeBorrowed: boolean,
28
+ canBeSupplied: boolean,
29
+ totalBorrow: string,
30
+ incentiveBorrowApy?: string,
31
+ incentiveBorrowToken?: string,
32
+ incentiveSupplyApy?: string,
33
+ incentiveSupplyToken?: string,
34
+ borrowRateP2P?: string,
35
+ supplyRateP2P?: string,
36
+ }
37
+
38
+ export interface MMAssetsData {
39
+ [token: string]: MMAssetData,
40
+ }
41
+ export interface MMMarketData {
42
+ assetsData: MMAssetData[],
43
+ }
44
+ export interface MMUsedAsset {
45
+ symbol: string,
46
+ supplied: string,
47
+ suppliedUsd: string,
48
+ isSupplied: boolean,
49
+ borrowed: string,
50
+ borrowedUsd: string,
51
+ isBorrowed: boolean,
52
+ debt: string,
53
+ supplyRate?: string,
54
+ borrowRate?: string,
55
+ discountedBorrowRate?: string,
56
+ stableBorrowRate?: string,
57
+ interestMode?: string,
58
+ collateral?: boolean,
59
+ }
60
+ export interface MMUsedAssets {
61
+ [token: string]: MMUsedAsset,
62
+ }
63
+ export interface MMUsedAssetWStableB extends MMUsedAsset {
64
+ stableBorrowRate: string,
65
+ borrowedStable: string,
66
+ borrowedVariable: string,
67
+ borrowedUsdStable: string,
68
+ borrowedUsdVariable: string,
69
+ interestMode: string,
70
+ }
71
+ export interface MMPositionData {
72
+ usedAssets: any,
73
+ netApy: string,
74
+ lastUpdated: number,
75
+ // ...
76
+ }
77
+
78
+ export type Balances = Record<AssetSymbol, Amount>;
79
+ export interface PositionBalances {
80
+ collateral?: Balances,
81
+ debt?: Balances,
82
+ selling?: Balances,
83
+ deposited?: Balances,
84
84
  }
@@ -1,122 +1,123 @@
1
- import {
2
- MMAssetData, MMPositionData, MMUsedAsset, NetworkNumber,
3
- } from './common';
4
-
5
- export enum CompoundVersions {
6
- 'CompoundV2' = 'v2',
7
- 'CompoundV3USDC' = 'v3-USDC',
8
- 'CompoundV3ETH' = 'v3-ETH',
9
- 'CompoundV3USDbC' = 'v3-USDbC',
10
- }
11
-
12
- export interface CompoundMarketData {
13
- chainIds: NetworkNumber[],
14
- label: string,
15
- shortLabel: string,
16
- value: CompoundVersions,
17
- baseAsset: string,
18
- collAssets: readonly string[],
19
- baseMarket: string,
20
- baseMarketAddress: string,
21
- secondLabel: string,
22
- bulkerName: string,
23
- bulkerAddress: string,
24
- bulkerOptions: { supply: string | number, withdraw: string | number },
25
- // icon: Function,
26
- }
27
-
28
- export interface CompoundUsedAsset extends MMUsedAsset {
29
- collateral: boolean,
30
- limit?: string,
31
- }
32
-
33
- export interface CompoundV2UsedAsset extends CompoundUsedAsset {
34
- }
35
- export interface CompoundV3UsedAsset extends CompoundUsedAsset {
36
- }
37
-
38
- export interface CompoundUsedAssets<T> {
39
- [token: string]: T,
40
- }
41
-
42
- export type CompoundV2UsedAssets = CompoundUsedAssets<CompoundV2UsedAsset>;
43
- export type CompoundV3UsedAssets = CompoundUsedAssets<CompoundV3UsedAsset>;
44
-
45
- export interface CompoundAssetData extends MMAssetData {
46
- supplyCapAlternative?: string,
47
- totalSupplyAlternative?: string,
48
- priceAlternative?: string,
49
- sortIndex?: number,
50
- }
51
-
52
- export interface CompoundV2AssetData extends CompoundAssetData {
53
- }
54
- export interface CompoundV3AssetData extends CompoundAssetData {
55
- borrowCollateralFactor: string,
56
- liquidateCollateralFactor: string,
57
- minDebt: string,
58
- liquidationRatio: string,
59
- supplyCap: string,
60
- }
61
-
62
- export interface CompoundAssetsData<T> {
63
- [token: string]: T
64
- }
65
- export type CompoundV2AssetsData = CompoundAssetsData<CompoundV2AssetData>;
66
- export type CompoundV3AssetsData = CompoundAssetsData<CompoundV3AssetData>;
67
-
68
- export type CompoundMarketsData<T> = { assetsData: T };
69
- export type CompoundV2MarketsData = CompoundMarketsData<CompoundV2AssetsData>;
70
- export type CompoundV3MarketsData = CompoundMarketsData<CompoundV3AssetsData>;
71
-
72
- export interface BaseAdditionalAssetData {
73
- totalBorrow: string,
74
- utilization: string,
75
- marketLiquidity: string,
76
- rewardSupplySpeed: string,
77
- rewardBorrowSpeed: string,
78
- minDebt: string,
79
- isBase: boolean,
80
- }
81
-
82
- export interface CompoundAggregatedPositionData {
83
- suppliedUsd: string,
84
- suppliedCollateralUsd: string,
85
- borrowedUsd: string,
86
- borrowLimitUsd: string,
87
- liquidationLimitUsd: string,
88
- leftToBorrowUsd: string,
89
- ratio: string,
90
- collRatio: string,
91
- netApy: string,
92
- incentiveUsd: string,
93
- totalInterestUsd: string,
94
- liqRatio: string,
95
- liqPercent: string,
96
- leveragedType: string,
97
- leveragedAsset?: string,
98
- leveragedLsdAssetRatio?: string,
99
- liquidationPrice?: string,
100
- minRatio: string,
101
- debtTooLow: boolean,
102
- minDebt: string,
103
- }
104
-
105
- export interface CompoundPositionData extends MMPositionData {
106
- ratio: string,
107
- minRatio: string,
108
- borrowedUsd: string,
109
- borrowLimitUsd: string,
110
- incentiveUsd: string,
111
- totalInterestUsd: string,
112
- isSubscribedToAutomation?: boolean,
113
- automationResubscribeRequired?: boolean,
114
- }
115
-
116
- export interface CompoundV2PositionData extends CompoundPositionData {
117
- usedAssets: CompoundV2UsedAssets,
118
- }
119
-
120
- export interface CompoundV3PositionData extends CompoundPositionData {
121
- usedAssets: CompoundV3UsedAssets,
1
+ import {
2
+ MMAssetData, MMPositionData, MMUsedAsset, NetworkNumber,
3
+ } from './common';
4
+
5
+ export enum CompoundVersions {
6
+ 'CompoundV2' = 'v2',
7
+ 'CompoundV3USDC' = 'v3-USDC',
8
+ 'CompoundV3ETH' = 'v3-ETH',
9
+ 'CompoundV3USDbC' = 'v3-USDbC',
10
+ }
11
+
12
+ export interface CompoundMarketData {
13
+ chainIds: NetworkNumber[],
14
+ label: string,
15
+ shortLabel: string,
16
+ value: CompoundVersions,
17
+ baseAsset: string,
18
+ collAssets: readonly string[],
19
+ baseMarket: string,
20
+ baseMarketAddress: string,
21
+ secondLabel: string,
22
+ bulkerName: string,
23
+ bulkerAddress: string,
24
+ bulkerOptions: { supply: string | number, withdraw: string | number },
25
+ // icon: Function,
26
+ }
27
+
28
+ export interface CompoundUsedAsset extends MMUsedAsset {
29
+ collateral: boolean,
30
+ limit?: string,
31
+ }
32
+
33
+ export interface CompoundV2UsedAsset extends CompoundUsedAsset {
34
+ }
35
+ export interface CompoundV3UsedAsset extends CompoundUsedAsset {
36
+ }
37
+
38
+ export interface CompoundUsedAssets<T> {
39
+ [token: string]: T,
40
+ }
41
+
42
+ export type CompoundV2UsedAssets = CompoundUsedAssets<CompoundV2UsedAsset>;
43
+ export type CompoundV3UsedAssets = CompoundUsedAssets<CompoundV3UsedAsset>;
44
+
45
+ export interface CompoundAssetData extends MMAssetData {
46
+ supplyCapAlternative?: string,
47
+ totalSupplyAlternative?: string,
48
+ priceAlternative?: string,
49
+ sortIndex?: number,
50
+ }
51
+
52
+ export interface CompoundV2AssetData extends CompoundAssetData {
53
+ }
54
+ export interface CompoundV3AssetData extends CompoundAssetData {
55
+ borrowCollateralFactor: string,
56
+ liquidateCollateralFactor: string,
57
+ minDebt: string,
58
+ liquidationRatio: string,
59
+ supplyCap: string,
60
+ priceInBaseAsset: string,
61
+ }
62
+
63
+ export interface CompoundAssetsData<T> {
64
+ [token: string]: T
65
+ }
66
+ export type CompoundV2AssetsData = CompoundAssetsData<CompoundV2AssetData>;
67
+ export type CompoundV3AssetsData = CompoundAssetsData<CompoundV3AssetData>;
68
+
69
+ export type CompoundMarketsData<T> = { assetsData: T };
70
+ export type CompoundV2MarketsData = CompoundMarketsData<CompoundV2AssetsData>;
71
+ export type CompoundV3MarketsData = CompoundMarketsData<CompoundV3AssetsData>;
72
+
73
+ export interface BaseAdditionalAssetData {
74
+ totalBorrow: string,
75
+ utilization: string,
76
+ marketLiquidity: string,
77
+ rewardSupplySpeed: string,
78
+ rewardBorrowSpeed: string,
79
+ minDebt: string,
80
+ isBase: boolean,
81
+ }
82
+
83
+ export interface CompoundAggregatedPositionData {
84
+ suppliedUsd: string,
85
+ suppliedCollateralUsd: string,
86
+ borrowedUsd: string,
87
+ borrowLimitUsd: string,
88
+ liquidationLimitUsd: string,
89
+ leftToBorrowUsd: string,
90
+ ratio: string,
91
+ collRatio: string,
92
+ netApy: string,
93
+ incentiveUsd: string,
94
+ totalInterestUsd: string,
95
+ liqRatio: string,
96
+ liqPercent: string,
97
+ leveragedType: string,
98
+ leveragedAsset?: string,
99
+ leveragedLsdAssetRatio?: string,
100
+ liquidationPrice?: string,
101
+ minRatio: string,
102
+ debtTooLow: boolean,
103
+ minDebt: string,
104
+ }
105
+
106
+ export interface CompoundPositionData extends MMPositionData {
107
+ ratio: string,
108
+ minRatio: string,
109
+ borrowedUsd: string,
110
+ borrowLimitUsd: string,
111
+ incentiveUsd: string,
112
+ totalInterestUsd: string,
113
+ isSubscribedToAutomation?: boolean,
114
+ automationResubscribeRequired?: boolean,
115
+ }
116
+
117
+ export interface CompoundV2PositionData extends CompoundPositionData {
118
+ usedAssets: CompoundV2UsedAssets,
119
+ }
120
+
121
+ export interface CompoundV3PositionData extends CompoundPositionData {
122
+ usedAssets: CompoundV3UsedAssets,
122
123
  }
@@ -1,113 +1,113 @@
1
- import { NetworkNumber } from './common';
2
-
3
- export enum CrvUSDVersions {
4
- 'wstETH' = 'wstETH',
5
- 'WBTC' = 'WBTC',
6
- 'ETH' = 'ETH',
7
- 'tBTC' = 'tBTC',
8
- 'sfrxETH' = '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
- }
78
-
79
- export interface CrvUSDUsedAsset {
80
- isSupplied: boolean,
81
- supplied: string,
82
- suppliedUsd: string,
83
- borrowed: string,
84
- borrowedUsd: string,
85
- isBorrowed: boolean,
86
- symbol: string,
87
- collateral: boolean,
88
- price: string,
89
- interestRate?: string,
90
- }
91
-
92
- export interface CrvUSDUsedAssets {
93
- [key: string]: CrvUSDUsedAsset,
94
- }
95
-
96
- export interface CrvUSDUserData {
97
- debtAmount: string,
98
- health: string,
99
- healthPercent: string,
100
- priceHigh: string,
101
- priceLow: string,
102
- liquidationDiscount: string,
103
- numOfBands: string,
104
- usedAssets: CrvUSDUsedAssets,
105
- status: CrvUSDStatus,
106
- ratio: string,
107
- supplied: string,
108
- suppliedUsd: string,
109
- borrowedUsd: string,
110
- borrowed: string,
111
- safetyRatio: string,
112
- userBands: UserBandData[],
1
+ import { NetworkNumber } from './common';
2
+
3
+ export enum CrvUSDVersions {
4
+ 'wstETH' = 'wstETH',
5
+ 'WBTC' = 'WBTC',
6
+ 'ETH' = 'ETH',
7
+ 'tBTC' = 'tBTC',
8
+ 'sfrxETH' = '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
+ }
78
+
79
+ export interface CrvUSDUsedAsset {
80
+ isSupplied: boolean,
81
+ supplied: string,
82
+ suppliedUsd: string,
83
+ borrowed: string,
84
+ borrowedUsd: string,
85
+ isBorrowed: boolean,
86
+ symbol: string,
87
+ collateral: boolean,
88
+ price: string,
89
+ interestRate?: string,
90
+ }
91
+
92
+ export interface CrvUSDUsedAssets {
93
+ [key: string]: CrvUSDUsedAsset,
94
+ }
95
+
96
+ export interface CrvUSDUserData {
97
+ debtAmount: string,
98
+ health: string,
99
+ healthPercent: string,
100
+ priceHigh: string,
101
+ priceLow: string,
102
+ liquidationDiscount: string,
103
+ numOfBands: string,
104
+ usedAssets: CrvUSDUsedAssets,
105
+ status: CrvUSDStatus,
106
+ ratio: string,
107
+ supplied: string,
108
+ suppliedUsd: string,
109
+ borrowedUsd: string,
110
+ borrowed: string,
111
+ safetyRatio: string,
112
+ userBands: UserBandData[],
113
113
  }
@@ -1,7 +1,7 @@
1
- export * from './aave';
2
- export * from './compound';
3
- export * from './spark';
4
- export * from './curveUsd';
5
- export * from './liquity';
6
- export * from './maker';
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
7
  export * from './chickenBonds';