From 25fbc10420e3b5733921b01e9cd195f45e159719 Mon Sep 17 00:00:00 2001 From: BitBanana Date: Thu, 28 Nov 2024 07:30:51 +1000 Subject: [PATCH] Delete src/common/config.rs --- src/common/config.rs | 81 -------------------------------------------- 1 file changed, 81 deletions(-) delete mode 100644 src/common/config.rs diff --git a/src/common/config.rs b/src/common/config.rs deleted file mode 100644 index 5efc372..0000000 --- a/src/common/config.rs +++ /dev/null @@ -1,81 +0,0 @@ -// use std::collections::HashMap; - -// use crate::common::constants::Env; -// use crate::addresses::ethereum::*; - - -// pub const POOLS: Vec> = Env::new().[ -// ("ethereum", POOLS_ETH), -// ]; -// pub const RPC_ENDPOINTS: HashMap<&str, &str> = [ -// ("ethereum", env.ethereum_http_rpc_url), -// ]; - -// pub const TOKENS: HashMap>> = [ -// ("ethereum", TOKENS_ETH), -// ]; - - - - - - - - - - - - - - - - - - - - -// import os -// from dotenv import load_dotenv - -// from addresses import ( -// ETHEREUM_TOKENS, -// POLYGON_TOKENS, -// ARBITRUM_TOKENS, - -// ETHEREUM_POOLS, -// POLYGON_POOLS, -// ARBITRUM_POOLS, - -// ETHEREUM_SIMULATION_HANDLERS, -// ETHEREUM_EXECUTION_HANDLERS, -// ) - -// load_dotenv(override=True) - -// RPC_ENDPOINTS = { -// 'ethereum': os.getenv('ETHEREUM_HTTP_RPC_URL'), -// 'polygon': os.getenv('POLYGON_HTTP_RPC_URL'), -// 'arbitrum': os.getenv('ARBITRUM_HTTP_RPC_URL'), -// } - -// WS_ENDPOINTS = { -// 'ethereum': os.getenv('ETHEREUM_WS_RPC_URL'), -// 'polygon': os.getenv('POLYGON_WS_RPC_URL'), -// 'arbitrum': os.getenv('ARBITRUM_WS_RPC_URL'), -// } - -// TOKENS = { -// 'ethereum': ETHEREUM_TOKENS, -// 'polygon': POLYGON_TOKENS, -// 'arbitrum': ARBITRUM_TOKENS, -// } - -// POOLS = ETHEREUM_POOLS + POLYGON_POOLS + ARBITRUM_POOLS - -// SIMULATION_HANDLERS = { -// 'ethereum': ETHEREUM_SIMULATION_HANDLERS, -// } - -// EXECUTION_HANDLERS = { -// 'ethereum': ETHEREUM_EXECUTION_HANDLERS, -// }