@defisaver/positions-sdk 2.1.11 → 2.1.13-dev-plasma-fluid

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 (114) hide show
  1. package/.mocharc.json +4 -4
  2. package/.nvmrc +1 -1
  3. package/CLAUDE.md +32 -0
  4. package/README.md +64 -64
  5. package/cjs/aaveV3/index.js +1 -1
  6. package/cjs/config/contracts.d.ts +12 -0
  7. package/cjs/config/contracts.js +7 -3
  8. package/cjs/contracts.d.ts +100947 -134653
  9. package/cjs/fluid/index.js +44 -23
  10. package/cjs/helpers/morphoBlueHelpers/index.js +66 -66
  11. package/cjs/markets/aave/marketAssets.js +1 -1
  12. package/cjs/markets/fluid/index.d.ts +46 -0
  13. package/cjs/markets/fluid/index.js +436 -1
  14. package/cjs/services/priceService.js +1 -1
  15. package/cjs/services/viem.d.ts +2 -3254
  16. package/cjs/staking/staking.d.ts +1 -1
  17. package/cjs/staking/staking.js +17 -14
  18. package/cjs/types/fluid.d.ts +30 -1
  19. package/cjs/types/fluid.js +31 -1
  20. package/esm/aaveV3/index.js +1 -1
  21. package/esm/config/contracts.d.ts +12 -0
  22. package/esm/config/contracts.js +7 -3
  23. package/esm/contracts.d.ts +100947 -134653
  24. package/esm/fluid/index.js +45 -24
  25. package/esm/helpers/morphoBlueHelpers/index.js +66 -66
  26. package/esm/markets/aave/marketAssets.js +1 -1
  27. package/esm/markets/fluid/index.d.ts +46 -0
  28. package/esm/markets/fluid/index.js +415 -1
  29. package/esm/services/priceService.js +2 -2
  30. package/esm/services/viem.d.ts +2 -3254
  31. package/esm/staking/staking.d.ts +1 -1
  32. package/esm/staking/staking.js +17 -14
  33. package/esm/types/fluid.d.ts +30 -1
  34. package/esm/types/fluid.js +30 -0
  35. package/package.json +47 -47
  36. package/src/aaveV2/index.ts +240 -240
  37. package/src/aaveV3/index.ts +614 -614
  38. package/src/aaveV3/merit.ts +97 -97
  39. package/src/aaveV3/merkl.ts +74 -74
  40. package/src/claiming/aaveV3.ts +154 -154
  41. package/src/claiming/compV3.ts +22 -22
  42. package/src/claiming/index.ts +12 -12
  43. package/src/claiming/king.ts +66 -66
  44. package/src/claiming/morphoBlue.ts +118 -118
  45. package/src/claiming/spark.ts +225 -225
  46. package/src/compoundV2/index.ts +244 -244
  47. package/src/compoundV3/index.ts +274 -274
  48. package/src/config/contracts.ts +1255 -1251
  49. package/src/constants/index.ts +10 -10
  50. package/src/contracts.ts +120 -120
  51. package/src/curveUsd/index.ts +254 -254
  52. package/src/eulerV2/index.ts +324 -324
  53. package/src/exchange/index.ts +25 -25
  54. package/src/fluid/index.ts +1694 -1668
  55. package/src/helpers/aaveHelpers/index.ts +187 -187
  56. package/src/helpers/compoundHelpers/index.ts +283 -283
  57. package/src/helpers/curveUsdHelpers/index.ts +40 -40
  58. package/src/helpers/eulerHelpers/index.ts +222 -222
  59. package/src/helpers/fluidHelpers/index.ts +326 -326
  60. package/src/helpers/index.ts +10 -10
  61. package/src/helpers/liquityV2Helpers/index.ts +82 -82
  62. package/src/helpers/llamaLendHelpers/index.ts +53 -53
  63. package/src/helpers/makerHelpers/index.ts +52 -52
  64. package/src/helpers/morphoBlueHelpers/index.ts +396 -396
  65. package/src/helpers/sparkHelpers/index.ts +158 -158
  66. package/src/index.ts +47 -47
  67. package/src/liquity/index.ts +159 -159
  68. package/src/liquityV2/index.ts +657 -657
  69. package/src/llamaLend/index.ts +305 -305
  70. package/src/maker/index.ts +223 -223
  71. package/src/markets/aave/index.ts +116 -116
  72. package/src/markets/aave/marketAssets.ts +54 -54
  73. package/src/markets/compound/index.ts +238 -238
  74. package/src/markets/compound/marketsAssets.ts +97 -97
  75. package/src/markets/curveUsd/index.ts +69 -69
  76. package/src/markets/euler/index.ts +26 -26
  77. package/src/markets/fluid/index.ts +2900 -2460
  78. package/src/markets/index.ts +25 -25
  79. package/src/markets/liquityV2/index.ts +102 -102
  80. package/src/markets/llamaLend/contractAddresses.ts +141 -141
  81. package/src/markets/llamaLend/index.ts +235 -235
  82. package/src/markets/morphoBlue/index.ts +895 -895
  83. package/src/markets/spark/index.ts +29 -29
  84. package/src/markets/spark/marketAssets.ts +12 -12
  85. package/src/moneymarket/moneymarketCommonService.ts +80 -80
  86. package/src/morphoBlue/index.ts +274 -274
  87. package/src/portfolio/index.ts +570 -570
  88. package/src/services/priceService.ts +159 -159
  89. package/src/services/utils.ts +115 -115
  90. package/src/services/viem.ts +34 -34
  91. package/src/setup.ts +8 -8
  92. package/src/spark/index.ts +456 -456
  93. package/src/staking/eligibility.ts +53 -53
  94. package/src/staking/index.ts +1 -1
  95. package/src/staking/staking.ts +177 -172
  96. package/src/types/aave.ts +189 -189
  97. package/src/types/claiming.ts +109 -109
  98. package/src/types/common.ts +107 -107
  99. package/src/types/compound.ts +136 -136
  100. package/src/types/curveUsd.ts +123 -123
  101. package/src/types/euler.ts +175 -175
  102. package/src/types/fluid.ts +483 -452
  103. package/src/types/index.ts +13 -13
  104. package/src/types/liquity.ts +30 -30
  105. package/src/types/liquityV2.ts +126 -126
  106. package/src/types/llamaLend.ts +159 -159
  107. package/src/types/maker.ts +63 -63
  108. package/src/types/merit.ts +1 -1
  109. package/src/types/merkl.ts +70 -70
  110. package/src/types/morphoBlue.ts +194 -194
  111. package/src/types/portfolio.ts +60 -60
  112. package/src/types/spark.ts +133 -133
  113. package/src/umbrella/index.ts +69 -69
  114. package/src/umbrella/umbrellaUtils.ts +29 -29
@@ -72,7 +72,7 @@ const getChainLinkPricesForTokens = (tokens, network, client) => __awaiter(void
72
72
  const chainLinkFeedAddress = (0, priceService_1.getChainlinkAssetAddress)(assetInfo.symbol, network);
73
73
  if (assetInfo.symbol === 'wstETH')
74
74
  return (0, priceService_1.getWstETHChainLinkPriceCalls)(client, network);
75
- if (assetInfo.symbol === 'weETH')
75
+ if (assetInfo.symbol === 'weETH' && network !== common_1.NetworkNumber.Plasma)
76
76
  return (0, priceService_1.getWeETHChainLinkPriceCalls)(client, network);
77
77
  if (isMainnet) {
78
78
  const feedRegistryContract = (0, contracts_1.FeedRegistryContractViem)(client, common_1.NetworkNumber.Eth);
@@ -98,7 +98,7 @@ const getChainLinkPricesForTokens = (tokens, network, client) => __awaiter(void
98
98
  const btcPriceChainlink = new decimal_js_1.default(results[1].result).div(1e8).toString();
99
99
  let offset = 2; // wstETH and weETH has 3 calls, while others have only 1, so we need to keep track. First 2 are static calls for eth and btc prices
100
100
  return noDuplicateTokens.reduce((acc, token, i) => {
101
- var _a;
101
+ var _a, _b;
102
102
  const assetInfo = (0, tokens_1.getAssetInfoByAddress)(token, network);
103
103
  switch (assetInfo.symbol) {
104
104
  case 'USDA':
@@ -134,16 +134,31 @@ const getChainLinkPricesForTokens = (tokens, network, client) => __awaiter(void
134
134
  break;
135
135
  }
136
136
  case 'weETH': {
137
- const { ethPrice, weETHRate, } = (0, priceService_1.parseWeETHPriceCalls)(results[i + offset].result.toString(),
138
- // @ts-ignore
139
- results[i + offset + 1].result[1].toString(), results[i + offset + 2].result.toString());
140
- offset += 2;
141
- acc[token] = new decimal_js_1.default(ethPrice).mul(weETHRate).toString();
137
+ if (network !== common_1.NetworkNumber.Plasma) {
138
+ const { ethPrice, weETHRate, } = (0, priceService_1.parseWeETHPriceCalls)(results[i + offset].result.toString(),
139
+ // @ts-ignore
140
+ results[i + offset + 1].result[1].toString(), results[i + offset + 2].result.toString());
141
+ offset += 2;
142
+ acc[token] = new decimal_js_1.default(ethPrice).mul(weETHRate).toString();
143
+ // @ts-ignore
144
+ }
145
+ else if ((_a = results[i + offset].result) === null || _a === void 0 ? void 0 : _a[1]) {
146
+ // For Plasma, use default chainlink feed (latestRoundData format)
147
+ // @ts-ignore
148
+ acc[token] = new decimal_js_1.default(results[i + offset].result[1].toString()).div(1e8).toString();
149
+ }
150
+ else if (results[i + offset].result) {
151
+ // For Plasma, use default chainlink feed (latestAnswer format)
152
+ acc[token] = new decimal_js_1.default(results[i + offset].result.toString()).div(1e8).toString();
153
+ }
154
+ else {
155
+ acc[token] = '0';
156
+ }
142
157
  break;
143
158
  }
144
159
  default:
145
160
  // @ts-ignore
146
- if ((_a = results[i + offset].result) === null || _a === void 0 ? void 0 : _a[1]) {
161
+ if ((_b = results[i + offset].result) === null || _b === void 0 ? void 0 : _b[1]) {
147
162
  // @ts-ignore
148
163
  acc[token] = new decimal_js_1.default(results[i + offset].result[1].toString()).div(1e8).toString();
149
164
  }
@@ -176,8 +191,14 @@ const getTokenPriceFromChainlink = (asset, network, provider) => __awaiter(void
176
191
  else {
177
192
  // Currently only base network is supported
178
193
  const feedRegistryContract = (0, contracts_1.DFSFeedRegistryContractViem)(provider, network);
179
- const roundPriceData = isTokenUSDA ? [0, '100000000'] : yield feedRegistryContract.read.latestRoundData([loanTokenFeedAddress, constants_1.USD_QUOTE]);
180
- loanTokenPrice = roundPriceData[1].toString();
194
+ try {
195
+ const roundPriceData = isTokenUSDA ? [0, '100000000'] : yield feedRegistryContract.read.latestRoundData([loanTokenFeedAddress, constants_1.USD_QUOTE]);
196
+ loanTokenPrice = roundPriceData[1].toString();
197
+ }
198
+ catch (err) {
199
+ console.error(`Error fetching price for ${asset.symbol} on ${network}: ${err}`);
200
+ loanTokenPrice = '0';
201
+ }
181
202
  }
182
203
  return new decimal_js_1.default(loanTokenPrice).div(1e8).toString();
183
204
  });
@@ -214,8 +235,8 @@ const getTradingApy = (poolAddress) => __awaiter(void 0, void 0, void 0, functio
214
235
  });
215
236
  const parseT1MarketData = (provider_1, data_1, network_1, ...args_1) => __awaiter(void 0, [provider_1, data_1, network_1, ...args_1], void 0, function* (provider, data, network, tokenPrices = null) {
216
237
  var _a, _b;
217
- const collAsset = (0, tokens_1.getAssetInfoByAddress)(data.supplyToken0, network);
218
- const debtAsset = (0, tokens_1.getAssetInfoByAddress)(data.borrowToken0, network);
238
+ const collAsset = (0, tokens_1.getAssetInfo)((0, utils_1.getNativeAssetFromWrapped)((0, tokens_1.getAssetInfoByAddress)(data.supplyToken0, network).symbol), network);
239
+ const debtAsset = (0, tokens_1.getAssetInfo)((0, utils_1.getNativeAssetFromWrapped)((0, tokens_1.getAssetInfoByAddress)(data.borrowToken0, network).symbol), network);
219
240
  const supplyRate = new decimal_js_1.default(data.supplyRateVault).div(100).toString();
220
241
  const borrowRate = new decimal_js_1.default(data.borrowRateVault).div(100).toString();
221
242
  const oracleScaleFactor = new decimal_js_1.default(27).add(debtAsset.decimals).sub(collAsset.decimals).toString();
@@ -324,9 +345,9 @@ const parseT1MarketData = (provider_1, data_1, network_1, ...args_1) => __awaite
324
345
  });
325
346
  const parseT2MarketData = (provider_1, data_1, network_1, ...args_1) => __awaiter(void 0, [provider_1, data_1, network_1, ...args_1], void 0, function* (provider, data, network, tokenPrices = null) {
326
347
  var _a, _b, _c;
327
- const collAsset0 = (0, tokens_1.getAssetInfoByAddress)(data.supplyToken0, network);
328
- const collAsset1 = (0, tokens_1.getAssetInfoByAddress)(data.supplyToken1, network);
329
- const debtAsset = (0, tokens_1.getAssetInfoByAddress)(data.borrowToken0, network);
348
+ const collAsset0 = (0, tokens_1.getAssetInfo)((0, utils_1.getNativeAssetFromWrapped)((0, tokens_1.getAssetInfoByAddress)(data.supplyToken0, network).symbol), network);
349
+ const collAsset1 = (0, tokens_1.getAssetInfo)((0, utils_1.getNativeAssetFromWrapped)((0, tokens_1.getAssetInfoByAddress)(data.supplyToken1, network).symbol), network);
350
+ const debtAsset = (0, tokens_1.getAssetInfo)((0, utils_1.getNativeAssetFromWrapped)((0, tokens_1.getAssetInfoByAddress)(data.borrowToken0, network).symbol), network);
330
351
  // 18 because collateral is represented in shares for which they use 18 decimals
331
352
  const oracleScaleFactor = new decimal_js_1.default(27).add(debtAsset.decimals).sub(18).toString();
332
353
  const oracleScale = new decimal_js_1.default(10).pow(oracleScaleFactor).toString();
@@ -477,9 +498,9 @@ const parseT2MarketData = (provider_1, data_1, network_1, ...args_1) => __awaite
477
498
  });
478
499
  const parseT3MarketData = (provider_1, data_1, network_1, ...args_1) => __awaiter(void 0, [provider_1, data_1, network_1, ...args_1], void 0, function* (provider, data, network, tokenPrices = null) {
479
500
  var _a, _b, _c, _d;
480
- const collAsset = (0, tokens_1.getAssetInfoByAddress)(data.supplyToken0, network);
481
- const debtAsset0 = (0, tokens_1.getAssetInfoByAddress)(data.borrowToken0, network);
482
- const debtAsset1 = (0, tokens_1.getAssetInfoByAddress)(data.borrowToken1, network);
501
+ const collAsset = (0, tokens_1.getAssetInfo)((0, utils_1.getNativeAssetFromWrapped)((0, tokens_1.getAssetInfoByAddress)(data.supplyToken0, network).symbol), network);
502
+ const debtAsset0 = (0, tokens_1.getAssetInfo)((0, utils_1.getNativeAssetFromWrapped)((0, tokens_1.getAssetInfoByAddress)(data.borrowToken0, network).symbol), network);
503
+ const debtAsset1 = (0, tokens_1.getAssetInfo)((0, utils_1.getNativeAssetFromWrapped)((0, tokens_1.getAssetInfoByAddress)(data.borrowToken1, network).symbol), network);
483
504
  const { borrowableShares, maxBorrowShares, borrowDexFee, utilizationBorrow0, utilizationBorrow1, borrowable0, borrowable1, borrowRate0, borrowRate1, totalBorrowShares, token0PerBorrowShare, token1PerBorrowShare, borrowableToken0, borrowableToken1, totalBorrowToken0, totalBorrowToken1, reservesBorrowToken0, reservesBorrowToken1, } = (0, fluidHelpers_1.parseDexBorrowData)(data.dexBorrowData, debtAsset0.symbol, debtAsset1.symbol);
484
505
  // 18 because debt is represented in shares for which they use 18 decimals
485
506
  const oracleScaleFactor = new decimal_js_1.default(27).add(18).sub(collAsset.decimals).toString();
@@ -626,10 +647,10 @@ const parseT3MarketData = (provider_1, data_1, network_1, ...args_1) => __awaite
626
647
  });
627
648
  const parseT4MarketData = (provider_1, data_1, network_1, ...args_1) => __awaiter(void 0, [provider_1, data_1, network_1, ...args_1], void 0, function* (provider, data, network, tokenPrices = null) {
628
649
  var _a, _b, _c, _d;
629
- const collAsset0 = (0, tokens_1.getAssetInfoByAddress)(data.supplyToken0, network);
630
- const collAsset1 = (0, tokens_1.getAssetInfoByAddress)(data.supplyToken1, network);
631
- const debtAsset0 = (0, tokens_1.getAssetInfoByAddress)(data.borrowToken0, network);
632
- const debtAsset1 = (0, tokens_1.getAssetInfoByAddress)(data.borrowToken1, network);
650
+ const collAsset0 = (0, tokens_1.getAssetInfo)((0, utils_1.getNativeAssetFromWrapped)((0, tokens_1.getAssetInfoByAddress)(data.supplyToken0, network).symbol), network);
651
+ const collAsset1 = (0, tokens_1.getAssetInfo)((0, utils_1.getNativeAssetFromWrapped)((0, tokens_1.getAssetInfoByAddress)(data.supplyToken1, network).symbol), network);
652
+ const debtAsset0 = (0, tokens_1.getAssetInfo)((0, utils_1.getNativeAssetFromWrapped)((0, tokens_1.getAssetInfoByAddress)(data.borrowToken0, network).symbol), network);
653
+ const debtAsset1 = (0, tokens_1.getAssetInfo)((0, utils_1.getNativeAssetFromWrapped)((0, tokens_1.getAssetInfoByAddress)(data.borrowToken1, network).symbol), network);
633
654
  const quoteToken = (0, tokens_1.getAssetInfoByAddress)(data.dexBorrowData.quoteToken, network);
634
655
  // 27 - 18 + 18
635
656
  const oracleScaleFactor = new decimal_js_1.default(27).toString();
@@ -1194,7 +1215,7 @@ const getTokenPricePortfolio = (token, provider, network) => __awaiter(void 0, v
1194
1215
  if (token === 'wstETH') {
1195
1216
  return (0, priceService_1.getWstETHPrice)(provider, network);
1196
1217
  }
1197
- if (token === 'weETH') {
1218
+ if (token === 'weETH' && network !== common_1.NetworkNumber.Plasma) {
1198
1219
  return (0, priceService_1.getWeETHPrice)(provider, network);
1199
1220
  }
1200
1221
  const isMainnet = (0, utils_1.isMainnetNetwork)(network);
@@ -128,73 +128,73 @@ const getApyAfterValuesEstimation = (selectedMarket, actions, provider, network)
128
128
  });
129
129
  exports.getApyAfterValuesEstimation = getApyAfterValuesEstimation;
130
130
  const API_URL = 'https://blue-api.morpho.org/graphql';
131
- const MARKET_QUERY = `
132
- query MarketByUniqueKey($uniqueKey: String!, $chainId: Int!) {
133
- marketByUniqueKey(uniqueKey: $uniqueKey, chainId: $chainId) {
134
- reallocatableLiquidityAssets
135
- targetBorrowUtilization
136
- loanAsset {
137
- address
138
- decimals
139
- priceUsd
140
- }
141
- state {
142
- liquidityAssets
143
- borrowAssets
144
- supplyAssets
145
- }
146
- publicAllocatorSharedLiquidity {
147
- assets
148
- vault {
149
- address
150
- name
151
- }
152
- allocationMarket {
153
- uniqueKey
154
- loanAsset {
155
- address
156
- }
157
- collateralAsset {
158
- address
159
- }
160
- irmAddress
161
- oracle {
162
- address
163
- }
164
- lltv
165
- }
166
- }
167
- loanAsset {
168
- address
169
- }
170
- collateralAsset {
171
- address
172
- }
173
- oracle {
174
- address
175
- }
176
- irmAddress
177
- lltv
178
- }
179
- }
131
+ const MARKET_QUERY = `
132
+ query MarketByUniqueKey($uniqueKey: String!, $chainId: Int!) {
133
+ marketByUniqueKey(uniqueKey: $uniqueKey, chainId: $chainId) {
134
+ reallocatableLiquidityAssets
135
+ targetBorrowUtilization
136
+ loanAsset {
137
+ address
138
+ decimals
139
+ priceUsd
140
+ }
141
+ state {
142
+ liquidityAssets
143
+ borrowAssets
144
+ supplyAssets
145
+ }
146
+ publicAllocatorSharedLiquidity {
147
+ assets
148
+ vault {
149
+ address
150
+ name
151
+ }
152
+ allocationMarket {
153
+ uniqueKey
154
+ loanAsset {
155
+ address
156
+ }
157
+ collateralAsset {
158
+ address
159
+ }
160
+ irmAddress
161
+ oracle {
162
+ address
163
+ }
164
+ lltv
165
+ }
166
+ }
167
+ loanAsset {
168
+ address
169
+ }
170
+ collateralAsset {
171
+ address
172
+ }
173
+ oracle {
174
+ address
175
+ }
176
+ irmAddress
177
+ lltv
178
+ }
179
+ }
180
180
  `;
181
- const REWARDS_QUERY = `
182
- query MarketByUniqueKey($uniqueKey: String!, $chainId: Int!) {
183
- marketByUniqueKey(uniqueKey: $uniqueKey, chainId: $chainId) {
184
- uniqueKey
185
- state {
186
- rewards {
187
- amountPerSuppliedToken
188
- supplyApr
189
- amountPerBorrowedToken
190
- borrowApr
191
- asset {
192
- address
193
- }
194
- }
195
- }
196
- }
197
- }
181
+ const REWARDS_QUERY = `
182
+ query MarketByUniqueKey($uniqueKey: String!, $chainId: Int!) {
183
+ marketByUniqueKey(uniqueKey: $uniqueKey, chainId: $chainId) {
184
+ uniqueKey
185
+ state {
186
+ rewards {
187
+ amountPerSuppliedToken
188
+ supplyApr
189
+ amountPerBorrowedToken
190
+ borrowApr
191
+ asset {
192
+ address
193
+ }
194
+ }
195
+ }
196
+ }
197
+ }
198
198
  `;
199
199
  /**
200
200
  * Get reallocatable liquidity to a given market and target borrow utilization
@@ -18,7 +18,7 @@ exports.aaveV3AssetsDefaultMarketOpt = [
18
18
  exports.aaveV3AssetsDefaultMarketArb = ['DAI', 'LINK', 'USDC.e', 'WBTC', 'ETH', 'USDT', 'AAVE', 'EURS', 'wstETH', 'MAI', 'rETH', 'LUSD', 'USDC', 'FRAX', 'ARB', 'weETH', 'GHO', 'ezETH', 'rsETH', 'tBTC'];
19
19
  exports.aaveV3AssetsDefaultMarketBase = ['ETH', 'cbETH', 'USDbC', 'wstETH', 'USDC', 'weETH', 'cbBTC', 'ezETH', 'GHO', 'wrsETH', 'LBTC', 'EURC', 'AAVE', 'tBTC'];
20
20
  exports.aaveV3AssetsDefaultMarketLinea = ['ETH', 'USDC', 'weETH', 'ezETH', 'USDT', 'wstETH', 'wrsETH', 'WBTC'];
21
- exports.aaveV3AssetsDefaultMarketPlasma = ['ETH', 'USDT', 'sUSDe', 'USDe', 'weETH', 'XAUt', 'PT USDe Jan', 'PT sUSDe Jan', 'wrsETH', 'wstETH'];
21
+ exports.aaveV3AssetsDefaultMarketPlasma = ['ETH', 'USDT', 'sUSDe', 'USDe', 'weETH', 'XAUt', 'PT USDe Jan', 'PT sUSDe Jan', 'wrsETH', 'wstETH', 'syrupUSDT'];
22
22
  // @dev Keep assets in array, do not assign directly, so we can parse it and edit it programmatically with `scripts/updateMarkets`
23
23
  exports.aaveV3AssetsDefaultMarket = {
24
24
  [common_1.NetworkNumber.Eth]: exports.aaveV3AssetsDefaultMarketEth,
@@ -116,6 +116,27 @@ export declare const FLUID_WSTETH_SUSDS_18_BASE: (networkId?: NetworkNumber) =>
116
116
  export declare const FLUID_CBBTC_SUSDS_19_BASE: (networkId?: NetworkNumber) => FluidMarketInfo;
117
117
  export declare const FLUID_LBTC_USDC_21_BASE: (networkId?: NetworkNumber) => FluidMarketInfo;
118
118
  export declare const FLUID_LBTC_SUSDS_22_BASE: (networkId?: NetworkNumber) => FluidMarketInfo;
119
+ export declare const FLUID_ETH_USDT_1_PLASMA: (networkId?: NetworkNumber) => FluidMarketInfo;
120
+ export declare const FLUID_ETH_USDE_2_PLASMA: (networkId?: NetworkNumber) => FluidMarketInfo;
121
+ export declare const FLUID_WEETH_ETH_3_PLASMA: (networkId?: NetworkNumber) => FluidMarketInfo;
122
+ export declare const FLUID_SUSDE_USDT_4_PLASMA: (networkId?: NetworkNumber) => FluidMarketInfo;
123
+ export declare const FLUID_WEETH_USDT_5_PLASMA: (networkId?: NetworkNumber) => FluidMarketInfo;
124
+ export declare const FLUID_WEETH_USDE_6_PLASMA: (networkId?: NetworkNumber) => FluidMarketInfo;
125
+ export declare const FLUID_XAUT_USDT_7_PLASMA: (networkId?: NetworkNumber) => FluidMarketInfo;
126
+ export declare const FLUID_XAUT_USDE_8_PLASMA: (networkId?: NetworkNumber) => FluidMarketInfo;
127
+ export declare const FLUID_USDE_USDT_9_PLASMA: (networkId?: NetworkNumber) => FluidMarketInfo;
128
+ export declare const FLUID_USDAI_USDT_10_PLASMA: (networkId?: NetworkNumber) => FluidMarketInfo;
129
+ export declare const FLUID_WEETH_ETH_ETH_11_PLASMA: (networkId?: NetworkNumber) => FluidMarketInfo;
130
+ export declare const FLUID_SUSDE_USDT_USDT_12_PLASMA: (networkId?: NetworkNumber) => FluidMarketInfo;
131
+ export declare const FLUID_USDE_USDT_USDT_13_PLASMA: (networkId?: NetworkNumber) => FluidMarketInfo;
132
+ export declare const FLUID_USDAI_USDT_USDT_14_PLASMA: (networkId?: NetworkNumber) => FluidMarketInfo;
133
+ export declare const FLUID_USDT_SYRUPUSDT_USDT_15_PLASMA: (networkId?: NetworkNumber) => FluidMarketInfo;
134
+ export declare const FLUID_XPL_USDT_16_PLASMA: (networkId?: NetworkNumber) => FluidMarketInfo;
135
+ export declare const FLUID_XPL_USDE_17_PLASMA: (networkId?: NetworkNumber) => FluidMarketInfo;
136
+ export declare const FLUID_WSTUSR_USDT_18_PLASMA: (networkId?: NetworkNumber) => FluidMarketInfo;
137
+ export declare const FLUID_WSTUSR_USDT_USDT_19_PLASMA: (networkId?: NetworkNumber) => FluidMarketInfo;
138
+ export declare const FLUID_SYRUPUSDT_USDT_20_PLASMA: (networkId?: NetworkNumber) => FluidMarketInfo;
139
+ export declare const FLUID_ETH_WRSETH_ETH_21_PLASMA: (networkId?: NetworkNumber) => FluidMarketInfo;
119
140
  export declare const FluidMarkets: (networkId: NetworkNumber) => {
120
141
  FLUID_ETH_USDC_1: FluidMarketInfo;
121
142
  FLUID_ETH_USDT_2: FluidMarketInfo;
@@ -233,6 +254,27 @@ export declare const FluidMarkets: (networkId: NetworkNumber) => {
233
254
  FLUID_CBBTC_SUSDS_19_BASE: FluidMarketInfo;
234
255
  FLUID_LBTC_USDC_21_BASE: FluidMarketInfo;
235
256
  FLUID_LBTC_SUSDS_22_BASE: FluidMarketInfo;
257
+ FLUID_ETH_USDT_1_PLASMA: FluidMarketInfo;
258
+ FLUID_ETH_USDE_2_PLASMA: FluidMarketInfo;
259
+ FLUID_WEETH_ETH_3_PLASMA: FluidMarketInfo;
260
+ FLUID_SUSDE_USDT_4_PLASMA: FluidMarketInfo;
261
+ FLUID_WEETH_USDT_5_PLASMA: FluidMarketInfo;
262
+ FLUID_WEETH_USDE_6_PLASMA: FluidMarketInfo;
263
+ FLUID_XAUT_USDT_7_PLASMA: FluidMarketInfo;
264
+ FLUID_XAUT_USDE_8_PLASMA: FluidMarketInfo;
265
+ FLUID_USDE_USDT_9_PLASMA: FluidMarketInfo;
266
+ FLUID_USDAI_USDT_10_PLASMA: FluidMarketInfo;
267
+ FLUID_WEETH_ETH_ETH_11_PLASMA: FluidMarketInfo;
268
+ FLUID_SUSDE_USDT_USDT_12_PLASMA: FluidMarketInfo;
269
+ FLUID_USDE_USDT_USDT_13_PLASMA: FluidMarketInfo;
270
+ FLUID_USDAI_USDT_USDT_14_PLASMA: FluidMarketInfo;
271
+ FLUID_USDT_SYRUPUSDT_USDT_15_PLASMA: FluidMarketInfo;
272
+ FLUID_XPL_USDT_16_PLASMA: FluidMarketInfo;
273
+ FLUID_XPL_USDE_17_PLASMA: FluidMarketInfo;
274
+ FLUID_WSTUSR_USDT_18_PLASMA: FluidMarketInfo;
275
+ FLUID_WSTUSR_USDT_USDT_19_PLASMA: FluidMarketInfo;
276
+ FLUID_SYRUPUSDT_USDT_20_PLASMA: FluidMarketInfo;
277
+ FLUID_ETH_WRSETH_ETH_21_PLASMA: FluidMarketInfo;
236
278
  };
237
279
  export declare const getFluidVersionsDataForNetwork: (network: NetworkNumber) => FluidMarketInfo[];
238
280
  export declare const getFluidMarketInfoById: (vaultId: number, network?: NetworkNumber) => FluidMarketInfo | undefined;
@@ -260,5 +302,9 @@ export declare const FluidFTokens: (networkId: NetworkNumber) => {
260
302
  wstETH: string;
261
303
  sUSDS: string;
262
304
  GHO: string;
305
+ } | {
306
+ ETH: string;
307
+ USDT: string;
308
+ USDe: string;
263
309
  };
264
310
  export declare const getFTokenAddress: (token: string, networkId: NetworkNumber) => any;