-
Notifications
You must be signed in to change notification settings - Fork 6
/
foundry.toml
41 lines (38 loc) · 1.67 KB
/
foundry.toml
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
[profile.default]
src = "contracts"
out = "artifacts"
libs = ["node_modules", "lib"]
remappings = [
"@ensdomains/=node_modules/@ensdomains/",
"@openzeppelin/=lib/openzeppelin-contracts/",
"@uniswap/=node_modules/@uniswap/",
"@uniswap-v2-core=lib/v2-core/",
"@uniswap-v2-periphery=lib/v2-periphery/",
"@uniswap-v3-core=lib/v3-core/",
"@uniswap-v3-periphery=lib/v3-periphery/",
"@uniswap-swap-router-contracts=lib/swap-router-contracts/",
"eth-gas-reporter/=node_modules/eth-gas-reporter/",
"hardhat-deploy/=node_modules/hardhat-deploy/",
"hardhat/=node_modules/hardhat/",
"solmate/=node_modules/solmate/",
"@cryptoalgebra/=lib/Algebra/src/",
]
#libraries = [
# "contracts/compound/libraries/LibCollateralSwap.sol:LibCollateralSwap:0x8D650E711df1742292266b82e97D15FC7DFbDd13"
#]
[etherscan]
mainnet = { key = "${ETHERSCAN_MAINNET_KEY}" }
polygon = { key = "${POLYGONSCAN_API_KEY}", url = "https://api.polygonscan.com/api" }
arbitrum = { key = "${ARBISCAN_API_KEY}", url = "https://api.arbiscan.io/api" }
optimism = { key = "${OPTIMISTIC_API_KEY}", url = "https://api-optimistic.etherscan.io/api" }
bsc = { key = "${BSCSCAN_API_KEY}", url = "https://api.bscscan.com/api" }
avalanche = { key = "${SNOWTRACE_API_KEY}", url = "https://api.snowtrace.io/api" }
base = { key = "5B1SUDK4HJSNH15FGFRN5SNTQ73ZVTAI87", url = "https://api.basescan.org/api" }
[rpc_endpoints]
mainnet = "${ETH_NODE_URI_MAINNET}"
optimism = "${ETH_NODE_URI_OPTIMISM}"
arbitrum = "${ETH_NODE_URI_ARBITRUM}"
polygon = "${ETH_NODE_URI_POLYGON}"
bsc = "${ETH_NODE_URI_BSC}"
base = "${ETH_NODE_URI_BASE}"
# See more config options https://github.com/foundry-rs/foundry/tree/master/config