@oasisdex/automation
Advanced tools
Comparing version 1.5.2 to 1.5.3
@@ -12,2 +12,3 @@ import { CommandContractInfo, CommandContractType, ParamDefinition } from './types'; | ||
readonly AaveStopLossCommandV2: readonly ["address", "uint16", "uint256", "address", "address", "uint256"]; | ||
readonly SparkStopLossCommandV2: readonly ["address", "uint16", "uint256", "address", "address", "uint256"]; | ||
readonly MakerStopLossCommandV2: readonly ["uint256", "uint16", "uint256", "uint256"]; | ||
@@ -14,0 +15,0 @@ readonly MakerAutoTakeProfitCommandV2: readonly ["uint256", "uint16", "uint256", "uint32"]; |
@@ -55,2 +55,10 @@ "use strict"; | ||
], | ||
[types_1.CommandContractType.SparkStopLossCommandV2]: [ | ||
'positionAddress', | ||
'triggerType', | ||
'maxCoverage', | ||
'debtToken', | ||
'collateralToken', | ||
'ltv', | ||
], | ||
[types_1.CommandContractType.MakerStopLossCommandV2]: [ | ||
@@ -192,2 +200,10 @@ 'cdpId', | ||
], | ||
[types_1.CommandContractType.SparkStopLossCommandV2]: [ | ||
'address', | ||
'uint16', | ||
'uint256', | ||
'address', | ||
'address', | ||
'uint256', | ||
], | ||
[types_1.CommandContractType.MakerStopLossCommandV2]: ['uint256', 'uint16', 'uint256', 'uint256'], | ||
@@ -194,0 +210,0 @@ [types_1.CommandContractType.MakerAutoTakeProfitCommandV2]: ['uint256', 'uint16', 'uint256', 'uint32'], |
@@ -18,3 +18,4 @@ import { ethers } from 'ethers'; | ||
MakerBasicBuyCommandV2 = "MakerBasicBuyCommandV2", | ||
MakerBasicSellCommandV2 = "MakerBasicSellCommandV2" | ||
MakerBasicSellCommandV2 = "MakerBasicSellCommandV2", | ||
SparkStopLossCommandV2 = "SparkStopLossCommandV2" | ||
} | ||
@@ -38,3 +39,5 @@ export declare enum TriggerType { | ||
AaveStopLossToCollateralV2 = 111, | ||
AaveStopLossToDebtV2 = 112 | ||
AaveStopLossToDebtV2 = 112, | ||
SparkStopLossToCollateralV2 = 113, | ||
SparkStopLossToDebtV2 = 114 | ||
} | ||
@@ -41,0 +44,0 @@ export declare enum TriggerGroupType { |
@@ -23,2 +23,3 @@ "use strict"; | ||
CommandContractType["MakerBasicSellCommandV2"] = "MakerBasicSellCommandV2"; | ||
CommandContractType["SparkStopLossCommandV2"] = "SparkStopLossCommandV2"; | ||
})(CommandContractType = exports.CommandContractType || (exports.CommandContractType = {})); | ||
@@ -48,2 +49,4 @@ var TriggerType; | ||
TriggerType[TriggerType["AaveStopLossToDebtV2"] = 112] = "AaveStopLossToDebtV2"; | ||
TriggerType[TriggerType["SparkStopLossToCollateralV2"] = 113] = "SparkStopLossToCollateralV2"; | ||
TriggerType[TriggerType["SparkStopLossToDebtV2"] = 114] = "SparkStopLossToDebtV2"; | ||
})(TriggerType = exports.TriggerType || (exports.TriggerType = {})); | ||
@@ -50,0 +53,0 @@ var TriggerGroupType; |
{ | ||
"name": "@oasisdex/automation", | ||
"version": "1.5.2", | ||
"version": "1.5.3", | ||
"description": "The set of utilities for Oasis automation", | ||
@@ -27,3 +27,3 @@ "homepage": "https://github.com/OasisDEX/common#readme", | ||
}, | ||
"gitHead": "367f6a6d74994dd9a7e7a5a81e8b5acaba1e73c1" | ||
"gitHead": "16abc0b44289e5796f4346d37f1d72b9688914f3" | ||
} |
@@ -58,2 +58,10 @@ import { | ||
], | ||
[CommandContractType.SparkStopLossCommandV2]: [ | ||
'positionAddress', | ||
'triggerType', | ||
'maxCoverage', | ||
'debtToken', | ||
'collateralToken', | ||
'ltv', | ||
], | ||
[CommandContractType.MakerStopLossCommandV2]: [ | ||
@@ -204,2 +212,10 @@ 'cdpId', | ||
], | ||
[CommandContractType.SparkStopLossCommandV2]: [ | ||
'address', | ||
'uint16', | ||
'uint256', | ||
'address', | ||
'address', | ||
'uint256', | ||
], | ||
[CommandContractType.MakerStopLossCommandV2]: ['uint256', 'uint16', 'uint256', 'uint256'], | ||
@@ -206,0 +222,0 @@ [CommandContractType.MakerAutoTakeProfitCommandV2]: ['uint256', 'uint16', 'uint256', 'uint32'], |
@@ -21,2 +21,3 @@ import { ethers } from 'ethers'; | ||
MakerBasicSellCommandV2 = 'MakerBasicSellCommandV2', | ||
SparkStopLossCommandV2 = 'SparkStopLossCommandV2', | ||
} | ||
@@ -46,2 +47,4 @@ | ||
AaveStopLossToDebtV2 = 112, | ||
SparkStopLossToCollateralV2 = 113, | ||
SparkStopLossToDebtV2 = 114, | ||
} | ||
@@ -48,0 +51,0 @@ |
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
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
No License Found
License(Experimental) License information could not be found.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1255
106172
29
1
1