From ebdaf46f135d84c5583059966b3db7795e92a3d2 Mon Sep 17 00:00:00 2001 From: Luke Hamilton Date: Tue, 5 Mar 2024 16:59:28 -0500 Subject: [PATCH] chore: update collaterals by network --- src/oracles.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/oracles.ts b/src/oracles.ts index fbae013..d1c65e1 100644 --- a/src/oracles.ts +++ b/src/oracles.ts @@ -3,7 +3,10 @@ import { getTxFeeAndCheckBalance, processTx, getVariables } from './utils/misc'; dotenv.config(); -const collateralTypes: string[] = ['WETH', 'OP', 'WBTC', 'STN', 'TTM']; +const sepoliacollateralTypes: string[] = ['WETH', 'OP', 'WBTC', 'STN', 'TTM']; +const mainnetCollateralTypes: string[] = ['WETH', 'OP', 'WSTETH']; + +const collateralTypes = process.env.NETWORK === 'optimism-sepolia' ? sepoliacollateralTypes : mainnetCollateralTypes; /* ==============================================================/* HELPING SCRIPTS