@defisaver/positions-sdk 0.0.52 → 0.0.54

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 (71) hide show
  1. package/README.md +63 -63
  2. package/cjs/curveUsd/index.js +4 -3
  3. package/cjs/llamaLend/index.js +4 -3
  4. package/cjs/markets/morphoBlue/index.d.ts +4 -0
  5. package/cjs/markets/morphoBlue/index.js +35 -1
  6. package/cjs/types/morphoBlue.d.ts +3 -1
  7. package/cjs/types/morphoBlue.js +2 -0
  8. package/esm/curveUsd/index.js +4 -3
  9. package/esm/llamaLend/index.js +4 -3
  10. package/esm/markets/morphoBlue/index.d.ts +4 -0
  11. package/esm/markets/morphoBlue/index.js +32 -0
  12. package/esm/types/morphoBlue.d.ts +3 -1
  13. package/esm/types/morphoBlue.js +2 -0
  14. package/package.json +40 -40
  15. package/src/aaveV2/index.ts +227 -227
  16. package/src/aaveV3/index.ts +561 -561
  17. package/src/assets/index.ts +60 -60
  18. package/src/chickenBonds/index.ts +123 -123
  19. package/src/compoundV2/index.ts +219 -219
  20. package/src/compoundV3/index.ts +273 -273
  21. package/src/config/contracts.js +851 -851
  22. package/src/constants/index.ts +5 -5
  23. package/src/contracts.ts +126 -126
  24. package/src/curveUsd/index.ts +229 -228
  25. package/src/exchange/index.ts +17 -17
  26. package/src/helpers/aaveHelpers/index.ts +134 -134
  27. package/src/helpers/chickenBondsHelpers/index.ts +23 -23
  28. package/src/helpers/compoundHelpers/index.ts +181 -181
  29. package/src/helpers/curveUsdHelpers/index.ts +40 -40
  30. package/src/helpers/index.ts +7 -7
  31. package/src/helpers/llamaLendHelpers/index.ts +45 -45
  32. package/src/helpers/makerHelpers/index.ts +94 -94
  33. package/src/helpers/morphoBlueHelpers/index.ts +56 -56
  34. package/src/helpers/sparkHelpers/index.ts +106 -106
  35. package/src/index.ts +46 -46
  36. package/src/liquity/index.ts +116 -116
  37. package/src/llamaLend/index.ts +279 -278
  38. package/src/maker/index.ts +117 -117
  39. package/src/markets/aave/index.ts +80 -80
  40. package/src/markets/aave/marketAssets.ts +24 -24
  41. package/src/markets/compound/index.ts +141 -141
  42. package/src/markets/compound/marketsAssets.ts +48 -48
  43. package/src/markets/curveUsd/index.ts +69 -69
  44. package/src/markets/index.ts +5 -5
  45. package/src/markets/llamaLend/index.ts +65 -65
  46. package/src/markets/morphoBlue/index.ts +153 -121
  47. package/src/markets/spark/index.ts +29 -29
  48. package/src/markets/spark/marketAssets.ts +10 -10
  49. package/src/moneymarket/moneymarketCommonService.ts +75 -75
  50. package/src/morphoAaveV2/index.ts +256 -256
  51. package/src/morphoAaveV3/index.ts +619 -619
  52. package/src/morphoBlue/index.ts +177 -177
  53. package/src/multicall/index.ts +22 -22
  54. package/src/services/dsrService.ts +15 -15
  55. package/src/services/priceService.ts +21 -21
  56. package/src/services/utils.ts +51 -51
  57. package/src/setup.ts +8 -8
  58. package/src/spark/index.ts +422 -422
  59. package/src/staking/staking.ts +167 -167
  60. package/src/types/aave.ts +256 -256
  61. package/src/types/chickenBonds.ts +45 -45
  62. package/src/types/common.ts +83 -83
  63. package/src/types/compound.ts +128 -128
  64. package/src/types/curveUsd.ts +118 -118
  65. package/src/types/index.ts +8 -8
  66. package/src/types/liquity.ts +30 -30
  67. package/src/types/llamaLend.ts +119 -119
  68. package/src/types/maker.ts +50 -50
  69. package/src/types/morphoBlue.ts +98 -96
  70. package/src/types/spark.ts +106 -106
  71. package/yarn-error.log +0 -64
@@ -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,119 +1,119 @@
1
- import { AssetDataBase } from '@defisaver/tokens';
2
- import { EthAddress, NetworkNumber } from './common';
3
- import { BandData, UserBandData } from './curveUsd';
4
-
5
- export enum LlamaLendVersions {
6
- 'LlamaLendwstETHcrvUSD' = 'llamaLendwstETHcrvUSD',
7
- 'LlamaLendCRVcrvUSD' = 'llamaLendCRVcrvUSD',
8
- 'LlamaLendcrvUSDCRV' = 'llamaLendcrvUSDCRV',
9
- 'LlamaLendTBTCcrvUSD' = 'llamaLendTBTCcrvUSD',
10
- }
11
-
12
- export enum LlamaLendStatus {
13
- Nonexistant = 'Nonexistant',
14
- Safe = 'Safe',
15
- Risk = 'Risk',
16
- SoftLiquidating = 'SoftLiquidating',
17
- SoftLiquidated = 'SoftLiquidated',
18
- }
19
-
20
- export interface LlamaLendMarketData {
21
- chainIds: NetworkNumber[],
22
- label: string,
23
- shortLabel: string,
24
- value: LlamaLendVersions,
25
- collAsset: string,
26
- baseAsset: string,
27
- controllerAddress: string,
28
- vaultAddress: EthAddress,
29
- url: string,
30
- }
31
- export interface LlamaLendAssetData {
32
- symbol: string,
33
- address: string,
34
- price: string,
35
- supplyRate: string,
36
- borrowRate: string,
37
- totalSupply?: string,
38
- totalBorrow?: string,
39
- canBeSupplied?: boolean,
40
- canBeBorrowed?: boolean,
41
- shares?: string,
42
- }
43
-
44
- export type LlamaLendAssetsData = { [key: string]: LlamaLendAssetData };
45
-
46
- export interface LlamaLendGlobalMarketData {
47
- collateral: string,
48
- decimals: string,
49
- activeBand: string,
50
- totalDebt: string,
51
- ammPrice: string,
52
- basePrice: string,
53
- oraclePrice: string,
54
- minted: string,
55
- redeemed: string,
56
- monetaryPolicyRate: string,
57
- ammRate: string,
58
- minBand: string,
59
- maxBand: string,
60
- debtCeiling: string,
61
- borrowRate: string,
62
- lendRate: string,
63
- futureBorrowRate: string,
64
- leftToBorrow: string,
65
- bands: BandData[],
66
- assetsData: LlamaLendAssetsData,
67
- }
68
-
69
- export interface LlamaLendAggregatedPositionData {
70
- ratio: string,
71
- suppliedUsd: string,
72
- borrowedUsd: string,
73
- suppliedForYieldUsd: string,
74
- safetyRatio: string,
75
- borrowLimitUsd: string,
76
- minAllowedRatio: number,
77
- collFactor: string,
78
- leveragedType: string,
79
- leveragedAsset?: string,
80
- liquidationPrice?: string,
81
- }
82
-
83
- export interface LlamaLendUsedAsset {
84
- isSupplied: boolean,
85
- supplied: string,
86
- suppliedUsd: string,
87
- borrowed: string,
88
- borrowedUsd: string,
89
- isBorrowed: boolean,
90
- symbol: string,
91
- collateral: boolean,
92
- price: string,
93
- interestRate?: string,
94
- suppliedForYield?: string,
95
- suppliedForYieldUsd?: string,
96
- shares?: string,
97
- }
98
-
99
- export interface LlamaLendUsedAssets {
100
- [key: string]: LlamaLendUsedAsset,
101
- }
102
-
103
- export interface LlamaLendUserData {
104
- debtAmount: string,
105
- health: string,
106
- healthPercent: string,
107
- priceHigh: string,
108
- priceLow: string,
109
- liquidationDiscount: string,
110
- numOfBands: string,
111
- usedAssets: LlamaLendUsedAssets,
112
- status: LlamaLendStatus,
113
- ratio: string,
114
- suppliedUsd: string,
115
- borrowedUsd: string,
116
- suppliedForYieldUsd: string,
117
- safetyRatio: string,
118
- userBands: UserBandData[],
119
- }
1
+ import { AssetDataBase } from '@defisaver/tokens';
2
+ import { EthAddress, NetworkNumber } from './common';
3
+ import { BandData, UserBandData } from './curveUsd';
4
+
5
+ export enum LlamaLendVersions {
6
+ 'LlamaLendwstETHcrvUSD' = 'llamaLendwstETHcrvUSD',
7
+ 'LlamaLendCRVcrvUSD' = 'llamaLendCRVcrvUSD',
8
+ 'LlamaLendcrvUSDCRV' = 'llamaLendcrvUSDCRV',
9
+ 'LlamaLendTBTCcrvUSD' = 'llamaLendTBTCcrvUSD',
10
+ }
11
+
12
+ export enum LlamaLendStatus {
13
+ Nonexistant = 'Nonexistant',
14
+ Safe = 'Safe',
15
+ Risk = 'Risk',
16
+ SoftLiquidating = 'SoftLiquidating',
17
+ SoftLiquidated = 'SoftLiquidated',
18
+ }
19
+
20
+ export interface LlamaLendMarketData {
21
+ chainIds: NetworkNumber[],
22
+ label: string,
23
+ shortLabel: string,
24
+ value: LlamaLendVersions,
25
+ collAsset: string,
26
+ baseAsset: string,
27
+ controllerAddress: string,
28
+ vaultAddress: EthAddress,
29
+ url: string,
30
+ }
31
+ export interface LlamaLendAssetData {
32
+ symbol: string,
33
+ address: string,
34
+ price: string,
35
+ supplyRate: string,
36
+ borrowRate: string,
37
+ totalSupply?: string,
38
+ totalBorrow?: string,
39
+ canBeSupplied?: boolean,
40
+ canBeBorrowed?: boolean,
41
+ shares?: string,
42
+ }
43
+
44
+ export type LlamaLendAssetsData = { [key: string]: LlamaLendAssetData };
45
+
46
+ export interface LlamaLendGlobalMarketData {
47
+ collateral: string,
48
+ decimals: string,
49
+ activeBand: string,
50
+ totalDebt: string,
51
+ ammPrice: string,
52
+ basePrice: string,
53
+ oraclePrice: string,
54
+ minted: string,
55
+ redeemed: string,
56
+ monetaryPolicyRate: string,
57
+ ammRate: string,
58
+ minBand: string,
59
+ maxBand: string,
60
+ debtCeiling: string,
61
+ borrowRate: string,
62
+ lendRate: string,
63
+ futureBorrowRate: string,
64
+ leftToBorrow: string,
65
+ bands: BandData[],
66
+ assetsData: LlamaLendAssetsData,
67
+ }
68
+
69
+ export interface LlamaLendAggregatedPositionData {
70
+ ratio: string,
71
+ suppliedUsd: string,
72
+ borrowedUsd: string,
73
+ suppliedForYieldUsd: string,
74
+ safetyRatio: string,
75
+ borrowLimitUsd: string,
76
+ minAllowedRatio: number,
77
+ collFactor: string,
78
+ leveragedType: string,
79
+ leveragedAsset?: string,
80
+ liquidationPrice?: string,
81
+ }
82
+
83
+ export interface LlamaLendUsedAsset {
84
+ isSupplied: boolean,
85
+ supplied: string,
86
+ suppliedUsd: string,
87
+ borrowed: string,
88
+ borrowedUsd: string,
89
+ isBorrowed: boolean,
90
+ symbol: string,
91
+ collateral: boolean,
92
+ price: string,
93
+ interestRate?: string,
94
+ suppliedForYield?: string,
95
+ suppliedForYieldUsd?: string,
96
+ shares?: string,
97
+ }
98
+
99
+ export interface LlamaLendUsedAssets {
100
+ [key: string]: LlamaLendUsedAsset,
101
+ }
102
+
103
+ export interface LlamaLendUserData {
104
+ debtAmount: string,
105
+ health: string,
106
+ healthPercent: string,
107
+ priceHigh: string,
108
+ priceLow: string,
109
+ liquidationDiscount: string,
110
+ numOfBands: string,
111
+ usedAssets: LlamaLendUsedAssets,
112
+ status: LlamaLendStatus,
113
+ ratio: string,
114
+ suppliedUsd: string,
115
+ borrowedUsd: string,
116
+ suppliedForYieldUsd: string,
117
+ safetyRatio: string,
118
+ userBands: UserBandData[],
119
+ }
@@ -1,51 +1,51 @@
1
- import { EthAddress } from './common';
2
-
3
- export interface IlkInfo {
4
- ilkLabel: string;
5
- currentRate: string;
6
- futureRate: string;
7
- minDebt: string;
8
- globalDebtCeiling: string;
9
- globalDebtCurrent: string;
10
- assetPrice: string;
11
- liqRatio: string;
12
- liqPercent: number;
13
- stabilityFee: number;
14
- liquidationFee: string;
15
- creatableDebt: string;
16
- }
17
-
18
- export interface CdpData {
19
- owner: EthAddress,
20
- userAddress: EthAddress,
21
- id: string,
22
- urn: EthAddress,
23
- type: string,
24
- ilk: string,
25
- ilkLabel: string,
26
- asset: string,
27
- collateral: string,
28
- collateralUsd: string,
29
- futureDebt: string,
30
- debtDai: string,
31
- debtUsd: string,
32
- debtInAsset: string,
33
- debtAssetPrice: string,
34
- debtAssetMarketPrice: string,
35
- liquidationPrice: string,
36
- ratio: string,
37
- liqRatio: string,
38
- liqPercent: number,
39
- assetPrice: string,
40
- daiLabel: string,
41
- debtAsset: string,
42
- unclaimedCollateral: string,
43
- debtTooLow: boolean,
44
- minDebt: string,
45
- stabilityFee: number,
46
- creatableDebt: string,
47
- globalDebtCeiling: string,
48
- globalDebtCurrent: string,
49
- liquidationFee: string,
50
- lastUpdated: number,
1
+ import { EthAddress } from './common';
2
+
3
+ export interface IlkInfo {
4
+ ilkLabel: string;
5
+ currentRate: string;
6
+ futureRate: string;
7
+ minDebt: string;
8
+ globalDebtCeiling: string;
9
+ globalDebtCurrent: string;
10
+ assetPrice: string;
11
+ liqRatio: string;
12
+ liqPercent: number;
13
+ stabilityFee: number;
14
+ liquidationFee: string;
15
+ creatableDebt: string;
16
+ }
17
+
18
+ export interface CdpData {
19
+ owner: EthAddress,
20
+ userAddress: EthAddress,
21
+ id: string,
22
+ urn: EthAddress,
23
+ type: string,
24
+ ilk: string,
25
+ ilkLabel: string,
26
+ asset: string,
27
+ collateral: string,
28
+ collateralUsd: string,
29
+ futureDebt: string,
30
+ debtDai: string,
31
+ debtUsd: string,
32
+ debtInAsset: string,
33
+ debtAssetPrice: string,
34
+ debtAssetMarketPrice: string,
35
+ liquidationPrice: string,
36
+ ratio: string,
37
+ liqRatio: string,
38
+ liqPercent: number,
39
+ assetPrice: string,
40
+ daiLabel: string,
41
+ debtAsset: string,
42
+ unclaimedCollateral: string,
43
+ debtTooLow: boolean,
44
+ minDebt: string,
45
+ stabilityFee: number,
46
+ creatableDebt: string,
47
+ globalDebtCeiling: string,
48
+ globalDebtCurrent: string,
49
+ liquidationFee: string,
50
+ lastUpdated: number,
51
51
  }
@@ -1,96 +1,98 @@
1
- import { MMUsedAssets, NetworkNumber } from './common';
2
-
3
- export enum MorphoBlueVersions {
4
- MorphoBlueWstEthEth = 'morphobluewstetheth',
5
- MorphoBlueWstEthUSDC = 'morphobluewstethusdc',
6
- MorphoBlueSDAIUSDC = 'morphobluesdaiusdc',
7
- MorphoBlueWBTCUSDC = 'morphobluewbtcusdc',
8
- MorphoBlueEthUSDC = 'morphoblueethusdc',
9
- MorphoBlueWBTCUSDT = 'morphobluewbtcusdt',
10
- MorphoBlueWstEthUSDT = 'morphobluewstethusdt',
11
- }
12
-
13
- export interface MorphoBlueMarketData {
14
- chainIds: NetworkNumber[],
15
- label: string,
16
- shortLabel: string,
17
- url: string,
18
- value: MorphoBlueVersions,
19
- loanToken: string,
20
- collateralToken: string,
21
- oracle: string,
22
- irm: string,
23
- lltv: number | string,
24
- marketId: string,
25
- // icon: Function,
26
- protocolName: string,
27
- }
28
-
29
- export interface MorphoBlueAssetData {
30
- symbol: string,
31
- address: string,
32
- price: string,
33
- supplyRate: string,
34
- borrowRate: string,
35
- incentiveSupplyApy?: string,
36
- incentiveSupplyToken?: string,
37
- totalSupply?: string,
38
- totalBorrow?: string,
39
- canBeSupplied?: boolean,
40
- canBeBorrowed?: boolean,
41
- }
42
-
43
- export type MorphoBlueAssetsData = { [key: string]: MorphoBlueAssetData };
44
-
45
- export interface MorphoBlueMarketInfo {
46
- id: string,
47
- fee: string,
48
- loanToken: string,
49
- collateralToken: string,
50
- utillization: string,
51
- oracle: string,
52
- lltv: string,
53
- minRatio: string,
54
- assetsData: MorphoBlueAssetsData,
55
- }
56
-
57
- export interface MorphoBlueAggregatedPositionData {
58
- suppliedUsd: string,
59
- suppliedCollateralUsd: string,
60
- borrowedUsd: string,
61
- borrowLimitUsd: string,
62
- liquidationLimitUsd: string,
63
- leftToBorrowUsd: string,
64
- leftToBorrow: string,
65
- netApy: string,
66
- incentiveUsd: string,
67
- totalInterestUsd: string,
68
- ltv: string,
69
- ratio: string,
70
- leveragedType: string,
71
- leveragedAsset?: string,
72
- leveragedLsdAssetRatio?: string,
73
- liquidationPrice?: string,
74
- }
75
-
76
- export interface MorphoBluePositionData {
77
- usedAssets: MMUsedAssets,
78
- suppliedUsd: string,
79
- suppliedCollateralUsd: string,
80
- borrowedUsd: string,
81
- borrowLimitUsd: string,
82
- liquidationLimitUsd: string,
83
- leftToBorrowUsd: string,
84
- leftToBorrow: string,
85
- netApy: string,
86
- incentiveUsd: string,
87
- totalInterestUsd: string,
88
- ltv: string,
89
- ratio: string,
90
- leveragedType: string,
91
- leveragedAsset?: string,
92
- leveragedLsdAssetRatio?: string,
93
- liquidationPrice?: string,
94
- supplyShares: string,
95
- borrowShares: string,
96
- }
1
+ import { MMUsedAssets, NetworkNumber } from './common';
2
+
3
+ export enum MorphoBlueVersions {
4
+ MorphoBlueWstEthEth = 'morphobluewstetheth',
5
+ MorphoBlueWstEthUSDC = 'morphobluewstethusdc',
6
+ MorphoBlueSDAIUSDC = 'morphobluesdaiusdc',
7
+ MorphoBlueWBTCUSDC = 'morphobluewbtcusdc',
8
+ MorphoBlueEthUSDC = 'morphoblueethusdc',
9
+ MorphoBlueWBTCUSDT = 'morphobluewbtcusdt',
10
+ MorphoBlueWstEthUSDT = 'morphobluewstethusdt',
11
+ MorphoBlueSUSDeDAI = 'morphobluesusdedai',
12
+ MorphoBlueUSDeDAI = 'morphoblueusdedai',
13
+ }
14
+
15
+ export interface MorphoBlueMarketData {
16
+ chainIds: NetworkNumber[],
17
+ label: string,
18
+ shortLabel: string,
19
+ url: string,
20
+ value: MorphoBlueVersions,
21
+ loanToken: string,
22
+ collateralToken: string,
23
+ oracle: string,
24
+ irm: string,
25
+ lltv: number | string,
26
+ marketId: string,
27
+ // icon: Function,
28
+ protocolName: string,
29
+ }
30
+
31
+ export interface MorphoBlueAssetData {
32
+ symbol: string,
33
+ address: string,
34
+ price: string,
35
+ supplyRate: string,
36
+ borrowRate: string,
37
+ incentiveSupplyApy?: string,
38
+ incentiveSupplyToken?: string,
39
+ totalSupply?: string,
40
+ totalBorrow?: string,
41
+ canBeSupplied?: boolean,
42
+ canBeBorrowed?: boolean,
43
+ }
44
+
45
+ export type MorphoBlueAssetsData = { [key: string]: MorphoBlueAssetData };
46
+
47
+ export interface MorphoBlueMarketInfo {
48
+ id: string,
49
+ fee: string,
50
+ loanToken: string,
51
+ collateralToken: string,
52
+ utillization: string,
53
+ oracle: string,
54
+ lltv: string,
55
+ minRatio: string,
56
+ assetsData: MorphoBlueAssetsData,
57
+ }
58
+
59
+ export interface MorphoBlueAggregatedPositionData {
60
+ suppliedUsd: string,
61
+ suppliedCollateralUsd: string,
62
+ borrowedUsd: string,
63
+ borrowLimitUsd: string,
64
+ liquidationLimitUsd: string,
65
+ leftToBorrowUsd: string,
66
+ leftToBorrow: string,
67
+ netApy: string,
68
+ incentiveUsd: string,
69
+ totalInterestUsd: string,
70
+ ltv: string,
71
+ ratio: string,
72
+ leveragedType: string,
73
+ leveragedAsset?: string,
74
+ leveragedLsdAssetRatio?: string,
75
+ liquidationPrice?: string,
76
+ }
77
+
78
+ export interface MorphoBluePositionData {
79
+ usedAssets: MMUsedAssets,
80
+ suppliedUsd: string,
81
+ suppliedCollateralUsd: string,
82
+ borrowedUsd: string,
83
+ borrowLimitUsd: string,
84
+ liquidationLimitUsd: string,
85
+ leftToBorrowUsd: string,
86
+ leftToBorrow: string,
87
+ netApy: string,
88
+ incentiveUsd: string,
89
+ totalInterestUsd: string,
90
+ ltv: string,
91
+ ratio: string,
92
+ leveragedType: string,
93
+ leveragedAsset?: string,
94
+ leveragedLsdAssetRatio?: string,
95
+ liquidationPrice?: string,
96
+ supplyShares: string,
97
+ borrowShares: string,
98
+ }