@defisaver/positions-sdk 2.1.65 → 2.1.68-dev
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.d.ts +2 -2
- package/cjs/config/contracts.js +2 -2
- package/cjs/markets/morphoBlue/index.d.ts +29 -0
- package/cjs/markets/morphoBlue/index.js +258 -4
- package/cjs/types/morphoBlue.d.ts +15 -0
- package/cjs/types/morphoBlue.js +15 -0
- package/esm/config/contracts.d.ts +2 -2
- package/esm/config/contracts.js +2 -2
- package/esm/markets/morphoBlue/index.d.ts +29 -0
- package/esm/markets/morphoBlue/index.js +241 -2
- package/esm/types/morphoBlue.d.ts +15 -0
- package/esm/types/morphoBlue.js +15 -0
- package/package.json +1 -1
- package/src/config/contracts.ts +2 -2
- package/src/markets/morphoBlue/index.ts +252 -3
- package/src/types/morphoBlue.ts +16 -0
|
@@ -55585,8 +55585,8 @@ export declare const AaveLoanInfoV2: {
|
|
|
55585
55585
|
}];
|
|
55586
55586
|
readonly networks: {
|
|
55587
55587
|
readonly "1": {
|
|
55588
|
-
readonly address: "
|
|
55589
|
-
readonly createdBlock:
|
|
55588
|
+
readonly address: "0x9ec780f37b0f66f0c7bafd0204588db374ae59be";
|
|
55589
|
+
readonly createdBlock: 24454294;
|
|
55590
55590
|
readonly oldVersions: {
|
|
55591
55591
|
readonly "20368468": {
|
|
55592
55592
|
readonly abi: readonly [{
|
package/cjs/config/contracts.js
CHANGED
|
@@ -586,8 +586,8 @@ exports.AaveLoanInfoV2 = {
|
|
|
586
586
|
"abi": [{ "inputs": [], "name": "AAVE_REFERRAL_CODE", "outputs": [{ "internalType": "uint16", "name": "", "type": "uint16" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "AaveIncentivesController", "outputs": [{ "internalType": "contract IAaveIncentivesController", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "DATA_PROVIDER_ID", "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "StakedToken", "outputs": [{ "internalType": "contract IStakedToken", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_market", "type": "address" }, { "internalType": "address", "name": "_tokenAddr", "type": "address" }, { "internalType": "bool", "name": "_useAsCollateral", "type": "bool" }], "name": "enableAsCollateral", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_market", "type": "address" }, { "components": [{ "internalType": "address", "name": "reserveAddress", "type": "address" }, { "internalType": "uint256", "name": "liquidityAdded", "type": "uint256" }, { "internalType": "uint256", "name": "liquidityTaken", "type": "uint256" }, { "internalType": "bool", "name": "isDebtAsset", "type": "bool" }], "internalType": "struct AaveView.LiquidityChangeParams[]", "name": "_reserveParams", "type": "tuple[]" }], "name": "getApyAfterValuesEstimation", "outputs": [{ "components": [{ "internalType": "address", "name": "reserveAddress", "type": "address" }, { "internalType": "uint256", "name": "supplyRate", "type": "uint256" }, { "internalType": "uint256", "name": "variableBorrowRate", "type": "uint256" }], "internalType": "struct AaveView.EstimatedRates[]", "name": "", "type": "tuple[]" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_market", "type": "address" }, { "internalType": "address[]", "name": "_tokens", "type": "address[]" }], "name": "getCollFactors", "outputs": [{ "internalType": "uint256[]", "name": "collFactors", "type": "uint256[]" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_market", "type": "address" }, { "internalType": "address[]", "name": "_tokenAddresses", "type": "address[]" }], "name": "getFullTokensInfo", "outputs": [{ "components": [{ "internalType": "address", "name": "aTokenAddress", "type": "address" }, { "internalType": "address", "name": "underlyingTokenAddress", "type": "address" }, { "internalType": "uint256", "name": "supplyRate", "type": "uint256" }, { "internalType": "uint256", "name": "borrowRateVariable", "type": "uint256" }, { "internalType": "uint256", "name": "borrowRateStable", "type": "uint256" }, { "internalType": "uint256", "name": "totalSupply", "type": "uint256" }, { "internalType": "uint256", "name": "availableLiquidity", "type": "uint256" }, { "internalType": "uint256", "name": "totalBorrow", "type": "uint256" }, { "internalType": "uint256", "name": "collateralFactor", "type": "uint256" }, { "internalType": "uint256", "name": "liquidationRatio", "type": "uint256" }, { "internalType": "uint256", "name": "price", "type": "uint256" }, { "internalType": "uint256", "name": "totalBorrowVar", "type": "uint256" }, { "internalType": "uint256", "name": "totalBorrowStab", "type": "uint256" }, { "internalType": "bool", "name": "isActive", "type": "bool" }, { "internalType": "bool", "name": "isFrozen", "type": "bool" }, { "internalType": "bool", "name": "usageAsCollateralEnabled", "type": "bool" }, { "internalType": "bool", "name": "borrowingEnabled", "type": "bool" }, { "internalType": "bool", "name": "stableBorrowRateEnabled", "type": "bool" }], "internalType": "struct AaveView.TokenInfoFull[]", "name": "tokens", "type": "tuple[]" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address[]", "name": "_assets", "type": "address[]" }, { "internalType": "address", "name": "_user", "type": "address" }], "name": "getIncentivesRewardsBalance", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_market", "type": "address" }, { "internalType": "address", "name": "_user", "type": "address" }], "name": "getLoanData", "outputs": [{ "components": [{ "internalType": "address", "name": "user", "type": "address" }, { "internalType": "uint128", "name": "ratio", "type": "uint128" }, { "internalType": "address[]", "name": "collAddr", "type": "address[]" }, { "internalType": "bool[]", "name": "enabledAsColl", "type": "bool[]" }, { "internalType": "address[]", "name": "borrowAddr", "type": "address[]" }, { "internalType": "uint256[]", "name": "collAmounts", "type": "uint256[]" }, { "internalType": "uint256[]", "name": "borrowStableAmounts", "type": "uint256[]" }, { "internalType": "uint256[]", "name": "borrowVariableAmounts", "type": "uint256[]" }], "internalType": "struct AaveView.LoanData", "name": "data", "type": "tuple" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_market", "type": "address" }, { "internalType": "address[]", "name": "_users", "type": "address[]" }], "name": "getLoanDataArr", "outputs": [{ "components": [{ "internalType": "address", "name": "user", "type": "address" }, { "internalType": "uint128", "name": "ratio", "type": "uint128" }, { "internalType": "address[]", "name": "collAddr", "type": "address[]" }, { "internalType": "bool[]", "name": "enabledAsColl", "type": "bool[]" }, { "internalType": "address[]", "name": "borrowAddr", "type": "address[]" }, { "internalType": "uint256[]", "name": "collAmounts", "type": "uint256[]" }, { "internalType": "uint256[]", "name": "borrowStableAmounts", "type": "uint256[]" }, { "internalType": "uint256[]", "name": "borrowVariableAmounts", "type": "uint256[]" }], "internalType": "struct AaveView.LoanData[]", "name": "loans", "type": "tuple[]" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_market", "type": "address" }, { "internalType": "address[]", "name": "_tokens", "type": "address[]" }], "name": "getPrices", "outputs": [{ "internalType": "uint256[]", "name": "prices", "type": "uint256[]" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_market", "type": "address" }, { "internalType": "address", "name": "_user", "type": "address" }], "name": "getRatio", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_market", "type": "address" }, { "internalType": "address[]", "name": "_users", "type": "address[]" }], "name": "getRatios", "outputs": [{ "internalType": "uint256[]", "name": "ratios", "type": "uint256[]" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_market", "type": "address" }, { "internalType": "address", "name": "_user", "type": "address" }], "name": "getSafetyRatio", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_staker", "type": "address" }], "name": "getStakingRewardsBalance", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_market", "type": "address" }, { "internalType": "address", "name": "_user", "type": "address" }, { "internalType": "address[]", "name": "_tokens", "type": "address[]" }], "name": "getTokenBalances", "outputs": [{ "components": [{ "internalType": "address", "name": "token", "type": "address" }, { "internalType": "uint256", "name": "balance", "type": "uint256" }, { "internalType": "uint256", "name": "borrowsStable", "type": "uint256" }, { "internalType": "uint256", "name": "borrowsVariable", "type": "uint256" }, { "internalType": "uint256", "name": "stableBorrowRate", "type": "uint256" }, { "internalType": "bool", "name": "enabledAsCollateral", "type": "bool" }], "internalType": "struct AaveView.UserToken[]", "name": "userTokens", "type": "tuple[]" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "contract IAaveProtocolDataProviderV2", "name": "_dataProvider", "type": "address" }, { "internalType": "address", "name": "_priceOracleAddress", "type": "address" }, { "internalType": "address", "name": "_token", "type": "address" }], "name": "getTokenInfoFull", "outputs": [{ "components": [{ "internalType": "address", "name": "aTokenAddress", "type": "address" }, { "internalType": "address", "name": "underlyingTokenAddress", "type": "address" }, { "internalType": "uint256", "name": "supplyRate", "type": "uint256" }, { "internalType": "uint256", "name": "borrowRateVariable", "type": "uint256" }, { "internalType": "uint256", "name": "borrowRateStable", "type": "uint256" }, { "internalType": "uint256", "name": "totalSupply", "type": "uint256" }, { "internalType": "uint256", "name": "availableLiquidity", "type": "uint256" }, { "internalType": "uint256", "name": "totalBorrow", "type": "uint256" }, { "internalType": "uint256", "name": "collateralFactor", "type": "uint256" }, { "internalType": "uint256", "name": "liquidationRatio", "type": "uint256" }, { "internalType": "uint256", "name": "price", "type": "uint256" }, { "internalType": "uint256", "name": "totalBorrowVar", "type": "uint256" }, { "internalType": "uint256", "name": "totalBorrowStab", "type": "uint256" }, { "internalType": "bool", "name": "isActive", "type": "bool" }, { "internalType": "bool", "name": "isFrozen", "type": "bool" }, { "internalType": "bool", "name": "usageAsCollateralEnabled", "type": "bool" }, { "internalType": "bool", "name": "borrowingEnabled", "type": "bool" }, { "internalType": "bool", "name": "stableBorrowRateEnabled", "type": "bool" }], "internalType": "struct AaveView.TokenInfoFull", "name": "_tokenInfo", "type": "tuple" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_market", "type": "address" }, { "internalType": "address[]", "name": "_tokenAddresses", "type": "address[]" }], "name": "getTokensInfo", "outputs": [{ "components": [{ "internalType": "address", "name": "aTokenAddress", "type": "address" }, { "internalType": "address", "name": "underlyingTokenAddress", "type": "address" }, { "internalType": "uint256", "name": "collateralFactor", "type": "uint256" }, { "internalType": "uint256", "name": "price", "type": "uint256" }], "internalType": "struct AaveView.TokenInfo[]", "name": "tokens", "type": "tuple[]" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_user", "type": "address" }], "name": "getUserUnclaimedRewards", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }],
|
|
587
587
|
"networks": {
|
|
588
588
|
"1": {
|
|
589
|
-
"address": "
|
|
590
|
-
"createdBlock":
|
|
589
|
+
"address": "0x9ec780f37b0f66f0c7bafd0204588db374ae59be",
|
|
590
|
+
"createdBlock": 24454294,
|
|
591
591
|
"oldVersions": {
|
|
592
592
|
"20368468": {
|
|
593
593
|
"abi": [{ "inputs": [], "name": "AAVE_REFERRAL_CODE", "outputs": [{ "internalType": "uint16", "name": "", "type": "uint16" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "AaveIncentivesController", "outputs": [{ "internalType": "contract IAaveIncentivesController", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "DATA_PROVIDER_ID", "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "StakedToken", "outputs": [{ "internalType": "contract IStakedToken", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_market", "type": "address" }, { "internalType": "address", "name": "_tokenAddr", "type": "address" }, { "internalType": "bool", "name": "_useAsCollateral", "type": "bool" }], "name": "enableAsCollateral", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_market", "type": "address" }, { "components": [{ "internalType": "address", "name": "reserveAddress", "type": "address" }, { "internalType": "uint256", "name": "liquidityAdded", "type": "uint256" }, { "internalType": "uint256", "name": "liquidityTaken", "type": "uint256" }, { "internalType": "bool", "name": "isDebtAsset", "type": "bool" }], "internalType": "struct AaveView.LiquidityChangeParams[]", "name": "_reserveParams", "type": "tuple[]" }], "name": "getApyAfterValuesEstimation", "outputs": [{ "components": [{ "internalType": "address", "name": "reserveAddress", "type": "address" }, { "internalType": "uint256", "name": "supplyRate", "type": "uint256" }, { "internalType": "uint256", "name": "variableBorrowRate", "type": "uint256" }], "internalType": "struct AaveView.EstimatedRates[]", "name": "", "type": "tuple[]" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_market", "type": "address" }, { "internalType": "address[]", "name": "_tokens", "type": "address[]" }], "name": "getCollFactors", "outputs": [{ "internalType": "uint256[]", "name": "collFactors", "type": "uint256[]" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_market", "type": "address" }, { "internalType": "address[]", "name": "_tokenAddresses", "type": "address[]" }], "name": "getFullTokensInfo", "outputs": [{ "components": [{ "internalType": "address", "name": "aTokenAddress", "type": "address" }, { "internalType": "address", "name": "underlyingTokenAddress", "type": "address" }, { "internalType": "uint256", "name": "supplyRate", "type": "uint256" }, { "internalType": "uint256", "name": "borrowRateVariable", "type": "uint256" }, { "internalType": "uint256", "name": "borrowRateStable", "type": "uint256" }, { "internalType": "uint256", "name": "totalSupply", "type": "uint256" }, { "internalType": "uint256", "name": "availableLiquidity", "type": "uint256" }, { "internalType": "uint256", "name": "totalBorrow", "type": "uint256" }, { "internalType": "uint256", "name": "collateralFactor", "type": "uint256" }, { "internalType": "uint256", "name": "liquidationRatio", "type": "uint256" }, { "internalType": "uint256", "name": "price", "type": "uint256" }, { "internalType": "uint256", "name": "totalBorrowVar", "type": "uint256" }, { "internalType": "uint256", "name": "totalBorrowStab", "type": "uint256" }, { "internalType": "bool", "name": "isActive", "type": "bool" }, { "internalType": "bool", "name": "isFrozen", "type": "bool" }, { "internalType": "bool", "name": "usageAsCollateralEnabled", "type": "bool" }, { "internalType": "bool", "name": "borrowingEnabled", "type": "bool" }, { "internalType": "bool", "name": "stableBorrowRateEnabled", "type": "bool" }], "internalType": "struct AaveView.TokenInfoFull[]", "name": "tokens", "type": "tuple[]" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address[]", "name": "_assets", "type": "address[]" }, { "internalType": "address", "name": "_user", "type": "address" }], "name": "getIncentivesRewardsBalance", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_market", "type": "address" }, { "internalType": "address", "name": "_user", "type": "address" }], "name": "getLoanData", "outputs": [{ "components": [{ "internalType": "address", "name": "user", "type": "address" }, { "internalType": "uint128", "name": "ratio", "type": "uint128" }, { "internalType": "address[]", "name": "collAddr", "type": "address[]" }, { "internalType": "bool[]", "name": "enabledAsColl", "type": "bool[]" }, { "internalType": "address[]", "name": "borrowAddr", "type": "address[]" }, { "internalType": "uint256[]", "name": "collAmounts", "type": "uint256[]" }, { "internalType": "uint256[]", "name": "borrowStableAmounts", "type": "uint256[]" }, { "internalType": "uint256[]", "name": "borrowVariableAmounts", "type": "uint256[]" }], "internalType": "struct AaveView.LoanData", "name": "data", "type": "tuple" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_market", "type": "address" }, { "internalType": "address[]", "name": "_users", "type": "address[]" }], "name": "getLoanDataArr", "outputs": [{ "components": [{ "internalType": "address", "name": "user", "type": "address" }, { "internalType": "uint128", "name": "ratio", "type": "uint128" }, { "internalType": "address[]", "name": "collAddr", "type": "address[]" }, { "internalType": "bool[]", "name": "enabledAsColl", "type": "bool[]" }, { "internalType": "address[]", "name": "borrowAddr", "type": "address[]" }, { "internalType": "uint256[]", "name": "collAmounts", "type": "uint256[]" }, { "internalType": "uint256[]", "name": "borrowStableAmounts", "type": "uint256[]" }, { "internalType": "uint256[]", "name": "borrowVariableAmounts", "type": "uint256[]" }], "internalType": "struct AaveView.LoanData[]", "name": "loans", "type": "tuple[]" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_market", "type": "address" }, { "internalType": "address[]", "name": "_tokens", "type": "address[]" }], "name": "getPrices", "outputs": [{ "internalType": "uint256[]", "name": "prices", "type": "uint256[]" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_market", "type": "address" }, { "internalType": "address", "name": "_user", "type": "address" }], "name": "getRatio", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_market", "type": "address" }, { "internalType": "address[]", "name": "_users", "type": "address[]" }], "name": "getRatios", "outputs": [{ "internalType": "uint256[]", "name": "ratios", "type": "uint256[]" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_market", "type": "address" }, { "internalType": "address", "name": "_user", "type": "address" }], "name": "getSafetyRatio", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_staker", "type": "address" }], "name": "getStakingRewardsBalance", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_market", "type": "address" }, { "internalType": "address", "name": "_user", "type": "address" }, { "internalType": "address[]", "name": "_tokens", "type": "address[]" }], "name": "getTokenBalances", "outputs": [{ "components": [{ "internalType": "address", "name": "token", "type": "address" }, { "internalType": "uint256", "name": "balance", "type": "uint256" }, { "internalType": "uint256", "name": "borrowsStable", "type": "uint256" }, { "internalType": "uint256", "name": "borrowsVariable", "type": "uint256" }, { "internalType": "uint256", "name": "stableBorrowRate", "type": "uint256" }, { "internalType": "bool", "name": "enabledAsCollateral", "type": "bool" }], "internalType": "struct AaveView.UserToken[]", "name": "userTokens", "type": "tuple[]" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "contract IAaveProtocolDataProviderV2", "name": "_dataProvider", "type": "address" }, { "internalType": "address", "name": "_priceOracleAddress", "type": "address" }, { "internalType": "address", "name": "_token", "type": "address" }], "name": "getTokenInfoFull", "outputs": [{ "components": [{ "internalType": "address", "name": "aTokenAddress", "type": "address" }, { "internalType": "address", "name": "underlyingTokenAddress", "type": "address" }, { "internalType": "uint256", "name": "supplyRate", "type": "uint256" }, { "internalType": "uint256", "name": "borrowRateVariable", "type": "uint256" }, { "internalType": "uint256", "name": "borrowRateStable", "type": "uint256" }, { "internalType": "uint256", "name": "totalSupply", "type": "uint256" }, { "internalType": "uint256", "name": "availableLiquidity", "type": "uint256" }, { "internalType": "uint256", "name": "totalBorrow", "type": "uint256" }, { "internalType": "uint256", "name": "collateralFactor", "type": "uint256" }, { "internalType": "uint256", "name": "liquidationRatio", "type": "uint256" }, { "internalType": "uint256", "name": "price", "type": "uint256" }, { "internalType": "uint256", "name": "totalBorrowVar", "type": "uint256" }, { "internalType": "uint256", "name": "totalBorrowStab", "type": "uint256" }, { "internalType": "bool", "name": "isActive", "type": "bool" }, { "internalType": "bool", "name": "isFrozen", "type": "bool" }, { "internalType": "bool", "name": "usageAsCollateralEnabled", "type": "bool" }, { "internalType": "bool", "name": "borrowingEnabled", "type": "bool" }, { "internalType": "bool", "name": "stableBorrowRateEnabled", "type": "bool" }], "internalType": "struct AaveView.TokenInfoFull", "name": "_tokenInfo", "type": "tuple" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_market", "type": "address" }, { "internalType": "address[]", "name": "_tokenAddresses", "type": "address[]" }], "name": "getTokensInfo", "outputs": [{ "components": [{ "internalType": "address", "name": "aTokenAddress", "type": "address" }, { "internalType": "address", "name": "underlyingTokenAddress", "type": "address" }, { "internalType": "uint256", "name": "collateralFactor", "type": "uint256" }, { "internalType": "uint256", "name": "price", "type": "uint256" }], "internalType": "struct AaveView.TokenInfo[]", "name": "tokens", "type": "tuple[]" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_user", "type": "address" }], "name": "getUserUnclaimedRewards", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_market", "type": "address" }, { "internalType": "address", "name": "_tokenAddr", "type": "address" }, { "internalType": "uint256", "name": "_rateMode", "type": "uint256" }], "name": "switchRateMode", "outputs": [], "stateMutability": "nonpayable", "type": "function" }],
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { MorphoBlueMarketData } from '../../types';
|
|
2
2
|
import { NetworkNumber } from '../../types/common';
|
|
3
3
|
export declare const MORPHO_BLUE_WSTETH_USDC: (networkId?: NetworkNumber) => MorphoBlueMarketData;
|
|
4
|
+
export declare const MORPHO_BLUE_WEETH_ETH: (networkId?: NetworkNumber) => MorphoBlueMarketData;
|
|
4
5
|
export declare const MORPHO_BLUE_SDAI_USDC: (networkId?: NetworkNumber) => MorphoBlueMarketData;
|
|
5
6
|
export declare const MORPHO_BLUE_WBTC_USDC: (networkId?: NetworkNumber) => MorphoBlueMarketData;
|
|
7
|
+
export declare const MORPHO_BLUE_ETH_USDC_915: (networkId?: NetworkNumber) => MorphoBlueMarketData;
|
|
6
8
|
export declare const MORPHO_BLUE_ETH_USDC: (networkId?: NetworkNumber) => MorphoBlueMarketData;
|
|
7
9
|
export declare const MORPHO_BLUE_WBTC_USDT: (networkId?: NetworkNumber) => MorphoBlueMarketData;
|
|
8
10
|
export declare const MORPHO_BLUE_WBTC_PYUSD: (networkId?: NetworkNumber) => MorphoBlueMarketData;
|
|
@@ -13,6 +15,7 @@ export declare const MORPHO_BLUE_WSTETH_PYUSD: (networkId?: NetworkNumber) => Mo
|
|
|
13
15
|
export declare const MORPHO_BLUE_USDE_USDT: (networkId?: NetworkNumber) => MorphoBlueMarketData;
|
|
14
16
|
export declare const MORPHO_BLUE_SUSDE_USDT: (networkId?: NetworkNumber) => MorphoBlueMarketData;
|
|
15
17
|
export declare const MORPHO_BLUE_MKR_USDC: (networkId?: NetworkNumber) => MorphoBlueMarketData;
|
|
18
|
+
export declare const MORPHO_BLUE_MKR_DAI: (networkId?: NetworkNumber) => MorphoBlueMarketData;
|
|
16
19
|
export declare const MORPHO_BLUE_TBTC_USDC: (networkId?: NetworkNumber) => MorphoBlueMarketData;
|
|
17
20
|
export declare const MORPHO_BLUE_CBBTC_ETH_915: (networkId?: NetworkNumber) => MorphoBlueMarketData;
|
|
18
21
|
export declare const MORPHO_BLUE_CBBTC_USDC_860: (networkId?: NetworkNumber) => MorphoBlueMarketData;
|
|
@@ -21,6 +24,7 @@ export declare const MORPHO_BLUE_SUSDE_USDTB_915: (networkId?: NetworkNumber) =>
|
|
|
21
24
|
export declare const MORPHO_BLUE_USDE_USDTB_915: (networkId?: NetworkNumber) => MorphoBlueMarketData;
|
|
22
25
|
export declare const MORPHO_BLUE_ETH_USDT_915: (networkId?: NetworkNumber) => MorphoBlueMarketData;
|
|
23
26
|
export declare const MORPHO_BLUE_RSETH_ETH_945: (networkId?: NetworkNumber) => MorphoBlueMarketData;
|
|
27
|
+
export declare const MORPHO_BLUE_RSETH_ETH_860: (networkId?: NetworkNumber) => MorphoBlueMarketData;
|
|
24
28
|
export declare const MORPHO_BLUE_RSWETH_ETH_945: (networkId?: NetworkNumber) => MorphoBlueMarketData;
|
|
25
29
|
export declare const MORPHO_BLUE_EZETH_ETH_860: (networkId?: NetworkNumber) => MorphoBlueMarketData;
|
|
26
30
|
export declare const MORPHO_BLUE_EZETH_ETH_945: (networkId?: NetworkNumber) => MorphoBlueMarketData;
|
|
@@ -31,8 +35,11 @@ export declare const MORPHO_BLUE_WSTETH_ETH_965_EXCHANGE_RATE: (networkId?: Netw
|
|
|
31
35
|
export declare const MORPHO_BLUE_SUSDE_DAI_860: (networkId?: NetworkNumber) => MorphoBlueMarketData;
|
|
32
36
|
export declare const MORPHO_BLUE_SUSDE_DAI_915: (networkId?: NetworkNumber) => MorphoBlueMarketData;
|
|
33
37
|
export declare const MORPHO_BLUE_SUSDE_DAI_945: (networkId?: NetworkNumber) => MorphoBlueMarketData;
|
|
38
|
+
export declare const MORPHO_BLUE_SUSDE_DAI_777: (networkId?: NetworkNumber) => MorphoBlueMarketData;
|
|
34
39
|
export declare const MORPHO_BLUE_USDE_DAI_860: (networkId?: NetworkNumber) => MorphoBlueMarketData;
|
|
35
40
|
export declare const MORPHO_BLUE_USDE_DAI_915: (networkId?: NetworkNumber) => MorphoBlueMarketData;
|
|
41
|
+
export declare const MORPHO_BLUE_USDE_DAI_945: (networkId?: NetworkNumber) => MorphoBlueMarketData;
|
|
42
|
+
export declare const MORPHO_BLUE_USDE_DAI_777: (networkId?: NetworkNumber) => MorphoBlueMarketData;
|
|
36
43
|
export declare const MORPHO_BLUE_USR_USDC_915: (networkId?: NetworkNumber) => MorphoBlueMarketData;
|
|
37
44
|
export declare const MORPHO_BLUE_SYRUPUSDC_USDC_915: (networkId?: NetworkNumber) => MorphoBlueMarketData;
|
|
38
45
|
export declare const MORPHO_BLUE_LBTC_USDC_860: (networkId?: NetworkNumber) => MorphoBlueMarketData;
|
|
@@ -52,6 +59,7 @@ export declare const MORPHO_BLUE_RETH_USDC_860_BASE: (networkId?: NetworkNumber)
|
|
|
52
59
|
export declare const MORPHO_BLUE_RETH_ETH_945_BASE: (networkId?: NetworkNumber) => MorphoBlueMarketData;
|
|
53
60
|
export declare const MORPHO_BLUE_CBBTC_ETH_915_BASE: (networkId?: NetworkNumber) => MorphoBlueMarketData;
|
|
54
61
|
export declare const MORPHO_BLUE_CBBTC_USDC_860_BASE: (networkId?: NetworkNumber) => MorphoBlueMarketData;
|
|
62
|
+
export declare const MORPHO_BLUE_BSDETH_ETH_BASE: (networkId?: NetworkNumber) => MorphoBlueMarketData;
|
|
55
63
|
export declare const MORPHO_BLUE_WSUPEROETHB_WETH_915_BASE: (networkId?: NetworkNumber) => MorphoBlueMarketData;
|
|
56
64
|
export declare const MORPHO_BLUE_LBTC_WBTC_945: (networkId?: NetworkNumber) => MorphoBlueMarketData;
|
|
57
65
|
export declare const MORPHO_BLUE_LBTC_CBBTC_945_BASE: (networkId?: NetworkNumber) => MorphoBlueMarketData;
|
|
@@ -60,17 +68,25 @@ export declare const MORPHO_BLUE_CBBTC_EURC_860_BASE: (networkId?: NetworkNumber
|
|
|
60
68
|
export declare const MORPHO_BLUE_WETH_EURC_860_BASE: (networkId?: NetworkNumber) => MorphoBlueMarketData;
|
|
61
69
|
export declare const MORPHO_BLUE_CBETH_EURC_860_BASE: (networkId?: NetworkNumber) => MorphoBlueMarketData;
|
|
62
70
|
export declare const MORPHO_BLUE_WEETH_ETH_915_BASE: (networkId?: NetworkNumber) => MorphoBlueMarketData;
|
|
71
|
+
export declare const MORPHO_BLUE_WEETH_USDC_BASE: (networkId?: NetworkNumber) => MorphoBlueMarketData;
|
|
63
72
|
export declare const MORPHO_BLUE_WEETH_ETH_945_BASE: (networkId?: NetworkNumber) => MorphoBlueMarketData;
|
|
73
|
+
export declare const MORPHO_BLUE_EZETH_USDC_BASE: (networkId?: NetworkNumber) => MorphoBlueMarketData;
|
|
74
|
+
export declare const MORPHO_BLUE_EZETH_ETH_BASE: (networkId?: NetworkNumber) => MorphoBlueMarketData;
|
|
64
75
|
export declare const MORPHO_BLUE_AERO_USDC_625_BASE: (networkId?: NetworkNumber) => MorphoBlueMarketData;
|
|
65
76
|
export declare const MORPHO_BLUE_SYRUPUSDC_USDC_915_ARB: (networkId?: NetworkNumber) => MorphoBlueMarketData;
|
|
66
77
|
export declare const MorphoBlueWBTCUSDC_860_Arb: (networkId?: NetworkNumber) => MorphoBlueMarketData;
|
|
67
78
|
export declare const MORPHO_BLUE_WSTETH_USDC_860_ARB: (networkId?: NetworkNumber) => MorphoBlueMarketData;
|
|
68
79
|
export declare const MORPHO_BLUE_ETH_USDC_860_ARB: (networkId?: NetworkNumber) => MorphoBlueMarketData;
|
|
69
80
|
export declare const MORPHO_BLUE_SUSDS_USDC_945_ARB: (networkId?: NetworkNumber) => MorphoBlueMarketData;
|
|
81
|
+
export declare const MORPHO_BLUE_SWBTC_WBTC_945: (networkId?: NetworkNumber) => MorphoBlueMarketData;
|
|
82
|
+
export declare const MORPHO_BLUE_OSETH_ETH: (networkId?: NetworkNumber) => MorphoBlueMarketData;
|
|
83
|
+
export declare const MORPHO_BLUE_WOETH_ETH: (networkId?: NetworkNumber) => MorphoBlueMarketData;
|
|
84
|
+
export declare const MORPHO_BLUE_PTWEETH_USDA: (networkId?: NetworkNumber) => MorphoBlueMarketData;
|
|
70
85
|
export declare const MorphoBlueMarkets: (networkId: NetworkNumber) => {
|
|
71
86
|
readonly morphobluewstethusdc: MorphoBlueMarketData;
|
|
72
87
|
readonly morphobluesdaiusdc: MorphoBlueMarketData;
|
|
73
88
|
readonly morphobluewbtcusdc: MorphoBlueMarketData;
|
|
89
|
+
readonly morphoblueethusdc_915: MorphoBlueMarketData;
|
|
74
90
|
readonly morphoblueethusdc: MorphoBlueMarketData;
|
|
75
91
|
readonly morphobluewbtcusdt: MorphoBlueMarketData;
|
|
76
92
|
readonly morphobluewstethusdt: MorphoBlueMarketData;
|
|
@@ -99,15 +115,24 @@ export declare const MorphoBlueMarkets: (networkId: NetworkNumber) => {
|
|
|
99
115
|
readonly morphoblueusdeusdtb_915: MorphoBlueMarketData;
|
|
100
116
|
readonly morphoblueethusdt_915: MorphoBlueMarketData;
|
|
101
117
|
readonly morphobluersetheth_945: MorphoBlueMarketData;
|
|
118
|
+
readonly morphobluersetheth_860: MorphoBlueMarketData;
|
|
102
119
|
readonly morphobluerswetheth_945: MorphoBlueMarketData;
|
|
120
|
+
readonly morphoblueweetheth: MorphoBlueMarketData;
|
|
121
|
+
readonly morphoblueosetheth: MorphoBlueMarketData;
|
|
122
|
+
readonly morphobluewoetheth: MorphoBlueMarketData;
|
|
123
|
+
readonly morphoblueptweethusda: MorphoBlueMarketData;
|
|
124
|
+
readonly morphoblueswbtcwbtc_945: MorphoBlueMarketData;
|
|
103
125
|
readonly morphobluewstetheth_945: MorphoBlueMarketData;
|
|
104
126
|
readonly morphobluewstetheth_945_exchange_rate: MorphoBlueMarketData;
|
|
105
127
|
readonly morphobluewstetheth_965_exchange_rate: MorphoBlueMarketData;
|
|
106
128
|
readonly morphobluesusdedai_860: MorphoBlueMarketData;
|
|
107
129
|
readonly morphobluesusdedai_915: MorphoBlueMarketData;
|
|
108
130
|
readonly morphobluesusdedai_945: MorphoBlueMarketData;
|
|
131
|
+
readonly morphobluesusdedai_777: MorphoBlueMarketData;
|
|
109
132
|
readonly morphoblueusdedai_860: MorphoBlueMarketData;
|
|
110
133
|
readonly morphoblueusdedai_915: MorphoBlueMarketData;
|
|
134
|
+
readonly morphoblueusdedai_945: MorphoBlueMarketData;
|
|
135
|
+
readonly morphoblueusdedai_777: MorphoBlueMarketData;
|
|
111
136
|
readonly morphobluecbethusdc_860_base: MorphoBlueMarketData;
|
|
112
137
|
readonly morphobluecbethusdc_860_base_1c21c59d: MorphoBlueMarketData;
|
|
113
138
|
readonly morphobluewstethusdc_860_base: MorphoBlueMarketData;
|
|
@@ -125,6 +150,10 @@ export declare const MorphoBlueMarkets: (networkId: NetworkNumber) => {
|
|
|
125
150
|
readonly morphoblueweetheth_945_base: MorphoBlueMarketData;
|
|
126
151
|
readonly morphoblueweetheth_915_base: MorphoBlueMarketData;
|
|
127
152
|
readonly morphoblueaerousdc_625_base: MorphoBlueMarketData;
|
|
153
|
+
readonly morphoblueweethusdc_base: MorphoBlueMarketData;
|
|
154
|
+
readonly morphoblueezethusdc_base: MorphoBlueMarketData;
|
|
155
|
+
readonly morphoblueezetheth_base: MorphoBlueMarketData;
|
|
156
|
+
readonly morphobluebsdetheth_base: MorphoBlueMarketData;
|
|
128
157
|
readonly morphobluewsuperoethbweth_915_base: MorphoBlueMarketData;
|
|
129
158
|
readonly morphobluecbetheth_945_base: MorphoBlueMarketData;
|
|
130
159
|
readonly morphobluecbetheth_965_base: MorphoBlueMarketData;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.findMorphoBlueMarket = exports.MorphoBlueMarkets = exports.MORPHO_BLUE_SUSDS_USDC_945_ARB = exports.MORPHO_BLUE_ETH_USDC_860_ARB = exports.MORPHO_BLUE_WSTETH_USDC_860_ARB = exports.MorphoBlueWBTCUSDC_860_Arb = exports.MORPHO_BLUE_SYRUPUSDC_USDC_915_ARB = exports.MORPHO_BLUE_AERO_USDC_625_BASE = exports.MORPHO_BLUE_WEETH_ETH_945_BASE = exports.MORPHO_BLUE_WEETH_ETH_915_BASE = exports.MORPHO_BLUE_CBETH_EURC_860_BASE = exports.MORPHO_BLUE_WETH_EURC_860_BASE = exports.MORPHO_BLUE_CBBTC_EURC_860_BASE = exports.MORPHO_BLUE_WSTETH_EURC_860_BASE = exports.MORPHO_BLUE_LBTC_CBBTC_945_BASE = exports.MORPHO_BLUE_LBTC_WBTC_945 = exports.MORPHO_BLUE_WSUPEROETHB_WETH_915_BASE = exports.MORPHO_BLUE_CBBTC_USDC_860_BASE = exports.MORPHO_BLUE_CBBTC_ETH_915_BASE = void 0;
|
|
3
|
+
exports.MORPHO_BLUE_WSTETH_ETH_965_BASE = exports.MORPHO_BLUE_WSTETH_ETH_945_BASE = exports.MORPHO_BLUE_CBETH_USDC_860_BASE_1c21c59d = exports.MORPHO_BLUE_CBETH_USDC_860_BASE = exports.MORPHO_BLUE_MORPHO_USDC_625 = exports.MORPHO_BLUE_SUSDS_USDT_965 = exports.MORPHO_BLUE_LBTC_CBBTC_945 = exports.MORPHO_BLUE_LBTC_USDC_860 = exports.MORPHO_BLUE_SYRUPUSDC_USDC_915 = exports.MORPHO_BLUE_USR_USDC_915 = exports.MORPHO_BLUE_USDE_DAI_777 = exports.MORPHO_BLUE_USDE_DAI_945 = exports.MORPHO_BLUE_USDE_DAI_915 = exports.MORPHO_BLUE_USDE_DAI_860 = exports.MORPHO_BLUE_SUSDE_DAI_777 = exports.MORPHO_BLUE_SUSDE_DAI_945 = exports.MORPHO_BLUE_SUSDE_DAI_915 = exports.MORPHO_BLUE_SUSDE_DAI_860 = exports.MORPHO_BLUE_WSTETH_ETH_965_EXCHANGE_RATE = exports.MORPHO_BLUE_WSTETH_ETH_945_EXCHANGE_RATE = exports.MORPHO_BLUE_WSTETH_ETH_945 = exports.MORPHO_BLUE_WEETH_ETH_945 = exports.MORPHO_BLUE_EZETH_ETH_945 = exports.MORPHO_BLUE_EZETH_ETH_860 = exports.MORPHO_BLUE_RSWETH_ETH_945 = exports.MORPHO_BLUE_RSETH_ETH_860 = exports.MORPHO_BLUE_RSETH_ETH_945 = exports.MORPHO_BLUE_ETH_USDT_915 = exports.MORPHO_BLUE_USDE_USDTB_915 = exports.MORPHO_BLUE_SUSDE_USDTB_915 = exports.MORPHO_BLUE_SUSDE_USDC_915 = exports.MORPHO_BLUE_CBBTC_USDC_860 = exports.MORPHO_BLUE_CBBTC_ETH_915 = exports.MORPHO_BLUE_TBTC_USDC = exports.MORPHO_BLUE_MKR_DAI = exports.MORPHO_BLUE_MKR_USDC = exports.MORPHO_BLUE_SUSDE_USDT = exports.MORPHO_BLUE_USDE_USDT = exports.MORPHO_BLUE_WSTETH_PYUSD = exports.MORPHO_BLUE_WSTETH_USDA_EXCHANGE_RATE = exports.MORPHO_BLUE_WSTETH_USDT = exports.MORPHO_BLUE_WBTC_ETH = exports.MORPHO_BLUE_WBTC_PYUSD = exports.MORPHO_BLUE_WBTC_USDT = exports.MORPHO_BLUE_ETH_USDC = exports.MORPHO_BLUE_ETH_USDC_915 = exports.MORPHO_BLUE_WBTC_USDC = exports.MORPHO_BLUE_SDAI_USDC = exports.MORPHO_BLUE_WEETH_ETH = exports.MORPHO_BLUE_WSTETH_USDC = void 0;
|
|
4
|
+
exports.findMorphoBlueMarket = exports.MorphoBlueMarkets = exports.MORPHO_BLUE_PTWEETH_USDA = exports.MORPHO_BLUE_WOETH_ETH = exports.MORPHO_BLUE_OSETH_ETH = exports.MORPHO_BLUE_SWBTC_WBTC_945 = exports.MORPHO_BLUE_SUSDS_USDC_945_ARB = exports.MORPHO_BLUE_ETH_USDC_860_ARB = exports.MORPHO_BLUE_WSTETH_USDC_860_ARB = exports.MorphoBlueWBTCUSDC_860_Arb = exports.MORPHO_BLUE_SYRUPUSDC_USDC_915_ARB = exports.MORPHO_BLUE_AERO_USDC_625_BASE = exports.MORPHO_BLUE_EZETH_ETH_BASE = exports.MORPHO_BLUE_EZETH_USDC_BASE = exports.MORPHO_BLUE_WEETH_ETH_945_BASE = exports.MORPHO_BLUE_WEETH_USDC_BASE = exports.MORPHO_BLUE_WEETH_ETH_915_BASE = exports.MORPHO_BLUE_CBETH_EURC_860_BASE = exports.MORPHO_BLUE_WETH_EURC_860_BASE = exports.MORPHO_BLUE_CBBTC_EURC_860_BASE = exports.MORPHO_BLUE_WSTETH_EURC_860_BASE = exports.MORPHO_BLUE_LBTC_CBBTC_945_BASE = exports.MORPHO_BLUE_LBTC_WBTC_945 = exports.MORPHO_BLUE_WSUPEROETHB_WETH_915_BASE = exports.MORPHO_BLUE_BSDETH_ETH_BASE = exports.MORPHO_BLUE_CBBTC_USDC_860_BASE = exports.MORPHO_BLUE_CBBTC_ETH_915_BASE = exports.MORPHO_BLUE_RETH_ETH_945_BASE = exports.MORPHO_BLUE_RETH_USDC_860_BASE = exports.MORPHO_BLUE_ETH_USDC_860_BASE = exports.MORPHO_BLUE_CBETH_ETH_945_BASE = exports.MORPHO_BLUE_CBETH_ETH_965_BASE = exports.MORPHO_BLUE_WSTETH_USDC_860_BASE = exports.MORPHO_BLUE_WSTETH_USDC_860_BASE_13c42741 = void 0;
|
|
5
5
|
const utils_1 = require("../../services/utils");
|
|
6
6
|
const types_1 = require("../../types");
|
|
7
7
|
const common_1 = require("../../types/common");
|
|
@@ -21,6 +21,22 @@ const MORPHO_BLUE_WSTETH_USDC = (networkId = common_1.NetworkNumber.Eth) => ({
|
|
|
21
21
|
protocolName: 'morpho-blue',
|
|
22
22
|
});
|
|
23
23
|
exports.MORPHO_BLUE_WSTETH_USDC = MORPHO_BLUE_WSTETH_USDC;
|
|
24
|
+
const MORPHO_BLUE_WEETH_ETH = (networkId = common_1.NetworkNumber.Eth) => ({
|
|
25
|
+
chainIds: [1],
|
|
26
|
+
label: 'Morpho',
|
|
27
|
+
shortLabel: 'weETH/ETH',
|
|
28
|
+
value: types_1.MorphoBlueVersions.MorphoBlueWeEthEth,
|
|
29
|
+
url: 'weethweth',
|
|
30
|
+
loanToken: '0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2',
|
|
31
|
+
collateralToken: '0xCd5fE23C85820F7B72D0926FC9b05b43E359b7ee',
|
|
32
|
+
oracle: '0x3fa58b74e9a8eA8768eb33c8453e9C2Ed089A40a',
|
|
33
|
+
oracleType: types_1.MorphoBlueOracleType.MARKET_RATE,
|
|
34
|
+
irm: '0x870aC11D48B15DB9a138Cf899d20F13F79Ba00BC',
|
|
35
|
+
lltv: 0.86,
|
|
36
|
+
marketId: '0x698fe98247a40c5771537b5786b2f3f9d78eb487b4ce4d75533cd0e94d88a115',
|
|
37
|
+
protocolName: 'morpho-blue',
|
|
38
|
+
});
|
|
39
|
+
exports.MORPHO_BLUE_WEETH_ETH = MORPHO_BLUE_WEETH_ETH;
|
|
24
40
|
const MORPHO_BLUE_SDAI_USDC = (networkId = common_1.NetworkNumber.Eth) => ({
|
|
25
41
|
chainIds: [1],
|
|
26
42
|
label: 'Morpho',
|
|
@@ -53,11 +69,11 @@ const MORPHO_BLUE_WBTC_USDC = (networkId = common_1.NetworkNumber.Eth) => ({
|
|
|
53
69
|
protocolName: 'morpho-blue',
|
|
54
70
|
});
|
|
55
71
|
exports.MORPHO_BLUE_WBTC_USDC = MORPHO_BLUE_WBTC_USDC;
|
|
56
|
-
const
|
|
72
|
+
const MORPHO_BLUE_ETH_USDC_915 = (networkId = common_1.NetworkNumber.Eth) => ({
|
|
57
73
|
chainIds: [1],
|
|
58
74
|
label: 'Morpho',
|
|
59
75
|
shortLabel: 'ETH/USDC',
|
|
60
|
-
value: types_1.MorphoBlueVersions.
|
|
76
|
+
value: types_1.MorphoBlueVersions.MorphoBlueEthUSDC_915,
|
|
61
77
|
url: 'ethusdc',
|
|
62
78
|
loanToken: '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48',
|
|
63
79
|
collateralToken: '0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2',
|
|
@@ -68,6 +84,22 @@ const MORPHO_BLUE_ETH_USDC = (networkId = common_1.NetworkNumber.Eth) => ({
|
|
|
68
84
|
marketId: '0xf9acc677910cc17f650416a22e2a14d5da7ccb9626db18f1bf94efe64f92b372',
|
|
69
85
|
protocolName: 'morpho-blue',
|
|
70
86
|
});
|
|
87
|
+
exports.MORPHO_BLUE_ETH_USDC_915 = MORPHO_BLUE_ETH_USDC_915;
|
|
88
|
+
const MORPHO_BLUE_ETH_USDC = (networkId = common_1.NetworkNumber.Eth) => ({
|
|
89
|
+
chainIds: [1],
|
|
90
|
+
label: 'Morpho',
|
|
91
|
+
shortLabel: 'ETH/USDC',
|
|
92
|
+
value: types_1.MorphoBlueVersions.MorphoBlueEthUSDC,
|
|
93
|
+
url: 'ethusdc',
|
|
94
|
+
loanToken: '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48',
|
|
95
|
+
collateralToken: '0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2',
|
|
96
|
+
oracle: '0xdC6fd5831277c693b1054e19E94047cB37c77615',
|
|
97
|
+
oracleType: types_1.MorphoBlueOracleType.MARKET_RATE,
|
|
98
|
+
irm: '0x870aC11D48B15DB9a138Cf899d20F13F79Ba00BC',
|
|
99
|
+
lltv: 0.86,
|
|
100
|
+
marketId: '0x7dde86a1e94561d9690ec678db673c1a6396365f7d1d65e129c5fff0990ff758',
|
|
101
|
+
protocolName: 'morpho-blue',
|
|
102
|
+
});
|
|
71
103
|
exports.MORPHO_BLUE_ETH_USDC = MORPHO_BLUE_ETH_USDC;
|
|
72
104
|
const MORPHO_BLUE_WBTC_USDT = (networkId = common_1.NetworkNumber.Eth) => ({
|
|
73
105
|
chainIds: [1],
|
|
@@ -213,6 +245,22 @@ const MORPHO_BLUE_MKR_USDC = (networkId = common_1.NetworkNumber.Eth) => ({
|
|
|
213
245
|
protocolName: 'morpho-blue',
|
|
214
246
|
});
|
|
215
247
|
exports.MORPHO_BLUE_MKR_USDC = MORPHO_BLUE_MKR_USDC;
|
|
248
|
+
const MORPHO_BLUE_MKR_DAI = (networkId = common_1.NetworkNumber.Eth) => ({
|
|
249
|
+
chainIds: [1],
|
|
250
|
+
label: 'Morpho',
|
|
251
|
+
shortLabel: 'MKR/DAI',
|
|
252
|
+
value: types_1.MorphoBlueVersions.MorphoBlueMKRDAI,
|
|
253
|
+
url: 'mkrdai',
|
|
254
|
+
loanToken: '0x6B175474E89094C44Da98b954EedeAC495271d0F',
|
|
255
|
+
collateralToken: '0x9f8F72aA9304c8B593d555F12eF6589cC3A579A2',
|
|
256
|
+
oracle: '0x20565E2B5633Dabc3f94FEfb573DfE956F6c435d',
|
|
257
|
+
oracleType: types_1.MorphoBlueOracleType.MARKET_RATE,
|
|
258
|
+
irm: '0x870aC11D48B15DB9a138Cf899d20F13F79Ba00BC',
|
|
259
|
+
lltv: 0.77,
|
|
260
|
+
marketId: '0x578996c3c3ac4f100c4284b5c239673b04840e07945d04b681763c7b3401997c',
|
|
261
|
+
protocolName: 'morpho-blue',
|
|
262
|
+
});
|
|
263
|
+
exports.MORPHO_BLUE_MKR_DAI = MORPHO_BLUE_MKR_DAI;
|
|
216
264
|
const MORPHO_BLUE_TBTC_USDC = (networkId = common_1.NetworkNumber.Eth) => ({
|
|
217
265
|
chainIds: [1],
|
|
218
266
|
label: 'Morpho',
|
|
@@ -341,6 +389,22 @@ const MORPHO_BLUE_RSETH_ETH_945 = (networkId = common_1.NetworkNumber.Eth) => ({
|
|
|
341
389
|
protocolName: 'morpho-blue',
|
|
342
390
|
});
|
|
343
391
|
exports.MORPHO_BLUE_RSETH_ETH_945 = MORPHO_BLUE_RSETH_ETH_945;
|
|
392
|
+
const MORPHO_BLUE_RSETH_ETH_860 = (networkId = common_1.NetworkNumber.Eth) => ({
|
|
393
|
+
chainIds: [1],
|
|
394
|
+
label: 'Morpho',
|
|
395
|
+
shortLabel: 'rsETH/ETH',
|
|
396
|
+
value: types_1.MorphoBlueVersions.MorphoBlueRsEthEth_860,
|
|
397
|
+
url: 'rsetheth-eeabdcb9',
|
|
398
|
+
loanToken: '0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2',
|
|
399
|
+
collateralToken: '0xA1290d69c65A6Fe4DF752f95823fae25cB99e5A7',
|
|
400
|
+
oracle: '0x423671566dE77E9Cb50E9bE4383BA78fFC808a4e',
|
|
401
|
+
oracleType: types_1.MorphoBlueOracleType.MARKET_RATE,
|
|
402
|
+
irm: '0x870aC11D48B15DB9a138Cf899d20F13F79Ba00BC',
|
|
403
|
+
lltv: 0.86,
|
|
404
|
+
marketId: '0xeeabdcb98e9f7ec216d259a2c026bbb701971efae0b44eec79a86053f9b128b6',
|
|
405
|
+
protocolName: 'morpho-blue',
|
|
406
|
+
});
|
|
407
|
+
exports.MORPHO_BLUE_RSETH_ETH_860 = MORPHO_BLUE_RSETH_ETH_860;
|
|
344
408
|
const MORPHO_BLUE_RSWETH_ETH_945 = (networkId = common_1.NetworkNumber.Eth) => ({
|
|
345
409
|
chainIds: [1],
|
|
346
410
|
label: 'Morpho',
|
|
@@ -505,6 +569,22 @@ const MORPHO_BLUE_SUSDE_DAI_945 = (networkId = common_1.NetworkNumber.Eth) => ({
|
|
|
505
569
|
protocolName: 'morpho-blue',
|
|
506
570
|
});
|
|
507
571
|
exports.MORPHO_BLUE_SUSDE_DAI_945 = MORPHO_BLUE_SUSDE_DAI_945;
|
|
572
|
+
const MORPHO_BLUE_SUSDE_DAI_777 = (networkId = common_1.NetworkNumber.Eth) => ({
|
|
573
|
+
chainIds: [1],
|
|
574
|
+
label: 'Morpho',
|
|
575
|
+
shortLabel: 'sUSDe/DAI',
|
|
576
|
+
value: types_1.MorphoBlueVersions.MorphoBlueSUSDeDAI_777,
|
|
577
|
+
url: 'susdedai-042dcfb3',
|
|
578
|
+
loanToken: '0x6B175474E89094C44Da98b954EedeAC495271d0F',
|
|
579
|
+
collateralToken: '0x9D39A5DE30e57443BfF2A8307A4256c8797A3497',
|
|
580
|
+
oracle: '0x5D916980D5Ae1737a8330Bf24dF812b2911Aae25',
|
|
581
|
+
oracleType: types_1.MorphoBlueOracleType.MARKET_RATE,
|
|
582
|
+
irm: '0x870aC11D48B15DB9a138Cf899d20F13F79Ba00BC',
|
|
583
|
+
lltv: 0.777,
|
|
584
|
+
marketId: '0x42dcfb38bb98767afb6e38ccf90d59d0d3f0aa216beb3a234f12850323d17536',
|
|
585
|
+
protocolName: 'morpho-blue',
|
|
586
|
+
});
|
|
587
|
+
exports.MORPHO_BLUE_SUSDE_DAI_777 = MORPHO_BLUE_SUSDE_DAI_777;
|
|
508
588
|
// USDe/DAI
|
|
509
589
|
const MORPHO_BLUE_USDE_DAI_860 = (networkId = common_1.NetworkNumber.Eth) => ({
|
|
510
590
|
chainIds: [1],
|
|
@@ -538,6 +618,38 @@ const MORPHO_BLUE_USDE_DAI_915 = (networkId = common_1.NetworkNumber.Eth) => ({
|
|
|
538
618
|
protocolName: 'morpho-blue',
|
|
539
619
|
});
|
|
540
620
|
exports.MORPHO_BLUE_USDE_DAI_915 = MORPHO_BLUE_USDE_DAI_915;
|
|
621
|
+
const MORPHO_BLUE_USDE_DAI_945 = (networkId = common_1.NetworkNumber.Eth) => ({
|
|
622
|
+
chainIds: [1],
|
|
623
|
+
label: 'Morpho',
|
|
624
|
+
shortLabel: 'USDe/DAI',
|
|
625
|
+
value: types_1.MorphoBlueVersions.MorphoBlueUSDeDAI_945,
|
|
626
|
+
url: 'usdedai-db760246',
|
|
627
|
+
loanToken: '0x6B175474E89094C44Da98b954EedeAC495271d0F',
|
|
628
|
+
collateralToken: '0x4c9EDD5852cd905f086C759E8383e09bff1E68B3',
|
|
629
|
+
oracle: '0xaE4750d0813B5E37A51f7629beedd72AF1f9cA35',
|
|
630
|
+
oracleType: types_1.MorphoBlueOracleType.MARKET_RATE,
|
|
631
|
+
irm: '0x870aC11D48B15DB9a138Cf899d20F13F79Ba00BC',
|
|
632
|
+
lltv: 0.945,
|
|
633
|
+
marketId: '0xdb760246f6859780f6c1b272d47a8f64710777121118e56e0cdb4b8b744a3094',
|
|
634
|
+
protocolName: 'morpho-blue',
|
|
635
|
+
});
|
|
636
|
+
exports.MORPHO_BLUE_USDE_DAI_945 = MORPHO_BLUE_USDE_DAI_945;
|
|
637
|
+
const MORPHO_BLUE_USDE_DAI_777 = (networkId = common_1.NetworkNumber.Eth) => ({
|
|
638
|
+
chainIds: [1],
|
|
639
|
+
label: 'Morpho',
|
|
640
|
+
shortLabel: 'USDe/DAI',
|
|
641
|
+
value: types_1.MorphoBlueVersions.MorphoBlueUSDeDAI_777,
|
|
642
|
+
url: 'usdedai-fd8493f0',
|
|
643
|
+
loanToken: '0x6B175474E89094C44Da98b954EedeAC495271d0F',
|
|
644
|
+
collateralToken: '0x4c9EDD5852cd905f086C759E8383e09bff1E68B3',
|
|
645
|
+
oracle: '0xaE4750d0813B5E37A51f7629beedd72AF1f9cA35',
|
|
646
|
+
oracleType: types_1.MorphoBlueOracleType.MARKET_RATE,
|
|
647
|
+
irm: '0x870aC11D48B15DB9a138Cf899d20F13F79Ba00BC',
|
|
648
|
+
lltv: 0.777,
|
|
649
|
+
marketId: '0xfd8493f09eb6203615221378d89f53fcd92ff4f7d62cca87eece9a2fff59e86f',
|
|
650
|
+
protocolName: 'morpho-blue',
|
|
651
|
+
});
|
|
652
|
+
exports.MORPHO_BLUE_USDE_DAI_777 = MORPHO_BLUE_USDE_DAI_777;
|
|
541
653
|
const MORPHO_BLUE_USR_USDC_915 = (networkId = common_1.NetworkNumber.Eth) => ({
|
|
542
654
|
chainIds: [1],
|
|
543
655
|
label: 'Morpho',
|
|
@@ -843,6 +955,22 @@ const MORPHO_BLUE_CBBTC_USDC_860_BASE = (networkId = common_1.NetworkNumber.Eth)
|
|
|
843
955
|
protocolName: 'morpho-blue',
|
|
844
956
|
});
|
|
845
957
|
exports.MORPHO_BLUE_CBBTC_USDC_860_BASE = MORPHO_BLUE_CBBTC_USDC_860_BASE;
|
|
958
|
+
const MORPHO_BLUE_BSDETH_ETH_BASE = (networkId = common_1.NetworkNumber.Eth) => ({
|
|
959
|
+
chainIds: [common_1.NetworkNumber.Base],
|
|
960
|
+
label: 'Morpho',
|
|
961
|
+
shortLabel: 'bsdETH/ETH',
|
|
962
|
+
value: types_1.MorphoBlueVersions.MorphoBlueBsdEthEth_Base,
|
|
963
|
+
url: 'bsdetheth-df6aa0df',
|
|
964
|
+
loanToken: '0x4200000000000000000000000000000000000006',
|
|
965
|
+
collateralToken: '0xCb327b99fF831bF8223cCEd12B1338FF3aA322Ff',
|
|
966
|
+
oracle: '0x237a202192Ea0fDBC272198115ddf09cA33AebE2',
|
|
967
|
+
oracleType: types_1.MorphoBlueOracleType.MARKET_RATE,
|
|
968
|
+
irm: '0x46415998764C29aB2a25CbeA6254146D50D22687',
|
|
969
|
+
lltv: 0.915,
|
|
970
|
+
marketId: '0xdf6aa0df4eb647966018f324db97aea09d2a7dde0d3c0a72115e8b20d58ea81f',
|
|
971
|
+
protocolName: 'morpho-blue',
|
|
972
|
+
});
|
|
973
|
+
exports.MORPHO_BLUE_BSDETH_ETH_BASE = MORPHO_BLUE_BSDETH_ETH_BASE;
|
|
846
974
|
const MORPHO_BLUE_WSUPEROETHB_WETH_915_BASE = (networkId = common_1.NetworkNumber.Eth) => ({
|
|
847
975
|
chainIds: [common_1.NetworkNumber.Base],
|
|
848
976
|
label: 'Morpho',
|
|
@@ -971,6 +1099,22 @@ const MORPHO_BLUE_WEETH_ETH_915_BASE = (networkId = common_1.NetworkNumber.Eth)
|
|
|
971
1099
|
protocolName: 'morpho-blue',
|
|
972
1100
|
});
|
|
973
1101
|
exports.MORPHO_BLUE_WEETH_ETH_915_BASE = MORPHO_BLUE_WEETH_ETH_915_BASE;
|
|
1102
|
+
const MORPHO_BLUE_WEETH_USDC_BASE = (networkId = common_1.NetworkNumber.Eth) => ({
|
|
1103
|
+
chainIds: [common_1.NetworkNumber.Base],
|
|
1104
|
+
label: 'Morpho',
|
|
1105
|
+
shortLabel: 'weETH/USDC',
|
|
1106
|
+
value: types_1.MorphoBlueVersions.MorphoBlueWeEthUSDC_Base,
|
|
1107
|
+
url: 'weethusdc-6a331b22',
|
|
1108
|
+
loanToken: '0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913',
|
|
1109
|
+
collateralToken: '0x04C0599Ae5A44757c0af6F9eC3b93da8976c150A',
|
|
1110
|
+
oracle: '0xaacbD2BbCA7927F772145f99EC942024Ddd0FAB0',
|
|
1111
|
+
oracleType: types_1.MorphoBlueOracleType.MARKET_RATE,
|
|
1112
|
+
irm: '0x46415998764C29aB2a25CbeA6254146D50D22687',
|
|
1113
|
+
lltv: 0.777,
|
|
1114
|
+
marketId: '0x6a331b22b56c9c0ee32a1a7d6f852d2c682ea8b27a1b0f99a9c484a37a951eb7',
|
|
1115
|
+
protocolName: 'morpho-blue',
|
|
1116
|
+
});
|
|
1117
|
+
exports.MORPHO_BLUE_WEETH_USDC_BASE = MORPHO_BLUE_WEETH_USDC_BASE;
|
|
974
1118
|
const MORPHO_BLUE_WEETH_ETH_945_BASE = (networkId = common_1.NetworkNumber.Eth) => ({
|
|
975
1119
|
chainIds: [common_1.NetworkNumber.Base],
|
|
976
1120
|
label: 'Morpho',
|
|
@@ -987,6 +1131,38 @@ const MORPHO_BLUE_WEETH_ETH_945_BASE = (networkId = common_1.NetworkNumber.Eth)
|
|
|
987
1131
|
protocolName: 'morpho-blue',
|
|
988
1132
|
});
|
|
989
1133
|
exports.MORPHO_BLUE_WEETH_ETH_945_BASE = MORPHO_BLUE_WEETH_ETH_945_BASE;
|
|
1134
|
+
const MORPHO_BLUE_EZETH_USDC_BASE = (networkId = common_1.NetworkNumber.Eth) => ({
|
|
1135
|
+
chainIds: [common_1.NetworkNumber.Base],
|
|
1136
|
+
label: 'Morpho',
|
|
1137
|
+
shortLabel: 'ezETH/USDC',
|
|
1138
|
+
value: types_1.MorphoBlueVersions.MorphoBlueEzEthUsdc_Base,
|
|
1139
|
+
url: 'ezethusdc-f24417ee',
|
|
1140
|
+
loanToken: '0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913',
|
|
1141
|
+
collateralToken: '0x2416092f143378750bb29b79eD961ab195CcEea5',
|
|
1142
|
+
oracle: '0x1BAaB21821c6468f8aee73ee60Fd8Fdc39c0C973',
|
|
1143
|
+
oracleType: types_1.MorphoBlueOracleType.MARKET_RATE,
|
|
1144
|
+
irm: '0x46415998764C29aB2a25CbeA6254146D50D22687',
|
|
1145
|
+
lltv: 0.777,
|
|
1146
|
+
marketId: '0xf24417ee06adc0b0836cf0dbec3ba56c1059f62f53a55990a38356d42fa75fa2',
|
|
1147
|
+
protocolName: 'morpho-blue',
|
|
1148
|
+
});
|
|
1149
|
+
exports.MORPHO_BLUE_EZETH_USDC_BASE = MORPHO_BLUE_EZETH_USDC_BASE;
|
|
1150
|
+
const MORPHO_BLUE_EZETH_ETH_BASE = (networkId = common_1.NetworkNumber.Eth) => ({
|
|
1151
|
+
chainIds: [common_1.NetworkNumber.Base],
|
|
1152
|
+
label: 'Morpho',
|
|
1153
|
+
shortLabel: 'ezETH/ETH',
|
|
1154
|
+
value: types_1.MorphoBlueVersions.MorphoBlueEzEthEth_Base,
|
|
1155
|
+
url: 'ezetheth-df13c46b',
|
|
1156
|
+
loanToken: '0x4200000000000000000000000000000000000012',
|
|
1157
|
+
collateralToken: '0x2416092f143378750bb29b79eD961ab195CcEea5',
|
|
1158
|
+
oracle: '0x09ECeE1Ab6f37a3D8D01f93A622b7A3021A5D91F',
|
|
1159
|
+
oracleType: types_1.MorphoBlueOracleType.MARKET_RATE,
|
|
1160
|
+
irm: '0x46415998764C29aB2a25CbeA6254146D50D22687',
|
|
1161
|
+
lltv: 0.777,
|
|
1162
|
+
marketId: '0xdf13c46bf7bd41597f27e32ae9c306eb63859c134073cb81c796ff20b520c7cf',
|
|
1163
|
+
protocolName: 'morpho-blue',
|
|
1164
|
+
});
|
|
1165
|
+
exports.MORPHO_BLUE_EZETH_ETH_BASE = MORPHO_BLUE_EZETH_ETH_BASE;
|
|
990
1166
|
const MORPHO_BLUE_AERO_USDC_625_BASE = (networkId = common_1.NetworkNumber.Eth) => ({
|
|
991
1167
|
chainIds: [common_1.NetworkNumber.Base],
|
|
992
1168
|
label: 'Morpho',
|
|
@@ -1084,10 +1260,75 @@ const MORPHO_BLUE_SUSDS_USDC_945_ARB = (networkId = common_1.NetworkNumber.Eth)
|
|
|
1084
1260
|
protocolName: 'morpho-blue',
|
|
1085
1261
|
});
|
|
1086
1262
|
exports.MORPHO_BLUE_SUSDS_USDC_945_ARB = MORPHO_BLUE_SUSDS_USDC_945_ARB;
|
|
1263
|
+
const MORPHO_BLUE_SWBTC_WBTC_945 = (networkId = common_1.NetworkNumber.Eth) => ({
|
|
1264
|
+
chainIds: [common_1.NetworkNumber.Eth],
|
|
1265
|
+
label: 'Morpho',
|
|
1266
|
+
shortLabel: 'swBTC/WBTC',
|
|
1267
|
+
value: types_1.MorphoBlueVersions.MorphoBlueSwBTCWBTC_945,
|
|
1268
|
+
url: 'swbtcwbtc-514efda7',
|
|
1269
|
+
loanToken: '0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599',
|
|
1270
|
+
collateralToken: '0x8DB2350D78aBc13f5673A411D4700BCF87864dDE',
|
|
1271
|
+
oracle: '0x99ADb404Ec05f43B897Ae2f917BfA7C5FDd24708',
|
|
1272
|
+
oracleType: types_1.MorphoBlueOracleType.MARKET_RATE,
|
|
1273
|
+
irm: '0x870aC11D48B15DB9a138Cf899d20F13F79Ba00BC',
|
|
1274
|
+
lltv: 0.945,
|
|
1275
|
+
marketId: '0x514efda728a646dcafe4fdc9afe4ea214709e110ac1b2b78185ae00c1782cc82',
|
|
1276
|
+
protocolName: 'morpho-blue',
|
|
1277
|
+
});
|
|
1278
|
+
exports.MORPHO_BLUE_SWBTC_WBTC_945 = MORPHO_BLUE_SWBTC_WBTC_945;
|
|
1279
|
+
const MORPHO_BLUE_OSETH_ETH = (networkId = common_1.NetworkNumber.Eth) => ({
|
|
1280
|
+
chainIds: [common_1.NetworkNumber.Eth],
|
|
1281
|
+
label: 'Morpho',
|
|
1282
|
+
shortLabel: 'osETH/ETH',
|
|
1283
|
+
value: types_1.MorphoBlueVersions.MorphoBlueOsEthEth,
|
|
1284
|
+
url: 'osethweth',
|
|
1285
|
+
loanToken: '0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2',
|
|
1286
|
+
collateralToken: '0xf1C9acDc66974dFB6dEcB12aA385b9cD01190E38',
|
|
1287
|
+
oracle: '0x224F2F1333b45E34fFCfC3bD01cE43C73A914498',
|
|
1288
|
+
oracleType: types_1.MorphoBlueOracleType.MARKET_RATE,
|
|
1289
|
+
irm: '0x870aC11D48B15DB9a138Cf899d20F13F79Ba00BC',
|
|
1290
|
+
lltv: 0.86,
|
|
1291
|
+
marketId: '0xd5211d0e3f4a30d5c98653d988585792bb7812221f04801be73a44ceecb11e89',
|
|
1292
|
+
protocolName: 'morpho-blue',
|
|
1293
|
+
});
|
|
1294
|
+
exports.MORPHO_BLUE_OSETH_ETH = MORPHO_BLUE_OSETH_ETH;
|
|
1295
|
+
const MORPHO_BLUE_WOETH_ETH = (networkId = common_1.NetworkNumber.Eth) => ({
|
|
1296
|
+
chainIds: [common_1.NetworkNumber.Eth],
|
|
1297
|
+
label: 'Morpho',
|
|
1298
|
+
shortLabel: 'WOETH/ETH',
|
|
1299
|
+
value: types_1.MorphoBlueVersions.MorphoBlueWoEthEth,
|
|
1300
|
+
url: 'woethweth',
|
|
1301
|
+
loanToken: '0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2',
|
|
1302
|
+
collateralToken: '0xDcEe70654261AF21C44c093C300eD3Bb97b78192',
|
|
1303
|
+
oracle: '0xb7948b5bEEe825E609990484A99340D8767B420e',
|
|
1304
|
+
oracleType: types_1.MorphoBlueOracleType.MARKET_RATE,
|
|
1305
|
+
irm: '0x870aC11D48B15DB9a138Cf899d20F13F79Ba00BC',
|
|
1306
|
+
lltv: 0.86,
|
|
1307
|
+
marketId: '0xea023e57814fb9a814a5a9ee9f3e7ece5b771dd8cc703e50b911e9cde064a12d',
|
|
1308
|
+
protocolName: 'morpho-blue',
|
|
1309
|
+
});
|
|
1310
|
+
exports.MORPHO_BLUE_WOETH_ETH = MORPHO_BLUE_WOETH_ETH;
|
|
1311
|
+
const MORPHO_BLUE_PTWEETH_USDA = (networkId = common_1.NetworkNumber.Eth) => ({
|
|
1312
|
+
chainIds: [common_1.NetworkNumber.Eth],
|
|
1313
|
+
label: 'Morpho',
|
|
1314
|
+
shortLabel: 'PTWEETH/USDA',
|
|
1315
|
+
value: types_1.MorphoBlueVersions.MorphoBluePTweETHUSDA,
|
|
1316
|
+
url: 'ptweethusda',
|
|
1317
|
+
loanToken: '0x0000206329b97DB379d5E1Bf586BbDB969C63274',
|
|
1318
|
+
collateralToken: '0xc69Ad9baB1dEE23F4605a82b3354F8E40d1E5966',
|
|
1319
|
+
oracle: '0x5441731eED05A8208e795086a5dF41416DD34104',
|
|
1320
|
+
oracleType: types_1.MorphoBlueOracleType.MARKET_RATE,
|
|
1321
|
+
irm: '0x870aC11D48B15DB9a138Cf899d20F13F79Ba00BC',
|
|
1322
|
+
lltv: 0.86,
|
|
1323
|
+
marketId: '0xcc7b191903e4750ad71898a1594d912adbb5bb1c6effcde9c38f0a798112edd1',
|
|
1324
|
+
protocolName: 'morpho-blue',
|
|
1325
|
+
});
|
|
1326
|
+
exports.MORPHO_BLUE_PTWEETH_USDA = MORPHO_BLUE_PTWEETH_USDA;
|
|
1087
1327
|
const MorphoBlueMarkets = (networkId) => ({
|
|
1088
1328
|
[types_1.MorphoBlueVersions.MorphoBlueWstEthUSDC]: (0, exports.MORPHO_BLUE_WSTETH_USDC)(networkId),
|
|
1089
1329
|
[types_1.MorphoBlueVersions.MorphoBlueSDAIUSDC]: (0, exports.MORPHO_BLUE_SDAI_USDC)(networkId),
|
|
1090
1330
|
[types_1.MorphoBlueVersions.MorphoBlueWBTCUSDC]: (0, exports.MORPHO_BLUE_WBTC_USDC)(networkId),
|
|
1331
|
+
[types_1.MorphoBlueVersions.MorphoBlueEthUSDC_915]: (0, exports.MORPHO_BLUE_ETH_USDC_915)(networkId),
|
|
1091
1332
|
[types_1.MorphoBlueVersions.MorphoBlueEthUSDC]: (0, exports.MORPHO_BLUE_ETH_USDC)(networkId),
|
|
1092
1333
|
[types_1.MorphoBlueVersions.MorphoBlueWBTCUSDT]: (0, exports.MORPHO_BLUE_WBTC_USDT)(networkId),
|
|
1093
1334
|
[types_1.MorphoBlueVersions.MorphoBlueWstEthUSDT]: (0, exports.MORPHO_BLUE_WSTETH_USDT)(networkId),
|
|
@@ -1116,7 +1357,13 @@ const MorphoBlueMarkets = (networkId) => ({
|
|
|
1116
1357
|
[types_1.MorphoBlueVersions.MorphoBlueUSDeUSDtb_915]: (0, exports.MORPHO_BLUE_USDE_USDTB_915)(networkId),
|
|
1117
1358
|
[types_1.MorphoBlueVersions.MorphoBlueEthUSDT_915]: (0, exports.MORPHO_BLUE_ETH_USDT_915)(networkId),
|
|
1118
1359
|
[types_1.MorphoBlueVersions.MorphoBlueRsEthEth_945]: (0, exports.MORPHO_BLUE_RSETH_ETH_945)(networkId),
|
|
1360
|
+
[types_1.MorphoBlueVersions.MorphoBlueRsEthEth_860]: (0, exports.MORPHO_BLUE_RSETH_ETH_860)(networkId),
|
|
1119
1361
|
[types_1.MorphoBlueVersions.MorphoBlueRswEthEth_945]: (0, exports.MORPHO_BLUE_RSWETH_ETH_945)(networkId),
|
|
1362
|
+
[types_1.MorphoBlueVersions.MorphoBlueWeEthEth]: (0, exports.MORPHO_BLUE_WEETH_ETH)(networkId),
|
|
1363
|
+
[types_1.MorphoBlueVersions.MorphoBlueOsEthEth]: (0, exports.MORPHO_BLUE_OSETH_ETH)(networkId),
|
|
1364
|
+
[types_1.MorphoBlueVersions.MorphoBlueWoEthEth]: (0, exports.MORPHO_BLUE_WOETH_ETH)(networkId),
|
|
1365
|
+
[types_1.MorphoBlueVersions.MorphoBluePTweETHUSDA]: (0, exports.MORPHO_BLUE_PTWEETH_USDA)(networkId),
|
|
1366
|
+
[types_1.MorphoBlueVersions.MorphoBlueSwBTCWBTC_945]: (0, exports.MORPHO_BLUE_SWBTC_WBTC_945)(networkId),
|
|
1120
1367
|
// wstETH/WETH
|
|
1121
1368
|
[types_1.MorphoBlueVersions.MorphoBlueWstEthEth_945]: (0, exports.MORPHO_BLUE_WSTETH_ETH_945)(networkId),
|
|
1122
1369
|
[types_1.MorphoBlueVersions.MorphoBlueWstEthEth_945_Exchange_Rate]: (0, exports.MORPHO_BLUE_WSTETH_ETH_945_EXCHANGE_RATE)(networkId),
|
|
@@ -1125,9 +1372,12 @@ const MorphoBlueMarkets = (networkId) => ({
|
|
|
1125
1372
|
[types_1.MorphoBlueVersions.MorphoBlueSUSDeDAI_860]: (0, exports.MORPHO_BLUE_SUSDE_DAI_860)(networkId),
|
|
1126
1373
|
[types_1.MorphoBlueVersions.MorphoBlueSUSDeDAI_915]: (0, exports.MORPHO_BLUE_SUSDE_DAI_915)(networkId),
|
|
1127
1374
|
[types_1.MorphoBlueVersions.MorphoBlueSUSDeDAI_945]: (0, exports.MORPHO_BLUE_SUSDE_DAI_945)(networkId),
|
|
1375
|
+
[types_1.MorphoBlueVersions.MorphoBlueSUSDeDAI_777]: (0, exports.MORPHO_BLUE_SUSDE_DAI_777)(networkId),
|
|
1128
1376
|
// USDe/DAI
|
|
1129
1377
|
[types_1.MorphoBlueVersions.MorphoBlueUSDeDAI_860]: (0, exports.MORPHO_BLUE_USDE_DAI_860)(networkId),
|
|
1130
1378
|
[types_1.MorphoBlueVersions.MorphoBlueUSDeDAI_915]: (0, exports.MORPHO_BLUE_USDE_DAI_915)(networkId),
|
|
1379
|
+
[types_1.MorphoBlueVersions.MorphoBlueUSDeDAI_945]: (0, exports.MORPHO_BLUE_USDE_DAI_945)(networkId),
|
|
1380
|
+
[types_1.MorphoBlueVersions.MorphoBlueUSDeDAI_777]: (0, exports.MORPHO_BLUE_USDE_DAI_777)(networkId),
|
|
1131
1381
|
// Base
|
|
1132
1382
|
[types_1.MorphoBlueVersions.MorphoBlueCbEthUSDC_860_Base]: (0, exports.MORPHO_BLUE_CBETH_USDC_860_BASE)(networkId),
|
|
1133
1383
|
[types_1.MorphoBlueVersions.MorphoBlueCbEthUSDC_860_Base_1c21c59d]: (0, exports.MORPHO_BLUE_CBETH_USDC_860_BASE_1c21c59d)(networkId),
|
|
@@ -1146,6 +1396,10 @@ const MorphoBlueMarkets = (networkId) => ({
|
|
|
1146
1396
|
[types_1.MorphoBlueVersions.MorphoBlueWeEthEth_945_Base]: (0, exports.MORPHO_BLUE_WEETH_ETH_945_BASE)(networkId),
|
|
1147
1397
|
[types_1.MorphoBlueVersions.MorphoBlueWeEthEth_915_Base]: (0, exports.MORPHO_BLUE_WEETH_ETH_915_BASE)(networkId),
|
|
1148
1398
|
[types_1.MorphoBlueVersions.MorphoBlueAEROUSDC_625_Base]: (0, exports.MORPHO_BLUE_AERO_USDC_625_BASE)(networkId),
|
|
1399
|
+
[types_1.MorphoBlueVersions.MorphoBlueWeEthUSDC_Base]: (0, exports.MORPHO_BLUE_WEETH_USDC_BASE)(networkId),
|
|
1400
|
+
[types_1.MorphoBlueVersions.MorphoBlueEzEthUsdc_Base]: (0, exports.MORPHO_BLUE_EZETH_USDC_BASE)(networkId),
|
|
1401
|
+
[types_1.MorphoBlueVersions.MorphoBlueEzEthEth_Base]: (0, exports.MORPHO_BLUE_EZETH_ETH_BASE)(networkId),
|
|
1402
|
+
[types_1.MorphoBlueVersions.MorphoBlueBsdEthEth_Base]: (0, exports.MORPHO_BLUE_BSDETH_ETH_BASE)(networkId),
|
|
1149
1403
|
// wsuperOETHb/WETH Base
|
|
1150
1404
|
[types_1.MorphoBlueVersions.MorphoBlueWsuperOETHbWETH_915_Base]: (0, exports.MORPHO_BLUE_WSUPEROETHB_WETH_915_BASE)(networkId),
|
|
1151
1405
|
// cbETH/WETH Base
|