-
Notifications
You must be signed in to change notification settings - Fork 1
/
hardhat-helper-config.ts
45 lines (43 loc) · 1020 Bytes
/
hardhat-helper-config.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
interface NetworkConfigEntryTypes {
name: string;
chainlink?: {
priceFeedAddresses: {
BTC_ETH: string;
ETH_USD: string;
LINK_USD: string;
};
};
uniswap?: {
V3_SWAP_ROUTER_ADDRESS: string;
};
tokenAddress: {
WETH: string;
USDC: string;
};
}
/**
* using ARB addresses for localhost cus thats my fork target
*/
const networkConfig: { [key: number]: NetworkConfigEntryTypes } = {
31337: {
name: "localhost",
uniswap: {
V3_SWAP_ROUTER_ADDRESS: "0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45",
},
tokenAddress: {
WETH: "0x82af49447d8a07e3bd95bd0d56f35241523fbab1",
USDC: "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
},
},
42161: {
name: "arbitrum",
uniswap: {
V3_SWAP_ROUTER_ADDRESS: "0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45",
},
tokenAddress: {
WETH: "0x82af49447d8a07e3bd95bd0d56f35241523fbab1",
USDC: "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
},
},
};
export { networkConfig };