Skip to content

Commit

Permalink
Change to JSON collection of common addresses
Browse files Browse the repository at this point in the history
  • Loading branch information
BenSparksCode committed Nov 15, 2023
1 parent 60847c3 commit 3dc63e3
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 8 deletions.
8 changes: 0 additions & 8 deletions test/base/TestConstants.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
16 changes: 16 additions & 0 deletions useful-addresses.json
Original file line number Diff line number Diff line change
@@ -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"
}
}

0 comments on commit 3dc63e3

Please sign in to comment.