Skip to content

Commit

Permalink
fix: update mappings for MB commands
Browse files Browse the repository at this point in the history
  • Loading branch information
zerotucks committed May 16, 2024
1 parent 07d187c commit 3ca9375
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions packages/automation/src/mapping.ts
Original file line number Diff line number Diff line change
Expand Up @@ -248,8 +248,6 @@ export const commandTypeJsonMapping: Record<CommandContractType, string[]> = {
'collateralToken',
'operationName',
'poolId',
'quoteDecimals',
'collateralDecimals',
'executionLtv',
'targetLtv',
'minSellPrice',
Expand All @@ -264,8 +262,6 @@ export const commandTypeJsonMapping: Record<CommandContractType, string[]> = {
'collateralToken',
'operationName',
'poolId',
'quoteDecimals',
'collateralDecimals',
'executionLtv',
'closeToCollateral',
],
Expand All @@ -277,8 +273,6 @@ export const commandTypeJsonMapping: Record<CommandContractType, string[]> = {
'collateralToken',
'operationName',
'poolId',
'quoteDecimals',
'collateralDecimals',
'executionLtv',
'targetLtv',
'executionPrice',
Expand All @@ -293,8 +287,6 @@ export const commandTypeJsonMapping: Record<CommandContractType, string[]> = {
'collateralToken',
'operationName',
'poolId',
'quoteDecimals',
'collateralDecimals',
'collateralOracle',
'collateralAddedRoundId',
'debtOracle',
Expand Down Expand Up @@ -729,8 +721,6 @@ export const defaultCommandTypeMapping: Record<CommandContractType, ParamDefinit
'address', // collateralToken
'bytes32', // operationName
'bytes32', // marketId
'uint8', // quote decimals
'uint8', // collateral decimals
'uint256', // execLtv
'uint256', // targetLtv
'uint256', // minSellPrice
Expand All @@ -745,8 +735,6 @@ export const defaultCommandTypeMapping: Record<CommandContractType, ParamDefinit
'address', // collateralToken
'bytes32', // operationName
'bytes32', // marketId
'uint8', // quote decimals
'uint8', // collateral decimals
'uint256', // executionLTV
'bool', // closeToCollateral
],
Expand All @@ -758,8 +746,6 @@ export const defaultCommandTypeMapping: Record<CommandContractType, ParamDefinit
'address', // collateralToken
'bytes32', // operationName
'bytes32', // marketId
'uint8', // quote decimals
'uint8', // collateral decimals
'uint256', // execLtv
'uint256', // targetLtv
'uint256', // executionPrice
Expand All @@ -774,8 +760,6 @@ export const defaultCommandTypeMapping: Record<CommandContractType, ParamDefinit
'address', // collateralToken
'bytes32', // operationName
'bytes32', // marketId
'uint8', // quote decimals
'uint8', // collateral decimals
'address', // collateralOracle
'uint80', // collateralAddedRoundId
'address', // debtOracle
Expand Down

0 comments on commit 3ca9375

Please sign in to comment.