@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
@@ -12,7 +12,7 @@ import { assetAmountInEth, getAssetInfo, getAssetInfoByAddress, } from '@defisav
12
12
  import { IncentiveKind, NetworkNumber, } from '../types/common';
13
13
  import { FluidVaultType, } from '../types';
14
14
  import { BTCPriceFeedContractViem, DFSFeedRegistryContractViem, ETHPriceFeedContractViem, FeedRegistryContractViem, FluidViewContractViem, } from '../contracts';
15
- import { compareAddresses, DEFAULT_TIMEOUT, getEthAmountForDecimals, isMainnetNetwork, } from '../services/utils';
15
+ import { compareAddresses, DEFAULT_TIMEOUT, getEthAmountForDecimals, getNativeAssetFromWrapped, isMainnetNetwork, } from '../services/utils';
16
16
  import { getFluidAggregatedData, mergeAssetData, mergeUsedAssets, parseDexBorrowData, parseDexSupplyData, } from '../helpers/fluidHelpers';
17
17
  import { getFluidMarketInfoById, getFluidVersionsDataForNetwork, getFTokenAddress } from '../markets';
18
18
  import { USD_QUOTE, ZERO_ADDRESS } from '../constants';
@@ -66,7 +66,7 @@ const getChainLinkPricesForTokens = (tokens, network, client) => __awaiter(void
66
66
  const chainLinkFeedAddress = getChainlinkAssetAddress(assetInfo.symbol, network);
67
67
  if (assetInfo.symbol === 'wstETH')
68
68
  return getWstETHChainLinkPriceCalls(client, network);
69
- if (assetInfo.symbol === 'weETH')
69
+ if (assetInfo.symbol === 'weETH' && network !== NetworkNumber.Plasma)
70
70
  return getWeETHChainLinkPriceCalls(client, network);
71
71
  if (isMainnet) {
72
72
  const feedRegistryContract = FeedRegistryContractViem(client, NetworkNumber.Eth);
@@ -92,7 +92,7 @@ const getChainLinkPricesForTokens = (tokens, network, client) => __awaiter(void
92
92
  const btcPriceChainlink = new Dec(results[1].result).div(1e8).toString();
93
93
  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
94
94
  return noDuplicateTokens.reduce((acc, token, i) => {
95
- var _a;
95
+ var _a, _b;
96
96
  const assetInfo = getAssetInfoByAddress(token, network);
97
97
  switch (assetInfo.symbol) {
98
98
  case 'USDA':
@@ -128,16 +128,31 @@ const getChainLinkPricesForTokens = (tokens, network, client) => __awaiter(void
128
128
  break;
129
129
  }
130
130
  case 'weETH': {
131
- const { ethPrice, weETHRate, } = parseWeETHPriceCalls(results[i + offset].result.toString(),
132
- // @ts-ignore
133
- results[i + offset + 1].result[1].toString(), results[i + offset + 2].result.toString());
134
- offset += 2;
135
- acc[token] = new Dec(ethPrice).mul(weETHRate).toString();
131
+ if (network !== NetworkNumber.Plasma) {
132
+ const { ethPrice, weETHRate, } = parseWeETHPriceCalls(results[i + offset].result.toString(),
133
+ // @ts-ignore
134
+ results[i + offset + 1].result[1].toString(), results[i + offset + 2].result.toString());
135
+ offset += 2;
136
+ acc[token] = new Dec(ethPrice).mul(weETHRate).toString();
137
+ // @ts-ignore
138
+ }
139
+ else if ((_a = results[i + offset].result) === null || _a === void 0 ? void 0 : _a[1]) {
140
+ // For Plasma, use default chainlink feed (latestRoundData format)
141
+ // @ts-ignore
142
+ acc[token] = new Dec(results[i + offset].result[1].toString()).div(1e8).toString();
143
+ }
144
+ else if (results[i + offset].result) {
145
+ // For Plasma, use default chainlink feed (latestAnswer format)
146
+ acc[token] = new Dec(results[i + offset].result.toString()).div(1e8).toString();
147
+ }
148
+ else {
149
+ acc[token] = '0';
150
+ }
136
151
  break;
137
152
  }
138
153
  default:
139
154
  // @ts-ignore
140
- if ((_a = results[i + offset].result) === null || _a === void 0 ? void 0 : _a[1]) {
155
+ if ((_b = results[i + offset].result) === null || _b === void 0 ? void 0 : _b[1]) {
141
156
  // @ts-ignore
142
157
  acc[token] = new Dec(results[i + offset].result[1].toString()).div(1e8).toString();
143
158
  }
@@ -170,8 +185,14 @@ const getTokenPriceFromChainlink = (asset, network, provider) => __awaiter(void
170
185
  else {
171
186
  // Currently only base network is supported
172
187
  const feedRegistryContract = DFSFeedRegistryContractViem(provider, network);
173
- const roundPriceData = isTokenUSDA ? [0, '100000000'] : yield feedRegistryContract.read.latestRoundData([loanTokenFeedAddress, USD_QUOTE]);
174
- loanTokenPrice = roundPriceData[1].toString();
188
+ try {
189
+ const roundPriceData = isTokenUSDA ? [0, '100000000'] : yield feedRegistryContract.read.latestRoundData([loanTokenFeedAddress, USD_QUOTE]);
190
+ loanTokenPrice = roundPriceData[1].toString();
191
+ }
192
+ catch (err) {
193
+ console.error(`Error fetching price for ${asset.symbol} on ${network}: ${err}`);
194
+ loanTokenPrice = '0';
195
+ }
175
196
  }
176
197
  return new Dec(loanTokenPrice).div(1e8).toString();
177
198
  });
@@ -208,8 +229,8 @@ const getTradingApy = (poolAddress) => __awaiter(void 0, void 0, void 0, functio
208
229
  });
209
230
  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) {
210
231
  var _a, _b;
211
- const collAsset = getAssetInfoByAddress(data.supplyToken0, network);
212
- const debtAsset = getAssetInfoByAddress(data.borrowToken0, network);
232
+ const collAsset = getAssetInfo(getNativeAssetFromWrapped(getAssetInfoByAddress(data.supplyToken0, network).symbol), network);
233
+ const debtAsset = getAssetInfo(getNativeAssetFromWrapped(getAssetInfoByAddress(data.borrowToken0, network).symbol), network);
213
234
  const supplyRate = new Dec(data.supplyRateVault).div(100).toString();
214
235
  const borrowRate = new Dec(data.borrowRateVault).div(100).toString();
215
236
  const oracleScaleFactor = new Dec(27).add(debtAsset.decimals).sub(collAsset.decimals).toString();
@@ -318,9 +339,9 @@ const parseT1MarketData = (provider_1, data_1, network_1, ...args_1) => __awaite
318
339
  });
319
340
  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) {
320
341
  var _a, _b, _c;
321
- const collAsset0 = getAssetInfoByAddress(data.supplyToken0, network);
322
- const collAsset1 = getAssetInfoByAddress(data.supplyToken1, network);
323
- const debtAsset = getAssetInfoByAddress(data.borrowToken0, network);
342
+ const collAsset0 = getAssetInfo(getNativeAssetFromWrapped(getAssetInfoByAddress(data.supplyToken0, network).symbol), network);
343
+ const collAsset1 = getAssetInfo(getNativeAssetFromWrapped(getAssetInfoByAddress(data.supplyToken1, network).symbol), network);
344
+ const debtAsset = getAssetInfo(getNativeAssetFromWrapped(getAssetInfoByAddress(data.borrowToken0, network).symbol), network);
324
345
  // 18 because collateral is represented in shares for which they use 18 decimals
325
346
  const oracleScaleFactor = new Dec(27).add(debtAsset.decimals).sub(18).toString();
326
347
  const oracleScale = new Dec(10).pow(oracleScaleFactor).toString();
@@ -471,9 +492,9 @@ const parseT2MarketData = (provider_1, data_1, network_1, ...args_1) => __awaite
471
492
  });
472
493
  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) {
473
494
  var _a, _b, _c, _d;
474
- const collAsset = getAssetInfoByAddress(data.supplyToken0, network);
475
- const debtAsset0 = getAssetInfoByAddress(data.borrowToken0, network);
476
- const debtAsset1 = getAssetInfoByAddress(data.borrowToken1, network);
495
+ const collAsset = getAssetInfo(getNativeAssetFromWrapped(getAssetInfoByAddress(data.supplyToken0, network).symbol), network);
496
+ const debtAsset0 = getAssetInfo(getNativeAssetFromWrapped(getAssetInfoByAddress(data.borrowToken0, network).symbol), network);
497
+ const debtAsset1 = getAssetInfo(getNativeAssetFromWrapped(getAssetInfoByAddress(data.borrowToken1, network).symbol), network);
477
498
  const { borrowableShares, maxBorrowShares, borrowDexFee, utilizationBorrow0, utilizationBorrow1, borrowable0, borrowable1, borrowRate0, borrowRate1, totalBorrowShares, token0PerBorrowShare, token1PerBorrowShare, borrowableToken0, borrowableToken1, totalBorrowToken0, totalBorrowToken1, reservesBorrowToken0, reservesBorrowToken1, } = parseDexBorrowData(data.dexBorrowData, debtAsset0.symbol, debtAsset1.symbol);
478
499
  // 18 because debt is represented in shares for which they use 18 decimals
479
500
  const oracleScaleFactor = new Dec(27).add(18).sub(collAsset.decimals).toString();
@@ -620,10 +641,10 @@ const parseT3MarketData = (provider_1, data_1, network_1, ...args_1) => __awaite
620
641
  });
621
642
  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) {
622
643
  var _a, _b, _c, _d;
623
- const collAsset0 = getAssetInfoByAddress(data.supplyToken0, network);
624
- const collAsset1 = getAssetInfoByAddress(data.supplyToken1, network);
625
- const debtAsset0 = getAssetInfoByAddress(data.borrowToken0, network);
626
- const debtAsset1 = getAssetInfoByAddress(data.borrowToken1, network);
644
+ const collAsset0 = getAssetInfo(getNativeAssetFromWrapped(getAssetInfoByAddress(data.supplyToken0, network).symbol), network);
645
+ const collAsset1 = getAssetInfo(getNativeAssetFromWrapped(getAssetInfoByAddress(data.supplyToken1, network).symbol), network);
646
+ const debtAsset0 = getAssetInfo(getNativeAssetFromWrapped(getAssetInfoByAddress(data.borrowToken0, network).symbol), network);
647
+ const debtAsset1 = getAssetInfo(getNativeAssetFromWrapped(getAssetInfoByAddress(data.borrowToken1, network).symbol), network);
627
648
  const quoteToken = getAssetInfoByAddress(data.dexBorrowData.quoteToken, network);
628
649
  // 27 - 18 + 18
629
650
  const oracleScaleFactor = new Dec(27).toString();
@@ -1170,7 +1191,7 @@ const getTokenPricePortfolio = (token, provider, network) => __awaiter(void 0, v
1170
1191
  if (token === 'wstETH') {
1171
1192
  return getWstETHPrice(provider, network);
1172
1193
  }
1173
- if (token === 'weETH') {
1194
+ if (token === 'weETH' && network !== NetworkNumber.Plasma) {
1174
1195
  return getWeETHPrice(provider, network);
1175
1196
  }
1176
1197
  const isMainnet = isMainnetNetwork(network);
@@ -118,73 +118,73 @@ export const getApyAfterValuesEstimation = (selectedMarket, actions, provider, n
118
118
  return { borrowRate, supplyRate };
119
119
  });
120
120
  const API_URL = 'https://blue-api.morpho.org/graphql';
121
- const MARKET_QUERY = `
122
- query MarketByUniqueKey($uniqueKey: String!, $chainId: Int!) {
123
- marketByUniqueKey(uniqueKey: $uniqueKey, chainId: $chainId) {
124
- reallocatableLiquidityAssets
125
- targetBorrowUtilization
126
- loanAsset {
127
- address
128
- decimals
129
- priceUsd
130
- }
131
- state {
132
- liquidityAssets
133
- borrowAssets
134
- supplyAssets
135
- }
136
- publicAllocatorSharedLiquidity {
137
- assets
138
- vault {
139
- address
140
- name
141
- }
142
- allocationMarket {
143
- uniqueKey
144
- loanAsset {
145
- address
146
- }
147
- collateralAsset {
148
- address
149
- }
150
- irmAddress
151
- oracle {
152
- address
153
- }
154
- lltv
155
- }
156
- }
157
- loanAsset {
158
- address
159
- }
160
- collateralAsset {
161
- address
162
- }
163
- oracle {
164
- address
165
- }
166
- irmAddress
167
- lltv
168
- }
169
- }
121
+ const MARKET_QUERY = `
122
+ query MarketByUniqueKey($uniqueKey: String!, $chainId: Int!) {
123
+ marketByUniqueKey(uniqueKey: $uniqueKey, chainId: $chainId) {
124
+ reallocatableLiquidityAssets
125
+ targetBorrowUtilization
126
+ loanAsset {
127
+ address
128
+ decimals
129
+ priceUsd
130
+ }
131
+ state {
132
+ liquidityAssets
133
+ borrowAssets
134
+ supplyAssets
135
+ }
136
+ publicAllocatorSharedLiquidity {
137
+ assets
138
+ vault {
139
+ address
140
+ name
141
+ }
142
+ allocationMarket {
143
+ uniqueKey
144
+ loanAsset {
145
+ address
146
+ }
147
+ collateralAsset {
148
+ address
149
+ }
150
+ irmAddress
151
+ oracle {
152
+ address
153
+ }
154
+ lltv
155
+ }
156
+ }
157
+ loanAsset {
158
+ address
159
+ }
160
+ collateralAsset {
161
+ address
162
+ }
163
+ oracle {
164
+ address
165
+ }
166
+ irmAddress
167
+ lltv
168
+ }
169
+ }
170
170
  `;
171
- const REWARDS_QUERY = `
172
- query MarketByUniqueKey($uniqueKey: String!, $chainId: Int!) {
173
- marketByUniqueKey(uniqueKey: $uniqueKey, chainId: $chainId) {
174
- uniqueKey
175
- state {
176
- rewards {
177
- amountPerSuppliedToken
178
- supplyApr
179
- amountPerBorrowedToken
180
- borrowApr
181
- asset {
182
- address
183
- }
184
- }
185
- }
186
- }
187
- }
171
+ const REWARDS_QUERY = `
172
+ query MarketByUniqueKey($uniqueKey: String!, $chainId: Int!) {
173
+ marketByUniqueKey(uniqueKey: $uniqueKey, chainId: $chainId) {
174
+ uniqueKey
175
+ state {
176
+ rewards {
177
+ amountPerSuppliedToken
178
+ supplyApr
179
+ amountPerBorrowedToken
180
+ borrowApr
181
+ asset {
182
+ address
183
+ }
184
+ }
185
+ }
186
+ }
187
+ }
188
188
  `;
189
189
  /**
190
190
  * Get reallocatable liquidity to a given market and target borrow utilization
@@ -15,7 +15,7 @@ export const aaveV3AssetsDefaultMarketOpt = [
15
15
  export const aaveV3AssetsDefaultMarketArb = ['DAI', 'LINK', 'USDC.e', 'WBTC', 'ETH', 'USDT', 'AAVE', 'EURS', 'wstETH', 'MAI', 'rETH', 'LUSD', 'USDC', 'FRAX', 'ARB', 'weETH', 'GHO', 'ezETH', 'rsETH', 'tBTC'];
16
16
  export const aaveV3AssetsDefaultMarketBase = ['ETH', 'cbETH', 'USDbC', 'wstETH', 'USDC', 'weETH', 'cbBTC', 'ezETH', 'GHO', 'wrsETH', 'LBTC', 'EURC', 'AAVE', 'tBTC'];
17
17
  export const aaveV3AssetsDefaultMarketLinea = ['ETH', 'USDC', 'weETH', 'ezETH', 'USDT', 'wstETH', 'wrsETH', 'WBTC'];
18
- export const aaveV3AssetsDefaultMarketPlasma = ['ETH', 'USDT', 'sUSDe', 'USDe', 'weETH', 'XAUt', 'PT USDe Jan', 'PT sUSDe Jan', 'wrsETH', 'wstETH'];
18
+ export const aaveV3AssetsDefaultMarketPlasma = ['ETH', 'USDT', 'sUSDe', 'USDe', 'weETH', 'XAUt', 'PT USDe Jan', 'PT sUSDe Jan', 'wrsETH', 'wstETH', 'syrupUSDT'];
19
19
  // @dev Keep assets in array, do not assign directly, so we can parse it and edit it programmatically with `scripts/updateMarkets`
20
20
  export const aaveV3AssetsDefaultMarket = {
21
21
  [NetworkNumber.Eth]: 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;