@defisaver/positions-sdk 1.0.11-fluid-dev4 → 1.0.11-fluid-dev6
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.
- package/cjs/config/contracts.js +1 -1
- package/cjs/markets/fluid/index.d.ts +20 -0
- package/cjs/markets/fluid/index.js +218 -72
- package/cjs/types/fluid.d.ts +11 -1
- package/cjs/types/fluid.js +10 -0
- package/esm/config/contracts.js +1 -1
- package/esm/markets/fluid/index.d.ts +20 -0
- package/esm/markets/fluid/index.js +205 -69
- package/esm/types/fluid.d.ts +11 -1
- package/esm/types/fluid.js +10 -0
- package/package.json +1 -1
- package/src/config/contracts.js +1 -1
- package/src/markets/fluid/index.ts +212 -70
- package/src/types/fluid.ts +10 -0
package/esm/config/contracts.js
CHANGED
|
@@ -1146,7 +1146,7 @@ module.exports = {
|
|
|
1146
1146
|
"FluidView": {
|
|
1147
1147
|
"abi": [{ "inputs": [{ "internalType": "address", "name": "_vault", "type": "address" }, { "internalType": "uint256", "name": "_token0Amount", "type": "uint256" }, { "internalType": "uint256", "name": "_token1Amount", "type": "uint256" }, { "internalType": "uint256", "name": "_maxSharesAmount", "type": "uint256" }], "name": "estimateBorrow", "outputs": [{ "internalType": "uint256", "name": "shares", "type": "uint256" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_vault", "type": "address" }, { "internalType": "uint256", "name": "_token0Amount", "type": "uint256" }, { "internalType": "uint256", "name": "_token1Amount", "type": "uint256" }, { "internalType": "uint256", "name": "_minSharesAmount", "type": "uint256" }], "name": "estimateDeposit", "outputs": [{ "internalType": "uint256", "name": "shares", "type": "uint256" }], "stateMutability": "payable", "type": "function" }, { "inputs": [{ "internalType": "uint256", "name": "_nftId", "type": "uint256" }, { "internalType": "uint256", "name": "_minToken0AmountToAccept", "type": "uint256" }, { "internalType": "uint256", "name": "_minToken1AmountToAccept", "type": "uint256" }], "name": "estimateDexPositionCollateralInOneToken", "outputs": [{ "internalType": "uint256", "name": "collateral", "type": "uint256" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "uint256", "name": "_nftId", "type": "uint256" }, { "internalType": "uint256", "name": "_maxToken0AmountToPayback", "type": "uint256" }, { "internalType": "uint256", "name": "_maxToken1AmountToPayback", "type": "uint256" }], "name": "estimateDexPositionDebtInOneToken", "outputs": [{ "internalType": "uint256", "name": "debt", "type": "uint256" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_vault", "type": "address" }, { "internalType": "uint256", "name": "_token0Amount", "type": "uint256" }, { "internalType": "uint256", "name": "_token1Amount", "type": "uint256" }, { "internalType": "uint256", "name": "_minSharesAmount", "type": "uint256" }], "name": "estimatePayback", "outputs": [{ "internalType": "uint256", "name": "shares", "type": "uint256" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_vault", "type": "address" }, { "internalType": "uint256", "name": "_token0Amount", "type": "uint256" }, { "internalType": "uint256", "name": "_token1Amount", "type": "uint256" }, { "internalType": "uint256", "name": "_maxSharesAmount", "type": "uint256" }], "name": "estimateWithdraw", "outputs": [{ "internalType": "uint256", "name": "shares", "type": "uint256" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "getAllFTokens", "outputs": [{ "internalType": "address[]", "name": "", "type": "address[]" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getAllFTokensData", "outputs": [{ "components": [{ "internalType": "address", "name": "tokenAddress", "type": "address" }, { "internalType": "bool", "name": "isNativeUnderlying", "type": "bool" }, { "internalType": "string", "name": "name", "type": "string" }, { "internalType": "string", "name": "symbol", "type": "string" }, { "internalType": "uint256", "name": "decimals", "type": "uint256" }, { "internalType": "address", "name": "asset", "type": "address" }, { "internalType": "uint256", "name": "totalAssets", "type": "uint256" }, { "internalType": "uint256", "name": "totalSupply", "type": "uint256" }, { "internalType": "uint256", "name": "convertToShares", "type": "uint256" }, { "internalType": "uint256", "name": "convertToAssets", "type": "uint256" }, { "internalType": "uint256", "name": "rewardsRate", "type": "uint256" }, { "internalType": "uint256", "name": "supplyRate", "type": "uint256" }, { "internalType": "uint256", "name": "withdrawable", "type": "uint256" }, { "internalType": "bool", "name": "modeWithInterest", "type": "bool" }, { "internalType": "uint256", "name": "expandPercent", "type": "uint256" }, { "internalType": "uint256", "name": "expandDuration", "type": "uint256" }], "internalType": "struct FluidView.FTokenData[]", "name": "", "type": "tuple[]" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_user", "type": "address" }], "name": "getAllUserEarnPositionsWithFTokens", "outputs": [{ "components": [{ "internalType": "uint256", "name": "fTokenShares", "type": "uint256" }, { "internalType": "uint256", "name": "underlyingAssets", "type": "uint256" }, { "internalType": "uint256", "name": "underlyingBalance", "type": "uint256" }, { "internalType": "uint256", "name": "allowance", "type": "uint256" }], "internalType": "struct FluidView.UserEarnPosition[]", "name": "userPositions", "type": "tuple[]" }, { "components": [{ "internalType": "address", "name": "tokenAddress", "type": "address" }, { "internalType": "bool", "name": "isNativeUnderlying", "type": "bool" }, { "internalType": "string", "name": "name", "type": "string" }, { "internalType": "string", "name": "symbol", "type": "string" }, { "internalType": "uint256", "name": "decimals", "type": "uint256" }, { "internalType": "address", "name": "asset", "type": "address" }, { "internalType": "uint256", "name": "totalAssets", "type": "uint256" }, { "internalType": "uint256", "name": "totalSupply", "type": "uint256" }, { "internalType": "uint256", "name": "convertToShares", "type": "uint256" }, { "internalType": "uint256", "name": "convertToAssets", "type": "uint256" }, { "internalType": "uint256", "name": "rewardsRate", "type": "uint256" }, { "internalType": "uint256", "name": "supplyRate", "type": "uint256" }, { "internalType": "uint256", "name": "withdrawable", "type": "uint256" }, { "internalType": "bool", "name": "modeWithInterest", "type": "bool" }, { "internalType": "uint256", "name": "expandPercent", "type": "uint256" }, { "internalType": "uint256", "name": "expandDuration", "type": "uint256" }], "internalType": "struct FluidView.FTokenData[]", "name": "fTokensData", "type": "tuple[]" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_vault", "type": "address" }], "name": "getDexShareRates", "outputs": [{ "internalType": "uint256", "name": "token0PerSupplyShare", "type": "uint256" }, { "internalType": "uint256", "name": "token1PerSupplyShare", "type": "uint256" }, { "internalType": "uint256", "name": "token0PerBorrowShare", "type": "uint256" }, { "internalType": "uint256", "name": "token1PerBorrowShare", "type": "uint256" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_fToken", "type": "address" }], "name": "getFTokenData", "outputs": [{ "components": [{ "internalType": "address", "name": "tokenAddress", "type": "address" }, { "internalType": "bool", "name": "isNativeUnderlying", "type": "bool" }, { "internalType": "string", "name": "name", "type": "string" }, { "internalType": "string", "name": "symbol", "type": "string" }, { "internalType": "uint256", "name": "decimals", "type": "uint256" }, { "internalType": "address", "name": "asset", "type": "address" }, { "internalType": "uint256", "name": "totalAssets", "type": "uint256" }, { "internalType": "uint256", "name": "totalSupply", "type": "uint256" }, { "internalType": "uint256", "name": "convertToShares", "type": "uint256" }, { "internalType": "uint256", "name": "convertToAssets", "type": "uint256" }, { "internalType": "uint256", "name": "rewardsRate", "type": "uint256" }, { "internalType": "uint256", "name": "supplyRate", "type": "uint256" }, { "internalType": "uint256", "name": "withdrawable", "type": "uint256" }, { "internalType": "bool", "name": "modeWithInterest", "type": "bool" }, { "internalType": "uint256", "name": "expandPercent", "type": "uint256" }, { "internalType": "uint256", "name": "expandDuration", "type": "uint256" }], "internalType": "struct FluidView.FTokenData", "name": "fTokenData", "type": "tuple" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint256", "name": "_nftId", "type": "uint256" }], "name": "getPositionByNftId", "outputs": [{ "components": [{ "internalType": "uint256", "name": "nftId", "type": "uint256" }, { "internalType": "address", "name": "owner", "type": "address" }, { "internalType": "bool", "name": "isLiquidated", "type": "bool" }, { "internalType": "bool", "name": "isSupplyPosition", "type": "bool" }, { "internalType": "uint256", "name": "supply", "type": "uint256" }, { "internalType": "uint256", "name": "borrow", "type": "uint256" }, { "internalType": "uint256", "name": "ratio", "type": "uint256" }, { "internalType": "int256", "name": "tick", "type": "int256" }, { "internalType": "uint256", "name": "tickId", "type": "uint256" }], "internalType": "struct FluidView.UserPosition", "name": "position", "type": "tuple" }, { "components": [{ "internalType": "address", "name": "vault", "type": "address" }, { "internalType": "uint256", "name": "vaultId", "type": "uint256" }, { "internalType": "uint256", "name": "vaultType", "type": "uint256" }, { "internalType": "bool", "name": "isSmartColl", "type": "bool" }, { "internalType": "bool", "name": "isSmartDebt", "type": "bool" }, { "internalType": "address", "name": "supplyToken0", "type": "address" }, { "internalType": "address", "name": "supplyToken1", "type": "address" }, { "internalType": "address", "name": "borrowToken0", "type": "address" }, { "internalType": "address", "name": "borrowToken1", "type": "address" }, { "internalType": "uint256", "name": "supplyToken0Decimals", "type": "uint256" }, { "internalType": "uint256", "name": "supplyToken1Decimals", "type": "uint256" }, { "internalType": "uint256", "name": "borrowToken0Decimals", "type": "uint256" }, { "internalType": "uint256", "name": "borrowToken1Decimals", "type": "uint256" }, { "internalType": "uint16", "name": "collateralFactor", "type": "uint16" }, { "internalType": "uint16", "name": "liquidationThreshold", "type": "uint16" }, { "internalType": "uint16", "name": "liquidationMaxLimit", "type": "uint16" }, { "internalType": "uint16", "name": "withdrawalGap", "type": "uint16" }, { "internalType": "uint16", "name": "liquidationPenalty", "type": "uint16" }, { "internalType": "uint16", "name": "borrowFee", "type": "uint16" }, { "internalType": "address", "name": "oracle", "type": "address" }, { "internalType": "uint256", "name": "oraclePriceOperate", "type": "uint256" }, { "internalType": "uint256", "name": "oraclePriceLiquidate", "type": "uint256" }, { "internalType": "uint256", "name": "vaultSupplyExchangePrice", "type": "uint256" }, { "internalType": "uint256", "name": "vaultBorrowExchangePrice", "type": "uint256" }, { "internalType": "int256", "name": "supplyRateVault", "type": "int256" }, { "internalType": "int256", "name": "borrowRateVault", "type": "int256" }, { "internalType": "int256", "name": "rewardsOrFeeRateSupply", "type": "int256" }, { "internalType": "int256", "name": "rewardsOrFeeRateBorrow", "type": "int256" }, { "internalType": "uint256", "name": "totalPositions", "type": "uint256" }, { "internalType": "uint256", "name": "totalSupplyVault", "type": "uint256" }, { "internalType": "uint256", "name": "totalBorrowVault", "type": "uint256" }, { "internalType": "uint256", "name": "withdrawalLimit", "type": "uint256" }, { "internalType": "uint256", "name": "withdrawableUntilLimit", "type": "uint256" }, { "internalType": "uint256", "name": "withdrawable", "type": "uint256" }, { "internalType": "uint256", "name": "baseWithdrawalLimit", "type": "uint256" }, { "internalType": "uint256", "name": "withdrawExpandPercent", "type": "uint256" }, { "internalType": "uint256", "name": "withdrawExpandDuration", "type": "uint256" }, { "internalType": "uint256", "name": "borrowLimit", "type": "uint256" }, { "internalType": "uint256", "name": "borrowableUntilLimit", "type": "uint256" }, { "internalType": "uint256", "name": "borrowable", "type": "uint256" }, { "internalType": "uint256", "name": "borrowLimitUtilization", "type": "uint256" }, { "internalType": "uint256", "name": "maxBorrowLimit", "type": "uint256" }, { "internalType": "uint256", "name": "borrowExpandPercent", "type": "uint256" }, { "internalType": "uint256", "name": "borrowExpandDuration", "type": "uint256" }, { "internalType": "uint256", "name": "baseBorrowLimit", "type": "uint256" }, { "internalType": "uint256", "name": "minimumBorrowing", "type": "uint256" }, { "components": [{ "internalType": "address", "name": "dexPool", "type": "address" }, { "internalType": "uint256", "name": "dexId", "type": "uint256" }, { "internalType": "uint256", "name": "fee", "type": "uint256" }, { "internalType": "uint256", "name": "lastStoredPrice", "type": "uint256" }, { "internalType": "uint256", "name": "centerPrice", "type": "uint256" }, { "internalType": "uint256", "name": "token0Utilization", "type": "uint256" }, { "internalType": "uint256", "name": "token1Utilization", "type": "uint256" }, { "internalType": "uint256", "name": "totalSupplyShares", "type": "uint256" }, { "internalType": "uint256", "name": "maxSupplyShares", "type": "uint256" }, { "internalType": "uint256", "name": "token0Supplied", "type": "uint256" }, { "internalType": "uint256", "name": "token1Supplied", "type": "uint256" }, { "internalType": "uint256", "name": "sharesWithdrawable", "type": "uint256" }, { "internalType": "uint256", "name": "token0Withdrawable", "type": "uint256" }, { "internalType": "uint256", "name": "token1Withdrawable", "type": "uint256" }, { "internalType": "uint256", "name": "token0PerSupplyShare", "type": "uint256" }, { "internalType": "uint256", "name": "token1PerSupplyShare", "type": "uint256" }, { "internalType": "uint256", "name": "token0SupplyRate", "type": "uint256" }, { "internalType": "uint256", "name": "token1SupplyRate", "type": "uint256" }, { "internalType": "address", "name": "quoteToken", "type": "address" }, { "internalType": "uint256", "name": "quoteTokensPerShare", "type": "uint256" }, { "internalType": "uint256", "name": "supplyToken0Reserves", "type": "uint256" }, { "internalType": "uint256", "name": "supplyToken1Reserves", "type": "uint256" }], "internalType": "struct FluidView.DexSupplyData", "name": "dexSupplyData", "type": "tuple" }, { "components": [{ "internalType": "address", "name": "dexPool", "type": "address" }, { "internalType": "uint256", "name": "dexId", "type": "uint256" }, { "internalType": "uint256", "name": "fee", "type": "uint256" }, { "internalType": "uint256", "name": "lastStoredPrice", "type": "uint256" }, { "internalType": "uint256", "name": "centerPrice", "type": "uint256" }, { "internalType": "uint256", "name": "token0Utilization", "type": "uint256" }, { "internalType": "uint256", "name": "token1Utilization", "type": "uint256" }, { "internalType": "uint256", "name": "totalBorrowShares", "type": "uint256" }, { "internalType": "uint256", "name": "maxBorrowShares", "type": "uint256" }, { "internalType": "uint256", "name": "token0Borrowed", "type": "uint256" }, { "internalType": "uint256", "name": "token1Borrowed", "type": "uint256" }, { "internalType": "uint256", "name": "sharesBorrowable", "type": "uint256" }, { "internalType": "uint256", "name": "token0Borrowable", "type": "uint256" }, { "internalType": "uint256", "name": "token1Borrowable", "type": "uint256" }, { "internalType": "uint256", "name": "token0PerBorrowShare", "type": "uint256" }, { "internalType": "uint256", "name": "token1PerBorrowShare", "type": "uint256" }, { "internalType": "uint256", "name": "token0BorrowRate", "type": "uint256" }, { "internalType": "uint256", "name": "token1BorrowRate", "type": "uint256" }, { "internalType": "address", "name": "quoteToken", "type": "address" }, { "internalType": "uint256", "name": "quoteTokensPerShare", "type": "uint256" }, { "internalType": "uint256", "name": "borrowToken0Reserves", "type": "uint256" }, { "internalType": "uint256", "name": "borrowToken1Reserves", "type": "uint256" }], "internalType": "struct FluidView.DexBorrowData", "name": "dexBorrowData", "type": "tuple" }], "internalType": "struct FluidView.VaultData", "name": "vault", "type": "tuple" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "uint256", "name": "_nftId", "type": "uint256" }], "name": "getRatio", "outputs": [{ "internalType": "uint256", "name": "ratio", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_fToken", "type": "address" }, { "internalType": "address", "name": "_user", "type": "address" }], "name": "getUserEarnPosition", "outputs": [{ "components": [{ "internalType": "uint256", "name": "fTokenShares", "type": "uint256" }, { "internalType": "uint256", "name": "underlyingAssets", "type": "uint256" }, { "internalType": "uint256", "name": "underlyingBalance", "type": "uint256" }, { "internalType": "uint256", "name": "allowance", "type": "uint256" }], "internalType": "struct FluidView.UserEarnPosition", "name": "", "type": "tuple" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_fToken", "type": "address" }, { "internalType": "address", "name": "_user", "type": "address" }], "name": "getUserEarnPositionWithFToken", "outputs": [{ "components": [{ "internalType": "uint256", "name": "fTokenShares", "type": "uint256" }, { "internalType": "uint256", "name": "underlyingAssets", "type": "uint256" }, { "internalType": "uint256", "name": "underlyingBalance", "type": "uint256" }, { "internalType": "uint256", "name": "allowance", "type": "uint256" }], "internalType": "struct FluidView.UserEarnPosition", "name": "userPosition", "type": "tuple" }, { "components": [{ "internalType": "address", "name": "tokenAddress", "type": "address" }, { "internalType": "bool", "name": "isNativeUnderlying", "type": "bool" }, { "internalType": "string", "name": "name", "type": "string" }, { "internalType": "string", "name": "symbol", "type": "string" }, { "internalType": "uint256", "name": "decimals", "type": "uint256" }, { "internalType": "address", "name": "asset", "type": "address" }, { "internalType": "uint256", "name": "totalAssets", "type": "uint256" }, { "internalType": "uint256", "name": "totalSupply", "type": "uint256" }, { "internalType": "uint256", "name": "convertToShares", "type": "uint256" }, { "internalType": "uint256", "name": "convertToAssets", "type": "uint256" }, { "internalType": "uint256", "name": "rewardsRate", "type": "uint256" }, { "internalType": "uint256", "name": "supplyRate", "type": "uint256" }, { "internalType": "uint256", "name": "withdrawable", "type": "uint256" }, { "internalType": "bool", "name": "modeWithInterest", "type": "bool" }, { "internalType": "uint256", "name": "expandPercent", "type": "uint256" }, { "internalType": "uint256", "name": "expandDuration", "type": "uint256" }], "internalType": "struct FluidView.FTokenData", "name": "fTokenData", "type": "tuple" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_user", "type": "address" }], "name": "getUserNftIds", "outputs": [{ "internalType": "uint256[]", "name": "", "type": "uint256[]" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_user", "type": "address" }], "name": "getUserNftIdsWithVaultIds", "outputs": [{ "components": [{ "internalType": "uint256", "name": "nftId", "type": "uint256" }, { "internalType": "uint256", "name": "vaultId", "type": "uint256" }, { "internalType": "address", "name": "vaultAddr", "type": "address" }], "internalType": "struct FluidView.NftWithVault[]", "name": "retVal", "type": "tuple[]" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_user", "type": "address" }], "name": "getUserPositions", "outputs": [{ "components": [{ "internalType": "uint256", "name": "nftId", "type": "uint256" }, { "internalType": "address", "name": "owner", "type": "address" }, { "internalType": "bool", "name": "isLiquidated", "type": "bool" }, { "internalType": "bool", "name": "isSupplyPosition", "type": "bool" }, { "internalType": "uint256", "name": "supply", "type": "uint256" }, { "internalType": "uint256", "name": "borrow", "type": "uint256" }, { "internalType": "uint256", "name": "ratio", "type": "uint256" }, { "internalType": "int256", "name": "tick", "type": "int256" }, { "internalType": "uint256", "name": "tickId", "type": "uint256" }], "internalType": "struct FluidView.UserPosition[]", "name": "positions", "type": "tuple[]" }, { "components": [{ "internalType": "address", "name": "vault", "type": "address" }, { "internalType": "uint256", "name": "vaultId", "type": "uint256" }, { "internalType": "uint256", "name": "vaultType", "type": "uint256" }, { "internalType": "bool", "name": "isSmartColl", "type": "bool" }, { "internalType": "bool", "name": "isSmartDebt", "type": "bool" }, { "internalType": "address", "name": "supplyToken0", "type": "address" }, { "internalType": "address", "name": "supplyToken1", "type": "address" }, { "internalType": "address", "name": "borrowToken0", "type": "address" }, { "internalType": "address", "name": "borrowToken1", "type": "address" }, { "internalType": "uint256", "name": "supplyToken0Decimals", "type": "uint256" }, { "internalType": "uint256", "name": "supplyToken1Decimals", "type": "uint256" }, { "internalType": "uint256", "name": "borrowToken0Decimals", "type": "uint256" }, { "internalType": "uint256", "name": "borrowToken1Decimals", "type": "uint256" }, { "internalType": "uint16", "name": "collateralFactor", "type": "uint16" }, { "internalType": "uint16", "name": "liquidationThreshold", "type": "uint16" }, { "internalType": "uint16", "name": "liquidationMaxLimit", "type": "uint16" }, { "internalType": "uint16", "name": "withdrawalGap", "type": "uint16" }, { "internalType": "uint16", "name": "liquidationPenalty", "type": "uint16" }, { "internalType": "uint16", "name": "borrowFee", "type": "uint16" }, { "internalType": "address", "name": "oracle", "type": "address" }, { "internalType": "uint256", "name": "oraclePriceOperate", "type": "uint256" }, { "internalType": "uint256", "name": "oraclePriceLiquidate", "type": "uint256" }, { "internalType": "uint256", "name": "vaultSupplyExchangePrice", "type": "uint256" }, { "internalType": "uint256", "name": "vaultBorrowExchangePrice", "type": "uint256" }, { "internalType": "int256", "name": "supplyRateVault", "type": "int256" }, { "internalType": "int256", "name": "borrowRateVault", "type": "int256" }, { "internalType": "int256", "name": "rewardsOrFeeRateSupply", "type": "int256" }, { "internalType": "int256", "name": "rewardsOrFeeRateBorrow", "type": "int256" }, { "internalType": "uint256", "name": "totalPositions", "type": "uint256" }, { "internalType": "uint256", "name": "totalSupplyVault", "type": "uint256" }, { "internalType": "uint256", "name": "totalBorrowVault", "type": "uint256" }, { "internalType": "uint256", "name": "withdrawalLimit", "type": "uint256" }, { "internalType": "uint256", "name": "withdrawableUntilLimit", "type": "uint256" }, { "internalType": "uint256", "name": "withdrawable", "type": "uint256" }, { "internalType": "uint256", "name": "baseWithdrawalLimit", "type": "uint256" }, { "internalType": "uint256", "name": "withdrawExpandPercent", "type": "uint256" }, { "internalType": "uint256", "name": "withdrawExpandDuration", "type": "uint256" }, { "internalType": "uint256", "name": "borrowLimit", "type": "uint256" }, { "internalType": "uint256", "name": "borrowableUntilLimit", "type": "uint256" }, { "internalType": "uint256", "name": "borrowable", "type": "uint256" }, { "internalType": "uint256", "name": "borrowLimitUtilization", "type": "uint256" }, { "internalType": "uint256", "name": "maxBorrowLimit", "type": "uint256" }, { "internalType": "uint256", "name": "borrowExpandPercent", "type": "uint256" }, { "internalType": "uint256", "name": "borrowExpandDuration", "type": "uint256" }, { "internalType": "uint256", "name": "baseBorrowLimit", "type": "uint256" }, { "internalType": "uint256", "name": "minimumBorrowing", "type": "uint256" }, { "components": [{ "internalType": "address", "name": "dexPool", "type": "address" }, { "internalType": "uint256", "name": "dexId", "type": "uint256" }, { "internalType": "uint256", "name": "fee", "type": "uint256" }, { "internalType": "uint256", "name": "lastStoredPrice", "type": "uint256" }, { "internalType": "uint256", "name": "centerPrice", "type": "uint256" }, { "internalType": "uint256", "name": "token0Utilization", "type": "uint256" }, { "internalType": "uint256", "name": "token1Utilization", "type": "uint256" }, { "internalType": "uint256", "name": "totalSupplyShares", "type": "uint256" }, { "internalType": "uint256", "name": "maxSupplyShares", "type": "uint256" }, { "internalType": "uint256", "name": "token0Supplied", "type": "uint256" }, { "internalType": "uint256", "name": "token1Supplied", "type": "uint256" }, { "internalType": "uint256", "name": "sharesWithdrawable", "type": "uint256" }, { "internalType": "uint256", "name": "token0Withdrawable", "type": "uint256" }, { "internalType": "uint256", "name": "token1Withdrawable", "type": "uint256" }, { "internalType": "uint256", "name": "token0PerSupplyShare", "type": "uint256" }, { "internalType": "uint256", "name": "token1PerSupplyShare", "type": "uint256" }, { "internalType": "uint256", "name": "token0SupplyRate", "type": "uint256" }, { "internalType": "uint256", "name": "token1SupplyRate", "type": "uint256" }, { "internalType": "address", "name": "quoteToken", "type": "address" }, { "internalType": "uint256", "name": "quoteTokensPerShare", "type": "uint256" }, { "internalType": "uint256", "name": "supplyToken0Reserves", "type": "uint256" }, { "internalType": "uint256", "name": "supplyToken1Reserves", "type": "uint256" }], "internalType": "struct FluidView.DexSupplyData", "name": "dexSupplyData", "type": "tuple" }, { "components": [{ "internalType": "address", "name": "dexPool", "type": "address" }, { "internalType": "uint256", "name": "dexId", "type": "uint256" }, { "internalType": "uint256", "name": "fee", "type": "uint256" }, { "internalType": "uint256", "name": "lastStoredPrice", "type": "uint256" }, { "internalType": "uint256", "name": "centerPrice", "type": "uint256" }, { "internalType": "uint256", "name": "token0Utilization", "type": "uint256" }, { "internalType": "uint256", "name": "token1Utilization", "type": "uint256" }, { "internalType": "uint256", "name": "totalBorrowShares", "type": "uint256" }, { "internalType": "uint256", "name": "maxBorrowShares", "type": "uint256" }, { "internalType": "uint256", "name": "token0Borrowed", "type": "uint256" }, { "internalType": "uint256", "name": "token1Borrowed", "type": "uint256" }, { "internalType": "uint256", "name": "sharesBorrowable", "type": "uint256" }, { "internalType": "uint256", "name": "token0Borrowable", "type": "uint256" }, { "internalType": "uint256", "name": "token1Borrowable", "type": "uint256" }, { "internalType": "uint256", "name": "token0PerBorrowShare", "type": "uint256" }, { "internalType": "uint256", "name": "token1PerBorrowShare", "type": "uint256" }, { "internalType": "uint256", "name": "token0BorrowRate", "type": "uint256" }, { "internalType": "uint256", "name": "token1BorrowRate", "type": "uint256" }, { "internalType": "address", "name": "quoteToken", "type": "address" }, { "internalType": "uint256", "name": "quoteTokensPerShare", "type": "uint256" }, { "internalType": "uint256", "name": "borrowToken0Reserves", "type": "uint256" }, { "internalType": "uint256", "name": "borrowToken1Reserves", "type": "uint256" }], "internalType": "struct FluidView.DexBorrowData", "name": "dexBorrowData", "type": "tuple" }], "internalType": "struct FluidView.VaultData[]", "name": "vaults", "type": "tuple[]" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_vault", "type": "address" }], "name": "getVaultData", "outputs": [{ "components": [{ "internalType": "address", "name": "vault", "type": "address" }, { "internalType": "uint256", "name": "vaultId", "type": "uint256" }, { "internalType": "uint256", "name": "vaultType", "type": "uint256" }, { "internalType": "bool", "name": "isSmartColl", "type": "bool" }, { "internalType": "bool", "name": "isSmartDebt", "type": "bool" }, { "internalType": "address", "name": "supplyToken0", "type": "address" }, { "internalType": "address", "name": "supplyToken1", "type": "address" }, { "internalType": "address", "name": "borrowToken0", "type": "address" }, { "internalType": "address", "name": "borrowToken1", "type": "address" }, { "internalType": "uint256", "name": "supplyToken0Decimals", "type": "uint256" }, { "internalType": "uint256", "name": "supplyToken1Decimals", "type": "uint256" }, { "internalType": "uint256", "name": "borrowToken0Decimals", "type": "uint256" }, { "internalType": "uint256", "name": "borrowToken1Decimals", "type": "uint256" }, { "internalType": "uint16", "name": "collateralFactor", "type": "uint16" }, { "internalType": "uint16", "name": "liquidationThreshold", "type": "uint16" }, { "internalType": "uint16", "name": "liquidationMaxLimit", "type": "uint16" }, { "internalType": "uint16", "name": "withdrawalGap", "type": "uint16" }, { "internalType": "uint16", "name": "liquidationPenalty", "type": "uint16" }, { "internalType": "uint16", "name": "borrowFee", "type": "uint16" }, { "internalType": "address", "name": "oracle", "type": "address" }, { "internalType": "uint256", "name": "oraclePriceOperate", "type": "uint256" }, { "internalType": "uint256", "name": "oraclePriceLiquidate", "type": "uint256" }, { "internalType": "uint256", "name": "vaultSupplyExchangePrice", "type": "uint256" }, { "internalType": "uint256", "name": "vaultBorrowExchangePrice", "type": "uint256" }, { "internalType": "int256", "name": "supplyRateVault", "type": "int256" }, { "internalType": "int256", "name": "borrowRateVault", "type": "int256" }, { "internalType": "int256", "name": "rewardsOrFeeRateSupply", "type": "int256" }, { "internalType": "int256", "name": "rewardsOrFeeRateBorrow", "type": "int256" }, { "internalType": "uint256", "name": "totalPositions", "type": "uint256" }, { "internalType": "uint256", "name": "totalSupplyVault", "type": "uint256" }, { "internalType": "uint256", "name": "totalBorrowVault", "type": "uint256" }, { "internalType": "uint256", "name": "withdrawalLimit", "type": "uint256" }, { "internalType": "uint256", "name": "withdrawableUntilLimit", "type": "uint256" }, { "internalType": "uint256", "name": "withdrawable", "type": "uint256" }, { "internalType": "uint256", "name": "baseWithdrawalLimit", "type": "uint256" }, { "internalType": "uint256", "name": "withdrawExpandPercent", "type": "uint256" }, { "internalType": "uint256", "name": "withdrawExpandDuration", "type": "uint256" }, { "internalType": "uint256", "name": "borrowLimit", "type": "uint256" }, { "internalType": "uint256", "name": "borrowableUntilLimit", "type": "uint256" }, { "internalType": "uint256", "name": "borrowable", "type": "uint256" }, { "internalType": "uint256", "name": "borrowLimitUtilization", "type": "uint256" }, { "internalType": "uint256", "name": "maxBorrowLimit", "type": "uint256" }, { "internalType": "uint256", "name": "borrowExpandPercent", "type": "uint256" }, { "internalType": "uint256", "name": "borrowExpandDuration", "type": "uint256" }, { "internalType": "uint256", "name": "baseBorrowLimit", "type": "uint256" }, { "internalType": "uint256", "name": "minimumBorrowing", "type": "uint256" }, { "components": [{ "internalType": "address", "name": "dexPool", "type": "address" }, { "internalType": "uint256", "name": "dexId", "type": "uint256" }, { "internalType": "uint256", "name": "fee", "type": "uint256" }, { "internalType": "uint256", "name": "lastStoredPrice", "type": "uint256" }, { "internalType": "uint256", "name": "centerPrice", "type": "uint256" }, { "internalType": "uint256", "name": "token0Utilization", "type": "uint256" }, { "internalType": "uint256", "name": "token1Utilization", "type": "uint256" }, { "internalType": "uint256", "name": "totalSupplyShares", "type": "uint256" }, { "internalType": "uint256", "name": "maxSupplyShares", "type": "uint256" }, { "internalType": "uint256", "name": "token0Supplied", "type": "uint256" }, { "internalType": "uint256", "name": "token1Supplied", "type": "uint256" }, { "internalType": "uint256", "name": "sharesWithdrawable", "type": "uint256" }, { "internalType": "uint256", "name": "token0Withdrawable", "type": "uint256" }, { "internalType": "uint256", "name": "token1Withdrawable", "type": "uint256" }, { "internalType": "uint256", "name": "token0PerSupplyShare", "type": "uint256" }, { "internalType": "uint256", "name": "token1PerSupplyShare", "type": "uint256" }, { "internalType": "uint256", "name": "token0SupplyRate", "type": "uint256" }, { "internalType": "uint256", "name": "token1SupplyRate", "type": "uint256" }, { "internalType": "address", "name": "quoteToken", "type": "address" }, { "internalType": "uint256", "name": "quoteTokensPerShare", "type": "uint256" }, { "internalType": "uint256", "name": "supplyToken0Reserves", "type": "uint256" }, { "internalType": "uint256", "name": "supplyToken1Reserves", "type": "uint256" }], "internalType": "struct FluidView.DexSupplyData", "name": "dexSupplyData", "type": "tuple" }, { "components": [{ "internalType": "address", "name": "dexPool", "type": "address" }, { "internalType": "uint256", "name": "dexId", "type": "uint256" }, { "internalType": "uint256", "name": "fee", "type": "uint256" }, { "internalType": "uint256", "name": "lastStoredPrice", "type": "uint256" }, { "internalType": "uint256", "name": "centerPrice", "type": "uint256" }, { "internalType": "uint256", "name": "token0Utilization", "type": "uint256" }, { "internalType": "uint256", "name": "token1Utilization", "type": "uint256" }, { "internalType": "uint256", "name": "totalBorrowShares", "type": "uint256" }, { "internalType": "uint256", "name": "maxBorrowShares", "type": "uint256" }, { "internalType": "uint256", "name": "token0Borrowed", "type": "uint256" }, { "internalType": "uint256", "name": "token1Borrowed", "type": "uint256" }, { "internalType": "uint256", "name": "sharesBorrowable", "type": "uint256" }, { "internalType": "uint256", "name": "token0Borrowable", "type": "uint256" }, { "internalType": "uint256", "name": "token1Borrowable", "type": "uint256" }, { "internalType": "uint256", "name": "token0PerBorrowShare", "type": "uint256" }, { "internalType": "uint256", "name": "token1PerBorrowShare", "type": "uint256" }, { "internalType": "uint256", "name": "token0BorrowRate", "type": "uint256" }, { "internalType": "uint256", "name": "token1BorrowRate", "type": "uint256" }, { "internalType": "address", "name": "quoteToken", "type": "address" }, { "internalType": "uint256", "name": "quoteTokensPerShare", "type": "uint256" }, { "internalType": "uint256", "name": "borrowToken0Reserves", "type": "uint256" }, { "internalType": "uint256", "name": "borrowToken1Reserves", "type": "uint256" }], "internalType": "struct FluidView.DexBorrowData", "name": "dexBorrowData", "type": "tuple" }], "internalType": "struct FluidView.VaultData", "name": "vaultData", "type": "tuple" }], "stateMutability": "nonpayable", "type": "function" }],
|
|
1148
1148
|
"networks": {
|
|
1149
|
-
"1": { "address": "
|
|
1149
|
+
"1": { "address": "0xf8e3bbf7c95057be1fD5E741a9ADb73E956dC724" },
|
|
1150
1150
|
"8453": { "address": "0x5835CaDbA8843CD6d6d55782908351E9c74221aD" },
|
|
1151
1151
|
"42161": { "address": "0x2d51BB6Ac5c1eC8DD6432e1FF980fC864B626e01" }
|
|
1152
1152
|
}
|
|
@@ -6,6 +6,8 @@ export declare const FLUID_WSTETH_ETH_3: (networkId?: NetworkNumber) => FluidMar
|
|
|
6
6
|
export declare const FLUID_WSTETH_USDC_4: (networkId?: NetworkNumber) => FluidMarketInfo;
|
|
7
7
|
export declare const FLUID_WSTETH_USDT_5: (networkId?: NetworkNumber) => FluidMarketInfo;
|
|
8
8
|
export declare const FLUID_WEETH_WSTETH_6: (networkId?: NetworkNumber) => FluidMarketInfo;
|
|
9
|
+
export declare const FLUID_SUSDE_USDC_7: (networkId?: NetworkNumber) => FluidMarketInfo;
|
|
10
|
+
export declare const FLUID_SUSDE_USDT_8: (networkId?: NetworkNumber) => FluidMarketInfo;
|
|
9
11
|
export declare const FLUID_WEETH_USDC_9: (networkId?: NetworkNumber) => FluidMarketInfo;
|
|
10
12
|
export declare const FLUID_WEETH_USDT_10: (networkId?: NetworkNumber) => FluidMarketInfo;
|
|
11
13
|
export declare const FLUID_ETH_USDC_11: (networkId?: NetworkNumber) => FluidMarketInfo;
|
|
@@ -29,6 +31,7 @@ export declare const FLUID_CBBTC_ETH_28: (networkId?: NetworkNumber) => FluidMar
|
|
|
29
31
|
export declare const FLUID_CBBTC_USDC_29: (networkId?: NetworkNumber) => FluidMarketInfo;
|
|
30
32
|
export declare const FLUID_CBBTC_USDT_30: (networkId?: NetworkNumber) => FluidMarketInfo;
|
|
31
33
|
export declare const FLUID_ETH_CBBTC_31: (networkId?: NetworkNumber) => FluidMarketInfo;
|
|
34
|
+
export declare const FLUID_WSTETH_CBBTC_33: (networkId?: NetworkNumber) => FluidMarketInfo;
|
|
32
35
|
export declare const FLUID_WEETH_CBBTC_32: (networkId?: NetworkNumber) => FluidMarketInfo;
|
|
33
36
|
export declare const FLUID_WSTETH_ETH_WSTETH_ETH_44: (networkId?: NetworkNumber) => FluidMarketInfo;
|
|
34
37
|
export declare const FLUID_ETH_USDC_USDT_45: (networkId?: NetworkNumber) => FluidMarketInfo;
|
|
@@ -45,6 +48,8 @@ export declare const FLUID_WSTETH_GHO_55: (networkId?: NetworkNumber) => FluidMa
|
|
|
45
48
|
export declare const FLUID_SUSDE_GHO_56: (networkId?: NetworkNumber) => FluidMarketInfo;
|
|
46
49
|
export declare const FLUID_WEETH_GHO_57: (networkId?: NetworkNumber) => FluidMarketInfo;
|
|
47
50
|
export declare const FLUID_SUSDS_GHO_58: (networkId?: NetworkNumber) => FluidMarketInfo;
|
|
51
|
+
export declare const FLUID_WBTC_GHO_59: (networkId?: NetworkNumber) => FluidMarketInfo;
|
|
52
|
+
export declare const FLUID_CBBTC_GHO_60: (networkId?: NetworkNumber) => FluidMarketInfo;
|
|
48
53
|
export declare const FLUID_GHO_USDC_GHO_USDC_61: (networkId?: NetworkNumber) => FluidMarketInfo;
|
|
49
54
|
export declare const FLUID_WEETH_ETH_WSTETH_74: (networkId?: NetworkNumber) => FluidMarketInfo;
|
|
50
55
|
export declare const FLUID_USDC_ETH_USDC_ETH_77: (networkId?: NetworkNumber) => FluidMarketInfo;
|
|
@@ -107,6 +112,11 @@ export declare const FLUID_CBBTC_ETH_13_BASE: (networkId?: NetworkNumber) => Flu
|
|
|
107
112
|
export declare const FLUID_ETH_CBBTC_14_BASE: (networkId?: NetworkNumber) => FluidMarketInfo;
|
|
108
113
|
export declare const FLUID_WEETH_CBBTC_15_BASE: (networkId?: NetworkNumber) => FluidMarketInfo;
|
|
109
114
|
export declare const FLUID_WSTETH_CBBTC_16_BASE: (networkId?: NetworkNumber) => FluidMarketInfo;
|
|
115
|
+
export declare const FLUID_ETH_SUSDS_17_BASE: (networkId?: NetworkNumber) => FluidMarketInfo;
|
|
116
|
+
export declare const FLUID_WSTETH_SUSDS_18_BASE: (networkId?: NetworkNumber) => FluidMarketInfo;
|
|
117
|
+
export declare const FLUID_CBBTC_SUSDS_19_BASE: (networkId?: NetworkNumber) => FluidMarketInfo;
|
|
118
|
+
export declare const FLUID_LBTC_USDC_21_BASE: (networkId?: NetworkNumber) => FluidMarketInfo;
|
|
119
|
+
export declare const FLUID_LBTC_SUSDS_22_BASE: (networkId?: NetworkNumber) => FluidMarketInfo;
|
|
110
120
|
export declare const FluidMarkets: (networkId: NetworkNumber) => {
|
|
111
121
|
FLUID_ETH_USDC_1: FluidMarketInfo;
|
|
112
122
|
FLUID_ETH_USDT_2: FluidMarketInfo;
|
|
@@ -114,6 +124,8 @@ export declare const FluidMarkets: (networkId: NetworkNumber) => {
|
|
|
114
124
|
FLUID_WSTETH_USDC_4: FluidMarketInfo;
|
|
115
125
|
FLUID_WSTETH_USDT_5: FluidMarketInfo;
|
|
116
126
|
FLUID_WEETH_WSTETH_6: FluidMarketInfo;
|
|
127
|
+
FLUID_SUSDE_USDC_7: FluidMarketInfo;
|
|
128
|
+
FLUID_SUSDE_USDT_8: FluidMarketInfo;
|
|
117
129
|
FLUID_WEETH_USDC_9: FluidMarketInfo;
|
|
118
130
|
FLUID_WEETH_USDT_10: FluidMarketInfo;
|
|
119
131
|
FLUID_ETH_USDC_11: FluidMarketInfo;
|
|
@@ -138,6 +150,7 @@ export declare const FluidMarkets: (networkId: NetworkNumber) => {
|
|
|
138
150
|
FLUID_CBBTC_USDT_30: FluidMarketInfo;
|
|
139
151
|
FLUID_ETH_CBBTC_31: FluidMarketInfo;
|
|
140
152
|
FLUID_WEETH_CBBTC_32: FluidMarketInfo;
|
|
153
|
+
FLUID_WSTETH_CBBTC_33: FluidMarketInfo;
|
|
141
154
|
FLUID_WSTETH_ETH_WSTETH_ETH_44: FluidMarketInfo;
|
|
142
155
|
FLUID_ETH_USDC_USDT_45: FluidMarketInfo;
|
|
143
156
|
FLUID_WSTETH_USDC_USDT_46: FluidMarketInfo;
|
|
@@ -153,6 +166,8 @@ export declare const FluidMarkets: (networkId: NetworkNumber) => {
|
|
|
153
166
|
FLUID_SUSDE_GHO_56: FluidMarketInfo;
|
|
154
167
|
FLUID_WEETH_GHO_57: FluidMarketInfo;
|
|
155
168
|
FLUID_SUSDS_GHO_58: FluidMarketInfo;
|
|
169
|
+
FLUID_WBTC_GHO_59: FluidMarketInfo;
|
|
170
|
+
FLUID_CBBTC_GHO_60: FluidMarketInfo;
|
|
156
171
|
FLUID_GHO_USDC_GHO_USDC_61: FluidMarketInfo;
|
|
157
172
|
FLUID_WEETH_ETH_WSTETH_74: FluidMarketInfo;
|
|
158
173
|
FLUID_USDC_ETH_USDC_ETH_77: FluidMarketInfo;
|
|
@@ -215,6 +230,11 @@ export declare const FluidMarkets: (networkId: NetworkNumber) => {
|
|
|
215
230
|
FLUID_ETH_CBBTC_14_BASE: FluidMarketInfo;
|
|
216
231
|
FLUID_WEETH_CBBTC_15_BASE: FluidMarketInfo;
|
|
217
232
|
FLUID_WSTETH_CBBTC_16_BASE: FluidMarketInfo;
|
|
233
|
+
FLUID_ETH_SUSDS_17_BASE: FluidMarketInfo;
|
|
234
|
+
FLUID_WSTETH_SUSDS_18_BASE: FluidMarketInfo;
|
|
235
|
+
FLUID_CBBTC_SUSDS_19_BASE: FluidMarketInfo;
|
|
236
|
+
FLUID_LBTC_USDC_21_BASE: FluidMarketInfo;
|
|
237
|
+
FLUID_LBTC_SUSDS_22_BASE: FluidMarketInfo;
|
|
218
238
|
};
|
|
219
239
|
export declare const getFluidVersionsDataForNetwork: (network: NetworkNumber) => FluidMarketInfo[];
|
|
220
240
|
export declare const getFluidMarketInfoById: (vaultId: number, network?: NetworkNumber) => FluidMarketInfo | undefined;
|
|
@@ -115,6 +115,44 @@ export const FLUID_WEETH_WSTETH_6 = (networkId = NetworkNumber.Eth) => ({
|
|
|
115
115
|
type: FluidVaultType.T1,
|
|
116
116
|
isDeprecatingSoon: true,
|
|
117
117
|
});
|
|
118
|
+
export const FLUID_SUSDE_USDC_7 = (networkId = NetworkNumber.Eth) => ({
|
|
119
|
+
btcBased: false,
|
|
120
|
+
ethBased: false,
|
|
121
|
+
wstETHBased: false,
|
|
122
|
+
stableBased: true,
|
|
123
|
+
chainIds: [NetworkNumber.Eth],
|
|
124
|
+
label: '#7 (sUSDe / USDC)',
|
|
125
|
+
shortLabel: 'sUSDe/USDC',
|
|
126
|
+
value: FluidMainnetVersion.FLUID_SUSDE_USDC_7,
|
|
127
|
+
url: 'susde-usdc-7',
|
|
128
|
+
marketAddress: '0x4045720a33193b4Fe66c94DFbc8D37B0b4D9B469',
|
|
129
|
+
id: 7,
|
|
130
|
+
hasSmartCollateral: false,
|
|
131
|
+
hasSmartDebt: false,
|
|
132
|
+
collateralAsset0: 'sUSDe',
|
|
133
|
+
debtAsset0: 'USDC',
|
|
134
|
+
type: FluidVaultType.T1,
|
|
135
|
+
isDeprecatingSoon: true,
|
|
136
|
+
});
|
|
137
|
+
export const FLUID_SUSDE_USDT_8 = (networkId = NetworkNumber.Eth) => ({
|
|
138
|
+
btcBased: false,
|
|
139
|
+
ethBased: false,
|
|
140
|
+
wstETHBased: false,
|
|
141
|
+
stableBased: true,
|
|
142
|
+
chainIds: [NetworkNumber.Eth],
|
|
143
|
+
label: '#8 (sUSDe / USDT)',
|
|
144
|
+
shortLabel: 'sUSDe/USDT',
|
|
145
|
+
value: FluidMainnetVersion.FLUID_SUSDE_USDT_8,
|
|
146
|
+
url: 'susde-usdt-8',
|
|
147
|
+
marketAddress: '0xBFADEA65591235f38809076e14803Ac84AcF3F97',
|
|
148
|
+
id: 8,
|
|
149
|
+
hasSmartCollateral: false,
|
|
150
|
+
hasSmartDebt: false,
|
|
151
|
+
collateralAsset0: 'sUSDe',
|
|
152
|
+
debtAsset0: 'USDT',
|
|
153
|
+
type: FluidVaultType.T1,
|
|
154
|
+
isDeprecatingSoon: true,
|
|
155
|
+
});
|
|
118
156
|
export const FLUID_WEETH_USDC_9 = (networkId = NetworkNumber.Eth) => ({
|
|
119
157
|
btcBased: false,
|
|
120
158
|
ethBased: true,
|
|
@@ -531,6 +569,24 @@ export const FLUID_ETH_CBBTC_31 = (networkId = NetworkNumber.Eth) => ({
|
|
|
531
569
|
collateralAsset0: 'ETH',
|
|
532
570
|
debtAsset0: 'cbBTC',
|
|
533
571
|
});
|
|
572
|
+
export const FLUID_WSTETH_CBBTC_33 = (networkId = NetworkNumber.Eth) => ({
|
|
573
|
+
stableBased: false,
|
|
574
|
+
btcBased: true,
|
|
575
|
+
wstETHBased: true,
|
|
576
|
+
ethBased: true,
|
|
577
|
+
type: FluidVaultType.T1,
|
|
578
|
+
chainIds: [NetworkNumber.Eth],
|
|
579
|
+
label: '#33 (wstETH / cbBTC)',
|
|
580
|
+
shortLabel: 'wstETH/cbBTC',
|
|
581
|
+
value: FluidMainnetVersion.FLUID_WSTETH_CBBTC_33,
|
|
582
|
+
url: 'wsteth-cbbtc-33',
|
|
583
|
+
id: 33,
|
|
584
|
+
marketAddress: '0x6E0cDB09eb33cD3894C905E0DFF9289b95a86FFF',
|
|
585
|
+
hasSmartCollateral: false,
|
|
586
|
+
hasSmartDebt: false,
|
|
587
|
+
collateralAsset0: 'wstETH',
|
|
588
|
+
debtAsset0: 'cbBTC',
|
|
589
|
+
});
|
|
534
590
|
export const FLUID_WEETH_CBBTC_32 = (networkId = NetworkNumber.Eth) => ({
|
|
535
591
|
stableBased: false,
|
|
536
592
|
btcBased: true,
|
|
@@ -831,6 +887,42 @@ export const FLUID_SUSDS_GHO_58 = (networkId = NetworkNumber.Eth) => ({
|
|
|
831
887
|
collateralAsset0: 'sUSDS',
|
|
832
888
|
debtAsset0: 'GHO',
|
|
833
889
|
});
|
|
890
|
+
export const FLUID_WBTC_GHO_59 = (networkId = NetworkNumber.Eth) => ({
|
|
891
|
+
stableBased: true,
|
|
892
|
+
btcBased: true,
|
|
893
|
+
wstETHBased: false,
|
|
894
|
+
ethBased: false,
|
|
895
|
+
type: FluidVaultType.T1,
|
|
896
|
+
id: 59,
|
|
897
|
+
chainIds: [NetworkNumber.Eth],
|
|
898
|
+
label: '#59 (WBTC / GHO)',
|
|
899
|
+
shortLabel: 'WBTC/GHO',
|
|
900
|
+
value: FluidMainnetVersion.FLUID_WBTC_GHO_59,
|
|
901
|
+
url: 'wbtc-gho-59',
|
|
902
|
+
marketAddress: '0xe58Ed61ff0C9db46c8772FF7286B6B187D4fe68f',
|
|
903
|
+
hasSmartCollateral: false,
|
|
904
|
+
hasSmartDebt: false,
|
|
905
|
+
collateralAsset0: 'WBTC',
|
|
906
|
+
debtAsset0: 'GHO',
|
|
907
|
+
});
|
|
908
|
+
export const FLUID_CBBTC_GHO_60 = (networkId = NetworkNumber.Eth) => ({
|
|
909
|
+
stableBased: true,
|
|
910
|
+
btcBased: true,
|
|
911
|
+
wstETHBased: false,
|
|
912
|
+
ethBased: false,
|
|
913
|
+
type: FluidVaultType.T1,
|
|
914
|
+
id: 60,
|
|
915
|
+
chainIds: [NetworkNumber.Eth],
|
|
916
|
+
label: '#60 (cbBTC / GHO)',
|
|
917
|
+
shortLabel: 'cbBTC/GHO',
|
|
918
|
+
value: FluidMainnetVersion.FLUID_CBBTC_GHO_60,
|
|
919
|
+
url: 'cbbtc-gho-60',
|
|
920
|
+
marketAddress: '0x81A0dD6c5DDB8474b483c31309b66d7173263CbB',
|
|
921
|
+
hasSmartCollateral: false,
|
|
922
|
+
hasSmartDebt: false,
|
|
923
|
+
collateralAsset0: 'cbBTC',
|
|
924
|
+
debtAsset0: 'GHO',
|
|
925
|
+
});
|
|
834
926
|
export const FLUID_GHO_USDC_GHO_USDC_61 = (networkId = NetworkNumber.Eth) => ({
|
|
835
927
|
stableBased: true,
|
|
836
928
|
btcBased: false,
|
|
@@ -1015,7 +1107,7 @@ export const FLUID_SUSDE_USDT_USDC_USDT_98 = (networkId = NetworkNumber.Eth) =>
|
|
|
1015
1107
|
shortLabel: 'sUSDe-USDT/USDC-USDT',
|
|
1016
1108
|
value: FluidMainnetVersion.FLUID_SUSDE_USDT_USDC_USDT_98,
|
|
1017
1109
|
url: 'susde-usdt-usdc-usdt-98',
|
|
1018
|
-
marketAddress: '',
|
|
1110
|
+
marketAddress: '0xB170B94BeFe21098966aa9905Da6a2F569463A21',
|
|
1019
1111
|
hasSmartCollateral: true,
|
|
1020
1112
|
hasSmartDebt: true,
|
|
1021
1113
|
collateralAsset0: 'sUSDe',
|
|
@@ -1035,7 +1127,7 @@ export const FLUID_USDE_USDT_USDC_USDT_99 = (networkId = NetworkNumber.Eth) => (
|
|
|
1035
1127
|
shortLabel: 'USDe-USDT/USDC-USDT',
|
|
1036
1128
|
value: FluidMainnetVersion.FLUID_USDE_USDT_USDC_USDT_99,
|
|
1037
1129
|
url: 'usde-usdt-usdc-usdt-99',
|
|
1038
|
-
marketAddress: '',
|
|
1130
|
+
marketAddress: '0xaEac94D417BF8d8bb3A44507100Ab8c0D3b12cA1',
|
|
1039
1131
|
hasSmartCollateral: true,
|
|
1040
1132
|
hasSmartDebt: true,
|
|
1041
1133
|
collateralAsset0: 'USDe',
|
|
@@ -1055,7 +1147,7 @@ export const FLUID_USDC_ETH_100 = (networkId = NetworkNumber.Eth) => ({
|
|
|
1055
1147
|
shortLabel: 'USDC/ETH',
|
|
1056
1148
|
value: FluidMainnetVersion.FLUID_USDC_ETH_100,
|
|
1057
1149
|
url: 'usdc-eth-100',
|
|
1058
|
-
marketAddress: '',
|
|
1150
|
+
marketAddress: '0x348aD11DB2c90e7FdF8e57420C569F76dBe38a59',
|
|
1059
1151
|
hasSmartCollateral: false,
|
|
1060
1152
|
hasSmartDebt: false,
|
|
1061
1153
|
collateralAsset0: 'USDC',
|
|
@@ -1073,7 +1165,7 @@ export const FLUID_USDC_WBTC_101 = (networkId = NetworkNumber.Eth) => ({
|
|
|
1073
1165
|
shortLabel: 'USDC/WBTC',
|
|
1074
1166
|
value: FluidMainnetVersion.FLUID_USDC_WBTC_101,
|
|
1075
1167
|
url: 'usdc-wbtc-101',
|
|
1076
|
-
marketAddress: '',
|
|
1168
|
+
marketAddress: '0xF140Ea1C1D657EaaB802FF7626dC220cD4007CE7',
|
|
1077
1169
|
hasSmartCollateral: false,
|
|
1078
1170
|
hasSmartDebt: false,
|
|
1079
1171
|
collateralAsset0: 'USDC',
|
|
@@ -1091,7 +1183,7 @@ export const FLUID_USDC_CBBTC_102 = (networkId = NetworkNumber.Eth) => ({
|
|
|
1091
1183
|
shortLabel: 'USDC/cbBTC',
|
|
1092
1184
|
value: FluidMainnetVersion.FLUID_USDC_CBBTC_102,
|
|
1093
1185
|
url: 'usdc-cbbtc-102',
|
|
1094
|
-
marketAddress: '',
|
|
1186
|
+
marketAddress: '0x1581f8C3De000b9A1cde85CaF68eC979D76a7b5E',
|
|
1095
1187
|
hasSmartCollateral: false,
|
|
1096
1188
|
hasSmartDebt: false,
|
|
1097
1189
|
collateralAsset0: 'USDC',
|
|
@@ -1109,7 +1201,7 @@ export const FLUID_EZETH_WSTETH_103 = (networkId = NetworkNumber.Eth) => ({
|
|
|
1109
1201
|
shortLabel: 'ezETH/wstETH',
|
|
1110
1202
|
value: FluidMainnetVersion.FLUID_EZETH_WSTETH_103,
|
|
1111
1203
|
url: 'ezeth-wsteth-103',
|
|
1112
|
-
marketAddress: '',
|
|
1204
|
+
marketAddress: '0x18D31F2E1374574DF8309F92305008Beb49d3618',
|
|
1113
1205
|
hasSmartCollateral: false,
|
|
1114
1206
|
hasSmartDebt: false,
|
|
1115
1207
|
collateralAsset0: 'ezETH',
|
|
@@ -1127,7 +1219,7 @@ export const FLUID_EZETH_ETH_WSTETH_104 = (networkId = NetworkNumber.Eth) => ({
|
|
|
1127
1219
|
shortLabel: 'ezETH-ETH/wstETH',
|
|
1128
1220
|
value: FluidMainnetVersion.FLUID_EZETH_ETH_WSTETH_104,
|
|
1129
1221
|
url: 'ezeth-eth-wsteth-104',
|
|
1130
|
-
marketAddress: '',
|
|
1222
|
+
marketAddress: '0x7ca57429d74EeDA2ae0AaE009277cB140d2B4901',
|
|
1131
1223
|
hasSmartCollateral: true,
|
|
1132
1224
|
hasSmartDebt: false,
|
|
1133
1225
|
collateralAsset0: 'ezETH',
|
|
@@ -1146,7 +1238,7 @@ export const FLUID_LBTC_USDC_107 = (networkId = NetworkNumber.Eth) => ({
|
|
|
1146
1238
|
shortLabel: 'LBTC/USDC',
|
|
1147
1239
|
value: FluidMainnetVersion.FLUID_LBTC_USDC_107,
|
|
1148
1240
|
url: 'lbtc-usdc-107',
|
|
1149
|
-
marketAddress: '',
|
|
1241
|
+
marketAddress: '0x9714427bd5A212EF6779EF46577771A39F55fA3D',
|
|
1150
1242
|
hasSmartCollateral: false,
|
|
1151
1243
|
hasSmartDebt: false,
|
|
1152
1244
|
collateralAsset0: 'LBTC',
|
|
@@ -1164,7 +1256,7 @@ export const FLUID_LBTC_USDT_108 = (networkId = NetworkNumber.Eth) => ({
|
|
|
1164
1256
|
shortLabel: 'LBTC/USDT',
|
|
1165
1257
|
value: FluidMainnetVersion.FLUID_LBTC_USDT_108,
|
|
1166
1258
|
url: 'lbtc-usdt-108',
|
|
1167
|
-
marketAddress: '',
|
|
1259
|
+
marketAddress: '0x9f64b16071387bcFD63A1EA7a518e22597575F14',
|
|
1168
1260
|
hasSmartCollateral: false,
|
|
1169
1261
|
hasSmartDebt: false,
|
|
1170
1262
|
collateralAsset0: 'LBTC',
|
|
@@ -1182,7 +1274,7 @@ export const FLUID_LBTC_GHO_109 = (networkId = NetworkNumber.Eth) => ({
|
|
|
1182
1274
|
shortLabel: 'LBTC/GHO',
|
|
1183
1275
|
value: FluidMainnetVersion.FLUID_LBTC_GHO_109,
|
|
1184
1276
|
url: 'lbtc-gho-109',
|
|
1185
|
-
marketAddress: '',
|
|
1277
|
+
marketAddress: '0x6388eEFD6b462662Ac295D7B436cbCa8651BEAf4',
|
|
1186
1278
|
hasSmartCollateral: false,
|
|
1187
1279
|
hasSmartDebt: false,
|
|
1188
1280
|
collateralAsset0: 'LBTC',
|
|
@@ -1200,7 +1292,7 @@ export const FLUID_LBTC_CBBTC_CBBTC_114 = (networkId = NetworkNumber.Eth) => ({
|
|
|
1200
1292
|
shortLabel: 'LBTC-cbBTC/cbBTC',
|
|
1201
1293
|
value: FluidMainnetVersion.FLUID_LBTC_CBBTC_CBBTC_114,
|
|
1202
1294
|
url: 'lbtc-cbbtc-cbbtc-114',
|
|
1203
|
-
marketAddress: '',
|
|
1295
|
+
marketAddress: '0x9f1F074EB64470f804b34E6948132b8aAE17028F',
|
|
1204
1296
|
hasSmartCollateral: true,
|
|
1205
1297
|
hasSmartDebt: false,
|
|
1206
1298
|
collateralAsset0: 'LBTC',
|
|
@@ -1219,7 +1311,7 @@ export const FLUID_WBTC_LBTC_WBTC_115 = (networkId = NetworkNumber.Eth) => ({
|
|
|
1219
1311
|
shortLabel: 'WBTC-LBTC/WBTC',
|
|
1220
1312
|
value: FluidMainnetVersion.FLUID_WBTC_LBTC_WBTC_115,
|
|
1221
1313
|
url: 'wbtc-lbtc-wbtc-115',
|
|
1222
|
-
marketAddress: '',
|
|
1314
|
+
marketAddress: '0x57A9f4e109EcEF8990BC794df0D159fb29861f2A',
|
|
1223
1315
|
hasSmartCollateral: true,
|
|
1224
1316
|
hasSmartDebt: false,
|
|
1225
1317
|
collateralAsset0: 'WBTC',
|
|
@@ -1679,7 +1771,7 @@ export const FLUID_SUSDS_USDC_USDT_30_ARB = (networkId = NetworkNumber.Eth) => (
|
|
|
1679
1771
|
shortLabel: 'sUSDS/USDC-USDT',
|
|
1680
1772
|
value: FluidArbitrumVersion.FLUID_SUSDS_USDC_USDT_30_ARB,
|
|
1681
1773
|
url: 'susds_usdc_usdt_30_arb',
|
|
1682
|
-
marketAddress: '',
|
|
1774
|
+
marketAddress: '0xE6b5D1CdC4935295c84772C4700932b4BFC93274',
|
|
1683
1775
|
hasSmartCollateral: false,
|
|
1684
1776
|
hasSmartDebt: true,
|
|
1685
1777
|
collateralAsset0: 'sUSDS',
|
|
@@ -1974,62 +2066,96 @@ export const FLUID_WSTETH_CBBTC_16_BASE = (networkId = NetworkNumber.Eth) => ({
|
|
|
1974
2066
|
collateralAsset0: 'wstETH',
|
|
1975
2067
|
debtAsset0: 'cbBTC',
|
|
1976
2068
|
});
|
|
1977
|
-
|
|
1978
|
-
|
|
1979
|
-
|
|
1980
|
-
|
|
1981
|
-
|
|
1982
|
-
|
|
1983
|
-
|
|
1984
|
-
|
|
1985
|
-
|
|
1986
|
-
|
|
1987
|
-
|
|
1988
|
-
|
|
1989
|
-
|
|
1990
|
-
|
|
1991
|
-
|
|
1992
|
-
|
|
1993
|
-
|
|
1994
|
-
|
|
1995
|
-
|
|
1996
|
-
|
|
1997
|
-
|
|
1998
|
-
|
|
1999
|
-
|
|
2000
|
-
|
|
2001
|
-
|
|
2002
|
-
|
|
2003
|
-
|
|
2004
|
-
|
|
2005
|
-
|
|
2006
|
-
|
|
2007
|
-
|
|
2008
|
-
|
|
2009
|
-
|
|
2010
|
-
|
|
2011
|
-
|
|
2012
|
-
|
|
2013
|
-
|
|
2014
|
-
|
|
2015
|
-
|
|
2016
|
-
|
|
2017
|
-
|
|
2018
|
-
|
|
2019
|
-
|
|
2020
|
-
|
|
2021
|
-
|
|
2022
|
-
|
|
2023
|
-
|
|
2024
|
-
|
|
2025
|
-
|
|
2026
|
-
|
|
2027
|
-
|
|
2028
|
-
|
|
2029
|
-
|
|
2030
|
-
|
|
2031
|
-
|
|
2032
|
-
|
|
2069
|
+
export const FLUID_ETH_SUSDS_17_BASE = (networkId = NetworkNumber.Eth) => ({
|
|
2070
|
+
stableBased: true,
|
|
2071
|
+
btcBased: false,
|
|
2072
|
+
wstETHBased: false,
|
|
2073
|
+
ethBased: true,
|
|
2074
|
+
type: FluidVaultType.T1,
|
|
2075
|
+
id: 17,
|
|
2076
|
+
chainIds: [NetworkNumber.Base],
|
|
2077
|
+
label: 'ETH / sUSDS Market 17',
|
|
2078
|
+
shortLabel: 'ETH/sUSDS',
|
|
2079
|
+
value: FluidBaseVersions.FLUID_ETH_SUSDS_17_BASE,
|
|
2080
|
+
url: 'eth-susds-17-base',
|
|
2081
|
+
marketAddress: '0x3996464c0fCCa8183e13ea5E5e74375e2c8744Dd',
|
|
2082
|
+
hasSmartCollateral: false,
|
|
2083
|
+
hasSmartDebt: false,
|
|
2084
|
+
collateralAsset0: 'ETH',
|
|
2085
|
+
debtAsset0: 'sSUDS',
|
|
2086
|
+
});
|
|
2087
|
+
export const FLUID_WSTETH_SUSDS_18_BASE = (networkId = NetworkNumber.Eth) => ({
|
|
2088
|
+
stableBased: true,
|
|
2089
|
+
btcBased: false,
|
|
2090
|
+
wstETHBased: true,
|
|
2091
|
+
ethBased: true,
|
|
2092
|
+
type: FluidVaultType.T1,
|
|
2093
|
+
id: 18,
|
|
2094
|
+
chainIds: [NetworkNumber.Base],
|
|
2095
|
+
label: 'wstETH / sUSDS Market 18',
|
|
2096
|
+
shortLabel: 'wstETH/sUSDS',
|
|
2097
|
+
value: FluidBaseVersions.FLUID_WSTETH_SUSDS_18_BASE,
|
|
2098
|
+
url: 'wsteth-susds-18-base',
|
|
2099
|
+
marketAddress: '0xBc345229C1b52e4c30530C614BB487323BA38Da5',
|
|
2100
|
+
hasSmartCollateral: false,
|
|
2101
|
+
hasSmartDebt: false,
|
|
2102
|
+
collateralAsset0: 'wstETH',
|
|
2103
|
+
debtAsset0: 'sUSDS',
|
|
2104
|
+
});
|
|
2105
|
+
export const FLUID_CBBTC_SUSDS_19_BASE = (networkId = NetworkNumber.Eth) => ({
|
|
2106
|
+
stableBased: true,
|
|
2107
|
+
btcBased: true,
|
|
2108
|
+
wstETHBased: false,
|
|
2109
|
+
ethBased: false,
|
|
2110
|
+
type: FluidVaultType.T1,
|
|
2111
|
+
id: 19,
|
|
2112
|
+
chainIds: [NetworkNumber.Base],
|
|
2113
|
+
label: 'cbBTC / sUSDS Market 19',
|
|
2114
|
+
shortLabel: 'cbBTC/sUSDS',
|
|
2115
|
+
value: FluidBaseVersions.FLUID_CBBTC_SUSDS_19_BASE,
|
|
2116
|
+
url: 'cbbtc-susds-19-base',
|
|
2117
|
+
marketAddress: '0xF2c8F54447cbd591C396b0Dd7ac15FAF552d0FA4',
|
|
2118
|
+
hasSmartCollateral: false,
|
|
2119
|
+
hasSmartDebt: false,
|
|
2120
|
+
collateralAsset0: 'cbBTC',
|
|
2121
|
+
debtAsset0: 'sUSDS',
|
|
2122
|
+
});
|
|
2123
|
+
export const FLUID_LBTC_USDC_21_BASE = (networkId = NetworkNumber.Eth) => ({
|
|
2124
|
+
stableBased: true,
|
|
2125
|
+
btcBased: true,
|
|
2126
|
+
wstETHBased: false,
|
|
2127
|
+
ethBased: false,
|
|
2128
|
+
type: FluidVaultType.T1,
|
|
2129
|
+
id: 21,
|
|
2130
|
+
chainIds: [NetworkNumber.Base],
|
|
2131
|
+
label: 'LBTC / USDC Market 21',
|
|
2132
|
+
shortLabel: 'LBTC/USDC',
|
|
2133
|
+
value: FluidBaseVersions.FLUID_LBTC_USDC_21_BASE,
|
|
2134
|
+
url: 'lbtc-usdc-21-base',
|
|
2135
|
+
marketAddress: '0x6F72895Cf6904489Bcd862c941c3D02a3eE4f03e',
|
|
2136
|
+
hasSmartCollateral: false,
|
|
2137
|
+
hasSmartDebt: false,
|
|
2138
|
+
collateralAsset0: 'LBTC',
|
|
2139
|
+
debtAsset0: 'USDC',
|
|
2140
|
+
});
|
|
2141
|
+
export const FLUID_LBTC_SUSDS_22_BASE = (networkId = NetworkNumber.Eth) => ({
|
|
2142
|
+
stableBased: true,
|
|
2143
|
+
btcBased: true,
|
|
2144
|
+
wstETHBased: false,
|
|
2145
|
+
ethBased: false,
|
|
2146
|
+
type: FluidVaultType.T1,
|
|
2147
|
+
id: 22,
|
|
2148
|
+
chainIds: [NetworkNumber.Base],
|
|
2149
|
+
label: 'LBTC / sUSDS Market 22',
|
|
2150
|
+
shortLabel: 'LBTC/sUSDS',
|
|
2151
|
+
value: FluidBaseVersions.FLUID_LBTC_SUSDS_22_BASE,
|
|
2152
|
+
url: 'lbtc-susds-22-base',
|
|
2153
|
+
marketAddress: '0x3A0b7c8840D74D39552EF53F586dD8c3d1234C40',
|
|
2154
|
+
hasSmartCollateral: false,
|
|
2155
|
+
hasSmartDebt: false,
|
|
2156
|
+
collateralAsset0: 'LBTC',
|
|
2157
|
+
debtAsset0: 'sUSDS',
|
|
2158
|
+
});
|
|
2033
2159
|
export const FluidMarkets = (networkId) => ({
|
|
2034
2160
|
[FluidMainnetVersion.FLUID_ETH_USDC_1]: FLUID_ETH_USDC_1(networkId),
|
|
2035
2161
|
[FluidMainnetVersion.FLUID_ETH_USDT_2]: FLUID_ETH_USDT_2(networkId),
|
|
@@ -2037,6 +2163,8 @@ export const FluidMarkets = (networkId) => ({
|
|
|
2037
2163
|
[FluidMainnetVersion.FLUID_WSTETH_USDC_4]: FLUID_WSTETH_USDC_4(networkId),
|
|
2038
2164
|
[FluidMainnetVersion.FLUID_WSTETH_USDT_5]: FLUID_WSTETH_USDT_5(networkId),
|
|
2039
2165
|
[FluidMainnetVersion.FLUID_WEETH_WSTETH_6]: FLUID_WEETH_WSTETH_6(networkId),
|
|
2166
|
+
[FluidMainnetVersion.FLUID_SUSDE_USDC_7]: FLUID_SUSDE_USDC_7(networkId),
|
|
2167
|
+
[FluidMainnetVersion.FLUID_SUSDE_USDT_8]: FLUID_SUSDE_USDT_8(networkId),
|
|
2040
2168
|
[FluidMainnetVersion.FLUID_WEETH_USDC_9]: FLUID_WEETH_USDC_9(networkId),
|
|
2041
2169
|
[FluidMainnetVersion.FLUID_WEETH_USDT_10]: FLUID_WEETH_USDT_10(networkId),
|
|
2042
2170
|
[FluidMainnetVersion.FLUID_ETH_USDC_11]: FLUID_ETH_USDC_11(networkId),
|
|
@@ -2061,6 +2189,7 @@ export const FluidMarkets = (networkId) => ({
|
|
|
2061
2189
|
[FluidMainnetVersion.FLUID_CBBTC_USDT_30]: FLUID_CBBTC_USDT_30(networkId),
|
|
2062
2190
|
[FluidMainnetVersion.FLUID_ETH_CBBTC_31]: FLUID_ETH_CBBTC_31(networkId),
|
|
2063
2191
|
[FluidMainnetVersion.FLUID_WEETH_CBBTC_32]: FLUID_WEETH_CBBTC_32(networkId),
|
|
2192
|
+
[FluidMainnetVersion.FLUID_WSTETH_CBBTC_33]: FLUID_WSTETH_CBBTC_33(networkId),
|
|
2064
2193
|
[FluidMainnetVersion.FLUID_WSTETH_ETH_WSTETH_ETH_44]: FLUID_WSTETH_ETH_WSTETH_ETH_44(networkId),
|
|
2065
2194
|
[FluidMainnetVersion.FLUID_ETH_USDC_USDT_45]: FLUID_ETH_USDC_USDT_45(networkId),
|
|
2066
2195
|
[FluidMainnetVersion.FLUID_WSTETH_USDC_USDT_46]: FLUID_WSTETH_USDC_USDT_46(networkId),
|
|
@@ -2076,6 +2205,8 @@ export const FluidMarkets = (networkId) => ({
|
|
|
2076
2205
|
[FluidMainnetVersion.FLUID_SUSDE_GHO_56]: FLUID_SUSDE_GHO_56(networkId),
|
|
2077
2206
|
[FluidMainnetVersion.FLUID_WEETH_GHO_57]: FLUID_WEETH_GHO_57(networkId),
|
|
2078
2207
|
[FluidMainnetVersion.FLUID_SUSDS_GHO_58]: FLUID_SUSDS_GHO_58(networkId),
|
|
2208
|
+
[FluidMainnetVersion.FLUID_WBTC_GHO_59]: FLUID_WBTC_GHO_59(networkId),
|
|
2209
|
+
[FluidMainnetVersion.FLUID_CBBTC_GHO_60]: FLUID_CBBTC_GHO_60(networkId),
|
|
2079
2210
|
[FluidMainnetVersion.FLUID_GHO_USDC_GHO_USDC_61]: FLUID_GHO_USDC_GHO_USDC_61(networkId),
|
|
2080
2211
|
[FluidMainnetVersion.FLUID_WEETH_ETH_WSTETH_74]: FLUID_WEETH_ETH_WSTETH_74(networkId),
|
|
2081
2212
|
[FluidMainnetVersion.FLUID_USDC_ETH_USDC_ETH_77]: FLUID_USDC_ETH_USDC_ETH_77(networkId),
|
|
@@ -2140,6 +2271,11 @@ export const FluidMarkets = (networkId) => ({
|
|
|
2140
2271
|
[FluidBaseVersions.FLUID_ETH_CBBTC_14_BASE]: FLUID_ETH_CBBTC_14_BASE(networkId),
|
|
2141
2272
|
[FluidBaseVersions.FLUID_WEETH_CBBTC_15_BASE]: FLUID_WEETH_CBBTC_15_BASE(networkId),
|
|
2142
2273
|
[FluidBaseVersions.FLUID_WSTETH_CBBTC_16_BASE]: FLUID_WSTETH_CBBTC_16_BASE(networkId),
|
|
2274
|
+
[FluidBaseVersions.FLUID_ETH_SUSDS_17_BASE]: FLUID_ETH_SUSDS_17_BASE(networkId),
|
|
2275
|
+
[FluidBaseVersions.FLUID_WSTETH_SUSDS_18_BASE]: FLUID_WSTETH_SUSDS_18_BASE(networkId),
|
|
2276
|
+
[FluidBaseVersions.FLUID_CBBTC_SUSDS_19_BASE]: FLUID_CBBTC_SUSDS_19_BASE(networkId),
|
|
2277
|
+
[FluidBaseVersions.FLUID_LBTC_USDC_21_BASE]: FLUID_LBTC_USDC_21_BASE(networkId),
|
|
2278
|
+
[FluidBaseVersions.FLUID_LBTC_SUSDS_22_BASE]: FLUID_LBTC_SUSDS_22_BASE(networkId),
|
|
2143
2279
|
});
|
|
2144
2280
|
export const getFluidVersionsDataForNetwork = (network) => (Object.values(FluidMarkets(network)).filter(({ chainIds, marketAddress }) => !!marketAddress && chainIds.includes(network)));
|
|
2145
2281
|
export const getFluidMarketInfoById = (vaultId, network = 1) => getFluidVersionsDataForNetwork(network).find(({ id }) => id === vaultId);
|