Skip to content

Commit

Permalink
feat: add SNX keeper
Browse files Browse the repository at this point in the history
feat: add SNX keeper
  • Loading branch information
piesrtasty authored May 3, 2024
2 parents ccc5321 + f427949 commit ccaaaee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/liquidation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ const typeMapping: any = {
'0x5745544800000000000000000000000000000000000000000000000000000000': 'WETH',
'0x5753544554480000000000000000000000000000000000000000000000000000': 'WSTETH',
'0x4f50000000000000000000000000000000000000000000000000000000000000': 'OP',
'0x534e580000000000000000000000000000000000000000000000000000000000': 'SNX',
'0x5742544300000000000000000000000000000000000000000000000000000000': 'WBTC',
'0x53544f4e45530000000000000000000000000000000000000000000000000000': 'STN',
'0x544f54454d000000000000000000000000000000000000000000000000000000': 'TTM',
Expand Down
2 changes: 1 addition & 1 deletion src/oracles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { getTxFeeAndCheckBalance, processTx, getVariables } from './utils/misc';
dotenv.config();

const sepoliacollateralTypes: string[] = ['WETH', 'OP', 'WBTC', 'STN', 'TTM'];
const mainnetCollateralTypes: string[] = ['WETH', 'OP', 'WSTETH'];
const mainnetCollateralTypes: string[] = ['WETH', 'OP', 'WSTETH', 'SNX'];

const collateralTypes = process.env.NETWORK === 'optimism-sepolia' ? sepoliacollateralTypes : mainnetCollateralTypes;

Expand Down

0 comments on commit ccaaaee

Please sign in to comment.