@oasisdex/automation
Advanced tools
Comparing version 1.6.5-morpho.2 to 1.6.5-morpho.3
@@ -238,12 +238,62 @@ "use strict"; | ||
[types_1.CommandContractType.DmaMorphoBlueBasicSellCommandV2]: [ | ||
// TODO | ||
'positionAddress', | ||
'triggerType', | ||
'maxCoverage', | ||
'debtToken', | ||
'collateralToken', | ||
'operationName', | ||
'poolId', | ||
'quoteDecimals', | ||
'collateralDecimals', | ||
'executionLtv', | ||
'targetLtv', | ||
'minSellPrice', | ||
'deviation', | ||
'maxBaseFeeInGwei', | ||
], | ||
[types_1.CommandContractType.DmaMorphoBlueStopLossCommandV2]: [ | ||
// TODO | ||
'positionAddress', | ||
'triggerType', | ||
'maxCoverage', | ||
'debtToken', | ||
'collateralToken', | ||
'operationName', | ||
'poolId', | ||
'quoteDecimals', | ||
'collateralDecimals', | ||
'executionLtv', | ||
'closeToCollateral' | ||
], | ||
[types_1.CommandContractType.DmaMorphoBluePartialTakeProfitCommandV2]: [ | ||
// TODO | ||
'positionAddress', | ||
'triggerType', | ||
'maxCoverage', | ||
'debtToken', | ||
'collateralToken', | ||
'operationName', | ||
'poolId', | ||
'quoteDecimals', | ||
'collateralDecimals', | ||
'executionLtv', | ||
'targetLtv', | ||
'executionPrice', | ||
'deviation', | ||
'withdrawToDebt', | ||
], | ||
[types_1.CommandContractType.DmaMorphoBlueTrailingStopLossCommandV2]: [ | ||
// TODO | ||
'positionAddress', | ||
'triggerType', | ||
'maxCoverage', | ||
'debtToken', | ||
'collateralToken', | ||
'operationName', | ||
'poolId', | ||
'quoteDecimals', | ||
'collateralDecimals', | ||
'collateralOracle', | ||
'collateralAddedRoundId', | ||
'debtOracle', | ||
'debtAddedRoundId', | ||
'trailingDistance', | ||
'closeToCollateral', | ||
], | ||
@@ -640,3 +690,3 @@ }; | ||
'uint64', | ||
'bool', // closeToCollateral | ||
'bool', // withdrawToDebt | ||
], | ||
@@ -661,12 +711,62 @@ // Morpho | ||
[types_1.CommandContractType.DmaMorphoBlueBasicSellCommandV2]: [ | ||
// TODO | ||
'address', | ||
'uint16', | ||
'uint256', | ||
'address', | ||
'address', | ||
'bytes32', | ||
'bytes32', | ||
'uint8', | ||
'uint8', | ||
'uint256', | ||
'uint256', | ||
'uint256', | ||
'uint64', | ||
'uint32', // maxBaseFeeInGwei | ||
], | ||
[types_1.CommandContractType.DmaMorphoBlueStopLossCommandV2]: [ | ||
// TODO | ||
'address', | ||
'uint16', | ||
'uint256', | ||
'address', | ||
'address', | ||
'bytes32', | ||
'bytes32', | ||
'uint8', | ||
'uint8', | ||
'uint256', | ||
'bool', // closeToCollateral | ||
], | ||
[types_1.CommandContractType.DmaMorphoBluePartialTakeProfitCommandV2]: [ | ||
// TODO | ||
'address', | ||
'uint16', | ||
'uint256', | ||
'address', | ||
'address', | ||
'bytes32', | ||
'bytes32', | ||
'uint8', | ||
'uint8', | ||
'uint256', | ||
'uint256', | ||
'uint256', | ||
'uint64', | ||
'bool', // withdrawToDebt | ||
], | ||
[types_1.CommandContractType.DmaMorphoBlueTrailingStopLossCommandV2]: [ | ||
// TODO | ||
'positionAddress', | ||
'triggerType', | ||
'maxCoverage', | ||
'debtToken', | ||
'collateralToken', | ||
'operationName', | ||
'poolId', | ||
'quoteDecimals', | ||
'collateralDecimals', | ||
'collateralOracle', | ||
'collateralAddedRoundId', | ||
'debtOracle', | ||
'debtAddedRoundId', | ||
'trailingDistance', | ||
'closeToCollateral', | ||
], | ||
@@ -673,0 +773,0 @@ }; |
{ | ||
"name": "@oasisdex/automation", | ||
"packageManager": "yarn@1.22.21", | ||
"version": "1.6.5-morpho.2", | ||
"version": "1.6.5-morpho.3", | ||
"description": "The set of utilities for Oasis automation", | ||
@@ -6,0 +6,0 @@ "homepage": "https://github.com/OasisDEX/common#readme", |
@@ -244,12 +244,62 @@ import { | ||
[CommandContractType.DmaMorphoBlueBasicSellCommandV2]: [ | ||
// TODO | ||
'positionAddress', | ||
'triggerType', | ||
'maxCoverage', | ||
'debtToken', | ||
'collateralToken', | ||
'operationName', | ||
'poolId', | ||
'quoteDecimals', | ||
'collateralDecimals', | ||
'executionLtv', | ||
'targetLtv', | ||
'minSellPrice', | ||
'deviation', | ||
'maxBaseFeeInGwei', | ||
], | ||
[CommandContractType.DmaMorphoBlueStopLossCommandV2]: [ | ||
// TODO | ||
'positionAddress', | ||
'triggerType', | ||
'maxCoverage', | ||
'debtToken', | ||
'collateralToken', | ||
'operationName', | ||
'poolId', | ||
'quoteDecimals', | ||
'collateralDecimals', | ||
'executionLtv', | ||
'closeToCollateral' | ||
], | ||
[CommandContractType.DmaMorphoBluePartialTakeProfitCommandV2]: [ | ||
// TODO | ||
'positionAddress', | ||
'triggerType', | ||
'maxCoverage', | ||
'debtToken', | ||
'collateralToken', | ||
'operationName', | ||
'poolId', | ||
'quoteDecimals', | ||
'collateralDecimals', | ||
'executionLtv', | ||
'targetLtv', | ||
'executionPrice', | ||
'deviation', | ||
'withdrawToDebt', | ||
], | ||
[CommandContractType.DmaMorphoBlueTrailingStopLossCommandV2]: [ | ||
// TODO | ||
'positionAddress', | ||
'triggerType', | ||
'maxCoverage', | ||
'debtToken', | ||
'collateralToken', | ||
'operationName', | ||
'poolId', | ||
'quoteDecimals', | ||
'collateralDecimals', | ||
'collateralOracle', | ||
'collateralAddedRoundId', | ||
'debtOracle', | ||
'debtAddedRoundId', | ||
'trailingDistance', | ||
'closeToCollateral', | ||
], | ||
@@ -655,3 +705,3 @@ }; | ||
'uint64', // deviation | ||
'bool', // closeToCollateral | ||
'bool', // withdrawToDebt | ||
], | ||
@@ -677,12 +727,62 @@ | ||
[CommandContractType.DmaMorphoBlueBasicSellCommandV2]: [ | ||
// TODO | ||
'address', //positionAddress | ||
'uint16', // triggerType | ||
'uint256', // maxCoverage | ||
'address', // debtToken | ||
'address', // collateralToken | ||
'bytes32', // operationName | ||
'bytes32', // marketId | ||
'uint8', // quote decimals | ||
'uint8', // collateral decimals | ||
'uint256', // execLtv | ||
'uint256', // targetLtv | ||
'uint256', // minSellPrice | ||
'uint64', // deviation | ||
'uint32', // maxBaseFeeInGwei | ||
], | ||
[CommandContractType.DmaMorphoBlueStopLossCommandV2]: [ | ||
// TODO | ||
'address', //positionAddress | ||
'uint16', // triggerType | ||
'uint256', // maxCoverage | ||
'address', // debtToken | ||
'address', // collateralToken | ||
'bytes32', // operationName | ||
'bytes32', // marketId | ||
'uint8', // quote decimals | ||
'uint8', // collateral decimals | ||
'uint256', // executionLTV | ||
'bool', // closeToCollateral | ||
], | ||
[CommandContractType.DmaMorphoBluePartialTakeProfitCommandV2]: [ | ||
// TODO | ||
'address', //positionAddress | ||
'uint16', // triggerType | ||
'uint256', // maxCoverage | ||
'address', // debtToken | ||
'address', // collateralToken | ||
'bytes32', // operationName | ||
'bytes32', // marketId | ||
'uint8', // quote decimals | ||
'uint8', // collateral decimals | ||
'uint256', // execLtv | ||
'uint256', // targetLtv | ||
'uint256', // executionPrice | ||
'uint64', // deviation | ||
'bool', // withdrawToDebt | ||
], | ||
[CommandContractType.DmaMorphoBlueTrailingStopLossCommandV2]: [ | ||
// TODO | ||
'positionAddress', | ||
'triggerType', | ||
'maxCoverage', | ||
'debtToken', | ||
'collateralToken', | ||
'operationName', | ||
'poolId', | ||
'quoteDecimals', | ||
'collateralDecimals', | ||
'collateralOracle', | ||
'collateralAddedRoundId', | ||
'debtOracle', | ||
'debtAddedRoundId', | ||
'trailingDistance', | ||
'closeToCollateral', | ||
], | ||
@@ -689,0 +789,0 @@ } as const; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
188925
2930