From 3dc63e3fef51489d2b79f64bbdb72368edb09875 Mon Sep 17 00:00:00 2001 From: Ben Sparks <52714090+BenSparksCode@users.noreply.github.com> Date: Wed, 15 Nov 2023 16:13:43 +0200 Subject: [PATCH] Change to JSON collection of common addresses --- test/base/TestConstants.sol | 8 -------- useful-addresses.json | 16 ++++++++++++++++ 2 files changed, 16 insertions(+), 8 deletions(-) create mode 100644 useful-addresses.json diff --git a/test/base/TestConstants.sol b/test/base/TestConstants.sol index 2161bf04..a7862725 100644 --- a/test/base/TestConstants.sol +++ b/test/base/TestConstants.sol @@ -23,14 +23,6 @@ contract TestConstants { weth: address(0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2), dai: address(0x6B175474E89094C44Da98b954EedeAC495271d0F) }); - - // SEPOLIA - ChainVars public sepolia = ChainVars({ - rpcUrlKey: "SEPOLIA_RPC_URL", - forkBlock: BLOCK_START, - weth: address(0xfFf9976782d46CC05630D1f6eBAb18b2324d6B14), // Uniswap's Sepolia WETH - dai: address(0x4F96Fe3b7A6Cf9725f59d353F723c1bDb64CA6Aa) //TODO find Sepolia DAI addrs - }); // Constants diff --git a/useful-addresses.json b/useful-addresses.json new file mode 100644 index 00000000..ada949b3 --- /dev/null +++ b/useful-addresses.json @@ -0,0 +1,16 @@ +{ + "MAINNET": { + "WETH": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2", + "DAI": "0x6B175474E89094C44Da98b954EedeAC495271d0F", + "USDC": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48", + "UNI": "0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984", + "UNISWAP_V2_ROUTER": "0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D" + }, + "SEPOLIA": { + "WETH": "0xfFf9976782d46CC05630D1f6eBAb18b2324d6B14", + "DAI": "", + "USDC": "", + "UNI": "0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984", + "UNISWAP_V2_ROUTER": "0x8f1dD60dBDb493DD940a44985AB43FB9901dcd2e" + } +} \ No newline at end of file