-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhelper-hardhat-config.js
More file actions
33 lines (32 loc) · 1.45 KB
/
helper-hardhat-config.js
File metadata and controls
33 lines (32 loc) · 1.45 KB
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
const networkConfig = {
31337: {
name: "hardhat",
// Aave V3 Mainnet Addresses
// PoolAddressesProvider-0x2f39d218133AFaB8F2B819B1066c7E434Ad94E9e
aavePoolAddressesProvider: "0x2f39d218133AFaB8F2B819B1066c7E434Ad94E9e",
wethToken: "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
daiToken: "0x6B175474E89094C44Da98b954EedeAC495271d0F",
uniswapRouter: "0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D",
sushiswapRouter: "0xd9e1cE17f2641f24aE83637ab66a2cca9C378B9F",
},
1: {
name: "mainnet",
aavePoolAddressesProvider: "0x2f39d218133AFaB8F2B819B1066c7E434Ad94E9e",
wethToken: "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
daiToken: "0x6B175474E89094C44Da98b954EedeAC495271d0F",
uniswapRouter: "0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D",
sushiswapRouter: "0xd9e1cE17f2641f24aE83637ab66a2cca9C378B9F",
},
11155111: {
name: "sepolia",
// Aave V3 Sepolia Addresses
aavePoolAddressesProvider: "0x012bAC54348C0E635dCAc9D5FB99f06F24136C9A",
wethToken: "0xfFf9976782d46CC05630D1f6eBAb18b2324d6B14",
daiToken: "0xFF34B3d4Aee8ddCd6F9AFFFB6Fe49bD371b8a3F6",
uniswapRouter: "0xeE567Fe1712Faf6149d80dA1E6934E354124CfE3", // Uniswap V2 Router on Sepolia
sushiswapRouter: "0xeE567Fe1712Faf6149d80dA1E6934E354124CfE3", // Reusing Uniswap for testing if Sushi not avail
}
};
module.exports = {
networkConfig,
};